1#	$NetBSD: files.vax,v 1.128 2024/02/10 18:43:52 andvar 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 tc_vsbus
114file	arch/vax/vsa/tc_vsbus.c		tc_vsbus
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 | gpx
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#
184# Machine-independent ATA drivers
185#
186include "dev/ata/files.ata"
187
188# Monochrome framebuffer on VS3100.
189device	smg: displaydev, wsemuldisplaydev, rasops1
190attach	smg at vsbus
191file	arch/vax/vsa/smg.c		smg needs-flag
192
193# GPX framebuffer on VS3100.
194device	gpx: displaydev, wsemuldisplaydev, rasops8
195attach	gpx at vsbus
196file	arch/vax/vsa/gpx.c		gpx needs-flag
197
198# Monochrome QVSS framebuffer on qbus (VCB01)
199device	qv {}: displaydev, wsemuldisplaydev
200attach	qv at uba
201attach  genfb at qv with genfb_qv
202file	arch/vax/uba/qv.c		qv|genfb_qv needs-flag
203
204device	qvaux { line=-1 }: tty
205attach	qvaux at qv 
206file	arch/vax/uba/qvaux.c		qvaux needs-flag
207
208attach	lkkbd at qvaux with qvkbd
209file	arch/vax/uba/qvkbd.c		qvkbd needs-flag
210
211attach	lkms at qvaux with qvms
212file	arch/vax/uba/qvms.c		qvms needs-flag
213
214# Color framebuffer on VS4000/60.
215device	lcg: displaydev, wsemuldisplaydev
216attach	lcg at vsbus
217file	arch/vax/vsa/lcg.c		lcg needs-flag
218
219# Color framebuffer on VS4000/90.
220device	spx: displaydev, wsemuldisplaydev
221attach	spx at vsbus
222file	arch/vax/vsa/spx.c		spx needs-flag
223
224# LANCE ethernet controller on VAXstation
225attach	le at vsbus with le_vsbus:	le24
226file	arch/vax/if/if_le_vsbus.c	le_vsbus
227
228# builtin NCR53C95 SCSI Controller on VAXstation 4000 VLC/60/9x
229#device	asc: scsi, ncr53c9x
230attach	asc at vsbus with asc_vsbus
231file	arch/vax/vsa/asc_vsbus.c	asc_vsbus
232
233# These devices aren't tested (or even compiled!)
234# They are just included here to make some files happy ;)
235#
236
237# Ikonas framebuffer
238device	ik
239attach	ik at uba
240file	arch/vax/uba/ik.c		ik needs-flag
241
242device	vs
243attach	vs at uba
244file	arch/vax/uba/vs.c		vs needs-flag
245
246# RK06/07 on UBA
247device	rk: disk
248attach	rk at uba
249file	arch/vax/uba/rk.c		rk needs-flag
250
251# TM11/TE10 at UBA
252device	te: tape
253attach	te at uba
254file	arch/vax/uba/tm.c		te needs-flag
255
256# TU78 at MBA
257device	mu: tape
258attach	mu at mba
259file	arch/vax/mba/mt.c		mu needs-flag
260
261# DN-11 on UBA
262device	dn # XXX?
263attach	dn at uba
264file	arch/vax/uba/dn.c		dn needs-flag
265
266# IDC (RB730) on UBA (VAX 11/730)
267device	idc { drive=-1 }
268attach	idc at uba
269device	rb: disk
270attach	rb at idc
271file	arch/vax/uba/idc.c		rb needs-flag
272
273# LP-11 at UBA
274device	lp
275attach	lp at uba
276file	arch/vax/uba/lp.c		lp needs-flag
277
278# ???? at UBA
279device	lpa
280attach	lpa at uba
281file	arch/vax/uba/lpa.c		lpa needs-flag
282
283# PS2 at UBA
284device	ps
285attach	ps at uba
286file	arch/vax/uba/ps.c		ps needs-flag
287
288# SC-21/SC-31 at UBA
289device	sc { drive=-1 }
290attach	sc at uba
291device	up: disk
292attach	up at sc
293file	arch/vax/uba/up.c		up needs-flag
294
295# TU45 at UBA
296device	ut { drive=-1}
297attach	ut at uba
298device	tj: tape
299attach	tj at ut
300file	arch/vax/uba/ut.c		tj needs-flag
301
302# TU58/DECtape II
303device	uu: tape
304attach	uu at uba
305file	arch/vax/uba/uu.c		uu needs-flag
306
307# Benson-Varian plotter at UBA
308device	va { drive=-1}
309attach	va at uba
310device	vz
311attach	vz at va
312file	arch/vax/uba/va.c		va needs-flag
313
314# Versatec plotter at UBA
315device	vp
316attach	vp at uba
317file	arch/vax/uba/vp.c		vp needs-flag
318
319# ACC LH/DH IMP on UBA
320device	acc: ifnet
321attach	acc at uba
322file	arch/vax/if/if_acc.c		acc needs-flag
323
324# DR11C at UBA
325device	ct # XXX
326attach	ct at uba
327file	arch/vax/uba/ct.c		ct needs-flag
328
329# A/D-converter on UBA
330device	ad
331attach	ad at uba
332file	arch/vax/uba/ad.c		ad needs-flag
333
334# DH-11/DM-11 on UBA
335device	dh # XXX?
336attach	dh at uba
337file	arch/vax/uba/dh.c		dh needs-flag
338
339# Vaxstation 4000 audio
340device	vsaudio: audiobus, am7930
341attach	vsaudio at vsbus
342file	arch/vax/vsa/vsaudio.c		vsaudio needs-flag
343
344# These are general files needed for compilation.
345file	dev/cons.c
346file	dev/cninit.c
347file	arch/vax/vax/locore.c
348file	arch/vax/vax/clock.c
349file	arch/vax/vax/core_machdep.c	coredump
350file	arch/vax/vax/gencons.c		vax8600 | vax780 | vax750 | vax630 |
351					vax8200 | vax680 | vax650 | vax660 |
352					vax670  | vaxany
353file	arch/vax/vax/pmap.c
354file	arch/vax/vax/machdep.c
355file	arch/vax/vax/ka820.c		vax8200 | vaxany
356file	arch/vax/vax/crx.c		vax8200 | vaxany
357file	arch/vax/vax/ka88.c		vax8800 | vaxany
358file	arch/vax/vax/ka6400.c		vax6400 | vaxany
359file	arch/vax/vax/ka410.c		vax410  | vaxany
360file	arch/vax/vax/ka43.c		vax43   | vaxany
361file	arch/vax/vax/ka46.c		vax46   | vaxany
362file	arch/vax/vax/ka48.c		vax48   | vaxany
363file	arch/vax/vax/ka49.c		vax49   | vaxany
364file	arch/vax/vax/ka53.c		vax53   | vaxany
365file	arch/vax/vax/ka610.c		vax610  | vaxany
366file	arch/vax/vax/ka630.c		vax630  | vaxany
367file	arch/vax/vax/ka650.c		vax650  | vaxany
368file	arch/vax/vax/ka660.c		vax660  | vaxany
369file	arch/vax/vax/ka670.c		vax670  | vaxany
370file	arch/vax/vax/ka680.c		vax680  | vaxany
371file	arch/vax/vax/emulate.S		!no_insn_emulate
372file	arch/vax/vax/unimpl_emul.S	!no_insn_emulate
373file	arch/vax/vax/lock_stubs.S
374file	arch/vax/vax/scb.c
375file	arch/vax/vax/opcodes.c
376file	arch/vax/vax/conf.c
377file	arch/vax/vax/trap.c
378file	arch/vax/vax/bus_dma.c
379file	arch/vax/vax/bus_mem.c
380file	arch/vax/vax/procfs_machdep.c	procfs
381file	arch/vax/vax/sgmap.c
382file	arch/vax/vax/sig_machdep.c
383file	arch/vax/vax/syscall.c
384file	arch/vax/vax/vm_machdep.c
385file	arch/vax/vax/findcpu.c
386file	arch/vax/vax/autoconf.c
387file	arch/vax/vax/ns_cksum.c		ns
388file	arch/vax/vax/disksubr.c		disk | tape
389file	arch/vax/vax/db_machdep.c	ddb
390file	arch/vax/vax/db_disasm.c	ddb
391file	arch/vax/uba/uba_dma.c		uba
392file	arch/vax/vax/multicpu.c		multiprocessor
393file	arch/vax/vax/cpu_in_cksum.S	(inet | inet6) & cpu_in_cksum
394
395# Binary compatibility with previous NetBSD releases (COMPAT_XX)
396file	arch/vax/vax/compat_13_machdep.c 	compat_13 | compat_ultrix
397file	arch/vax/vax/compat_16_machdep.c	compat_16 | compat_ultrix
398
399include "compat/ultrix/files.ultrix"
400
401include "compat/vax1k/files.vax1k"
402
403# Dom h{ra f}r vara kvar s} l{nge f}r vi se vilka vi beh|ver...
404#arch/vax/vax/dkbad.c		standard
405#arch/vax/vax/ka730.c		standard
406#arch/vax/vax/iidr.o		optional ii
407#arch/vax/vax/iidrsys.o		optional ii
408#arch/vax/vax/iidr_glob.o	optional ii
409#arch/vax/if/if_css.c		optional css imp device-driver
410#arch/vax/if/if_dp.c		optional dp device-driver
411#arch/vax/if/if_ddn.c		optional ddn device-driver
412#arch/vax/if/if_dmv.c		optional dmv device-driver
413#arch/vax/if/if_ec.c		optional ec device-driver
414#arch/vax/if/if_en.c		optional en device-driver
415#arch/vax/if/if_ex.c		optional ex device-driver
416#arch/vax/if/if_hdh.c		optional hdh device-driver
417#arch/vax/if/if_hy.c		optional hy device-driver
418#arch/vax/if/if_pcl.c		optional pcl device-driver
419#arch/vax/if/if_vv.c		optional vv device-driver
420#arch/vax/if/raw_hy.c		optional hy device-driver
421
422# this wants to be probed as late as possible.
423#
424# Machine-independent USB device support
425#
426include "dev/usb/files.usb"
427
428include "dev/bluetooth/files.bluetooth"
429
430include "arch/vax/conf/majors.vax"
431