; This INF file installs the Tekram TR-822 SATA Raid driver on Windows 98/ME, NT 4.0,
; Windows 2000, and Windows XP systems.

[Version]
Signature="$Chicago$"
Class=SCSIAdapter
ClassGuid={4D36E97B-E325-11CE-BFC1-08002BE10318}
Provider=%SII%
;;CatalogFile=SI3112r.cat
DriverVer=02/24/2003, 1.0.0.28

; Class Install
[ClassInstall]
Addreg=SCSIReg

[SCSIReg]
HKR,,,,%SCSIClassName%
HKR,,EnumPropPages,,"iosclass.dll,SCSIEnumPropPages"
HKR,,Icon,,-10


[SourceDisksNames]
1="Tekram TR-822 SATARaid Driver Installation Disk",SI3112r.sys,,

[SourceDisksFiles]
SI3112r.sys	= 1
SI3112r.mpd	= 1
SiiSupp.vxd	= 1
SiWinAcc.sys	= 1

[DestinationDirs]
DefaultDestDir	= 12

[DriverFiles_9X]
Si3112r.mpd,,,0x20
SiiSupp.vxd,,,0x20

[DriverFiles_NT_2K]
Si3112r.sys,,,0x20

[DriverFiles_XP]
SI3112r.sys,,,0x20
SiWinAcc.sys,,,0x20

[Manufacturer]
;;;%SII%=SII_HDC
%SII%=SI_HDC,NTx86.5.1

[SI_HDC]
%PCI\VEN_1095&DEV_3112.DeviceDesc1%=SI_3112, PCI\VEN_1095&DEV_3112&SUBSYS_08221DE1
; Low cost chip
%PCI\VEN_1095&DEV_3512.DeviceDesc%=SI_3512, PCI\VEN_1095&DEV_3512&SUBSYS_08221DE1

[SI_HDC.NTx86.5.1]
%PCI\VEN_1095&DEV_3112.DeviceDesc1%=SI_3112_XP, PCI\VEN_1095&DEV_3112&SUBSYS_08221DE1
; Low cost chip
%PCI\VEN_1095&DEV_3512.DeviceDesc%=SI_3512_XP, PCI\VEN_1095&DEV_3512&SUBSYS_08221DE1

;; Win9x install sections
;;
[SI_3112]
DriverVer=02/24/2003, 1.0.0.28
Copyfiles=DriverFiles_9X
DelReg = Win98ProblemDeviceList_DelReg
AddReg = ios, win98.reg, Win98ProblemDeviceList, Win98SupportedControllersList

[SI_3512]
DriverVer=02/24/2003, 1.0.0.28
Copyfiles=DriverFiles_9X
DelReg = Win98ProblemDeviceList_DelReg
AddReg = ios, win98.reg, Win98ProblemDeviceList, Win98SupportedControllersList


;; Windows NT4.0 and Windows 2000 install sections
;;
[SI_3112.NTX86]
Copyfiles=DriverFiles_NT_2K

[SI_3112.NTX86.Services]
AddService=Si3112r,0x00000002,SI_3112_Service_Install, Miniport_EventLog_Inst

[SI_3512.NTX86]
Copyfiles=DriverFiles_NT_2K

[SI_3512.NTX86.Services]
AddService=Si3112r,0x00000002,SI_3512_Service_Install, Miniport_EventLog_Inst

;; Windows XP install sections
;;
[SI_3112_XP]
Copyfiles=DriverFiles_XP

[SI_3112_XP.Services]
AddService=SI3112r,0x00000002,SI_3112_Service_Install, Miniport_EventLog_Inst
AddService=SiFilter,0x000000002,FilterService_Install

[SI_3512_XP]
Copyfiles=DriverFiles_XP

[SI_3512_XP.Services]
AddService=SI3112r,0x00000002,SI_3512_Service_Install, Miniport_EventLog_Inst
AddService=SiFilter,0x000000002,FilterService_Install

