[realtek] Compilation problem of rtl8139.c with 2.4.0-test10

Milan Hodoscek milan@ala.cmm.ki.si
Sun, 5 Nov 2000 11:18:54 +0100


Hi,

I am trying to figure out why 2.4.0 kernel (using 8139too) is twice as
slow as 2.2.14 (rtl8139) on my application running on 8 boxes in
parallel. Maybe it is the driver maybe it is the TCP in the kernel? In
order to check this I want to compile rtl8139 with 2.4.0-test10. I am
not sure if this is suppose to work at all but pci-scan compiles OK,
and rtl8139 reports these errors:

==============================================================
rtl8139.c: In function `rtl8129_open':
rtl8139.c:704: structure has no member named `tbusy'
rtl8139.c:705: structure has no member named `interrupt'
rtl8139.c:706: structure has no member named `start'
rtl8139.c: In function `rtl8129_timer':
rtl8139.c:796: structure has no member named `interrupt'
rtl8139.c:802: structure has no member named `tbusy'
rtl8139.c: In function `rtl8129_tx_timeout':
rtl8139.c:929: structure has no member named `tbusy'
rtl8139.c: In function `rtl8129_start_xmit':
rtl8139.c:960: structure has no member named `tbusy'
rtl8139.c:983: structure has no member named `tbusy'
rtl8139.c:987: structure has no member named `tbusy'
rtl8139.c: In function `rtl8129_interrupt':
rtl8139.c:1012: structure has no member named `interrupt'
rtl8139.c:1015: structure has no member named `interrupt'
rtl8139.c:1092: structure has no member named `tbusy'
rtl8139.c:1093: `NET_BH' undeclared (first use in this function)
rtl8139.c:1093: (Each undeclared identifier is reported only once
rtl8139.c:1093: for each function it appears in.)
rtl8139.c:1168: structure has no member named `interrupt'
rtl8139.c: In function `rtl8129_close':
rtl8139.c:1291: structure has no member named `start'
rtl8139.c:1292: structure has no member named `tbusy'
rtl8139.c: In function `rtl8129_get_stats':
rtl8139.c:1369: structure has no member named `start'
==============================================================

I am using gcc-2.95.2 (standard Debian gcc) and the command from the
bottom of the rtl8139.c file.

Thanks for looking at this -- Milan Hodoscek