aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/pdc202xx_new.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/pci/pdc202xx_new.c')
-rw-r--r--drivers/ide/pci/pdc202xx_new.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/ide/pci/pdc202xx_new.c b/drivers/ide/pci/pdc202xx_new.c
index 32f37e4c1292..b780e15e9f32 100644
--- a/drivers/ide/pci/pdc202xx_new.c
+++ b/drivers/ide/pci/pdc202xx_new.c
@@ -288,12 +288,10 @@ static int pdcnew_config_drive_xfer_rate(ide_drive_t *drive)
288 if (ide_use_dma(drive) && config_chipset_for_dma(drive)) 288 if (ide_use_dma(drive) && config_chipset_for_dma(drive))
289 return hwif->ide_dma_on(drive); 289 return hwif->ide_dma_on(drive);
290 290
291 if (ide_use_fast_pio(drive)) { 291 if (ide_use_fast_pio(drive))
292 hwif->tuneproc(drive, 255); 292 hwif->tuneproc(drive, 255);
293 return hwif->ide_dma_off_quietly(drive); 293
294 } 294 return hwif->ide_dma_off_quietly(drive);
295 /* IORDY not supported */
296 return 0;
297} 295}
298 296
299static int pdcnew_quirkproc(ide_drive_t *drive) 297static int pdcnew_quirkproc(ide_drive_t *drive)