;; Realtek 10/100/1000 PCI NIC Family all in one NDIS Driver
;;
;; Copyright 2007, Realtek Semiconductor Corporation
;;
;; .this release is primarily for motherboard OEM for WHQL test.

[version]
Signature      = "$Chicago$"
Compatible     = 1
Class          = Net
ClassGUID      = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider       = %Realtek%                               
CatalogFile.NT = netrtl.cat                        ;;for WHQL certified
DriverVer      = 11/20/2007,5.681.1120.2007

[Manufacturer]
%Realtek%      = Realtek, NTx86.5.1, NTamd64

[ControlFlags]
ExcludeFromSelect = PCI\VEN_10EC&DEV_8139
ExcludeFromSelect = PCI\VEN_10EC&DEV_8169
ExcludeFromSelect = PCI\VEN_10EC&DEV_8167

[Realtek]
; DisplayName            Section            DeviceID
; -----------            -------            --------
%RTL8169.DeviceDesc%    = RTL8169.ndi,      PCI\VEN_10EC&DEV_8169
%RTL8169.DeviceDesc%    = RTL8169.ndi,      PCI\VEN_10EC&DEV_8167
%RTL8139.DeviceDesc%    = RTL8139.ndi,      PCI\VEN_10EC&DEV_8139&REV_10
%RTL8139P.DeviceDesc%   = RTL8139P.ndi,     PCI\VEN_10EC&DEV_8139&REV_20
%RTL8169.DeviceDesc%    = RTL8169.ndi,      PCI\VEN_10EC&DEV_8169&SUBSYS_816910EC
%RTL8169.DeviceDesc%    = RTL8169.ndi,      PCI\VEN_10EC&DEV_8167&SUBSYS_816710EC
%RTL8139.DeviceDesc%    = RTL8139.ndi,      PCI\VEN_10EC&DEV_8139&SUBSYS_813910EC&REV_10
%RTL8139P.DeviceDesc%   = RTL8139P.ndi,     PCI\VEN_10EC&DEV_8139&SUBSYS_813910EC&REV_20
%RTL8139.DeviceDesc%    = RTL8139_TOS.ndi,  PCI\VEN_10EC&DEV_8139&SUBSYS_813610EC

[Realtek.NTx86.5.1]; This section will only be installed by Windows XP
%RTL8169.DeviceDesc%	= RTL8169x.ndi,     PCI\VEN_10EC&DEV_8169
%RTL8169.DeviceDesc%	= RTL8169x.ndi,	    PCI\VEN_10EC&DEV_8167
%RTL8139.DeviceDesc%	= RTL8139x.ndi,     PCI\VEN_10EC&DEV_8139&REV_10
%RTL8139P.DeviceDesc%   = RTL8139Px.ndi,    PCI\VEN_10EC&DEV_8139&REV_20
%RTL8169.DeviceDesc%	= RTL8169x.ndi,     PCI\VEN_10EC&DEV_8169&SUBSYS_816910EC
%RTL8169.DeviceDesc%	= RTL8169x.ndi,     PCI\VEN_10EC&DEV_8167&SUBSYS_816710EC
%RTL8139.DeviceDesc%	= RTL8139x.ndi,     PCI\VEN_10EC&DEV_8139&SUBSYS_813910EC&REV_10
%RTL8139P.DeviceDesc%	= RTL8139Px.ndi,    PCI\VEN_10EC&DEV_8139&SUBSYS_813910EC&REV_20
%RTL8139.DeviceDesc%	= RTL8139_TOSx.ndi, PCI\VEN_10EC&DEV_8139&SUBSYS_813610EC

[Realtek.NTamd64]; This section will only be installed by Windows XP 64-bit
%RTL8169.DeviceDesc%	= RTL8169a.ndi,	    PCI\VEN_10EC&DEV_8169
%RTL8169.DeviceDesc%	= RTL8169a.ndi,	    PCI\VEN_10EC&DEV_8167
%RTL8139.DeviceDesc%	= RTL8139a.ndi,     PCI\VEN_10EC&DEV_8139&REV_10
%RTL8139P.DeviceDesc%	= RTL8139Pa.ndi,    PCI\VEN_10EC&DEV_8139&REV_20
%RTL8169.DeviceDesc%	= RTL8169a.ndi,     PCI\VEN_10EC&DEV_8169&SUBSYS_816910EC
%RTL8169.DeviceDesc%	= RTL8169a.ndi,     PCI\VEN_10EC&DEV_8167&SUBSYS_816710EC
%RTL8139.DeviceDesc%	= RTL8139a.ndi,     PCI\VEN_10EC&DEV_8139&SUBSYS_813910EC&REV_10
%RTL8139P.DeviceDesc%	= RTL8139Pa.ndi,    PCI\VEN_10EC&DEV_8139&SUBSYS_813910EC&REV_20

;;****************************************************************************
;; Windows 98/ME
;;****************************************************************************
[RTL8139.ndi]
DriverVer       = 11/20/2007,681
AddReg          = rtl8139.id.reg, NetworkAddress.reg, Speed10_100.reg, OptimalPerf.reg,WOLCapability.reg, LinkUp.reg
AddReg          = LinkDownPwSav.reg, S5Wol.reg, RxBuf.reg, ApmWol.reg
CopyFiles       = Rtlnic.CopyFiles9x

