patch-2.3.99-pre6 linux/drivers/ide/ali14xx.c
Next file: linux/drivers/ide/alim15x3.c
Previous file: linux/drivers/ide/aec62xx.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Thu Apr 13 22:54:26 2000
- Orig file:
v2.3.99-pre5/linux/drivers/ide/ali14xx.c
- Orig date:
Mon Mar 27 08:08:24 2000
diff -u --recursive --new-file v2.3.99-pre5/linux/drivers/ide/ali14xx.c linux/drivers/ide/ali14xx.c
@@ -48,6 +48,7 @@
#include <linux/blkdev.h>
#include <linux/hdreg.h>
#include <linux/ide.h>
+#include <linux/init.h>
#include <asm/io.h>
@@ -118,7 +119,7 @@
byte param1, param2, param3, param4;
unsigned long flags;
ide_pio_data_t d;
- int bus_speed = ide_system_bus_speed();
+ int bus_speed = system_bus_clock();
pio = ide_get_best_pio_mode(drive, pio, ALI_MAX_PIO, &d);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)