Re: Can't disable IDE DMA on 2.6.0-test9 (patch)
From: Peter Chubb
Date: Sun Dec 07 2003 - 21:37:03 EST
>>>>> "Bartlomiej" == Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@xxxxxxxxxxxxxx> writes:
Bartlomiej> On Friday 21 of November 2003 00:05, Peter Chubb wrote:
>> Hi Folks,
>> 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*
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/