Skip to contentSkip to conversation

ide: remove CONFIG_BLK_DEV_IDEDMA_FORCED

PATCH In review Bartlomiej Zolnierkiewicz 2 participants 2 messages Aug 18, 2007 – Aug 19, 2007 libata

lore
Share & tools
lore
#0 lore raw

PATCH 2/7 ide: remove CONFIG_BLK_DEV_IDEDMA_FORCED

This code doesn't use pci_assign_resource() and ide_get_or_set_dma_base() uses pci_resource_start() to get DMA base address so it has no chance of working. Moreover this belongs to PCI quirks (in case somebody would like to fix it).

---
 drivers/ide/Kconfig     |    8 --------
 drivers/ide/setup-pci.c |   46 +++-------------------------------------------
 2 files changed, 3 insertions(+), 51 deletions(-)
drivers/ide/Kconfig +0 -8
Index: b/drivers/ide/Kconfig
===================================================================
@@ -435,14 +435,6 @@ config BLK_DEV_IDEDMA_PCI
 	bool
 	select BLK_DEV_IDEPCI
 
-config BLK_DEV_IDEDMA_FORCED
-	bool "Force enable legacy 2.0.X HOSTS to use DMA"
-	depends on BLK_DEV_IDEDMA_PCI
-	help
-	  This is an old piece of lost code from Linux 2.0 Kernels.
-
-	  Generally say N here.
-
 # TODO: remove it
 config IDEDMA_ONLYDISK
 	bool "Enable DMA only for disks "
drivers/ide/setup-pci.c +3 -43

68 lines not on this page · raw message