Re: 2.5.60 linking error with IDE-DMA disabled

Adrian Bunk (bunk@fs.tum.de)
Wed, 12 Feb 2003 16:40:17 +0100


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
CONFIG_BLK_DEV_GENERIC enabled.

> Alan

cu
Adrian

-- 

"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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/