[Version]
Signature  = "$CHICAGO$"
Compatible = 1
Class      = Net
ClassGUID  = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider   = %DAVICOM%
;LayoutFile = layout.inf
CatalogFile = dm9usb.cat
DriverVer   = 03/24/2010, 3.0.2.0324

[Manufacturer]
%DAVICOM%   = DM9USB

[ControlFlags]
ExcludeFromSelect = USB\VID_0FE6&PID_9700, USB\VID_0A46&PID_9620, USB\VID_0A46&PID_9621, USB\VID_0A46&PID_9622,

[DM9USB]
; DisplayName           Section       DeviceID
; -----------           -------       --------
%DM9USB.DeviceDesc%    = DM9USB.Ndi,  USB\VID_0FE6&PID_9700
%DM9620.DeviceDesc%    = DM9620.Ndi,  USB\VID_0A46&PID_9620
%DM9621.DeviceDesc%    = DM9620.Ndi,  USB\VID_0A46&PID_9621
%DM9622.DeviceDesc%    = DM9620.Ndi,  USB\VID_0A46&PID_9622

;*******************************************************************************
; Win98 main sections

[DM9USB.Ndi]
AddReg   = DM9USB.Reg, DM9USB.Params
CopyFiles = DM9USB.ndis.copyfiles

;*******************************************************************************
; NT main sections
;*******************************************************************************
[DM9USB.Ndi.NT]
AddReg          = DM9USB.NT.Reg, DM9USB.Params
Characteristics = 0x84
BusType         = 15 
CopyFiles       = DM9USB.ndis.copyfiles.NT

[DM9USB.Ndi.NT.Services]
AddService = DM9USB, 2, DM9USB.Service, Common.EventLog

[DM9620.Ndi.NT]
AddReg          = DM9USB.NT.Reg, DM9USB.Params, DM9620.Params, DM9620.WOL
Characteristics = 0x84
BusType         = 15 
CopyFiles       = DM9USB.ndis.copyfiles.NT

[DM9620.Ndi.NT.Services]
AddService = DM9USB, 2, DM9USB.Service, Common.EventLog

[DM9USB.ndis.copyfiles]
dm9usb.sys,,,2

[DM9USB.ndis.copyfiles.NT]
dm9usb.sys,,,2


;*******************************************************************************
; Windows 98 section
;*******************************************************************************

[DM9USB.Reg]
HKR,Ndi,DeviceID,,USB\VID_0FE6&PID_9700
HKR,,AdapterName,,DM9USB
HKR,Ndi,CardType,,"PNP"

HKR,,DevLoader,,*ndis,*ntkern,*ndis
HKR,,DeviceVxDs,,dm9usb.sys

; NDIS Info
HKR,NDIS,MajorNdisVersion,1,05
HKR,NDIS,MinorNdisVersion,1,00
HKR,NDIS,LogDriverName,,DM9USB

; Interfaces
HKR,Ndi\Interfaces,DefUpper,,"ndis3"
HKR,Ndi\Interfaces,DefLower,,"ethernet"
HKR,Ndi\Interfaces,UpperRange,,"ndis3"
HKR,Ndi\Interfaces,LowerRange,,"ethernet"

; Install sections
HKR,Ndi\Install,,,"DM9USB.Install"
HKR,Ndi,HelpText,,"DM9601 USB To Fast Ethernet Adapter"

;*******************************************************************************
; Driver parameters
;*******************************************************************************

[DM9USB.Params]
HKR, ,TxPacketDesc,    0, "256"   ; 0x100
HKR, ,RxPacketDesc,    0, "1"   ; 0x01
HKR, ,Reg2EH,          0, "0"   ; external PHY Force Mode Control Register (2EH)

HKR,Ndi\Params\ConnectionType,ParamDesc,,"ConnectionType"
HKR,Ndi\Params\ConnectionType,default,,"15"
HKR,Ndi\Params\ConnectionType,type,,"enum"
HKR,Ndi\Params\ConnectionType\enum,15,,"Auto-Negotiation"
HKR,Ndi\Params\ConnectionType\enum,4,,"10Base-T"
HKR,Ndi\Params\ConnectionType\enum,5,,"10Base-T Full_Duplex"
HKR,Ndi\Params\ConnectionType\enum,8,,"100Base-TX"
HKR,Ndi\Params\ConnectionType\enum,9,,"100Base-TX Full_Duplex"
HKR,Ndi\Params\ConnectionType,flag,1,"20","00","00","00"

;Mac address
HKR,Ndi\params\NetworkAddress,ParamDesc,0,%NetworkAddress%
HKR,Ndi\params\NetworkAddress,type,0,"edit"
HKR,Ndi\params\NetworkAddress,default,0,"000000000000"
HKR,Ndi\params\NetworkAddress,LimitText,0,"12"
HKR,Ndi\params\NetworkAddress,UpperCase,0,"1"
HKR,Ndi\params\NetworkAddress,Optional,0,"1"

;Flow  control
HKR,Ndi\params\FlowControl,ParamDesc,0,%FlowControl%
HKR,Ndi\params\FlowControl,default,0, "1"
HKR,Ndi\params\FlowControl,type,0, "enum"
HKR,Ndi\params\FlowControl\enum, "0",0,%Disabled%
HKR,Ndi\params\FlowControl\enum, "1",0,%Enabled%
;HKR,,FlowControl,0,"1"

