;/*++
;
;Copyright (c) 2013-2014 Intel Corporation
;
;Module Name:
;    iaLPSS2_UART2_TGL.inf
;
;Abstract:
;    INF file for installing the Intel(R) Serial IO UART Driver
;
;--*/

[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%INTEL%
DriverVer = 07/13/2021,30.100.2129.8
CatalogFile = iaLPSS2_UART2_TGL.cat
PnpLockdown=1

[DestinationDirs]
DefaultDestDir = 13

; ================= Class section =====================

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

[SourceDisksFiles]
iaLPSS2_UART2_TGL.sys  = 1,,

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

[ControlFlags]
ExcludeFromSelect=*

[Manufacturer]
%INTEL%=Intel,NTamd64.10.0

; For XP and later
[Intel.NTamd64.10.0]
; DisplayName               Section             DeviceId
; -----------               -------             --------
%iaLPSS2_UART2_TGL.DeviceDesc1_TGL%= iaLPSS2_UART2_TGL_Inst,   PCI\VEN_8086&DEV_A0A8
%iaLPSS2_UART2_TGL.DeviceDesc2_TGL%= iaLPSS2_UART2_TGL_Inst,   PCI\VEN_8086&DEV_A0A9
%iaLPSS2_UART2_TGL.DeviceDesc3_TGL%= iaLPSS2_UART2_TGL_Inst,   PCI\VEN_8086&DEV_A0C7
%iaLPSS2_UART2_TGL.DeviceDesc11_TGL%= iaLPSS2_UART2_TGL_Inst,   PCI\VEN_8086&DEV_A0DA
%iaLPSS2_UART2_TGL.DeviceDesc12_TGL%= iaLPSS2_UART2_TGL_Inst,   PCI\VEN_8086&DEV_A0DB
%iaLPSS2_UART2_TGL.DeviceDesc13_TGL%= iaLPSS2_UART2_TGL_Inst,   PCI\VEN_8086&DEV_A0DC
%iaLPSS2_UART2_TGL.DeviceDesc21_TGL%= iaLPSS2_UART2_TGL_Inst,   PCI\VEN_8086&DEV_A0DD
%iaLPSS2_UART2_TGL.DeviceDesc31_TGL%= iaLPSS2_UART2_TGL_Inst,   PCI\VEN_8086&DEV_43A8
%iaLPSS2_UART2_TGL.DeviceDesc32_TGL%= iaLPSS2_UART2_TGL_Inst,   PCI\VEN_8086&DEV_43A9
%iaLPSS2_UART2_TGL.DeviceDesc33_TGL%= iaLPSS2_UART2_TGL_Inst,   PCI\VEN_8086&DEV_43A7
%iaLPSS2_UART2_TGL.DeviceDesc34_TGL%= iaLPSS2_UART2_TGL_Inst,   PCI\VEN_8086&DEV_43DA
[iaLPSS2_UART2_TGL_Inst.NT]
CopyFiles=Drivers_Dir
AddProperty=WDTFSOCDeviceCategory

[WDTFSOCDeviceCategory]
{5D078032-6378-437B-8DA5-9B32B7CA3FDD},2,7,,0

[Drivers_Dir]
iaLPSS2_UART2_TGL.sys

[iaLPSS2_UART2_TGL_Inst.NT.HW]
AddReg=iaLPSS2_UART2_TGL_Inst.NT.HW.AddReg

[iaLPSS2_UART2_TGL_Inst.NT.HW.AddReg]
HKR,"WDF","WdfDirectedPowerTransitionEnable",0x00010001,1

; -------------- ETW Provider
[iaLPSS2_UART2_TGL_Inst.NT.Events]
AddEventProvider={B87CAA6F-37A7-4F09-8DC4-D15572C5904E}, iaLPSS2_UART2_TGL_ETW_Inst

[iaLPSS2_UART2_TGL_ETW_Inst]
ProviderName  = Intel-iaLPSS2-UART2
ResourceFile  = %13%\iaLPSS2_UART2_TGL.sys
MessageFile   = %13%\iaLPSS2_UART2_TGL.sys
AddChannel    = Intel-iaLPSS2-UART2/Analytic,0x2,Analytic_Channel_Inst

[Analytic_Channel_Inst]
Isolation         = 1
Access            = "O:BAG:SYD:(A;;0xf0007;;;SY)(A;;0x7;;;BA)(A;;0x3;;;BO)(A;;0x5;;;SO)(A;;0x1;;;IU)(A;;0x3;;;SU)(A;;0x1;;;S-1-5-3)(A;;0x2;;;S-1-5-33)(A;;0x1;;;S-1-5-32-573)"
Enabled           = 0

;-------------- Service installation
[iaLPSS2_UART2_TGL_Inst.NT.Services]
AddService = iaLPSS2_UART2_TGL,%SPSVCINST_ASSOCSERVICE%, iaLPSS2_UART2_TGL_Service_Inst, iaLPSS2_UART2_TGL_EventLog_Inst, System, Intel-iaLPSS2-UART2

;-------------- Registry installation
[iaLPSS2_UART2_TGL_EventLog_Inst]
AddReg=iaLPSS2_UART2_TGL_EventLog_Inst.AddReg

[iaLPSS2_UART2_TGL_EventLog_Inst.AddReg]
HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\system32\drivers\iaLPSS2_UART2_TGL.sys"
HKR,, TypesSupported,   0x00010001, 7
HKR,, ProviderGuid,     0x00000000, "{B87CAA6F-37A7-4F09-8DC4-D15572C5904E}"

; -------------- iaLPSS2_UART2_TGL driver install sections
[iaLPSS2_UART2_TGL_Service_Inst]
DisplayName    = %iaLPSS2_UART2_TGL.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %13%\iaLPSS2_UART2_TGL.sys
LoadOrderGroup = Extended Base
Dependencies   = SerCx

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
INTEL = "Intel Corporation"
DiskId1 = "Intel(R) Serial IO Installation Disk"
iaLPSS2_UART2_TGL.DeviceDesc1_TGL = "Intel(R) Serial IO UART Host Controller - A0A8"
iaLPSS2_UART2_TGL.DeviceDesc2_TGL = "Intel(R) Serial IO UART Host Controller - A0A9"
iaLPSS2_UART2_TGL.DeviceDesc3_TGL = "Intel(R) Serial IO UART Host Controller - A0C7"
iaLPSS2_UART2_TGL.DeviceDesc11_TGL = "Intel(R) Serial IO UART Host Controller - A0DA"
iaLPSS2_UART2_TGL.DeviceDesc12_TGL = "Intel(R) Serial IO UART Host Controller - A0DB"
iaLPSS2_UART2_TGL.DeviceDesc13_TGL = "Intel(R) Serial IO UART Host Controller - A0DC"
iaLPSS2_UART2_TGL.DeviceDesc21_TGL = "Intel(R) Serial IO UART Host Controller - A0DD"
iaLPSS2_UART2_TGL.DeviceDesc31_TGL = "Intel(R) Serial IO UART Host Controller - 43A8"
iaLPSS2_UART2_TGL.DeviceDesc32_TGL = "Intel(R) Serial IO UART Host Controller - 43A9"
iaLPSS2_UART2_TGL.DeviceDesc33_TGL = "Intel(R) Serial IO UART Host Controller - 43A7"
iaLPSS2_UART2_TGL.DeviceDesc34_TGL = "Intel(R) Serial IO UART Host Controller - 43DA"
iaLPSS2_UART2_TGL.SVCDESC = "Intel(R) Serial IO UART Driver v2"

;--------------------------------

[PackageInfo]
Name=iaLPSS2_UART2_TGL.x64.100
