ide: add "vlb|pci_clock=" parameter
[deliverable/linux.git] / drivers / ide / pci / cy82c693.c
index e30eae5a01b6baf1f6f69fde8ab540de1fa38ca6..8ef551ab957102b1bdc5d98c294953bbeea2420a 100644 (file)
@@ -136,7 +136,7 @@ static int calc_clk(int time, int bus_speed)
 static void compute_clocks(u8 pio, pio_clocks_t *p_pclk)
 {
        int clk1, clk2;
-       int bus_speed = system_bus_clock();     /* get speed of PCI bus */
+       int bus_speed = ide_pci_clk ? ide_pci_clk : system_bus_clock();
 
        /* we don't check against CY82C693's min and max speed,
         * so you can play with the idebus=xx parameter
This page took 0.023635 seconds and 5 git commands to generate.