Metropoli BBS
VIEWER: w940nd.inf MODE: TEXT (ASCII)
; W940ND.INF
;
; Winbond W89C940 Based PCI Network Adapter
;
; Copyright Winbond Electronic Corporation

[version]
LayoutFile=layout.inf
signature="$CHICAGO$"
Class=Net
ClassGUID  = {4d36e972-e325-11ce-bfc1-08002be10318}
provider=%Msft%

[Manufacturer]
%V_Winbond%=Winbond

[Winbond]
%w89c940.DeviceDesc%=W89C940.ndi, PCI\VEN_1050&DEV_0940 ; Winbond W89C940 PCI
;%w89c940.DeviceDesc%=w89c940.ndi, PCI\VEN_1050&DEV_0940&SUBSYS_00011050 ; Winbond W89C940 PCI

;****************************************************************************
;    NT main section
;
;    W89C940   Winbond 940 PCI
;****************************************************************************
[W89C940.ndi.NT]
AddReg		= W89C940.nt.reg, W940ND.params.reg, W940ND.nt.reg
BusType		= 5
Characteristics	= 0x4 ;NCF_PHYSICAL

;****************************************************************************
; Win9x main sections
;
;    W89C940   Winbond 940 PCI
;****************************************************************************

[W89C940.ndi]
AddReg=W89C940.win.reg, W940ND.params.reg, W940ND.win.reg
DeviceID = "PCI\VEN_1050&DEV_0940"
LogConfig = DefaultConfig

;****************************************************************************
;W89C940 platform specific
;
[W89C940.win.reg]
HKR, Ndi,		DeviceID, 0, "PCI\VEN_1050&DEV_0940"
HKR, Ndi\Interfaces,	DefUpper, 0, "ndis3"
HKR, Ndi\Interfaces,	DefLower, 0, "ethernet"
HKR, Ndi\Interfaces,	UpperRange, 0, "ndis3"
HKR, Ndi\Interfaces,	LowerRange, 0, "ethernet"

[W89C940.nt.reg]
HKR, ,			BusType, 0, "5"
HKR, ,			MsPciScan, 0, "1"
HKR, Ndi\Interfaces,	DefUpper, 0, "ndis5"
HKR, Ndi\Interfaces,	DefLower, 0, "ethernet"
HKR, Ndi\Interfaces,	UpperRange, 0, "ndis5"
HKR, Ndi\Interfaces,	LowerRange, 0, "ethernet"

;****************************************************************************
; W940ND NT specific
;

[W940ND.nt.reg]
HKR, Ndi,		Service,	0, "W940ND"
HKR, Ndi\Install,	,		0, "W940ND.Install"

[W940ND.Install.NT]
CopyFiles = W940ND.Install.CopyFiles

[W940ND.Install.NT.Services]
AddService = W940ND, 2, W940ND.Service, common.EventLog

[W940ND.Install.CopyFiles]
W940ND.sys,,,2 ;Do not allow the user to skip this file

[W940ND.Service]
DisplayName    = %W940ND.Service.DispName%
ServiceType    = 1 ;%SERVICE_KERNEL_DRIVER%
StartType      = 3 ;%SERVICE_AUTO_START%
ErrorControl   = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\W940ND.sys  
LoadOrderGroup = NDIS

[common.EventLog]
AddReg = common.AddEventLog.reg

[common.AddEventLog.reg]
HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
HKR, , TypesSupported,   0x00010001, 7

;****************************************************************************
; W940ND Win9x specific
;

[W940ND.win.reg]
; key,subkey,valuname,type,value
HKR, ,		DevLoader,		0, "*ndis"
HKR, ,		DeviceVxDs,		0, "W940ND.sys"
HKR, ,		EnumPropPages,		0, "netdi.dll,EnumPropPages"

; NDIS Info
HKR, NDIS,	LogDriverName,		0, "W940ND"
HKR, NDIS,	MajorNdisVersion, 	1, 03
HKR, NDIS,	MinorNdisVersion,	1, 0A

; Install sectioins
HKR, Ndi\Install, ndis3,	0, "W940ND.ndis3.install"

