
          Davicom DM9PCI Driver for WinCE 5.0 Release Note


      The Davicom DM9PCI NDIS CE miniport device driver is used to be the network 
 component of the Microsoft WinCE 5.0 enables hardware containing Davicom's PCI 
 Fast Ethernet controller DM9102 or DM9103 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. 
 	  
 	  1.3 STPC Atlas: x86
 	  
 	  This driver is build based on the BSP of The STPC Atlas Information 
  Appliance Evaluation Kit -- ISA or Local Bus modes -- integrates a standard x86
  core along with a powerful UMA graphics/video chipset, support logic including 
  PCI, USB, IDE controllers and standard I/O interfaces.
  
2. Build driver

	2.1 Copy driver source code to 
	$(_winceroot)\public\common\oak\drivers\netcard\DM9PCI directory
	
	2.2 Add "DM9PCI" 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\DM9PCI.
	ex.
       cd $(_winceroot)\public\common\oak\drivers\netcard\DM9PCI
	Use command "build -c" to complie and build the driver.
	ex.
       $(_winceroot)\public\common\oak\drivers\netcard\DM9PCI>build -c
	
	2.4 Add "DM9PCI" target to $(_winceroot)\public\common\cesysgen\makefile file
	Append "DM9PCI" to all "rtl8139" rules or dependencies
	
	2.5 
		WinCE4.2 : WinCE Platform Builder->[View]->[Workspace]->[ParameterView]->
		[Project Specific Files]->[cesysgen.bat]
		set CE_MODULES= DM9PCI %CE_MODULES%
			
		WinCE5.0 : Add "DM9PCI" to $(_winceroot)\public\cebase\oak\misc\winceos.bat file
		set CE_MODULES= DM9PCI %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 hardware config.bib file.
	    Replace the DMA address 80220000 according to your hardware.

  	    MEMORY

        DM9CE_DMA 80220000  00010000  RESERVED

	3.3 Add the folloing instruction to your project bib file.

  	    MODULES
	    ;  Name            Path                                    Memory Type
	    ;  --------------  --------------------------------------  -----------
	       DM9PCI.DLL      $(_FLATRELEASEDIR)\DM9PCI.DLL           NK SH

4. Configuration
	4.1	In the file project.reg, add the following registry values.
	<e.g.>
         [HKEY_LOCAL_MACHINE\Comm\DM9PCI]
             "DisplayName"="Davicom PCI Fast Ethernet Adapter"
             "Group"="NDIS"
             "ImagePath"="dm9pci.dll"
         
         [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\DM9PCI]
            "Dll"="NDIS.dll"
            "Class"=dword:02
            "SubClass"=dword:00
            "ProgIF"=dword:0
            "VendorID"=multi_sz:"1282","1282"
            "DeviceID"=multi_sz:"9102","9013"
            "Entry"="NdisPCIBusDeviceInit"
            "Transceiver"=dword:3
            
         ;Installable ISR Handler Information
            "IsrDll"="giisr.dll"
            "IsrHandler"="ISRHandler"
            "PortIsIO"=dword:1
            "PortOffset"=dword:28
            "PortSize"=dword:4
            "PortMask"=dword:180C5
         
         ;Remember to replace the 80220000 to proper address
            "BufferPhysicalAddress"=dword:80220000
         
         ;Remember to modify the IP settings
         [HKEY_LOCAL_MACHINE\Comm\PCI\DM9PCI1\Parms\TCPIP]
             "EnableDHCP"=dword:0
             "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.5 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.
	
	
DAVICOM Semicoductor Inc,. Copyright(C) 2007