[RTL8139P.ndi]
DriverVer       = 11/20/2007,681
AddReg          = rtl8139.id.reg, NetworkAddress.reg, Speed10_100.reg, OptimalPerf.reg,WOLCapability.reg, LinkUp.reg
AddReg          = LinkDownPwSav.reg, S5Wol.reg, RxBuf.reg, ApmWol.reg
CopyFiles       = Rtlnic.CopyFiles9x

[RTL8169.ndi]
DriverVer       = 11/20/2007,681
AddReg          = rtl8169.id.reg, NetworkAddress.reg, Speed.reg, 69Jumboframe.reg, Flowctrl.reg, S5Wol.reg, WolShutdownLinkSpeed.reg
CopyFiles       = Rtlnic.CopyFiles9x

[RTL8139_TOS.ndi]
DriverVer       = 11/20/2007,681
AddReg          = rtl8139.id.reg, NetworkAddress.reg, RxBuf.reg, LinkUp.reg, WOLCapability.reg, ApmWol.reg, LinkDownPwSav.reg
AddReg          = TxMaxDMABurst.reg, RxMaxDMABurst.reg, EarlyRxThreshold.reg, S5Wol.reg
CopyFiles       = Rtlnic.CopyFiles9x

;;****************************************************************************
;; Windows 2000
;;****************************************************************************
[RTL8139.ndi.NT]
DelReg          = PreParams.DelReg
AddReg          = RTL8023.reg, NetworkAddress.reg, Speed10_100.reg, OptimalPerf.reg,WOLCapability.reg, LinkUp.reg
AddReg          = LinkDownPwSav.reg, S5Wol.reg, RxBuf.reg, ApmWol.reg
Characteristics = 0x84
BusType         = 5
CopyFiles       = Rtlnic.CopyFiles

[RTL8139.ndi.NT.Services]
AddService      = RTL8023, 2, rtsnt.Service, common.EventLog

[RTL8139P.ndi.NT]
DelReg          = CpPreParams.DelReg
AddReg          = RTL8023.reg, NetworkAddress.reg, Speed10_100.reg, OptimalPerf.reg,WOLCapability.reg, LinkUp.reg
AddReg          = LinkDownPwSav.reg, S5Wol.reg, TxCoalesceNum.reg, Offload39.reg, VLanTagging.reg
Characteristics = 0x84
BusType         = 5
CopyFiles       = Rtlnic.CopyFiles

[RTL8139P.ndi.NT.Services]
AddService      = RTL8023, 2, rtsnt.Service, common.EventLog

[RTL8169.ndi.NT]
DelReg          = GigPreParams.DelReg
Characteristics = 0x84
BusType         = 5
AddReg          = RTL8023.reg, NetworkAddress.reg, Speed.reg, 69Jumboframe.reg, Flowctrl.reg, S5Wol.reg, WolShutdownLinkSpeed.reg
AddReg          = OffloadChksum.reg, OffloadLargesend.reg, VLanTagging.reg
CopyFiles       = Rtlnic.CopyFiles

[RTL8169.ndi.NT.Services]
AddService      = RTL8023, 2, rtsnt.Service, common.EventLog

[RTL8139_TOS.ndi.NT]
DelReg          = PreParams.DelReg           
AddReg          = RTL8023.reg, NetworkAddress.reg, RxBuf.reg, LinkUp.reg, WOLCapability.reg, ApmWol.reg, LinkDownPwSav.reg
AddReg          = TxMaxDMABurst.reg, RxMaxDMABurst.reg, EarlyRxThreshold.reg, S5Wol.reg
Characteristics = 0x84
BusType         = 5
CopyFiles       = Rtlnic.CopyFiles

[RTL8139_TOS.ndi.NT.Services]
AddService      = RTL8023, 2, rtsnt.Service, common.EventLog

[Rtlnic.CopyFiles]
Rtnic.sys,,,2

[Rtlnic.CopyFiles9x]
Rtnic.sys,,,2

;;****************************************************************************
;; Windows XP
;;****************************************************************************
[RTL8139x.ndi.NT]
DelReg          = PreParams.DelReg
AddReg          = RTL8023xp.reg, NetworkAddress.reg, Speed10_100.reg, OptimalPerf.reg,WOLCapability.reg, LinkUp.reg
AddReg          = LinkDownPwSav.reg, S5Wol.reg, RxBuf.reg, ApmWol.reg
Characteristics = 0x84
BusType         = 5
CopyFiles       = Rtlnic.CopyFilesXP

[RTL8139x.ndi.NT.Services]
AddService      = RTL8023xp, 2, rtsntxp.Service, common.EventLog

[RTL8139_TOSx.ndi.NT]
DelReg          = PreParams.DelReg
AddReg          = RTL8023xp.reg, NetworkAddress.reg, RxBuf.reg, LinkUp.reg, WOLCapability.reg, ApmWol.reg, LinkDownPwSav.reg
AddReg          = TxMaxDMABurst.reg, RxMaxDMABurst.reg, EarlyRxThreshold.reg, S5Wol.reg
Characteristics = 0x84
BusType         = 5
CopyFiles       = Rtlnic.CopyFilesXP