[w940nd.ndis3.install]
CopyFiles=W940ND.inf.CopyFiles,w940nd.ndis3.CopyFiles
;CopyFiles=W940ND.ndis3.CopyFiles

[w940nd.ndis3.CopyFiles]
W940ND.sys,,,2

;****************************************************************************
; extra params for w89c940
;

[W940ND.params.reg]
; Resources
;BurstLen
HKR,Ndi\params\BurstLen,ParamDesc,,"Burst Length"
HKR,Ndi\params\BurstLen,default,,8192
HKR,Ndi\params\BurstLen,type,,enum
HKR,Ndi\params\BurstLen\enum,256,,"1 dword"
HKR,Ndi\params\BurstLen\enum,512,,"2 dwords"
HKR,Ndi\params\BurstLen\enum,1024,,"4 dwords"
HKR,Ndi\params\BurstLen\enum,2048,,"8 dwords"
HKR,Ndi\params\BurstLen\enum,4096,,"16 dwords"
HKR,Ndi\params\BurstLen\enum,8192,,"32 dwords"

;CacheAlign
HKR,Ndi\params\CacheAlign,ParamDesc,,"Cache Alignment Boundary"
HKR,Ndi\params\CacheAlign,default,,3
HKR,Ndi\params\CacheAlign,type,,enum
HKR,Ndi\params\CacheAlign\enum,1,,"8 dwords"
HKR,Ndi\params\CacheAlign\enum,2,,"16 dwords"
HKR,Ndi\params\CacheAlign\enum,3,,"32 dwords"

;TxThreshold
HKR,Ndi\params\Threshold,ParamDesc,,"Transmit Threshold Value"
HKR,Ndi\params\Threshold,type,,int
HKR,Ndi\params\Threshold,default,,0
HKR,Ndi\params\Threshold,min,,0
HKR,Ndi\params\Threshold,max,,127
HKR,Ndi\params\Threshold,step,,1

;FullDuplex
HKR,Ndi\params\FullDuplex,ParamDesc,,"Full Duplex Function"
HKR,Ndi\params\FullDuplex,default,,0
HKR,Ndi\params\FullDuplex,type,,enum
HKR,Ndi\params\FullDuplex\enum,0,,AutoDetect
HKR,Ndi\params\FullDuplex\enum,1,,Disable
HKR,Ndi\params\FullDuplex\enum,2,,Enable

;LineSpeed
HKR,Ndi\params\LineSpeed,ParamDesc,,"Line Speed"
HKR,Ndi\params\LineSpeed,default,,0
HKR,Ndi\params\LineSpeed,type,,enum
HKR,Ndi\params\LineSpeed\enum,0,,AutoDetect
HKR,Ndi\params\LineSpeed\enum,1,,10M
HKR,Ndi\params\LineSpeed\enum,2,,100M

;SelectedID
;HKR,NDI\params\SelectedID,ParamDesc,,"Selected Ethernet ID"
;HKR,NDI\params\SelectedID,type,,edit
;HKR,NDI\params\SelectedID,LimitText,,12
;HKR,NDI\params\SelectedID,UpperCase,,1
;HKR,Ndi\params\SelectedID,default,,"00e801020304"
;HKR,NDI\params\SelectedID,flag,1,20,00,00,00
;HKR,Ndi\params\SelectedID,optional,,1

;****************************************************************************
; Destination Directories
;****************************************************************************
[DestinationDirs]
;DefaultDestDir              =12 ; LDID_SYS
W940ND.Install.CopyFiles    =12 ; WINNT
;W940ND.ndis3.CopyFiles      =11 ; LDIR_SYS
;W940ND.inf.CopyFiles        =17 ; INF_DIR


;****************************************************************************
; Localizable Strings
;****************************************************************************
[strings]
; Provider
Msft= "Microsoft"

; Manufacturers
V_Winbond="Winbond Electronic Corporation"
W89C940.DeviceDesc="Winbond W89C940 Based PCI Ethernet Adapter"
W940ND.Service.DispName = "Winbond W89C940 Based PCI Ethernet Adapter"

[ RETURN TO DIRECTORY ]