diff options
Diffstat (limited to 'drivers/ide/pci/triflex.c')
-rw-r--r-- | drivers/ide/pci/triflex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/pci/triflex.c b/drivers/ide/pci/triflex.c index 35e8c612638f..024bbfae0429 100644 --- a/drivers/ide/pci/triflex.c +++ b/drivers/ide/pci/triflex.c | |||
@@ -96,7 +96,7 @@ static int triflex_tune_chipset(ide_drive_t *drive, u8 xferspeed) | |||
96 | 96 | ||
97 | static void triflex_tune_drive(ide_drive_t *drive, u8 pio) | 97 | static void triflex_tune_drive(ide_drive_t *drive, u8 pio) |
98 | { | 98 | { |
99 | int use_pio = ide_get_best_pio_mode(drive, pio, 4, NULL); | 99 | int use_pio = ide_get_best_pio_mode(drive, pio, 4); |
100 | (void) triflex_tune_chipset(drive, (XFER_PIO_0 + use_pio)); | 100 | (void) triflex_tune_chipset(drive, (XFER_PIO_0 + use_pio)); |
101 | } | 101 | } |
102 | 102 | ||
@@ -129,10 +129,10 @@ static void __devinit init_hwif_triflex(ide_hwif_t *hwif) | |||
129 | static ide_pci_device_t triflex_device __devinitdata = { | 129 | static ide_pci_device_t triflex_device __devinitdata = { |
130 | .name = "TRIFLEX", | 130 | .name = "TRIFLEX", |
131 | .init_hwif = init_hwif_triflex, | 131 | .init_hwif = init_hwif_triflex, |
132 | .channels = 2, | ||
133 | .autodma = AUTODMA, | 132 | .autodma = AUTODMA, |
134 | .enablebits = {{0x80, 0x01, 0x01}, {0x80, 0x02, 0x02}}, | 133 | .enablebits = {{0x80, 0x01, 0x01}, {0x80, 0x02, 0x02}}, |
135 | .bootable = ON_BOARD, | 134 | .bootable = ON_BOARD, |
135 | .pio_mask = ATA_PIO4, | ||
136 | }; | 136 | }; |
137 | 137 | ||
138 | static int __devinit triflex_init_one(struct pci_dev *dev, | 138 | static int __devinit triflex_init_one(struct pci_dev *dev, |