[SI_3112_Service_Install]
DisplayName=%SII3112R.SvcDesc%
ServiceType=1
StartType=0
ErrorControl=1
ServiceBinary=%12%\si3112r.sys
LoadOrderGroup=Scsi miniport
DelReg=ProblemDeviceList_DelReg
AddReg=PnPSupport_AddReg
AddReg=ProblemDeviceList_AddReg
AddReg=SupportedControllersList_AddReg

[SI_3512_Service_Install]
DisplayName=%SII3512R.SvcDesc%
ServiceType=1
StartType=0
ErrorControl=1
ServiceBinary=%12%\si3112r.sys
LoadOrderGroup=Scsi miniport
DelReg=ProblemDeviceList_DelReg
AddReg=PnPSupport_AddReg
AddReg=ProblemDeviceList_AddReg
AddReg=SupportedControllersList_AddReg

[FilterService_Install]
DisplayName=SATALink driver accelerator
ServiceType=1
StartType=0
ErrorControl=0
ServiceBinary=%12%\SiWinAcc.sys
LoadOrderGroup=Filter

; Mark device as supporting Plug & Play on the PCI(5) bus.
[PnPSupport_AddReg]
HKR,Parameters\PnPInterface,5,0x00010001,1

; List of possible obsolete problem device list entries that should be
; removed prior to the addition of the replacement problem device list
; entries.
[ProblemDeviceList_DelReg]
HKR,ProblemDevices, %ObsProblemDev1Name%
HKR,ProblemDevices, %ObsProblemDev2Name%

; List of devices with known configuration issues.
[ProblemDeviceList_AddReg]
HKR,ProblemDevices
HKR,ProblemDevices, %ProblemDev1Name%, 0, %ProblemDev1Value%
HKR,ProblemDevices, %ProblemDev2Name%, 0, %ProblemDev2Value%
HKR,ProblemDevices, %ProblemDev3Name%, 0, %ProblemDev3Value%
HKR,ProblemDevices, %ProblemDev4Name%, 0, %ProblemDev4Value%
HKR,ProblemDevices, %ProblemDev5Name%, 0, %ProblemDev5Value%
HKR,ProblemDevices, %ProblemDev6Name%, 0, %ProblemDev6Value%
HKR,ProblemDevices, %ProblemDev7Name%, 0, %ProblemDev7Value%
HKR,ProblemDevices, %ProblemDev8Name%, 0, %ProblemDev8Value%
HKR,ProblemDevices, %ProblemDev9Name%, 0, %ProblemDev9Value%
HKR,ProblemDevices, %ProblemDev10Name%, 0, %ProblemDev10Value%
HKR,ProblemDevices, %ProblemDev11Name%, 0, %ProblemDev11Value%
HKR,ProblemDevices, %ProblemDev12Name%, 0, %ProblemDev12Value%

[SupportedControllersList_AddReg]
HKR,SupportedSubsystemIDs,%PCI\VEN_1095&DEV_3112.DeviceDesc1%,0x00010001, 0x08221DE1
; low cost chip
HKR,SupportedSubsystemIDs,%PCI\VEN_1095&DEV_3512.DeviceDesc%,0x00010001, 0x08221DE1

[Win98ProblemDeviceList_DelReg]
HKLM,%Win98ProblemDeviceSubKey%, %ObsProblemDev1Name%
HKLM,%Win98ProblemDeviceSubKey%, %ObsProblemDev2Name%


