patch-1.3.89 linux/drivers/scsi/aha1542.c

Next file: linux/drivers/scsi/aha1542.h
Previous file: linux/drivers/scsi/README.FlashPoint
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.88/linux/drivers/scsi/aha1542.c linux/drivers/scsi/aha1542.c
@@ -1179,7 +1179,7 @@
    For a first go, we assume that the 1542 notifies us with all of the
    pending commands (it does implement soft reset, after all). */
 
-int aha1542_reset(Scsi_Cmnd * SCpnt)
+int aha1542_reset(Scsi_Cmnd * SCpnt, unsigned int reset_flags)
 {
     unchar ahacmd = CMD_START_SCSI;
     int i;
@@ -1187,7 +1187,7 @@
     /*
      * See if a bus reset was suggested.
      */
-    if( SCpnt->host->suggest_bus_reset )
+    if( reset_flags & SCSI_RESET_SUGGEST_BUS_RESET )
       {
 	/* 
 	 * This does a scsi reset for all devices on the bus.

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