; M5228.INF
; Copyright (c) 2003 ALi Corporation.

[version]
signature="$Chicago$"
Class=SCSIAdapter
ClassGUID={4D36E97B-E325-11CE-BFC1-08002BE10318}
Provider=%ALi%
DriverVer=7/05/2003,5.002 Build 3
;CatalogFile = m5228.cat

[SourceDisksNames]
1 = "ALi M5228 Driver Diskette(NT)",,,

[SourceDisksFiles]
m5228.sys = 1
m5228.inf = 1

[ClassInstall32.NT]
AddReg=SCSIReg

[SCSIReg]
HKR,,,,%SCSIClassName%
HKR,,Installer32,,"SysSetup.dll,SCSIClassInstaller"
HKR,,Icon,,"-10"
HRK,,LegacyInfOption,,"SCSI"

[DestinationDirs]
DefaultDestDir = 12 ; Drivers directory
MoveUltra.NT = 12
MoveSpultra.NT = 12

[ControlFlags]

[Manufacturer] 
%ALi%=ALi

[ALi]
%PCI\VEN_10B9&DEV_5228&SUBSYS_528110B9.DeviceDesc%=UltraATA,PCI\VEN_10B9&DEV_5228
%PCI\VEN_10B9&DEV_5228&SUBSYS_528110B9.DeviceDesc%=UltraATA,PCI\VEN_10B9&DEV_5228&SUBSYS_522810B9


[UltraATA]

[UltraATA.NT]
CopyFiles=MoveUltra.NT
Reboot


[MoveUltra.NT]
m5228.sys


[UltraATA.NT.Services]
AddService=m5228,2,UltraATA_Service_Inst,Miniport_EventLog_Inst

[UltraATA_Service_Inst]
ServiceType  = 1 ; SERVICE_KERNEL_DRIVER
StartType    = 0 ; SERVICE_BOOT_START
;StartType    = 1 ; SERVICE_SYSTEM_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\m5228.sys
LoadOrderGroup = SCSI miniport
AddReg = pnpsafe_pci_addreg
AddReg = Driver_Parameter_AddReg

;*************************************************************
;These addreg sections should be used when installins services to indicate
;which interface types are safe for PNP and which aren't.  INTERFACE_TYPE
;is defined in NTDDK.H

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

[pnpsafe_isa_addreg]
HKR, "Parameters\PnpInterface", "1", 0x00010001, 0x00000001

[pnpsafe_eisa_addreg]
HKR, "Parameters\PnpInterface", "2", 0x00010001, 0x00000001

[pnpsafe_mca_addreg]
HKR, "Parameters\PnpInterface", "3", 0x00010001, 0x00000001

[cardbus_interface_type]
HKR, "ScsiPort", "LegacyInterfaceType", 0x00010001, 0x00000005

;The following is our own parameters
[Driver_Parameter_AddReg]
HKR,Parameters,UltraDMASupported,%REG_BINARY%,0,0,0,0
HKR,Parameters,DMASupported,%REG_BINARY%,0,0,0,0
HKR,Parameters,Mode,%REG_BINARY%,0,0,0,0
HKR,Parameters,ModeNo,%REG_BINARY%,0a,0a,0a,0a
HKR,Parameters,DrvSetTiming,%REG_BINARY%,0
HKR,Parameters,ForceCdromDma,%REG_BINARY%,0
HKR,Parameters,ForceUltraDma,%REG_BINARY%,0
HKR,Parameters,ForceCdromUltra,%REG_BINARY%,0
HKR,Parameters,FastBoot,%REG_BINARY%,0

;*************************************************************
;The EventLog entries are the same for all SCSI miniports.
[Miniport_EventLog_Inst]
AddReg = Miniport_EventLog_AddReg

[Miniport_EventLog_AddReg]
HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll"
HKR,,TypesSupported,%REG_DWORD%,7


[Strings]
ALi = "ALi Corporation"
PCI\VEN_10B9&DEV_5228&SUBSYS_528110B9.DeviceDesc="ALi M5228 ATA/RAID Controller"


///////////////////////////////////////



