;/*++
;
;Copyright (c) 2015 Intel Corporation
;
;Module Name:
;    iaLPSSi_I2C.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=02/24/2015,1.1.253.0

[DestinationDirs]
DefaultDestDir = 12

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

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

[SourceDisksFiles]
iaLPSSi_I2C.sys  = 1,,

;*****************************************
; iaLPSSi_I2C  Install Section
;*****************************************

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

[Intel.NTamd64.6.3]
%iaLPSSi_I2C.DeviceDesc1_LPT%=iaLPSSi_I2C_Device, ACPI\INT33C2
%iaLPSSi_I2C.DeviceDesc2_LPT%=iaLPSSi_I2C_Device, ACPI\INT33C3
%iaLPSSi_I2C.DeviceDesc1_WPT%=iaLPSSi_I2C_Device, ACPI\INT3432
%iaLPSSi_I2C.DeviceDesc2_WPT%=iaLPSSi_I2C_Device, ACPI\INT3433

[iaLPSSi_I2C_Device.NT]
CopyFiles=Drivers_Dir
AddProperty=WDTFSOCDeviceCategory

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

[Drivers_Dir]
iaLPSSi_I2C.sys


;-------------- Service installation
[iaLPSSi_I2C_Device.NT.Services]
AddService = iaLPSSi_I2C,%SPSVCINST_ASSOCSERVICE%, iaLPSSi_I2C_Service_Inst, iaLPSSi_I2C_EventLog_Inst, System, Intel-iaLPSS-I2C

;-------------- Registry installation
[iaLPSSi_I2C_EventLog_Inst]
AddReg=iaLPSSi_I2C_EventLog_Inst.AddReg, iaLPSSi_I2C_ETW.AddReg

[iaLPSSi_I2C_EventLog_Inst.AddReg]
HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\system32\drivers\iaLPSSi_I2C.sys"
HKR,, TypesSupported,   0x00010001, 7
HKR,, ProviderGuid,     0x00000000, "{D4AEAC44-AD44-456E-9C90-33F8CDCED6AF}"

[iaLPSSi_I2C_ETW.AddReg]
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Intel-iaLPSS-I2C/Analytic","OwningPublisher",0x0,"{D4AEAC44-AD44-456E-9C90-33F8CDCED6AF}"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Intel-iaLPSS-I2C/Analytic","Enabled",0x00010001,0
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Intel-iaLPSS-I2C/Analytic","Isolation",0x00010001,1
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Intel-iaLPSS-I2C/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-iaLPSS-I2C/Analytic","Type",0x00010001,2
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{D4AEAC44-AD44-456E-9C90-33F8CDCED6AF}",,0x0,"Intel-iaLPSS-I2C"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{D4AEAC44-AD44-456E-9C90-33F8CDCED6AF}","ResourceFileName",0x00020000,"%%SystemRoot%%\system32\drivers\iaLPSSi_I2C.sys"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{D4AEAC44-AD44-456E-9C90-33F8CDCED6AF}","MessageFileName",0x00020000,"%%SystemRoot%%\system32\drivers\iaLPSSi_I2C.sys"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{D4AEAC44-AD44-456E-9C90-33F8CDCED6AF}","Enabled",0x00010001,1
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{D4AEAC44-AD44-456E-9C90-33F8CDCED6AF}\ChannelReferences","Count",0x00010001,2
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{D4AEAC44-AD44-456E-9C90-33F8CDCED6AF}\ChannelReferences\0",,0x0,"Intel-iaLPSS-I2C/Analytic"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{D4AEAC44-AD44-456E-9C90-33F8CDCED6AF}\ChannelReferences\0","Id",0x00010001,16
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{D4AEAC44-AD44-456E-9C90-33F8CDCED6AF}\ChannelReferences\0","Flags",0x00010001,0
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{D4AEAC44-AD44-456E-9C90-33F8CDCED6AF}\ChannelReferences\1",,0x0,"System"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{D4AEAC44-AD44-456E-9C90-33F8CDCED6AF}\ChannelReferences\1","Id",0x00010001,8
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{D4AEAC44-AD44-456E-9C90-33F8CDCED6AF}\ChannelReferences\1","Flags",0x00010001,1

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

[Strings]
; Localizable strings
INTEL = "Intel Corporation"
DiskId1 = "Intel(R) Serial IO Installation Disk"
iaLPSSi_I2C.DeviceDesc1_LPT = "Intel(R) Serial IO I2C Host Controller - 9C61"
iaLPSSi_I2C.DeviceDesc2_LPT = "Intel(R) Serial IO I2C Host Controller - 9C62"
iaLPSSi_I2C.DeviceDesc1_WPT = "Intel(R) Serial IO I2C Host Controller - 9CE1"
iaLPSSi_I2C.DeviceDesc2_WPT = "Intel(R) Serial IO I2C Host Controller - 9CE2"
iaLPSSi_I2C.SVCDESC = "Intel(R) Serial IO I2C Controller Driver"

; Non-Localizable Strings 
SPSVCINST_ASSOCSERVICE= 0x00000002

