Comments for Realtek Fast Ethernet Driver rtl8139.c version 1.0 2001/10/24 ShuChen Shao 1.This driver is based on rtl8139.c version 1.11 written by Donald Becker and modified by Clifford Chiang, wrchiang@realtek.com.tw, to support C+ mode operation with Link Down Power Saving and ShuChen Shao, shuchen@realtek.com.tw, to support both C and C+ mode operation with Medium type selection. 2.It has been tested in 2.2.14 kernel. 3.RTL8139C+ PCI ethernet chips is set to support C+ mode by default. If FORCE_8139CP_TO_C_MODE is enable, the RTL8139C+ chip will be forced to support C mode after reboot. 4.The associated kern_compat.h should be also in the same directory while compiling. This object file obtained after compiling rtl8139.c is supposed to be at /lib/modules/2.2.14-5.0/net. ---------------------------------------------------------------------- 2001/11/20 ShuChen Shao For Slackware 8.0 (kernel 2.2.19) 1.NIC cards (a)Compile-command:"gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c rtl8139.c -I /usr/src/linux-2.2.19/include/" (b)Rename the object file as rtl8139.o.gz and copy it to "/lib/modules/2.2.19/net". (c)Then reboot the system. 2.CardBus (a)cardbus-compile-command:"gcc -DCARDBUS -DMODULE -D__KERNEL -Wall -Wstrict-prototypes -O6 -c rtl8139.c -o realtek_cb.o -I /usr/src/linux-2.2.19/include -I /usr/include/pcmcia" (b)Rename the object file as "realtek_cb.o.gz" and copy it to "/lib/modules/2.2.19/pcmcia" (c)Edit the config file "/etc/pcmcia/config" # # Device driver definitions # device "realtek_cb" (==>Add 1/5) class "network" module "cb_enabler", "realtek_cb" (==>Add 2/5) : # # CardBus Cards # card "Realtek CardBus Ethernet Card" (==>Add 3/5) manfid 0x0000, 0x024C (==>Add 4/5) bind "realtek_cb" (==>Add 5/5) (d)Then reboot the system.