diff options
Diffstat (limited to 'drivers/ide/pci/hpt366.c')
-rw-r--r-- | drivers/ide/pci/hpt366.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/ide/pci/hpt366.c b/drivers/ide/pci/hpt366.c index eccf29f7f89d..752b6d6dde04 100644 --- a/drivers/ide/pci/hpt366.c +++ b/drivers/ide/pci/hpt366.c | |||
@@ -743,12 +743,10 @@ static int hpt366_config_drive_xfer_rate(ide_drive_t *drive) | |||
743 | if (ide_use_dma(drive) && config_chipset_for_dma(drive)) | 743 | if (ide_use_dma(drive) && config_chipset_for_dma(drive)) |
744 | return hwif->ide_dma_on(drive); | 744 | return hwif->ide_dma_on(drive); |
745 | 745 | ||
746 | if (ide_use_fast_pio(drive)) { | 746 | if (ide_use_fast_pio(drive)) |
747 | hpt3xx_tune_drive(drive, 255); | 747 | hpt3xx_tune_drive(drive, 255); |
748 | return hwif->ide_dma_off_quietly(drive); | 748 | |
749 | } | 749 | return hwif->ide_dma_off_quietly(drive); |
750 | /* IORDY not supported */ | ||
751 | return 0; | ||
752 | } | 750 | } |
753 | 751 | ||
754 | /* | 752 | /* |