;************************************************************************************
;              oemsetup.inf - (Windows 2003 and above only)
;
;		This is the INF file for Windows 2003 and above for ARECA 
;					SAS 3G/6G PCI Host Adapters
;
;		*********************************************************************
;		*                                                                   *
;		*  Copyright 2002 ARECA, Inc. All rights reserved.                  *
;		*                                                                   *
;		*  This file is property of ARECA, Inc. and is licensed for         *
;		*  use as is.  The receipt of or possession of this file does not   *
;		*  convey any rights to modify its contents, in whole, or in part,  *
;		*  without the specific written consent of ARECA, Inc.              *
;		*                                                                   *
;		*********************************************************************
;************************************************************************************
[Version]
Signature="$Windows NT$"
Class=SCSIAdapter
ClassGUID={4D36E97B-E325-11CE-BFC1-08002BE10318}
Provider=%ARECA%
DriverVer=03/28/2012,6.0.0.6
CatalogFile.NTx86=arcsas.cat

[DestinationDirs]
DefaultDestDir = 12           ; DIRID_DRIVERS

[SourceDisksFiles]
ares_x86.sys = 1

[SourceDisksNames]
1 = %Source_Disk_Name%,,,

[Manufacturer]
%ARECA%=ARECA,NTx86

[ARECA.NTx86]
%arcsas_3G.DevDesc% = ares_x86_Inst, PCI\VEN_17D3&DEV_1300
%arcsas_6G.DevDesc% = ares_x86_Inst, PCI\VEN_17D3&DEV_1320

[ControlFlags]
ExcludeFromSelect = PCI\VEN_17D3&DEV_1300
ExcludeFromSelect = PCI\VEN_17D3&DEV_1320

[ares_x86_Inst]
CopyFiles = @ares_x86.sys
CopyINF = arcvdev.inf
AddReg = ares_x86_AddReg

[ares_x86_Inst.HW]
AddReg = ares_x86_Shutdown_addreg

[ares_x86_Inst.Services]
AddService = ares_x86, %SPSVCINST_ASSOCSERVICE%, ares_x86_Service_Inst, Miniport_EventLog_Inst

[ares_x86_Service_Inst]
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_BOOT_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\ares_x86.sys
LoadOrderGroup = SCSI Miniport
AddReg         = Parameters_Addreg
AddReg         = BusTypeRAID_Addreg

[Parameters_Addreg]
HKR, "Parameters\PnpInterface", "5", 0x00010001, 0x00000001

[BusTypeRAID_Addreg]
HKR, "Parameters", "BusType", 0x00010001, 0x0000000A

[ares_x86_AddReg]
HKLM,SYSTEM\CurrentControlSet\Services\disk,TimeOutValue,0x00010001,0x5a
HKLM,SYSTEM\CurrentControlSet\Services\ares_x86\Parameters\Device,MaximumSGList,0x00010001,0x000001FE
HKLM,SYSTEM\CurrentControlSet\Services\ares_x86\Parameters\Device,NumberOfRequests,0x00010001,0x000000FF

[Miniport_EventLog_Inst]
AddReg = Miniport_EventLog_Inst.AddReg

[Miniport_EventLog_Inst.AddReg]
HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\Drivers\ares_x86.sys"
HKR,,TypesSupported,%REG_DWORD%,7

[ares_x86_Shutdown_addreg]
HKR,"StorPort","NeedsSystemShutdownNotification",0x00010001,1

[Strings]
ARECA = "Areca Technology Corporation"

arcsas_3G.DevDesc = "ARECA (X86-32-STORPORT) SAS 3G PCI Host Adapter"
arcsas_6G.DevDesc = "ARECA (X86-32-STORPORT) SAS 6G PCI Host Adapter"

Source_Disk_Name = "ARECA (X86-32) SAS PCI Installation Disk"

;*******************************************
;Handy macro substitutions (non-localizable)
REQUEST_COUNT          = 510
TIMEOUT_SECS           = 90
PCI_BUS                = 5
SPSVCINST_ASSOCSERVICE = 0x00000002
SERVICE_KERNEL_DRIVER  = 1
SERVICE_BOOT_START     = 0
SERVICE_ERROR_NORMAL   = 1
REG_EXPAND_SZ          = 0x00020000
REG_DWORD              = 0x00010001
