Thank you. Am trying to compile the whole kernel again with CONFIG_E1000=m.<br><br><div class="gmail_quote">On Mon, May 9, 2011 at 11:49 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 class="im">On Sun, May 8, 2011 at 23:05, sri <<a href="mailto:bskmohan@gmail.com">bskmohan@gmail.com</a>> wrote:<br>
> the config had it as CONFIG_E1000=y<br>
> Does =y or =m make any difference?<br>
><br>
> still not working.<br>
><br>
<br>
</div>If you have CONFIG_E1000=y, it will build the e1000 driver into the<br>
kernel binary and not as a separate module. If you want the e1000<br>
driver to build as a module, you will need to have CONFIG_E1000=m.<br>
<div><div></div><div class="h5"><br>
> On Mon, May 9, 2011 at 11:32 AM, Jeff Kirsher <<a href="mailto:jeffrey.t.kirsher@intel.com">jeffrey.t.kirsher@intel.com</a>><br>
> wrote:<br>
>><br>
>> 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<br>
>> > /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>
>> 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>
>><br>
>> > Any help on how to get e1000.ko?<br>
>> ><br>
>> > --Sri<br>
>> > _______________________________________________<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>
>> Jeff<br>
><br>
><br>
><br>
> --<br>
> --<br>
> Krishna Mohan B<br>
><br>
> _______________________________________________<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>
Jeff<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>--<br> Krishna Mohan B<br>