1# $NetBSD: files.vax,v 1.98 2002/09/06 13:18:43 gehenna 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 { } 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 } 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# NBI on KA88 31device nmi { slot=-1 } 32attach nmi at mainbus with nmi_mainbus 33file arch/vax/vax/nmi_mainbus.c nmi 34 35# SBI and related devices 36device sbi { tr=-1 } 37attach sbi at mainbus with sbi_mainbus 38file arch/vax/vax/sbi.c sbi 39 40attach mem at sbi with mem_sbi 41file arch/vax/vax/ka780.c vax780 | mem_sbi | vaxany 42file arch/vax/vax/cfl.c vax780 | mem_sbi | vaxany 43 44# Abus and related devices 45device abus { } 46attach abus at mainbus 47attach sbi at abus with sbi_abus 48file arch/vax/vax/ka860.c abus 49file arch/vax/vax/crl.c abus 50 51# CMI and related devices 52device cmi { tr=-1 } 53attach cmi at mainbus 54file arch/vax/vax/cmi.c cmi 55 56attach mem at cmi with mem_cmi 57file arch/vax/vax/ka750.c vax750 | mem_cmi | vaxany 58file arch/vax/vax/ctu.c vax750 | mem_cmi | vaxany 59 60device vsbus { csr } 61attach vsbus at mainbus 62file arch/vax/vsa/vsbus.c vsbus 63file arch/vax/vsa/vsbus_dma.c vsbus & (vax46 | vax48 | vax49 | 64 vax53 | vaxany) 65 66device ibus { } 67attach ibus at mainbus 68file arch/vax/vax/ibus.c ibus 69 70device ze: sgec, arp, ether, ifnet 71attach ze at ibus with ze_ibus 72file arch/vax/if/if_ze.c ze_ibus 73attach ze at vsbus with ze_vsbus 74file arch/vax/vsa/if_ze_vsbus.c ze_vsbus 75 76attach le at ibus with le_ibus: le24 77file arch/vax/if/if_le.c le_ibus 78 79attach mba at sbi with mba_sbi 80attach mba at cmi with mba_cmi 81file arch/vax/mba/mba.c mba needs-flag 82 83device hp: disk 84attach hp at mba 85file arch/vax/mba/hp.c hp needs-flag 86 87device ht: tape 88attach ht at mba 89file arch/vax/mba/ht.c ht needs-flag 90 91# 92# Bus-independent support for DEC devices 93# 94include "dev/dec/files.dec" 95 96# wscons files. 97include "dev/wscons/files.wscons" 98include "dev/wsfont/files.wsfont" 99 100# Memory Disk for install floppy 101file dev/md_root.c memory_disk_hooks 102 103# MSCP device drivers 104include "dev/mscp/files.mscp" 105 106# Unibus/Q22 bus definitions 107include "dev/qbus/files.uba" 108 109attach uba at ibus with uba_ibus 110file arch/vax/uba/uba_ibus.c uba_ibus 111attach uba at sbi with uba_sbi 112file arch/vax/uba/uba_sbi.c uba_sbi 113attach uba at cmi with uba_cmi 114file arch/vax/uba/uba_cmi.c uba_cmi 115 116# BI bus definitions 117include "dev/bi/files.bi" 118 119attach bi at mainbus with bi_mainbus 120file arch/vax/bi/bi_mainbus.c bi_mainbus 121attach bi at nmi with bi_nmi 122file arch/vax/bi/bi_nmi.c bi_nmi 123 124# VAX CPUs at BI, do not belong in MI code. 125attach cpu at bi with cpu_bi 126attach mem at bi with mem_bi 127 128# VAX CPUs at NMI 129attach cpu at nmi with cpu_nmi 130attach mem at nmi with mem_nmi 131 132# XMI bus definitions 133include "dev/xmi/files.xmi" 134 135attach xmi at mainbus with xmi_mainbus 136file arch/vax/vax/xmi_mainbus.c xmi_mainbus 137 138# VAX CPUs at XMI, do not belong in MI code. 139attach cpu at xmi with cpu_xmi 140attach mem at xmi with mem_xmi 141 142attach dz at vsbus with dz_vsbus 143file arch/vax/vsa/dz_vsbus.c dz_vsbus | smg 144 145device lkkbd: wskbddev, lkkbdmap 146attach lkkbd at dz with dzkbd 147file dev/dec/dzkbd.c dzkbd needs-flag 148 149device lkms: wsmousedev 150attach lkms at dz with dzms 151file dev/dec/dzms.c dzms needs-flag 152 153# RD-type disks at VS2000's onboard MFM-controller 154device hdc { drive = -1 } 155attach hdc at vsbus 156file arch/vax/vsa/hdc9224.c ry | hdc | rd needs-flag 157 158device rd: disk 159attach rd at hdc 160 161device ry: disk 162attach ry at hdc 163 164# 165# Machine-independent SCSI driver. 166# 167include "dev/scsipi/files.scsipi" 168 169# builtin NCR5380 SCSI-controller on VAXstation 170device si: scsi, ncr5380sbc 171attach si at vsbus with si_vsbus 172file arch/vax/vsa/ncr.c si_vsbus 173 174# Monochrome framebuffer on VS3100. 175device smg: wsemuldisplaydev 176attach smg at vsbus 177file arch/vax/vsa/smg.c smg needs-flag 178 179# LANCE ethernet controller on VAXstation 180attach le at vsbus with le_vsbus: le24 181file arch/vax/if/if_le_vsbus.c le_vsbus 182 183# builtin NCR53C95 SCSI Controlller on VAXstation 4000 VLC/60/9x 184device asc: scsi, ncr53c9x 185attach asc at vsbus with asc_vsbus 186file arch/vax/vsa/asc_vsbus.c asc_vsbus 187 188# These devices aren't tested (or even compiled!) 189# They are just included here to make some files happy ;) 190# 191 192# Ikonas framebuffer 193device ik 194attach ik at uba 195file arch/vax/uba/ik.c ik needs-flag 196 197device vs 198attach vs at uba 199file arch/vax/uba/vs.c vs needs-flag 200 201# RK06/07 on UBA 202device rk: disk 203attach rk at uba 204file arch/vax/uba/rk.c rk needs-flag 205 206# TM11/TE10 at UBA 207device te: tape 208attach te at uba 209file arch/vax/uba/tm.c te needs-flag 210 211# TU78 at MBA 212device mu: tape 213attach mu at mba 214file arch/vax/mba/mt.c mu needs-flag 215 216# DN-11 on UBA 217device dn # XXX? 218attach dn at uba 219file arch/vax/uba/dn.c dn needs-flag 220 221# IDC (RB730) on UBA (VAX 11/730) 222device idc { drive=-1 } 223attach idc at uba 224device rb: disk 225attach rb at idc 226file arch/vax/uba/idc.c rb needs-flag 227 228# LP-11 at UBA 229device lp 230attach lp at uba 231file arch/vax/uba/lp.c lp needs-flag 232 233# ???? at UBA 234device lpa 235attach lpa at uba 236file arch/vax/uba/lpa.c lpa needs-flag 237 238# PS2 at UBA 239device ps 240attach ps at uba 241file arch/vax/uba/ps.c ps needs-flag 242 243# SC-21/SC-31 at UBA 244device sc { drive=-1 } 245attach sc at uba 246device up: disk 247attach up at sc 248file arch/vax/uba/up.c up needs-flag 249 250# TU45 at UBA 251device ut { drive=-1} 252attach ut at uba 253device tj: tape 254attach tj at ut 255file arch/vax/uba/ut.c tj needs-flag 256 257# TU58/DECtape II 258device uu: tape 259attach uu at uba 260file arch/vax/uba/uu.c uu needs-flag 261 262# Benson-Varian plotter at UBA 263device va { drive=-1} 264attach va at uba 265device vz 266attach vz at va 267file arch/vax/uba/va.c va needs-flag 268 269# Versatec plotter at UBA 270device vp 271attach vp at uba 272file arch/vax/uba/vp.c vp needs-flag 273 274# QVSS at UBA 275device qv 276attach qv at uba 277file arch/vax/uba/qv.c qv needs-flag 278 279# ACC LH/DH IMP on UBA 280device acc: ifnet 281attach acc at uba 282file arch/vax/if/if_acc.c acc needs-flag 283 284# DR11C at UBA 285device ct # XXX 286attach ct at uba 287file arch/vax/uba/ct.c ct needs-flag 288 289# A/D-converter on UBA 290device ad 291attach ad at uba 292file arch/vax/uba/ad.c ad needs-flag 293 294# DH-11/DM-11 on UBA 295device dh # XXX? 296attach dh at uba 297file arch/vax/uba/dh.c dh needs-flag 298 299# These are general files needed for compilation. 300file dev/cons.c 301file dev/cninit.c 302file dev/clock_subr.c vax8200 | vax410 | vax630 | vax43 | 303 vax660 | vax670 | vax680 | vax46 | 304 vax48 | vax49 | vax53 | vaxany 305file arch/vax/vax/locore.c 306file arch/vax/vax/mem.c 307file arch/vax/vax/clock.c 308file arch/vax/vax/gencons.c vax8600 | vax780 | vax750 | vax630 | 309 vax8200 | vax680 | vax650 | vax660 | 310 vax670 | vaxany 311file arch/vax/vax/pmap.c 312file arch/vax/vax/machdep.c 313file arch/vax/vax/ka820.c vax8200 | vaxany 314file arch/vax/vax/crx.c vax8200 | vaxany 315file arch/vax/vax/ka88.c vax8800 | vaxany 316file arch/vax/vax/ka6400.c vax6400 | vaxany 317file arch/vax/vax/ka410.c vax410 | vaxany 318file arch/vax/vax/ka43.c vax43 | vaxany 319file arch/vax/vax/ka46.c vax46 | vaxany 320file arch/vax/vax/ka48.c vax48 | vaxany 321file arch/vax/vax/ka49.c vax49 | vaxany 322file arch/vax/vax/ka53.c vax53 | vaxany 323file arch/vax/vax/ka610.c vax610 | vaxany 324file arch/vax/vax/ka630.c vax630 | vaxany 325file arch/vax/vax/ka650.c vax650 | vaxany 326file arch/vax/vax/ka660.c vax660 | vaxany 327file arch/vax/vax/ka670.c vax670 | vaxany 328file arch/vax/vax/ka680.c vax680 | vaxany 329file arch/vax/vax/emulate.S !no_insn_emulate 330file arch/vax/vax/unimpl_emul.S !no_insn_emulate 331file arch/vax/vax/scb.c 332file arch/vax/vax/conf.c 333file arch/vax/vax/trap.c 334file arch/vax/vax/bus_dma.c 335file arch/vax/vax/bus_mem.c 336file arch/vax/vax/procfs_machdep.c procfs 337file arch/vax/vax/sgmap.c 338file arch/vax/vax/vm_machdep.c 339file arch/vax/vax/findcpu.c 340file arch/vax/vax/autoconf.c 341file arch/vax/vax/in_cksum.c inet 342file arch/vax/vax/in4_cksum.c inet 343file arch/vax/vax/ns_cksum.c ns 344file arch/vax/vax/disksubr.c disk | tape 345file arch/vax/vax/db_machdep.c ddb 346file arch/vax/vax/db_disasm.c ddb 347file arch/vax/uba/uba_dma.c uba 348file arch/vax/vax/multicpu.c multiprocessor 349 350include "compat/ibcs2/files.ibcs2" 351file arch/vax/vax/ibcs2_machdep.c compat_ibcs2 352 353include "compat/ultrix/files.ultrix" 354 355include "compat/vax1k/files.vax1k" 356 357# Dom h{ra f}r vara kvar s} l{nge f}r vi se vilka vi beh|ver... 358#arch/vax/vax/dkbad.c standard 359#arch/vax/vax/ka730.c standard 360#arch/vax/vax/iidr.o optional ii 361#arch/vax/vax/iidrsys.o optional ii 362#arch/vax/vax/iidr_glob.o optional ii 363#arch/vax/if/if_css.c optional css imp device-driver 364#arch/vax/if/if_dp.c optional dp device-driver 365#arch/vax/if/if_ddn.c optional ddn device-driver 366#arch/vax/if/if_dmv.c optional dmv device-driver 367#arch/vax/if/if_ec.c optional ec device-driver 368#arch/vax/if/if_en.c optional en device-driver 369#arch/vax/if/if_ex.c optional ex device-driver 370#arch/vax/if/if_hdh.c optional hdh device-driver 371#arch/vax/if/if_hy.c optional hy device-driver 372#arch/vax/if/if_pcl.c optional pcl device-driver 373#arch/vax/if/if_vv.c optional vv device-driver 374#arch/vax/if/raw_hy.c optional hy device-driver 375 376include "arch/vax/conf/majors.vax" 377