SETUP.TXT Driver File Contents (8139.exe)

Setting up a RTL8139 device on X86 wince platform :

 (1).Reserve 64k of physical memory space for a RTL8139 device:
        Add this line to config.bib::
           RTL8139A 80190000  00010000  RESERVED        ;//could be machine dependent

 (2).Modify Registry to configure RTL8139 driver and device:
        .Configure slot number
        .Configure reserved physical address
        1.Add this section to common.reg::

	[HKEY_LOCAL_MACHINE\Comm\RTL8139]
	   "DisplayName"="Realtek RTL8139 based Fast Ethernet Driver"
	   "Group"="NDIS"
	   "ImagePath"="rtl8139.dll"

	[HKEY_LOCAL_MACHINE\Comm\RTL8139\Linkage]
	   "Route"=multi_sz:"RTL81391"

	[HKEY_LOCAL_MACHINE\Comm\RTL81391]
	   "DisplayName"="Realtek RTL8139 based Fast Ethernet Driver"
	   "Group"="NDIS"
	   "ImagePath"="rtl8139.dll"

	[HKEY_LOCAL_MACHINE\Comm\RTL81391\Parms]
	   "PhysicalAddressBase"=dword:00190000 ;//set to reserved physical address in 'config.bib'

;//if static IP is used
;//{
	[HKEY_LOCAL_MACHINE\Comm\RTL81391\Parms\TcpIp]
	   "DefaultGateway"="172.20.1.254"      ;//set to your tcpip setting
	   "LLInterface"=""
	   "UseZeroBroadcast"=dword:0
	   "IpAddress"="172.20.30.161"
	   "Subnetmask"="255.255.0.0"
;//}
;//else
;//{ DHCP is used
	[HKEY_LOCAL_MACHINE\Comm\RTL81391\Parms\TcpIp]
	   "EnableDHCP"=dword:1
	   "DefaultGateway"=""
	   "UseZeroBroadcast"=dword:0
	   "IpAddress"="0.0.0.0"
	   "Subnetmask"="0.0.0.0"
;//}


 (3). Bind TCPIP to RTL8139 device
        Add to Common.reg::
	[HKEY_LOCAL_MACHINE\Comm\Tcpip\Linkage]
	   "Bind"="RTL81391"

 (4).Add rtl8139.dll to WinCE OS Image:
 	Add this line to common.bib::
           rtl8139.dll      $(_FLATRELEASEDIR)\rtl8139.dll            NK  SH

 (5).If the driver is successfully installed, a message will be printed to
     debug terminal on host machine. If not, the driver is not installed.
     Try to install RTL8139 on another slot, or try to use another physical
     memory base.
     If still not working, try debug build version of rtl8139.dll. This
     will dump debug mesasge to windbg or terminal on host machine. Please
     email this debug message to shangh@realtek.com.tw

 (6).Ethernet MAC address is written to registry at driver initialization time,
     the registry key is MACAddress.
Download Driver Pack

How To Update Drivers Manually

After your driver has been downloaded, follow these simple steps to install it.

  • Expand the archive file (if the download file is in zip or rar format).

  • If the expanded file has an .exe extension, double click it and follow the installation instructions.

  • Otherwise, open Device Manager by right-clicking the Start menu and selecting Device Manager.

  • Find the device and model you want to update in the device list.

  • Double-click on it to open the Properties dialog box.

  • From the Properties dialog box, select the Driver tab.

  • Click the Update Driver button, then follow the instructions.

Very important: You must reboot your system to ensure that any driver updates have taken effect.

For more help, visit our Driver Support section for step-by-step videos on how to install drivers for every file type.

server: web2, load: 0.41