[realtek] How can I compile rtl8139.c and pci-scan.c with kernel 2.4 headers?

Bruno Gravato gravato@ieee.org
Fri, 19 Jan 2001 05:42:28 +0000


Hi!

I have a Toshiba Satellite Pro 4300 with a PCMCIA 10/100
ethernet card - Conceptronic 100TCL, which as a rtl8139 chip
(AFAIK).
I tried all the suggestions at http://www.scyld.com/network/rtl8139.html
(and in the following links) but it always detected IRQ 0
and address ff:ff:ff:ff:ff:ff 
I'm using RedHat 7.0 with VALinux enhancements 7.0.1
I tried several 2.2.x kernel versions (2.2.16 from redhat,
2.2.18-pre11 from valinux and standard 2.2.18).
Finally after compiling kernel 2.4.0 with pcmcia support it
detected the right IRQ and address for my pcmcia card.
But now I have another problem... it seems that Donald
Becker's driver doesn't compile with 2.4 kernel headers...
If I knew enough of C I would change it in order to compile
under 2.4... but since I don't I wonder if anyone has found
a way of compiling this driver with kernel 2.4 headers...

Thanks.

Bruno Gravato.
gravato@ieee.org