xref: /netbsd-src/sys/arch/pmax/conf/files.pmax (revision 3b01aba77a7a698587faaae455bbfe740923c1f5)
1#	$NetBSD: files.pmax,v 1.92 2001/01/17 00:07:33 fvdl Exp $
2# DECstation-specific configuration info
3
4# maxpartitions must be first item in files.${ARCH}.
5maxpartitions 8
6
7maxusers 2 8 64
8
9#
10# Bus-independent devices
11#
12device mainbus { }			# no locators
13attach mainbus at root
14
15device cpu				# not optional
16attach cpu at mainbus
17file arch/pmax/pmax/cpu.c		cpu
18
19# Model support option headers
20defopt 	DEC_3100	# DECstation 2100, 3100 (kn01)
21defopt 	DEC_5100	# DECsystem 5100 (kn230)
22defopt 	DEC_3MAX	# DECstation 5000/200 (kn02)
23defopt 	DEC_3MIN	# DECstation 5000/1xx (kn02ba), 5000/150 (kn04)
24defopt 	DEC_MAXINE	# Personal DECstation 5000/xx (kn02ca)
25defopt 	DEC_3MAXPLUS	# DECstation 5000/240 (kn03), 5000/260 (kn05)
26defopt	DEC_5800	# DECsystem 5800 isis (kn5800) XMI
27defopt	DEC_5400	# DECsystem 5400 mipsfair (kn210) Qbus
28defopt	DEC_5500	# DECsystem 5500 mipsfair2 (kn220) Qbus
29
30# Model dependent files
31file	arch/pmax/pmax/dec_3100.c	dec_3100	# DS3100, pmax
32file	arch/pmax/pmax/dec_3max.c	dec_3max	# DS5000/200, 3max
33file	arch/pmax/pmax/dec_3maxplus.c	dec_3maxplus	# DS5000/240, 3maxplus
34file	arch/pmax/pmax/dec_3min.c	dec_3min	# DS5000/1xx, 3min
35file	arch/pmax/pmax/dec_maxine.c	dec_maxine	# DS5000/1xx, maxine
36file	arch/pmax/pmax/dec_5100.c	dec_5100	# kn230, mipsmate
37#file	arch/pmax/pmax/dec_5400.c	dec_5400	# DS5400, mipsfair
38#file	arch/pmax/pmax/dec_5500.c	dec_5500	# kn220, mipsfair2
39#file	arch/pmax/pmax/dec_5800.c	dec_5800	# 5800, isis
40
41# handlers for memory subsystems shared across models..
42file	arch/pmax/pmax/memc_3max.c	dec_3max|dec_3maxplus
43file	arch/pmax/pmax/memc_3min.c	dec_3min|dec_maxine
44
45#
46# Bus-independent support for DEC devices
47#
48include "dev/dec/files.dec"
49
50# 3100 and 5100 ibus under mainbus
51device ibus { [addr = -1] }
52attach ibus at mainbus with ibus_pmax
53file	arch/pmax/ibus/ibus.c		ibus
54file	arch/pmax/ibus/ibus_pmax.c	ibus & (dec_3100|dec_5100)
55
56#
57# TURBOchannel devices
58#
59include	"dev/tc/files.tc"
60attach	tc at mainbus with tcbus
61file	arch/pmax/tc/tcbus.c		tc
62file	arch/pmax/tc/tc_3max.c		tc & dec_3max
63file	arch/pmax/tc/tc_3min.c		tc & dec_3min
64file	arch/pmax/tc/tc_3maxplus.c	tc & dec_3maxplus
65file	arch/pmax/tc/tc_maxine.c	tc & dec_maxine
66
67# 3MAX system slot as a TURBOchannel device
68attach	ibus at tc with kn02sys
69file	arch/pmax/ibus/ibus_3max.c	ibus & dec_3max
70
71# IOCTL ASIC as a TURBOchannel device
72#
73# device defined in files.tc:
74# device ioasic { offset = -1 }
75# attach ioasic at tc
76file	arch/pmax/tc/ioasic.c		ioasic
77
78
79# Real-time clock (not optional)
80device	mcclock
81attach	mcclock at ioasic with mcclock_ioasic
82attach	mcclock at ibus with mcclock_ibus
83file	arch/pmax/pmax/clock.c
84file	dev/clock_subr.c
85file	arch/pmax/pmax/mcclock.c	mcclock
86file	dev/dec/mcclock.c		mcclock
87file	dev/dec/mcclock_pad32.c		mcclock
88file	arch/pmax/tc/mcclock_ioasic.c	mcclock_ioasic
89file	arch/pmax/ibus/mcclock_ibus.c	mcclock_ibus
90
91include "dev/scsipi/files.scsipi"
92major { sd = 19 }
93major { cd = 25 }
94major { rz = 21 }
95
96# Memory Disk
97file	dev/md_root.c			memory_disk_hooks
98major { md = 17 }
99
100# RAIDframe
101major { raid = 32 }
102
103#
104# Old 4.4BSD pmax-specific SCSI driver (deprecated).
105#
106define	oldscsi {}
107device oldscsibus {target = -1, drive = -1}
108attach oldscsibus at oldscsi
109file	arch/pmax/dev/scsi.c		oldscsi
110file	arch/pmax/pmax/conf-glue.c	oldscsi
111
112# asc: SCSI interface in TC option slot or in IOASIC slot
113device asc: oldscsi
114file	dev/tc/asc.c			asc needs-flag
115attach asc at ioasic with asc_ioasic
116file	dev/tc/asc_ioasic.c		asc_ioasic
117attach asc at tc with asc_tc
118file	dev/tc/asc_tc.c			asc_tc
119
120# sii: kn01 SCSI interface
121device sii: oldscsi
122device  xsii: ncr53c9x,scsi
123file	arch/pmax/dev/sii.c		sii | xsii needs-flag
124attach sii at ibus with sii_ds
125attach xsii at ibus with xsii_ds
126file	arch/pmax/dev/sii_ds.c		sii_ds | xsii_ds
127
128device	tz: tape
129attach	tz at oldscsibus
130file	arch/pmax/dev/tz.c		tz needs-count
131
132device	rz: disk
133attach	rz at oldscsibus
134file	arch/pmax/dev/rz.c		rz needs-count
135
136#
137# MI SCSI driver; to be moved into dev/tc/ replacing existings, eventually.
138#
139device  xasc: ncr53c9x,scsi
140attach  xasc at tc with xasc_pmaz
141file    arch/pmax/tc/asc_pmaz.c         xasc_pmaz
142attach  xasc at ioasic with xasc_ioasic
143file    arch/pmax/tc/asc_ioasic.c       xasc_ioasic
144
145# XXX waiting on pmax MI scsi being `asc'.
146# 53C[F]90 SCSI
147attach	xasc at tcds with asc_tcds
148file	dev/tc/asc_tcds.c		asc_tcds
149
150# DC7085 (DZ-like four-port serial device) on ibus
151device dc: tty
152file	arch/pmax/dev/dc.c		dc
153attach dc at ibus with dc_ds
154file	arch/pmax/dev/dc_ds.c		dc needs-flag
155
156
157# The "desktop bus" on the MAXINE (5k/25). What is it, anyway? ADB?
158device dtop
159attach dtop at ioasic
160file	arch/pmax/dev/dtop.c		dtop needs-flag
161
162
163# LANCE ethernet driver.
164#   device defined in sys/conf/files.
165#   TC and IOASIC attachment and files in sys/dev/tc/files.tc
166
167attach le at ibus with le_pmax:		le24, le_dec_subr
168file	dev/tc/if_le_ibus.c		le_pmax
169
170
171# Raster operations for rcons. This isn't in the rcons section, since
172# it depends on fb devices for configuration glue.
173include "dev/rasops/files.rasops"
174
175
176# 3100 (pmax) onboard framebuffer
177device pm: rasops1, rasops8
178attach pm at ibus with pm_ds
179file	arch/pmax/dev/pm.c		pm needs-flag
180file	arch/pmax/dev/bt478.c		pm
181
182
183#########################################################################
184# TURBOchannel option cards.						#
185#########################################################################
186
187device cfb: rasops8
188attach cfb at tc
189file	arch/pmax/dev/cfb.c		cfb needs-flag
190
191device sfb: rasops8
192attach sfb at tc
193file	arch/pmax/dev/sfb.c		sfb needs-flag
194
195device mfb: rasops8
196attach mfb at tc
197file	arch/pmax/dev/mfb.c		mfb needs-flag
198
199# Zilog 8350/Intel 82350(?) SCC UART.
200device scc: tty
201attach scc at ioasic
202file	arch/pmax/tc/scc.c		scc needs-flag
203
204# MAXINE onboard framebuffer
205device	xcfb: rasops8
206attach	xcfb at tc
207file	arch/pmax/dev/xcfb.c 		xcfb needs-flag
208file	arch/pmax/dev/ims332.c		xcfb
209
210# PixelStamp graphics boards
211device	px: rasops8
212attach	px at tc
213file	arch/pmax/dev/px.c 		px needs-flag
214
215# DECWRL 45Mbit T3 interface
216device	tt: tty
217attach	tt at tc
218file	arch/pmax/dev/if_tt.c		tt needs-count
219
220file	arch/pmax/pmax/autoconf.c
221file	arch/pmax/pmax/bus_dma.c
222file	arch/pmax/pmax/bus_space.c
223file	arch/pmax/pmax/conf.c
224file	arch/pmax/pmax/disksubr.c
225file	arch/pmax/pmax/machdep.c
226file	arch/pmax/pmax/mainbus.c
227file	arch/pmax/pmax/procfs_machdep.c	procfs
228file	arch/pmax/pmax/promcall.c
229file	arch/pmax/pmax/sysconf.c
230file	arch/pmax/stand/common/callvec.c
231file	dev/cons.c
232
233# pmax configuration glue for rconsole. Requires fb pseudo-device.
234
235include "dev/rcons/files.rcons"
236include "dev/wsfont/files.wsfont"
237
238defpseudo	rasterconsole
239file	arch/pmax/dev/rcons.c			rasterconsole	needs-flag
240
241## Support code for LK-201 keyboards, mice, and qvss ring buffers
242file	arch/pmax/dev/lk201.c		pm | cfb | sfb | mfb | xcfb | px
243file	arch/pmax/dev/qvss_compat.c	fb | px
244
245
246# VDAC/RAMDAC support for framebuffers. Other devices supported by
247# NetBSD may use the same chips, too.
248file	arch/pmax/dev/bt459.c			cfb | sfb
249
250#
251# Pseudo-device driver for framebuffers.  All user-level requests,
252# including open(), go through the fb driver, which presents a consistent
253# interface to all framebuffers.  Configure as many units as you
254# have framebuffers.  Provides qvss-style interface compatible with
255# X11R5 servers.
256#
257defpseudo	fb
258file	arch/pmax/dev/fb.c		fb needs-count
259