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

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

diff -u --recursive --new-file v2.3.99-pre5/linux/drivers/ide/opti621.c linux/drivers/ide/opti621.c
@@ -215,8 +215,9 @@
 static void compute_clocks(int pio, pio_clocks_t *clks)
 {
         if (pio != PIO_NOT_EXIST) {
-        	int adr_setup, data_pls, bus_speed;
-        	bus_speed = ide_system_bus_speed();
+        	int adr_setup, data_pls;
+		int bus_speed = system_bus_clock();
+
  	       	adr_setup = ide_pio_timings[pio].setup_time;
   	      	data_pls = ide_pio_timings[pio].active_time;
 	  	clks->address_time = cmpt_clk(adr_setup, bus_speed);

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