patch-2.3.99-pre6 linux/drivers/ide/cmd640.c

Next file: linux/drivers/ide/cmd64x.c
Previous file: linux/drivers/ide/buddha.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre5/linux/drivers/ide/cmd640.c linux/drivers/ide/cmd640.c
@@ -111,6 +111,7 @@
 #include <linux/blkdev.h>
 #include <linux/hdreg.h>
 #include <linux/ide.h>
+#include <linux/init.h>
 
 #include <asm/io.h>
 
@@ -595,7 +596,7 @@
 {
 	int setup_time, active_time, recovery_time, clock_time;
 	byte setup_count, active_count, recovery_count, recovery_count2, cycle_count;
-	int bus_speed = ide_system_bus_speed();
+	int bus_speed = system_bus_clock();
 
 	if (pio_mode > 5)
 		pio_mode = 5;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)