files.vax revision 1.94
1#	$NetBSD: files.vax,v 1.94 2002/02/25 14:58:06 ad 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
86major	{hp = 0}
87
88device	ht: tape
89attach	ht at mba
90file	arch/vax/mba/ht.c		ht needs-flag
91
92#
93# Bus-independent support for DEC devices
94#
95include "dev/dec/files.dec"
96
97# wscons files.
98include "dev/wscons/files.wscons"
99include "dev/wsfont/files.wsfont"
100
101# Memory Disk for install floppy
102file	dev/md_root.c			memory_disk_hooks
103major	{md = 23}
104
105# RAIDframe
106major	{raid = 25}
107
108# MSCP device drivers
109include "dev/mscp/files.mscp"
110major	{ra = 9}
111
112# Unibus/Q22 bus definitions
113include "dev/qbus/files.uba"
114
115attach	uba at ibus with uba_ibus
116file	arch/vax/uba/uba_ibus.c		uba_ibus
117attach	uba at sbi with uba_sbi
118file	arch/vax/uba/uba_sbi.c		uba_sbi
119attach	uba at cmi with uba_cmi
120file	arch/vax/uba/uba_cmi.c		uba_cmi
121
122# Unibus disks
123major	{rl = 14}
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
154# RD-type disks at VS2000's onboard MFM-controller
155device	hdc { drive = -1 }
156attach	hdc at vsbus
157file	arch/vax/vsa/hdc9224.c		ry | hdc | rd needs-flag
158
159device	rd: disk
160attach	rd at hdc
161major	{rd = 19}
162
163device	ry: disk
164attach	ry at hdc
165major	{ry = 24}
166
167#
168# Machine-independent SCSI driver.
169#
170include "dev/scsipi/files.scsipi"
171major	{ sd = 20 }
172major	{ cd = 22 }
173
174# builtin NCR5380 SCSI-controller on VAXstation
175device	si: scsi, ncr5380sbc
176attach	si at vsbus with si_vsbus
177file	arch/vax/vsa/ncr.c		si_vsbus
178
179# Monochrome framebuffer on VS3100.
180device	smg: wsemuldisplaydev
181attach	smg at vsbus
182file	arch/vax/vsa/smg.c		smg needs-flag
183
184# LANCE ethernet controller on VAXstation
185attach	le at vsbus with le_vsbus:	le24
186file	arch/vax/if/if_le_vsbus.c	le_vsbus
187
188# builtin NCR53C95 SCSI Controlller on VAXstation 4000 VLC/60/9x
189device	asc: scsi, ncr53c9x
190attach	asc at vsbus with asc_vsbus
191file	arch/vax/vsa/asc_vsbus.c	asc_vsbus
192
193# These devices aren't tested (or even compiled!)
194# They are just included here to make some files happy ;)
195#
196
197# Ikonas framebuffer
198device	ik
199attach	ik at uba
200file	arch/vax/uba/ik.c		ik needs-flag
201
202device	vs
203attach	vs at uba
204file	arch/vax/uba/vs.c		vs needs-flag
205
206# RK06/07 on UBA
207device	rk: disk
208attach	rk at uba
209file	arch/vax/uba/rk.c		rk needs-flag
210
211# TM11/TE10 at UBA
212device	te: tape
213attach	te at uba
214file	arch/vax/uba/tm.c		te needs-flag
215
216# TU78 at MBA
217device	mu: tape
218attach	mu at mba
219file	arch/vax/mba/mt.c		mu needs-flag
220
221# DMF32 on UBA
222device	dmf # XXX?
223attach	dmf at uba
224file	arch/vax/uba/dmf.c		dmf needs-flag
225file	arch/vax/uba/dmz.c		dmf needs-flag
226
227# DMZ32 on UBA
228device	dmz # XXX?
229attach	dmz at uba
230file	arch/vax/uba/dmx.c		dmz needs-flag
231
232# DN-11 on UBA
233device	dn # XXX?
234attach	dn at uba
235file	arch/vax/uba/dn.c		dn needs-flag
236
237# IDC (RB730) on UBA (VAX 11/730)
238device	idc { drive=-1 }
239attach	idc at uba
240device	rb: disk
241attach	rb at idc
242file	arch/vax/uba/idc.c		rb needs-flag
243
244# LP-11 at UBA
245device	lp
246attach	lp at uba
247file	arch/vax/uba/lp.c		lp needs-flag
248
249# ???? at UBA
250device	lpa
251attach	lpa at uba
252file	arch/vax/uba/lpa.c		lpa needs-flag
253
254# PS2 at UBA
255device	ps
256attach	ps at uba
257file	arch/vax/uba/ps.c		ps needs-flag
258
259# SC-21/SC-31 at UBA
260device	sc { drive=-1 }
261attach	sc at uba
262device	up: disk
263attach	up at sc
264file	arch/vax/uba/up.c		up needs-flag
265
266# TU45 at UBA
267device	ut { drive=-1}
268attach	ut at uba
269device	tj: tape
270attach	tj at ut
271file	arch/vax/uba/ut.c		tj needs-flag
272
273# TU58/DECtape II
274device	uu: tape
275attach	uu at uba
276file	arch/vax/uba/uu.c		uu needs-flag
277
278# Benson-Varian plotter at UBA
279device	va { drive=-1}
280attach	va at uba
281device	vz
282attach	vz at va
283file	arch/vax/uba/va.c		va needs-flag
284
285# Versatec plotter at UBA
286device	vp
287attach	vp at uba
288file	arch/vax/uba/vp.c		vp needs-flag
289
290# QVSS at UBA
291device	qv
292attach	qv at uba
293file	arch/vax/uba/qv.c		qv needs-flag
294
295# ACC LH/DH IMP on UBA
296device	acc: ifnet
297attach	acc at uba
298file	arch/vax/if/if_acc.c		acc needs-flag
299
300# DR11C at UBA
301device	ct # XXX
302attach	ct at uba
303file	arch/vax/uba/ct.c		ct needs-flag
304
305# A/D-converter on UBA
306device	ad
307attach	ad at uba
308file	arch/vax/uba/ad.c		ad needs-flag
309
310# DH-11/DM-11 on UBA
311device	dh # XXX?
312attach	dh at uba
313file	arch/vax/uba/dh.c		dh needs-flag
314
315# These are general files needed for compilation.
316file	dev/cons.c
317file	dev/cninit.c
318file	dev/clock_subr.c		vax8200 | vax410 | vax630 | vax43  |
319					vax660  | vax670 | vax680 | vax46  |
320					vax48   | vax49  | vax53  | vaxany
321file	arch/vax/vax/locore.c
322file	arch/vax/vax/mem.c
323file	arch/vax/vax/clock.c
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/scb.c
348file	arch/vax/vax/conf.c
349file	arch/vax/vax/trap.c
350file	arch/vax/vax/bus_dma.c
351file	arch/vax/vax/bus_mem.c
352file	arch/vax/vax/procfs_machdep.c	procfs
353file	arch/vax/vax/sgmap.c
354file	arch/vax/vax/vm_machdep.c
355file	arch/vax/vax/findcpu.c
356file	arch/vax/vax/autoconf.c
357file	arch/vax/vax/in_cksum.c		inet
358file	arch/vax/vax/in4_cksum.c	inet
359file	arch/vax/vax/ns_cksum.c		ns
360file	arch/vax/vax/disksubr.c		disk | tape
361file	arch/vax/vax/db_machdep.c	ddb
362file	arch/vax/vax/db_disasm.c	ddb
363file	arch/vax/uba/uba_dma.c		uba
364file	arch/vax/vax/multicpu.c		multiprocessor
365
366include "compat/ibcs2/files.ibcs2"
367file	arch/vax/vax/ibcs2_machdep.c	compat_ibcs2
368
369include "compat/ultrix/files.ultrix"
370
371include "compat/vax1k/files.vax1k"
372
373# Dom h{ra f}r vara kvar s} l{nge f}r vi se vilka vi beh|ver...
374#arch/vax/vax/dkbad.c		standard
375#arch/vax/vax/ka730.c		standard
376#arch/vax/vax/iidr.o		optional ii
377#arch/vax/vax/iidrsys.o		optional ii
378#arch/vax/vax/iidr_glob.o	optional ii
379#arch/vax/if/if_css.c		optional css imp device-driver
380#arch/vax/if/if_dp.c		optional dp device-driver
381#arch/vax/if/if_ddn.c		optional ddn device-driver
382#arch/vax/if/if_dmv.c		optional dmv device-driver
383#arch/vax/if/if_ec.c		optional ec device-driver
384#arch/vax/if/if_en.c		optional en device-driver
385#arch/vax/if/if_ex.c		optional ex device-driver
386#arch/vax/if/if_hdh.c		optional hdh device-driver
387#arch/vax/if/if_hy.c		optional hy device-driver
388#arch/vax/if/if_pcl.c		optional pcl device-driver
389#arch/vax/if/if_vv.c		optional vv device-driver
390#arch/vax/if/raw_hy.c		optional hy device-driver
391