1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
|
# $OpenBSD: files.vax,v 1.48 2008/08/18 23:19:21 miod Exp $
# $NetBSD: files.vax,v 1.60 1999/08/27 20:04:32 ragge Exp $
#
# new style config file for vax architecture
#
# maxpartitions must be first item in files.${ARCH}.newconf
maxpartitions 16
maxusers 2 8 64
device mainbus {}
attach mainbus at root
# Define a bunch of devices, needed in more than one place.
device cpu
device mem
device mba {drive = -1}
define dzcons
# SBI and related devices
device sbi {tr = -1}
attach sbi at mainbus with sbi_mainbus
file arch/vax/vax/sbi.c sbi
attach mem at sbi with mem_sbi
file arch/vax/vax/ka780.c vax780 | mem_sbi
file arch/vax/vax/cfl.c vax780 | mem_sbi
# Abus and related devices
device abus {}
attach abus at mainbus
attach sbi at abus with sbi_abus
file arch/vax/vax/ka860.c abus
file arch/vax/vax/crl.c abus
# CMI and related devices
device cmi {tr = -1}
attach cmi at mainbus
file arch/vax/vax/cmi.c cmi
attach mem at cmi with mem_cmi
file arch/vax/vax/ka750.c vax750 | mem_cmi
file arch/vax/vax/ctu.c vax750 | mem_cmi
device vsbus {csr}
attach vsbus at mainbus
file arch/vax/vsa/vsbus.c vsbus
file arch/vax/vsa/vsbus_dma.c vsbus
# DEC SGEC Second Generation Ethernet Controller
define sgec
file arch/vax/if/sgec.c sgec
device ibus {}
attach ibus at mainbus
file arch/vax/vax/ibus.c ibus
device vxtbus {}
attach vxtbus at mainbus
file arch/vax/vxt/vxtbus.c vxtbus
device ze: sgec, ether, ifnet
attach ze at ibus with ze_ibus
file arch/vax/if/if_ze.c ze_ibus
attach ze at vsbus with ze_vsbus
file arch/vax/vsa/if_ze_vsbus.c ze_vsbus
attach ze at vxtbus with ze_vxtbus
file arch/vax/vxt/if_ze_vxtbus.c ze_vxtbus
attach le at ibus with le_ibus
file arch/vax/if/if_le.c le_ibus
attach mba at sbi with mba_sbi
attach mba at cmi with mba_cmi
file arch/vax/mba/mba.c mba needs-flag
device hp: disk
attach hp at mba
file arch/vax/mba/hp.c hp needs-flag
major {hp = 0}
device ht: tape
attach ht at mba
file arch/vax/mba/ht.c ht needs-flag
# Memory Disk for install floppy
#file arch/vax/vax/md_root.c memory_disk_hooks
#major {md = 23}
# MSCP device drivers
include "arch/vax/mscp/files.mscp"
major {ra = 9}
# Unibus/Q22 bus definitions
include "arch/vax/qbus/files.uba"
attach uba at ibus with uba_ibus
file arch/vax/uba/uba_ibus.c uba_ibus
attach uba at sbi with uba_sbi
file arch/vax/uba/uba_sbi.c uba_sbi
attach uba at cmi with uba_cmi
file arch/vax/uba/uba_cmi.c uba_cmi
# BI bus definitions
#include "arch/vax/bi/files.bi"
#attach bi at mainbus with bi_mainbus
#file arch/vax/bi/bi_mainbus.c bi_mainbus
# VAX CPUs at BI, do not belong in MI code.
#attach cpu at bi with cpu_bi
#attach mem at bi with mem_bi
# TS11 at UBA
device ts: tape
attach ts at uba
file arch/vax/uba/ts.c ts needs-flag
attach dz at vsbus with dz_vsbus: dzcons
file arch/vax/vsa/dz_ibus.c dz_vsbus
# VXT serial
device qsc {line = -1}: tty
attach qsc at vxtbus
file arch/vax/vxt/qsc.c qsc needs-flag
# RD-type disks at VS2000's onboard MFM-controller
device hdc {drive = -1}
attach hdc at vsbus
file arch/vax/vsa/hdc9224.c hdc | ry | hd needs-flag
device hd: disk
attach hd at hdc
major {hd = 19}
device ry: disk
attach ry at hdc
major {ry = 24}
#
# Bus-independent support for DEC devices
#
include "arch/vax/dec/files.dec"
# wscons files.
include "dev/rasops/files.rasops"
include "dev/wscons/files.wscons"
include "dev/wsfont/files.wsfont"
# RAM Disk for install floppy
major {rd = 23}
#
# Machine-independent SCSI driver.
#
include "scsi/files.scsi"
major {sd = 20}
major {st = 21}
major {cd = 22}
# builtin NCR5380 SCSI-controller on VAXstation
device ncr: scsi, ncr5380sbc
attach ncr at vsbus
file arch/vax/vsa/ncr.c ncr needs-flag
# LANCE ethernet controller on VAXstation
attach le at vsbus with le_vsbus
file arch/vax/vsa/if_le_vsbus.c le_vsbus
# Monochrome (on-board) framebuffer on VS3100
device smg: wsemuldisplaydev, rasops1
attach smg at vsbus
file arch/vax/vsa/smg.c smg needs-flag
# GPX framebuffer on VS3100
device gpx: wsemuldisplaydev, rasops8
attach gpx at vsbus
file arch/vax/vsa/gpx.c gpx needs-flag
# LCG framebuffer on KA46/KA48
device lcg: wsemuldisplaydev, rasops8
attach lcg at vsbus
file arch/vax/vsa/lcg.c lcg needs-flag
# LCSPX framebuffer on KA49
device lcspx: wsemuldisplaydev, rasops8
attach lcspx at vsbus with lcspx_vsbus
attach lcspx at vxtbus with lcspx_vxtbus
file arch/vax/vsa/lcspx.c lcspx needs-flag
device lkkbd: wskbddev
attach lkkbd at dz with dzkbd
attach lkkbd at qsc with qsckbd
file arch/vax/dec/dzkbd.c dzkbd needs-flag
file arch/vax/vxt/qsckbd.c qsckbd needs-flag
device lkms: wsmousedev
attach lkms at dz with dzms
attach lkms at qsc with qscms
file arch/vax/dec/dzms.c dzms needs-flag
file arch/vax/vxt/qscms.c qscms needs-flag
file arch/vax/dec/dzinput.c dzkbd | dzms
# These devices aren't tested (or even compiled!)
# They are just included here to make some files happy ;)
#
# Ikonas framebuffer
device ik
attach ik at uba
file arch/vax/uba/ik.c ik needs-flag
device vs
attach vs at uba
file arch/vax/uba/vs.c vs needs-flag
# RK06/07 on UBA
device rk: disk
attach rk at uba
file arch/vax/uba/rk.c rk needs-flag
# TM11/TE10 at UBA
device te: tape
attach te at uba
file arch/vax/uba/tm.c te needs-flag
# TU78 at MBA
device mu: tape
attach mu at mba
file arch/vax/mba/mt.c mu needs-flag
# DMF32 on UBA
device dmf # XXX?
attach dmf at uba
file arch/vax/uba/dmf.c dmf needs-flag
file arch/vax/uba/dmz.c dmf needs-flag
# DMZ32 on UBA
device dmz # XXX?
attach dmz at uba
file arch/vax/uba/dmx.c dmz needs-flag
# DN-11 on UBA
device dn # XXX?
attach dn at uba
file arch/vax/uba/dn.c dn needs-flag
# IDC (RB730) on UBA (VAX 11/730)
device idc {drive = -1}
attach idc at uba
device rb: disk
attach rb at idc
file arch/vax/uba/idc.c rb needs-flag
# LP-11 at UBA
device lp
attach lp at uba
file arch/vax/uba/lp.c lp needs-flag
# ???? at UBA
device lpa
attach lpa at uba
file arch/vax/uba/lpa.c lpa needs-flag
# PS2 at UBA
device ps
attach ps at uba
file arch/vax/uba/ps.c ps needs-flag
# RL02/RL11 at UBA
#device hl {drive = -1}
#attach hl at uba
#device rl: disk
#attach rl at hl
#file arch/vax/uba/rl.c rl needs-flag
# SC-21/SC-31 at UBA
device sc {drive = -1}
attach sc at uba
device up: disk
attach up at sc
file arch/vax/uba/up.c up needs-flag
# TU45 at UBA
device ut {drive = -1}
attach ut at uba
device tj: tape
attach tj at ut
file arch/vax/uba/ut.c tj needs-flag
# TU58/DECtape II
device uu: tape
attach uu at uba
file arch/vax/uba/uu.c uu needs-flag
# Benson-Varian plotter at UBA
device va {drive = -1}
attach va at uba
device vz
attach vz at va
file arch/vax/uba/va.c va needs-flag
# Versatec plotter at UBA
device vp
attach vp at uba
file arch/vax/uba/vp.c vp needs-flag
# QVSS at UBA
device qv
attach qv at uba
file arch/vax/uba/qv.c qv needs-flag
# Interlan NP100 at UBA
device np: ifnet
attach np at uba
file arch/vax/if/if_ix.c np needs-flag
file arch/vax/uba/np.c np needs-flag
# ACC LH/DH IMP on UBA
device acc: ifnet
attach acc at uba
file arch/vax/if/if_acc.c acc needs-flag
# DR11C at UBA
device ct # XXX
attach ct at uba
file arch/vax/uba/ct.c ct needs-flag
# A/D-converter on UBA
device ad
attach ad at uba
file arch/vax/uba/ad.c ad needs-flag
# DH-11/DM-11 on UBA
device dh # XXX?
attach dh at uba
file arch/vax/uba/dh.c dh needs-flag
# M-bus on VS 3[58][24]0
include "arch/vax/mbus/files.mbus"
# Blinkenlichten
device led
attach led at mainbus
file arch/vax/vax/led.c led needs-flag
# These are general files needed for compilation.
file dev/cninit.c
file arch/vax/vax/locore.c
file arch/vax/vax/mem.c
file arch/vax/vax/clock.c
file arch/vax/vax/gencons.c vax8600|vax8200|vax780|vax750|vax630|vax650|vax660|vax670|vax680
file arch/vax/vax/pmap.c
file arch/vax/vax/machdep.c
file arch/vax/vax/ka820.c vax8200
file arch/vax/vax/crx.c vax8200
file arch/vax/vax/ka630.c vax630
file arch/vax/vax/ka410.c vax410
file arch/vax/vax/ka43.c vax43
file arch/vax/vax/ka46.c vax46
file arch/vax/vax/ka48.c vax48
file arch/vax/vax/ka49.c vax49
file arch/vax/vax/ka53.c vax53
file arch/vax/vax/ka60.c vax60
file arch/vax/vax/emulate.s insn_emulate
file arch/vax/vax/unimpl_emul.s insn_emulate
file arch/vax/vax/ka650.c vax650
file arch/vax/vax/ka660.c vax660
file arch/vax/vax/ka670.c vax670
file arch/vax/vax/ka680.c vax680
file arch/vax/vax/vxt.c vxt
file arch/vax/vax/cvax.c vax60 | vax650
file arch/vax/vax/scb.c
file arch/vax/vax/conf.c
file arch/vax/vax/urem.s
file arch/vax/vax/udiv.s
file arch/vax/vax/trap.c
file arch/vax/vax/bus_dma.c
file arch/vax/vax/bus_mem.c
file arch/vax/vax/sgmap.c
file arch/vax/vax/vm_machdep.c
file arch/vax/vax/findcpu.c
file arch/vax/vax/random.s
file arch/vax/vax/autoconf.c
file arch/vax/vax/mutex.c
file arch/vax/vax/in_cksum.c inet
file arch/vax/vax/in4_cksum.c inet
file arch/vax/vax/disksubr.c disk | tape
file arch/vax/vax/db_machdep.c ddb
file arch/vax/vax/db_disasm.c ddb
file arch/vax/vax/opcodes.c
file arch/vax/uba/uba_dma.c uba
file arch/vax/vax/wscons_machdep.c wsdisplay | wskbd
# builtin NCR53C95 SCSI Controller on VAXstation 4000 VLC/60/9x
device asc: scsi, ncr53c9x
attach asc at vsbus with asc_vsbus
file arch/vax/vsa/asc_vsbus.c asc needs-flag
include "compat/ultrix/files.ultrix"
include "compat/vax1k/files.vax1k"
# Keep these for now. Time will tell which we will need...
#arch/vax/vax/dkbad.c standard
#arch/vax/vax/ka730.c standard
#arch/vax/vax/iidr.o optional ii
#arch/vax/vax/iidrsys.o optional ii
#arch/vax/vax/iidr_glob.o optional ii
#arch/vax/if/if_css.c optional css imp device-driver
#arch/vax/if/if_dp.c optional dp device-driver
#arch/vax/if/if_ddn.c optional ddn device-driver
#arch/vax/if/if_dmc.c optional dmc device-driver
#arch/vax/if/if_dmv.c optional dmv device-driver
#arch/vax/if/if_ec.c optional ec device-driver
#arch/vax/if/if_en.c optional en device-driver
#arch/vax/if/if_ex.c optional ex device-driver
#arch/vax/if/if_hdh.c optional hdh device-driver
#arch/vax/if/if_hy.c optional hy device-driver
#arch/vax/if/if_il.c optional il device-driver
#arch/vax/if/if_pcl.c optional pcl device-driver
#arch/vax/if/if_vv.c optional vv device-driver
#arch/vax/if/raw_hy.c optional hy device-driver
# quad support is necessary for 32 bit architectures
file lib/libkern/adddi3.c
file lib/libkern/anddi3.c
file lib/libkern/ashldi3.c
file lib/libkern/ashrdi3.c
file lib/libkern/cmpdi2.c
file lib/libkern/divdi3.c
file lib/libkern/iordi3.c
file lib/libkern/lshldi3.c
file lib/libkern/lshrdi3.c
file lib/libkern/moddi3.c
file lib/libkern/muldi3.c
file lib/libkern/negdi2.c
file lib/libkern/notdi2.c
file lib/libkern/qdivrem.c
file lib/libkern/subdi3.c
file lib/libkern/ucmpdi2.c
file lib/libkern/udivdi3.c
file lib/libkern/umoddi3.c
file lib/libkern/xordi3.c
|