;/*++
;
;Copyright (c) 2013-2014 Intel Corporation
;
;Module Name:
;    iaLPSS2_UART2_SKL.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=01/14/2016,30.63.1603.05
CatalogFile = iaLPSS2_UART2_SKL.cat

[DestinationDirs]
DefaultDestDir = 12

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

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

[SourceDisksFiles]
iaLPSS2_UART2.sys  = 1,,

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

[ControlFlags]
ExcludeFromSelect=*

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

; For XP and later
[Intel.NTamd64.6.3]
; DisplayName               Section             DeviceId
; -----------               -------             --------
%iaLPSS2_UART2.DeviceDesc1_SPT%= iaLPSS2_UART2_Inst,   PCI\VEN_8086&DEV_9D27
%iaLPSS2_UART2.DeviceDesc2_SPT%= iaLPSS2_UART2_Inst,   PCI\VEN_8086&DEV_9D28
%iaLPSS2_UART2.DeviceDesc3_SPT%= iaLPSS2_UART2_Inst,   PCI\VEN_8086&DEV_9D66
%iaLPSS2_UART2.DeviceDesc11_SPT%= iaLPSS2_UART2_Inst,   PCI\VEN_8086&DEV_A127
%iaLPSS2_UART2.DeviceDesc12_SPT%= iaLPSS2_UART2_Inst,   PCI\VEN_8086&DEV_A128
%iaLPSS2_UART2.DeviceDesc13_SPT%= iaLPSS2_UART2_Inst,   PCI\VEN_8086&DEV_A166

[iaLPSS2_UART2_Inst.NT]
CopyFiles=Drivers_Dir
AddProperty=WDTFSOCDeviceCategory

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

[Drivers_Dir]
iaLPSS2_UART2.sys

;-------------- Service installation
[iaLPSS2_UART2_Inst.NT.Services]
AddService = iaLPSS2_UART2,%SPSVCINST_ASSOCSERVICE%, iaLPSS2_UART2_Service_Inst, iaLPSS2_UART2_EventLog_Inst, System, Intel-iaLPSS2-UART2

;-------------- Registry installation
[iaLPSS2_UART2_EventLog_Inst]
AddReg=iaLPSS2_UART2_EventLog_Inst.AddReg, iaLPSS2_UART2_ETW.AddReg

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

[iaLPSS2_UART2_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.sys"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{B87CAA6F-37A7-4F09-8DC4-D15572C5904E}","MessageFileName",0x00020000,"%%SystemRoot%%\system32\drivers\iaLPSS2_UART2.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 driver install sections
[iaLPSS2_UART2_Service_Inst]
DisplayName    = %iaLPSS2_UART2.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\iaLPSS2_UART2.sys
LoadOrderGroup = Extended Base
Dependencies   = SerCx

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
INTEL = "Intel Corporation"
DiskId1 = "Intel(R) Serial IO Installation Disk"
iaLPSS2_UART2.DeviceDesc1_SPT = "Intel(R) Serial IO UART Host Controller - 9D27"
iaLPSS2_UART2.DeviceDesc2_SPT = "Intel(R) Serial IO UART Host Controller - 9D28"
iaLPSS2_UART2.DeviceDesc3_SPT = "Intel(R) Serial IO UART Host Controller - 9D66"
iaLPSS2_UART2.DeviceDesc11_SPT = "Intel(R) Serial IO UART Host Controller - A127"
iaLPSS2_UART2.DeviceDesc12_SPT = "Intel(R) Serial IO UART Host Controller - A128"
iaLPSS2_UART2.DeviceDesc13_SPT = "Intel(R) Serial IO UART Host Controller - A166"
iaLPSS2_UART2.SVCDESC = "Intel(R) Serial IO UART Driver v2"

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

[PackageInfo]
Name=iaLPSS2_UART2_SKL.x64.63
