files.vax revision 1.110
1#	$NetBSD: files.vax,v 1.110 2008/02/22 17:38:38 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
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# NBI on KA88
31device	nmi { slot=-1 }
32attach	nmi at mainbus with nmi_mainbus
33file	arch/vax/vax/nmi_mainbus.c	nmi
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 | vaxany
42file	arch/vax/vax/cfl.c		vax780 | mem_sbi | vaxany
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 | vaxany
58file	arch/vax/vax/ctu.c		vax750 | mem_cmi | vaxany
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						vax53 | vaxany)
65
66device	ibus { }
67attach	ibus at mainbus
68file	arch/vax/vax/ibus.c		ibus
69
70device	ze: sgec, arp, ether, ifnet
71attach	ze at ibus with ze_ibus
72file	arch/vax/if/if_ze.c		ze_ibus
73attach	ze at vsbus with ze_vsbus
74file	arch/vax/vsa/if_ze_vsbus.c	ze_vsbus
75
76attach	le at ibus with le_ibus:	le24
77file	arch/vax/if/if_le.c		le_ibus
78
79attach	mba at sbi with mba_sbi
80attach	mba at cmi with mba_cmi
81file	arch/vax/mba/mba.c		mba needs-flag
82
83device	hp: disk
84attach	hp at mba
85file	arch/vax/mba/hp.c		hp needs-flag
86
87device	ht: tape
88attach	ht at mba
89file	arch/vax/mba/ht.c		ht needs-flag
90
91#
92# Bus-independent support for DEC devices
93#
94include "dev/dec/files.dec"
95
96# Memory Disk for install floppy
97file	dev/md_root.c			memory_disk_hooks
98
99# MSCP device drivers
100include "dev/mscp/files.mscp"
101
102# Unibus/Q22 bus definitions
103include "dev/qbus/files.uba"
104
105# TurboCHANNEL bus support and device drivers
106include "dev/tc/files.tc"
107
108attach	tc at vsbus with tcbus
109file	arch/vax/vsa/tc_vsbus.c		tcbus
110
111attach	uba at ibus with uba_ibus
112file	arch/vax/uba/uba_ibus.c		uba_ibus
113attach	uba at sbi with uba_sbi
114file	arch/vax/uba/uba_sbi.c		uba_sbi
115attach	uba at cmi with uba_cmi
116file	arch/vax/uba/uba_cmi.c		uba_cmi
117
118# BI bus definitions
119include "dev/bi/files.bi"
120
121attach	bi at mainbus with bi_mainbus
122file	arch/vax/bi/bi_mainbus.c	bi_mainbus
123attach	bi at nmi with bi_nmi
124file	arch/vax/bi/bi_nmi.c		bi_nmi
125
126# VAX CPUs at BI, do not belong in MI code.
127attach	cpu at bi with cpu_bi
128attach	mem at bi with mem_bi
129
130# VAX CPUs at NMI
131attach	cpu at nmi with cpu_nmi
132attach	mem at nmi with mem_nmi
133
134# XMI bus definitions
135include	"dev/xmi/files.xmi"
136
137attach	xmi at mainbus with xmi_mainbus
138file	arch/vax/vax/xmi_mainbus.c	xmi_mainbus
139
140# VAX CPUs at XMI, do not belong in MI code.
141attach	cpu at xmi with cpu_xmi
142attach	mem at xmi with mem_xmi
143
144attach	dz at vsbus with dz_vsbus
145file	arch/vax/vsa/dz_vsbus.c		dz_vsbus | smg
146
147attach	lkkbd at dz with dzkbd
148file	dev/dec/dzkbd.c			dzkbd needs-flag
149
150# XXX alpha and pmax call this vsms
151device	lkms: wsmousedev
152attach	lkms at dz with dzms
153file	dev/dec/dzms.c			dzms needs-flag
154
155# RD-type disks at VS2000's onboard MFM-controller
156device	hdc { drive = -1 }
157attach	hdc at vsbus
158file	arch/vax/vsa/hdc9224.c		ry | hdc | rd needs-flag
159
160device	rd: disk
161attach	rd at hdc
162
163device	ry: disk
164attach	ry at hdc
165
166#
167# Machine-independent SCSI driver.
168#
169include "dev/scsipi/files.scsipi"
170
171# builtin NCR5380 SCSI-controller on VAXstation
172device	si: scsi, ncr5380sbc
173attach	si at vsbus with si_vsbus
174file	arch/vax/vsa/ncr.c		si_vsbus
175
176# Monochrome framebuffer on VS3100.
177device	smg: wsemuldisplaydev
178attach	smg at vsbus
179file	arch/vax/vsa/smg.c		smg needs-flag
180
181# Color framebuffer on VS4000/60.
182device	lcg: wsemuldisplaydev
183attach	lcg at vsbus
184file	arch/vax/vsa/lcg.c		lcg needs-flag
185
186# Color framebuffer on VS4000/90.
187device	lcspx: wsemuldisplaydev
188attach	lcspx at vsbus
189file	arch/vax/vsa/lcspx.c		lcspx needs-flag
190
191# LANCE ethernet controller on VAXstation
192attach	le at vsbus with le_vsbus:	le24
193file	arch/vax/if/if_le_vsbus.c	le_vsbus
194
195# builtin NCR53C95 SCSI Controlller on VAXstation 4000 VLC/60/9x
196#device	asc: scsi, ncr53c9x
197attach	asc at vsbus with asc_vsbus
198file	arch/vax/vsa/asc_vsbus.c	asc_vsbus
199
200# These devices aren't tested (or even compiled!)
201# They are just included here to make some files happy ;)
202#
203
204# Ikonas framebuffer
205device	ik
206attach	ik at uba
207file	arch/vax/uba/ik.c		ik needs-flag
208
209device	vs
210attach	vs at uba
211file	arch/vax/uba/vs.c		vs needs-flag
212
213# RK06/07 on UBA
214device	rk: disk
215attach	rk at uba
216file	arch/vax/uba/rk.c		rk needs-flag
217
218# TM11/TE10 at UBA
219device	te: tape
220attach	te at uba
221file	arch/vax/uba/tm.c		te needs-flag
222
223# TU78 at MBA
224device	mu: tape
225attach	mu at mba
226file	arch/vax/mba/mt.c		mu needs-flag
227
228# DN-11 on UBA
229device	dn # XXX?
230attach	dn at uba
231file	arch/vax/uba/dn.c		dn needs-flag
232
233# IDC (RB730) on UBA (VAX 11/730)
234device	idc { drive=-1 }
235attach	idc at uba
236device	rb: disk
237attach	rb at idc
238file	arch/vax/uba/idc.c		rb needs-flag
239
240# LP-11 at UBA
241device	lp
242attach	lp at uba
243file	arch/vax/uba/lp.c		lp needs-flag
244
245# ???? at UBA
246device	lpa
247attach	lpa at uba
248file	arch/vax/uba/lpa.c		lpa needs-flag
249
250# PS2 at UBA
251device	ps
252attach	ps at uba
253file	arch/vax/uba/ps.c		ps needs-flag
254
255# SC-21/SC-31 at UBA
256device	sc { drive=-1 }
257attach	sc at uba
258device	up: disk
259attach	up at sc
260file	arch/vax/uba/up.c		up needs-flag
261
262# TU45 at UBA
263device	ut { drive=-1}
264attach	ut at uba
265device	tj: tape
266attach	tj at ut
267file	arch/vax/uba/ut.c		tj needs-flag
268
269# TU58/DECtape II
270device	uu: tape
271attach	uu at uba
272file	arch/vax/uba/uu.c		uu needs-flag
273
274# Benson-Varian plotter at UBA
275device	va { drive=-1}
276attach	va at uba
277device	vz
278attach	vz at va
279file	arch/vax/uba/va.c		va needs-flag
280
281# Versatec plotter at UBA
282device	vp
283attach	vp at uba
284file	arch/vax/uba/vp.c		vp needs-flag
285
286# QVSS at UBA
287device	qv
288attach	qv at uba
289file	arch/vax/uba/qv.c		qv needs-flag
290
291# ACC LH/DH IMP on UBA
292device	acc: ifnet
293attach	acc at uba
294file	arch/vax/if/if_acc.c		acc needs-flag
295
296# DR11C at UBA
297device	ct # XXX
298attach	ct at uba
299file	arch/vax/uba/ct.c		ct needs-flag
300
301# A/D-converter on UBA
302device	ad
303attach	ad at uba
304file	arch/vax/uba/ad.c		ad needs-flag
305
306# DH-11/DM-11 on UBA
307device	dh # XXX?
308attach	dh at uba
309file	arch/vax/uba/dh.c		dh needs-flag
310
311# These are general files needed for compilation.
312file	dev/cons.c
313file	dev/cninit.c
314file	arch/vax/vax/locore.c
315file	arch/vax/vax/mem.c
316file	arch/vax/vax/clock.c
317file	arch/vax/vax/gencons.c		vax8600 | vax780 | vax750 | vax630 |
318					vax8200 | vax680 | vax650 | vax660 |
319					vax670  | vaxany
320file	arch/vax/vax/pmap.c
321file	arch/vax/vax/machdep.c
322file	arch/vax/vax/ka820.c		vax8200 | vaxany
323file	arch/vax/vax/crx.c		vax8200 | vaxany
324file	arch/vax/vax/ka88.c		vax8800 | vaxany
325file	arch/vax/vax/ka6400.c		vax6400 | vaxany
326file	arch/vax/vax/ka410.c		vax410  | vaxany
327file	arch/vax/vax/ka43.c		vax43   | vaxany
328file	arch/vax/vax/ka46.c		vax46   | vaxany
329file	arch/vax/vax/ka48.c		vax48   | vaxany
330file	arch/vax/vax/ka49.c		vax49   | vaxany
331file	arch/vax/vax/ka53.c		vax53   | vaxany
332file	arch/vax/vax/ka610.c		vax610  | vaxany
333file	arch/vax/vax/ka630.c		vax630  | vaxany
334file	arch/vax/vax/ka650.c		vax650  | vaxany
335file	arch/vax/vax/ka660.c		vax660  | vaxany
336file	arch/vax/vax/ka670.c		vax670  | vaxany
337file	arch/vax/vax/ka680.c		vax680  | vaxany
338file	arch/vax/vax/emulate.S		!no_insn_emulate
339file	arch/vax/vax/unimpl_emul.S	!no_insn_emulate
340file	arch/vax/vax/lock_stubs.S
341file	arch/vax/vax/scb.c
342file	arch/vax/vax/conf.c
343file	arch/vax/vax/trap.c
344file	arch/vax/vax/bus_dma.c
345file	arch/vax/vax/bus_mem.c
346file	arch/vax/vax/procfs_machdep.c	procfs
347file	arch/vax/vax/sgmap.c
348file	arch/vax/vax/sig_machdep.c
349file	arch/vax/vax/syscall.c
350file	arch/vax/vax/vm_machdep.c
351file	arch/vax/vax/findcpu.c
352file	arch/vax/vax/autoconf.c
353file	arch/vax/vax/ns_cksum.c		ns
354file	arch/vax/vax/disksubr.c		disk | tape
355file	arch/vax/vax/db_machdep.c	ddb
356file	arch/vax/vax/db_disasm.c	ddb
357file	arch/vax/uba/uba_dma.c		uba
358file	arch/vax/vax/multicpu.c		multiprocessor
359
360include "compat/ibcs2/files.ibcs2"
361file	arch/vax/vax/ibcs2_machdep.c	compat_ibcs2
362
363include "compat/ultrix/files.ultrix"
364
365include "compat/vax1k/files.vax1k"
366
367# Dom h{ra f}r vara kvar s} l{nge f}r vi se vilka vi beh|ver...
368#arch/vax/vax/dkbad.c		standard
369#arch/vax/vax/ka730.c		standard
370#arch/vax/vax/iidr.o		optional ii
371#arch/vax/vax/iidrsys.o		optional ii
372#arch/vax/vax/iidr_glob.o	optional ii
373#arch/vax/if/if_css.c		optional css imp device-driver
374#arch/vax/if/if_dp.c		optional dp device-driver
375#arch/vax/if/if_ddn.c		optional ddn device-driver
376#arch/vax/if/if_dmv.c		optional dmv device-driver
377#arch/vax/if/if_ec.c		optional ec device-driver
378#arch/vax/if/if_en.c		optional en device-driver
379#arch/vax/if/if_ex.c		optional ex device-driver
380#arch/vax/if/if_hdh.c		optional hdh device-driver
381#arch/vax/if/if_hy.c		optional hy device-driver
382#arch/vax/if/if_pcl.c		optional pcl device-driver
383#arch/vax/if/if_vv.c		optional vv device-driver
384#arch/vax/if/raw_hy.c		optional hy device-driver
385
386include "arch/vax/conf/majors.vax"
387