files.vax revision 1.73
1#       $NetBSD: files.vax,v 1.73 2000/07/22 05:03:23 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
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.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# XMI bus definitions
126include	"dev/xmi/files.xmi"
127
128attach	xmi at mainbus with xmi_mainbus
129file	arch/vax/vax/xmi_mainbus.c	xmi_mainbus
130
131# VAX CPUs at XMI, do not belong in MI code.
132attach	cpu at xmi with cpu_xmi
133attach	mem at xmi with mem_xmi
134
135# TS11 at UBA
136device	ts: tape
137attach	ts at uba
138file	arch/vax/uba/ts.c		ts needs-flag
139
140attach	dz at vsbus with dz_vsbus
141file	arch/vax/vsa/dz_ibus.c		dz_vsbus
142
143# RD-type disks at VS2000's onboard MFM-controller
144device	hdc { drive = -1 }
145attach	hdc at vsbus
146file	arch/vax/vsa/hdc9224.c		ry | hdc | rd needs-flag
147
148device	rd: disk
149attach	rd at hdc
150major	{rd = 19}
151
152device	ry: disk
153attach	ry at hdc
154major	{ry = 24}
155
156#
157# Machine-independent SCSI driver.
158#
159include "dev/scsipi/files.scsipi"
160major	{ sd = 20 }
161major	{ cd = 22 }
162
163# builtin NCR5380 SCSI-controller on VAXstation 
164device	si: scsi, ncr5380sbc
165attach	si at vsbus with si_vsbus
166file	arch/vax/vsa/ncr.c		si_vsbus
167
168# LANCE ethernet controller on VAXstation
169attach	le at vsbus with le_vsbus:	le24
170file	arch/vax/if/if_le_vsbus.c	le_vsbus
171
172# Monochrome framebuffer on VS3100.
173device	smg: wsemuldisplaydev, qfont
174attach	smg at vsbus
175file	arch/vax/vsa/smg.c		smg needs-flag
176
177# builtin NCR53C95 SCSI Controlller on VAXstation 4000 VLC/60/9x
178device	asc: scsi, ncr53c9x
179attach	asc at vsbus with asc_vsbus
180file	arch/vax/vsa/asc_vsbus.c	asc_vsbus
181
182device	lkc: qfont
183attach	lkc at dz
184file	arch/vax/vsa/lkc.c		lkc needs-flag
185
186# These devices aren't tested (or even compiled!)
187# They are just included here to make some files happy ;)
188#
189
190# Ikonas framebuffer
191device	ik
192attach	ik at uba
193file	arch/vax/uba/ik.c		ik needs-flag
194
195device	vs
196attach	vs at uba
197file	arch/vax/uba/vs.c		vs needs-flag
198
199# RK06/07 on UBA
200device	rk: disk
201attach	rk at uba
202file	arch/vax/uba/rk.c		rk needs-flag
203
204# TM11/TE10 at UBA
205device	te: tape
206attach	te at uba
207file	arch/vax/uba/tm.c		te needs-flag
208
209# TU78 at MBA
210device	mu: tape
211attach	mu at mba
212file	arch/vax/mba/mt.c		mu needs-flag
213
214# DMF32 on UBA
215device	dmf # XXX?
216attach	dmf at uba
217file	arch/vax/uba/dmf.c		dmf needs-flag
218file	arch/vax/uba/dmz.c		dmf needs-flag
219
220# DMZ32 on UBA
221device	dmz # XXX?
222attach	dmz at uba
223file	arch/vax/uba/dmx.c		dmz needs-flag
224
225# DN-11 on UBA
226device	dn # XXX?
227attach	dn at uba
228file	arch/vax/uba/dn.c		dn needs-flag
229
230# IDC (RB730) on UBA (VAX 11/730)
231device	idc { drive=-1 }
232attach	idc at uba
233device	rb: disk
234attach	rb at idc
235file	arch/vax/uba/idc.c		rb needs-flag
236
237# LP-11 at UBA
238device	lp
239attach	lp at uba
240file	arch/vax/uba/lp.c		lp needs-flag
241
242# ???? at UBA
243device	lpa
244attach	lpa at uba
245file	arch/vax/uba/lpa.c		lpa needs-flag
246
247# PS2 at UBA
248device	ps
249attach	ps at uba
250file	arch/vax/uba/ps.c		ps needs-flag
251
252# SC-21/SC-31 at UBA
253device	sc { drive=-1 }
254attach	sc at uba
255device	up: disk
256attach	up at sc
257file	arch/vax/uba/up.c		up needs-flag
258
259# TU45 at UBA
260device	ut { drive=-1}
261attach	ut at uba
262device	tj: tape
263attach	tj at ut
264file	arch/vax/uba/ut.c		tj needs-flag
265
266# TU58/DECtape II
267device	uu: tape
268attach	uu at uba
269file	arch/vax/uba/uu.c		uu needs-flag
270
271# Benson-Varian plotter at UBA
272device	va { drive=-1}
273attach	va at uba
274device	vz
275attach	vz at va
276file	arch/vax/uba/va.c		va needs-flag
277
278# Versatec plotter at UBA
279device	vp
280attach	vp at uba
281file	arch/vax/uba/vp.c		vp needs-flag
282
283# QVSS at UBA
284device	qv
285attach	qv at uba
286file	arch/vax/uba/qv.c		qv needs-flag
287
288# Interlan NP100 at UBA
289device	np: ifnet
290attach	np at uba
291file	arch/vax/if/if_ix.c		np needs-flag
292file	arch/vax/uba/np.c		np needs-flag
293
294# ACC LH/DH IMP on UBA
295device	acc: ifnet
296attach	acc at uba
297file	arch/vax/if/if_acc.c		acc needs-flag
298
299# DR11C at UBA
300device	ct # XXX
301attach	ct at uba
302file	arch/vax/uba/ct.c		ct needs-flag
303
304# A/D-converter on UBA
305device	ad
306attach	ad at uba
307file	arch/vax/uba/ad.c		ad needs-flag
308
309# DH-11/DM-11 on UBA
310device	dh # XXX?
311attach	dh at uba
312file	arch/vax/uba/dh.c		dh needs-flag
313
314# These are general files needed for compilation.
315file	dev/cons.c
316file	dev/cninit.c
317file	dev/clock_subr.c	vax8200 | vax410 | vax43 | vax630 | vax660 |
318				vax670 | vax680 | vax46 | vax48 | vax49 | vax53
319file	arch/vax/vax/locore.c
320file	arch/vax/vax/mem.c
321file	arch/vax/vax/clock.c
322file	arch/vax/vax/gencons.c	vax8600 | vax8200 | vax780 | vax750 | vax630 |
323				vax650 | vax660 | vax670 | vax680
324file	arch/vax/vax/pmap.c
325file	arch/vax/vax/machdep.c
326file	arch/vax/vax/ka820.c		vax8200
327file	arch/vax/vax/crx.c		vax8200
328file	arch/vax/vax/ka88.c		vax8800
329file	arch/vax/vax/ka6400.c		vax6400
330file	arch/vax/vax/ka410.c		vax410
331file	arch/vax/vax/ka43.c		vax43
332file	arch/vax/vax/ka46.c		vax46
333file	arch/vax/vax/ka48.c		vax48
334file	arch/vax/vax/ka49.c		vax49
335file	arch/vax/vax/ka53.c		vax53
336file	arch/vax/vax/ka630.c		vax630
337file	arch/vax/vax/ka650.c		vax650
338file	arch/vax/vax/ka660.c		vax660
339file	arch/vax/vax/ka670.c		vax670
340file	arch/vax/vax/ka680.c		vax680
341file	arch/vax/vax/emulate.s		vax630|vax640|vax650|vax660|vax670|
342					vax680|
343					vax410|vax43|vax46|vax48|vax49|vax53|
344					vax6200|vax6300|vax6400|vax6500|vax6600
345file	arch/vax/vax/scb.c
346file	arch/vax/vax/conf.c
347file	arch/vax/vax/urem.s
348file	arch/vax/vax/udiv.s
349file	arch/vax/vax/trap.c
350file	arch/vax/vax/bus_dma.c
351file	arch/vax/vax/bus_mem.c
352file	arch/vax/vax/sgmap.c
353file	arch/vax/vax/vm_machdep.c
354file	arch/vax/vax/findcpu.c
355file	arch/vax/vax/autoconf.c
356file	arch/vax/vax/in_cksum.c		inet
357file	netinet/in4_cksum.c		inet
358file	arch/vax/vax/ns_cksum.c		ns
359file	arch/vax/vax/disksubr.c		disk | tape
360file	arch/vax/vax/db_machdep.c	ddb
361file	arch/vax/vax/db_disasm.c	ddb
362file	arch/vax/uba/uba_dma.c		uba
363file	arch/vax/vax/multicpu.c		multiprocessor
364
365include "compat/ibcs2/files.ibcs2"
366file	arch/vax/vax/ibcs2_machdep.c	compat_ibcs2
367
368include "compat/ultrix/files.ultrix"
369
370include "compat/vax1k/files.vax1k"
371
372# Dom h{ra f}r vara kvar s} l{nge f}r vi se vilka vi beh|ver...
373#arch/vax/vax/dkbad.c         standard
374#arch/vax/vax/ka730.c         standard
375#arch/vax/vax/iidr.o          optional ii
376#arch/vax/vax/iidrsys.o       optional ii
377#arch/vax/vax/iidr_glob.o     optional ii
378#arch/vax/if/if_css.c         optional css imp device-driver
379#arch/vax/if/if_dp.c          optional dp device-driver
380#arch/vax/if/if_ddn.c         optional ddn device-driver
381#arch/vax/if/if_dmc.c         optional dmc 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_il.c          optional il device-driver
389#arch/vax/if/if_pcl.c         optional pcl device-driver
390#arch/vax/if/if_vv.c          optional vv device-driver
391#arch/vax/if/raw_hy.c         optional hy device-driver
392