;  -- This file contains descriptions of the MegaRAID family 
;             of IDE RAID Controllers
;
; Copyright © 2001-2005, LSI Logic Corp.,
[version]
Signature="$CHICAGO$"
Class=SCSIAdapter
ClassGUID={4D36E97B-E325-11CE-BFC1-08002BE10318}
Provider=%LSI%
CatalogFile=MegaIDE.cat
DriverVer=07/15/2005,4.2.0715.2005

[SourceDisksNames]
1 = %LSI_DRIVER_DISKETTE%,,,

[SourceDisksFiles]
MegaIDE.sys = 1
;**************************************************** 
;Enable this if you want to Install Spy with driver
;====================================================
;options.dll = 1
;spyser.dll = 1 
;Raidmon.dll = 1
;Evemsg.dll = 1
;LsiATA.dll = 1
;memrwnt.sys = 1

[DestinationDirs]
DefaultDestDir = 12 ; DIRID_DRIVERS
MOVEMINIPORT_MIDE2k_INST=12;
MOVEMINIPORT_MIDE2kx_INST=12;
MOVEMINIPORT_MIDE2k3_INST=12;
;**************************************************** 
;Enable this if you want to Install Spy with driver
;====================================================
;MOVE_SPY_INST=11;
;RenameSpy.NT=11;
;

[ControlFlags]
;
; Exclude the following PnP devices from Select Device list.
;
ExcludeFromSelect = PCI\VEN_8086&DEV_25b0&SUBSYS_10341734
ExcludeFromSelect = PCI\VEN_8086&DEV_25b0&SUBSYS_10401734
ExcludeFromSelect = PCI\VEN_8086&DEV_25b0&SUBSYS_10731734
ExcludeFromSelect = PCI\VEN_8086&DEV_25b0&SUBSYS_497c17AA
ExcludeFromSelect = PCI\VEN_8086&DEV_25b0&SUBSYS_496417AA
ExcludeFromSelect = PCI\VEN_8086&DEV_25b0&SUBSYS_81a91043
ExcludeFromSelect = PCI\VEN_8086&DEV_24df&SUBSYS_81a81043
ExcludeFromSelect = PCI\VEN_8086&DEV_2652&CC_0104
ExcludeFromSelect = PCI\VEN_8086&DEV_27c3&CC_0104

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

[Manufacturer]
%LSI%=LSI, NT.5.1, NT.5.2
     
[LSI]
;
;This section will only be installed by Windows 2000
;
%PCI\VEN_8086&DEV_25b0&SUBSYS_10731734.DeviceDesc% = MIDE2k_Inst, PCI\VEN_8086&DEV_25b0&SUBSYS_10731734
%PCI\VEN_8086&DEV_25b0&SUBSYS_10341734.DeviceDesc% = MIDE2k_Inst, PCI\VEN_8086&DEV_25b0&SUBSYS_10341734
%PCI\VEN_8086&DEV_25b0&SUBSYS_10401734.DeviceDesc% = MIDE2k_Inst, PCI\VEN_8086&DEV_25b0&SUBSYS_10401734
%PCI\VEN_8086&DEV_25b0&SUBSYS_497c17AA.DeviceDesc% = MIDE2k_Inst, PCI\VEN_8086&DEV_25b0&SUBSYS_497c17AA
%PCI\VEN_8086&DEV_25b0&SUBSYS_496417AA.DeviceDesc% = MIDE2k_Inst, PCI\VEN_8086&DEV_25b0&SUBSYS_496417AA
%PCI\VEN_8086&DEV_25b0&SUBSYS_81a91043.DeviceDesc% = MIDE2k_Inst, PCI\VEN_8086&DEV_25b0&SUBSYS_81a91043
%PCI\VEN_8086&DEV_24df&SUBSYS_81a81043.DeviceDesc% = MIDE2k_Inst, PCI\VEN_8086&DEV_24df&SUBSYS_81a81043
%PCI\VEN_8086&DEV_2652&CC_0104.DeviceDesc% = MIDE2k_Inst, PCI\VEN_8086&DEV_2652&CC_0104
%PCI\VEN_8086&DEV_27c3&CC_0104.DeviceDesc% = MIDE2k_Inst, PCI\VEN_8086&DEV_27c3&CC_0104

[MIDE2k_Inst]
CopyFiles = MOVEMINIPORT_MIDE2k_INST
AddReg=MegaIDE.reg.NT
;**************************************************** 
;Enable this if you want to Install Spy with driver
;====================================================
;copyFiles = MOVE_SPY_INST
;AddReg = Add_Spy_Reg
;DelFiles=DEL_SPY_FILES
DriverVer=07/15/2005,4.2.0715.2005

