Building driver module with the Kernel

From: Got Osimbo (iragwar@erols.com)
Date: Tue Feb 01 2000 - 20:27:01 EST


Hello,

I have NIC which uses rtl8139 driver. I am in a process of building this driver
with kernel and I am not good at this domain. The instructions for
compiling the rtl8139 driver is extracted from Donald Backer's rtl8139
driver's source code and it is shown below: I wonder which compile command
should I use and is the command include double and single quotes and also brackets.

____________________________________________________________________
Local variables:
 * compile-command: "gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c
 rtl8139.c `[ -f /usr/include/linux/modversions.h ] && echo -DMODVERSIONS`"
 * SMP-compile-command: "gcc -D__SMP__ -DMODULE -D__KERNEL__ -Wall
-Wstrict-prototypes -O6 -c rtl8139.c `[ -f /usr/include/linux/modversions.h ] &&
 echo -DMODVERSIONS`"
 * cardbus-compile-command: "gcc -DCARDBUS -DMODULE -D__KERNEL__ -Wall
-Wstrict-prototypes -O6 -c rtl8139.c -o realtek_cb.o
-I/usr/src/pcmcia-cs-3.0.9/include/"
 * c-indent-level: 4 * c-basic-offset: 4 * tab-width: 4 * End: */

_____________________________________________________________________

Thanks

Got

 | To unsubscribe, send mail to Majordomo@cesdis.gsfc.nasa.gov, and within the
 | body of the mail, include only the text:
 | unsubscribe this-list-name youraddress@wherever.org
 | You will be unsubscribed as speedily as possible.



This archive was generated by hypermail 2b29 : Sun Feb 27 2000 - 02:22:06 EST