; stex.INF
; Copyright Tue 08/07/2008 Promise Technology, Inc.
;
[Version]
signature="$Windows NT$"
Class=SCSIAdapter
ClassGUID={4D36E97B-E325-11CE-BFC1-08002BE10318}
CatalogFile=stex.cat
Provider=%PROMISE%
DriverVer=09/04/2008, 4.01.0000.08
;

[DestinationDirs] 
stex.Files.x86_12 = 12 

[SourceDisksNames.x86]
0=%Desc_x860%

[SourceDisksFiles.x86]
stex.sys=0,

;[ControlFlags]
;ExcludeFromSelect=*

[Manufacturer] 
%Promise%=Promise

[Promise]
%stexYosemiteDesc%=stex_Inst,PCI\VEN_105A&DEV_8650
%stexDesc%=stex_Inst,PCI\VEN_105A&DEV_4302
%stexDesc%=stex_Inst,PCI\VEN_105A&DEV_8350
%stexDesc%=stex_Inst,PCI\VEN_105A&DEV_C350
%stexDesc%=stex_Inst,PCI\VEN_105A&DEV_E350
%stex7250Desc%=stex_Inst,PCI\VEN_105A&DEV_7250
%sttxSequoia% = stex_Inst,PCI\VEN_105A&DEV_3360
%sttx8650Desc%= stex_Inst,PCI\VEN_105A&DEV_3360&SUBSYS_4122105A
%sttx8654Desc%= stex_Inst,PCI\VEN_105A&DEV_3360&SUBSYS_4123105A
%sttx8658Desc%= stex_Inst,PCI\VEN_105A&DEV_3360&SUBSYS_4127105A
%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]
DelReg = LegacyScsiportValues
AddReg = stex_addreg.HW

[stex_addreg.HW]
HKR, "ScsiPort" , "TotalSenseDataBytes" , 0x00010001, 255

[LegacyScsiportValues]
HKR,Scsiport 

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

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

[stex.Files.x86_12] 
stex.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 
HKLM,"SYSTEM\CurrentControlSet\Services\stex\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 SuperTrak SATA/SAS RAID Controller Driver - 32bits platform"
stexYosemiteDesc= "Promise SuperTrak EX SAS RAID Controller"
stexDesc= "Promise SuperTrak EX 8350 Series SATA RAID (tm) Controller" 
stex7250Desc= "Vitesse 7250 Series SAS RAID (tm) Controller"
sttxSequoia = "Promise SuperTrak TX865x series (tm) Controller"
sttx8650Desc= "Promise SuperTrak TX8650 (tm) Controller" 
sttx8654Desc= "Promise SuperTrak TX8654 (tm) Controller" 
sttx8658Desc= "Promise SuperTrak TX8658 (tm) 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
