Re: (kconfig) IDE DMA dependencies

From: Hollis Blanchard
Date: Fri Sep 12 2003 - 18:07:45 EST


On Friday, Sep 12, 2003, at 17:26 US/Central, Alan Cox wrote:

On Gwe, 2003-09-12 at 22:36, Hollis Blanchard wrote:
I noticed this when my linker couldn't find ide_setup_dma() last night.
It looks like most of the drivers/ide/pci/ drivers use ide_setup_dma()
in their .init_dma() function. ide_setup_dma() is defined in

It should be falling out as a stub function I think. In the non DMA
case it should never get invoked anyway

drivers/built-in.o(.text+0x39f90): In function `init_dma_generic':
drivers/ide/pci/generic.c:77: undefined reference to `ide_setup_dma'
drivers/built-in.o(.text+0x4a7e8): In function `ide_hwif_setup_dma':
drivers/ide/setup-pci.c:511: undefined reference to `ide_setup_dma'

Even if it is stubbed correctly though, don't we want DMA (i.e. it's safe) with most of those drivers?

--
Hollis Blanchard
IBM Linux Technology Center

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/