;/*++
;
;Copyright (c) Microsoft Corporation. All rights reserved.
;
;INF Name:
;    urschipidea.inf
;
;Abstract:
;    INF for installing the USB role switch driver for Chipidea dual-role USB controllers.
;
;--*/

[Version]
Signature   = "$WINDOWS NT$"
Class       = USB
ClassGuid   = {36FC9E60-C465-11CF-8056-444553540000}
Provider    = %MSFT%
PnpLockdown = 1
DriverVer = 06/21/2006,10.0.22621.2506

[SourceDisksNames]
3426 = windows cd

[SourceDisksFiles]
urschipidea.sys = 3426

[DestinationDirs]
UrsChipidea.CopyFiles = 13

[Manufacturer]
%UrsChipidea.Mfg% = UrsChipidea, NTamd64

[UrsChipidea.NTamd64]
%UrsChipidea.DeviceDesc% = UrsChipidea.Install, ACPI\QCOM24B7
%UrsChipidea.DeviceDesc% = UrsChipidea.Install, ACPI\PNP0C90
%UrsChipidea.DeviceDesc% = UrsChipidea.Install, *PNP0C90

[UrsChipidea.Install.NT]
CopyFiles = UrsChipidea.CopyFiles

[UrsChipidea.CopyFiles]
urschipidea.sys

[UrsChipidea.Install.NT.Services]
AddService = UrsChipidea, 2, UrsChipidea.AddService

[UrsChipidea.AddService]
DisplayName     = %UrsChipidea.ServiceName%
ServiceType     = 1     ; SERVICE_KERNEL_DRIVER
StartType       = 3     ; SERVICE_DEMAND_START
ErrorControl    = 1     ; SERVICE_ERROR_NORMAL
ServiceBinary   = %13%\urschipidea.sys
LoadOrderGroup  = Base
Dependencies    = urscx01000
AddReg          = UrsChipidea.AddReg

[UrsChipidea.AddReg]
HKR,,BootFlags,0x00010003,0x4 ; CM_SERVICE_USB_DISK_BOOT_LOAD

[Strings]
MSFT = "Microsoft"
UrsChipidea.Mfg = "Chipidea"
UrsChipidea.DeviceDesc = "Chipidea USB 2.0 Dual-Role Controller"
UrsChipidea.ServiceName = "Chipidea USB Role-Switch Driver"
