; Copyright (c) 2004 AMCC
; INF file for the AMCC 3ware 7000/8000 Series ATA RAID Controller
; SCSI Miniport Driver for 32-bit Windows 2000, Windows XP, Windows 2003,
; and 64-bit Editions of Windows XP and Windows 2003 for AMD64.

[Version]
Signature   ="$Windows NT$"
Class       = SCSIAdapter
ClassGUID   = {4D36E97B-E325-11CE-BFC1-08002BE10318}
Provider    = %COMPANY_NAME%
DriverVer   = 07/01/2004,1.15.00.024

CatalogFile = AmccDrv7.cat

[Manufacturer]
%COMPANY_NAME% = AMCC

[AMCC]
%DEVICE_DESCRIPTION% = Install, PCI\VEN_13C1&DEV_1001&SUBSYS_100113C1

[SourceDisksNames]
1 = %DISK_DESCRIPTION%

[SourceDisksFiles]
3wDrv100.sys = 1
3wFlt100.sys = 1

[DestinationDirs]
DefaultDestDir = 12

[Install]
CopyFiles = Drv_Copy, Flt_Copy
CopyINF = 3wManage.inf

[Drv_Copy]
3wDrv100.sys,,,6

[Flt_Copy]
3wFlt100.sys,,,6

[Install.HW]
AddReg = Install_AddReg

[Install_AddReg]
HKR,,UpperFilters,%REG_MULTI_SZ%,%FILTER_NAME%
HKR,%SCSIPORT_PARAMETERS%,%SEND_SHUTDOWN_NOTIFY%,%REG_DWORD%,1

[Install.Services]
AddService = %DRIVER_NAME%,%SPSVCINST_ASSOCSERVICE%,Driver_Install,EventLog_Install
AddService = %FILTER_NAME%,,Filter_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\PnpInterface",%PCIBUS%,%REG_DWORD%,1
HKLM,"System\CurrentControlSet\Control\3ware Storage Controller",%ADAPTER_EXPORT%,%REG_DWORD%,1
HKLM,"System\CurrentControlSet\Services\Disk",%TIMEOUT_VALUE%,%REG_DWORD%,%TIMEOUT_SECONDS%

[Filter_Install]
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_BOOT_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\%FILTER_FILENAME%

[EventLog_Install]
AddReg = EventLog_AddReg

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

[Strings]
COMPANY_NAME            = "AMCC"
DISK_DESCRIPTION        = "AMCC 3ware 7000/8000 Series Driver Installation Disk"
DEVICE_DESCRIPTION      = "AMCC 3ware 7000/8000 Series ATA RAID Controller"

DRIVER_NAME             = "3wDrv100"
DRIVER_FILENAME         = "3wDrv100.sys"

FILTER_NAME             = "3wFlt100"
FILTER_FILENAME         = "3wFlt100.sys"

PCIBUS                  = 5
TIMEOUT_SECONDS         = 31
TIMEOUT_VALUE           = "TimeoutValue"
ADAPTER_EXPORT          = "AdapterExport"
SCSIPORT_PARAMETERS     = "ScsiPort"
SEND_SHUTDOWN_NOTIFY    = "NeedsSystemShutdownNotification"

SERVICE_BOOT_START      = 0
SERVICE_ERROR_NORMAL    = 1
SERVICE_KERNEL_DRIVER   = 1
SPSVCINST_ASSOCSERVICE  = 2

REG_DWORD               = 0x00010001
REG_EXPAND_SZ           = 0x00020000
REG_MULTI_SZ            = 0x00010000
