patch-1.3.50 linux/drivers/scsi/scsi.c
Next file: linux/drivers/scsi/seagate.c
Previous file: linux/drivers/scsi/Makefile
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Thu Dec 21 12:08:36 1995
- Orig file:
v1.3.49/linux/drivers/scsi/scsi.c
- Orig date:
Wed Dec 13 09:02:46 1995
diff -u --recursive --new-file v1.3.49/linux/drivers/scsi/scsi.c linux/drivers/scsi/scsi.c
@@ -1564,6 +1564,13 @@
#ifdef DEBUG
printk("Aborting\n");
#endif
+ /*
+ Allow TEST_UNIT_READY and INQUIRY commands to timeout early
+ without causing resets. All other commands should be retried.
+ */
+ if (SCpnt->cmnd[0] != TEST_UNIT_READY &&
+ SCpnt->cmnd[0] != INQUIRY)
+ status = MAYREDO;
exit = (DRIVER_TIMEOUT | SUGGEST_ABORT);
}
else
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