[DM9620.Params]
;Checksum offload
HKR,Ndi\params\CksOffload,ParamDesc,,%ChecksumOffload%
HKR,Ndi\params\CksOffload,default,,"0"
HKR,Ndi\params\CksOffload,type,,"enum"
HKR,Ndi\params\CksOffload\enum,0,,%Disabled%
HKR,Ndi\params\CksOffload\enum,1,,%RxEnabled%
HKR,Ndi\params\CksOffload\enum,2,,%TxEnabled%
HKR,Ndi\params\CksOffload\enum,3,,%RxTxEnabled%
;HKR,,CksOffload,0,"0" 

[DM9620.WOL]
;Wake Up on LAN
HKR,Ndi\Params\LinkChang,ParamDesc,,%WOLLink%
HKR,Ndi\Params\LinkChang,default,,"0"
HKR,Ndi\Params\LinkChang,type,,"enum"
HKR,Ndi\Params\LinkChang\enum,0,,"Disable"
HKR,Ndi\Params\LinkChang\enum,1,,"Enable"

HKR,Ndi\Params\WOLMagicPacket,ParamDesc,,%WOLMagicPacket%
HKR,Ndi\Params\WOLMagicPacket,default,,"0"
HKR,Ndi\Params\WOLMagicPacket,type,,"enum"
HKR,Ndi\Params\WOLMagicPacket\enum,0,,"Disable"
HKR,Ndi\Params\WOLMagicPacket\enum,1,,"Enable"

HKR,Ndi\Params\WOLSampleFrame,ParamDesc,,%WOLSampleFrame%
HKR,Ndi\Params\WOLSampleFrame,default,,"0"
HKR,Ndi\Params\WOLSampleFrame,type,,"enum"
HKR,Ndi\Params\WOLSampleFrame\enum,0,,"Disable"
HKR,Ndi\Params\WOLSampleFrame\enum,1,,"Windows Default"
HKR,Ndi\Params\WOLSampleFrame\enum,4,,"PING"
HKR,Ndi\Params\WOLSampleFrame\enum,5,,"Windows Default+PING""

;*******************************************************************************
; Install section for Windows 2000
;*******************************************************************************

[DM9USB.NT.Reg]
; Interfaces
HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"
HKR, Ndi\Interfaces, UpperRange, 0, "ndis5"
HKR, Ndi,            Service,    0, "DM9USB"
HKR,,                Platform,   0, "1"


[DM9USB.Service]
DisplayName    = %DM9USB.Service.DispName%
ServiceType    = 1
StartType      = 3
ErrorControl   = 1
ServiceBinary  = %12%\dm9usb.sys
LoadOrderGroup = NDIS,NTKERN,NDIS
AddReg         = TextModeFlags.Reg


[Common.EventLog]
AddReg = Common.AddEventLog.Reg

[Common.AddEventLog.Reg]
HKR, , EventMessageFile, 0x00020000, %%SystemRoot%%\System32\netevent.dll
HKR, , TypesSupported  , 0x00010001, 7

[TextModeFlags.Reg]
HKR, , TextModeFlags, 0x00010001, 0x0001


;*******************************************************************************
; Destination directories
;*******************************************************************************

[DestinationDirs]
DM9USB.ndis.copyfiles    = 11
DM9USB.ndis.copyfiles.NT = 12
DefaultDestDir           = 11

[SourceDisksNames]
; Cabinet file names and associated disks
; <cab#> = <disk#>,<cabinet filename>, ID (Unused, must be 0)
1=%DISKNAME%,,,

[SourceDisksFiles]
;<file> = <cabinet number>,<subdir>,<filename>,<size>
;Note: File is not in a cabinet if cab# is 0
dm9usb.sys = 1
;NETcokk.inf = 1
;COUSBTC5.cat = 1


;*******************************************************************************
; Localizable strings
;*******************************************************************************

[Strings]
DAVICOM = "DAVICOM Semiconductor, Inc."
ConnectionType = "Connection Type"
NetworkAddress = "Network Address"
ChecksumOffload = "Checksum Offload"
FlowControl = "Flow Control"
Disabled = "Disable"
Enabled = "Enable"
RxTxEnabled = "Tx & Rx Enable"
TxEnabled = "Tx Enable"
RxEnabled = "Rx Enable"
WOLLink = "Link change WakeUp"
WOLMagicPacket = "Magic Packet WakeUp"
WOLSampleFrame = "Sample Frame WakeUp"

;Source Disk Name
DISKNAME = "DM9601 USB To Fast Ethernet Adapter Driver Disk"

DM9USB.DeviceDesc       = "DM9601 USB To Fast Ethernet Adapter"
DM9620.DeviceDesc       = "DM9620 USB To Fast Ethernet Adapter"
DM9621.DeviceDesc       = "DM9621 USB To Fast Ethernet Adapter"
DM9622.DeviceDesc       = "DM9685 USB Hub To Fast Ethernet Adapter"
DM9USB.Service.DispName = "DM9601 USB To Fast Ethernet Adapter"
