;/*++
;
;Copyright (c) 2009-2012 Intel Corporation All rights Reserved
;
;Module Name:
;    inteli2c.inf
;
;Abstract:
;    INF file for installing SPB Framework inteli2c Driver
;
;Installation Notes:
;    Using Devcon: Type "devcon update inteli2c.inf ACPI\INT33B1" to install
;
;--*/

[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%INTEL%
DriverVer=01/27/2013,6.2.9200.26576
CatalogFile=inteli2c.cat
PnPLockDown=1

[PackageInfo]
Name=IO

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

[Manufacturer]
%INTEL%=Intel,NTx86

[Intel.NTx86]
%inteli2c.DeviceDesc.0000%=inteli2c_Device_0000, ACPI\VEN_INT&DEV_33B1&REV_0000
%inteli2c.DeviceDesc.0001%=inteli2c_Device_0001, ACPI\VEN_INT&DEV_33B1&REV_0001
%inteli2c.DeviceDesc.0002%=inteli2c_Device_0002, ACPI\VEN_INT&DEV_33B1&REV_0002
%inteli2c.DeviceDesc.0300%=inteli2c_Device_0300, ACPI\VEN_INT&DEV_33B1&REV_0300
%inteli2c.DeviceDesc.0301%=inteli2c_Device_0301, ACPI\VEN_INT&DEV_33B1&REV_0301
%inteli2c.DeviceDesc.0302%=inteli2c_Device_0302, ACPI\VEN_INT&DEV_33B1&REV_0302

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

[inteli2c_Device_0000.NT]
CopyFiles=Drivers_Dir

[inteli2c_Device_0001.NT]
CopyFiles=Drivers_Dir

[inteli2c_Device_0002.NT]
CopyFiles=Drivers_Dir
Reboot

[inteli2c_Device_0300.NT]
CopyFiles=Drivers_Dir

[inteli2c_Device_0301.NT]
CopyFiles=Drivers_Dir

[inteli2c_Device_0302.NT]
CopyFiles=Drivers_Dir
Reboot

;-------------- Service installation section
[inteli2c_Device_0000.NT.Services]
AddService = inteli2c,%SPSVCINST_ASSOCSERVICE%, inteli2c.AddService

[inteli2c_Device_0001.NT.Services]
AddService = inteli2c,%SPSVCINST_ASSOCSERVICE%, inteli2c.AddService

[inteli2c_Device_0002.NT.Services]
AddService = inteli2c,%SPSVCINST_ASSOCSERVICE%, inteli2c.AddService

[inteli2c_Device_0300.NT.Services]
AddService = inteli2c,%SPSVCINST_ASSOCSERVICE%, inteli2c.AddService

[inteli2c_Device_0301.NT.Services]
AddService = inteli2c,%SPSVCINST_ASSOCSERVICE%, inteli2c.AddService

[inteli2c_Device_0302.NT.Services]
AddService = inteli2c,%SPSVCINST_ASSOCSERVICE%, inteli2c.AddService

[inteli2c_Service_addReg]
; Rev A0 stepping settings (step == 0)
;  OnSequenceExceptionSlaveAddress is in Little Endian format
;  OnSequenceExceptionByteLength maximum byte size is 3096 (0xC18)
HKR,0, "REVISION", 0x00010001, 0x0
HKR,0, "FIFOSIZE", 0x00010001, 0x100
HKR,0, "OnSequenceExceptionSlaveAddress", 0x00000001, 0x5A, 0x00, 0x40, 0x00
HKR,0, "OnSequenceExceptionByteLength", 0x00010001, 0xC18
; Rev B0 stepping settings (step == 1)
HKR,1, "REVISION", 0x00010001, 0x1
HKR,1, "FIFOSIZE", 0x00010001, 0x100
HKR,1, "ForceDma", 0x00010001, 0x0
HKR,1, "DmaBufferSize", 0x00010001, 0x4000
HKR,1, "DisableTxCombine", 0x00010001, 0x0
; Rev C0 stepping settings (step == 2)
HKR,2, "REVISION", 0x00010001, 0x2
HKR,2, "FIFOSIZE", 0x00010001, 0x100
HKR,2, "ForceDma", 0x00010001, 0x0
HKR,2, "DmaBufferSize", 0x00010001, 0x4000
HKR,2, "StopSuppress", 0x00010001, 0x1
HKLM, "System\CurrentControlSet\Control\SafeBoot\Minimal\inteli2c.sys",,,"Driver"

; -------------- Driver install section
[inteli2c.AddService]
DisplayName    = %Driver_Service.Desc%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 0               ; SERVICE_BOOT_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\inteli2c.sys
Dependencies   = SpbCx
AddReg         = inteli2c_Service_addReg

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

[DestinationDirs]
DefaultDestDir = 12

[Drivers_Dir]
inteli2c.sys

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

[SourceDisksFiles]
inteli2c.sys  = 1,,

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

[Strings]
SPSVCINST_ASSOCSERVICE = 0x00000002
INTEL = "Intel Corporation"
DiskId1 = "Intel(R) Atom(TM) Processor Z2760 I2C Controller Installation Disk #1"
Driver_Service.Desc = "Intel(R) Atom(TM) Processor Z2760 I2C Controller Service"
inteli2c.DeviceDesc.0000 = "Intel(R) Atom(TM) Processor Z2760 A0 I2C Controller"
inteli2c.DeviceDesc.0001 = "Intel(R) Atom(TM) Processor Z2760 B0 I2C Controller"
inteli2c.DeviceDesc.0002 = "Intel(R) Atom(TM) Processor Z2760 I2C Controller"
inteli2c.DeviceDesc.0300 = "Intel(R) Atom(TM) Processor Z2760 A0 I2C Controller for HDMI"
inteli2c.DeviceDesc.0301 = "Intel(R) Atom(TM) Processor Z2760 B0 I2C Controller for HDMI"
inteli2c.DeviceDesc.0302 = "Intel(R) Atom(TM) Processor Z2760 I2C Controller for HDMI"
