;/*++
;
;Module Name:
;
;    TIxHCIfilters.inf
;
; Copyright (c) 2012-2015 Texas Instruments, Inc.
;
;Abstract:
;
;    INF file for installing TI TUSB73x0 xHCI Host Controller Filter Drivers.
;
;--*/

[Version]
Signature="$WINDOWS NT$"
Class=USB
ClassGuid={36fc9e60-c465-11cf-8056-444553540000}
Provider=%TI%
DriverVer=02/06/2015,1.0.0.5
CatalogFile=TIxHCIfilters.cat


;*****************************************
; TI xHCI Filters Install Section
;*****************************************

;For Windows 8 (OS version 6.2) and later.
[Manufacturer]
%TI%=TI,NTx86.6.2,NTamd64.6.2

[TI.NTx86.6.2]
%xhcihost.DeviceDesc%=FilterInstall, PCI\VEN_104C&DEV_8241&REV_02

[TI.NTamd64.6.2]
%xhcihost.DeviceDesc%=FilterInstall, PCI\VEN_104C&DEV_8241&REV_02

[FilterInstall.NT]
Include=usbxhci.inf
Needs=Generic.Install.NT
CopyFiles=FilterInstall.NT.Copy
FeatureScore=80

[FilterInstall.NT.Copy]
TIxHCIlfilter.sys
TIxHCIufilter.sys

[FilterInstall.NT.HW]
Include=usbxhci.inf
Needs=Generic.Install.NT.HW
AddReg=FilterInstall.NT.HW.AddReg

[FilterInstall.NT.HW.AddReg]
HKR,,LowerFilters,0x00010000,"tilfilter"
HKR,,UpperFilters,0x00010000,"tiufilter"
HKR,,DisableRootHubLPM, 0x10001, 1
HKR,,DisableAllSSHubLPM, 0x10001, 1
HKR,,RxThresholdOverrideFlag, 0x10001, 1
HKR,,GlobalUserCtrlOverrideFlag, 0x10001, 1
HKR,,ComplianceRecoveryTimerInterval, 0x10001, 2000 
HKR,,PhySuspendEnable, 0x10001, 1

[FilterInstall.NT.Services]
;Do not specify SPSVCINST_ASSOCSERVICE on filter drivers.
Include=usbxhci.inf
Needs=Generic.Install.NT.Services
AddService=tilfilter,,lfilter_Service_Inst
AddService=tiufilter,,ufilter_Service_Inst

[ufilter_Service_Inst]
DisplayName     = %ufilter.SvcDesc%
ServiceType     = 1                  ; SERVICE_KERNEL_DRIVER
StartType       = 3                  ; SERVICE_DEMAND_START
ErrorControl    = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary   = %12%\TIxHCIufilter.sys

[lfilter_Service_Inst]
DisplayName     = %lfilter.SvcDesc%
ServiceType     = 1                  ; SERVICE_KERNEL_DRIVER
StartType       = 3                  ; SERVICE_DEMAND_START
ErrorControl    = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary   = %12%\TIxHCIlfilter.sys

[FilterInstall.NT.WMI]
Include=usbxhci.inf
Needs=Generic.Install.NT.WMI


;*************************
; Source file information
;*************************

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

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

[SourceDisksFiles]
TIxHCIlfilter.sys = 1,,
TIxHCIufilter.sys = 1,,

[DestinationDirs]
DefaultDestDir = 12      ;system32/drivers

[Strings]
TI                    = "Texas Instruments"
StdMfg                = "(Standard system devices)"
DiskId1               = "TI xHCI Filter Installation Disk #1"
xhcihost.DeviceDesc   = "Texas Instruments USB 3.0 xHCI Host Controller"
ufilter.SvcDesc       = "TI xHCI Upper Filter Driver Service"
lfilter.SvcDesc       = "TI xHCI Lower Filter Driver Service"


