;
; Installation inf for VIA RAID Stor-Miniport Driver
; Copyright (c) 2000 - 2007, VIA Technologies, Inc.
;

[Version]
signature="$Windows NT$"
Provider=%VIA%
ClassGUID={4D36E97B-E325-11CE-BFC1-08002BE10318}
Class=SCSIAdapter
DriverVer=11/22/2007, 6.0.6000.6210

;
; Source file information
;

[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]
vsmraid.sys = 3426

[ControlFlags]
ExcludeFromSelect = *

[DestinationDirs]
DefaultDestDir = 12

;
; Driver information
;

[Manufacturer]
%VIA%=VIA,NTx86,NTamd64

[VIA.NTx86]
%VIA_3349.DeviceDesc% = vsmraid, PCI\VEN_1106&DEV_3349&CC_0104
%VIA_3149.DeviceDesc% = vsmraid, PCI\VEN_1106&DEV_3149&CC_0104
%VIA_0591.DeviceDesc% = vsmraid, PCI\VEN_1106&DEV_0591&CC_0104
%VIA_3249.DeviceDesc% = vsmraid, PCI\VEN_1106&DEV_3249&CC_0104
%VIA_0581.DeviceDesc% = vsmraid, PCI\VEN_1106&DEV_0581&CC_0104
%VIA_7372.DeviceDesc% = vsmraid, PCI\VEN_1106&DEV_7372&CC_0104

[VIA.NTamd64]
%VIA_3349.DeviceDesc% = vsmraid, PCI\VEN_1106&DEV_3349&CC_0104
%VIA_3149.DeviceDesc% = vsmraid, PCI\VEN_1106&DEV_3149&CC_0104
%VIA_0591.DeviceDesc% = vsmraid, PCI\VEN_1106&DEV_0591&CC_0104
%VIA_3249.DeviceDesc% = vsmraid, PCI\VEN_1106&DEV_3249&CC_0104
%VIA_0581.DeviceDesc% = vsmraid, PCI\VEN_1106&DEV_0581&CC_0104
%VIA_7372.DeviceDesc% = vsmraid, PCI\VEN_1106&DEV_7372&CC_0104

;
; General installation section
;

[VSMRAID]
CopyFiles=@vsmraid.sys

;
; Service Installation
;

[VSMRAID.Services]
AddService = vsmraid, 2, VSMRAID_Service_Inst, vsmraid_EventLog_Inst

[VSMRAID_Service_Inst]
ServiceType    = 1      ; SERVICE_KERNEL_DRIVER
StartType      = 0      ; SERVICE_BOOT_START
ErrorControl   = 1      ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\vsmraid.sys
LoadOrderGroup = SCSI Miniport
AddReg         = pnpsafe_pci_addreg

[vsmraid_EventLog_Inst]
AddReg = vsmraid_EventLog_AddReg

[vsmraid_EventLog_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", "CreateInitiatorLU", 0x00010001, 0x00000001
HKR, "Parameters","BusType",0x00010001,0x0000008

[Strings]
;
; Localizable Strings
;

VIA_3349.DeviceDesc="VIA VT8251 AHCI RAID Controller"
VIA_3149.DeviceDesc="VIA VT8237 RAID Controller"
VIA_0591.DeviceDesc="VIA VT8237A RAID Controller"
VIA_3249.DeviceDesc="VIA VT6421 RAID Controller"
VIA_0581.DeviceDesc="VIA CX700/VX700 RAID Controller"
VIA_7372.DeviceDesc="VIA VT8237S RAID Controller"
VIA="VIA Technologies, Inc."

;
; Non-Localizable Strings
;
REG_EXPAND_SZ=0x00020000
REG_DWORD=0x00010001