diff options
Diffstat (limited to 'drivers/ide/pci/jmicron.c')
-rw-r--r-- | drivers/ide/pci/jmicron.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/pci/jmicron.c b/drivers/ide/pci/jmicron.c index a6008f63e71e..d7ce9dd8de16 100644 --- a/drivers/ide/pci/jmicron.c +++ b/drivers/ide/pci/jmicron.c | |||
@@ -97,7 +97,7 @@ static void jmicron_tuneproc (ide_drive_t *drive, byte mode_wanted) | |||
97 | 97 | ||
98 | static void config_jmicron_chipset_for_pio (ide_drive_t *drive, byte set_speed) | 98 | static void config_jmicron_chipset_for_pio (ide_drive_t *drive, byte set_speed) |
99 | { | 99 | { |
100 | u8 speed = XFER_PIO_0 + ide_get_best_pio_mode(drive, 255, 5, NULL); | 100 | u8 speed = XFER_PIO_0 + ide_get_best_pio_mode(drive, 255, 5); |
101 | if (set_speed) | 101 | if (set_speed) |
102 | (void) ide_config_drive_speed(drive, speed); | 102 | (void) ide_config_drive_speed(drive, speed); |
103 | } | 103 | } |
@@ -177,10 +177,10 @@ fallback: | |||
177 | { \ | 177 | { \ |
178 | .name = name_str, \ | 178 | .name = name_str, \ |
179 | .init_hwif = init_hwif_jmicron, \ | 179 | .init_hwif = init_hwif_jmicron, \ |
180 | .channels = 2, \ | ||
181 | .autodma = AUTODMA, \ | 180 | .autodma = AUTODMA, \ |
182 | .bootable = ON_BOARD, \ | 181 | .bootable = ON_BOARD, \ |
183 | .enablebits = { {0x40, 1, 1}, {0x40, 0x10, 0x10} }, \ | 182 | .enablebits = { {0x40, 1, 1}, {0x40, 0x10, 0x10} }, \ |
183 | .pio_mask = ATA_PIO5, \ | ||
184 | } | 184 | } |
185 | 185 | ||
186 | static ide_pci_device_t jmicron_chipsets[] __devinitdata = { | 186 | static ide_pci_device_t jmicron_chipsets[] __devinitdata = { |