[RTL8139_TOSx.ndi.NT.Services]
AddService      = RTL8023xp, 2, rtsntxp.Service, common.EventLog

[RTL8139Px.ndi.NT]
DelReg          = CpPreParams.DelReg
AddReg          = RTL8023xp.reg, NetworkAddress.reg, Speed10_100.reg, OptimalPerf.reg,WOLCapability.reg, LinkUp.reg
AddReg          = LinkDownPwSav.reg, S5Wol.reg, TxCoalesceNum.reg, Offload39.reg, VLanTagging.reg
Characteristics = 0x84
BusType         = 5
CopyFiles       = Rtlnic.CopyFilesXP

[RTL8139Px.ndi.NT.Services]
AddService      = RTL8023xp, 2, rtsntxp.Service, common.EventLog

[RTL8169x.ndi.NT]
DelReg          = GigPreParams.DelReg
Characteristics = 0x84
BusType         = 5
AddReg          = RTL8023xp.reg, NetworkAddress.reg, Speed.reg, 69Jumboframe.reg, Flowctrl.reg, S5Wol.reg, WolShutdownLinkSpeed.reg
AddReg          = OffloadChksum.reg, OffloadLargesend.reg, VLanTagging.reg
CopyFiles       = Rtlnic.CopyFilesXP

[RTL8169x.ndi.NT.Services]
AddService      = RTL8023xp, 2, rtsntxp.Service, common.EventLog

[Rtlnic.CopyFilesXP]
Rtnicxp.sys,,,2

;;****************************************************************************
;; Windows XP 64-bit
;;****************************************************************************
[RTL8139a.ndi.NT]
DelReg          = PreParams.DelReg
AddReg          = RTL8023x64.reg, NetworkAddress.reg, Speed10_100.reg, OptimalPerf.reg,WOLCapability.reg, LinkUp.reg
AddReg          = LinkDownPwSav.reg, S5Wol.reg, RxBuf.reg, ApmWol.reg
Characteristics = 0x84
BusType         = 5
CopyFiles       = Rtlnic.CopyFilesX64

[RTL8139a.ndi.NT.Services]
AddService      = RTL8023x64, 2, rtsntx64.Service, common.EventLog

[RTL8139Pa.ndi.NT]
DelReg          = CpPreParams.DelReg
AddReg          = RTL8023x64.reg, NetworkAddress.reg, Speed10_100.reg, OptimalPerf.reg,WOLCapability.reg, LinkUp.reg
AddReg          = LinkDownPwSav.reg, S5Wol.reg, TxCoalesceNum.reg, Offload39.reg, VLanTagging.reg
Characteristics = 0x84
BusType         = 5
CopyFiles       = Rtlnic.CopyFilesX64

[RTL8139Pa.ndi.NT.Services]
AddService      = RTL8023x64, 2, rtsntx64.Service, common.EventLog

[RTL8169a.ndi.NT]
DelReg          = GigPreParams.DelReg
Characteristics = 0x84
BusType         = 5
AddReg          = RTL8023x64.reg, NetworkAddress.reg, Speed.reg, 69Jumboframe.reg, Flowctrl.reg, S5Wol.reg, WolShutdownLinkSpeed.reg
AddReg          = OffloadChksum.reg, OffloadLargesend.reg, VLanTagging.reg
CopyFiles       = Rtlnic.CopyFilesX64

[RTL8169a.ndi.NT.Services]
AddService      = RTL8023x64, 2, rtsntx64.Service, common.EventLog

[Rtlnic.CopyFilesX64]
Rtnic64.sys,,,2

;;***************************************************************************
;; Windows 9x parameters
;;***************************************************************************
[rtl8139.id.reg]
HKR,,                 MediaType,          0,    1
HKR,,                 AdapterType,        0,    5
HKR,,                 BusType,            0,    5
HKR,,                 DevLoader,          0,    "*ndis"
HKR,,                 DeviceVxDs,         0,    "Rtnic.sys"
HKR,,                 EnumPropPages,      0,    "netdi.dll,EnumPropPages"
HKR,NDIS,             MajorNdisVersion,   1,    03
HKR,NDIS,             MinorNdisVersion,   1,    0A
HKR,NDIS,             LogDriverName,      0,    "RTL8023"
HKR,Ndi,              DeviceID,           0,    "PCI\VEN_10EC&DEV_8139"
HKR,Ndi\Install,      ndis3,              0,    "rtl139.ndis5"
HKR,Ndi\Interfaces,   DefLower,            ,    "ethernet"
HKR,Ndi\Interfaces,   LowerRange,          ,    "ethernet"
HKR,Ndi\Interfaces,   DefUpper,            ,    "ndis3"
HKR,Ndi\Interfaces,   UpperRange,          ,    "ndis3"

