
  r8169.c -- RTL8169 Linux driver version 1.0

  1. This driver supports Realtek RTL8169 Gigabit Ethernet Adapter in linux kernel 2.4.x.

  2. Installation steps:
     (1)Compiling r8169.c using 'Makefile'.
	"make"
	
     (2)Move r8169.o to the directory "/lib/modules/2.4.2/kernel/drivers/net".
  	"cp r8169.o /lib/modules/2.4.2/kernel/drivers/net"

     (3)Insert module to kernel.
	"insmod r8169"

     (4)Check driver status 
	"dmesg"

  3. The media can be forced to one of the 5 modes as follows.
	Cmd: "insmod r8169 media = SET_MEDIA"
	Ex:  "insmod r8169 media = 0x04" will force PHY to operate in 100Mpbs Half-duplex.
	
	 SET_MEDIA can be:
 		_10_Half	= 0x01
 		_10_Full	= 0x02
 		_100_Half	= 0x04
 		_100_Full	= 0x08
 		_1000_Full	= 0x10
  
  4. Support TBI mode without any modification.

  5. Makefile is supposed to be modified according to the kernel version.
     For example, the include path should be '/usr/src/linux-2.4.18-3/include/'
     in kernel 2.4.18-3.