[MIDE2k_Inst.Services]
AddService = MegaIDE, %SPSVCINST_ASSOCSERVICE%, MIDE_Service_Inst,Miniport_EventLog_Inst

[MOVEMINIPORT_MIDE2k_INST]
MegaIDE.sys

;---------------------------------------------------------------------------------------

[LSI.NT.5.1]
;
; This section will only be installed by Windows XP
;
%PCI\VEN_8086&DEV_25b0&SUBSYS_10731734.DeviceDesc% = MIDE2kx_Inst, PCI\VEN_8086&DEV_25b0&SUBSYS_10731734
%PCI\VEN_8086&DEV_25b0&SUBSYS_10341734.DeviceDesc% = MIDE2kx_Inst, PCI\VEN_8086&DEV_25b0&SUBSYS_10341734
%PCI\VEN_8086&DEV_25b0&SUBSYS_10401734.DeviceDesc% = MIDE2kx_Inst, PCI\VEN_8086&DEV_25b0&SUBSYS_10401734
%PCI\VEN_8086&DEV_25b0&SUBSYS_497c17AA.DeviceDesc% = MIDE2kx_Inst, PCI\VEN_8086&DEV_25b0&SUBSYS_497c17AA
%PCI\VEN_8086&DEV_25b0&SUBSYS_496417AA.DeviceDesc% = MIDE2kx_Inst, PCI\VEN_8086&DEV_25b0&SUBSYS_496417AA
%PCI\VEN_8086&DEV_25b0&SUBSYS_81a91043.DeviceDesc% = MIDE2kx_Inst, PCI\VEN_8086&DEV_25b0&SUBSYS_81a91043
%PCI\VEN_8086&DEV_24df&SUBSYS_81a81043.DeviceDesc% = MIDE2kx_Inst, PCI\VEN_8086&DEV_24df&SUBSYS_81a81043
%PCI\VEN_8086&DEV_2652&CC_0104.DeviceDesc% = MIDE2kx_Inst, PCI\VEN_8086&DEV_2652&CC_0104
%PCI\VEN_8086&DEV_27c3&CC_0104.DeviceDesc% = MIDE2kx_Inst, PCI\VEN_8086&DEV_27c3&CC_0104

[MIDE2kx_Inst]
CopyFiles = MOVEMINIPORT_MIDE2kx_INST
AddReg=MegaIDE.reg.NT
;**************************************************** 
;Enable this if you want to Install Spy with driver
;====================================================
;copyFiles = MOVE_SPY_INST
;AddReg = Add_Spy_Reg
;DelFiles=DEL_SPY_FILES
DriverVer=07/15/2005,4.2.0715.2005

[MIDE2kx_Inst.Services]
AddService = MegaIDE, %SPSVCINST_ASSOCSERVICE%, MIDE_Service_Inst,Miniport_EventLog_Inst

[MOVEMINIPORT_MIDE2kx_INST]
MegaIDE.sys

;---------------------------------------------------------------------------------------
[LSI.NT.5.2]
;
; This section will only be installed by Windows 2003
;
%PCI\VEN_8086&DEV_25b0&SUBSYS_10731734.DeviceDesc% = MIDE2k3_Inst, PCI\VEN_8086&DEV_25b0&SUBSYS_10731734
%PCI\VEN_8086&DEV_25b0&SUBSYS_10341734.DeviceDesc% = MIDE2k3_Inst, PCI\VEN_8086&DEV_25b0&SUBSYS_10341734
%PCI\VEN_8086&DEV_25b0&SUBSYS_10401734.DeviceDesc% = MIDE2k3_Inst, PCI\VEN_8086&DEV_25b0&SUBSYS_10401734
%PCI\VEN_8086&DEV_25b0&SUBSYS_497c17AA.DeviceDesc% = MIDE2k3_Inst, PCI\VEN_8086&DEV_25b0&SUBSYS_497c17AA
%PCI\VEN_8086&DEV_25b0&SUBSYS_496417AA.DeviceDesc% = MIDE2k3_Inst, PCI\VEN_8086&DEV_25b0&SUBSYS_496417AA
%PCI\VEN_8086&DEV_25b0&SUBSYS_81a91043.DeviceDesc% = MIDE2k3_Inst, PCI\VEN_8086&DEV_25b0&SUBSYS_81a91043
%PCI\VEN_8086&DEV_24df&SUBSYS_81a81043.DeviceDesc% = MIDE2k3_Inst, PCI\VEN_8086&DEV_24df&SUBSYS_81a81043
%PCI\VEN_8086&DEV_2652&CC_0104.DeviceDesc% = MIDE2k3_Inst, PCI\VEN_8086&DEV_2652&CC_0104
%PCI\VEN_8086&DEV_27c3&CC_0104.DeviceDesc% = MIDE2k3_Inst, PCI\VEN_8086&DEV_27c3&CC_0104


