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

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

CatalogFile=iaiospi.cat
PnPLockDown=1

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

[Manufacturer]
%INTEL%=Intel,NTamd64

[Intel.NTamd64]
%spi.DeviceDesc.0500%=spi_Device_0500, ACPI\VEN_8086&DEV_0F0E&REV_0000
%spi.DeviceDesc.0501%=spi_Device_0501, ACPI\VEN_8086&DEV_0F0E&REV_0001
%spi.DeviceDesc.0502%=spi_Device_0502, ACPI\VEN_8086&DEV_0F0E&REV_0002
%spi.DeviceDesc.0503%=spi_Device_0503, ACPI\VEN_8086&DEV_0F0E&REV_0003
%spi.DeviceDesc.0504%=spi_Device_0504, ACPI\VEN_8086&DEV_0F0E&REV_0004
%spi.DeviceDesc.0505%=spi_Device_0505, ACPI\VEN_8086&DEV_0F0E

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

[spi_Device_0500.NT]
CopyFiles=Drivers_Dir
Reboot

[spi_Device_0501.NT]
CopyFiles=Drivers_Dir
Reboot

[spi_Device_0502.NT]
CopyFiles=Drivers_Dir
Reboot

[spi_Device_0503.NT]
CopyFiles=Drivers_Dir
Reboot

[spi_Device_0504.NT]
CopyFiles=Drivers_Dir
Reboot

[spi_Device_0505.NT]
CopyFiles=Drivers_Dir
Reboot

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

[spi_Device_0500.NT.Services]
AddService = iaiospi,%SPSVCINST_ASSOCSERVICE%, spi.AddService

[spi_Device_0501.NT.Services]
AddService = iaiospi,%SPSVCINST_ASSOCSERVICE%, spi.AddService
[spi_Device_0502.NT.Services]
AddService = iaiospi,%SPSVCINST_ASSOCSERVICE%, spi.AddService

[spi_Device_0503.NT.Services]
AddService = iaiospi,%SPSVCINST_ASSOCSERVICE%, spi.AddService

[spi_Device_0504.NT.Services]
AddService = iaiospi,%SPSVCINST_ASSOCSERVICE%, spi.AddService

[spi_Device_0505.NT.Services]
AddService = iaiospi,%SPSVCINST_ASSOCSERVICE%, spi.AddService

[spi_Service_addReg]
HKLM, "System\CurrentControlSet\Control\SafeBoot\Minimal\iaiospi.sys",,,"Driver"

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

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

[DestinationDirs]
DefaultDestDir = 12

[Drivers_Dir]
iaiospi.sys

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

[SourceDisksFiles]
iaiospi.sys  = 1,,

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

[Strings]
SPSVCINST_ASSOCSERVICE = 0x00000002
INTEL = "Intel Corporation"
DiskId1 = "SPI Controller Installation Disk #1"
Driver_Service.Desc = "SPI Controller Service"
spi.DeviceDesc.0500 = "SPI ES0 Controller"
spi.DeviceDesc.0501 = "SPI ES1 Controller"
spi.DeviceDesc.0502 = "SPI ES2 Controller"
spi.DeviceDesc.0503 = "SPI Controller"
spi.DeviceDesc.0504 = "SPI Controller"
spi.DeviceDesc.0505 = "SPI Controller"
