; Copyright (c) 1993-1995 Microsoft Corporation

[version]
signature="$Windows 95$"
Class=hdc
ClassGUID={4d36e96a-e325-11ce-bfc1-08002be10318}
Provider=%TRM%

;Class Install
[ClassInstall]
AddReg=HDC_Class

[HDC_Class]
HKR,,,,%HDCClassName%
HKR,,Icon,,-9

[Manufacturer]
%TRM%=TRM_HDC

[TRM_HDC]
%PCI\VEN_1DE1&DEV_DC29.DeviceDesc%=DUAL_TRM_IDE, PCI\VEN_1DE1&DEV_DC29
%MF\TRMPRIMARY.DeviceDesc% = TRM_IDE, MF\TRMPRIMARY
%MF\TRMSECONDARY.DeviceDesc% = TRM_IDE, MF\TRMSECONDARY

[*pnp0600.det]          ;ESDI Controller
LogConfig=esdilc1,esdilc2
AddReg = HDC_HW_REG

[esdilc1]
ConfigPriority=HARDWIRED
IOConfig=1f0-1f7(3ff::)
IOConfig=3f6-3f6(3ff::)
IRQConfig=14

[esdilc2]
ConfigPriority=HARDWIRED
IOConfig=170-177(3ff::)
IOConfig=376-376(3ff::)
IRQConfig=15

[esdilcgen1]
ConfigPriority=HARDWIRED
IOConfig=10@0-ffff%fff0(ffff::)
IRQConfig=3,4,5,7,9,10,11,12,14,15

[esdilcgen2]
ConfigPriority=HARDWIRED
IOConfig=8@0-ffff%fff8(ffff::)
IRQConfig=3,4,5,7,9,10,11,12,14,15

[esdilcgen3]
ConfigPriority=HARDWIRED
IOConfig=8@0-ffff%fff8(ffff::)
IOConfig=8@0-ffff%fff8(ffff::)
IRQConfig=3,4,5,7,9,10,11,12,14,15

[esdilcgen4]
ConfigPriority=HARDWIRED
IOConfig=8@0-ffff%fff8(ffff::)
IOConfig=4@0-ffff%fffc(ffff::)
IRQConfig=3,4,5,7,9,10,11,12,14,15

[esdilcgen5]
ConfigPriority=HARDWIRED
IOConfig=8@0-ffff%fff8(ffff::)
IOConfig=2@0-ffff%fffe(ffff::)
IRQConfig=3,4,5,7,9,10,11,12,14,15

[esdilcgen6]
ConfigPriority=HARDWIRED
IOConfig=8@0-ffff%fff8(ffff::)
IOConfig=1@0-ffff%ffff(ffff::)
IRQConfig=3,4,5,7,9,10,11,12,14,15

[BAD_IDE]
LogConfig=esdilc1,esdilc2,esdilcgen1,esdilcgen2,esdilcgen3,esdilcgen4,esdilcgen5,esdilcgen6
AddReg = ESDI_AddReg

[BAD_IDE.PosDup]
*PNP0600

[TRM_IDE]
LogConfig=esdilc1,esdilc2,esdilcgen1,esdilcgen2,esdilcgen3,esdilcgen4,esdilcgen5,esdilcgen6
AddReg = ESDI_AddReg

[TRM_IDE.HW]
AddReg = ESDI_FIFO_OK_AddReg


[TRM_IDE.PosDup]
*PNP0600

[DUAL_TRM_IDE]
AddReg=PCIMF.Reg,IDEProp.Reg
CopyFiles=@dc690.pdr
UpdateInis=RemoveOld

[RemoveOld]
%10%\system.ini,device=trmint13.386,,1
%10%\system.ini,device=wdctrl32.386,,1

[DUAL_TRM_IDE.HW]
AddReg=DUAL_TRM_IDE.RegHW

[DUAL_TRM_IDE.RegHW]
HKR,Child0000,HardwareID,,MF\TRMPRIMARY
HKR,Child0000,ResourceMap,1,00,01,02,06
HKR,Child0000,MFFlags,1,0c,00,00,00
HKR,Child0001,HardwareID,,MF\TRMSECONDARY
HKR,Child0001,ResourceMap,1,03,04,05,07
HKR,Child0001,MFFlags,1,0c,00,00,00
HKR,,PCIDualIDE,1,01

[DUAL_TRM_IDE.PosDup]
*PNP0600

[IDEProp.Reg]
HKR,,EnumPropPages,,"sysclass.dll,IDEEnumPropPages"

[PCIMF.Reg]
HKR,,DevLoader,,*CONFIGMG
HKR,,Enumerator,,*CONFIGMG
HKR,,CMDrivFlags,1,03,00,00,00

[ESDI_FIFO_OK_AddReg]
HKR,,IDENoSerialize,3,01

[ESDI_AddReg]
HKR,,DriverDesc,,"DC690 Port Driver"
HKR,,DevLoader,,*IOS
HKR,,PortDriver,,DC690.PDR

[DontStopChild.RegHW]
HKR,,ConfigFlags,1,80,00,00,00

[HDC_HW_REG]
HKR,,NoSetupUI,,1

[Strings]
HDCClassName            = "Hard disk controllers"
TRM="Tekram Technology Co., LTD."
PCI\VEN_1DE1&DEV_DC29.DeviceDesc="Tekram PCI IDE Cache Controller (DC690-CD)"
MF\TRMPRIMARY.DeviceDesc= "DC690 Primary IDE controller (dual fifo)"
MF\TRMSECONDARY.DeviceDesc= "DC690 Secondary IDE controller (dual fifo)"



[DestinationDirs]
DefaultDestDir = 12             ; IOSubsys directory

[ControlFlags]

ExcludeFromSelect=MF\TRMPRIMARY,MF\TRMSECONDARY

[SourcesDisksFiles]
dc690.pdr = 1

[SourceDisksNames]
1 = ,,,,

