; Copyright (c) 2006, Microsoft

[version]
Signature   = "$Windows NT$"
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider    = %MSFT%
driverver=01/12/2008,5.1.2600
catalogfile=Netuli6x.cat

[Manufacturer]
%ULIR% = ULICOM, NT.5.1

[ControlFlags]
ExcludeFromSelect = *

[ULICOM.NT.5.1]
; DisplayName           Section       DeviceID
; -----------           -------       --------
%ULI5261.DeviceDesc%   = ULI526X.ndi,    PCI\VEN_10B9&DEV_5261
%ULI5261.DeviceDesc%   = ULI526X.ndi,    PCI\VEN_10B9&DEV_5263
%ULI5261.DeviceDesc%   = ULI526X.ndi,    PCI\VEN_10B9&DEV_5261&SUBSYS_526110B9
%ULI5261.DeviceDesc%   = ULI526X.ndi,    PCI\VEN_10B9&DEV_5263&SUBSYS_526310B9
%ULI5261.DeviceDesc%   = ULI526X.ndi,    PCI\VEN_10B9&DEV_5261&SUBSYS_016817FF
%ULI5261.DeviceDesc%   = ULI526X.ndi,    PCI\VEN_10B9&DEV_5261&SUBSYS_52611849


[ULI526X.ndi.NT]
Characteristics = 0x84
BusType         = 5
AddReg          = ULI9PCI.reg, 5261.pci.reg, ULI5261.con.reg
CopyFIles       = ULIPCI.CopyFiles
*IfType         = 6                   ; IF_TYPE_ETHERNET_CSMACD
*MediaType      = 0                   ; NdisMedium802_3
*PhysicalMediaType = 0                ; NdisPhysicalMediumUnspecified

[ULI526X.ndi.NT.Services]
AddService = ULI526X, 2, ULI526X.Service, common.EventLog

[5261.pci.reg]
HKR,   , AdapterType, 0,"5"
HKR,   , BusType,     0,"5"            

;StoreAndForward
HKR, Ndi\params\StoreAndForward,        ParamDesc, 0,%Store And Forward%
HKR, Ndi\params\StoreAndForward,        default,   0,"0"
HKR, Ndi\params\StoreAndForward,        type,      0,"enum"
HKR, Ndi\params\StoreAndForward\enum,   0,         0,%Disabled%
HKR, Ndi\params\StoreAndForward\enum,   1,         0,%Enabled%


;Transmit Threshold
HKR, Ndi\params\TransmitThreshold,      ParamDesc, 0,%Transmit Threshold%
HKR, Ndi\params\TransmitThreshold,      default,   0,"80"
HKR, Ndi\params\TransmitThreshold,      type,      0,"enum"
HKR, Ndi\params\TransmitThreshold\enum, 0,         0,%Low%
HKR, Ndi\params\TransmitThreshold\enum, 40,        0,%Medium%
HKR, Ndi\params\TransmitThreshold\enum, 80,        0,%High%


;ACPI Enable/Disable
HKR, ,                               ACPIEnable     , 0, "4"

[ULI5261.con.reg]
;Common
;ConnectionType
HKR, Ndi\params\ConnectionType,      ParamDesc,  0,%Connection Type%
HKR, Ndi\params\ConnectionType,      default,    0,"0"
HKR, Ndi\params\ConnectionType,      type,       0,"enum"
HKR, Ndi\params\ConnectionType\enum, 0,          0,%AutoSense%
HKR, Ndi\params\ConnectionType\enum, 2,          0,%100Mbps%
HKR, Ndi\params\ConnectionType\enum, 4,          0,%100Mbps Full_Duplex%
HKR, Ndi\params\ConnectionType\enum, 1,          0,%10Mbps%
HKR, Ndi\params\ConnectionType\enum, 3,          0,%10Mbps Full_Duplex%

[ULI9PCI.reg]
;Point to Serivce Name
HKR, Ndi,                       Service,      0, "ULI5261"
HKR, Ndi\Interfaces,            UpperRange,   0, "ndis5"
HKR, Ndi\Interfaces,            LowerRange,   0, "ethernet"
HKR, ,                          AdapterPCIID, 0, "526110B9"

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

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

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

[ULIPCI.CopyFiles]
ULILAN32.SYS,,,2

[SourceDisksFiles]
ULILAN32.sys = 50,

[SourceDisksNames]
50=%DISK_NAME%, ULILAN32.SYS

[DestinationDirs]
DefaultDestDir     =         12
ULIPCI.CopyFiles   =         12

[Strings]
DISK_NAME 		  = "ULi Electronics Inc. Driver Disk"
MSFT                      = "Microsoft Corporation"
ULIR                      = "ULi Electronics Inc."
ULI5261.DeviceDesc	  = "ULi M526X Ethernet Controller"
ULIPCI.Service.DispName   = "ULi M526X 10/100 Ethernet Controller Driver"

Store And Forward         = "Store And Forward"
Disabled                  = "Disabled"
Enabled                   = "Enabled"
Transmit Threshold        = "Transmit Threshold" 
Low                       = "Low"
Medium                    = "Medium"
High                      = "High"
PME                       = "PME"
Link Change               = "Link Change"
Magic Packet              = "Magic Packet"
Pattern Match             = "Pattern Match"
ALL                       = "ALL"
Connection Type           = "Connection Type"    
AutoSense                 = "AutoSense"
100Mbps                   = "100Mbps"
100Mbps Full_Duplex       = "100Mbps Full_Duplex"
10Mbps                    = "10Mbps"
10Mbps Full_Duplex        = "10Mbps Full_Duplex"
