; Demo for Ipaq Familiar
;
; Copyright (c) 2003 Belcarra
;
; This package will install the:
;
;       Belcarra USB LAN driver
;
; For use with:
;
;       Belcarra USBLAN Function Drivers
;
; This will enable an Embedded Device to communicate with Windows system
; using TCP/IP.
;
; For more information on the Belcarra USBLAN Function and Belcarra Host Drivers 
; go to:
;
;       http://www.belcarra.com
;
; For licensing information to use the Belcarra USBLAN Function and Host
; Drivers contact:
;
;       sales@belcarra.com
;
; Build: 1.2.0-(6)-production sl@CAESER
; Date:  Tue Oct 26 13:49:19 PDT 2004
;


[Version]
Signature       = "$CHICAGO$"
Class           = Net
ClassGUID       = {4D36E972-E325-11CE-BFC1-08002BE10318}
Provider        = %Belcarra%
;CatalogFile    = btblan.cat
DriverVer       = 10/26/2004,1.2.0.6
Compatible      = 1

[Manufacturer]
%Belcarra%  = Belcarra

[ControlFlags]
ExcludeFromSelect = USB\VID_049f&PID_505a


[Belcarra]
; DisplayName           Section         DeviceID
; -----------           -------         --------
%BTCUsbLan.DeviceDesc% = BTCUsbLan.ndi, USB\VID_049f&PID_505a


;-----------------------------------------------------------------------------
[BTCUsbLan.ndi]
Characteristics                         = 0x2
BusType                                 = 15
AddReg                                  = BTCUsbLan.ndi.reg.Win, params.reg

;-----------------------------------------------------------------------------
[BTCUsbLan.ndi.NT]
Characteristics                         = 0x84
BusType                                 = 15
AddReg                                  = BTCUsbLan.ndi.reg.NT, params.reg

;-----------------------------------------------------------------------------
[BTCUsbLan.ndi.reg.NT]
HKR,Ndi,                Service,        0,  "Belcarra USBLAN"
HKR,Ndi\Interfaces,     UpperRange,     0,  "ndis5"
HKR,Ndi\Interfaces,     LowerRange,     0,  "ethernet"

[BTCUsbLan.ndi.reg.Win]
HKR, Ndi,               DeviceID,       0, "USB\VID_049f&PID_505a"


HKR, ,                  DevLoader,      , *ndis,*ntkern,*ndis
HKR, ,                  DeviceVxDs,     , btblan.sys
HKR, ,                  EnumPropPages,  , "netdi.dll,EnumPropPages"
;HKR, ,                 AdapterName,    , "BTCUsbLan"
HKR, NDIS,              LogDriverName,  , "BTCUsbLan"
HKR, NDIS,              MajorNdisVersion, 1, 03
HKR, NDIS,              MinorNdisVersion, 1, 0a
HKR, Ndi\Interfaces,    DefUpper,       , "ndis3"
HKR, Ndi\Interfaces,    DefLower,       , "ethernet"
HKR, Ndi\Interfaces,    UpperRange,     , "ndis3"
HKR, Ndi\Interfaces,    LowerRange,     , "ethernet"
HKR, Ndi,               CardType,       , "PNP"
;HKR,Ndi,               HelpText,       , "Belcarra USB LAN adapter"

;-------------------------------------------------------------------------------
; parameters
[params.reg]

HKLM,SYSTEM\CURRENTCONTROLSET\SERVICES\USBLAN\Belcarra,NetworkLIP,           0x00010003, 0xa9, 0xfe, 0x8e, 0x01
HKLM,SYSTEM\CURRENTCONTROLSET\SERVICES\USBLAN\Belcarra,NetworkMIP,           0x00010003, 0xa9, 0xfe, 0x8e, 0xf0
HKLM,SYSTEM\CURRENTCONTROLSET\SERVICES\USBLAN\Belcarra,NetworkSIP,           0x00010003, 0xa9, 0xfe, 0x8e, 0xfd
HKLM,SYSTEM\CURRENTCONTROLSET\SERVICES\USBLAN\Belcarra,NetworkMask,          0x00010003, 0xff, 0xff, 0x00, 0x00

;-----------------------------------------------------------------------------
[BTCUsbLan.ndi.NT.Services]
AddService = %BTCUsbLan.Service.DispName%, 2, BTCUsbLan.AddService, BTCUsbLan.AddEventLog

;-----------------------------------------------------------------------------
[BTCUsbLan.AddService]
DisplayName                             = %BTCUsbLan.Service.DispName%
ServiceType                             = 1    ; SERVICE_KERNEL_DRIVER
StartType                               = 3    ; SERVICE_AUTO_START
ErrorControl                            = 1    ; NORMAL
ServiceBinary                           = %12%\btblan.sys
LoadOrderGroup                          = NDIS

;-----------------------------------------------------------------------------
[BTCUsbLan.AddEventLog]
AddReg = BTCUsbLan.AddEventLog.reg

[BTCUsbLan.AddEventLog.reg]

HKR, ,EventMessageFile,  0x00020000, "%%SystemRoot%%\System32\netevent.dll"
HKR, ,TypeSupported,     0x00010001, 7

;-----------------------------------------------------------------------------
[strings]
Belcarra                                    = "Belcarra"
BTCUsbLan.DeviceDesc                    = "Belcarra USB LAN LINK"
BTCUsbLan.Service.DispName              = "Belcarra USBLAN"

