;/*++
;
;Copyright (c) 2013-2016 Intel Corporation
;
;Module Name:
;    iaLPSS2_UART2_ADL.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/15/2022,30.100.2212.4
CatalogFile = iaLPSS2_UART2_ADL.cat
PnpLockdown=1

[DestinationDirs]
DefaultDestDir = 13

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

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

[SourceDisksFiles]
iaLPSS2_UART2_ADL.sys  = 1,,

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

[ControlFlags]
ExcludeFromSelect=*

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

; For XP and later
[Intel.NTamd64.10.0]
; DisplayName               Section             DeviceId
; -----------               -------             --------
%iaLPSS2_UART2_ADL.DeviceDesc1_ADL%= iaLPSS2_UART2_ADL_Inst, PCI\VEN_8086&DEV_7AA8
%iaLPSS2_UART2_ADL.DeviceDesc2_ADL%= iaLPSS2_UART2_ADL_Inst, PCI\VEN_8086&DEV_7AA9
%iaLPSS2_UART2_ADL.DeviceDesc3_ADL%= iaLPSS2_UART2_ADL_Inst, PCI\VEN_8086&DEV_7AFE
%iaLPSS2_UART2_ADL.DeviceDesc4_ADL%= iaLPSS2_UART2_ADL_Inst, PCI\VEN_8086&DEV_7ADC
%iaLPSS2_UART2_ADL.DeviceDesc11_ADL%= iaLPSS2_UART2_ADL_Inst, PCI\VEN_8086&DEV_51A8
%iaLPSS2_UART2_ADL.DeviceDesc12_ADL%= iaLPSS2_UART2_ADL_Inst, PCI\VEN_8086&DEV_51A9
%iaLPSS2_UART2_ADL.DeviceDesc13_ADL%= iaLPSS2_UART2_ADL_Inst, PCI\VEN_8086&DEV_51C7
%iaLPSS2_UART2_ADL.DeviceDesc14_ADL%= iaLPSS2_UART2_ADL_Inst, PCI\VEN_8086&DEV_51DA
%iaLPSS2_UART2_ADL.DeviceDesc15_ADL%= iaLPSS2_UART2_ADL_Inst, PCI\VEN_8086&DEV_51DB
%iaLPSS2_UART2_ADL.DeviceDesc16_ADL%= iaLPSS2_UART2_ADL_Inst, PCI\VEN_8086&DEV_51DC
%iaLPSS2_UART2_ADL.DeviceDesc17_ADL%= iaLPSS2_UART2_ADL_Inst, PCI\VEN_8086&DEV_51DD

[iaLPSS2_UART2_ADL_Inst.NT]
CopyFiles=Drivers_Dir
AddProperty=WDTFSOCDeviceCategory

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

[Drivers_Dir]
iaLPSS2_UART2_ADL.sys

[iaLPSS2_UART2_ADL_Inst.NT.HW]
AddReg=iaLPSS2_UART2_ADL_Inst.NT.HW.AddReg

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

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

[iaLPSS2_UART2_ADL_ETW_Inst]
ProviderName  = Intel-iaLPSS2-UART2
ResourceFile  = %13%\iaLPSS2_UART2_ADL.sys
MessageFile   = %13%\iaLPSS2_UART2_ADL.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_ADL_Inst.NT.Services]
AddService = iaLPSS2_UART2_ADL,%SPSVCINST_ASSOCSERVICE%, iaLPSS2_UART2_ADL_Service_Inst, iaLPSS2_UART2_ADL_EventLog_Inst, System, Intel-iaLPSS2-UART2

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

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



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

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
INTEL = "Intel Corporation"
DiskId1 = "Intel(R) Serial IO Installation Disk"
iaLPSS2_UART2_ADL.DeviceDesc1_ADL = "Intel(R) Serial IO UART Host Controller - 7AA8"
iaLPSS2_UART2_ADL.DeviceDesc2_ADL = "Intel(R) Serial IO UART Host Controller - 7AA9"
iaLPSS2_UART2_ADL.DeviceDesc3_ADL = "Intel(R) Serial IO UART Host Controller - 7AFE"
iaLPSS2_UART2_ADL.DeviceDesc4_ADL = "Intel(R) Serial IO UART Host Controller - 7ADC"
iaLPSS2_UART2_ADL.DeviceDesc11_ADL = "Intel(R) Serial IO UART Host Controller - 51A8"
iaLPSS2_UART2_ADL.DeviceDesc12_ADL = "Intel(R) Serial IO UART Host Controller - 51A9"
iaLPSS2_UART2_ADL.DeviceDesc13_ADL = "Intel(R) Serial IO UART Host Controller - 51C7"
iaLPSS2_UART2_ADL.DeviceDesc14_ADL = "Intel(R) Serial IO UART Host Controller - 51DA"
iaLPSS2_UART2_ADL.DeviceDesc15_ADL = "Intel(R) Serial IO UART Host Controller - 51DB"
iaLPSS2_UART2_ADL.DeviceDesc16_ADL = "Intel(R) Serial IO UART Host Controller - 51DC"
iaLPSS2_UART2_ADL.DeviceDesc17_ADL = "Intel(R) Serial IO UART Host Controller - 51DD"
iaLPSS2_UART2_ADL.SVCDESC = "Intel(R) Serial IO UART Driver v2"

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

[PackageInfo]
Name=iaLPSS2_UART2_ADL.x64.100
