patch-2.0.19 linux/drivers/scsi/sr.c
Next file: linux/drivers/sound/sb_common.c
Previous file: linux/drivers/scsi/aha152x.h
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Sat Sep 7 18:13:04 1996
- Orig file:
v2.0.18/linux/drivers/scsi/sr.c
- Orig date:
Sat Aug 17 21:19:28 1996
diff -u --recursive --new-file v2.0.18/linux/drivers/scsi/sr.c linux/drivers/scsi/sr.c
@@ -167,7 +167,8 @@
if (driver_byte(result) != 0 && /* An error occurred */
SCpnt->sense_buffer[0] == 0xF0 && /* Sense data is valid */
(SCpnt->sense_buffer[2] == MEDIUM_ERROR ||
- SCpnt->sense_buffer[2] == VOLUME_OVERFLOW))
+ SCpnt->sense_buffer[2] == VOLUME_OVERFLOW ||
+ SCpnt->sense_buffer[2] == ILLEGAL_REQUEST))
{
long error_sector = (SCpnt->sense_buffer[3] << 24) |
(SCpnt->sense_buffer[4] << 16) |
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov