; stexstpt.INF
; Copyright Tue 08/22/2006 Promise Technology, Inc.
;
[Version]
signature="$Windows NT$"
Class=SCSIAdapter
ClassGUID={4D36E97B-E325-11CE-BFC1-08002BE10318}
CatalogFile=stexstpt.cat
Provider=%PROMISE%
DriverVer=03/29/2013, 5.2.0000.14
;

[DestinationDirs]
stex.Files.x86_12 = 12

[SourceDisksNames.x86]
0=%Desc_x860%

[SourceDisksFiles.x86]
stexstpt.sys=0,

;[ControlFlags]
;ExcludeFromSelect=*

[Manufacturer]
%Promise%=Promise

[Promise]
%stexYellowstoneDesc%=stex_Inst,PCI\VEN_105A&DEV_8760
;%Promise_Raid_ConsoleDesc%=NODRV,SCSI\ProcessorPromise_

;[NODRV]
;CopyFiles=MoveNODRV

;[MoveNODRV]

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

[stex_Inst.ntx86]
CopyFiles = stex.Files.x86_12

[stex_Inst.ntx86.HW]
Include=machine.inf
Needs=PciIoSpaceNotRequired

[stex_Inst.ntx86.Services]
AddService = stexstpt,0x00000002,stex_Service_Instx86, stex_EventLog_Inst

[stex_Service_Instx86]
ServiceType = %SERVICE_KERNEL_DRIVER%
StartType = %SERVICE_BOOT_START%
ErrorControl = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\stexstpt.sys
LoadOrderGroup = "SCSI Miniport"
AddReg = pnpsafe_pci_addreg
AddReg = bus_type_raid

[stex.Files.x86_12]
stexstpt.sys

[stex_EventLog_Inst]
AddReg = stex_EventLog_Inst.AddReg

[stex_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\Device,"RESET",0x00010001,1
HKLM,"SYSTEM\CurrentControlSet\Services\stexstpt\Parameters\Device","NumberOfRequests",0x00010001,1024
HKLM,"SYSTEM\CurrentControlSet\Services\disk","TimeoutValue",0x00010001,90

[bus_type_raid]
HKR, "Parameters", "BusType", 0x00010001, 0x00000008

;[pnpsafe_isa_addreg]
;HKR, Parameters\PnpInterface, 1, 0x00010001, 0x00000001

;[pnpsafe_eisa_addreg]
;HKR, Parameters\PnpInterface, 2, 0x00010001, 0x00000001


[Strings]

;  *******Localizable Strings*******
Promise= "Promise Technology, Inc."
Desc_x860= "Promise Pegasus SATA/SAS RAID Controller Driver - 32bits platform"
stexYellowstoneDesc = "Promise Pegasus RAID Controller"
Promise_Raid_ConsoleDesc= "Promise 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