[rtl8169.id.reg]
HKR,,               MediaType,        0, 1
HKR,,               AdapterType,      0, 5
HKR,,               BusType,          0, 5
HKR,,               DevLoader,        0, "*ndis"
HKR,,               DeviceVxDs,       0, "Rtnic.sys"
HKR,,               EnumPropPages,    0, "netdi.dll,EnumPropPages"
HKR,NDIS,           LogDriverName,    0, "RTL8023"
HKR,NDIS,           MajorNdisVersion, 1, 03
HKR,NDIS,           MinorNdisVersion, 1, 0A
HKR,Ndi,            DeviceID,         0, "PCI\VEN_10EC&DEV_8169"
HKR,Ndi\Interfaces, DefUpper,         0, "ndis3"  
HKR,Ndi\Interfaces, DefLower,         0, "ethernet"
HKR,Ndi\Interfaces, UpperRange,       0, "ndis3"
HKR,Ndi\Interfaces, LowerRange,       0, "ethernet"

;;****************************************************************************
;; Del parameters
;;****************************************************************************
[PreParams.DelReg]
HKR,Ndi\Params\PME
HKR,,PME
HKR,Ndi\Params\EarlyTxThreshold
HKR,,EarlyTxThreshold
HKR,Ndi\Params\VLanID
HKR,,VLanID

[CpPreParams.DelReg]
HKR,Ndi\Params\PME
HKR,,PME
HKR,Ndi\Params\RTPME
HKR,,RTPME
HKR,Ndi\Params\RxBufLen
HKR,,RxBufLen
HKR,Ndi\Params\EarlyTxThreshold
HKR,,EarlyTxThreshold

[GigPreParams.DelReg]
HKR,Ndi\Params\WakeUpFrame
HKR,,WakeUpFrame
HKR,Ndi\Params\NumTxDesc
HKR,,NumTxDesc
HKR,Ndi\Params\NumRxDesc
HKR,,NumRxDesc
HKR,Ndi\Params\NumTxDescHPQ
HKR,,NumTxDescHPQ
HKR,Ndi\Params\RegVlanid
HKR,,RegVlanid
HKR,Ndi\Params\WakeOnLanSpeed
HKR,,WakeOnLanSpeed
;HKR,Ndi\Params\S5WakeOnLan
;HKR,,S5WakeOnLan
HKR,,SuperSwitch

;;****************************************************************************
;; 39common parameters
;;****************************************************************************
[NetworkAddress.reg]
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"

[Speed10_100.reg]
HKR,Ndi\params\DuplexMode,        ParamDesc,   0, %SpeedDuplexMode%
HKR,Ndi\params\DuplexMode,        type,        0, "enum"
HKR,Ndi\params\DuplexMode,        default,     0, "1"
HKR,Ndi\params\DuplexMode\enum,   1,           0, %auto_nego%
HKR,Ndi\params\DuplexMode\enum,   2,           0, %sd10half%
HKR,Ndi\params\DuplexMode\enum,   3,           0, %sd10full%
HKR,Ndi\params\DuplexMode\enum,   4,           0, %sd100half%
HKR,Ndi\params\DuplexMode\enum,   5,           0, %sd100full%
HKR,,DuplexMode,0,"1"

[OptimalPerf.reg]
HKR,Ndi\params\OptimalPerf,      ParamDesc,  0, %OptimalPerf%
HKR,Ndi\params\OptimalPerf,      default,    0, "0"
HKR,Ndi\params\OptimalPerf,      type,       0, "enum"
HKR,Ndi\params\OptimalPerf\enum, "0",        0, %Disabled%
HKR,Ndi\params\OptimalPerf\enum, "1",        0, %Enabled%
HKR,,OptimalPerf,0,"0"

[WOLCapability.reg]
HKR,Ndi\params\WakeUpFrame,	 ParamDesc,	0, %WOLCapability%
HKR,Ndi\params\WakeUpFrame,	 default,	0, "1"
HKR,Ndi\params\WakeUpFrame,	 type,		0, "enum"
HKR,Ndi\params\WakeUpFrame\enum, "0",		0, %Disabled%
HKR,Ndi\params\WakeUpFrame\enum, "1",		0, %Enabled%
HKR,,WakeUpFrame,0,"1"

[LinkUp.reg]
HKR,Ndi\params\LinkUp,           ParamDesc, 0, %WOLLinkChange%
HKR,Ndi\params\LinkUp,           default,   0, "0"
HKR,Ndi\params\LinkUp,           type,      0, "enum"
HKR,Ndi\params\LinkUp\enum,      "0",       0, %Disabled%
HKR,Ndi\params\LinkUp\enum,      "1",       0, %Enabled%
HKR,,LinkUp,0,"0"

[LinkDownPwSav.reg]
HKR,Ndi\params\EnableLDPS,       ParamDesc, 0, %LDPSCapability%
HKR,Ndi\params\EnableLDPS,       default,   0, "0"
HKR,Ndi\params\EnableLDPS,       type,      0, "enum"
HKR,Ndi\params\EnableLDPS\enum,  "0",       0, %Disabled%
HKR,Ndi\params\EnableLDPS\enum,  "1",       0, %Enabled%
HKR,,EnableLDPS,0,"0"

;;****************************************************************************
;; 39 only parameters
;;****************************************************************************
[RxBuf.reg]
HKR,Ndi\params\RxBufLen,	 ParamDesc, 0, %RxBufSize%
HKR,Ndi\params\RxBufLen,	 type,      0, "enum"
HKR,Ndi\params\RxBufLen,	 default,   0, "3"
HKR,Ndi\params\RxBufLen\enum,	 "0",       0, %8KBytes%
HKR,Ndi\params\RxBufLen\enum,	 "1",	    0, %16KBytes%
HKR,Ndi\params\RxBufLen\enum,	 "2",	    0, %32KBytes%
HKR,Ndi\params\RxBufLen\enum,	 "3",	    0, %64KBytes%
HKR,,RxBufLen,0,"3"

[ApmWol.reg]
HKR,Ndi\params\RTPME,            ParamDesc, 0, %ApmWol%
HKR,Ndi\params\RTPME,            default,   0, "0"
HKR,Ndi\params\RTPME,            type,      0, "enum"
HKR,Ndi\params\RTPME\enum,       "0",       0, %Disabled%
HKR,Ndi\params\RTPME\enum,       "1",       0, %Enabled%
HKR,,RTPME,0,"0"

;;****************************************************************************
;; 39P only parameters
;;****************************************************************************
[TxCoalesceNum.reg]
HKR,Ndi\Params\NumCoalesce,       ParamDesc,  0, %TxCoalesceBufNum%
HKR,Ndi\Params\NumCoalesce,       Type,       0, "int"
HKR,Ndi\Params\NumCoalesce,       Default,    0, "16"
HKR,Ndi\Params\NumCoalesce,       Min,        0, "0"
HKR,Ndi\Params\NumCoalesce,       Max,        0, "32"
HKR,Ndi\Params\NumCoalesce,       Step,       0, "1"
HKR,Ndi\Params\NumCoalesce,       Base,       0, "10"
HKR,,NumCoalesce,0,"16"

;;****************************************************************************
;; 39P NT parameters
;;****************************************************************************
[Offload39.reg]
HKR,Ndi\params\Offload,           ParamDesc,  0, %TaskOffload39%
HKR,Ndi\params\Offload,           default,    0, "1"
HKR,Ndi\params\Offload,           type,       0, "enum"
HKR,Ndi\params\Offload\enum,      "0",        0, %AllDisable%
HKR,Ndi\params\Offload\enum,      "1",        0, %Chksum39%
HKR,Ndi\params\Offload\enum,      "2",        0, %ChksumAndTcp39%
HKR,,Offload,0,"1"

;;****************************************************************************
;; 39TOS common parameters
;;****************************************************************************                 
[TxMaxDMABurst.reg]                  
HKR,Ndi\params\TxMaxDMABurst,      ParamDesc,  0, %TxDmaBurstSize%  
HKR,Ndi\params\TxMaxDMABurst,      type,       0, "enum"                           
HKR,Ndi\params\TxMaxDMABurst,      default,    0, "6"                           
HKR,Ndi\params\TxMaxDMABurst\enum, 0,          0, %16Bytes%              
HKR,Ndi\params\TxMaxDMABurst\enum, 1,          0, %32Bytes%     
HKR,Ndi\params\TxMaxDMABurst\enum, 2,          0, %64Bytes%
HKR,Ndi\params\TxMaxDMABurst\enum, 3,          0, %128Bytes%        
HKR,Ndi\params\TxMaxDMABurst\enum, 4,          0, %256Bytes%        
HKR,Ndi\params\TxMaxDMABurst\enum, 5,          0, %512Bytes%            
HKR,Ndi\params\TxMaxDMABurst\enum, 6,          0, %1024Bytes%             
HKR,Ndi\params\TxMaxDMABurst\enum, 7,          0, %2048Bytes%            
HKR,,TxMaxDMABurst,0,"6"

[RxMaxDMABurst.reg] 
HKR,Ndi\params\RxMaxDMABurst,      ParamDesc,  0, %RxDmaBurstSize%  
HKR,Ndi\params\RxMaxDMABurst,      type,       0, "enum"
HKR,Ndi\params\RxMaxDMABurst,      default,    0, "6"                      
HKR,Ndi\params\RxMaxDMABurst\enum, 0,          0, %16Bytes%                
HKR,Ndi\params\RxMaxDMABurst\enum, 1,          0, %32Bytes%                 
HKR,Ndi\params\RxMaxDMABurst\enum, 2,          0, %64Bytes%                 
HKR,Ndi\params\RxMaxDMABurst\enum, 3,          0, %128Bytes%             
HKR,Ndi\params\RxMaxDMABurst\enum, 4,          0, %256Bytes%                
HKR,Ndi\params\RxMaxDMABurst\enum, 5,          0, %512Bytes%                
HKR,Ndi\params\RxMaxDMABurst\enum, 6,          0, %1024Bytes%                
HKR,Ndi\params\RxMaxDMABurst\enum, 7,          0, %Unlimitted%  
HKR,,RxMaxDMABurst,0,"6"

