; INF file for MegaRaid family of RAID controllers.
;////////////////////////////////////////////////////////////////////////////////////////////////////////
;//
;// LSI is a trademark of LSI Corporation in the United States and other countries. 
;// Avago Technologies is a trademark of Avago Technologies in the United States and other countries. 
;//
;// Copyright © 2013-2014 LSI Corporation. 
;// Copyright © 2013-2014 Avago Technologies 
;// All rights reserved 
;//
;////////////////////////////////////////////////////////////////////////////////////////////////////////

[version]
Signature   ="$Windows NT$"
Class       = SCSIAdapter
ClassGUID   = {4D36E97B-E325-11CE-BFC1-08002BE10318}
Provider    = %DELL%
CatalogFile = percsas3.cat
DriverVer=08/29/2016,6.604.06.00

[Manufacturer]
%DELL% = DELL, NTx86, NTamd64

[SourceDisksNames]
1 = %DISK%

[SourceDisksFiles]
percsas3.sys = 1
wdcfg.exe = 1
DriverConfigParam.def = 1

[DestinationDirs]
DefaultDestDir = 12
WDCFG_EXE_DEST = 11; \system32
WDCFG_DEF_DEST = 24, ProgramData\LSI\WDCFG

[ControlFlags]
ExcludeFromSelect = *

[Install_MSI.NT]
CopyFiles = @percsas3.sys
CopyFiles = WDCFG_EXE_DEST
CopyFiles = WDCFG_DEF_DEST

[Install_MSI.NT.HW]
Include = machine.inf
Needs   = PciIoSpaceNotRequired
AddReg  = Install_AddReg_HW

[Install_AddReg_HW]
HKR, "Interrupt Management\MessageSignaledInterruptProperties", MSISupported, %REG_DWORD%, 1
HKR, "Interrupt Management\Affinity Policy", DevicePriority, %REG_DWORD%, 3
HKR, "Interrupt Management\Affinity Policy", DevicePolicy, %REG_DWORD%, 5
HKR, "Interrupt Management\Affinity Policy", GroupPolicy, %REG_DWORD%, 1

[Install_MSI.NT.Services]
AddService = percsas3, %SPSVCINST_ASSOCSERVICE%, Driver_Install, EventLog_Install

[Driver_Install]
ServiceType    = %SERVICE_KERNEL_DRIVER% 
StartType      = %SERVICE_BOOT_START% 
ErrorControl   = %SERVICE_ERROR_NORMAL% 
ServiceBinary  = %12%\percsas3.sys
LoadOrderGroup = SCSI Miniport
AddReg         = Parms_AddReg

[Parms_AddReg]
HKR, "Parameters", "BusType", %REG_DWORD%, 8
HKR, "Parameters\PnpInterface", "5", %REG_DWORD%, 1
HKR, "Parameters\Device", DriverParameter, 0x00000002, "placeholder=0"
HKLM,SYSTEM\CurrentControlSet\Control\Wdcfg,TargetDriver,0x00000000,"PERCSAS3"
HKLM,"System\CurrentControlSet\Services\Disk", "TimeOutValue", %REG_DWORD%, 60
HKR, "StorPort", "PowerSrbTimeout", %REG_DWORD%, 0x28

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

[WDCFG_EXE_DEST]
wdcfg.exe

[WDCFG_DEF_DEST]
DriverConfigParam.def

[DELL.NTx86]
; Dell
%PERCH830Adp.DeviceDesc%           = Install_MSI, PCI\VEN_1000&DEV_005D&SUBSYS_1F411028
%PERCH730pAdp.DeviceDesc% 	       = Install_MSI, PCI\VEN_1000&DEV_005D&SUBSYS_1F421028
%PERCH730Adp.DeviceDesc%	       = Install_MSI, PCI\VEN_1000&DEV_005D&SUBSYS_1F431028
%PERCH730PminiAdp.DeviceDesc% 	   = Install_MSI, PCI\VEN_1000&DEV_005D&SUBSYS_1F471028
%PERCH730PminiAdp.DeviceDesc%      = Install_MSI, PCI\VEN_1000&DEV_005D&SUBSYS_1F481028
%PERCH730MiniAdp.DeviceDesc%       = Install_MSI, PCI\VEN_1000&DEV_005D&SUBSYS_1F491028
%PERCH730MiniAdp.DeviceDesc%       = Install_MSI, PCI\VEN_1000&DEV_005D&SUBSYS_1F4A1028
%PERCH730PSlim.DeviceDesc%         = Install_MSI, PCI\VEN_1000&DEV_005D&SUBSYS_1F4F1028
%PERCFD33xS.DeviceDesc%            = Install_MSI, PCI\VEN_1000&DEV_005D&SUBSYS_1F4D1028
%PERCFD33xD.DeviceDesc%            = Install_MSI, PCI\VEN_1000&DEV_005D&SUBSYS_1F541028
%PERCH730pAdp.DeviceDesc% 	       = Install_MSI, PCI\VEN_1000&DEV_005D&SUBSYS_1F361028
%PERCH730PMX.DeviceDesc% 	       = Install_MSI, PCI\VEN_1000&DEV_005D&SUBSYS_1FD11028

;Perc9 iMR controllers
%PERCH330Adp.DeviceDesc%	       = Install_MSI, PCI\VEN_1000&DEV_005F&SUBSYS_1F441028
%PERCH330miniAdp.DeviceDesc%	   = Install_MSI, PCI\VEN_1000&DEV_005F&SUBSYS_1F4B1028
%PERCH330miniAdp.DeviceDesc%	   = Install_MSI, PCI\VEN_1000&DEV_005F&SUBSYS_1F4C1028
%PERCH330EmbdAdp.DeviceDesc%  	   = Install_MSI, PCI\VEN_1000&DEV_005F&SUBSYS_1F4D1028
%PERCH330Adp.DeviceDesc%	       = Install_MSI, PCI\VEN_1000&DEV_005F&SUBSYS_1F321028


[DELL.NTamd64]
; Dell
%PERCH830Adp.DeviceDesc%           = Install_MSI, PCI\VEN_1000&DEV_005D&SUBSYS_1F411028
%PERCH730pAdp.DeviceDesc%          = Install_MSI, PCI\VEN_1000&DEV_005D&SUBSYS_1F421028
%PERCH730Adp.DeviceDesc%           = Install_MSI, PCI\VEN_1000&DEV_005D&SUBSYS_1F431028
%PERCH730PminiAdp.DeviceDesc% 	   = Install_MSI, PCI\VEN_1000&DEV_005D&SUBSYS_1F471028
%PERCH730PminiAdp.DeviceDesc%      = Install_MSI, PCI\VEN_1000&DEV_005D&SUBSYS_1F481028
%PERCH730MiniAdp.DeviceDesc%       = Install_MSI, PCI\VEN_1000&DEV_005D&SUBSYS_1F491028
%PERCH730MiniAdp.DeviceDesc%       = Install_MSI, PCI\VEN_1000&DEV_005D&SUBSYS_1F4A1028
%PERCH730PSlim.DeviceDesc%         = Install_MSI, PCI\VEN_1000&DEV_005D&SUBSYS_1F4F1028
%PERCFD33xS.DeviceDesc%            = Install_MSI, PCI\VEN_1000&DEV_005D&SUBSYS_1F4D1028
%PERCFD33xD.DeviceDesc%            = Install_MSI, PCI\VEN_1000&DEV_005D&SUBSYS_1F541028
%PERCH730pAdp.DeviceDesc% 	       = Install_MSI, PCI\VEN_1000&DEV_005D&SUBSYS_1F361028
%PERCH730PMX.DeviceDesc% 	       = Install_MSI, PCI\VEN_1000&DEV_005D&SUBSYS_1FD11028

;Perc9 iMR controllers
%PERCH330Adp.DeviceDesc%           = Install_MSI, PCI\VEN_1000&DEV_005F&SUBSYS_1F441028
%PERCH330miniAdp.DeviceDesc%	   = Install_MSI, PCI\VEN_1000&DEV_005F&SUBSYS_1F4B1028
%PERCH330miniAdp.DeviceDesc%	   = Install_MSI, PCI\VEN_1000&DEV_005F&SUBSYS_1F4C1028
%PERCH330EmbdAdp.DeviceDesc%  	   = Install_MSI, PCI\VEN_1000&DEV_005F&SUBSYS_1F4D1028
%PERCH330Adp.DeviceDesc%	       = Install_MSI, PCI\VEN_1000&DEV_005F&SUBSYS_1F321028

[Strings]
;Localizable Strings needed for HBA naming in Windows UI

DELL = "DELL"
DISK = "DELL PERC RAID Driver"


PERCH330Adp.DeviceDesc	            = "PERC H330 Adapter"
PERCH730Adp.DeviceDesc	            = "PERC H730 Adapter"
PERCH730pAdp.DeviceDesc	            = "PERC H730P Adapter"
PERCH730MiniAdp.DeviceDesc          = "PERC H730 Mini"
PERCH730PminiAdp.DeviceDesc         = "PERC H730P Mini"
PERCH830Adp.DeviceDesc              = "PERC H830 Adapter"
PERCH330miniAdp.DeviceDesc          = "PERC H330 Mini"
PERCH330EmbdAdp.DeviceDesc          = "PERC H330 Embedded"    
PERCH730PSlim.DeviceDesc            = "PERC H730P Slim"
PERCFD33xS.DeviceDesc               = "PERC FD33xS"
PERCFD33xD.DeviceDesc               = "PERC FD33xD"
PERCH730PMX.DeviceDesc		        = "PERC H730P MX"


;******************************************* 
;Non-Localizable strings

SPSVCINST_ASSOCSERVICE = 0x00000002
SERVICE_KERNEL_DRIVER  = 1
SERVICE_BOOT_START     = 0
SERVICE_ERROR_NORMAL   = 1
REG_EXPAND_SZ          = 0x00020000
REG_DWORD              = 0x00010001
