Building driver module with the Kernel

Got Osimbo iragwar@erols.com
Tue Feb 1 20:28:24 2000


This is a multi-part message in MIME format.

------=_NextPart_000_0014_01BF6CF2.B267DD60
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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





------=_NextPart_000_0014_01BF6CF2.B267DD60
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2>Hello,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have NIC which uses rtl8139 driver. I =
am in a=20
process of building this driver<BR>with kernel and I am not good at this =
=20
domain. The&nbsp; instructions for<BR>compiling the rtl8139 driver&nbsp; =
is=20
extracted from&nbsp; Donald Backer's&nbsp; rtl8139<BR>driver's source =
code and=20
it is shown below:&nbsp; I wonder&nbsp; which compile =
command<BR>should&nbsp;I=20
use and is  the command include double and single quotes and also=20
brackets.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial=20
size=3D2>________________________________________________________________=
____</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Local variables:<BR>&nbsp;*&nbsp; =
compile-command:=20
"gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 =
-c<BR>&nbsp;rtl8139.c=20
`[ -f /usr/include/linux/modversions.h ] &amp;&amp; echo=20
-DMODVERSIONS`"<BR>&nbsp;*&nbsp; SMP-compile-command: "gcc -D__SMP__ =
-DMODULE=20
-D__KERNEL__ -Wall<BR>-Wstrict-prototypes -O6 -c rtl8139.c `[ -f=20
/usr/include/linux/modversions.h ] &amp;&amp;<BR>&nbsp;echo=20
-DMODVERSIONS`"<BR>&nbsp;*&nbsp; cardbus-compile-command: "gcc -DCARDBUS =

-DMODULE -D__KERNEL__ -Wall<BR>-Wstrict-prototypes -O6 -c rtl8139.c -o=20
realtek_cb.o<BR>-I/usr/src/pcmcia-cs-3.0.9/include/"<BR>&nbsp;*&nbsp;=20
c-indent-level: 4 *&nbsp; c-basic-offset: 4 *&nbsp; tab-width: 4 * End:=20
*/<BR><BR>_______________________________________________________________=
______</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial =
size=3D2>Got<BR><BR><BR><BR></DIV></FONT></BODY></HTML>

------=_NextPart_000_0014_01BF6CF2.B267DD60--

 | 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.