files.vax revision 1.74
1#       $NetBSD: files.vax,v 1.74 2000/07/26 12:37:14 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
25# NBI on KA88
26device	nmi { slot=-1 }
27attach	nmi at mainbus with nmi_mainbus
28file	arch/vax/vax/nmi_mainbus.c	nmi
29
30# SBI and related devices
31device	sbi { tr=-1 }
32attach	sbi at mainbus with sbi_mainbus
33file	arch/vax/vax/sbi.c		sbi
34
35attach	mem at sbi with mem_sbi
36file	arch/vax/vax/ka780.c		vax780 | mem_sbi
37file	arch/vax/vax/cfl.c		vax780 | mem_sbi
38
39# Abus and related devices
40device	abus { }
41attach	abus at mainbus
42attach	sbi at abus with sbi_abus
43file	arch/vax/vax/ka860.c		abus
44file	arch/vax/vax/crl.c		abus
45
46# CMI and related devices
47device	cmi { tr=-1 }
48attach	cmi at mainbus
49file	arch/vax/vax/cmi.c		cmi
50
51attach	mem at cmi with mem_cmi
52file	arch/vax/vax/ka750.c		vax750 | mem_cmi
53file	arch/vax/vax/ctu.c		vax750 | mem_cmi
54
55device	vsbus { csr }
56attach	vsbus at mainbus
57file	arch/vax/vsa/vsbus.c		vsbus
58file	arch/vax/vsa/vsbus_dma.c	vsbus & (vax46 | vax48 | vax49)
59
60device	ibus { }
61attach	ibus at mainbus
62file	arch/vax/vax/ibus.c		ibus
63
64device	ze: sgec, arp, ether, ifnet
65attach	ze at ibus with ze_ibus
66file	arch/vax/if/if_ze.c		ze_ibus
67attach	ze at vsbus with ze_vsbus
68file	arch/vax/vsa/if_ze_vsbus.c	ze_vsbus
69
70attach	le at ibus with le_ibus:	le24
71file	arch/vax/if/if_le.c		le_ibus
72
73attach	mba at sbi with mba_sbi
74attach	mba at cmi with mba_cmi
75file	arch/vax/mba/mba.c		mba needs-flag
76
77device  hp: disk
78attach  hp at mba
79file    arch/vax/mba/hp.c		hp needs-flag
80major	{hp = 0}
81
82device	ht: tape
83attach	ht at mba
84file	arch/vax/mba/ht.c		ht needs-flag
85
86# wscons files.
87include "dev/wscons/files.wscons"
88
89# Memory Disk for install floppy
90file arch/vax/vax/md_root.c		memory_disk_hooks
91major	{md = 23}
92
93# RAIDframe
94major	{raid = 25}
95
96# MSCP device drivers
97include "dev/mscp/files.mscp"
98major	{ra = 9}
99
100# Unibus/Q22 bus definitions
101include "dev/qbus/files.uba"
102
103attach	uba at ibus with uba_ibus
104file	arch/vax/uba/uba_ibus.c		uba_ibus
105attach	uba at sbi with uba_sbi
106file	arch/vax/uba/uba_sbi.c		uba_sbi
107attach	uba at cmi with uba_cmi
108file	arch/vax/uba/uba_cmi.c		uba_cmi
109
110# Unibus disks
111major	{rl = 14}
112
113# BI bus definitions
114include "dev/bi/files.bi"
115
116attach	bi at mainbus with bi_mainbus
117file	arch/vax/bi/bi_mainbus.c	bi_mainbus
118attach	bi at nmi with bi_nmi
119file	arch/vax/bi/bi_nmi.c		bi_nmi
120
121# VAX CPUs at BI, do not belong in MI code.
122attach	cpu at bi with cpu_bi
123attach	mem at bi with mem_bi
124
125# VAX CPUs at NMI
126attach	cpu at nmi with cpu_nmi
127attach	mem at nmi with mem_nmi
128
129# XMI bus definitions
130include	"dev/xmi/files.xmi"
131
132attach	xmi at mainbus with xmi_mainbus
133file	arch/vax/vax/xmi_mainbus.c	xmi_mainbus
134
135# VAX CPUs at XMI, do not belong in MI code.
136attach	cpu at xmi with cpu_xmi
137attach	mem at xmi with mem_xmi
138
139# TS11 at UBA
140device	ts: tape
141attach	ts at uba
142file	arch/vax/uba/ts.c		ts needs-flag
143
144attach	dz at vsbus with dz_vsbus
145file	arch/vax/vsa/dz_ibus.c		dz_vsbus
146
147# RD-type disks at VS2000's onboard MFM-controller
148device	hdc { drive = -1 }
149attach	hdc at vsbus
150file	arch/vax/vsa/hdc9224.c		ry | hdc | rd needs-flag
151
152device	rd: disk
153attach	rd at hdc
154major	{rd = 19}
155
156device	ry: disk
157attach	ry at hdc
158major	{ry = 24}
159
160#
161# Machine-independent SCSI driver.
162#
163include "dev/scsipi/files.scsipi"
164major	{ sd = 20 }
165major	{ cd = 22 }
166
167# builtin NCR5380 SCSI-controller on VAXstation 
168device	si: scsi, ncr5380sbc
169attach	si at vsbus with si_vsbus
170file	arch/vax/vsa/ncr.c		si_vsbus
171
172# LANCE ethernet controller on VAXstation
173attach	le at vsbus with le_vsbus:	le24
174file	arch/vax/if/if_le_vsbus.c	le_vsbus
175
176# Monochrome framebuffer on VS3100.
177device	smg: wsemuldisplaydev, qfont
178attach	smg at vsbus
179file	arch/vax/vsa/smg.c		smg needs-flag
180
181# builtin NCR53C95 SCSI Controlller on VAXstation 4000 VLC/60/9x
182device	asc: scsi, ncr53c9x
183attach	asc at vsbus with asc_vsbus
184file	arch/vax/vsa/asc_vsbus.c	asc_vsbus
185
186device	lkc: qfont
187attach	lkc at dz
188file	arch/vax/vsa/lkc.c		lkc needs-flag
189
190# These devices aren't tested (or even compiled!)
191# They are just included here to make some files happy ;)
192#
193
194# Ikonas framebuffer
195device	ik
196attach	ik at uba
197file	arch/vax/uba/ik.c		ik needs-flag
198
199device	vs
200attach	vs at uba
201file	arch/vax/uba/vs.c		vs needs-flag
202
203# RK06/07 on UBA
204device	rk: disk
205attach	rk at uba
206file	arch/vax/uba/rk.c		rk needs-flag
207
208# TM11/TE10 at UBA
209device	te: tape
210attach	te at uba
211file	arch/vax/uba/tm.c		te needs-flag
212
213# TU78 at MBA
214device	mu: tape
215attach	mu at mba
216file	arch/vax/mba/mt.c		mu needs-flag
217
218# DMF32 on UBA
219device	dmf # XXX?
220attach	dmf at uba
221file	arch/vax/uba/dmf.c		dmf needs-flag
222file	arch/vax/uba/dmz.c		dmf needs-flag
223
224# DMZ32 on UBA
225device	dmz # XXX?
226attach	dmz at uba
227file	arch/vax/uba/dmx.c		dmz needs-flag
228
229# DN-11 on UBA
230device	dn # XXX?
231attach	dn at uba
232file	arch/vax/uba/dn.c		dn needs-flag
233
234# IDC (RB730) on UBA (VAX 11/730)
235device	idc { drive=-1 }
236attach	idc at uba
237device	rb: disk
238attach	rb at idc
239file	arch/vax/uba/idc.c		rb needs-flag
240
241# LP-11 at UBA
242device	lp
243attach	lp at uba
244file	arch/vax/uba/lp.c		lp needs-flag
245
246# ???? at UBA
247device	lpa
248attach	lpa at uba
249file	arch/vax/uba/lpa.c		lpa needs-flag
250
251# PS2 at UBA
252device	ps
253attach	ps at uba
254file	arch/vax/uba/ps.c		ps needs-flag
255
256# SC-21/SC-31 at UBA
257device	sc { drive=-1 }
258attach	sc at uba
259device	up: disk
260attach	up at sc
261file	arch/vax/uba/up.c		up needs-flag
262
263# TU45 at UBA
264device	ut { drive=-1}
265attach	ut at uba
266device	tj: tape
267attach	tj at ut
268file	arch/vax/uba/ut.c		tj needs-flag
269
270# TU58/DECtape II
271device	uu: tape
272attach	uu at uba
273file	arch/vax/uba/uu.c		uu needs-flag
274
275# Benson-Varian plotter at UBA
276device	va { drive=-1}
277attach	va at uba
278device	vz
279attach	vz at va
280file	arch/vax/uba/va.c		va needs-flag
281
282# Versatec plotter at UBA
283device	vp
284attach	vp at uba
285file	arch/vax/uba/vp.c		vp needs-flag
286
287# QVSS at UBA
288device	qv
289attach	qv at uba
290file	arch/vax/uba/qv.c		qv needs-flag
291
292# Interlan NP100 at UBA
293device	np: ifnet
294attach	np at uba
295file	arch/vax/if/if_ix.c		np needs-flag
296file	arch/vax/uba/np.c		np 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	dev/clock_subr.c	vax8200 | vax410 | vax43 | vax630 | vax660 |
322				vax670 | vax680 | vax46 | vax48 | vax49 | vax53
323file	arch/vax/vax/locore.c
324file	arch/vax/vax/mem.c
325file	arch/vax/vax/clock.c
326file	arch/vax/vax/gencons.c	vax8600 | vax8200 | vax780 | vax750 | vax630 |
327				vax650 | vax660 | vax670 | vax680
328file	arch/vax/vax/pmap.c
329file	arch/vax/vax/machdep.c
330file	arch/vax/vax/ka820.c		vax8200
331file	arch/vax/vax/crx.c		vax8200
332file	arch/vax/vax/ka88.c		vax8800
333file	arch/vax/vax/ka6400.c		vax6400
334file	arch/vax/vax/ka410.c		vax410
335file	arch/vax/vax/ka43.c		vax43
336file	arch/vax/vax/ka46.c		vax46
337file	arch/vax/vax/ka48.c		vax48
338file	arch/vax/vax/ka49.c		vax49
339file	arch/vax/vax/ka53.c		vax53
340file	arch/vax/vax/ka630.c		vax630
341file	arch/vax/vax/ka650.c		vax650
342file	arch/vax/vax/ka660.c		vax660
343file	arch/vax/vax/ka670.c		vax670
344file	arch/vax/vax/ka680.c		vax680
345file	arch/vax/vax/emulate.s		vax630|vax640|vax650|vax660|vax670|
346					vax680|
347					vax410|vax43|vax46|vax48|vax49|vax53|
348					vax6200|vax6300|vax6400|vax6500|vax6600
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