diff options
Diffstat (limited to 'drivers/ide/pci/aec62xx.c')
-rw-r--r-- | drivers/ide/pci/aec62xx.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/ide/pci/aec62xx.c b/drivers/ide/pci/aec62xx.c index 30f8de6176dd..25892814b314 100644 --- a/drivers/ide/pci/aec62xx.c +++ b/drivers/ide/pci/aec62xx.c | |||
@@ -214,12 +214,10 @@ static int aec62xx_config_drive_xfer_rate (ide_drive_t *drive) | |||
214 | if (ide_use_dma(drive) && config_chipset_for_dma(drive)) | 214 | if (ide_use_dma(drive) && config_chipset_for_dma(drive)) |
215 | return hwif->ide_dma_on(drive); | 215 | return hwif->ide_dma_on(drive); |
216 | 216 | ||
217 | if (ide_use_fast_pio(drive)) { | 217 | if (ide_use_fast_pio(drive)) |
218 | aec62xx_tune_drive(drive, 5); | 218 | aec62xx_tune_drive(drive, 5); |
219 | return hwif->ide_dma_off_quietly(drive); | 219 | |
220 | } | 220 | return hwif->ide_dma_off_quietly(drive); |
221 | /* IORDY not supported */ | ||
222 | return 0; | ||
223 | } | 221 | } |
224 | 222 | ||
225 | static int aec62xx_irq_timeout (ide_drive_t *drive) | 223 | static int aec62xx_irq_timeout (ide_drive_t *drive) |