patch-1.3.89 linux/drivers/scsi/hosts.h

Next file: linux/drivers/scsi/scsi.c
Previous file: linux/drivers/scsi/hosts.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.88/linux/drivers/scsi/hosts.h linux/drivers/scsi/hosts.h
@@ -156,7 +156,7 @@
      * and these hosts must call scsi_request_sense(SCpnt) to keep
      * the command alive.
      */ 
-    int (* reset)(Scsi_Cmnd *);
+    int (* reset)(Scsi_Cmnd *, unsigned int);
 
     /*
      * This function is used to select synchronous communications,
@@ -246,7 +246,7 @@
     char host_no;  /* Used for IOCTL_GET_IDLUN, /proc/scsi et al. */
     int last_reset;
     struct wait_queue *host_wait;
-    Scsi_Cmnd *host_queue; 
+    Scsi_Cmnd *host_queue;
     Scsi_Host_Template * hostt;
     
     /*
@@ -298,13 +298,9 @@
      * True if this host was loaded as a loadable module
      */
     unsigned loaded_as_module:1;
-    
-    /*
-     * True when we call the low-level reset function, and
-     * the midlevel code suggests a full bus reset.
-     */
-    unsigned suggest_bus_reset:1;
  
+    void (*select_queue_depths)(struct Scsi_Host *, Scsi_Device *);
+
     unsigned long hostdata[0];  /* Used for storage of host specific stuff */
 };
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this