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

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)