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

[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%INTEL%
DriverVer=05/04/2015,30.61.1519.07
CatalogFile=iaLPSS2_GPIO2_SKL.cat

[DestinationDirs]
DefaultDestDir = 12

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

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

[SourceDisksFiles]
iaLPSS2_GPIO2.sys  = 1,,

;*****************************************
; iaLPSS2_GPIO2  Install Section
;*****************************************

[Manufacturer]
%INTEL%=Intel,NTamd64.6.1,NTamd64.6.2

[Intel.NTamd64.6.1]
%iaLPSS2_GPIO2.DeviceDesc_0%=iaLPSS2_GPIO2_Device, ACPI\INT344B
%iaLPSS2_GPIO2.DeviceDesc_1%=iaLPSS2_GPIO2_Device, ACPI\INT345D

;For Windows 8+ - empty section
[Intel.NTamd64.6.2]

[iaLPSS2_GPIO2_Device.NT]
CopyFiles=Drivers_Dir

[Drivers_Dir]
iaLPSS2_GPIO2.sys

;-------------- Service installation
[iaLPSS2_GPIO2_Device.NT.Services]
AddService = iaLPSS2_GPIO2,%SPSVCINST_ASSOCSERVICE%, iaLPSS2_GPIO2_Service_Inst, iaLPSS2_GPIO2_EventLog_Inst, System, Intel-iaLPSS2-GPIO2

;-------------- Registry installation
[iaLPSS2_GPIO2_EventLog_Inst]
AddReg=iaLPSS2_GPIO2_EventLog_Inst.AddReg, iaLPSS2_GPIO2_ETW.AddReg

[iaLPSS2_GPIO2_EventLog_Inst.AddReg]
HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\system32\drivers\iaLPSS2_GPIO2.sys"
HKR,, TypesSupported,   0x00010001, 7
HKR,, ProviderGuid,     0x00000000, "{63848cff-3ec7-4ddf-8072-5f95e8c8eb98}"

[iaLPSS2_GPIO2_ETW.AddReg]
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Intel-iaLPSS2-GPIO2/Debug","OwningPublisher",0x0,"{63848cff-3ec7-4ddf-8072-5f95e8c8eb98}"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Intel-iaLPSS2-GPIO2/Debug","Enabled",0x00010001,0
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Intel-iaLPSS2-GPIO2/Debug","Isolation",0x00010001,1
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Intel-iaLPSS2-GPIO2/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-GPIO2/Debug","Type",0x00010001,2
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Intel-iaLPSS2-GPIO2/Performance","OwningPublisher",0x0,"{63848cff-3ec7-4ddf-8072-5f95e8c8eb98}"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Intel-iaLPSS2-GPIO2/Performance","Enabled",0x00010001,0
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Intel-iaLPSS2-GPIO2/Performance","Isolation",0x00010001,1
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Intel-iaLPSS2-GPIO2/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-GPIO2/Performance","Type",0x00010001,2
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{63848cff-3ec7-4ddf-8072-5f95e8c8eb98}",,0x0,"Intel-iaLPSS2-GPIO2"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{63848cff-3ec7-4ddf-8072-5f95e8c8eb98}","ResourceFileName",0x00020000,"%%SystemRoot%%\system32\drivers\iaLPSS2_GPIO2.sys"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{63848cff-3ec7-4ddf-8072-5f95e8c8eb98}","MessageFileName",0x00020000,"%%SystemRoot%%\system32\drivers\iaLPSS2_GPIO2.sys"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{63848cff-3ec7-4ddf-8072-5f95e8c8eb98}","Enabled",0x00010001,1
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{63848cff-3ec7-4ddf-8072-5f95e8c8eb98}\ChannelReferences\0",,0x0,"Intel-iaLPSS2-GPIO2/Debug"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{63848cff-3ec7-4ddf-8072-5f95e8c8eb98}\ChannelReferences\0","Id",0x00010001,16
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{63848cff-3ec7-4ddf-8072-5f95e8c8eb98}\ChannelReferences\0","Flags",0x00010001,0
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{63848cff-3ec7-4ddf-8072-5f95e8c8eb98}\ChannelReferences\1",,0x0,"Intel-iaLPSS2-GPIO2/Performance"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{63848cff-3ec7-4ddf-8072-5f95e8c8eb98}\ChannelReferences\1","Id",0x00010001,17
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{63848cff-3ec7-4ddf-8072-5f95e8c8eb98}\ChannelReferences\1","Flags",0x00010001,0
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{63848cff-3ec7-4ddf-8072-5f95e8c8eb98}\ChannelReferences","Count",0x00010001,2


; -------------- iaLPSS2_GPIO2 driver install sections
[iaLPSS2_GPIO2_Service_Inst]
DisplayName    = %iaLPSS2_GPIO2.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\iaLPSS2_GPIO2.sys
LoadOrderGroup = Extended Base


[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
INTEL = "Intel Corporation"
DiskId1 = "Intel(R) Serial IO Installation Disk"
iaLPSS2_GPIO2.DeviceDesc_0 = "Intel(R) Serial IO GPIO Host Controller - INT344B"
iaLPSS2_GPIO2.DeviceDesc_1 = "Intel(R) Serial IO GPIO Host Controller - INT345D"
iaLPSS2_GPIO2.SVCDESC = "Intel(R) Serial IO GPIO Driver v2"

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

[PackageInfo]
Name=iaLPSS2_GPIO2_SKL.x64.61
