;
;     Copyright 2006 Microsoft Corporation
;

[version]
Signature   = "$Windows NT$"
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider    = %MSFT%
DriverVer=06/21/2006,6.1053.1002.2006


[Manufacturer]
%Realtek%     = Realtek, NTx86
%Surecom%     = Surecom, NTx86

[ControlFlags]
ExcludeFromSelect = *


[Realtek.NTx86]
; DisplayName                   Section         DeviceID
; -----------                   -------         --------
%Realtek.DeviceDesc_8180%       = realtek.ndi,  PCI\VEN_10EC&DEV_8180
%Realtek.DeviceDesc_8185%       = realtek.ndi,  PCI\VEN_10EC&DEV_8185&REV_20
%Realtek.DeviceDesc_8185_8225%  = realtek.ndi,  PCI\VEN_10EC&DEV_8185&SUBSYS_822510EC&REV_20
%Realtek.DeviceDesc_8185_8255%  = realtek.ndi,  PCI\VEN_10EC&DEV_8185&SUBSYS_825510EC&REV_20
%Realtek.DeviceDesc_8185%       = realtek.ndi,  PCI\VEN_10EC&DEV_8185&SUBSYS_616518E8 


[Surecom.NTx86]
%Realtek.DeviceDesc_SURECOME_EP9321%  	= realtek.ndi, PCI\VEN_10EC&DEV_8185&SUBSYS_13F210BD&REV_20
%Realtek.DeviceDesc_SURECOME_EP9428%  	= realtek.ndi, PCI\VEN_10EC&DEV_8185&SUBSYS_14F210BD&REV_20

[realtek.ndi.NTX86]
Characteristics = 0x84
BusType         = 5
AddReg          = realtek.reg
CopyFiles       = realtek.CopyFiles
*IfType         = 71		; IF_TYPE_IEEE80211
*MediaType      = 16		; NdisMediumNative802_11
*PhysicalMediaType = 9		; NdisPhysicalMediumNative802_11

[realtek.ndi.NTX86.Services]
AddService = RTL85n86, 2, realtek.Service, realtek.EventLog

; /****************************************************************************
; ** register for both x86 and x64              			**
; ****************************************************************************/

[realtek.reg]
HKR, Ndi,                         Service,    0, "NET8185"

HKR, Ndi\Interfaces,              UpperRange, 0, "ndis5"
HKR, Ndi\Interfaces,              LowerRange, 0, "wlan,ethernet"

HKR, Ndi\params\*ReceiveBuffers,  ParamDesc,  0, "%ReceiveBuffers%"
HKR, Ndi\params\*ReceiveBuffers,  default,    0, "64"
HKR, Ndi\params\*ReceiveBuffers,  min,        0, "1"
HKR, Ndi\params\*ReceiveBuffers,  max,        0, "00000128"
HKR, Ndi\params\*ReceiveBuffers,  step,       0, "1"
HKR, Ndi\params\*ReceiveBuffers,  Base,       0, "10"
HKR, Ndi\params\*ReceiveBuffers,  type,       0, "int"

HKR, Ndi\params\*TransmitBuffers, ParamDesc,  0, "%TransmitBuffers%"
HKR, Ndi\params\*TransmitBuffers, default,    0, "64"
HKR, Ndi\params\*TransmitBuffers, min,        0, "1"
HKR, Ndi\params\*TransmitBuffers, max,        0, "00000064"
HKR, Ndi\params\*TransmitBuffers, step,       0, "1"
HKR, Ndi\params\*TransmitBuffers, Base,       0, "10"
HKR, Ndi\params\*TransmitBuffers, type,       0, "int"

HKR, Ndi\Params\ChannelPlan,      ParamDesc,  0, "ChannelPlan"
HKR, Ndi\Params\ChannelPlan,      Type,       0, "enum"
HKR, Ndi\Params\ChannelPlan,      Default,    0, "0x0100"
HKR, Ndi\Params\ChannelPlan\enum, "0x0200",   0, "FCC"
HKR, Ndi\Params\ChannelPlan\enum, "0x0201",   0, "IC"
HKR, Ndi\Params\ChannelPlan\enum, "0x0202",   0, "ETSI"
HKR, Ndi\Params\ChannelPlan\enum, "0x0203",   0, "Spain"
HKR, Ndi\Params\ChannelPlan\enum, "0x0204",   0, "France"
HKR, Ndi\Params\ChannelPlan\enum, "0x0205",   0, "MKK"
HKR, Ndi\Params\ChannelPlan\enum, "0x0206",   0, "MKK1"
HKR, Ndi\Params\ChannelPlan\enum, "0x0207",   0, "Israel"
HKR, Ndi\Params\ChannelPlan\enum, "0x0207",   0, "TELEC"
HKR, Ndi\Params\ChannelPlan\enum, "0x0100",   0, "DOMAIN_FROM_EEPROM"


; /****************************************************************************
; ** X86 section              						     **
; ****************************************************************************/

[realtek.Service]
DisplayName     = %Realtek.Service.DispName%
ServiceType     = 1 		;SERVICE_KERNEL_DRIVER
StartType       = 3 		;SERVICE_DEMAND_START
ErrorControl    = 1 		;SERVICE_ERROR_NORMAL
ServiceBinary   = %12%\RTL85n86.sys
LoadOrderGroup  = NDIS

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

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


[realtek.CopyFiles]
RTL85n86.sys,,,2

; /****************************************************************************
; ** common section           						     **
; ****************************************************************************/

[SourceDisksNames]
1 = %DiskDescription%,,,

[SourceDisksFiles]
RTL85n86.sys = 1

[DestinationDirs]
realtek.CopyFiles          = 12
DefaultDestDir             = 11

[Strings]
;Localizable
Msft                         = "Microsoft"
Realtek                      = "Realtek Semiconductor Corp"
Surecom			     = "Surecom"
Realtek.DeviceDesc_8180      = "Realtek 8180 Extensible 802.11b Wireless Device"
Realtek.DeviceDesc_8185      = "Realtek 8185 Extensible Wireless Device"
Realtek.DeviceDesc_8185_8225 = "Realtek 8185 Extensible 802.11b/g Wireless Device"
Realtek.DeviceDesc_8185_8255 = "Realtek 8185 Extensible 802.11a/b/g Wireless Device"
Realtek.Service.DispName     = "Realtek 8180/8185 Extensible 802.11 Wireless Device Driver"
Realtek.DeviceDesc_SURECOME_EP9321 = "SURECOM EP-9321-g/g1 802.11g 54M WLAN PCI Adapter"
Realtek.DeviceDesc_SURECOME_EP9428 = "SURECOM EP-9428-g 802.11g 54M WLAN CardBus Adapter"
DiskDescription              = "Realtek Driver"
TransmitBuffers              = "Transmit Buffers"
ReceiveBuffers               = "Receive Buffers"