[EarlyRxThreshold.reg] 
HKR,Ndi\params\EarlyRxThreshold,      ParamDesc,  0, %RxFifoThreshold%   
HKR,Ndi\params\EarlyRxThreshold,      type,       0, "enum"
HKR,Ndi\params\EarlyRxThreshold,      default,    0, "2"
HKR,Ndi\params\EarlyRxThreshold\enum, 0,          0, %16Bytes% 
HKR,Ndi\params\EarlyRxThreshold\enum, 1,          0, %32Bytes% 
HKR,Ndi\params\EarlyRxThreshold\enum, 2,          0, %64Bytes% 
HKR,Ndi\params\EarlyRxThreshold\enum, 3,          0, %128Bytes%
HKR,Ndi\params\EarlyRxThreshold\enum, 4,          0, %256Bytes%
HKR,Ndi\params\EarlyRxThreshold\enum, 5,          0, %512Bytes%  
HKR,Ndi\params\EarlyRxThreshold\enum, 6,          0, %1024Bytes%  
HKR,Ndi\params\EarlyRxThreshold\enum, 7,          0, %NoThreshold%
HKR,,EarlyRxThreshold,0,"2"

;;****************************************************************************
;; 69common parameters
;;****************************************************************************
[Speed.reg]
HKR, Ndi\params\DuplexMode,       ParamDesc,  0, %SpeedDuplexMode%
HKR, Ndi\params\DuplexMode,       type,       0, "enum"
HKR, Ndi\params\DuplexMode,       default,    0, "1"
HKR, Ndi\params\DuplexMode\enum,  1,          0, %auto_nego%
HKR, Ndi\params\DuplexMode\enum,  2,          0, %sd10half%
HKR, Ndi\params\DuplexMode\enum,  3,          0, %sd10full%
HKR, Ndi\params\DuplexMode\enum,  4,          0, %sd100half%
HKR, Ndi\params\DuplexMode\enum,  5,          0, %sd100full%
HKR, Ndi\params\DuplexMode\enum,  6,          0, %sd1000full%
HKR,,DuplexMode,0,"1"

;[TxDescNumber.reg]
;HKR,Ndi\Params\NumTxDesc,         ParamDesc,  0, %TxDescNumber%
;HKR,Ndi\Params\NumTxDesc,         Type,       0, "int"
;HKR,Ndi\Params\NumTxDesc,         Default,    0, "256"
;HKR,Ndi\Params\NumTxDesc,         Min,        0, "64"
;HKR,Ndi\Params\NumTxDesc,         Max,        0, "512"
;HKR,Ndi\Params\NumTxDesc,         Step,       0, "1"
;HKR,Ndi\Params\NumTxDesc,         Base,       0, "10"
;HKR,,NumTxDesc,0,"256"

;[RxDescNumber.reg]
;HKR,Ndi\Params\NumRxDesc,         ParamDesc,  0, %RxDescNumber%
;HKR,Ndi\Params\NumRxDesc,         Type,       0, "int"
;HKR,Ndi\Params\NumRxDesc,         Default,    0, "256"
;HKR,Ndi\Params\NumRxDesc,         Min,        0, "64"
;HKR,Ndi\Params\NumRxDesc,         Max,        0, "512"
;HKR,Ndi\Params\NumRxDesc,         Step,       0, "1"
;HKR,Ndi\Params\NumRxDesc,         Base,       0, "10"
;HKR,,NumRxDesc,0,"256"

[69Jumboframe.reg]
HKR,Ndi\params\Jumboframe,        ParamDesc,  0, %JumboFrame%
HKR,Ndi\params\Jumboframe,        default,    0, "0"
HKR,Ndi\params\Jumboframe,        type,       0, "enum"
HKR,Ndi\params\Jumboframe\enum,   "0",        0, %Disabled%
HKR,Ndi\params\Jumboframe\enum,   "1",        0, %2KBMTU%
HKR,Ndi\params\Jumboframe\enum,   "2",        0, %3KBMTU%
HKR,Ndi\params\Jumboframe\enum,   "3",        0, %4KBMTU%
HKR,Ndi\params\Jumboframe\enum,   "4",        0, %5KBMTU%
HKR,Ndi\params\Jumboframe\enum,   "5",        0, %6KBMTU%
HKR,Ndi\params\Jumboframe\enum,   "6",        0, %7KBMTU%
HKR,,Jumboframe,0,"0"

[Flowctrl.reg]
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" 

[S5Wol.reg]
HKR,Ndi\params\S5WakeOnLan,      ParamDesc,  0, %S5WakeOnLan%
HKR,Ndi\params\S5WakeOnLan,      default,    0, "1"
HKR,Ndi\params\S5WakeOnLan,      type,       0, "enum"
HKR,Ndi\params\S5WakeOnLan\enum, "0",        0, %Disabled%
HKR,Ndi\params\S5WakeOnLan\enum, "1",        0, %Enabled%
HKR,,S5WakeOnLan,0,"1"

[WolShutdownLinkSpeed.reg]
HKR, Ndi\params\WolShutdownLinkSpeed,       ParamDesc,  0, %WolShutdownLinkSpeed%
HKR, Ndi\params\WolShutdownLinkSpeed,       type,       0, "enum"
HKR, Ndi\params\WolShutdownLinkSpeed,       default,    0, "1"
HKR, Ndi\params\WolShutdownLinkSpeed\enum,  "0",        0, %10MbFirst%
HKR, Ndi\params\WolShutdownLinkSpeed\enum,  "1",        0, %100MbFirst%
HKR,,WolShutdownLinkSpeed,0,"1"

