aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/siimage.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/pci/siimage.c')
-rw-r--r--drivers/ide/pci/siimage.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/ide/pci/siimage.c b/drivers/ide/pci/siimage.c
index 40e992af0005..1e5b8b17e6d8 100644
--- a/drivers/ide/pci/siimage.c
+++ b/drivers/ide/pci/siimage.c
@@ -419,12 +419,10 @@ static int siimage_config_drive_for_dma (ide_drive_t *drive)
419 if (ide_use_dma(drive) && config_chipset_for_dma(drive)) 419 if (ide_use_dma(drive) && config_chipset_for_dma(drive))
420 return hwif->ide_dma_on(drive); 420 return hwif->ide_dma_on(drive);
421 421
422 if (ide_use_fast_pio(drive)) { 422 if (ide_use_fast_pio(drive))
423 config_chipset_for_pio(drive, 1); 423 config_chipset_for_pio(drive, 1);
424 return hwif->ide_dma_off_quietly(drive); 424
425 } 425 return hwif->ide_dma_off_quietly(drive);
426 /* IORDY not supported */
427 return 0;
428} 426}
429 427
430/* returns 1 if dma irq issued, 0 otherwise */ 428/* returns 1 if dma irq issued, 0 otherwise */