;
;   DSB650TX.INF
;
;   Copyright 2001, D-Link Corporation.

[version]
CatalogFile = dsb650tx.cat
Signature   = "$Windows NT$"
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider    = %D-Link%
DriverVer=07/16/2001,2.0.9.0
[Manufacturer]
%D-Link%      = D-Link

[ControlFlags]
ExcludeFromSelect = USB\VID_2001&PID_400B


[D-Link]
;----------------   -------- ---------
;DisplayName        Section  DeviceID
;----------------   -------- ---------
%D-Link.DeviceDesc% = D-Link.Ndi,USB\VID_2001&PID_400B

;;******************************
;; 10M/100M for USBs
;;******************************
[D-Link.Ndi]
Characteristics = 0x84  ; NCF_HAS_UI | NCF_PHYSICAL
BusType         = 1     ; USB
AddReg          = D-Link.Reg, D-Link.Params, D-Link.Config.Reg
CopyFiles       = CopyFile.Sys

[D-Link.Ndi.Services]
AddService = DSB650TX, 2, D-Link.Service, Common.EventLog


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

[D-Link.Params]
HKR, ,TxPacketDesc,, "28"   ; 40
HKR, ,RxPacketDesc,, "14"   ; 20


[D-Link.Config.Reg]
HKR,Ndi\Params\MediaType,ParamDesc,,"Connection 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\FlowControl,ParamDesc,,"Flow Control"
HKR,Ndi\Params\FlowControl,default,,"1"
HKR,Ndi\Params\FlowControl,type,,"enum"
HKR,Ndi\Params\FlowControl\enum,0,,"Enable"
HKR,Ndi\Params\FlowControl\enum,1,,"Disable"
HKR,Ndi\Params\FlowControl,flag,1,"20",00,00,00

HKR,Ndi\Params\FlowControl_Tx,ParamDesc,,"Flow Control Base Tx Packets"
HKR,Ndi\Params\FlowControl_Tx,default,,"0"
HKR,Ndi\Params\FlowControl_Tx,type,,"enum"
HKR,Ndi\Params\FlowControl_Tx\enum,0,,"Disable"
HKR,Ndi\Params\FlowControl_Tx\enum,1,," 1 Packet"
HKR,Ndi\Params\FlowControl_Tx\enum,2,," 2 Packets"
HKR,Ndi\Params\FlowControl_Tx\enum,3,," 4 Packets"
HKR,Ndi\Params\FlowControl_Tx\enum,4,," 8 Packets"
HKR,Ndi\Params\FlowControl_Tx\enum,5,,"16 Packets"
HKR,Ndi\Params\FlowControl_Tx\enum,6,,"32 Packets"
HKR,Ndi\Params\FlowControl_Tx,flag,1,"20",00,00,00

HKR,Ndi\Params\FlowControl_Rx,ParamDesc,,"Flow Control Base Rx Size"
HKR,Ndi\Params\FlowControl_Rx,default,,"0"
HKR,Ndi\Params\FlowControl_Rx,type,,"enum"
HKR,Ndi\Params\FlowControl_Rx\enum,0,,"Disable"
HKR,Ndi\Params\FlowControl_Rx\enum,1,," 1K"
HKR,Ndi\Params\FlowControl_Rx\enum,2,," 2K"
HKR,Ndi\Params\FlowControl_Rx\enum,3,," 4K"
HKR,Ndi\Params\FlowControl_Rx\enum,4,," 8K"
HKR,Ndi\Params\FlowControl_Rx\enum,5,,"16K"
HKR,Ndi\Params\FlowControl_Rx\enum,6,,"32K"
HKR,Ndi\Params\FlowControl_Rx,flag,1,"20",00,00,00

;*******************************************************************************
; Install section for Windows 2000
;*******************************************************************************

;;-----------------------
;; 10M/100M for USBs
;;-----------------------
[D-Link.Reg]
; Interfaces
HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"
HKR, Ndi\Interfaces, UpperRange, 0, "ndis5"
HKR, Ndi,            Service,    0, "DSB650TX"

[D-Link.Service]
DisplayName    = %D-Link.DeviceDesc%
ServiceType    = 1
StartType      = 3
ErrorControl   = 1
ServiceBinary  = %12%\DSB650TX.sys
LoadOrderGroup = 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.Sys]
DSB650TX.sys,,,2


;-------------------------
; Destination directories
;-------------------------
[DestinationDirs]
CopyFile.Sys    = 12    ; LDID_SYS
DefaultDestDir  = 11    ; LDID_SYS
;-------------------
; Source Disk layout
;-------------------
[SourceDisksNames]
50=%DriverDisketteName%,,

[SourceDisksFiles]
DSB650TX.inf = 50,.,DSB650TX.inf,10000
DSB650TX.sys = 50,.,DSB650TX.sys,10000

;--------------------
;Localizable strings
;--------------------
[Strings]
D-Link= "D-Link"

D-Link.DeviceDesc = "D-Link DSB-650TX USB 10/100 Ethernet Adapter"

DriverDisketteName = "D-Link USB 10/100 Ethernet Drivers Disk"
