;/*++
;
;Copyright (c) 2014 Intel Corporation
;
;Module Name:
;    iaLPSS2_I2C_CNL.inf
;
;Abstract:
;    INF file for installing the Intel(R) Serial IO I2C driver
;
;--*/

[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%INTEL%
DriverVer = 11/22/2019,30.100.1947.3
CatalogFile=iaLPSS2_I2C_CNL.cat

[DestinationDirs]
DefaultDestDir = 13

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

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

[SourceDisksFiles]
iaLPSS2_I2C_CNL.sys  = 1,,

;*****************************************
; iaLPSS2_I2C_CNL  Install Section
;*****************************************

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

[Intel.NTamd64.10.0]
%iaLPSS2_I2C_CNL.DeviceDesc_0%=iaLPSS2_I2C_CNL_Device, PCI\VEN_8086&DEV_9DE8
%iaLPSS2_I2C_CNL.DeviceDesc_1%=iaLPSS2_I2C_CNL_Device, PCI\VEN_8086&DEV_9DE9
%iaLPSS2_I2C_CNL.DeviceDesc_2%=iaLPSS2_I2C_CNL_Device, PCI\VEN_8086&DEV_9DEA
%iaLPSS2_I2C_CNL.DeviceDesc_3%=iaLPSS2_I2C_CNL_Device, PCI\VEN_8086&DEV_9DEB
%iaLPSS2_I2C_CNL.DeviceDesc_4%=iaLPSS2_I2C_CNL_Device, PCI\VEN_8086&DEV_9DC5
%iaLPSS2_I2C_CNL.DeviceDesc_5%=iaLPSS2_I2C_CNL_Device, PCI\VEN_8086&DEV_9DC6
%iaLPSS2_I2C_CNL.DeviceDesc_10%=iaLPSS2_I2C_CNL_Device, PCI\VEN_8086&DEV_A368
%iaLPSS2_I2C_CNL.DeviceDesc_11%=iaLPSS2_I2C_CNL_Device, PCI\VEN_8086&DEV_A369
%iaLPSS2_I2C_CNL.DeviceDesc_12%=iaLPSS2_I2C_CNL_Device, PCI\VEN_8086&DEV_A36A
%iaLPSS2_I2C_CNL.DeviceDesc_13%=iaLPSS2_I2C_CNL_Device, PCI\VEN_8086&DEV_A36B
%iaLPSS2_I2C_CNL.DeviceDesc_20%=iaLPSS2_I2C_CNL_Device, PCI\VEN_8086&DEV_02E8
%iaLPSS2_I2C_CNL.DeviceDesc_21%=iaLPSS2_I2C_CNL_Device, PCI\VEN_8086&DEV_02E9
%iaLPSS2_I2C_CNL.DeviceDesc_22%=iaLPSS2_I2C_CNL_Device, PCI\VEN_8086&DEV_02EA
%iaLPSS2_I2C_CNL.DeviceDesc_23%=iaLPSS2_I2C_CNL_Device, PCI\VEN_8086&DEV_02EB
%iaLPSS2_I2C_CNL.DeviceDesc_24%=iaLPSS2_I2C_CNL_Device, PCI\VEN_8086&DEV_02C5
%iaLPSS2_I2C_CNL.DeviceDesc_25%=iaLPSS2_I2C_CNL_Device, PCI\VEN_8086&DEV_02C6
%iaLPSS2_I2C_CNL.DeviceDesc_30%=iaLPSS2_I2C_CNL_Device, PCI\VEN_8086&DEV_06E8
%iaLPSS2_I2C_CNL.DeviceDesc_31%=iaLPSS2_I2C_CNL_Device, PCI\VEN_8086&DEV_06E9
%iaLPSS2_I2C_CNL.DeviceDesc_32%=iaLPSS2_I2C_CNL_Device, PCI\VEN_8086&DEV_06EA
%iaLPSS2_I2C_CNL.DeviceDesc_33%=iaLPSS2_I2C_CNL_Device, PCI\VEN_8086&DEV_06EB

[iaLPSS2_I2C_CNL_Device.NT]
CopyFiles=Drivers_Dir
AddProperty=WDTFSOCDeviceCategory

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

[Drivers_Dir]
iaLPSS2_I2C_CNL.sys

[iaLPSS2_I2C_CNL_Device.NT.HW]
AddReg=iaLPSS2_I2C_CNL_Device.NT.HW.AddReg

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

;-------------- Service installation
[iaLPSS2_I2C_CNL_Device.NT.Services]
AddService = iaLPSS2_I2C_CNL,%SPSVCINST_ASSOCSERVICE%, iaLPSS2_I2C_CNL_Service_Inst, iaLPSS2_I2C_CNL_EventLog_Inst, System, Intel-iaLPSS2-I2C

;-------------- Registry installation
[iaLPSS2_I2C_CNL_EventLog_Inst]
AddReg=iaLPSS2_I2C_CNL_EventLog_Inst.AddReg, iaLPSS2_I2C_CNL_ETW.AddReg

[iaLPSS2_I2C_CNL_EventLog_Inst.AddReg]
HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\system32\drivers\iaLPSS2_I2C_CNL.sys"
HKR,, TypesSupported,   0x00010001, 7
HKR,, ProviderGuid,     0x00000000, "{C2F86198-03CA-4771-8D4C-CE6E15CBCA56}"

[iaLPSS2_I2C_CNL_ETW.AddReg]
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Intel-iaLPSS2-I2C/Debug","OwningPublisher",0x0,"{C2F86198-03CA-4771-8D4C-CE6E15CBCA56}"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Intel-iaLPSS2-I2C/Debug","Enabled",0x00010001,0
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Intel-iaLPSS2-I2C/Debug","Isolation",0x00010001,1
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Intel-iaLPSS2-I2C/Debug","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-I2C/Debug","Type",0x00010001,2
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Intel-iaLPSS2-I2C/Performance","OwningPublisher",0x0,"{C2F86198-03CA-4771-8D4C-CE6E15CBCA56}"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Intel-iaLPSS2-I2C/Performance","Enabled",0x00010001,0
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Intel-iaLPSS2-I2C/Performance","Isolation",0x00010001,1
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Intel-iaLPSS2-I2C/Performance","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-I2C/Performance","Type",0x00010001,2
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{C2F86198-03CA-4771-8D4C-CE6E15CBCA56}",,0x0,"Intel-iaLPSS2-I2C"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{C2F86198-03CA-4771-8D4C-CE6E15CBCA56}","ResourceFileName",0x00020000,"%%SystemRoot%%\system32\drivers\iaLPSS2_I2C_CNL.sys"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{C2F86198-03CA-4771-8D4C-CE6E15CBCA56}","MessageFileName",0x00020000,"%%SystemRoot%%\system32\drivers\iaLPSS2_I2C_CNL.sys"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{C2F86198-03CA-4771-8D4C-CE6E15CBCA56}","Enabled",0x00010001,1
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{C2F86198-03CA-4771-8D4C-CE6E15CBCA56}\ChannelReferences\0",,0x0,"Intel-iaLPSS2-I2C/Debug"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{C2F86198-03CA-4771-8D4C-CE6E15CBCA56}\ChannelReferences\0","Id",0x00010001,16
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{C2F86198-03CA-4771-8D4C-CE6E15CBCA56}\ChannelReferences\0","Flags",0x00010001,0
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{C2F86198-03CA-4771-8D4C-CE6E15CBCA56}\ChannelReferences\1",,0x0,"Intel-iaLPSS2-I2C/Performance"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{C2F86198-03CA-4771-8D4C-CE6E15CBCA56}\ChannelReferences\1","Id",0x00010001,17
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{C2F86198-03CA-4771-8D4C-CE6E15CBCA56}\ChannelReferences\1","Flags",0x00010001,0
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{C2F86198-03CA-4771-8D4C-CE6E15CBCA56}\ChannelReferences","Count",0x00010001,2


; -------------- iaLPSS2_I2C_CNL driver install sections
[iaLPSS2_I2C_CNL_Service_Inst]
DisplayName    = %iaLPSS2_I2C_CNL.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %13%\iaLPSS2_I2C_CNL.sys
LoadOrderGroup = Base
Dependencies   = SpbCx

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
INTEL = "Intel Corporation"
DiskId1 = "Intel(R) Serial IO Installation Disk"
iaLPSS2_I2C_CNL.DeviceDesc_0 = "Intel(R) Serial IO I2C Host Controller - 9DE8"
iaLPSS2_I2C_CNL.DeviceDesc_1 = "Intel(R) Serial IO I2C Host Controller - 9DE9"
iaLPSS2_I2C_CNL.DeviceDesc_2 = "Intel(R) Serial IO I2C Host Controller - 9DEA"
iaLPSS2_I2C_CNL.DeviceDesc_3 = "Intel(R) Serial IO I2C Host Controller - 9DEB"
iaLPSS2_I2C_CNL.DeviceDesc_4 = "Intel(R) Serial IO I2C Host Controller - 9DC5"
iaLPSS2_I2C_CNL.DeviceDesc_5 = "Intel(R) Serial IO I2C Host Controller - 9DC6"
iaLPSS2_I2C_CNL.DeviceDesc_10 = "Intel(R) Serial IO I2C Host Controller - A368"
iaLPSS2_I2C_CNL.DeviceDesc_11 = "Intel(R) Serial IO I2C Host Controller - A369"
iaLPSS2_I2C_CNL.DeviceDesc_12 = "Intel(R) Serial IO I2C Host Controller - A36A"
iaLPSS2_I2C_CNL.DeviceDesc_13 = "Intel(R) Serial IO I2C Host Controller - A36B"
iaLPSS2_I2C_CNL.DeviceDesc_20 = "Intel(R) Serial IO I2C Host Controller - 02E8"
iaLPSS2_I2C_CNL.DeviceDesc_21 = "Intel(R) Serial IO I2C Host Controller - 02E9"
iaLPSS2_I2C_CNL.DeviceDesc_22 = "Intel(R) Serial IO I2C Host Controller - 02EA"
iaLPSS2_I2C_CNL.DeviceDesc_23 = "Intel(R) Serial IO I2C Host Controller - 02EB"
iaLPSS2_I2C_CNL.DeviceDesc_24 = "Intel(R) Serial IO I2C Host Controller - 02C5"
iaLPSS2_I2C_CNL.DeviceDesc_25 = "Intel(R) Serial IO I2C Host Controller - 02C6"
iaLPSS2_I2C_CNL.DeviceDesc_30 = "Intel(R) Serial IO I2C Host Controller - 06E8"
iaLPSS2_I2C_CNL.DeviceDesc_31 = "Intel(R) Serial IO I2C Host Controller - 06E9"
iaLPSS2_I2C_CNL.DeviceDesc_32 = "Intel(R) Serial IO I2C Host Controller - 06EA"
iaLPSS2_I2C_CNL.DeviceDesc_33 = "Intel(R) Serial IO I2C Host Controller - 06EB"
iaLPSS2_I2C_CNL.SVCDESC = "Intel(R) Serial IO I2C Driver v2"

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

[PackageInfo]
Name=iaLPSS2_I2C_CNL.x64.100
