;
;  INTEL CONFIDENTIAL
;
;  Copyright 2016-2020 Intel Corporation. All Rights Reserved.
;
;  This software and the related documents are Intel copyrighted materials, and
;  your use of them is governed by the express license under which they were
;  provided to you ("License"). Unless the License provides otherwise, you may
;  not use, modify, copy, publish, distribute, disclose or transmit this
;  software or the related documents without Intel's prior written permission.
;
;  This software and the related documents are provided as is, with no express or
;  implied warranties, other than those that are expressly stated in the License.

;
; icp_qat.inf
;

[Version]
Signature="$WINDOWS NT$"
Class=SecurityAccelerator
ClassGuid={268c95a1-edfe-11d3-95c3-0010dc4050a5}
Provider=%ManufacturerName%
CatalogFile=icp_qat.cat
DriverVer = 06/01/2021,1.70.15.4

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

[SourceDisksFiles]
icp_qat.sys  = 1,,

;*****************************************
; Install Section
;*****************************************

[Manufacturer]
%ManufacturerName%=Standard,NTamd64

[Standard.NTamd64]
%icp_qat.C62xDeviceDesc%=QAT_Device, PCI\VEN_8086&DEV_37C8
%icp_qat.C3xxxDeviceDesc%=QAT_Device_C3xxx, PCI\VEN_8086&DEV_19E2

[QAT_Device.NT]
CopyFiles=Drivers_Dir

[QAT_Device.NT.HW]
Include=machine.inf
Needs=PciSriovSupported
AddReg = QAT_Device_addreg
AddReg = QAT_Device_SRIOV_addreg

;-------------- Service installation
[QAT_Device.NT.Services]
AddService = icp_qat,%SPSVCINST_ASSOCSERVICE%, icp_qat_Service_Inst, icp_qat_EventLogInst

[QAT_Device_C3xxx.NT]
CopyFiles=Drivers_Dir

[QAT_Device_C3xxx.NT.HW]
Include=machine.inf
AddReg = QAT_Device_addreg

;-------------- Service installation
[QAT_Device_C3xxx.NT.Services]
AddService = icp_qat,%SPSVCINST_ASSOCSERVICE%, icp_qat_Service_Inst, icp_qat_EventLogInst

[Drivers_Dir]
icp_qat.sys

[icp_qat_EventLogInst]
AddReg                      =IcpQatEventLogAddReg

[IcpQatEventLogAddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\iologmsg.dll;%%12%%\icp_qat.sys"
HKR,,TypesSupported,0x00010001,7


; -------------- icp_qat driver install sections
[icp_qat_Service_Inst]
DisplayName    = %icp_qat.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\icp_qat.sys
LoadOrderGroup = Extended Base

[QAT_Device_addreg]
HKR,Interrupt Management,,0x00000010
HKR,Interrupt Management\MessageSignaledInterruptProperties,,0x00000010
HKR,Interrupt Management\MessageSignaledInterruptProperties,MSISupported,0x00010001,1
HKR,Accelerator0,,0x00000010
HKR,Accelerator0,Bank0InterruptCoalescingEnabled,0x00010001,1
HKR,Accelerator0,Bank1InterruptCoalescingEnabled,0x00010001,1
HKR,Accelerator0,Bank2InterruptCoalescingEnabled,0x00010001,1
HKR,Accelerator0,Bank3InterruptCoalescingEnabled,0x00010001,1
HKR,Accelerator0,Bank4InterruptCoalescingEnabled,0x00010001,1
HKR,Accelerator0,Bank5InterruptCoalescingEnabled,0x00010001,1
HKR,Accelerator0,Bank6InterruptCoalescingEnabled,0x00010001,1
HKR,Accelerator0,Bank7InterruptCoalescingEnabled,0x00010001,1
HKR,Accelerator0,Bank8InterruptCoalescingEnabled,0x00010001,1
HKR,Accelerator0,Bank9InterruptCoalescingEnabled,0x00010001,1
HKR,Accelerator0,Bank10InterruptCoalescingEnabled,0x00010001,1
HKR,Accelerator0,Bank11InterruptCoalescingEnabled,0x00010001,1
HKR,Accelerator0,Bank12InterruptCoalescingEnabled,0x00010001,1
HKR,Accelerator0,Bank13InterruptCoalescingEnabled,0x00010001,1
HKR,Accelerator0,Bank14InterruptCoalescingEnabled,0x00010001,1
HKR,Accelerator0,Bank15InterruptCoalescingEnabled,0x00010001,1
HKR,Accelerator0,Bank16InterruptCoalescingEnabled,0x00010001,1
HKR,Accelerator0,Bank17InterruptCoalescingEnabled,0x00010001,1
HKR,Accelerator0,Bank18InterruptCoalescingEnabled,0x00010001,1
HKR,Accelerator0,Bank19InterruptCoalescingEnabled,0x00010001,1
HKR,Accelerator0,Bank20InterruptCoalescingEnabled,0x00010001,1
HKR,Accelerator0,Bank21InterruptCoalescingEnabled,0x00010001,1
HKR,Accelerator0,Bank22InterruptCoalescingEnabled,0x00010001,1
HKR,Accelerator0,Bank23InterruptCoalescingEnabled,0x00010001,1
HKR,Accelerator0,Bank24InterruptCoalescingEnabled,0x00010001,1
HKR,Accelerator0,Bank25InterruptCoalescingEnabled,0x00010001,1
HKR,Accelerator0,Bank26InterruptCoalescingEnabled,0x00010001,1
HKR,Accelerator0,Bank27InterruptCoalescingEnabled,0x00010001,1
HKR,Accelerator0,Bank28InterruptCoalescingEnabled,0x00010001,1
HKR,Accelerator0,Bank29InterruptCoalescingEnabled,0x00010001,1
HKR,Accelerator0,Bank30InterruptCoalescingEnabled,0x00010001,1
HKR,Accelerator0,Bank31InterruptCoalescingEnabled,0x00010001,1
HKR,Accelerator0,Bank0InterruptCoalescingTimerNs,0x00010001,10000
HKR,Accelerator0,Bank1InterruptCoalescingTimerNs,0x00010001,10000
HKR,Accelerator0,Bank2InterruptCoalescingTimerNs,0x00010001,10000
HKR,Accelerator0,Bank3InterruptCoalescingTimerNs,0x00010001,10000
HKR,Accelerator0,Bank4InterruptCoalescingTimerNs,0x00010001,10000
HKR,Accelerator0,Bank5InterruptCoalescingTimerNs,0x00010001,10000
HKR,Accelerator0,Bank6InterruptCoalescingTimerNs,0x00010001,10000
HKR,Accelerator0,Bank7InterruptCoalescingTimerNs,0x00010001,10000
HKR,Accelerator0,Bank8InterruptCoalescingTimerNs,0x00010001,10000
HKR,Accelerator0,Bank9InterruptCoalescingTimerNs,0x00010001,10000
HKR,Accelerator0,Bank10InterruptCoalescingTimerNs,0x00010001,10000
HKR,Accelerator0,Bank11InterruptCoalescingTimerNs,0x00010001,10000
HKR,Accelerator0,Bank12InterruptCoalescingTimerNs,0x00010001,10000
HKR,Accelerator0,Bank13InterruptCoalescingTimerNs,0x00010001,10000
HKR,Accelerator0,Bank14InterruptCoalescingTimerNs,0x00010001,10000
HKR,Accelerator0,Bank15InterruptCoalescingTimerNs,0x00010001,10000
HKR,Accelerator0,Bank16InterruptCoalescingTimerNs,0x00010001,10000
HKR,Accelerator0,Bank17InterruptCoalescingTimerNs,0x00010001,10000
HKR,Accelerator0,Bank18InterruptCoalescingTimerNs,0x00010001,10000
HKR,Accelerator0,Bank19InterruptCoalescingTimerNs,0x00010001,10000
HKR,Accelerator0,Bank20InterruptCoalescingTimerNs,0x00010001,10000
HKR,Accelerator0,Bank21InterruptCoalescingTimerNs,0x00010001,10000
HKR,Accelerator0,Bank22InterruptCoalescingTimerNs,0x00010001,10000
HKR,Accelerator0,Bank23InterruptCoalescingTimerNs,0x00010001,10000
HKR,Accelerator0,Bank24InterruptCoalescingTimerNs,0x00010001,10000
HKR,Accelerator0,Bank25InterruptCoalescingTimerNs,0x00010001,10000
HKR,Accelerator0,Bank26InterruptCoalescingTimerNs,0x00010001,10000
HKR,Accelerator0,Bank27InterruptCoalescingTimerNs,0x00010001,10000
HKR,Accelerator0,Bank28InterruptCoalescingTimerNs,0x00010001,10000
HKR,Accelerator0,Bank29InterruptCoalescingTimerNs,0x00010001,10000
HKR,Accelerator0,Bank30InterruptCoalescingTimerNs,0x00010001,10000
HKR,Accelerator0,Bank31InterruptCoalescingTimerNs,0x00010001,10000
HKR,Accelerator0,Bank0CoreAffinity,0x00010001,0x0001
HKR,Accelerator0,Bank1CoreAffinity,0x00010001,0x0002
HKR,Accelerator0,Bank2CoreAffinity,0x00010001,0x0004
HKR,Accelerator0,Bank3CoreAffinity,0x00010001,0x0008
HKR,Accelerator0,Bank4CoreAffinity,0x00010001,0x0010
HKR,Accelerator0,Bank5CoreAffinity,0x00010001,0x0020
HKR,Accelerator0,Bank6CoreAffinity,0x00010001,0x0040
HKR,Accelerator0,Bank7CoreAffinity,0x00010001,0x0080
HKR,Accelerator0,Bank8CoreAffinity,0x00010001,0x0000
HKR,Accelerator0,Bank9CoreAffinity,0x00010001,0x0000
HKR,Accelerator0,Bank10CoreAffinity,0x00010001,0x0000
HKR,Accelerator0,Bank11CoreAffinity,0x00010001,0x0000
HKR,Accelerator0,Bank12CoreAffinity,0x00010001,0x0000
HKR,Accelerator0,Bank13CoreAffinity,0x00010001,0x0000
HKR,Accelerator0,Bank14CoreAffinity,0x00010001,0x0000
HKR,Accelerator0,Bank15CoreAffinity,0x00010001,0x0000
HKR,Accelerator0,Bank16CoreAffinity,0x00010001,0x0000
HKR,Accelerator0,Bank17CoreAffinity,0x00010001,0x0000
HKR,Accelerator0,Bank18CoreAffinity,0x00010001,0x0000
HKR,Accelerator0,Bank19CoreAffinity,0x00010001,0x0000
HKR,Accelerator0,Bank20CoreAffinity,0x00010001,0x0000
HKR,Accelerator0,Bank21CoreAffinity,0x00010001,0x0000
HKR,Accelerator0,Bank22CoreAffinity,0x00010001,0x0000
HKR,Accelerator0,Bank23CoreAffinity,0x00010001,0x0000
HKR,Accelerator0,Bank24CoreAffinity,0x00010001,0x0000
HKR,Accelerator0,Bank25CoreAffinity,0x00010001,0x0000
HKR,Accelerator0,Bank26CoreAffinity,0x00010001,0x0000
HKR,Accelerator0,Bank27CoreAffinity,0x00010001,0x0000
HKR,Accelerator0,Bank28CoreAffinity,0x00010001,0x0000
HKR,Accelerator0,Bank29CoreAffinity,0x00010001,0x0000
HKR,Accelerator0,Bank30CoreAffinity,0x00010001,0x0000
HKR,Accelerator0,Bank31CoreAffinity,0x00010001,0x0000
HKR,ErrorHandling,,0x00000010
HKR,ErrorHandling,ResetOnUncorrectableError,0x00010001,0x1
HKR,General,,0x00000010

[QAT_Device_SRIOV_addreg]
HKR,Sriov,,0x00000010
HKR,Sriov,EnableSriov,0x00010001,0x0

[DestinationDirs]
DefaultDestDir = 12

[QAT_Device.NT.Wdf]
KmdfService =  icp_qat, icp_qat_wdfsect

[icp_qat_wdfsect]
KmdfLibraryVersion = 1.15

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
ManufacturerName="Intel"
ClassName="Intel(R) QAT Device Driver"
DiskName = "Intel(R) QAT SW Installation Disk"
icp_qat.C62xDeviceDesc = "Intel(R) C62x Accelerator"
icp_qat.C3xxxDeviceDesc = "Intel(R) C3xxx Accelerator"
icp_qat.SVCDESC = "Intel(R) QAT Service"
