patch-2.3.10 linux/drivers/block/icside.c
Next file: linux/drivers/block/ida_cmd.h
Previous file: linux/drivers/block/hpt34x.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Thu Jul 1 10:25:38 1999
- Orig file:
v2.3.9/linux/drivers/block/icside.c
- Orig date:
Wed Jun 30 13:38:19 1999
diff -u --recursive --new-file v2.3.9/linux/drivers/block/icside.c linux/drivers/block/icside.c
@@ -299,6 +299,9 @@
drive->drive_data = 250;
}
+#if 1
+ err = ide_config_drive_speed(drive, (byte) speed);
+#else
/*
* Don't use ide_wait_cmd here - it will
* attempt to set_geometry and recalibrate,
@@ -313,6 +316,7 @@
err = ide_wait_stat(drive, DRIVE_READY,
BUSY_STAT|DRQ_STAT|ERR_STAT, WAIT_CMD);
+#endif
if (err == 0) {
drive->id->dma_mword &= 0x00ff;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)