Skip to contentSkip to conversation

"PowerMac IDE DMA support"

PATCH Nicolas Vollmar 2 participants 2 messages May 6, 2004 – May 7, 2004

lore
Share & tools
lore
#0 lore raw

Hi

I tried to compile a new Kernel on my iBook and get a compile Error from the IDE PMAC Driver. I had some time to find out that "Generic PCI bus-master DMA support" is needed to compile cleanly.

It may be better if BLK_DEV_IDEDMA_PMAC depends on BLK_DEV_IDEDMA_PCI?

mfg
Nicolas Vollmar

diff -Nru linux-2.6.5-rc3/drivers/ide/Kconfig
linux-2.6.5-rc3-1/drivers/ide/Kconfig

drivers/ide/Kconfig +1 -1
@@ -826,7 +826,7 @@
 
 config BLK_DEV_IDEDMA_PMAC
 	bool "PowerMac IDE DMA support"
-	depends on BLK_DEV_IDE_PMAC
+	depends on BLK_DEV_IDE_PMAC && BLK_DEV_IDEDMA_PCI
 	help
 	  This option allows the driver for the built-in IDE controller on
 	  Power Macintoshes and PowerBooks to use DMA (direct memory access)
#1 lore raw
Quoted 7 lines · Nicolas Vollmar

Hi

I tried to compile a new Kernel on my iBook and get a compile Error from the IDE PMAC Driver. I had some time to find out that "Generic PCI bus-master DMA support" is needed to compile cleanly.

It may be better if BLK_DEV_IDEDMA_PMAC depends on BLK_DEV_IDEDMA_PCI?

I think the problem is that some of the generic IDE DMA code shouldn't be under BLK_DEV_IDEDMA_PCI ... It 's used by several non-strictly-PCI controllers like this one. (Some non-PCI at all).

Ben.