the config had it as CONFIG_E1000=y<br>Does =y or =m make any difference?<br><br>still not working.<br><br><div class="gmail_quote">On Mon, May 9, 2011 at 11:32 AM, Jeff Kirsher <span dir="ltr"><<a href="mailto:jeffrey.t.kirsher@intel.com">jeffrey.t.kirsher@intel.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5">On Sun, May 8, 2011 at 22:49, sri <<a href="mailto:bskmohan@gmail.com">bskmohan@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> As part of learning, I have added few debug statements to the code at<br>
> drivers/net/e1000/e1000_main.c (e1000_probe function).<br>
> Now to compile this, am doing make -C /lib/modules/2.6.18-194.el5PAE/build<br>
> M=`pwd` modules under drivers/net/e1000 dir.<br>
><br>
> That is not compiling anything. But the same thing when I do in<br>
> drivers/net/e1000e, it is compiling and creating e1000e.ko file.<br>
><br>
<br>
</div></div>Check your kernel config file (which is .config) to make sure that<br>
CONFIG_E1000=m<br>
<br>
Then you should be able to run ` make drivers/net/e1000` to build the<br>
e1000 driver as a module<br>
<div class="im"><br>
> Any help on how to get e1000.ko?<br>
><br>
> --Sri<br>
</div>> _______________________________________________<br>
> Kernelnewbies mailing list<br>
> <a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
> <a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
><br>
><br>
<br>
<br>
<br>
--<br>
Cheers,<br>
<font color="#888888">Jeff<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>--<br> Krishna Mohan B<br>