patch-2.4.22 linux-2.4.22/drivers/scsi/scsi_ioctl.c

Next file: linux-2.4.22/drivers/scsi/scsi_lib.c
Previous file: linux-2.4.22/drivers/scsi/scsi.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/drivers/scsi/scsi_ioctl.c linux-2.4.22/drivers/scsi/scsi_ioctl.c
@@ -279,6 +279,7 @@
 		cmd[1] = (cmd[1] & 0x1f) | (dev->lun << 5);
 
 	switch (opcode) {
+	case SEND_DIAGNOSTIC:
 	case FORMAT_UNIT:
 		timeout = FORMAT_UNIT_TIMEOUT;
 		retries = 1;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)