building a specific driver in kernel src tree

sri bskmohan at gmail.com
Mon May 9 01:49:46 EDT 2011


Hi,

As part of learning, I have added few debug statements to the code at
drivers/net/e1000/e1000_main.c (e1000_probe function).
Now to compile this, am doing make -C /lib/modules/2.6.18-194.el5PAE/build
M=`pwd` modules under drivers/net/e1000 dir.

That is not compiling anything. But the same thing when I do in
drivers/net/e1000e, it is compiling and creating e1000e.ko file.

Any help on how to get e1000.ko?

--Sri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110509/06265e7b/attachment.html 


More information about the Kernelnewbies mailing list