Thread (4 messages) 4 messages, 3 authors, 2003-12-08

Re: Can't disable IDE DMA on 2.6.0-test9 (patch)

From: Peter Chubb <hidden>
Date: 2003-12-08 02:35:58
Also in: lkml

quoted
quoted
quoted
quoted
"Bartlomiej" == Bartlomiej Zolnierkiewicz [off-list ref] writes:
Bartlomiej> On Friday 21 of November 2003 00:05, Peter Chubb wrote:
quoted
Hi Folks,
Bartlomiej> Hi,
quoted
If you try to disable IDE DMA from Kconfig, you'll end up with an
undefined symbol, ide_hwif_setup_dma().

The attached rather ugly patch fixes the problem by defining a
dummy function.
Bartlomiej> Not exactly.  Disable IDE DMA and enable support for every
Bartlomiej> PCI chipset.  Now try to compile... welcome to compile
Bartlomiej> time hell :-).

If you disable IDE_DMA, then the other chipset drivers cannot be
enabled --- the config system won't let you.
With IDE_DMA disabled and all chipsets disabled, I see:

drivers/built-in.o(.text+0x9f8bc): In function `ide_hwif_setup_dma':
: undefined reference to `ide_setup_dma'

And *that's* what my patch was supposed to fix.

--
Dr Peter Chubb  http://www.gelato.unsw.edu.au  peterc AT gelato.unsw.edu.au
The technical we do immediately,  the political takes *forever*
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help