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