patch-1.3.22 linux/drivers/block/cm206.c
Next file: linux/drivers/block/floppy.c
Previous file: linux/drivers/block/cdu31a.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Tue Aug 29 10:15:49 1995
- Orig file:
v1.3.21/linux/drivers/block/cm206.c
- Orig date:
Wed Aug 2 13:20:59 1995
diff -u --recursive --new-file v1.3.21/linux/drivers/block/cm206.c linux/drivers/block/cm206.c
@@ -126,9 +126,9 @@
#define POLLOOP 10000
#define READ_AHEAD 1 /* defines private buffer, waste! */
#define BACK_AHEAD 1 /* defines adapter-read ahead */
-#define DATA_TIMEOUT 300 /* measured in jiffies (10 ms) */
-#define UART_TIMEOUT 5
-#define DSB_TIMEOUT 700 /* time for the slowest command to finish */
+#define DATA_TIMEOUT (3*HZ) /* measured in jiffies (10 ms) */
+#define UART_TIMEOUT (5*HZ/100)
+#define DSB_TIMEOUT (7*HZ) /* time for the slowest command to finish */
#define RAW_SECTOR_SIZE 2352 /* ok, is also defined in cdrom.h */
#define ISO_SECTOR_SIZE 2048
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this