[MIDE2k3_Inst]
CopyFiles = MOVEMINIPORT_MIDE2k3_INST
AddReg=MegaIDE.reg.NT
;**************************************************** 
;Enable this if you want to Install Spy with driver
;====================================================
;copyFiles = MOVE_SPY_INST
;AddReg = Add_Spy_Reg
;DelFiles=DEL_SPY_FILES
DriverVer=07/15/2005,4.2.0715.2005
   
[MIDE2k3_Inst.Services]
AddService = MegaIDE, %SPSVCINST_ASSOCSERVICE%, MIDE_Service_Inst,Miniport_EventLog_Inst

[MOVEMINIPORT_MIDE2k3_INST]
MegaIDE.sys

;************************************************************* 
;The EventLog entries are the same for all SCSI miniports. 

;**************************************************** 
;Enable this if you want to Install Spy with driver
;====================================================
;[MOVE_SPY_INST]
;options, options.dll
;spyser.exe, spyser.dll
;Raidmon.exe, Raidmon.dll
;Evemsg.dll
;LsiATA.dll
;memrwnt.sys

;**************************************************** 
;Enable this if you want to Install Spy with driver
;====================================================
;[DEL_SPY_FILES]
;options.dll
;spyser.dll
;Raidmon.dll

[Miniport_EventLog_Inst]
AddReg = Miniport_EventLog_AddReg

;**************************************************** 
;Enable this if you want to Install Spy with driver
;====================================================
;[Add_Spy_Reg]
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce","SpySerRunOnce",0,"SpySer.exe -i"
;HKLM,"SOFTWARE\System\CurrentControlSet\Services\EventLog\Application\IDE_RAID_APP","EventMessageFile",131072,""%SystemRoot%\system32\EveMsg.dll""
;HKLM,"SOFTWARE\System\CurrentControlSet\Services\EventLog\Application\IDE_RAID_APP","TypeSupported",65537,00000007
;HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Run","RaidMonRun",0,"Raidmon.exe"
     
[MegaIDE.reg.NT]
HKLM,System\CurrentControlSet\Services\Disk,"TimeOutValue", 0x00010001, 0x3c

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

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

[Strings]
LSI_DRIVER_DISKETTE="LSI MegaRAID IDE Driver Diskette"
LSI="LSI Logic Corporation."
PCI\VEN_8086&DEV_25b0&SUBSYS_10731734.DeviceDesc= "LSI Logic Embedded SATA RAID"
PCI\VEN_8086&DEV_25b0&SUBSYS_10341734.DeviceDesc= "LSI Logic Embedded SATA RAID"
PCI\VEN_8086&DEV_25b0&SUBSYS_10401734.DeviceDesc= "LSI Logic Embedded SATA RAID"
PCI\VEN_8086&DEV_25b0&SUBSYS_497c17AA.DeviceDesc= "LSI Logic Embedded SATA RAID"
PCI\VEN_8086&DEV_25b0&SUBSYS_496417AA.DeviceDesc= "LSI Logic Embedded SATA RAID"
PCI\VEN_8086&DEV_25b0&SUBSYS_81a91043.DeviceDesc= "LSI Logic Embedded SATA RAID"
PCI\VEN_8086&DEV_24df&SUBSYS_81a81043.DeviceDesc= "LSI Logic Embedded SATA RAID"
PCI\VEN_8086&DEV_2652&CC_0104.DeviceDesc= "LSI Logic Embedded SATA RAID"
PCI\VEN_8086&DEV_27c3&CC_0104.DeviceDesc= "LSI Logic Embedded SATA RAID"
    
;******************************************* 
;Handy macro substitutions (non-localizable) 
SPSVCINST_ASSOCSERVICE = 0x00000002
SERVICE_KERNEL_DRIVER  = 1
SERVICE_BOOT_START     = 0
SERVICE_ERROR_NORMAL   = 1
REG_EXPAND_SZ          = 0x00020000
REG_DWORD              = 0x00010001