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

[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%INTEL%
DriverVer=10/12/2015,604.10146.2654.7394

CatalogFile=iai2ce.cat

[DestinationDirs]
DefaultDestDir = 12

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

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

[SourceDisksFiles]
iai2ce.sys  = 1,,

;*****************************************
; iai2ce  Install Section
;*****************************************

[Manufacturer]
%INTEL%=Intel,NTx86

[Intel.NTx86]
%iai2ce.DeviceDesc0%=iai2ce_Device0, ACPI\808622C1

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

[Drivers_Dir]
iai2ce.sys

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


;-------------- Service installation
[iai2ce_Device0.NT.Services]
AddService = iai2ce,%SPSVCINST_ASSOCSERVICE%, iai2ce_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\iai2ce.sys",,,"Driver"

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

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