1# $NetBSD: files.vax,v 1.65 2000/03/04 07:27:47 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 { } 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 19defopt VAX780 # VAX-11/780 & 785 20defopt VAX750 # VAX-11/750 21defopt VAX730 # VAX-11/730 22defopt VAX8200 # VAX 8200|8300 23defopt VAX8500 # VAX 8500|8800|8550 24defopt VAX8600 # VAX 8600|8650 25defopt VAX410 # VAXstation 2000, MicroVAX 200 26defopt VAX43 # VAXstation 3100 / MicroVAX 3100 27defopt VAX46 # VAXstation 4000/60 28defopt VAX48 # VAXstation 4000/VLC 29defopt VAX49 # VAXstation 4000/90 or 4000/96 30defopt VAX630 # MicroVAX II or VAXstation II 31defopt VAX650 # MicroVAX III or VAXstation III 32defopt VAX660 # VAX 4000/200 33defopt VAX670 # VAX 4000/300 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 42file arch/vax/vax/cfl.c vax780 | mem_sbi 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 58file arch/vax/vax/ctu.c vax750 | mem_cmi 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 65device ibus { } 66attach ibus at mainbus 67file arch/vax/vax/ibus.c ibus 68 69device ze: sgec, arp, ether, ifnet 70attach ze at ibus with ze_ibus 71file arch/vax/if/if_ze.c ze_ibus 72attach ze at vsbus with ze_vsbus 73file arch/vax/vsa/if_ze_vsbus.c ze_vsbus 74 75attach le at ibus with le_ibus: le24 76file arch/vax/if/if_le.c le_ibus 77 78attach mba at sbi with mba_sbi 79attach mba at cmi with mba_cmi 80file arch/vax/mba/mba.c mba needs-flag 81 82device hp: disk 83attach hp at mba 84file arch/vax/mba/hp.c hp needs-flag 85major {hp = 0} 86 87device ht: tape 88attach ht at mba 89file arch/vax/mba/ht.c ht needs-flag 90 91# wscons files. 92include "dev/wscons/files.wscons" 93 94# Memory Disk for install floppy 95file arch/vax/vax/md_root.c memory_disk_hooks 96major {md = 23} 97 98# MSCP device drivers 99include "dev/mscp/files.mscp" 100major {ra = 9} 101 102# Unibus/Q22 bus definitions 103include "dev/qbus/files.uba" 104 105attach uba at ibus with uba_ibus 106file arch/vax/uba/uba_ibus.c uba_ibus 107attach uba at sbi with uba_sbi 108file arch/vax/uba/uba_sbi.c uba_sbi 109attach uba at cmi with uba_cmi 110file arch/vax/uba/uba_cmi.c uba_cmi 111 112# BI bus definitions 113include "dev/bi/files.bi" 114 115attach bi at mainbus with bi_mainbus 116file arch/vax/bi/bi_mainbus.c bi_mainbus 117 118# VAX CPUs at BI, do not belong in MI code. 119attach cpu at bi with cpu_bi 120attach mem at bi with mem_bi 121 122# TS11 at UBA 123device ts: tape 124attach ts at uba 125file arch/vax/uba/ts.c ts needs-flag 126 127attach dz at vsbus with dz_vsbus 128file arch/vax/vsa/dz_ibus.c dz_vsbus 129 130# RD-type disks at VS2000's onboard MFM-controller 131device hdc { drive = -1 } 132attach hdc at vsbus 133file arch/vax/vsa/hdc9224.c ry | hdc | rd needs-flag 134 135device rd: disk 136attach rd at hdc 137major {rd = 19} 138 139device ry: disk 140attach ry at hdc 141major {ry = 24} 142 143# 144# Machine-independent SCSI driver. 145# 146include "dev/scsipi/files.scsipi" 147major { sd = 20 } 148major { cd = 22 } 149 150# builtin NCR5380 SCSI-controller on VAXstation 151device ncr: scsi, ncr5380sbc 152attach ncr at vsbus 153file arch/vax/vsa/ncr.c ncr needs-flag 154 155# LANCE ethernet controller on VAXstation 156attach le at vsbus with le_vsbus: le24 157file arch/vax/if/if_le_vsbus.c le_vsbus 158 159# Monochrome framebuffer on VS3100. 160device smg: wsemuldisplaydev, qfont 161attach smg at vsbus 162file arch/vax/vsa/smg.c smg needs-flag 163 164# builtin NCR53C95 SCSI Controlller on VAXstation 4000 VLC/60/9x 165device asc: scsi, ncr53c9x 166attach asc at vsbus with asc_vsbus 167file arch/vax/vsa/asc_vsbus.c asc needs-flag 168 169device lkc: qfont 170attach lkc at dz 171file arch/vax/vsa/lkc.c lkc needs-flag 172 173# These devices aren't tested (or even compiled!) 174# They are just included here to make some files happy ;) 175# 176 177# Ikonas framebuffer 178device ik 179attach ik at uba 180file arch/vax/uba/ik.c ik needs-flag 181 182device vs 183attach vs at uba 184file arch/vax/uba/vs.c vs needs-flag 185 186# RK06/07 on UBA 187device rk: disk 188attach rk at uba 189file arch/vax/uba/rk.c rk needs-flag 190 191# TM11/TE10 at UBA 192device te: tape 193attach te at uba 194file arch/vax/uba/tm.c te needs-flag 195 196# TU78 at MBA 197device mu: tape 198attach mu at mba 199file arch/vax/mba/mt.c mu needs-flag 200 201# DMF32 on UBA 202device dmf # XXX? 203attach dmf at uba 204file arch/vax/uba/dmf.c dmf needs-flag 205file arch/vax/uba/dmz.c dmf needs-flag 206 207# DMZ32 on UBA 208device dmz # XXX? 209attach dmz at uba 210file arch/vax/uba/dmx.c dmz needs-flag 211 212# DN-11 on UBA 213device dn # XXX? 214attach dn at uba 215file arch/vax/uba/dn.c dn needs-flag 216 217# IDC (RB730) on UBA (VAX 11/730) 218device idc { drive=-1 } 219attach idc at uba 220device rb: disk 221attach rb at idc 222file arch/vax/uba/idc.c rb needs-flag 223 224# LP-11 at UBA 225device lp 226attach lp at uba 227file arch/vax/uba/lp.c lp needs-flag 228 229# ???? at UBA 230device lpa 231attach lpa at uba 232file arch/vax/uba/lpa.c lpa needs-flag 233 234# PS2 at UBA 235device ps 236attach ps at uba 237file arch/vax/uba/ps.c ps needs-flag 238 239# RL02/RL11 at UBA 240device hl { drive=-1 } 241attach hl at uba 242device rl: disk 243attach rl at hl 244file arch/vax/uba/rl.c rl needs-flag 245 246# SC-21/SC-31 at UBA 247device sc { drive=-1 } 248attach sc at uba 249device up: disk 250attach up at sc 251file arch/vax/uba/up.c up needs-flag 252 253# TU45 at UBA 254device ut { drive=-1} 255attach ut at uba 256device tj: tape 257attach tj at ut 258file arch/vax/uba/ut.c tj needs-flag 259 260# TU58/DECtape II 261device uu: tape 262attach uu at uba 263file arch/vax/uba/uu.c uu needs-flag 264 265# Benson-Varian plotter at UBA 266device va { drive=-1} 267attach va at uba 268device vz 269attach vz at va 270file arch/vax/uba/va.c va needs-flag 271 272# Versatec plotter at UBA 273device vp 274attach vp at uba 275file arch/vax/uba/vp.c vp needs-flag 276 277# QVSS at UBA 278device qv 279attach qv at uba 280file arch/vax/uba/qv.c qv needs-flag 281 282# Interlan NP100 at UBA 283device np: ifnet 284attach np at uba 285file arch/vax/if/if_ix.c np needs-flag 286file arch/vax/uba/np.c np needs-flag 287 288# ACC LH/DH IMP on UBA 289device acc: ifnet 290attach acc at uba 291file arch/vax/if/if_acc.c acc needs-flag 292 293# DR11C at UBA 294device ct # XXX 295attach ct at uba 296file arch/vax/uba/ct.c ct needs-flag 297 298# A/D-converter on UBA 299device ad 300attach ad at uba 301file arch/vax/uba/ad.c ad needs-flag 302 303# DH-11/DM-11 on UBA 304device dh # XXX? 305attach dh at uba 306file arch/vax/uba/dh.c dh needs-flag 307 308# These are general files needed for compilation. 309file dev/cons.c 310file dev/cninit.c 311file dev/clock_subr.c vax8200|vax410|vax43|vax630|vax670|vax46|vax48|vax49 312file arch/vax/vax/locore.c 313file arch/vax/vax/mem.c 314file arch/vax/vax/clock.c 315file arch/vax/vax/gencons.c vax8600|vax8200|vax780|vax750|vax630|vax650|vax670 316file arch/vax/vax/pmap.c 317file arch/vax/vax/machdep.c 318file arch/vax/vax/ka820.c vax8200 319file arch/vax/vax/crx.c vax8200 320file arch/vax/vax/ka630.c vax630 321file arch/vax/vax/ka410.c vax410 322file arch/vax/vax/ka43.c vax43 323file arch/vax/vax/ka46.c vax46 324file arch/vax/vax/ka48.c vax48 325file arch/vax/vax/ka49.c vax49 326file arch/vax/vax/emulate.s vax630|vax650|vax410 327file arch/vax/vax/ka650.c vax650 328file arch/vax/vax/ka670.c vax670 329file arch/vax/vax/scb.c 330file arch/vax/vax/conf.c 331file arch/vax/vax/urem.s 332file arch/vax/vax/udiv.s 333file arch/vax/vax/trap.c 334file arch/vax/vax/bus_dma.c 335file arch/vax/vax/bus_mem.c 336file arch/vax/vax/sgmap.c 337file arch/vax/vax/vm_machdep.c 338file arch/vax/vax/findcpu.c 339file arch/vax/vax/autoconf.c 340file arch/vax/vax/in_cksum.c inet 341file netinet/in4_cksum.c inet 342file arch/vax/vax/ns_cksum.c ns 343file arch/vax/vax/disksubr.c disk | tape 344file arch/vax/vax/db_machdep.c ddb 345file arch/vax/vax/db_disasm.c ddb 346file arch/vax/uba/uba_dma.c uba 347 348include "compat/ibcs2/files.ibcs2" 349file arch/vax/vax/ibcs2_machdep.c compat_ibcs2 350 351include "compat/ultrix/files.ultrix" 352 353include "compat/vax1k/files.vax1k" 354 355# Dom h{ra f}r vara kvar s} l{nge f}r vi se vilka vi beh|ver... 356#arch/vax/vax/dkbad.c standard 357#arch/vax/vax/ka730.c standard 358#arch/vax/vax/iidr.o optional ii 359#arch/vax/vax/iidrsys.o optional ii 360#arch/vax/vax/iidr_glob.o optional ii 361#arch/vax/if/if_css.c optional css imp device-driver 362#arch/vax/if/if_dp.c optional dp device-driver 363#arch/vax/if/if_ddn.c optional ddn device-driver 364#arch/vax/if/if_dmc.c optional dmc device-driver 365#arch/vax/if/if_dmv.c optional dmv device-driver 366#arch/vax/if/if_ec.c optional ec device-driver 367#arch/vax/if/if_en.c optional en device-driver 368#arch/vax/if/if_ex.c optional ex device-driver 369#arch/vax/if/if_hdh.c optional hdh device-driver 370#arch/vax/if/if_hy.c optional hy device-driver 371#arch/vax/if/if_il.c optional il 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