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