[realtek] Compiling rtl8139.c
Joan Tur
jtur@iname.com
Sun, 05 Aug 2001 14:08:51 -0400
Hallo!
I've got a Conceptronic CON100TC pcmcia ethernet card using a Realtek
8139 chipset. I can find at www.conceptronic.net a linux driver for 2.2
kernels but i'm now using Mandrake 8 (2.4.3-20 kernel) and i need the
net to work.
I've downloaded rtl8139.c v.1.13 from Donald Becker together with latest
pci-scan.h and kern_compat.h. When trying to compile it i get:
------------------
[root@quinipc Conceptronic.Linux]# cc -DCARDBUS -DMODULE -D__KERNEL__
-Wall
-Wstrict-prototypes -O6 -c rtl8139.c -o realtek_cb.o
-I/usr/src/linux/pcmcia-cs-3.1.25/include -I/usr/src/linux/include
rtl8139.c: In function `rtl8129_open':
rtl8139.c:675: structure has no member named `tbusy'
rtl8139.c:676: structure has no member named `interrupt'
rtl8139.c:677: structure has no member named `start'
rtl8139.c: In function `rtl8129_timer':
rtl8139.c:777: structure has no member named `interrupt'
rtl8139.c:783: structure has no member named `tbusy'
rtl8139.c: In function `rtl8129_tx_timeout':
rtl8139.c:910: structure has no member named `tbusy'
rtl8139.c: In function `rtl8129_start_xmit':
rtl8139.c:940: structure has no member named `tbusy'
rtl8139.c:963: structure has no member named `tbusy'
rtl8139.c:967: structure has no member named `tbusy'
rtl8139.c: In function `rtl8129_interrupt':
rtl8139.c:992: structure has no member named `interrupt'
rtl8139.c:995: structure has no member named `interrupt'
rtl8139.c:1072: structure has no member named `tbusy'
rtl8139.c:1152: structure has no member named `interrupt'
rtl8139.c: In function `rtl8129_close':
rtl8139.c:1275: structure has no member named `start'
rtl8139.c:1276: structure has no member named `tbusy'
rtl8139.c: In function `rtl8129_get_stats':
rtl8139.c:1354: structure has no member named `start'
rtl8139.c: In function `rtl8139_detach':
rtl8139.c:1527: warning: `next' might be used uninitialized in this
function
------------------
Any help would be appreciated. Thanks!
--
Joan Tur. Ibiza - Spain
jtur@iname.com joantur@clubibosim.org Yahoo: quinir
Joan.Tur.pagina.de www.ClubIbosim.org
Linux: usuari registrat 190.783