patch-2.4.0-prerelease linux/drivers/scsi/eata_dma.c
Next file: linux/drivers/scsi/ibmmca.c
Previous file: linux/drivers/scsi/dc390.h
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Sun Dec 31 10:26:18 2000
- Orig file:
v2.4.0-test12/linux/drivers/scsi/eata_dma.c
- Orig date:
Sun Nov 19 18:44:13 2000
diff -u --recursive --new-file v2.4.0-test12/linux/drivers/scsi/eata_dma.c linux/drivers/scsi/eata_dma.c
@@ -676,7 +676,8 @@
int eata_reset(Scsi_Cmnd * cmd, unsigned int resetflags)
{
uint x;
- ulong loop = loops_per_sec / 3;
+ /* 10 million PCI reads take at least one third of a second */
+ ulong loop = 10 * 1000 * 1000;
ulong flags;
unchar success = FALSE;
Scsi_Cmnd *sp;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)