;=============================================================================
; Copyright (c) 2006. Marvell International Ltd.
; 
;============================================================================= 

[Version]
signature= "$Windows NT$"
Class=SCSIAdapter
ClassGUID={4D36E97B-E325-11CE-BFC1-08002BE10318}
Provider=%Marvell%
DriverVer=05/07/2014,1.0.5.1016

[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]
mvumis.sys = 3426

[DestinationDirs] 
DefaultDestDir = 12 ; DIRID_DRIVERS

[Manufacturer] 
%Marvell%=Marvell, ntamd64, NTx86

[Marvell.ntamd64]
%mvumisDesc%              = mvumis_Inst,PCI\VEN_1B4B&DEV_9143
%mvumisDesc%              = mvumis_Inst,PCI\VEN_1B4B&DEV_9145
%mvrocumisDesc%           = mvumis_Inst,PCI\VEN_1B4B&DEV_9580
%mvrocumisDesc%           = mvumis_Inst,PCI\VEN_1B4B&DEV_9548
%Console.DeviceDesc%      = NODRV,SCSI\ProcessorMARVELL_Flash_Console___
%Virtual.DeviceDesc%      = NODRV,SCSI\ArrayMarvell_Virtual_Device__

[Marvell.NTx86]
%mvumisDesc%              = mvumis_Inst,PCI\VEN_1B4B&DEV_9143
%mvumisDesc%              = mvumis_Inst,PCI\VEN_1B4B&DEV_9145
%mvrocumisDesc%           = mvumis_Inst,PCI\VEN_1B4B&DEV_9580
%mvrocumisDesc%           = mvumis_Inst,PCI\VEN_1B4B&DEV_9548
%Console.DeviceDesc%      = NODRV,SCSI\ProcessorMARVELL_Flash_Console___
%Virtual.DeviceDesc%      = NODRV,SCSI\ArrayMarvell_Virtual_Device__

[NODRV]
CopyFiles=MoveNODRV

[MoveNODRV]

[NODRV.Services]
AddService = , %SPSVCINST_ASSOCSERVICE%   ; null service install

[ControlFlags]
ExcludeFromSelect = *

[mvumis_Inst] 
CopyFiles = @mvumis.sys
AddReg = mvumis_Registry_Update

[mvumis_Inst.HW]
AddReg = mvumis_Registry_Update_HW

[mvumis_Inst.Services] 
AddService = mvumis,0x00000002,mvumis_Service_Inst, mvumis_EventLog_Inst 

;  ******** Change disk time out value from default 10s to 60s ********
[mvumis_Registry_Update]
HKLM,SYSTEM\CurrentControlSet\Services\mvumis\Parameters,IoTimeoutValue,0x00010001,0x3C

[mvumis_Registry_Update_HW]
HKR,Interrupt Management,,0x00000010
HKR,Interrupt Management\MessageSignaledInterruptProperties,,0x00000010
HKR,Interrupt Management\MessageSignaledInterruptProperties,MSISupported,0x00010001,0
HKR,Interrupt Management\MessageSignaledInterruptProperties,MessageNumberLimit,0x00010001,1

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

[mvumis_EventLog_Inst] 
AddReg = mvumis_EventLog_Inst.AddReg 
 
[mvumis_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", "NumberOfRequests", 0x00010001, 0x000000FF
HKR, "Parameters\Device", "MaximumSGList", 0x00010001, 0x000000FF

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

[Strings] 
;Localizable Strings
Marvell                 = "Marvell Inc." 
Desc                    = "Marvell Flash Controller Driver" 
mvumisDesc              = "Marvell Flash Controller"
mvrocumisDesc           = "Marvell Storage Controller" 
Console.DeviceDesc      = "Marvell Flash Controller Console"
Virtual.DeviceDesc      = "Marvell Storage Virtual Device"

;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
