;======================================================================
; NetW841.INF
;
; Information (INF) file for Winbond W89C841 Fast Ethernet Adapters
;
; Copyright (C) Winbond Electronics Corp. All Rights Reserved
;======================================================================

[Version]
Signature      = "$Chicago$"
Compatible     = 1
Class          = Net
ClassGUID      = {4D36E972-E325-11CE-BFC1-08002BE10318}
Provider       = %Winbond%
;CatalogFile   = netw841.cat                        ;; for WHQL certified
DriverVer      = 12/12/2002,1.21.1.1

[SourceDisksNames]
1              = %DiskName%,,,

[SourceDisksFiles]
W841ND.SYS     = 1

[Manufacturer]
%Winbond%      = W89C841_Model

;[ControlFlags]
;ExcludeFromSelect     = PCI\VEN_1050&DEV_0841,                  \
;                        PCI\VEN_1050&DEV_0841&SUBSYS_08411050

[W89C841_Model]
; Display Name           Section        Device ID
%W89C841.DeviceDesc%  = W89C841_ndi, PCI\VEN_1050&DEV_0841
%W89C841.DeviceDesc%  = W89C841_ndi, PCI\VEN_1050&DEV_0841&SUBSYS_08411050


;***************************************************************
; Windows 9x Platform
;
[W89C841_ndi]
AddReg          = W89C841.win.reg, W89C841.common.reg

;---------------------
; Windows 9x specific
;
[W89C841.win.reg]
; Key, Subkey, ValueName, Flag, Value

;General Driver Information
HKR, , DriverDesc,      0,    "Winbond W89C841 Fast Ethernet Adapter Driver"
HKR, , DevLoader,       0,    "*ndis"
HKR, , DeviceVxDs,      0,    "W841ND.SYS"
HKR, , EnumPropPages,   0,    "netdi.dll,EnumPropPages"

;NDI Registration Parameter
HKR, Ndi, DeviceID,     0,    "PCI\VEN_1050&DEV_0841"

;Needed by PnP driver
HKR, Ndi, CardType,     0,    "PCI"

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

; NDIS Driver Infornation
HKR, NDIS,              LogDriverName,          0,      "W841ND"
HKR, NDIS,              MajorNdisVersion,       1,      03
HKR, NDIS,              MinorNdisVersion,       1,      0A

; Install
HKR, Ndi\Install,       ndis3,                  0,      "W841ND.install"

[W841ND.install]
CopyFiles = W89C841.sys.CopyFiles 

[W89C841.sys.CopyFiles]
W841ND.SYS,,,2

;***************************************************************
; NT Platform
;
[W89C841_ndi.NT]
AddReg          = W89C841.nt.reg, W89C841.common.reg
CopyFiles       = W89C841.nt.CopyFiles
Characteristics = 0x84                          ;NCF_HAS_UI | NCF_PHYSICAL
BusType         = 5                             ;PCIBus

[W89C841_ndi.NT.Services]
AddService      = W841ND, 2, W841ND.Service, W841ND.EventLog

[W841ND.Service]
DisplayName     = %W841ND.Service.DispName%
Description     = %W841ND.Service.Description%
ServiceType     = 1                             ; SERVICE_KERNEL_DRIVER
StartType       = 3                             ; SERVICE_DEMAND_START
ErrorControl    = 1                             ; SERVICE_ERROR_NORMAL
ServiceBinary   = %12%\W841ND.SYS
LoadOrderGroup  = NDIS

[W841ND.EventLog]
Addreg          = W841ND.AddEventLog.reg

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

[W89C841.NT.CopyFiles]
W841ND.SYS,,,2

;-----------------------
; NT specific
;
[W89C841.nt.reg]
HKR, Ndi,               Service,                0, "W841ND"
HKR, Ndi\Interfaces,    UpperRange,             0, "ndis5"
HKR, Ndi\Interfaces,    LowerRange,             0, "ethernet"

;-------------------------------------------------------
; Driver Parameters for W89C841 applied to all platforms
;
[W89C841.common.reg]
HKR, Ndi\params\LineSpeed,      ParamDesc,  0, "Line Speed"
HKR, Ndi\params\LineSpeed,      default,    0, "0"
HKR, Ndi\params\LineSpeed,      type,       0, "enum"
HKR, Ndi\params\LineSpeed\enum, "0",        0, "AutoDetect"
HKR, Ndi\params\LineSpeed\enum, "1",        0, "10M"
HKR, Ndi\params\LineSpeed\enum, "2",        0, "100M"

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

HKR, Ndi\params\Tagging,        ParamDesc,  0, "802.1p/802.1Q Tagging"
HKR, Ndi\params\Tagging,        default,    0, "0"
HKR, Ndi\params\Tagging,        type,       0, "enum"
HKR, Ndi\params\Tagging\enum,   "0",        0, "Disable"
HKR, Ndi\params\Tagging\enum,   "1",        0, "Priority Tagging"
HKR, Ndi\params\Tagging\enum,   "2",        0, "VLAN Tagging"

HKR, Ndi\params\FlowControl,    ParamDesc,  0, "802.3x Flow Control"
HKR, Ndi\params\FlowControl,    default,    0, "0"
HKR, Ndi\params\FlowControl,    type,       0, "enum"
HKR, Ndi\params\FlowControl\enum, "0",      0, "Disable"
HKR, Ndi\params\FlowControl\enum, "1",      0, "AutoDetect"
HKR, Ndi\params\FlowControl\enum, "2",      0, "Full On"
HKR, Ndi\params\FlowControl\enum, "3",      0, "Transmit Pause On"
HKR, Ndi\params\FlowControl\enum, "4",      0, "Receive Pause On"

HKR, Ndi\params\PME,            ParamDesc,  0, "Enable PME"
HKR, Ndi\params\PME,            default,    0, "1"
HKR, Ndi\params\PME,            type,       0, "enum"
HKR, Ndi\params\PME\enum,       "0",        0, "Disable"
HKR, Ndi\params\PME\enum,       "1",        0, "Enable"

HKR, Ndi\params\VLANID,         ParamDesc,  0, "VLAN ID"
HKR, Ndi\params\VLANID,         type,       0, "int"
HKR, Ndi\params\VLANID,         default,    0, "1"
HKR, Ndi\params\VLANID,         min,        0, "1"
HKR, Ndi\params\VLANID,         max,        0, "4094"

;-----------------------
; Destination Directory
;
[DestinationDirs]
DefaultDestDir              = 12        ; Drivers Dir
W89C841.sys.CopyFiles       = 11        ; System Dir
W89C841.NT.CopyFiles        = 12        ; Drivers Dir

;-----------------------
; Strings
;
[Strings]
Winbond                    = "Winbond Electronics Corp."
W89C841.DeviceDesc         = "Winbond W89C841 Fast Ethernet Adapter"
W841ND.Service.DispName    = "W89C841 Ethernet Adapter Driver"
W841ND.Service.Description = "Winbond W89C841 Fast Ethernet Adapter Driver"

DiskName  = "Winbond W89C841 Fast Ethernet Adapter Driver Disk"
