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