On Mar 16, 2005, at 10:35 PM, [EMAIL PROTECTED] wrote:
I enabled BLK_DEV_IDEDMA_PMAC & disabled BLK_DEV_IDEPCI - but compiling the kernel failed -


[...]
CC drivers/ide/ppc/pmac.o
drivers/ide/ppc/pmac.c: In function `pmac_ide_build_dmatable':
drivers/ide/ppc/pmac.c:1726: warning: implicit declaration of function `ide_build_sglist'
drivers/ide/ppc/pmac.c: In function `pmac_ide_setup_dma':
drivers/ide/ppc/pmac.c:2169: error: `__ide_dma_off_quietly' undeclared (first use in this function)
drivers/ide/ppc/pmac.c:2169: error: (Each undeclared identifier is reported only once
drivers/ide/ppc/pmac.c:2169: error: for each function it appears in.)
drivers/ide/ppc/pmac.c:2170: error: `__ide_dma_on' undeclared (first use in this function)
drivers/ide/ppc/pmac.c:2179: error: `__ide_dma_timeout' undeclared (first use in this function)
make[3]: *** [drivers/ide/ppc/pmac.o] Error 1
[...]



On casual inspection, it looks like __ide_dma_off_quietly (for instance) is declared in drivers/ide/ide-dma.c only if BLK_DEV_IDEDMA_PCI is enabled -



[...] EXPORT_SYMBOL(__ide_dma_off_quietly); #endif /* CONFIG_BLK_DEV_IDEDMA_PCI */ [...]


- & BLK_DEV_IDEDMA_PCI depends on BLK_DEV_IDEPCI, but BLK_DEV_IDEDMA_PMAC doesn't depend on BLK_DEV_IDEPCI.


Should it be possible to enable BLK_DEV_IDEDMA_PMAC, without also building BLK_DEV_IDEPCI?

I'm building kernel version 2.6.11-mm4, for a PowerBook5,2

Thanks!

Jack

Hi - I bumped into this same problem building kernel version 2.6.12-rc1-mm3 -



[...]
CC drivers/ide/ppc/pmac.o
drivers/ide/ppc/pmac.c: In function `pmac_ide_build_dmatable':
drivers/ide/ppc/pmac.c:1726: warning: implicit declaration of function `ide_build_sglist'
drivers/ide/ppc/pmac.c: In function `pmac_ide_setup_dma':
drivers/ide/ppc/pmac.c:2169: error: `__ide_dma_off_quietly' undeclared (first use in this function)
drivers/ide/ppc/pmac.c:2169: error: (Each undeclared identifier is reported only once
drivers/ide/ppc/pmac.c:2169: error: for each function it appears in.)
drivers/ide/ppc/pmac.c:2170: error: `__ide_dma_on' undeclared (first use in this function)
drivers/ide/ppc/pmac.c:2179: error: `__ide_dma_timeout' undeclared (first use in this function)
make[3]: *** [drivers/ide/ppc/pmac.o] Error 1
[...]



Unfortunately I dunno in which direction to proceed - I dunno whether BLK_DEV_IDEDMA_PMAC should build without BLK_DEV_IDEPCI, or whether it's a problem with Kconfig - thanks for any help!


Jack


-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to