diff options
Diffstat (limited to 'drivers/ide/pci/tc86c001.c')
-rw-r--r-- | drivers/ide/pci/tc86c001.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/ide/pci/tc86c001.c b/drivers/ide/pci/tc86c001.c index b408508a96ee..3703fc87d150 100644 --- a/drivers/ide/pci/tc86c001.c +++ b/drivers/ide/pci/tc86c001.c | |||
@@ -190,12 +190,10 @@ static int tc86c001_config_drive_xfer_rate(ide_drive_t *drive) | |||
190 | if (ide_use_dma(drive) && config_chipset_for_dma(drive)) | 190 | if (ide_use_dma(drive) && config_chipset_for_dma(drive)) |
191 | return hwif->ide_dma_on(drive); | 191 | return hwif->ide_dma_on(drive); |
192 | 192 | ||
193 | if (ide_use_fast_pio(drive)) { | 193 | if (ide_use_fast_pio(drive)) |
194 | tc86c001_tune_drive(drive, 255); | 194 | tc86c001_tune_drive(drive, 255); |
195 | return hwif->ide_dma_off_quietly(drive); | 195 | |
196 | } | 196 | return hwif->ide_dma_off_quietly(drive); |
197 | /* IORDY not supported */ | ||
198 | return 0; | ||
199 | } | 197 | } |
200 | 198 | ||
201 | static void __devinit init_hwif_tc86c001(ide_hwif_t *hwif) | 199 | static void __devinit init_hwif_tc86c001(ide_hwif_t *hwif) |