; ** COPYRIGHT (C) 2007-2012 Realtek CORPORATION
;

[Version]
Signature    = "$Windows NT$"
Compatible   = 1
Class        = Net
ClassGUID    = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider     = %Realtek%
CatalogFile  = netu30rtle.cat     ;; for WHQL certified
DriverVer    = 11/04/2013,5.5.1104.2013

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

[ControlFlags]
ExcludeFromSelect = *


; DisplayName            Section            DeviceID
; -----------            -------            --------

[Realtek.NTx86.5.1]; This section will only be installed by Windows XP
%RTL8153.DeviceDesc%   = RTL8153x.ndi,USB\VID_0BDA&PID_8153&REV_3000

[Realtek.NTamd64]; This section will only be installed by Windows XP 64-bit
%RTL8153.DeviceDesc%   = RTL8153a.ndi,USB\VID_0BDA&PID_8153&REV_3000

[Lenovo.NTx86.5.1]; This section will only be installed by Windows XP
%Lenovo-1.DeviceDesc%  = RTL8153x.ndi,USB\VID_17EF&PID_304F&REV_3000
%Lenovo-2.DeviceDesc%  = RTL8153x.ndi,USB\VID_17EF&PID_7205&REV_3000

[Lenovo.NTamd64]; This section will only be installed by Windows XP 64-bit
%Lenovo-1.DeviceDesc%   = RTL8153a.ndi,USB\VID_17EF&PID_304F&REV_3000
%Lenovo-2.DeviceDesc%   = RTL8153a.ndi,USB\VID_17EF&PID_7205&REV_3000


;;****************************************************************************
;; Windows XP32
;;****************************************************************************
[RTL8153x.ndi.NT]
AddReg = RTLU3E8023xp.NT.Reg
AddReg = About.reg,
AddReg = NetworkAddress.reg, wolptnmagic.reg, Speed10_100_1000.reg
AddReg = flowctrl.reg, PriorityVlanTag.reg, OffloadChksum.reg
AddReg = OffloadLargesend.reg, EEE.reg, WolShutdownLinkSpeed.reg
Addreg = Common.reg, Jumboframe9k.reg
Characteristics    =  0x84
BusType            =  15 
CopyFiles          =  Rtlu3nic.CopyFilesXP, RTNicProp.CopyListXP
*IfType            =  6             ; IF_TYPE_ETHERNET_CSMACD 
*MediaType         =  0             ; NdisMedium802_3
*PhysicalMediaType =  14            ; NdisPhysicalMedium802_3

[RTL8153x.ndi.NT.Services]
AddService = RTLU3E8023xp, 2, rtu3sntxp.Service, common.EventLog

;;****************************************************************************
;; Windows XP64
;;****************************************************************************
[RTL8153a.ndi.NT]
AddReg = RTLU3E8023x64.NT.Reg
AddReg = About64.reg,
AddReg = NetworkAddress.reg, wolptnmagic.reg, Speed10_100_1000.reg
AddReg = flowctrl.reg, PriorityVlanTag.reg, OffloadChksum.reg
AddReg = OffloadLargesend.reg, EEE.reg, WolShutdownLinkSpeed.reg
Addreg = Common.reg, Jumboframe9k.reg
Characteristics    =  0x84
BusType            =  15 
CopyFiles          =  Rtlu3nic.CopyFilesXP64, RTNicProp.CopyListX64
*IfType            =  6             ; IF_TYPE_ETHERNET_CSMACD 
*MediaType         =  0             ; NdisMedium802_3
*PhysicalMediaType =  14            ; NdisPhysicalMedium802_3

[RTL8153a.ndi.NT.Services]
AddService = RTLU3E8023x64, 2, rtu3sntx64.Service, common.EventLog

