;/*++
;
;Copyright (c) 2020-2021 Intel Corporation All rights Reserved
;
;Module Name:
;
;    iaisp.inf
;
;Abstract:
;    INF file for installing intel ISP HWResource Manager (PCI\VEN_8086&DEV_0F38&SUBSYS_72708086) driver
;
;Installation Notes:
;    Using Devcon: Type "devcon update iaisp.inf PCI\VEN_8086&DEV_0F38&SUBSYS_72708086" to install
;
;--*/

[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4d36e97d-e325-11ce-bfc1-08002be10318}
Provider=%INTEL%
DriverVer = 01/09/2023,63.22000.3.10552
CatalogFile=iaisp64.cat
PnpLockdown=1

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

[Manufacturer]
%INTEL%=Intel,NTamd64

; For XP and later
[Intel.NTamd64]
%iaisp.DeviceDesc%=Driver, PCI\VEN_8086&DEV_46FF&REV_00
%iaisp.DeviceDesc%=Driver, PCI\VEN_8086&DEV_465D
%iaisp.DeviceDesc%=Driver, PCI\VEN_8086&DEV_462E
%iaisp.DeviceDesc%=Driver, PCI\VEN_8086&DEV_A75D

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

[Driver.NT]
CopyFiles=Drivers.Files
Reboot

[Driver.NT.Services]
AddService = iaisp,%SPSVCINST_ASSOCSERVICE%, iaisp.AddService

[iaisp.AddService]
DisplayName    = %Driver_Service.Desc%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_BOOT 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\iaisp64.sys
LoadOrderGroup = Boot Bus Extender
AddReg         = iaisp.AddReg

[iaisp.AddReg]                            
HKR,,DeviceCharacteristics,0x10001,0x0100         ; Use same security checks on relative opens
HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)(A;;GA;;;S-1-5-84-0-0-0-0-0)(D;;GA;;;WD)"  ;Grant access just to built-in administrators, local system, and usermode drivers

[Driver.NT.HW]
AddReg=iaisp_hw_AddReg

[iaisp_hw_AddReg]
HKR, "Interrupt Management", 0x00000010
HKR, "Interrupt Management\MessageSignaledInterruptProperties", 0x00000010
HKR, "Interrupt Management\MessageSignaledInterruptProperties", MSISupported, 0x00010001, 0
HKR,"WDF","WdfDirectedPowerTransitionEnable",0x00010001,1

[Drivers.Files]
iaisp64.sys

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

[SourceDisksFiles]
iaisp64.sys = 1

[DestinationDirs]
DefaultDestDir = 12

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

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
INTEL = "Intel Corporation"
DiskId1 = "Intel(R) Imaging Signal Processor Installation Disk"
Driver_Service.Desc = "Intel(R) Imaging Signal Processor"
iaisp.DeviceDesc = "Intel(R) Imaging Signal Processor"
