; Copyright (c) 2011 LSI
; INF file for the LSI 3ware 9750 RAID controller.

[Version]
Signature="$Windows NT$"
Class= SCSIAdapter
ClassGUID={4D36E97B-E325-11CE-BFC1-08002BE10318}
Provider=%LSI%
DriverVer=04/11/2013, 5.01.00.051

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

[LSI.NTx86]
%DEVICE_DESCRIPTION_LSI% = Install, PCI\VEN_13C1&DEV_1010&SUBSYS_000113C1

[LSI.NTamd64]
%DEVICE_DESCRIPTION_LSI% = Install, PCI\VEN_13C1&DEV_1010&SUBSYS_000113C1

[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]
3ware.sys = 3426

[DestinationDirs]
DefaultDestDir = 12 ; DIRID_DRIVERS

[ControlFlags]
ExcludeFromSelect = *

[Install.NT]
CopyFiles = Driver_Copy

[Driver_Copy]
3ware.sys,,,%COPYFLG_NOSKIP_NOCHECK%

[Install.NT.Services]
AddService = %DRIVER_NAME%,%SPSVCINST_ASSOCSERVICE%,Driver_Install,EventLog_Install

[Driver_Install]
ServiceType = %SERVICE_KERNEL_DRIVER%
StartType = %SERVICE_BOOT_START%
ErrorControl = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\%DRIVER_FILENAME%
LoadOrderGroup = SCSI miniport
AddReg = Parms_AddReg

[Parms_AddReg]
HKR,"Parameters",%BUSTYPE_NAME%,%REG_DWORD%,%BUSTYPE_RAID%
HKR,"Parameters\PnpInterface",%PCIBUS%,%REG_DWORD%,1
HKR,"Parameters",%TIMEOUT_VALUE%,%REG_DWORD%,%TIMEOUT_SECONDS%

[EventLog_Install]
AddReg = EventLog_AddReg

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

[Strings]
;Localizable Strings
LSI = "LSI"
DISK_DESCRIPTION = "LSI 3ware 9750 Driver Installation Disk"
DEVICE_DESCRIPTION_LSI = "LSI 3ware 9750 RAID Controller"

;Non Localizable Strings
SERVICE_BOOT_START = 0
SERVICE_ERROR_NORMAL = 1
SERVICE_KERNEL_DRIVER = 1
SPSVCINST_ASSOCSERVICE = 2

DRIVER_NAME = "3ware"
DRIVER_FILENAME= "3ware.sys"
PCIBUS = 5
TIMEOUT_SECONDS = 60
TIMEOUT_VALUE = "IoTimeoutValue"
BUSTYPE_NAME = "BusType"
BUSTYPE_RAID = 8

REG_DWORD = 0x00010001
REG_EXPAND_SZ = 0x00020000
COPYFLG_NOSKIP_NOCHECK = 0x00000006
