patch-2.1.1 linux/drivers/scsi/st.c
Next file: linux/drivers/scsi/u14-34f.c
Previous file: linux/drivers/scsi/fdomain.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Wed Oct 2 14:03:42 1996
- Orig file:
v2.1.0/linux/drivers/scsi/st.c
- Orig date:
Fri Aug 16 08:02:48 1996
diff -u --recursive --new-file v2.1.0/linux/drivers/scsi/st.c linux/drivers/scsi/st.c
@@ -11,7 +11,7 @@
Copyright 1992 - 1996 Kai Makisara
email Kai.Makisara@metla.fi
- Last modified: Sun Jul 7 10:08:46 1996 by root@kai.makisara.fi
+ Last modified: Tue Oct 1 22:53:51 1996 by makisara@kai.makisara.fi
Some small formal changes - aeb, 950809
*/
@@ -2192,7 +2192,8 @@
return (-EBUSY);
if ((STp->buffer)->last_result_fatal != 0 ||
- ((STp->buffer)->b_data[0] & 4)) {
+ (STp->device->scsi_level >= SCSI_2 &&
+ ((STp->buffer)->b_data[0] & 4) != 0)) {
*block = *partition = 0;
#if DEBUG
if (debugging)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov