;/*++
;
;Copyright (c) 2010 VIA Technologies
;
;Module Name:
;
;    VIAUSBD.INF
;
;Abstract:
;    INF file for installing USBD bus enumerator driver
;
;--*/
[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%MSFT%
DriverVer=12/20/2010,5.1.7600.0203
CatalogFile=VIAUSBD.cat

[DestinationDirs]
DefaultDestDir = 12

[SourceDisksNames]
1 = %DiskId1%,,,""

[SourceDisksFiles]
VIAUSBD.sys  = 1,,

;*****************************************
; USBD Install Section
;*****************************************

[Manufacturer]
%StdMfg%=Standard

[Standard]
;
; These are the toaster bus pnp ids
;

%ToasterBus.DeviceDesc%=ToasterBus_Device, PCI\VEN_1106&DEV_A409

[ToasterBus_Device.NT]
CopyFiles=Drivers_Dir

[ToasterBus_Device.NT.HW]
AddReg=ToasterBus_Device.NT.AddReg

[ToasterBus_Device.NT.AddReg]                            
HKR,,DeviceCharacteristics,0x10001,0x0100         ; Use same security checks on relative opens
HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)"      ; Allow generic-all access to Built-in administrators and Local system 

[Drivers_Dir]
VIAUSBD.sys


;-------------- Service installation
[ToasterBus_Device.NT.Services]
AddService = viausbd,%SPSVCINST_ASSOCSERVICE%, viausbd_Service_Inst

; -------------- viausbd driver install sections
[viausbd_Service_Inst]
DisplayName    = %viausbd.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\VIAUSBD.sys
LoadOrderGroup = Extended Base


[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
MSFT = "VIA Technologies, Inc"
StdMfg = "(Standard system devices)"
DiskId1 = "Toaster Bus Installation Disk #1"
ToasterBus.DeviceDesc = "VIA USB TransmitX"
viausbd.SVCDESC = "VIA USB Device Console"

