;/*++
;
;Copyright (c) 2010-2013, Intel Corporation
;
;Abstract:
;    INF file for installing Thunderbolt Native Host Interface driver
;
;--*/

[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%Intel%
DriverVer=06/11/2013,1.3.0.17
CatalogFile=trw80i.cat

[DestinationDirs]
DefaultDestDir = 12
NhiCoInstallerCopyFiles = 11

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

[SourceDisksFiles]
trw80i.sys  = 1,,
tbtco80i.dll = 1,,

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

[Manufacturer]
%Intel%=Thunderbolt, NTx86.6.2.1

[Thunderbolt.NTx86.6.2.1]
; DisplayName	    Section		DeviceId
; -----------		-------		--------
%NHI.DeviceDesc1566% = NHI_Device,	PCI\VEN_8086&DEV_1566&CC_0880
%NHI.DeviceDesc1568% = NHI_Device,	PCI\VEN_8086&DEV_1568&CC_0880

[NHI_Device.NT]
CopyFiles = Drivers_Dir

[Drivers_Dir]
trw80i.sys

;-------------- Service installation
[NHI_Device.NT.Services]
AddService = nhi,%SPSVCINST_ASSOCSERVICE%, NHI_Service_Inst

[NHI_Device.NT.CoInstallers]
AddReg    = NhiCoInstallerReg
CopyFiles = NhiCoInstallerCopyFiles

[NHI_Device.NT.HW]
AddReg = MSI.reg
AddReg = Security.reg

[MSI.reg]
HKR, "Interrupt Management", 0x00000010
HKR, "Interrupt Management\MessageSignaledInterruptProperties", 0x00000010
HKR, "Interrupt Management\MessageSignaledInterruptProperties", MSISupported, 0x00010001, 1
HKR, "Interrupt Management\MessageSignaledInterruptProperties", MessageNumberLimit, 0x00010001, 1

[NHI_Device.NT.WMI]
WMIInterface = {D1358209-C7FF-4D55-92AB-AC9645537BF3},1,WMISecurity

[WmiSecurity]
security = "O:BAG:BAD:P(A;;GA;;;SY)(A;;GA;;;BA)(A;;GA;;;WD)"

[Security.reg]
HKR,,DeviceCharacteristics,0x10001,0x100
HKR,,Security,,"D:P(A;;GA;;;SY)(A;;GA;;;BA)(A;;GR;;;WD)"

;*****************************************
; NHI  CoInstaller Section
;*****************************************
[NhiCoInstallerReg]
HKR,,CoInstallers32, 0x00010000, "tbtco80i.dll,TbtCoInstaller"

[NhiCoInstallerCopyFiles]
tbtco80i.dll

; -------------- Nhi driver install sections
[NHI_Service_Inst]
DisplayName    = %nhi.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\trw80i.sys
LoadOrderGroup = Extended Base

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
Intel = "Intel(R) Corporation"
StdMfg = "(Standard system devices)"
DiskId1 = "Thunderbolt(TM) Controller Installation Disk #1"
NHI.DeviceDesc1566 = "Thunderbolt(TM) Controller - 1566"
NHI.DeviceDesc1568 = "Thunderbolt(TM) Controller - 1568"
nhi.SVCDESC = "Thunderbolt(TM) Controller"

