patch-2.2.11 linux/drivers/scsi/sd.c
Next file: linux/drivers/scsi/sgiwd93.c
Previous file: linux/drivers/scsi/scsi_error.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Mon Aug 9 12:05:05 1999
- Orig file:
v2.2.10/linux/drivers/scsi/sd.c
- Orig date:
Mon Jun 7 16:51:01 1999
diff -u --recursive --new-file v2.2.10/linux/drivers/scsi/sd.c linux/drivers/scsi/sd.c
@@ -74,7 +74,7 @@
* Time out in seconds for disks and Magneto-opticals (which are slower).
*/
-#define SD_TIMEOUT (15 * HZ)
+#define SD_TIMEOUT (30 * HZ)
#define SD_MOD_TIMEOUT (75 * HZ)
#define CLUSTERABLE_DEVICE(SC) (SC->host->use_clustering && \
@@ -1050,6 +1050,7 @@
SCpnt->transfersize = rscsi_disks[dev].sector_size;
SCpnt->underflow = this_count << 9;
+ SCpnt->cmd_len = 0;
scsi_do_cmd (SCpnt, (void *) cmd, buff,
this_count * rscsi_disks[dev].sector_size,
rw_intr,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)