[realtek] Makefile for D-Link DFE-538TX/R DFE-538TX Rev.D1 RTL8139C

Allan Jacobsen aj@2m.dk
Thu, 17 May 2001 08:18:03 +0200


"Wm. G. McGrath" wrote:
> 
> Howdy all,
> 
> I have the new D-Link DFE-538TX/R. The card itself is labled DFE-538TX
> Rev. D1. The chip is labled DL10038C - and is a RTL8139C.
> 
> These cards were shipped with the v.1.08 (June 25/99) driver in
> rtl8139.c format. That's correct - new chip - old driver. As well
> there was a Makefile and README.txt file in the linux directory. This
> old .c file will compile with this Makefile and produce an rtl8139.o
> file.
> 
> >From the scyld.com I have downloaded the v1.13 rtl8139.c driver
> (January 9/01).I hoped this will work with the RTL8139C chip and
> followed the instructions included on the floppy and tried
> substituting the v1.13 file for the v1.08. The newer file would not
> compile. The error messages are as follows:
> 
> gcc -D__KERNEL__ -DMODULE -O2 -m486 -Wall -finline-functions -I
> /usr/src/linux/include  -DMODVERSIONS  -c -o rtl8139.o rtl8139.c
> rtl8139.c:121: pci-scan.h: No such file or directory
> rtl8139.c:122: kern_compat.h: No such file or directory
> make: *** [rtl8139.o] Error 1
> 
> Unfortunately I am not a kernel hacker, but I would guess that the
> header files are  missing?? and not included on the floppies, or that
> the Makefile is incompatible.
> 

You just need to read the documentation, more exatly the section:
Installing Individual Drivers
on the page: 
http://www.scyld.com/network/updates.html

-- 
Med Venlig hilsen / Best Regards
Allan Jacobsen
SW Engineer, R&D
2M ELECTRONIC A/S