;/*++
;
;Copyright (c) 2013-2014 Intel Corporation
;
;Module Name:
;    iaLPSS2_UART2_CNL.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 = 05/12/2020,30.100.2020.7
CatalogFile = iaLPSS2_UART2_CNL.cat

[DestinationDirs]
DefaultDestDir = 13

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

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

[SourceDisksFiles]
iaLPSS2_UART2_CNL.sys  = 1,,

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

[ControlFlags]
ExcludeFromSelect=*

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

; For XP and later
[Intel.NTamd64.10.0]
; DisplayName               Section             DeviceId
; -----------               -------             --------
%iaLPSS2_UART2_CNL.DeviceDesc1_CNL%= iaLPSS2_UART2_CNL_Inst,   PCI\VEN_8086&DEV_9DA8
%iaLPSS2_UART2_CNL.DeviceDesc2_CNL%= iaLPSS2_UART2_CNL_Inst,   PCI\VEN_8086&DEV_9DA9
%iaLPSS2_UART2_CNL.DeviceDesc3_CNL%= iaLPSS2_UART2_CNL_Inst,   PCI\VEN_8086&DEV_9DC7
%iaLPSS2_UART2_CNL.DeviceDesc11_CNL%= iaLPSS2_UART2_CNL_Inst,   PCI\VEN_8086&DEV_A328
%iaLPSS2_UART2_CNL.DeviceDesc12_CNL%= iaLPSS2_UART2_CNL_Inst,   PCI\VEN_8086&DEV_A329
%iaLPSS2_UART2_CNL.DeviceDesc13_CNL%= iaLPSS2_UART2_CNL_Inst,   PCI\VEN_8086&DEV_A347
%iaLPSS2_UART2_CNL.DeviceDesc1_CML%= iaLPSS2_UART2_CNL_Inst,   PCI\VEN_8086&DEV_02A8
%iaLPSS2_UART2_CNL.DeviceDesc2_CML%= iaLPSS2_UART2_CNL_Inst,   PCI\VEN_8086&DEV_02A9
%iaLPSS2_UART2_CNL.DeviceDesc3_CML%= iaLPSS2_UART2_CNL_Inst,   PCI\VEN_8086&DEV_02C7
%iaLPSS2_UART2_CNL.DeviceDesc11_CML%= iaLPSS2_UART2_CNL_Inst,   PCI\VEN_8086&DEV_06A8
%iaLPSS2_UART2_CNL.DeviceDesc12_CML%= iaLPSS2_UART2_CNL_Inst,   PCI\VEN_8086&DEV_06A9
%iaLPSS2_UART2_CNL.DeviceDesc13_CML%= iaLPSS2_UART2_CNL_Inst,   PCI\VEN_8086&DEV_06C7

[iaLPSS2_UART2_CNL_Inst.NT]
CopyFiles=Drivers_Dir
AddProperty=WDTFSOCDeviceCategory

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

[Drivers_Dir]
iaLPSS2_UART2_CNL.sys

[iaLPSS2_UART2_CNL_Inst.NT.HW]
AddReg=iaLPSS2_UART2_CNL_Inst.NT.HW.AddReg

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

;-------------- Service installation
[iaLPSS2_UART2_CNL_Inst.NT.Services]
AddService = iaLPSS2_UART2_CNL,%SPSVCINST_ASSOCSERVICE%, iaLPSS2_UART2_CNL_Service_Inst, iaLPSS2_UART2_CNL_EventLog_Inst, System, Intel-iaLPSS2-UART2

;-------------- Registry installation
[iaLPSS2_UART2_CNL_EventLog_Inst]
AddReg=iaLPSS2_UART2_CNL_EventLog_Inst.AddReg, iaLPSS2_UART2_CNL_ETW.AddReg

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

[iaLPSS2_UART2_CNL_ETW.AddReg]
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Intel-iaLPSS2-UART2/Analytic","OwningPublisher",0x0,"{B87CAA6F-37A7-4F09-8DC4-D15572C5904E}"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Intel-iaLPSS2-UART2/Analytic","Enabled",0x00010001,0
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Intel-iaLPSS2-UART2/Analytic","Isolation",0x00010001,1
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Intel-iaLPSS2-UART2/Analytic","ChannelAccess",0x0,"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)"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Intel-iaLPSS2-UART2/Analytic","Type",0x00010001,2
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{B87CAA6F-37A7-4F09-8DC4-D15572C5904E}",,0x0,"Intel-iaLPSS2-UART2"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{B87CAA6F-37A7-4F09-8DC4-D15572C5904E}","ResourceFileName",0x00020000,"%%SystemRoot%%\system32\drivers\iaLPSS2_UART2_CNL.sys"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{B87CAA6F-37A7-4F09-8DC4-D15572C5904E}","MessageFileName",0x00020000,"%%SystemRoot%%\system32\drivers\iaLPSS2_UART2_CNL.sys"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{B87CAA6F-37A7-4F09-8DC4-D15572C5904E}","Enabled",0x00010001,1
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{B87CAA6F-37A7-4F09-8DC4-D15572C5904E}\ChannelReferences\0",,0x0,"Intel-iaLPSS2-UART2/Analytic"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{B87CAA6F-37A7-4F09-8DC4-D15572C5904E}\ChannelReferences\0","Id",0x00010001,16
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{B87CAA6F-37A7-4F09-8DC4-D15572C5904E}\ChannelReferences\0","Flags",0x00010001,0
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{B87CAA6F-37A7-4F09-8DC4-D15572C5904E}\ChannelReferences","Count",0x00010001,1


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

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
INTEL = "Intel Corporation"
DiskId1 = "Intel(R) Serial IO Installation Disk"
iaLPSS2_UART2_CNL.DeviceDesc1_CNL = "Intel(R) Serial IO UART Host Controller - 9DA8"
iaLPSS2_UART2_CNL.DeviceDesc2_CNL = "Intel(R) Serial IO UART Host Controller - 9DA9"
iaLPSS2_UART2_CNL.DeviceDesc3_CNL = "Intel(R) Serial IO UART Host Controller - 9DC7"
iaLPSS2_UART2_CNL.DeviceDesc11_CNL = "Intel(R) Serial IO UART Host Controller - A328"
iaLPSS2_UART2_CNL.DeviceDesc12_CNL = "Intel(R) Serial IO UART Host Controller - A329"
iaLPSS2_UART2_CNL.DeviceDesc13_CNL = "Intel(R) Serial IO UART Host Controller - A347"
iaLPSS2_UART2_CNL.DeviceDesc1_CML = "Intel(R) Serial IO UART Host Controller - 02A8"
iaLPSS2_UART2_CNL.DeviceDesc2_CML = "Intel(R) Serial IO UART Host Controller - 02A9"
iaLPSS2_UART2_CNL.DeviceDesc3_CML = "Intel(R) Serial IO UART Host Controller - 02C7"
iaLPSS2_UART2_CNL.DeviceDesc11_CML = "Intel(R) Serial IO UART Host Controller - 06A8"
iaLPSS2_UART2_CNL.DeviceDesc12_CML = "Intel(R) Serial IO UART Host Controller - 06A9"
iaLPSS2_UART2_CNL.DeviceDesc13_CML = "Intel(R) Serial IO UART Host Controller - 06C7"
iaLPSS2_UART2_CNL.SVCDESC = "Intel(R) Serial IO UART Driver v2"

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

[PackageInfo]
Name=iaLPSS2_UART2_CNL.x64.100
