1# $NetBSD: files.pmax,v 1.58 1998/11/27 00:09:33 simonb 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# CPU support option headers 20defopt DEC_3100 # "kn01": 3100, 2100 (kn01) 21defopt DEC_3MAX # "kn02": Decstation 5000/200 22defopt DEC_3MIN # "kn02ba": Decstation 5000/{20,25,33,50} 23defopt DEC_MAXINE # "kn02ca": Decstation 5000/{20,25,33,50} 24defopt DEC_3MAXPLUS # "kn03": Decstation 5000/240, 5000/260 25 26defopt DEC_5800 # "kn??": Decstation 5800 isis (XMI) 27defopt DEC_5400 # "kn210": Decstation 5400 mipsfair 28defopt DEC_5500 # "kn220": Decstation 5500 mipsfair2 29defopt DEC_5100 # "kn230": Decstation 5100 mipsmate 30 31# 32# CPU-dependent files 33# 34file arch/pmax/pmax/dec_3100.c dec_3100 # DS3100, pmax 35file arch/pmax/pmax/dec_3max.c dec_3max # DS5000/200, 3max 36file arch/pmax/pmax/dec_3maxplus.c dec_3maxplus # DS5000/240, 3maxplus 37file arch/pmax/pmax/dec_3min.c dec_3min # DS5000/1xx, 3min 38file arch/pmax/pmax/dec_maxine.c dec_maxine # DS5000/1xx, maxine 39file arch/pmax/pmax/dec_5100.c dec_5100 # kn230, mipsmate 40#file arch/pmax/pmax/dec_5400.c dec_5400 # DS5400, mipsfair 41#file arch/pmax/pmax/dec_5500.c dec_5500 # kn220, mipsfair2 42#file arch/pmax/pmax/dec_5800.c dec_5800 # 5800, isis 43 44# handlers for memory subsystems shared across models.. 45file arch/pmax/pmax/dec_kn02_subr.c dec_3min|dec_maxine 46file arch/pmax/pmax/dec_3max_subr.c dec_3max|dec_3maxplus 47 48# 49# Bus-independent support for DEC devices 50# 51include "dev/dec/files.dec" 52 53# 3100 and 5100 ibus 54define baseboard {} 55device kn01bus {}: baseboard 56attach kn01bus at mainbus 57 58device kn230bus {}: baseboard 59attach kn230bus at mainbus 60 61device ibus {} 62attach ibus at baseboard 63 64file arch/pmax/ibus/ibus.c ibus 65file arch/pmax/ibus/ibus_3100.c ibus & dec_3100 66file arch/pmax/ibus/ibus_5100.c ibus & dec_5100 67 68 69# 70# TurboChannel Devices 71# 72device tcasic {} 73attach tcasic at mainbus 74include "dev/tc/files.tc" 75#attach tc at tcasic 76attach tc at mainbus 77 78 79file arch/pmax/tc/tcasic.c tcasic 80file arch/pmax/tc/tc_conf.c tcasic 81file arch/pmax/tc/tc_subr.c tc needs-flag 82file arch/pmax/tc/tc_3max.c tc & dec_3max 83file arch/pmax/tc/tc_3min.c tc & dec_3min 84file arch/pmax/tc/tc_3maxplus.c tc & dec_3maxplus 85file arch/pmax/tc/tc_maxine.c tc & dec_maxine 86 87# 88# The TurboChannel IOCTL ASIC. Present on IOASIC machines, 89# which is all turbochannel machines ever built except the 3MAX (5000/200). 90# 91# device defined in files.tc: 92# device ioasic { offset = -1 } 93# attach ioasic at tc 94file arch/pmax/tc/asic.c ioasic 95 96 97# Real-time clock (not optional) 98device mcclock 99attach mcclock at ioasic with mcclock_ioasic 100attach mcclock at ibus with mcclock_ibus 101file arch/pmax/pmax/clock.c 102file dev/clock_subr.c 103file arch/pmax/pmax/mcclock.c mcclock 104file dev/dec/mcclock.c mcclock 105file dev/dec/mcclock_pad32.c mcclock 106file arch/pmax/tc/mcclock_ioasic.c mcclock_ioasic 107file arch/pmax/ibus/mcclock_ibus.c mcclock_ibus 108 109# 110# Machine-independent SCSI driver. 111# 112 113include "dev/scsipi/files.scsipi" 114#major { st = 10 } 115#major { cd = 3 } 116#major { sd = 21 } 117major { tz = 10 } 118major { rz = 21 } 119 120# Memory Disk 121file arch/pmax/pmax/md_root.c memory_disk_hooks 122major { md = 17 } 123 124# 125# Old 4.4bsd pmax-specific scsi driver (deprecated). 126# 127define oldscsi {} 128device oldscsibus {target = -1, drive = -1} 129attach oldscsibus at oldscsi 130 131# asc: system-slot or turbochannel-option SCSI interface 132#device asc: oldscsi,scsi 133device asc: oldscsi 134attach asc at ioasic with asc_ioasic 135file dev/tc/asc_ioasic.c asc_ioasic 136attach asc at tc with asc_tc 137file dev/tc/asc_tc.c asc_tc 138 139file dev/tc/asc.c asc needs-flag 140 141# sii: kn01 SCSI interface 142#device sii: scsi,oldscsi 143device sii: oldscsi 144file arch/pmax/dev/sii.c sii needs-flag 145attach sii at ibus with sii_ds 146file arch/pmax/dev/sii_ds.c sii_ds 147 148 149device tz: tape 150attach tz at oldscsibus 151file arch/pmax/dev/tz.c tz needs-count 152 153device rz: disk 154attach rz at oldscsibus 155file arch/pmax/dev/rz.c rz needs-count 156 157# 158# Optional device-drivers 159# 160 161# DC7085 (DZ-like four-port serial device) on mainbus on non-IOASIC machines. 162# For the 3MAX (aka kn02 aka 5k/200) pretend that it's on an ASIC. 163device dc: tty 164file arch/pmax/dev/dc.c dc 165attach dc at ioasic with dc_ioasic 166file arch/pmax/dev/dc_ioasic.c dc_ioasic needs-flag 167attach dc at ibus with dc_ds 168file arch/pmax/dev/dc_ds.c dc_ds needs-flag 169 170 171# The "desktop bus" on the MAXINE (5k/25). What is it, anyway? ADB? 172device dtop 173attach dtop at ioasic 174file arch/pmax/dev/dtop.c dtop needs-flag 175 176# LANCE ethernet driver. 177# device defined in sys/conf/files. 178# TC and ioasic attachment and files in sys/dev/tc/files.tc 179 180attach le at ibus with le_pmax: le24, le_dec_subr 181file dev/tc/if_le_ibus.c le_pmax needs-flag #for kn01_intr 182 183 184# 3100 (pmax) onboard framebuffer 185device pm 186file arch/pmax/dev/pm.c pm needs-flag 187file arch/pmax/dev/bt478.c pm 188attach pm at ibus with pm_ds 189file arch/pmax/dev/pm_ds.c pm_ds 190 191######################################################################### 192# Turbochannel options. # 193######################################################################### 194 195device cfb 196attach cfb at tc 197file arch/pmax/dev/cfb.c cfb needs-flag 198 199device sfb 200attach sfb at tc 201file arch/pmax/dev/sfb.c sfb needs-flag 202 203device mfb 204attach mfb at tc 205file arch/pmax/dev/mfb.c mfb needs-flag 206 207# Zilog 8350/Intel 82350(?) SCC UART. 208device scc: tty 209attach scc at ioasic 210file arch/pmax/tc/scc.c scc needs-flag 211 212# MAXINE onboard framebuffer 213device xcfb 214attach xcfb at tc 215file arch/pmax/dev/xcfb.c xcfb needs-flag 216file arch/pmax/dev/ims332.c xcfb 217 218# DECWRL 45Mbit T3 interface 219device tt: tty 220attach tt at tc 221file arch/pmax/dev/if_tt.c tt needs-count 222 223## bogus pmax-specific SCSI code. Leave in until new-style config done. 224file arch/pmax/dev/scsi.c 225 226file arch/pmax/pmax/autoconf.c 227file arch/pmax/pmax/bus_dma.c 228file arch/pmax/pmax/bus_space.c 229file arch/pmax/pmax/conf.c 230#file arch/pmax/pmax/kadb.c optional kadb 231#file arch/pmax/pmax/machdep.c standard config-dependent 232file arch/pmax/pmax/machdep.c 233file arch/pmax/pmax/disksubr.c 234file arch/pmax/stand/libsa/callvec.c 235file arch/pmax/pmax/mainbus.c 236file arch/pmax/pmax/sysconf.c 237 238 239# Console code. 240file dev/cons.c 241file arch/pmax/dev/promio.c # default console 242file arch/pmax/dev/findcons.c # find and set up console. 243 244# pmax configuration glue for rconsole. Requires fb pseudo-device. 245 246include "dev/rcons/files.rcons" 247 248pseudo-device rasterconsole 249file arch/pmax/dev/rcons.c rasterconsole needs-flag 250file arch/pmax/dev/font.c rasterconsole # rcons fontdef 251 252## Support code for LK-201 keyboards, mice, and qvss ring buffers 253file arch/pmax/dev/lk201.c pm | cfb | sfb | mfb | xcfb 254file arch/pmax/dev/qvss_compat.c fb 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# 268pseudo-device 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