;------------------------------------------------------------------------------
; AMD Audio CoProcessor Information file : amdacpbus.inf
;
; Copyright (c) 2016 Advanced Micro Devices, Inc. All rights reserved 
;------------------------------------------------------------------------------
[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4d36e97d-e325-11ce-bfc1-08002be10318}
Provider=%ManufacturerName%
CatalogFile=amdacpbus.cat
DriverVer=12/04/2019,1.17.0.94

[DestinationDirs]
DefaultDestDir = 12
; ================= Class section =====================

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

[SourceDisksFiles]
amdacpbus.sys  = 1,,

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

[Manufacturer]
%ManufacturerName%=AMD,NTx86,NTamd64

[AMD.NTx86]
%amdacpbus.DeviceDesc% = amdacpbus_Device,PCI\VEN_1022&DEV_15E2

[AMD.NTamd64]
%amdacpbus.DeviceDesc% = amdacpbus_Device,PCI\VEN_1022&DEV_15E2

[amdacpbus_Device.NT]
CopyFiles=Drivers_Dir
AddReg = AcpBus.AddReg

[amdacpbus_Device.NT.HW]
AddReg = AcpBusHW.AddReg
[Drivers_Dir]
amdacpbus.sys

[AcpBus.AddReg]
HKR,,Binpath,0x10001,0
HKR,,AclkDeepSleepEnable,0x10001,1
HKR,,AcpDynamicClockChangeEnable,0x10001,1
HKR,,AcpPgfsmPowerGatingEnable,0x10001,1
HKR,,AcpSoundWireEnable,0x10001,0

;-------------- Service installation
[amdacpbus_Device.NT.Services]
AddService = amdacpbus,%SPSVCINST_ASSOCSERVICE%, amdacpbus_Service_Inst

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

[AcpBusHW.AddReg]
HKR,Interrupt Management,,0x00000010
HKR,Interrupt Management\MessageSignaledInterruptProperties,,0x00000010
HKR,Interrupt Management\MessageSignaledInterruptProperties,MSISupported,0x00010001,0

[amdacpbus_Device.NT.Wdf]
KmdfService =  amdacpbus, amdacpbus_wdfsect
[amdacpbus_wdfsect]
KmdfLibraryVersion = 1.15

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
ManufacturerName="AMD"
ClassName="System"
DiskName = "amdacpbus Installation Disk"
amdacpbus.DeviceDesc = "AMD Audio CoProcessor"
amdacpbus.SVCDESC = "Audio Coprocessor Driver for DSP"
