;/*++
;
;Copyright (c) 2010-2014 Intel Corporation
;
;Module Name:
;
;    skccontroller.inf
;
;Abstract:
;    INF file for installing skylake camera pmic (ACPI\XXXX) driver
;
;Installation Notes:
;    Using Devcon: Type "devcon update skccontroller.inf ACPI\XXXX" to install
;
;--*/

[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%INTEL%
DriverVer=09/01/2016,30.9600.2627.2
CatalogFile=SkcController.cat
PnpLockdown=1

[DestinationDirs]
DefaultDestDir = 12

;*****************************************
; Sensor Device  Install Section
;*****************************************

[Manufacturer]
%SkcController%=Standard,NTamd64

; For XP and later
[Standard.NTamd64]
%SkcController.DeviceDesc%=SkcController_Device, ACPI\INT3472

[SkcController_Device.NTamd64]
CopyFiles=SkcController_Device.NT.Copy
;Reboot

[SkcController_Device.NTx86]
CopyFiles=SkcController_Device.NT.Copy
;Reboot

[SkcController_Device.NT.Copy]
SkcController.sys

;-------------- Service installation
[SkcController_Device.NTx86.Services]
AddService = SkcController, %SPSVCINST_ASSOCSERVICE%, SKC_Service_Inst

[SkcController_Device.NTamd64.Services]
AddService = SkcController, %SPSVCINST_ASSOCSERVICE%, SKC_Service_Inst

[SKC_Service_Inst]
DisplayName    = %SkcController.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\SkcController.sys
Dependencies   = SpbCx,inteli2c
AddReg         = SkcController_Device.AddReg

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

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

[SourceDisksFiles]
SkcController.sys = 1

[Strings]
SPSVCINST_ASSOCSERVICE = 0x00000002
INTEL = "Intel Corporation"
SkcController = "Intel Control Logic Driver"
DiskId1 = "Intel Control Logic Installation Disk #1"
SkcController.DeviceDesc = "Intel(R) Control Logic"
SkcController.SVCDESC = "Intel(R) Control Logic"
