ide: remove CONFIG_BLK_DEV_IDEDMA_FORCED
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).
Signed-off-by Bartlomiej Zolnierkiewicz <[email protected]>
--- drivers/ide/Kconfig | 8 -------- drivers/ide/setup-pci.c | 46 +++------------------------------------------- 2 files changed, 3 insertions(+), 51 deletions(-)
drivers/ide/Kconfig +0 -8
@@ -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
Hello.
Quoted 5 lines · Bartlomiej Zolnierkiewicz
This code doesn't use
pci_assign_resource()andide_get_or_set_dma_base()usespci_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).Signed-off-by Bartlomiej Zolnierkiewicz <[email protected]>
Acked-by Sergei Shtylyov <[email protected]>
MBR, Sergei