; amdsbs/amdsbs.INF
; Copyright 01/27/2012 Advanced Micro Devices, Inc.
;
[Version]
signature="$Windows NT$"
Class=SCSIAdapter
ClassGUID={4D36E97B-E325-11CE-BFC1-08002BE10318}
Provider=%ATI%
DriverVer=12/11/2012, 3.7.1540.43
;

[DestinationDirs] 
DefaultDestDir = 12 ; DIRID_DRIVERS

[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]
amdsbs.sys=3426

[ControlFlags]
ExcludeFromSelect=*

[Manufacturer] 
%ATI%=ATI, ntamd64, ntx86

[ATI.ntamd64]
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4392
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4393
%NapaDesc%=Napa_Inst,PCI\VEN_1022&DEV_7802
%NapaDesc%=Napa_Inst,PCI\VEN_1022&DEV_7803
%ATI_Raid_ControllerDesc%=NODRV,SCSI\ProcessorAMD_____

[ATI.ntx86]
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4392
%NapaDesc%=Napa_Inst,PCI\VEN_1002&DEV_4393
%NapaDesc%=Napa_Inst,PCI\VEN_1022&DEV_7802
%NapaDesc%=Napa_Inst,PCI\VEN_1022&DEV_7803
%ATI_Raid_ControllerDesc%=NODRV,SCSI\ProcessorAMD_____

[NODRV]
CopyFiles=MoveNODRV

[MoveNODRV]

[NODRV.Services]
;
; this is blank to just allow the install to succeed
;
AddService = , %SPSVCINST_ASSOCSERVICE%   ; null service install

[Napa_Inst] 
CopyFiles = @amdsbs.sys

[Napa_Inst.Services] 
AddService = amdsbs,0x00000002,Napa_Service_Inst, Napa_EventLog_Inst 

[Napa_Service_Inst] 
ServiceType = %SERVICE_KERNEL_DRIVER% 
StartType = %SERVICE_BOOT_START% 
ErrorControl = %SERVICE_ERROR_NORMAL% 
ServiceBinary = %12%\amdsbs.sys 
LoadOrderGroup = SCSI miniport
AddReg = pnpsafe_pci_addreg

[Napa_EventLog_Inst] 
AddReg = Napa_EventLog_Inst.AddReg 
 
[Napa_EventLog_Inst.AddReg] 
HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll" 
HKR,,TypesSupported,%REG_DWORD%,7

[pnpsafe_pci_addreg] 
HKR, Parameters\PnpInterface, 5, 0x00010001, 0x00000001
HKR, Parameters,BusType,0x00010001,0x00000008
HKR, Settings\CAM, EnableALPEDisableHotplug, 0x00010001, 0x00000000 
HKR, Settings\CAM, EnableCCC, 0x00010001, 0x00000000 
HKR, Settings\CAM, CCCTimeoutValue, 0x00010001, 10 
HKR, Settings\CAM, CCCCompletionValue, 0x00010001, 32 
HKR, Settings\CAM, NCQEnableDiskIDBits, 0x00010001, 0xffffffff 
HKR, Settings\CAM, EnableHIPM, 0x00010001, 0x00000000 
HKR, Settings\CAM, EnableDIPM, 0x00010001, 0x00000000 
HKR, Settings\CAM, EnableHDDParking, 0x00010001, 0x00000001
HKR, Settings\CAM, CAMTimeOutValue, 0x00010001, 0x00000005
HKR, Settings\CAM, EnableAN, 0x00010001, 0x00000001
HKR, Settings\CAM, EnableAPS, 0x00010001, 0x00000000

[Strings] 

;Localizable Strings
ATI= "Advanced Micro Devices, Inc."
Desc= "AMD AHCI Compatible RAID Controller Driver"
NapaDesc= "AMD AHCI Compatible RAID Controller"
ATI_Raid_ControllerDesc= "AMD RAID Console"

;Non-Localizable Strings

SERVICE_BOOT_START = 0x0 
SERVICE_SYSTEM_START = 0x1 
SERVICE_AUTO_START = 0x2 
SERVICE_DEMAND_START = 0x3 
SERVICE_DISABLED = 0x4 

SERVICE_KERNEL_DRIVER = 0x1 
SERVICE_ERROR_IGNORE = 0x0 
SERVICE_ERROR_NORMAL = 0x1 
SERVICE_ERROR_SEVERE = 0x2 
SERVICE_ERROR_CRITICAL = 0x3 

REG_EXPAND_SZ = 0x00020000 
REG_DWORD = 0x00010001 

SPSVCINST_ASSOCSERVICE=0x00000002
