aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/ide/Kconfig10
-rw-r--r--drivers/ide/ide-probe.c5
2 files changed, 1 insertions, 14 deletions
diff --git a/drivers/ide/Kconfig b/drivers/ide/Kconfig
index 5fbd06b7893d..6d9fd92763f4 100644
--- a/drivers/ide/Kconfig
+++ b/drivers/ide/Kconfig
@@ -435,16 +435,6 @@ config BLK_DEV_IDEDMA_PCI
435 bool 435 bool
436 select BLK_DEV_IDEPCI 436 select BLK_DEV_IDEPCI
437 437
438# TODO: remove it
439config IDEDMA_ONLYDISK
440 bool "Enable DMA only for disks "
441 depends on BLK_DEV_IDEDMA_PCI
442 help
443 This is used if you know your ATAPI Devices are going to fail DMA
444 Transfers.
445
446 Generally say N here.
447
448config BLK_DEV_AEC62XX 438config BLK_DEV_AEC62XX
449 tristate "AEC62XX chipset support" 439 tristate "AEC62XX chipset support"
450 select BLK_DEV_IDEDMA_PCI 440 select BLK_DEV_IDEDMA_PCI
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c
index 41e7a4229fc4..3c945d64d845 100644
--- a/drivers/ide/ide-probe.c
+++ b/drivers/ide/ide-probe.c
@@ -843,10 +843,7 @@ static void probe_hwif(ide_hwif_t *hwif, void (*fixup)(ide_hwif_t *hwif))
843 * PARANOIA!!! 843 * PARANOIA!!!
844 */ 844 */
845 hwif->dma_off_quietly(drive); 845 hwif->dma_off_quietly(drive);
846#ifdef CONFIG_IDEDMA_ONLYDISK 846 ide_set_dma(drive);
847 if (drive->media == ide_disk)
848#endif
849 ide_set_dma(drive);
850 } 847 }
851 } 848 }
852 } 849 }