;*******************************************************************************
; Copyright 2000.
;
; INF for Windows 98 and Windows NT 5.0


[Version]
Signature  = "$Windows NT$"
Class      = Net
ClassGUID  = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider   = %V_MS%
;LayoutFile = layout.inf
DriverVer   = 03/15/2000,1.12.0000.0000

[Manufacturer]
%D-Link%   = D-Link

[ControlFlags]
ExcludeFromSelect = USB\VID_07A6&PID_0986

[D-Link]
%DUH3ETX.DeviceDesc% = DUH3ETX.Ndi,USB\VID_07A6&PID_0986


;*******************************************************************************
; Win98 main sections

[DUH3ETX.Ndi]
AddReg   = DUH3ETX.Reg, DUH3ETX.Params, DUH3ETX.Con.Reg
DeviceID = USB\VID_07A6&PID_0986


;*******************************************************************************
; NT main sections

[DUH3ETX.Ndi.NT]
AddReg          = DUH3ETX.NT.Reg, DUH3ETX.Params, DUH3ETX.Con.Reg
Characteristics = 0x84 ; NCF_HAS_UI | NCF_PHYSICAL
BusType         = 0 ; USB
CopyFiles       = CopyFile.NT.Sys

[DUH3ETX.Ndi.NT.Services]
AddService = DUH3ETX, 2, DUH3ETX.Service, Common.EventLog


;*******************************************************************************
; Windows 98 section
;*******************************************************************************

[DUH3ETX.Reg]
HKR,Ndi,DeviceID,,USB\VID_07A6&PID_0986
HKR,,AdapterName,,DUH3ETX
HKR,Ndi,CardType,,"PNP"

HKR,,AdapterName,,DUH3ETX

HKR,,DevLoader,,*ndis,*ntkern,*ndis
HKR,,DeviceVxDs,,DUH3ETX.sys

; NDIS Info
HKR,NDIS,MajorNdisVersion,1,05
HKR,NDIS,MinorNdisVersion,1,00
HKR,NDIS,LogDriverName,,DUH3ETX

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

; Install sections
HKR,Ndi\Install,,,"DUH3ETX.Install"

HKR,Ndi,HelpText,,"USB to Fast Ethernet Lan Converter"


;*******************************************************************************
; Driver parameters
;*******************************************************************************

[DUH3ETX.Params]
HKR, ,TxPacketDesc,    0, "20"   ; 0x32
HKR, ,RxPacketDesc,    0, "20"   ; 0x78
HKR, ,MediaSel,  0, "1" ;

[DUH3ETX.Con.Reg]
HKR,Ndi\Params\MediaType,ParamDesc,,"Media Type"
HKR,Ndi\Params\MediaType,default,,0
HKR,Ndi\Params\MediaType,type,,enum
HKR,Ndi\Params\MediaType\enum,0,,"AutoSense"
HKR,Ndi\Params\MediaType\enum,1,,"10BaseT"
HKR,Ndi\Params\MediaType\enum,2,,"10BaseT Full_Duplex"
HKR,Ndi\Params\MediaType\enum,3,,"100BaseTX"
HKR,Ndi\Params\MediaType\enum,4,,"100BaseTX Full_Duplex"
HKR,Ndi\Params\MediaType,flag,1,20,00,00,00

;HKR,Ndi\Params\MediaSel,ParamDesc,,"Select Media"
;HKR,Ndi\Params\MediaSel,default,,0
;HKR,Ndi\Params\MediaSel,type,,enum
;HKR,Ndi\Params\MediaSel\enum,0,,"AutoSense"
;HKR,Ndi\Params\MediaSel\enum,1,,"Ethernet"
;HKR,Ndi\Params\MediaSel\enum,2,,"Home Lan"
;HKR,Ndi\Params\MediaSel,flag,1,20,00,00,00

HKR,Ndi\Params\MagicPkt,ParamDesc,,"Magic Packet"
HKR,Ndi\Params\MagicPkt,default,,0
HKR,Ndi\Params\MagicPkt,type,,enum
HKR,Ndi\Params\MagicPkt\enum,0,,"Enable"
HKR,Ndi\Params\MagicPkt\enum,1,,"Disable"
HKR,Ndi\Params\MagicPkt,flag,1,20,00,00,00
;*******************************************************************************
; Install section for OSR2 and Windows 98
;*******************************************************************************

[DUH3ETX.Install]
CopyFiles=CopyFile.Inf,CopyFile.Sys

[CopyFile.Inf]
DUH3ETX.inf

[CopyFile.Sys]
DUH3ETX.sys


;*******************************************************************************
; Install section for Windows NT 5
;*******************************************************************************

[DUH3ETX.NT.Reg]
; Interfaces
HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"
HKR, Ndi\Interfaces, UpperRange, 0, "ndis5"
HKR, Ndi,            Service,    0, "DUH3ETX"

[DUH3ETX.Service]
DisplayName    = %DUH3ETX.DeviceDesc%
ServiceType    = 1
StartType      = 3
ErrorControl   = 1
ServiceBinary  = %12%\DUH3ETX.sys
LoadOrderGroup = NDIS,NTKERN,NDIS
AddReg         = TextModeFlags.Reg

[Common.EventLog]
AddReg = Common.AddEventLog.Reg

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

[TextModeFlags.Reg]
HKR, , TextModeFlags, 0x00010001, 0x0001

[CopyFile.NT.Sys]
DUH3ETX.sys,,,2


;*******************************************************************************
; Destination directories
;*******************************************************************************

[DestinationDirs]
CopyFile.Sys    = 11
CopyFile.Inf    = 17
CopyFile.NT.Sys = 12

[SourceDisksNames]
; Cabinet file names and associated disks
; <cab#> = <disk#>,<cabinet filename>, ID (Unused, must be 0)
50="D-Link DU-H3ETX Driver Diskette",, 0

[SourceDisksFiles]
;<file> = <cabinet number>,<subdir>,<filename>,<size>
;Note: File is not in a cabinet if cab# is 0
DUH3ETX.sys=50,.,DUH3ETX.sys,10000
DUH3ETX.inf=50,.,DUH3ETX.inf,10000


;*******************************************************************************
; Localizable strings
;*******************************************************************************

[Strings]
V_MS = "D-Link Corporation"
D-Link = "D-Link Corporation"
DUH3ETX.DeviceDesc = "D-Link DU-H3ETX"