; List of devices with known configuration issues.
[Win98ProblemDeviceList]
HKLM,%Win98ProblemDeviceSubKey%
HKLM,%Win98ProblemDeviceSubKey%, %ProblemDev1Name%, 0, %ProblemDev1Value%
HKLM,%Win98ProblemDeviceSubKey%, %ProblemDev2Name%, 0, %ProblemDev2Value%
HKLM,%Win98ProblemDeviceSubKey%, %ProblemDev3Name%, 0, %ProblemDev3Value%
HKLM,%Win98ProblemDeviceSubKey%, %ProblemDev4Name%, 0, %ProblemDev4Value%
HKLM,%Win98ProblemDeviceSubKey%, %ProblemDev5Name%, 0, %ProblemDev5Value%
HKLM,%Win98ProblemDeviceSubKey%, %ProblemDev6Name%, 0, %ProblemDev6Value%
HKLM,%Win98ProblemDeviceSubKey%, %ProblemDev7Name%, 0, %ProblemDev7Value%
HKLM,%Win98ProblemDeviceSubKey%, %ProblemDev8Name%, 0, %ProblemDev8Value%
HKLM,%Win98ProblemDeviceSubKey%, %ProblemDev9Name%, 0, %ProblemDev9Value%
HKLM,%Win98ProblemDeviceSubKey%, %ProblemDev10Name%, 0, %ProblemDev10Value%
HKLM,%Win98ProblemDeviceSubKey%, %ProblemDev11Name%, 0, %ProblemDev11Value%
HKLM,%Win98ProblemDeviceSubKey%, %ProblemDev12Name%, 0, %ProblemDev12Value%

[Win98SupportedControllersList]
HKLM, %Win98SupportedControllersSubKey%,%PCI\VEN_1095&DEV_3112.DeviceDesc1%,0x00010001,136453601
; low cost chip
HKLM, %Win98SupportedControllersSubKey%,%PCI\VEN_1095&DEV_3512.DeviceDesc%,0x00010001,136453601
;*************************************************************
;The NT EventLog entries are the same for all SCSI miniports.
[Miniport_EventLog_Inst]
AddReg = Miniport_EventLog_AddReg

[Miniport_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll"
HKR,,TypesSupported,0x00010001,7


[IOS]
HKR,,DevLoader,,*IOS
HKR,,DontLoadIfConflict,,"Y"

[WIN98.REG]
HKR,,PortDriver,,si3112r.mpd


[Strings]
SII="Tekram Technology Co., Ltd."
SCSIClassName="SCSI and RAID controllers"

PCI\VEN_1095&DEV_3112.DeviceDesc1="Tekram TR-822 SATARaid Controller"
SII3112R.SvcDesc="Tekram TR-822 SATARaid Controller"

PCI\VEN_1095&DEV_3512.DeviceDesc="Tekram TR-822L SATARaid Controller"
SII3512R.SvcDesc="Tekram TR-822L SATARaid Controller"

Win98ProblemDeviceSubKey = "System\CurrentControlSet\Services\Si3112r\ProblemDevices"
Win98SupportedControllersSubKey = "System\CurrentControlSet\Services\Si3112r\SupportedSubsystemIDs"

ObsProblemDev1Name="ST330013AS                              108b    "
ObsProblemDev2Name="ST330013AS                              1.20    "

ProblemDev1Name="Maxtor 4D060H3                          DAK05GK0"
ProblemDev1Value="MaxMode = UDMA-5"

ProblemDev2Name="ST320012AS"
ProblemDev2Value="Mod15Write"

ProblemDev3Name="ST330013AS"
ProblemDev3Value="Mod15Write"

ProblemDev4Name="ST340017AS"
ProblemDev4Value="Mod15Write"

ProblemDev5Name="ST360015AS"
ProblemDev5Value="Mod15Write"

ProblemDev6Name="ST380023AS"
ProblemDev6Value="Mod15Write"

ProblemDev7Name="ST3120023AS"
ProblemDev7Value="Mod15Write"

ProblemDev8Name="ST340014ASL"
ProblemDev8Value="Mod15Write"

ProblemDev9Name="ST360014ASL"
ProblemDev9Value="Mod15Write"

ProblemDev10Name="ST380011ASL"
ProblemDev10Value="Mod15Write"

ProblemDev11Name="ST3120022ASL"
ProblemDev11Value="Mod15Write"

ProblemDev12Name="ST3160021ASL"
ProblemDev12Value="Mod15Write"

