;=============================================================================
; Copyright (c) 2006. Marvell International Ltd.
; 
; INF for Windows 2K, Windows XP, Windows server 2003 and Windows Vista
;
;============================================================================= 
 
[Version] 
Signature = "$Windows NT$" 
Class=SCSIAdapter
ClassGUID={4D36E97B-E325-11CE-BFC1-08002BE10318} 
Provider=%Marvell% 
CatalogFile=mv61xx.cat
DriverVer= 10/17/2006,1.1.0.50

[DestinationDirs] 
mv61xx.Files.x86_11 = 12
DefaultDestDir = 12

[SourceDisksNames.x86]
0=%Desc_x860%

[SourceDisksNames.amd64]
0=%Desc_x860%

[SourceDisksFiles.x86]
mv61xx.sys=0,, 

[SourceDisksFiles.amd64]
mv61xx.sys=0,, 

[Manufacturer] 
%Marvell%=Marvell,NTamd64

[Marvell]
%mv61xxDesc%=mv61xx_Inst,PCI\VEN_11AB&DEV_6101
%mv61xxDesc%=mv61xx_Inst,PCI\VEN_11AB&DEV_6111
%mv61xxDesc%=mv61xx_Inst,PCI\VEN_11AB&DEV_6121
%mv61xxDesc%=mv61xx_Inst,PCI\VEN_11AB&DEV_6122
%mv61xxDesc%=mv61xx_Inst,PCI\VEN_11AB&DEV_6145
%Marvell_Raid_ConsoleDesc%=NODRV,SCSI\ProcessorMarvell_

[Marvell.NTamd64]
%mv61xxDesc%=mv61xx_Inst,PCI\VEN_11AB&DEV_6101
%mv61xxDesc%=mv61xx_Inst,PCI\VEN_11AB&DEV_6111
%mv61xxDesc%=mv61xx_Inst,PCI\VEN_11AB&DEV_6121
%mv61xxDesc%=mv61xx_Inst,PCI\VEN_11AB&DEV_6122
%mv61xxDesc%=mv61xx_Inst,PCI\VEN_11AB&DEV_6145
%Marvell_Raid_ConsoleDesc%=NODRV,SCSI\ProcessorMarvell_

[NODRV]
CopyFiles=MoveNODRV

[MoveNODRV]

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

[mv61xx_Inst] 
CopyFiles = mv61xx.Files.x86_11, 

[mv61xx_Inst.Services] 
AddService = mv61xx,0x00000002,mv61xx_Service_Instx86, mv61xx_EventLog_Inst 

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


[mv61xx.Files.x86_11] 
mv61xx.sys

[mv61xx_EventLog_Inst] 
AddReg = mv61xx_EventLog_Inst.AddReg 
 
[mv61xx_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 

[Strings] 

;  *******Localizable Strings******* 
Marvell= "Marvell Inc." 
Desc_x860= "Marvell Inc. Marvell RAID driver" 
mv61xxDesc= "Marvell 61xx Marvell RAID Controller" 
Marvell_Raid_ConsoleDesc= "Marvell 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
