
          Davicom DM9013/DM9003 Driver for WinCE4.2/5.0/6.0 Release Note


      The Davicom DM9ISA NDIS CE miniport device driver is used to be the 
  network component of the Microsoft WinCE 4.3/5.0/6.0 enables hardware containing 
  Davicom's ISA Fast Ethernet controller DM9000 series.
    
      This file describes the procedures of the driver installation. Note that
  this is not written for end-users.


1. Platform

 	  1.1 CEPC: x86
 	  
 	  This driver is build based on the BSP for a Windows CE PCˇVbased 
  hardware development platform (CEPC). The platform uses the OS that is 
  built for the x86 architecture.

 	  1.2 Intel PXA27x Dev Platform:ARMV4I
 	  This driver is build based on the BSP for the Intel XScale 
  Microarchitecture Handheld Development Platform.  The platform uses the OS 
  that is built for the ARM v4 architecture and contains the ARM instruction 
  set with Thumb Interworking enabled. 
 	  
 	  
2. Build driver

	2.1 Copy driver source code to 
	$(_winceroot)\public\common\oak\drivers\netcard\DM9ISA directory
	
	2.2 Add "DM9ISA" to $(_winceroot)\public\common\oak\drivers\netcard\
	dirs file
	
	2.3 Open WinCE Platform Builder, and create a new platform by wizard.
	Then click the menu bar [Build]->[Open Build Release Directory]
	and pop the DOS window. In the DOS window, change the directory 
	to $(_winceroot)\public\common\oak\drivers\netcard\DM9ISA.
	ex.
			cd $(_winceroot)\public\common\oak\drivers\netcard\DM9ISA
	Use command "build -c" to complie and build the driver.
	ex.
			$(_winceroot)\public\common\oak\drivers\netcard\DM9ISA>build -c
	
	2.4 Add "DM9ISA" target to $(_winceroot)\public\common\cesysgen\makefile file
	Append "DM9ISA" to all "rtl8139" rules or dependencies
	
	2.5 
		WinCE4.2 : WinCE Platform Builder->[View]->[Workspace]->[ParameterView]->
		[Project Specific Files]->[cesysgen.bat]
		set CE_MODULES= DM9ISA %CE_MODULES%
			
		WinCE5.0 : Add "DM9ISA" to $(_winceroot)\public\cebase\oak\misc\winceos.bat file
		set CE_MODULES= DM9ISA %CE_MODULES%
	
3. Installation

	3.1 Unzip the zip file and extract them to your project release directory.

	3.2 Add the folloing instruction to your project bib file.

	WinCE 4.2/5.0
  	    MODULES
	    ;  Name            Path                                    Memory Type
	    ;  --------------  --------------------------------------  -----------
	       DM9ISA.DLL      $(_FLATRELEASEDIR)\DM9ISA.DLL           NK SH

	WinCE 6.0
				MODULES
        ;  Name            Path                                   Memory Type
        ;  --------------  -------------------------------------  -----------
           DM9ISA.DLL      $(_FLATRELEASEDIR)\DM9ISA.DLL           NK SHK


4. Configuration
	4.1	In the file project.reg, add the following registry values.
	<e.g.>
         [HKEY_LOCAL_MACHINE\Comm\DM9ISA]
             "DisplayName"="Davicom ISA Fast Ethernet Adapter"
             "Group"="NDIS"
             "ImagePath"="DM9ISA.DLL"

         [HKEY_LOCAL_MACHINE\Comm\DM9ISA\Linkage]
             "Route"=multi_sz:"DM9ISA1"

         [HKEY_LOCAL_MACHINE\Comm\DM9ISA1]
             "DisplayName"="Davicom ISA Fast Ethernet Adapter"
             "Group"="NDIS"
             "ImagePath"="DM9ISA.DLL"

         [HKEY_LOCAL_MACHINE\Comm\Tcpip\Linkage]
             "Bind"="DM9ISA1"

         [HKEY_LOCAL_MACHINE\Comm\DM9ISA1\Parms]
			 "BusNumber"=dword:0
			 "BusType"=dword:1
             "XmitBuffer"=dword:20
             "RecvBuffer"=dword:20
             "IrqNumber"=dword:4
             "SysIntr"=dword:14
             "IoAddress"=dword:300

         [HKEY_LOCAL_MACHINE\Comm\DM9ISA1\Parms\TcpIp]
             "EnableDHCP"=dword:1
             "UseZeroBroadcast"=dword:0
             "DefaultGateway"="x.x.x.x"
             "IpAddress"="x.x.x.x"
             "Subnetmask"="x.x.x.x"
             "DNS"="x.x.x.x"
             "WINS"="x.x.x.x"

	4.2 TCP/IP configurations

	4.2.1 EnableDHCP
		Set 1 for DHCP enable, 0 for disable.
	
	4.2.2 UseZeroBroadcast
		Set 1 for use zero broadcast, 0 for not.
	
	4.2.3 DefaultGateway
		Specify your gateway address in x.x.x.x format.
	
	4.2.4 IpAddress
		Specify your IP address in x.x.x.x format.
	
	4.2.6 Subnetmask
		Specify your subnet mask in x.x.x.x format.
	
	4.2.6 DNS
		Specify your domain name server's address in x.x.x.x format.
	
	4.2.7 WINS
		Specify your WINS server's address in x.x.x.x format.
	
5. DM9ISA Configurables 
    The DM9013 configurable parameters are located at
    [HKEY_LOCAL_MACHINE\Comm\DM9ISA1\Parms]
    Their definitions are explained below.
    
	5.1 BusType
	    Type: DWORD
	    Description: The type of the bus it connects
	    Valid Values:
	         0 - Internal
	         1 - ISA
	         2 - EISA
	         3 - MicroChannel
	         4 - TurboChannel
	         5 - PCIBus

	5.2 BusNumber
	    Type: DWORD
	    Description: The bus number of the device
	
	5.3 IrqNumber
	    Type: DWORD
	    Description: The IRQ number of the device.
	
	5.4 SysIntr
	    Type: DWORD
	    Description: The mapped IRQ number of the device
	    
	5.4 IoAddress
	    Type: DWORD
	    Description: The base I/O address of the device
	         
	5.5 XmitBuffer
	    Type: DWORD
	    Description: The number of buffers for transmission.
	         The recommended value is 0x20.
	         
	5.6 RecvBuffer
	    Type: DWORD
	    Description: The number of buffers for receiption.
	         The recommended value is 0x20.
	
DAVICOM Semicoductor Inc,. Copyright(C) 2007
