Re: 2.5.60 linking error with IDE-DMA disabled

From: Adrian Bunk (
Date: Wed Feb 12 2003 - 10:40:17 EST

On Tue, Feb 11, 2003 at 01:02:23PM +0000, Alan Cox wrote:
> On Tue, 2003-02-11 at 11:12, Guennadi Liakhovetski wrote:
> > Hello
> >
> > If I try to compile the kernel with IDE bus-mastering disabled (which,
> > IIRC, worked on 2.4.x), I get the following error:
> >
> Looks like the 2.5 makefile is broken. If you didnt include any IDE DMA
> support them ide-dma.c should not have been linked into the kernel. 2.4.x
> seems to get this right (though I have to fix modular IDE there yet).
> I'll have a look at the rest when I try and get 2.5.60 IDE back in sync
> with the newer 2.4 code.

It isn't ide-dma.c. The error messages talk about the functions
init_dma_generic and ide_hwif_setup_dma and these are in pci/generic.c
and setup-pci.c, respectively.

These are included since he has CONFIG_BLK_DEV_IDEPCI and

> Alan



"Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Feb 15 2003 - 22:00:42 EST