[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: modules vs. device drivers: Act 2



> I have recompiled my 2.0.34 kernel with AHA152X as module. 2 minutes and 40
> seconds later (boy, this overclocked Celeron 300A is FAST!) I have saved down
> the resulting kernel.
> 
> After that, I have commented out the AHA152X flag out of the .config file, and
> built the kernel again.
> 
> Guess what - I got two different kernels.

I do not get what are you trying to prove here. Just try to insert that
module in kernel which is not compled with AHA defined and see. If it gets
in, you are proved wrong. If not, tell us what happened. 

> 
> If modules are COMPLETELY INDEPENDENT of the kernel, how did I get 2
> **different** kernel images??

Grep source for ifdef AHA152 and look.

> 

-- 
frodo@sharat.co.il	\/  There shall be counsels taken
Stanislav Malyshev	/\  Stronger than Morgul-spells
phone +972-2-6245112	/\  		JRRT LotR.
http://sharat.co.il/frodo/	whois:!SM8333