;*******************************************************************************
; common paramters
;*******************************************************************************
[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"

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

HKR, Ndi\params\WakeOnPattern,        ParamDesc,  0, %WakeOnPtn%
HKR, Ndi\params\WakeOnPattern,        default,    0, "1"
HKR, Ndi\params\WakeOnPattern,        type,       0, "enum"
HKR, Ndi\params\WakeOnPattern\enum,   "0",        0, %Disabled%
HKR, Ndi\params\WakeOnPattern\enum,   "1",        0, %Enabled%
HKR,,WakeOnPattern,0,"1"

[Speed10_100_1000.reg]
HKR,Ndi\params\SpeedDuplex,       ParamDesc,  0, %SpeedDuplex%
HKR,Ndi\params\SpeedDuplex,       default,    0, "0"
HKR,Ndi\params\SpeedDuplex,       type,       0, "enum"
HKR,Ndi\params\SpeedDuplex\enum,  "0",        0, %AutoDetect%
HKR,Ndi\params\SpeedDuplex\enum,  "1",        0, %10Mb-Half-Duplex%
HKR,Ndi\params\SpeedDuplex\enum,  "2",        0, %10Mb-Full-Duplex%
HKR,Ndi\params\SpeedDuplex\enum,  "3",        0, %100Mb-Half-Duplex%
HKR,Ndi\params\SpeedDuplex\enum,  "4",        0, %100Mb-Full-Duplex%
HKR,Ndi\params\SpeedDuplex\enum,  "6",        0, %1000Mb-Full-Duplex%
HKR,,SpeedDuplex,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"

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

[OffloadChksum.reg]
HKR, Ndi\params\CksOffload,           ParamDesc,  0, %ChecksumOffload%
HKR, Ndi\params\CksOffload,           default,    0, "3"
HKR, Ndi\params\CksOffload,           type,       0, "enum"
HKR, Ndi\params\CksOffload\enum,      "0",        0, %Disabled%
HKR, Ndi\params\CksOffload\enum,      "1",        0, %TxEnabled%
HKR, Ndi\params\CksOffload\enum,      "2",        0, %RxEnabled%
HKR, Ndi\params\CksOffload\enum,      "3",        0, %RxTxEnabled%
HKR,,CksOffload,0,"3"

[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"

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

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

[Jumboframe9k.reg]
HKR,Ndi\params\JumboPacket,        ParamDesc,  0, %JumboFrame%
HKR,Ndi\params\JumboPacket,        default,    0, "1514"
HKR,Ndi\params\JumboPacket,        type,       0, "enum"
HKR,Ndi\params\JumboPacket\enum,   "1514",     0, %Disabled%
HKR,Ndi\params\JumboPacket\enum,   "2048",     0, %2KBMTU%
HKR,Ndi\params\JumboPacket\enum,   "3072",     0, %3KBMTU%
HKR,Ndi\params\JumboPacket\enum,   "4096",     0, %4KBMTU%
HKR,Ndi\params\JumboPacket\enum,   "5120",     0, %5KBMTU%
HKR,Ndi\params\JumboPacket\enum,   "6144",     0, %6KBMTU%
HKR,Ndi\params\JumboPacket\enum,   "7168",     0, %7KBMTU%
HKR,Ndi\params\JumboPacket\enum,   "8192",     0, %8KBMTU%
HKR,Ndi\params\JumboPacket\enum,   "9216",     0, %9KBMTU%
HKR,,JumboPacket,0,"1514"

[Common.reg]
HKR,,HwOption,0x00010001,2

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

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

[About.reg]
HKR,,EnumPropPages32,,"rtnicprop32.dll,RTNicPropPageProvider"

[About64.reg]
HKR,,EnumPropPages32,,"rtnicprop64.dll,RTNicPropPageProvider"

;*******************************************************************************
; Windows XP32
;*******************************************************************************
[RTLU3E8023xp.NT.Reg]
HKR, Ndi\Interfaces,    UpperRange, 0, "ndis5"
HKR, Ndi\Interfaces,    LowerRange, 0, "ethernet"
HKR, Ndi,               Service,    0, "RTLU3E8023xp"

[rtu3sntxp.Service]
DisplayName    = %Rtlu3nicxp.Service.DispName%
ServiceType    = 1      ; %SERVICE_KERNEL_DRIVER%
StartType      = 3      ; %SERRVICE_DEMAND_START%
ErrorControl   = 1      ; %SERRVICE_ERROR_NORMAL%
ServiceBinary  = %12%\rtu30nicxp.sys
LoadOrderGroup = NDIS

[Rtlu3nic.CopyFilesXP]
rtu30nicxp.sys,,,2

;*******************************************************************************
; Windows XP64
;*******************************************************************************
[RTLU3E8023x64.NT.Reg]
HKR, Ndi\Interfaces,    UpperRange, 0, "ndis5"
HKR, Ndi\Interfaces,    LowerRange, 0, "ethernet"
HKR, Ndi,               Service,    0, "RTLU3E8023x64"

[rtu3sntx64.Service]
DisplayName    = %Rtlu3nicx64.Service.DispName%
ServiceType    = 1      ; %SERVICE_KERNEL_DRIVER%
StartType      = 3      ; %SERRVICE_DEMAND_START%
ErrorControl   = 1      ; %SERRVICE_ERROR_NORMAL%
ServiceBinary  = %12%\rtu30nic64.sys
LoadOrderGroup = NDIS


[Rtlu3nic.CopyFilesXP64]
rtu30nic64.sys,,,2

[RTNicProp.CopyListXP]
RtNicProp32.dll,,,0x10 ; COPYFLG_NOPRUNE | COPYFLG_IN_USE_RENAME

[RTNicProp.CopyListX64]
RtNicProp64.dll,,,0x10 ; COPYFLG_NOPRUNE | COPYFLG_IN_USE_RENAME

;*******************************************************************************
; Destination Directory
;*******************************************************************************
[DestinationDirs]
Rtlu3nic.CopyFilesXP    = 12
Rtlu3nic.CopyFilesXP64  = 12
DefaultDestDir          = 11    ; LDID_SYS


[SourceDisksNames]
1=%DISKNAME%,,,

[SourceDisksFiles]
rtu30nicxp.sys = 1
rtu30nic64.sys = 1
RTNicProp32.dll	= 1
RTNicProp64.dll	= 1

;*******************************************************************************
; Strings
;*******************************************************************************
[Strings]
Realtek                         = "Realtek"
Lenovo                          = "Lenovo"

RTL8153.DeviceDesc              = "Realtek USB GBE Family Controller"
Lenovo-1.DeviceDesc             = "ThinkPad OneLink Pro Dock Giga Ethernet"
Lenovo-2.DeviceDesc             = "Thinkpad USB 3.0 Ethernet Adapter"

;; Source disk name
DISKNAME                        = "Realtek USB GBE NIC Family all in one NDIS Driver"

NetworkAddress                  = "Network Address"

AutoDetect                      = "Auto Negotiation"
SpeedDuplex                     = "Speed & Duplex"
10Mb-Half-Duplex                = "10 Mbps Half Duplex"
10Mb-Full-Duplex                = "10 Mbps Full Duplex"
100Mb-Half-Duplex               = "100 Mbps Half Duplex"
100Mb-Full-Duplex               = "100 Mbps Full Duplex"
1000Mb-Full-Duplex              = "1.0 Gbps Full Duplex"

WakeOnMagPkt                    = "Magic Packet Wake Up"
WakeOnPtn                       = "Wake on pattern match"

FlowControl                     = "Flow Control"
PriorityVLAN                    = "Priority & VLAN"

ChecksumOffload                 = "Checksum Offload"
LargesendOffload                = "Large Send Offload"

;;NT service name
Rtlu3nicxp.Service.DispName     = "Realtek 10/100/1000 USB NIC Family NDIS XP Driver"
Rtlu3nicx64.Service.DispName    = "Realtek 10/100/1000 USB NIC Family NDIS XP(x64) Driver"

EEE                             = "Energy Efficient Ethernet"

WolShutdownLinkSpeed            = "WOL & Shutdown Link Speed"

Enabled                         = "Enabled"
Disabled                        = "Disabled"
TxEnabled                       = "Tx Enabled"
RxEnabled                       = "Rx Enabled"
RxTxEnabled                     = "Rx & Tx Enabled"
10MbFirst                       = "10 Mbps First"
100MbFirst                      = "100 Mbps First"
NotSpeedDown                    = "Not Speed Down"

JumboFrame                     = "Jumbo Frame"
2KBMTU                         = "2KB MTU"
3KBMTU                         = "3KB MTU"
4KBMTU                         = "4KB MTU"
5KBMTU                         = "5KB MTU"
6KBMTU                         = "6KB MTU"
7KBMTU                         = "7KB MTU"
8KBMTU                         = "8KB MTU"
9KBMTU                         = "9KB MTU"

;;;;; InfVer = 1.000