patch-2.1.79 linux/drivers/scsi/scsi_error.c

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

diff -u --recursive --new-file v2.1.78/linux/drivers/scsi/scsi_error.c linux/drivers/scsi/scsi_error.c
@@ -62,7 +62,7 @@
 #define HOST_RESET_SETTLE_TIME  10*HZ
 
 
-static const char RCSid[] = "$Header: /mnt/ide/home/eric/CVSROOT/linux/drivers/scsi/scsi_error.c,v 1.9 1997/12/07 23:38:23 eric Exp $";
+static const char RCSid[] = "$Header: /mnt/ide/home/eric/CVSROOT/linux/drivers/scsi/scsi_error.c,v 1.10 1997/12/08 04:50:35 eric Exp $";
 
 STATIC int         scsi_check_sense (Scsi_Cmnd * SCpnt);
 STATIC int         scsi_request_sense(Scsi_Cmnd *);
@@ -1088,10 +1088,12 @@
     case MEDIUM_ERROR:
 	return FAILED;
 
+    case ILLEGAL_REQUEST:
+	return SUCCESS;
+
     case BLANK_CHECK:
     case DATA_PROTECT:
     case HARDWARE_ERROR:
-    case ILLEGAL_REQUEST:
     default:
 	return FAILED;
     }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov