;Copyright (c) 2004-2011 Hewlett-Packard Development Company, L.P. ALL RIGHTS RESERVED.
;HP Confidential.

[version]
Signature="$WINDOWS NT$"
Class=SCSIAdapter
ClassGUID={4D36E97B-E325-11CE-BFC1-08002BE10318}
Provider=%HP%
DriverVer=03/20/2013,8.0.4.0

[SourceDisksNames.amd64]
3426=windows cd

[SourceDisksNames.x86]
3426=windows cd

[SourceDisksFiles.amd64]
HpSAMD.sys = 3426

[SourceDisksFiles.x86]
HpSAMD.sys = 3426

[DestinationDirs]
DefaultDestDir = 12 ; DIRID_DRIVERS

[ControlFlags]
ExcludeFromSelect = *

[Manufacturer]
%HP%=HP_HDC, ntamd64, ntx86

[HP_HDC.ntamd64] ;Server 64-bit
%smart_B400i.DeviceDesc%   = HpCISSs2_Inst, PCI\VEN_103C&DEV_3230&SUBSYS_323E103C
%smart_P800.DeviceDesc%    = HpCISSs2_Inst, PCI\VEN_103C&DEV_3230&SUBSYS_3223103C
%smart_P700m.DeviceDesc%   = HpCISSs2_Inst, PCI\VEN_103C&DEV_3230&SUBSYS_323D103C
%smart_P600.DeviceDesc%    = HpCISSs2_Inst, PCI\VEN_103C&DEV_3220&SUBSYS_3225103C
%smart_P400.DeviceDesc%    = HpCISSs2_Inst, PCI\VEN_103C&DEV_3230&SUBSYS_3234103C
%smart_P400i.DeviceDesc%   = HpCISSs2_Inst, PCI\VEN_103C&DEV_3230&SUBSYS_3235103C
%smart_E500.DeviceDesc%    = HpCISSs2_Inst, PCI\VEN_103C&DEV_3230&SUBSYS_3237103C
%smart_E200.DeviceDesc%    = HpCISSs2_Inst, PCI\VEN_103C&DEV_3238&SUBSYS_3212103C
%smart_E200i.DeviceDesc%   = HpCISSs2_Inst, PCI\VEN_103C&DEV_3238&SUBSYS_3211103C
%smart_P212.DeviceDesc%    = HpCISSs2_Inst, PCI\VEN_103C&DEV_323A&SUBSYS_3241103C
%smart_P410.DeviceDesc%    = HpCISSs2_Inst, PCI\VEN_103C&DEV_323A&SUBSYS_3243103C
%smart_P410i.DeviceDesc%   = HpCISSs2_Inst, PCI\VEN_103C&DEV_323A&SUBSYS_3245103C
%smart_P411.DeviceDesc%    = HpCISSs2_Inst, PCI\VEN_103C&DEV_323A&SUBSYS_3247103C
%smart_P812.DeviceDesc%    = HpCISSs2_Inst, PCI\VEN_103C&DEV_323A&SUBSYS_3249103C
%smart_P712m.DeviceDesc%   = HpCISSs2_Inst, PCI\VEN_103C&DEV_323A&SUBSYS_324A103C
%smart_P711m.DeviceDesc%   = HpCISSs2_Inst, PCI\VEN_103C&DEV_323A&SUBSYS_324B103C
%smart_P222.DeviceDesc%    = HpCISSs2_Inst, PCI\VEN_103C&DEV_323B&SUBSYS_3350103C
%smart_P420.DeviceDesc%    = HpCISSs2_Inst, PCI\VEN_103C&DEV_323B&SUBSYS_3351103C
%smart_P420i.DeviceDesc%   = HpCISSs2_Inst, PCI\VEN_103C&DEV_323B&SUBSYS_3354103C
%smart_P421.DeviceDesc%    = HpCISSs2_Inst, PCI\VEN_103C&DEV_323B&SUBSYS_3352103C
%smart_P822.DeviceDesc%    = HpCISSs2_Inst, PCI\VEN_103C&DEV_323B&SUBSYS_3353103C
%smart_P220i.DeviceDesc%   = HpCISSs2_Inst, PCI\VEN_103C&DEV_323B&SUBSYS_3355103C
%smart_P721m.DeviceDesc%   = HpCISSs2_Inst, PCI\VEN_103C&DEV_323B&SUBSYS_3356103C
%smart_generic.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_3222
%smart_generic.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_3230
%smart_generic.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_3231
%smart_generic.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_3232
%smart_generic.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_3233
%smart_generic.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_3234
%smart_generic.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_3235
%smart_generic.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_3236
%smart_generic.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_3237
%smart_generic.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_3238
%smart_generic.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_3239
%smart_generic.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_323A
%smart_generic.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_323B
%smart_generic.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_323C

[HP_HDC.ntx86] ;Server 32-bit
%smart_B400i.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_3230&SUBSYS_323E103C
%smart_P800.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_3230&SUBSYS_3223103C
%smart_P700m.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_3230&SUBSYS_323D103C
%smart_P600.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_3220&SUBSYS_3225103C
%smart_P400.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_3230&SUBSYS_3234103C
%smart_P400i.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_3230&SUBSYS_3235103C
%smart_E500.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_3230&SUBSYS_3237103C
%smart_E200.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_3238&SUBSYS_3212103C
%smart_E200i.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_3238&SUBSYS_3211103C
%smart_P212.DeviceDesc%    = HpCISSs2_Inst, PCI\VEN_103C&DEV_323A&SUBSYS_3241103C
%smart_P410.DeviceDesc%    = HpCISSs2_Inst, PCI\VEN_103C&DEV_323A&SUBSYS_3243103C
%smart_P410i.DeviceDesc%   = HpCISSs2_Inst, PCI\VEN_103C&DEV_323A&SUBSYS_3245103C
%smart_P411.DeviceDesc%    = HpCISSs2_Inst, PCI\VEN_103C&DEV_323A&SUBSYS_3247103C
%smart_P812.DeviceDesc%    = HpCISSs2_Inst, PCI\VEN_103C&DEV_323A&SUBSYS_3249103C
%smart_P712m.DeviceDesc%   = HpCISSs2_Inst, PCI\VEN_103C&DEV_323A&SUBSYS_324A103C
%smart_P711m.DeviceDesc%   = HpCISSs2_Inst, PCI\VEN_103C&DEV_323A&SUBSYS_324B103C
%smart_P222.DeviceDesc%    = HpCISSs2_Inst, PCI\VEN_103C&DEV_323B&SUBSYS_3350103C
%smart_P420.DeviceDesc%    = HpCISSs2_Inst, PCI\VEN_103C&DEV_323B&SUBSYS_3351103C
%smart_P420i.DeviceDesc%   = HpCISSs2_Inst, PCI\VEN_103C&DEV_323B&SUBSYS_3354103C
%smart_P421.DeviceDesc%    = HpCISSs2_Inst, PCI\VEN_103C&DEV_323B&SUBSYS_3352103C
%smart_P822.DeviceDesc%    = HpCISSs2_Inst, PCI\VEN_103C&DEV_323B&SUBSYS_3353103C
%smart_P220i.DeviceDesc%   = HpCISSs2_Inst, PCI\VEN_103C&DEV_323B&SUBSYS_3355103C
%smart_P721m.DeviceDesc%   = HpCISSs2_Inst, PCI\VEN_103C&DEV_323B&SUBSYS_3356103C
%smart_generic.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_3222
%smart_generic.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_3230
%smart_generic.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_3231
%smart_generic.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_3232
%smart_generic.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_3233
%smart_generic.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_3234
%smart_generic.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_3235
%smart_generic.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_3236
%smart_generic.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_3237
%smart_generic.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_3238
%smart_generic.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_3239
%smart_generic.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_323A
%smart_generic.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_323B
%smart_generic.DeviceDesc% = HpCISSs2_Inst, PCI\VEN_103C&DEV_323C


[HpCISSs2_Inst.ntamd64]
CopyFiles = @HpSAMD.sys

[HpCISSs2_Inst.ntamd64.Services]
AddService = HpSAMD, %SPSVCINST_ASSOCSERVICE%, HpCISSs2_Service_Inst, HpCISSs2_EventLog_Inst

[HpCISSs2_Inst.ntx86]
CopyFiles = @HpSAMD.sys

[HpCISSs2_Inst.ntx86.Services]
AddService = HpSAMD, %SPSVCINST_ASSOCSERVICE%, HpCISSs2_Service_Inst, HpCISSs2_EventLog_Inst

[HpCISSs2_Service_Inst]
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_BOOT_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\HpSAMD.sys
LoadOrderGroup = SCSI Miniport
AddReg         = pnpsafe_pci_addreg
AddReg         = disk_timeout_addreg

[HpCISSs2_EventLog_Inst]
AddReg = hpcisss2_EventLog_AddReg

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

[pnpsafe_pci_addreg]
HKR, ,                          "Tag",             %REG_DWORD%,  0x103
HKR, "Parameters\PnpInterface", "5",               %REG_DWORD%,  0x00000001
HKR, "Parameters\Device",       "DriverParameter", %REG_SZ%,     "CSMI=None;"
HKR, "Parameters",              "BusType",         %REG_DWORD%,  00000008

[disk_timeout_addreg]
HKLM, "System\CurrentControlSet\Services\hpsamd\Parameters", "IoTimeOutValue", %REG_NOCLOBBER_DWORD%, 0x00000014

[HpCISSs2_Inst.ntamd64.HW]
AddReg = MsiSupport_addreg
Include=machine.inf
Needs=PciIoSpaceNotRequired.HW,PciASPMOptOut.HW

[HpCISSs2_Inst.ntx86.HW]
AddReg = MsiSupport_addreg
Include=machine.inf
Needs=PciIoSpaceNotRequired.HW,PciASPMOptOut.HW

[MsiSupport_addreg]
HKR, Interrupt Management, %CREATE_KEYONLY%
HKR, "Interrupt Management\MessageSignaledInterruptProperties", %CREATE_KEYONLY%
HKR, "Interrupt Management\MessageSignaledInterruptProperties", "MSISupported", %REG_DWORD%, 0x00000001
HKR, "Interrupt Management\MessageSignaledInterruptProperties", "MessageNumberLimit", %REG_DWORD%, 0x00000001

[Strings]
;Localizable Stings needed for HBA naming in Windows UI
HP                       = "Hewlett-Packard Company"
DISK                     = "Smart Array SAS/SATA Controller Support"
smart_B400i.DeviceDesc   = "Smart Array B400i Controller (Media Driver)"
smart_P800.DeviceDesc    = "Smart Array P800 Controller (Media Driver)"
smart_P700m.DeviceDesc   = "Smart Array P700m Controller (Media Driver)"
smart_P600.DeviceDesc    = "Smart Array P600 Controller (Media Driver)"
smart_P400.DeviceDesc    = "Smart Array P400 Controller (Media Driver)"
smart_P400i.DeviceDesc   = "Smart Array P400i Controller (Media Driver)"
smart_E500.DeviceDesc    = "Smart Array E500 Controller (Media Driver)"
smart_E200.DeviceDesc    = "Smart Array E200 Controller (Media Driver)"
smart_E200i.DeviceDesc   = "Smart Array E200i Controller (Media Driver)"
smart_P212.DeviceDesc    = "Smart Array P212 Controller (Media Driver)"
smart_P410.DeviceDesc    = "Smart Array P410 Controller (Media Driver)"
smart_P410i.DeviceDesc   = "Smart Array P410i Controller (Media Driver)"
smart_P411.DeviceDesc    = "Smart Array P411 Controller (Media Driver)"
smart_P812.DeviceDesc    = "Smart Array P812 Controller (Media Driver)"
smart_P712m.DeviceDesc   = "Smart Array P712m Controller (Media Driver)"
smart_P711m.DeviceDesc   = "Smart Array P711m Controller (Media Driver)"
smart_P222.DeviceDesc    = "Smart Array P222 Controller (Media Driver)"
smart_P420.DeviceDesc    = "Smart Array P420 Controller (Media Driver)"
smart_P420i.DeviceDesc   = "Smart Array P420i Controller (Media Driver)"
smart_P421.DeviceDesc    = "Smart Array P421 Controller (Media Driver)"
smart_P822.DeviceDesc    = "Smart Array P822 Controller (Media Driver)"
smart_P220i.DeviceDesc   = "Smart Array P220i Controller (Media Driver)"
smart_P721m.DeviceDesc   = "Smart Array P721m Controller (Media Driver)"
smart_generic.DeviceDesc = "Smart Array Controller (Media Driver)"

;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
REG_SZ                 = 0x00000000
REG_NOCLOBBER_DWORD    = 0x00010003
CREATE_KEYONLY         = 0x00000010
