patch-2.3.19 linux/drivers/scsi/scsi_debug.c

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

diff -u --recursive --new-file v2.3.18/linux/drivers/scsi/scsi_debug.c linux/drivers/scsi/scsi_debug.c
@@ -64,8 +64,8 @@
 #endif
 #define START_PARTITION 4
 
-/* Number of jiffies to wait before completing a command */
-#define DISK_SPEED     10
+/* Time to wait before completing a command */
+#define DISK_SPEED     (HZ/10)   /* 100ms */
 #define CAPACITY (0x80000)
 
 static int starts[] =
@@ -378,7 +378,7 @@
 				scsi_debug_errsts = (COMMAND_COMPLETE << 8) | (CHECK_CONDITION << 1);
 				break;
 			}	/* End phony disk change code */
-#
+#endif
 
 #ifdef CLEAR
 			memcpy(buff, &target, sizeof(target));

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