;/*++
;
;Copyright (c) 2013-2016 Intel Corporation
;
;Module Name:
;    iaLPSS2_UART2_LKF.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 = 03/25/2020,30.100.2013.4
CatalogFile = iaLPSS2_UART2_LKF.cat
PnpLockdown=1

[DestinationDirs]
DefaultDestDir = 13

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

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

[SourceDisksFiles]
iaLPSS2_UART2_LKF.sys  = 1,,

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

[ControlFlags]
ExcludeFromSelect=*

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

; For XP and later
[Intel.NTamd64.10.0]
; DisplayName               Section             DeviceId
; -----------               -------             --------
%iaLPSS2_UART2_LKF.DeviceDesc1_LKF%= iaLPSS2_UART2_LKF_Inst,   PCI\VEN_8086&DEV_98A8
%iaLPSS2_UART2_LKF.DeviceDesc2_LKF%= iaLPSS2_UART2_LKF_Inst,   PCI\VEN_8086&DEV_98A9
%iaLPSS2_UART2_LKF.DeviceDesc3_LKF%= iaLPSS2_UART2_LKF_Inst,   PCI\VEN_8086&DEV_98C7

[iaLPSS2_UART2_LKF_Inst.NT]
CopyFiles=Drivers_Dir
AddProperty=WDTFSOCDeviceCategory

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

[Drivers_Dir]
iaLPSS2_UART2_LKF.sys

[iaLPSS2_UART2_LKF_Inst.NT.HW]
AddReg=iaLPSS2_UART2_LKF_Inst.NT.HW.AddReg

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

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

[iaLPSS2_UART2_LKF_ETW_Inst]
ProviderName  = Intel-iaLPSS2-UART2
ResourceFile  = %13%\iaLPSS2_UART2_LKF.sys
MessageFile   = %13%\iaLPSS2_UART2_LKF.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_LKF_Inst.NT.Services]
AddService = iaLPSS2_UART2_LKF,%SPSVCINST_ASSOCSERVICE%, iaLPSS2_UART2_LKF_Service_Inst, iaLPSS2_UART2_LKF_EventLog_Inst, System, Intel-iaLPSS2-UART2

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

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

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

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
INTEL = "Intel Corporation"
DiskId1 = "Intel(R) Serial IO Installation Disk"
iaLPSS2_UART2_LKF.DeviceDesc1_LKF = "Intel(R) Serial IO UART Host Controller - 98A8"
iaLPSS2_UART2_LKF.DeviceDesc2_LKF = "Intel(R) Serial IO UART Host Controller - 98A9"
iaLPSS2_UART2_LKF.DeviceDesc3_LKF = "Intel(R) Serial IO UART Host Controller - 98C7"
iaLPSS2_UART2_LKF.SVCDESC = "Intel(R) Serial IO UART Driver v2"

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

[PackageInfo]
Name=iaLPSS2_UART2_LKF.x64.100
