1# $NetBSD: files.pmax,v 1.69 1999/07/07 00:05:30 thorpej Exp $ 2# DECstation-specific configuration info 3 4# maxpartitions must be first item in files.${ARCH}. 5maxpartitions 8 6 7maxusers 2 8 64 8 9# 10# Bus-independent devices 11# 12device mainbus { } # no locators 13attach mainbus at root 14 15device cpu # not optional 16attach cpu at mainbus 17file arch/pmax/pmax/cpu.c cpu 18 19# Model support option headers 20defopt DEC_3100 # DECstation 2100, 3100 (kn01) 21defopt DEC_5100 # DECsystem 5100 (kn230) 22defopt DEC_3MAX # DECstation 5000/200 (kn02) 23defopt DEC_3MIN # DECstation 5000/1xx (kn02ba), 5000/150 (kn04) 24defopt DEC_MAXINE # Personal DECstation 5000/xx (kn02ca) 25defopt DEC_3MAXPLUS # DECstation 5000/240 (kn03), 5000/260 (kn05) 26defopt DEC_5800 # DECsystem 5800 isis (kn5800) XMI 27defopt DEC_5400 # DECsystem 5400 mipsfair (kn210) Qbus 28defopt DEC_5500 # DECsystem 5500 mipsfair2 (kn220) Qbus 29 30# Model dependent files 31file arch/pmax/pmax/dec_3100.c dec_3100 # DS3100, pmax 32file arch/pmax/pmax/dec_3max.c dec_3max # DS5000/200, 3max 33file arch/pmax/pmax/dec_3maxplus.c dec_3maxplus # DS5000/240, 3maxplus 34file arch/pmax/pmax/dec_3min.c dec_3min # DS5000/1xx, 3min 35file arch/pmax/pmax/dec_maxine.c dec_maxine # DS5000/1xx, maxine 36file arch/pmax/pmax/dec_5100.c dec_5100 # kn230, mipsmate 37#file arch/pmax/pmax/dec_5400.c dec_5400 # DS5400, mipsfair 38#file arch/pmax/pmax/dec_5500.c dec_5500 # kn220, mipsfair2 39#file arch/pmax/pmax/dec_5800.c dec_5800 # 5800, isis 40 41# handlers for memory subsystems shared across models.. 42file arch/pmax/pmax/memc_3max.c dec_3max|dec_3maxplus 43file arch/pmax/pmax/memc_3min.c dec_3min|dec_maxine 44 45# 46# Bus-independent support for DEC devices 47# 48include "dev/dec/files.dec" 49 50# 3100 and 5100 ibus 51define baseboard {} 52device kn01bus {}: baseboard 53attach kn01bus at mainbus 54 55device kn230bus {}: baseboard 56attach kn230bus at mainbus 57 58device ibus {} 59attach ibus at baseboard 60 61file arch/pmax/ibus/ibus.c ibus 62file arch/pmax/ibus/ibus_3100.c ibus & dec_3100 63file arch/pmax/ibus/ibus_5100.c ibus & dec_5100 64 65 66# 67# TurboChannel Devices 68# 69device tcasic {} 70attach tcasic at mainbus 71include "dev/tc/files.tc" 72#attach tc at tcasic 73attach tc at mainbus 74 75 76file arch/pmax/tc/tcasic.c tcasic 77file arch/pmax/tc/tc_conf.c tcasic 78file arch/pmax/tc/tc_subr.c tc needs-flag 79file arch/pmax/tc/tc_3max.c tc & dec_3max 80file arch/pmax/tc/tc_3min.c tc & dec_3min 81file arch/pmax/tc/tc_3maxplus.c tc & dec_3maxplus 82file arch/pmax/tc/tc_maxine.c tc & dec_maxine 83 84# 85# The TurboChannel IOCTL ASIC. Present on IOASIC machines, 86# which is all turbochannel machines ever built except the 3MAX (5000/200). 87# 88# device defined in files.tc: 89# device ioasic { offset = -1 } 90# attach ioasic at tc 91file arch/pmax/tc/asic.c ioasic 92 93 94# Real-time clock (not optional) 95device mcclock 96attach mcclock at ioasic with mcclock_ioasic 97attach mcclock at ibus with mcclock_ibus 98file arch/pmax/pmax/clock.c 99file dev/clock_subr.c 100file arch/pmax/pmax/mcclock.c mcclock 101file dev/dec/mcclock.c mcclock 102file dev/dec/mcclock_pad32.c mcclock 103file arch/pmax/tc/mcclock_ioasic.c mcclock_ioasic 104file arch/pmax/ibus/mcclock_ibus.c mcclock_ibus 105 106# 107# Machine-independent SCSI driver. 108# 109 110include "dev/scsipi/files.scsipi" 111#major { cd = 3 } 112#major { sd = 21 } 113major { tz = 10 } 114major { rz = 21 } 115 116# Memory Disk 117file arch/pmax/pmax/md_root.c memory_disk_hooks 118major { md = 17 } 119 120# 121# Old 4.4bsd pmax-specific scsi driver (deprecated). 122# 123define oldscsi {} 124device oldscsibus {target = -1, drive = -1} 125attach oldscsibus at oldscsi 126 127# asc: system-slot or turbochannel-option SCSI interface 128#device asc: oldscsi,scsi 129device asc: oldscsi 130attach asc at ioasic with asc_ioasic 131file dev/tc/asc_ioasic.c asc_ioasic 132attach asc at tc with asc_tc 133file dev/tc/asc_tc.c asc_tc 134 135file dev/tc/asc.c asc needs-flag 136 137# sii: kn01 SCSI interface 138#device sii: scsi,oldscsi 139device sii: oldscsi 140file arch/pmax/dev/sii.c sii needs-flag 141attach sii at ibus with sii_ds 142file arch/pmax/dev/sii_ds.c sii_ds 143 144 145device tz: tape 146attach tz at oldscsibus 147file arch/pmax/dev/tz.c tz needs-count 148 149device rz: disk 150attach rz at oldscsibus 151file arch/pmax/dev/rz.c rz needs-count 152 153# 154# Optional device-drivers 155# 156 157# DC7085 (DZ-like four-port serial device) on mainbus on non-IOASIC machines. 158# For the 3MAX (aka kn02 aka 5k/200) pretend that it's on an ASIC. 159device dc: tty 160file arch/pmax/dev/dc.c dc 161attach dc at ioasic with dc_ioasic 162file arch/pmax/dev/dc_ioasic.c dc_ioasic needs-flag 163attach dc at ibus with dc_ds 164file arch/pmax/dev/dc_ds.c dc_ds needs-flag 165 166 167# The "desktop bus" on the MAXINE (5k/25). What is it, anyway? ADB? 168device dtop 169attach dtop at ioasic 170file arch/pmax/dev/dtop.c dtop needs-flag 171 172# LANCE ethernet driver. 173# device defined in sys/conf/files. 174# TC and ioasic attachment and files in sys/dev/tc/files.tc 175 176attach le at ibus with le_pmax: le24, le_dec_subr 177file dev/tc/if_le_ibus.c le_pmax needs-flag #for kn01_intr 178 179# Raster operations for rcons. This isn't in the rcons section, since 180# it depends on fb devices for configuration glue. 181include "dev/rasops/files.rasops" 182 183# 3100 (pmax) onboard framebuffer 184device pm: rasops1, rasops8 185file arch/pmax/dev/pm.c pm needs-flag 186file arch/pmax/dev/bt478.c pm 187attach pm at ibus with pm_ds 188file arch/pmax/dev/pm_ds.c pm_ds 189 190######################################################################### 191# Turbochannel options. # 192######################################################################### 193 194device cfb: rasops8 195attach cfb at tc 196file arch/pmax/dev/cfb.c cfb needs-flag 197 198device sfb: rasops8 199attach sfb at tc 200file arch/pmax/dev/sfb.c sfb needs-flag 201 202device mfb: rasops8 203attach mfb at tc 204file arch/pmax/dev/mfb.c mfb needs-flag 205 206# Zilog 8350/Intel 82350(?) SCC UART. 207device scc: tty 208attach scc at ioasic 209file arch/pmax/tc/scc.c scc needs-flag 210 211# MAXINE onboard framebuffer 212device xcfb: rasops8 213attach xcfb at tc 214file arch/pmax/dev/xcfb.c xcfb needs-flag 215file arch/pmax/dev/ims332.c xcfb 216 217# PixelStamp graphics boards 218device px 219attach px at tc 220file arch/pmax/dev/px.c px needs-flag 221 222# DECWRL 45Mbit T3 interface 223device tt: tty 224attach tt at tc 225file arch/pmax/dev/if_tt.c tt needs-count 226 227## bogus pmax-specific SCSI code. Leave in until new-style config done. 228file arch/pmax/dev/scsi.c 229 230file arch/pmax/pmax/autoconf.c 231file arch/pmax/pmax/bus_dma.c 232file arch/pmax/pmax/bus_space.c 233file arch/pmax/pmax/conf.c 234file arch/pmax/pmax/disksubr.c 235file arch/pmax/pmax/machdep.c 236file arch/pmax/pmax/mainbus.c 237file arch/pmax/pmax/promcall.c 238file arch/pmax/pmax/sysconf.c 239file arch/pmax/stand/lib/callvec.c 240file dev/cons.c 241file arch/pmax/dev/findcons.c # find and set up console. 242#file arch/pmax/pmax/kadb.c # obsolute kadb 243 244# pmax configuration glue for rconsole. Requires fb pseudo-device. 245 246include "dev/rcons/files.rcons" 247include "dev/wsfont/files.wsfont" 248 249defpseudo rasterconsole 250file arch/pmax/dev/rcons.c rasterconsole needs-flag 251 252## Support code for LK-201 keyboards, mice, and qvss ring buffers 253file arch/pmax/dev/lk201.c pm | cfb | sfb | mfb | xcfb | px 254file arch/pmax/dev/qvss_compat.c fb | px 255 256 257# VDAC/RAMDAC support for framebuffers. Other devices supported by 258# NetBSD may use the same chips, too. 259file arch/pmax/dev/bt459.c cfb | sfb 260 261# 262# Pseudo-device driver for framebuffers. All user-level requests, 263# including open(), go through the fb driver, which presents a consistent 264# interface to all framebuffers. Configure as many units as you 265# have framebuffers. Provides qvss-style interface compatible with 266# X11R5 servers. 267# 268defpseudo fb 269file arch/pmax/dev/fb.c fb needs-count 270 271# Glue for old-style config 272file arch/pmax/pmax/conf-glue.c 273 274# Ultrix Binary Compatibility (COMPAT_ULTRIX) 275include "compat/ultrix/files.ultrix" 276 277# Configs 278