[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

BLK_DEV_IDEDMA_PMAC && !BLK_DEV_IDEPCI



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



Reply to: