;/*++
;
;Copyright (c) 2009-2013 Intel Corporation All rights Reserved
;
;Module Name:
;    iaioi2ce.inf
;
;Abstract:
;    INF file for installing the I2C Controller driver for SPB Framework
;
;Installation Notes:
;    Using Devcon: Type "devcon update iaioi2ce.inf ACPI\80860F41" to install
;
;--*/

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

CatalogFile=iaioi2ce.cat
PnPLockDown=1

;-------------------------------------------------------------------------------
;   Device Section
;-------------------------------------------------------------------------------

[Manufacturer]
%INTEL%=Intel,NTx86

[Intel.NTx86]
%i2c.DeviceDesc.0502%=i2c_Device_0502, ACPI\VEN_8086&DEV_0F41&REV_0002
%i2c.DeviceDesc.0503%=i2c_Device_0503, ACPI\VEN_8086&DEV_0F41&REV_0003
%i2c.DeviceDesc.0504%=i2c_Device_0504, ACPI\VEN_8086&DEV_0F41&REV_0004
%i2c.DeviceDesc.0505%=i2c_Device_0505, ACPI\VEN_8086&DEV_0F41

;-------------------------------------------------------------------------------
;   Driver Section
;-------------------------------------------------------------------------------

[i2c_Device_0502.NT]
CopyFiles=Drivers_Dir
Reboot

[i2c_Device_0503.NT]
CopyFiles=Drivers_Dir
Reboot

[i2c_Device_0504.NT]
CopyFiles=Drivers_Dir
Reboot

[i2c_Device_0505.NT]
CopyFiles=Drivers_Dir
Reboot

;-------------- Service installation section

[i2c_Device_0502.NT.Services]
AddService = iaioi2c,%SPSVCINST_ASSOCSERVICE%, i2c.AddService

[i2c_Device_0503.NT.Services]
AddService = iaioi2c,%SPSVCINST_ASSOCSERVICE%, i2c.AddService

[i2c_Device_0504.NT.Services]
AddService = iaioi2c,%SPSVCINST_ASSOCSERVICE%, i2c.AddService

[i2c_Device_0505.NT.Services]
AddService = iaioi2c,%SPSVCINST_ASSOCSERVICE%, i2c.AddService

[i2c_Service_addReg]
HKLM, "System\CurrentControlSet\Control\SafeBoot\Minimal\iaioi2ce.sys",,,"Driver"

; -------------- Driver install section
[i2c.AddService]
DisplayName    = %Driver_Service.Desc%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\iaioi2ce.sys
Dependencies   = SpbCx
AddReg         = i2c_Service_addReg

;----------------------------------------------------------------------
;   Class Section
;----------------------------------------------------------------------

[DestinationDirs]
DefaultDestDir = 12

[Drivers_Dir]
iaioi2ce.sys

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

[SourceDisksFiles]
iaioi2ce.sys  = 1,,

;----------------------------------------------------------------------
;   Strings
;----------------------------------------------------------------------

[Strings]
SPSVCINST_ASSOCSERVICE = 0x00000002
INTEL = "Intel Corporation"
DiskId1 = "I2C Controller Installation Disk #1"
Driver_Service.Desc = "I2C Controller Service"
i2c.DeviceDesc.0502 = "I2C ES2 Controller"
i2c.DeviceDesc.0503 = "I2C Controller"
i2c.DeviceDesc.0504 = "I2C Controller"
i2c.DeviceDesc.0505 = "I2C Controller"