;[AutoSpeedDown.reg]
;HKR,Ndi\params\AutoSpeedDown,         ParamDesc,  0, %AutoSpeedDown%
;HKR,Ndi\params\AutoSpeedDown,         default,    0, "1"
;HKR,Ndi\params\AutoSpeedDown,         type,       0, "enum"
;HKR,Ndi\params\AutoSpeedDown\enum,    "0",        0, %Disabled%
;HKR,Ndi\params\AutoSpeedDown\enum,    "1",        0, %Enabled%
;HKR,,AutoSpeedDown,0,"1"

;[SuperSwitch.reg]
;HKR,,SuperSwitch,0,"0"

;;****************************************************************************
;; 69 NT parameters
;;****************************************************************************
[OffloadChksum.reg]
HKR,Ndi\params\CksOffload,        ParamDesc,  0, %ChecksumOffload%
HKR,Ndi\params\CksOffload,        default,    0, "1"
HKR,Ndi\params\CksOffload,        type,       0, "enum"
HKR,Ndi\params\CksOffload\enum,   "0",        0, %Disabled%
HKR,Ndi\params\CksOffload\enum,   "1",        0, %TxRxChecksumEnabled%
HKR,Ndi\params\CksOffload\enum,   "3",        0, %RxChecksumEnabled%
HKR,Ndi\params\CksOffload\enum,   "4",        0, %TxChecksumEnabled%
HKR,,CksOffload,0,"1" 

[OffloadLargesend.reg]
HKR,Ndi\params\Largesend,         ParamDesc,  0, %LargesendOffload%
HKR,Ndi\params\Largesend,         default,    0, "1"
HKR,Ndi\params\Largesend,         type,       0, "enum"
HKR,Ndi\params\Largesend\enum,    "0",        0, %Disabled%
HKR,Ndi\params\Largesend\enum,    "1",        0, %Enabled%
HKR,,Largesend,0,"1" 

[VLanTagging.reg]
HKR,Ndi\params\Support8021p,      ParamDesc,  0, %VLanTagging%
HKR,Ndi\params\Support8021p,      default,    0, "0"
HKR,Ndi\params\Support8021p,      type,       0, "enum"
HKR,Ndi\params\Support8021p\enum, "0",        0, %Disabled%
HKR,Ndi\params\Support8021p\enum, "1",        0, %Enabled%
HKR,,Support8021p,0,"0" 

;[VLanID.reg]
;HKR,Ndi\Params\RegVlanid,   ParamDesc,  0, %VLanID%
;HKR,Ndi\Params\RegVlanid,   Type,       0, "int"
;HKR,Ndi\Params\RegVlanid,   Default,    0, "0"
;HKR,Ndi\Params\RegVlanid,   Min,        0, "0"
;HKR,Ndi\Params\RegVlanid,   Max,        0, "4094"
;HKR,Ndi\Params\RegVlanid,   Step,       0, "1"
;HKR,Ndi\Params\RegVlanid,   Base,       0, "10"
;HKR,,RegVlanid,0,"0" 

;[TxHPQDescNumber.reg]
;HKR,Ndi\Params\NumTxDescHPQ,      ParamDesc,  0, %TxHPQDescNumber%
;HKR,Ndi\Params\NumTxDescHPQ,      Type,       0, "int"
;HKR,Ndi\Params\NumTxDescHPQ,      Default,    0, "256"
;HKR,Ndi\Params\NumTxDescHPQ,      Min,        0, "64"
;HKR,Ndi\Params\NumTxDescHPQ,      Max,        0, "512"
;HKR,Ndi\Params\NumTxDescHPQ,      Step,       0, "1"
;HKR,Ndi\Params\NumTxDescHPQ,      Base,       0, "10"
;HKR,,NumTxDescHPQ,0,"256" 

;;****************************************************************************
;; NT 5.0 parameters
;;****************************************************************************
[RTL8023.reg]
HKR, Ndi\Interfaces,            UpperRange, 0, "ndis5"
HKR, Ndi\Interfaces,            LowerRange, 0, "ethernet"
HKR, Ndi,                       Service,    0, "RTL8023"

[rtsnt.Service]
DisplayName     = %Rtlnic.Service.DispName%
ServiceType     = 1                             ; %SERVICE_KERNEL_DRIVER%
StartType       = 3                             ; %SERVICE_DEMAND_START%
ErrorControl    = 1                             ; %SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\Rtnic.sys
LoadOrderGroup  = NDIS

[RTL8023xp.reg]
HKR, Ndi\Interfaces,            UpperRange, 0, "ndis5"
HKR, Ndi\Interfaces,            LowerRange, 0, "ethernet"
HKR, Ndi,                       Service,    0, "RTL8023xp"

[rtsntxp.Service]
DisplayName     = %Rtlnicxp.Service.DispName%
ServiceType     = 1                             ; %SERVICE_KERNEL_DRIVER%
StartType       = 3                             ; %SERVICE_DEMAND_START%
ErrorControl    = 1                             ; %SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\Rtnicxp.sys
LoadOrderGroup  = NDIS

