;
;Copyright (c) 2012  Intel Corporation
;
;Module Name:
;    iai2c.inf
;
;Abstract:
;    INF file for installing the Intel(R) Serial IO I2C Host Controller driver
;
;Installation Notes: 
;    Using Devcon: Type "devcon update iai2c.inf ACPI\808622C1" to install
;
;--*/

[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%INTEL%
DriverVer = 07/23/2018,20.100.1830.1

[DestinationDirs]
DefaultDestDir = 12

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

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

[SourceDisksFiles]
iai2c.sys  = 1,,

;*****************************************
; iai2c  Install Section
;*****************************************

[Manufacturer]
%INTEL%=Intel,NTamd64

[Intel.NTamd64]
%iai2c.DeviceDesc0%=iai2c_Device0, ACPI\808622C1

[iai2c_Device0.NT]
CopyFiles=Drivers_Dir
AddProperty=WDTFSOCDeviceCategory
Reboot

[Drivers_Dir]
iai2c.sys

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


;-------------- Service installation
[iai2c_Device0.NT.Services]
AddService = iai2c,%SPSVCINST_ASSOCSERVICE%, iai2c_Service_Inst


[i2c_Service_addReg]
HKR,, "ForceDma", 0x00000000, "000,000,000,000,000,000,000"
HKR,, "NoRestartCondition", 0x00010001, 0x0
HKLM, "System\CurrentControlSet\Control\SafeBoot\Minimal\iai2c.sys",,,"Driver"

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

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
INTEL = "Intel Corporation"
DiskId1 = "Intel LPT LP driver Installation Disk #1"
iai2c.DeviceDesc0 = "Intel(R) Serial IO I2C ES Controller"
iai2c.SVCDESC = "Intel(R) Serial IO I2C Host Controller"

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

[PackageInfo]
Name=iai2c.x64.100
