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