[RTL8023x64.reg]
HKR, Ndi\Interfaces,            UpperRange, 0, "ndis5"
HKR, Ndi\Interfaces,            LowerRange, 0, "ethernet"
HKR, Ndi,                       Service,    0, "RTL8023x64"

[rtsntx64.Service]
DisplayName     = %Rtlnicx64.Service.DispName%
ServiceType     = 1                             ; %SERVICE_KERNEL_DRIVER%
StartType       = 3                             ; %SERVICE_DEMAND_START%
ErrorControl    = 1                             ; %SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\Rtnic64.sys
LoadOrderGroup  = NDIS

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

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


;;****************************************************************************
;; Destination Directory
;;****************************************************************************
[DestinationDirs]
Rtlnic.CopyFiles           = 12
Rtlnic.CopyFilesXP         = 12
Rtlnic.CopyFilesX64        = 12
Rtlnic.CopyFiles9x         = 11
DefaultDestDir             = 11        ; LDID_SYS

;;****************************************************************************
;; Source Files
;;****************************************************************************
[SourceDisksNames]
1=%DISKNAME%,,,

[SourceDisksFiles]
Rtnic.sys	= 1
Rtnicxp.sys	= 1
Rtnic64.sys	= 1

;;****************************************************************************
;; Strings
;;****************************************************************************
[Strings]
Realtek			= "Realtek Semiconductor Corp."
VLanTagging		= "802.1Q/1p VLAN Tagging"
;VLanID			= "802.1Q VLAN ID"
ChecksumOffload		= "Offload Checksum"
LargesendOffload	= "Offload TCP_LargeSend"
SpeedDuplexMode		= "Link Speed/Duplex Mode"
auto_nego		= "Auto Negotiation"
sd10half		= "10Mbps/Half Duplex"
sd10full		= "10Mbps/Full Duplex"
sd100half		= "100Mbps/Half Duplex"
sd100full		= "100Mbps/Full Duplex"
sd1000full		= "1000Mbps/Full Duplex"
NetworkAddress		= "Network Address"
JumboFrame		= "Jumbo Frame"
;TxDescNumber		= "Number of Tx Descriptor"
;RxDescNumber		= "Number of Rx Descriptor"
;TxHPQDescNumber	= "Number of High Priority Tx Descriptor"
WOLCapability		= "WakeUp on ARP/PING"
WOLLinkChange		= "WakeUp on Link Change"
LDPSCapability		= "Link Down Power Saving"
OptimalPerf		= "Optimal Performance"
RxBufSize               = "Receive Buffer Size"
8KBytes                 = "8K bytes"
16KBytes                = "16K bytes"
32KBytes                = "32K bytes"
64KBytes                = "64K bytes"
ApmWol                  = "WakeUp using APM Mode"
TxCoalesceBufNum        = "Number of Tx Coalesce Buffer"
TaskOffload39           = "Task Offload"
AllDisable              = "All Disable"
Chksum39                = "Checksum"
ChksumAndTcp39          = "Chksum & TCP_Segment"
TxDmaBurstSize          = "Transmit DMA burst size"
RxDmaBurstSize          = "Receive DMA burst size" 
RxFifoThreshold         = "Receive FIFO threshold" 
16Bytes                 = "16 bytes"
32Bytes                 = "32 bytes"
64Bytes                 = "64 bytes"
128Bytes                = "128 bytes"
256Bytes                = "256 bytes"        
512Bytes                = "512 bytes"
1024Bytes               = "1024 bytes"
2048Bytes               = "2048 bytes"
Unlimitted              = "unlimited"
NoThreshold             = "No threshold"
FlowControl		= "Flow Control"
AutoSpeedDown		= "Auto Speed Down"
S5WakeOnLan		= "Wake-On-Lan After Shutdown"
10MbFirst               = "10 Mbps First"
100MbFirst              = "100 Mbps First"
WolShutdownLinkSpeed    = "WOL & Shutdown Link Speed"
Disabled                = "Disable"
Enabled                 = "Enable"
TxChecksumEnabled       = "Tx Checksum"
RxChecksumEnabled       = "Rx Checksum"
TxRxChecksumEnabled     = "Tx/Rx Checksum"
2KBMTU                  = "2KB MTU"
3KBMTU                  = "3KB MTU"
4KBMTU                  = "4KB MTU"
5KBMTU                  = "5KB MTU"
6KBMTU                  = "6KB MTU"
7KBMTU                  = "7KB MTU"

;;Source disk name
DISKNAME = "Realtek 10/100/1000 NIC Family all in one NDIS Driver"

RTL8169.DeviceDesc        = "Realtek RTL8169/8110 Family Gigabit Ethernet NIC"
RTL8139.DeviceDesc        = "Pacific Network 8139x Family"
RTL8139P.DeviceDesc       = "Pacific Network 8139 Family"

;;NT service name
Rtlnic.Service.DispName    = "Realtek 10/100/1000 PCI NIC Family NDIS NT Driver"
Rtlnicxp.Service.DispName    = "Realtek 10/100/1000 PCI NIC Family NDIS XP Driver"
Rtlnicx64.Service.DispName    = "Realtek 10/100/1000 PCI NIC Family NDIS XP(x64) Driver"
