diff options
Diffstat (limited to 'drivers/ide/pci/cs5520.c')
-rw-r--r-- | drivers/ide/pci/cs5520.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ide/pci/cs5520.c b/drivers/ide/pci/cs5520.c index 3b88a3a56116..bccedf9b8b28 100644 --- a/drivers/ide/pci/cs5520.c +++ b/drivers/ide/pci/cs5520.c | |||
@@ -126,7 +126,7 @@ static int cs5520_tune_chipset(ide_drive_t *drive, u8 xferspeed) | |||
126 | 126 | ||
127 | static void cs5520_tune_drive(ide_drive_t *drive, u8 pio) | 127 | static void cs5520_tune_drive(ide_drive_t *drive, u8 pio) |
128 | { | 128 | { |
129 | pio = ide_get_best_pio_mode(drive, pio, 4, NULL); | 129 | pio = ide_get_best_pio_mode(drive, pio, 4); |
130 | cs5520_tune_chipset(drive, (XFER_PIO_0 + pio)); | 130 | cs5520_tune_chipset(drive, (XFER_PIO_0 + pio)); |
131 | } | 131 | } |
132 | 132 | ||
@@ -194,10 +194,10 @@ static void __devinit init_hwif_cs5520(ide_hwif_t *hwif) | |||
194 | .name = name_str, \ | 194 | .name = name_str, \ |
195 | .init_setup_dma = cs5520_init_setup_dma, \ | 195 | .init_setup_dma = cs5520_init_setup_dma, \ |
196 | .init_hwif = init_hwif_cs5520, \ | 196 | .init_hwif = init_hwif_cs5520, \ |
197 | .channels = 2, \ | ||
198 | .autodma = AUTODMA, \ | 197 | .autodma = AUTODMA, \ |
199 | .bootable = ON_BOARD, \ | 198 | .bootable = ON_BOARD, \ |
200 | .flags = IDEPCI_FLAG_ISA_PORTS, \ | 199 | .host_flags = IDE_HFLAG_ISA_PORTS, \ |
200 | .pio_mask = ATA_PIO4, \ | ||
201 | } | 201 | } |
202 | 202 | ||
203 | static ide_pci_device_t cyrix_chipsets[] __devinitdata = { | 203 | static ide_pci_device_t cyrix_chipsets[] __devinitdata = { |