1# $NetBSD: files.vax,v 1.120 2015/07/05 03:06:27 matt Exp $ 2# 3# new style config file for vax architecture 4# 5 6# maxpartitions must be first item in files.${ARCH}.newconf 7maxpartitions 8 8 9maxusers 8 32 64 10 11device mainbus { }: bus 12attach mainbus at root 13 14# Define a bunch of devices, needed in more than one place. 15device cpu 16device mem 17device mba { drive = -1 }: bus 18 19defflag opt_cputype.h VAX780 VAX750 VAX730 20 VAX8200 VAX8800 VAX8600 VAX610 21 VAX6200 VAX6300 VAX6400 VAX6500 VAX6600 22 VAX410 VAX43 VAX46 VAX48 VAX49 VAX53 23 VAX630 VAX650 VAX660 VAX670 VAX680 VAXANY 24 25defflag opt_emulate.h NO_INSN_EMULATE 26 27defpseudo leds 28file arch/vax/vsa/leds.c leds needs-flag 29 30# CPU on mainbus 31attach cpu at mainbus with cpu_mainbus 32 33# NMI on KA88 34device nmi { slot=-1 }: bus 35attach nmi at mainbus with nmi_mainbus 36file arch/vax/vax/nmi_mainbus.c nmi 37 38# Abus and related devices 39device abus {}: bus 40attach abus at mainbus with abus_mainbus 41file arch/vax/vax/ka860.c vax8600 42file arch/vax/vax/crl.c vax8600 43 44# SBI and related devices 45device sbi { tr=-1 }: bus 46attach sbi at mainbus with sbi_mainbus 47attach sbi at abus with sbi_abus 48file arch/vax/vax/sbi.c sbi 49 50attach mem at sbi with mem_sbi 51file arch/vax/vax/ka780.c vax780 | mem_sbi | vaxany 52file arch/vax/vax/cfl.c vax780 | mem_sbi | vaxany 53 54# CMI and related devices 55device cmi { tr=-1 }: bus 56attach cmi at mainbus 57file arch/vax/vax/cmi.c cmi 58 59attach mem at cmi with mem_cmi 60file arch/vax/vax/ka750.c vax750 | mem_cmi | vaxany 61file arch/vax/vax/ctu.c vax750 | vax730 | mem_cmi | vaxany 62 63# Direct unibus interface 64device ubi { tr=-1 } 65attach ubi at mainbus 66file arch/vax/vax/ubi.c ubi 67 68attach mem at ubi with mem_ubi 69file arch/vax/vax/ka730.c vax730 | mem_ubi | vaxany 70 71device vsbus { csr }: bus 72attach vsbus at mainbus 73file arch/vax/vsa/vsbus.c vsbus 74file arch/vax/vsa/vsbus_dma.c vsbus & (vax46 | vax48 | vax49 | 75 vax53 | vaxany) 76 77device ze: sgec, arp, ether, ifnet 78attach ze at mainbus with ze_mainbus 79file arch/vax/if/if_ze.c ze_mainbus 80 81attach le at mainbus with le_mainbus: le24 82file arch/vax/if/if_le.c le_mainbus 83 84attach mba at sbi with mba_sbi 85attach mba at cmi with mba_cmi 86file arch/vax/mba/mba.c mba needs-flag 87 88device hp: disk 89attach hp at mba 90file arch/vax/mba/hp.c hp needs-flag 91 92device ht: tape 93attach ht at mba 94file arch/vax/mba/ht.c ht needs-flag 95 96# 97# Bus-independent support for DEC devices 98# 99include "dev/dec/files.dec" 100 101# Memory Disk for install floppy 102file dev/md_root.c memory_disk_hooks 103 104# MSCP device drivers 105include "dev/mscp/files.mscp" 106 107# Unibus/Q22 bus definitions 108include "dev/qbus/files.uba" 109 110# TurboCHANNEL bus support and device drivers 111include "dev/tc/files.tc" 112 113attach tc at vsbus with tcbus 114file arch/vax/vsa/tc_vsbus.c tcbus 115 116attach uba at mainbus with uba_mainbus 117file arch/vax/uba/uba_mainbus.c uba_mainbus 118attach uba at sbi with uba_sbi 119file arch/vax/uba/uba_sbi.c uba_sbi 120attach uba at cmi with uba_cmi 121file arch/vax/uba/uba_cmi.c uba_cmi 122attach uba at ubi with uba_ubi 123file arch/vax/uba/uba_ubi.c uba_ubi 124 125# BI bus definitions 126include "dev/bi/files.bi" 127 128attach bi at mainbus with bi_mainbus 129file arch/vax/bi/bi_mainbus.c bi_mainbus 130attach bi at nmi with bi_nmi 131file arch/vax/bi/bi_nmi.c bi_nmi 132 133# VAX CPUs at BI, do not belong in MI code. 134attach cpu at bi with cpu_bi 135attach mem at bi with mem_bi 136 137# VAX CPUs at NMI 138attach cpu at nmi with cpu_nmi 139attach mem at nmi with mem_nmi 140 141# XMI bus definitions 142include "dev/xmi/files.xmi" 143 144attach xmi at mainbus with xmi_mainbus 145file arch/vax/vax/xmi_mainbus.c xmi_mainbus 146 147# VAX CPUs at XMI, do not belong in MI code. 148attach cpu at xmi with cpu_xmi 149attach mem at xmi with mem_xmi 150 151attach dz at vsbus with dz_vsbus 152file arch/vax/vsa/dz_vsbus.c dz_vsbus | smg 153 154attach lkkbd at dz with dzkbd 155file dev/dec/dzkbd.c dzkbd needs-flag 156 157# XXX alpha and pmax call this vsms 158device lkms: wsmousedev 159attach lkms at dz with dzms 160file dev/dec/dzms.c dzms needs-flag 161 162# RD-type disks at VS2000's onboard MFM-controller 163device hdc { drive = -1 } 164attach hdc at vsbus 165file arch/vax/vsa/hdc9224.c ry | hdc | rd needs-flag 166 167device rd: disk 168attach rd at hdc 169 170device ry: disk 171attach ry at hdc 172 173# 174# Machine-independent SCSI driver. 175# 176include "dev/scsipi/files.scsipi" 177 178# builtin NCR5380 SCSI-controller on VAXstation 179device si: scsi, ncr5380sbc 180attach si at vsbus with si_vsbus 181file arch/vax/vsa/ncr.c si_vsbus 182 183# Monochrome framebuffer on VS3100. 184device smg: displaydev, wsemuldisplaydev 185attach smg at vsbus 186file arch/vax/vsa/smg.c smg needs-flag 187 188# Monochrome QVSS framebuffer on qbus (VCB01) 189device qv {}: displaydev, wsemuldisplaydev 190attach qv at uba 191attach genfb at qv with genfb_qv 192file arch/vax/uba/qv.c qv|genfb_qv needs-flag 193 194device qvaux { line=-1 }: tty 195attach qvaux at qv 196file arch/vax/uba/qvaux.c qvaux needs-flag 197 198attach lkkbd at qvaux with qvkbd 199file arch/vax/uba/qvkbd.c qvkbd needs-flag 200 201attach lkms at qvaux with qvms 202file arch/vax/uba/qvms.c qvms needs-flag 203 204# Color framebuffer on VS4000/60. 205device lcg: displaydev, wsemuldisplaydev 206attach lcg at vsbus 207file arch/vax/vsa/lcg.c lcg needs-flag 208 209# Color framebuffer on VS4000/90. 210device spx: displaydev, wsemuldisplaydev 211attach spx at vsbus 212file arch/vax/vsa/spx.c spx needs-flag 213 214# LANCE ethernet controller on VAXstation 215attach le at vsbus with le_vsbus: le24 216file arch/vax/if/if_le_vsbus.c le_vsbus 217 218# builtin NCR53C95 SCSI Controlller on VAXstation 4000 VLC/60/9x 219#device asc: scsi, ncr53c9x 220attach asc at vsbus with asc_vsbus 221file arch/vax/vsa/asc_vsbus.c asc_vsbus 222 223# These devices aren't tested (or even compiled!) 224# They are just included here to make some files happy ;) 225# 226 227# Ikonas framebuffer 228device ik 229attach ik at uba 230file arch/vax/uba/ik.c ik needs-flag 231 232device vs 233attach vs at uba 234file arch/vax/uba/vs.c vs needs-flag 235 236# RK06/07 on UBA 237device rk: disk 238attach rk at uba 239file arch/vax/uba/rk.c rk needs-flag 240 241# TM11/TE10 at UBA 242device te: tape 243attach te at uba 244file arch/vax/uba/tm.c te needs-flag 245 246# TU78 at MBA 247device mu: tape 248attach mu at mba 249file arch/vax/mba/mt.c mu needs-flag 250 251# DN-11 on UBA 252device dn # XXX? 253attach dn at uba 254file arch/vax/uba/dn.c dn needs-flag 255 256# IDC (RB730) on UBA (VAX 11/730) 257device idc { drive=-1 } 258attach idc at uba 259device rb: disk 260attach rb at idc 261file arch/vax/uba/idc.c rb needs-flag 262 263# LP-11 at UBA 264device lp 265attach lp at uba 266file arch/vax/uba/lp.c lp needs-flag 267 268# ???? at UBA 269device lpa 270attach lpa at uba 271file arch/vax/uba/lpa.c lpa needs-flag 272 273# PS2 at UBA 274device ps 275attach ps at uba 276file arch/vax/uba/ps.c ps needs-flag 277 278# SC-21/SC-31 at UBA 279device sc { drive=-1 } 280attach sc at uba 281device up: disk 282attach up at sc 283file arch/vax/uba/up.c up needs-flag 284 285# TU45 at UBA 286device ut { drive=-1} 287attach ut at uba 288device tj: tape 289attach tj at ut 290file arch/vax/uba/ut.c tj needs-flag 291 292# TU58/DECtape II 293device uu: tape 294attach uu at uba 295file arch/vax/uba/uu.c uu needs-flag 296 297# Benson-Varian plotter at UBA 298device va { drive=-1} 299attach va at uba 300device vz 301attach vz at va 302file arch/vax/uba/va.c va needs-flag 303 304# Versatec plotter at UBA 305device vp 306attach vp at uba 307file arch/vax/uba/vp.c vp needs-flag 308 309# ACC LH/DH IMP on UBA 310device acc: ifnet 311attach acc at uba 312file arch/vax/if/if_acc.c acc needs-flag 313 314# DR11C at UBA 315device ct # XXX 316attach ct at uba 317file arch/vax/uba/ct.c ct needs-flag 318 319# A/D-converter on UBA 320device ad 321attach ad at uba 322file arch/vax/uba/ad.c ad needs-flag 323 324# DH-11/DM-11 on UBA 325device dh # XXX? 326attach dh at uba 327file arch/vax/uba/dh.c dh needs-flag 328 329# Vaxstation 4000 audio 330device vsaudio: audiobus, am7930 331attach vsaudio at vsbus 332file arch/vax/vsa/vsaudio.c vsaudio needs-flag 333 334# These are general files needed for compilation. 335file dev/cons.c 336file dev/cninit.c 337file arch/vax/vax/locore.c 338file arch/vax/vax/clock.c 339file arch/vax/vax/core_machdep.c coredump 340file arch/vax/vax/gencons.c vax8600 | vax780 | vax750 | vax630 | 341 vax8200 | vax680 | vax650 | vax660 | 342 vax670 | vaxany 343file arch/vax/vax/pmap.c 344file arch/vax/vax/machdep.c 345file arch/vax/vax/ka820.c vax8200 | vaxany 346file arch/vax/vax/crx.c vax8200 | vaxany 347file arch/vax/vax/ka88.c vax8800 | vaxany 348file arch/vax/vax/ka6400.c vax6400 | vaxany 349file arch/vax/vax/ka410.c vax410 | vaxany 350file arch/vax/vax/ka43.c vax43 | vaxany 351file arch/vax/vax/ka46.c vax46 | vaxany 352file arch/vax/vax/ka48.c vax48 | vaxany 353file arch/vax/vax/ka49.c vax49 | vaxany 354file arch/vax/vax/ka53.c vax53 | vaxany 355file arch/vax/vax/ka610.c vax610 | vaxany 356file arch/vax/vax/ka630.c vax630 | vaxany 357file arch/vax/vax/ka650.c vax650 | vaxany 358file arch/vax/vax/ka660.c vax660 | vaxany 359file arch/vax/vax/ka670.c vax670 | vaxany 360file arch/vax/vax/ka680.c vax680 | vaxany 361file arch/vax/vax/emulate.S !no_insn_emulate 362file arch/vax/vax/unimpl_emul.S !no_insn_emulate 363file arch/vax/vax/lock_stubs.S 364file arch/vax/vax/scb.c 365file arch/vax/vax/opcodes.c 366file arch/vax/vax/conf.c 367file arch/vax/vax/trap.c 368file arch/vax/vax/bus_dma.c 369file arch/vax/vax/bus_mem.c 370file arch/vax/vax/procfs_machdep.c procfs 371file arch/vax/vax/sgmap.c 372file arch/vax/vax/sig_machdep.c 373file arch/vax/vax/syscall.c 374file arch/vax/vax/vm_machdep.c 375file arch/vax/vax/findcpu.c 376file arch/vax/vax/autoconf.c 377file arch/vax/vax/ns_cksum.c ns 378file arch/vax/vax/disksubr.c disk | tape 379file arch/vax/vax/db_machdep.c ddb 380file arch/vax/vax/db_disasm.c ddb 381file arch/vax/uba/uba_dma.c uba 382file arch/vax/vax/multicpu.c multiprocessor 383 384# Binary compatibility with previous NetBSD releases (COMPAT_XX) 385file arch/vax/vax/compat_13_machdep.c compat_13 | compat_ultrix | 386 compat_ibcs2 387file arch/vax/vax/compat_16_machdep.c compat_16 | compat_ultrix 388 389include "compat/ibcs2/files.ibcs2" 390file arch/vax/vax/ibcs2_machdep.c compat_ibcs2 391 392include "compat/ultrix/files.ultrix" 393 394include "compat/vax1k/files.vax1k" 395 396# Dom h{ra f}r vara kvar s} l{nge f}r vi se vilka vi beh|ver... 397#arch/vax/vax/dkbad.c standard 398#arch/vax/vax/ka730.c standard 399#arch/vax/vax/iidr.o optional ii 400#arch/vax/vax/iidrsys.o optional ii 401#arch/vax/vax/iidr_glob.o optional ii 402#arch/vax/if/if_css.c optional css imp device-driver 403#arch/vax/if/if_dp.c optional dp device-driver 404#arch/vax/if/if_ddn.c optional ddn device-driver 405#arch/vax/if/if_dmv.c optional dmv device-driver 406#arch/vax/if/if_ec.c optional ec device-driver 407#arch/vax/if/if_en.c optional en device-driver 408#arch/vax/if/if_ex.c optional ex device-driver 409#arch/vax/if/if_hdh.c optional hdh device-driver 410#arch/vax/if/if_hy.c optional hy device-driver 411#arch/vax/if/if_pcl.c optional pcl device-driver 412#arch/vax/if/if_vv.c optional vv device-driver 413#arch/vax/if/raw_hy.c optional hy device-driver 414 415include "arch/vax/conf/majors.vax" 416