xref: /netbsd-src/sys/arch/pmax/conf/files.pmax (revision 7c7c171d130af9949261bc7dce2150a03c3d239c)
1#	$NetBSD: files.pmax,v 1.53 1998/04/19 08:39:43 jonathan 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# CPU support option headers
20defopt	DEC_3100	# "kn01":	3100, 2100 (kn01)
21defopt	DEC_3MAX	# "kn02":	Decstation 5000/200
22defopt	DEC_3MIN	# "kn02ba":	Decstation 5000/{20,25,33,50}
23defopt	DEC_MAXINE	# "kn02ca":	Decstation 5000/{20,25,33,50}
24defopt	DEC_3MAXPLUS	# "kn03":	Decstation 5000/240, 5000/260
25
26defopt	DEC_5800	# "kn??":	Decstation 5800 isis (XMI)
27defopt	DEC_5400	# "kn210":	Decstation 5400 mipsfair
28defopt	DEC_5500	# "kn220":	Decstation 5500 mipsfair2
29defopt	DEC_5100	# "kn230":	Decstation 5100 mipsmate
30
31#
32# CPU-dependent files
33#
34file	arch/pmax/pmax/dec_3100.c	dec_3100	# DS3100, pmax
35file	arch/pmax/pmax/dec_3max.c	dec_3max	# DS5000/200, 3max
36file	arch/pmax/pmax/dec_3maxplus.c	dec_3maxplus	# DS5000/240, 3maxplus
37file	arch/pmax/pmax/dec_3min.c	dec_3min	# DS5000/1xx, 3min
38file	arch/pmax/pmax/dec_maxine.c	dec_maxine	# DS5000/1xx, maxine
39file	arch/pmax/pmax/dec_5100.c	dec_5100	# kn230, mipsmate
40#file	arch/pmax/pmax/dec_5400.c	dec_5400	# DS5400, mipsfair
41#file	arch/pmax/pmax/dec_5500.c	dec_5500	# kn220, mipsfair2
42#file	arch/pmax/pmax/dec_5800.c	dec_5800	# 5800, isis
43
44# handlers for memory subsystems shared across models..
45file	arch/pmax/pmax/dec_kn02_subr.c	dec_3min|dec_maxine
46file	arch/pmax/pmax/dec_3max_subr.c	dec_3max|dec_3maxplus
47
48#
49# Bus-independent support for DEC devices
50#
51include "dev/dec/files.dec"
52
53# 3100 and 5100 ibus
54define baseboard {}
55device kn01bus {}: baseboard
56attach  kn01bus at mainbus
57
58device kn230bus {}: baseboard
59attach  kn230bus at mainbus
60
61device ibus {}
62attach  ibus at baseboard
63
64file	arch/pmax/ibus/ibus.c		ibus
65file	arch/pmax/ibus/ibus_3100.c	ibus & dec_3100
66file	arch/pmax/ibus/ibus_5100.c	ibus & dec_5100
67
68
69#
70# TurboChannel Devices
71#
72device tcasic {}
73attach tcasic	at mainbus
74include	"dev/tc/files.tc"
75#attach tc	at tcasic
76attach tc	at mainbus
77
78
79file	arch/pmax/tc/tcasic.c		tcasic
80file	arch/pmax/tc/tc_conf.c		tcasic
81file	arch/pmax/tc/tc_subr.c		tc	needs-flag
82file	arch/pmax/tc/tc_3max.c		tc & dec_3max
83file	arch/pmax/tc/tc_3min.c		tc & dec_3min
84file	arch/pmax/tc/tc_3maxplus.c	tc & dec_3maxplus
85file	arch/pmax/tc/tc_maxine.c	tc & dec_maxine
86
87#
88# The TurboChannel IOCTL ASIC. Present on IOASIC machines,
89# which is all turbochannel machines ever built except the 3MAX (5000/200).
90#
91# device defined in files.tc:
92# device ioasic { offset = -1 }
93# attach ioasic at tc
94file	arch/pmax/tc/asic.c		ioasic
95
96
97# Real-time clock (not optional)
98device	mcclock
99attach	mcclock at ioasic with mcclock_ioasic
100attach	mcclock at ibus with mcclock_ibus
101file	arch/pmax/pmax/clock.c
102file	arch/pmax/pmax/mcclock.c	mcclock
103file	dev/dec/mcclock.c		mcclock
104file	dev/dec/mcclock_pad32.c		mcclock
105file	arch/pmax/tc/mcclock_ioasic.c	mcclock_ioasic
106file	arch/pmax/ibus/mcclock_ibus.c	mcclock_ibus
107
108#
109# Machine-independent SCSI driver.
110#
111
112include "dev/scsipi/files.scsipi"
113#major { st = 10 }
114#major { cd = 3 }
115#major { sd = 21 }
116major { tz = 10 }
117major { rz = 21 }
118
119#
120# Old 4.4bsd pmax-specific scsi driver (deprecated).
121#
122define	oldscsi {}
123device oldscsibus {target = -1, drive = -1}
124attach oldscsibus at oldscsi
125
126# asc:  system-slot or turbochannel-option SCSI interface
127#device asc: oldscsi,scsi
128device asc: oldscsi
129attach asc at ioasic with asc_ioasic
130file	dev/tc/asc_ioasic.c		asc_ioasic
131attach asc at tc with asc_tc
132file	dev/tc/asc_tc.c			asc_tc
133
134file	dev/tc/asc.c			asc needs-flag
135
136# sii:  kn01 SCSI interface
137#device sii: scsi,oldscsi
138device sii: oldscsi
139file	arch/pmax/dev/sii.c		sii needs-flag
140attach sii at ibus with sii_ds
141file	arch/pmax/dev/sii_ds.c		sii_ds
142
143
144device	tz: tape
145attach	tz at oldscsibus
146file	arch/pmax/dev/tz.c		tz needs-count
147
148device	rz: disk
149attach	rz at oldscsibus
150file	arch/pmax/dev/rz.c		rz needs-count
151
152#
153# Optional device-drivers
154#
155
156# DC7085 (DZ-like four-port serial device) on mainbus on non-IOASIC machines.
157# For the 3MAX (aka kn02 aka 5k/200) pretend that it's on an  ASIC.
158device dc: tty
159file	arch/pmax/dev/dc.c		dc
160attach dc at ioasic with dc_ioasic
161file	arch/pmax/dev/dc_ioasic.c	dc_ioasic	needs-flag
162attach dc at ibus with dc_ds
163file	arch/pmax/dev/dc_ds.c		dc_ds	needs-flag
164
165
166# The "desktop bus" on the MAXINE (5k/25). What is it, anyway? ADB?
167device dtop
168attach dtop at ioasic
169file	arch/pmax/dev/dtop.c		dtop needs-flag
170
171# LANCE ethernet driver.
172#   device defined in sys/conf/files.
173#   TC and ioasic attachment and files in sys/dev/tc/files.tc
174
175attach le at ibus with le_pmax:		le_dec_subr
176file	dev/tc/if_le_ibus.c		le_pmax		needs-flag #for kn01_intr
177
178
179# 3100 (pmax) onboard framebuffer
180device pm
181file	arch/pmax/dev/pm.c		pm needs-flag
182file	arch/pmax/dev/bt478.c		pm
183attach pm at ibus with pm_ds
184file	arch/pmax/dev/pm_ds.c		pm_ds
185
186########################################################################
187# Turbochannel options.
188########################################################################
189
190device cfb
191attach cfb at tc
192file	arch/pmax/dev/cfb.c		cfb needs-flag
193
194device sfb
195attach sfb at tc
196file	arch/pmax/dev/sfb.c		sfb needs-flag
197
198device mfb
199attach mfb at tc
200file	arch/pmax/dev/mfb.c		mfb needs-flag
201
202#  Zilog 8350/Intel 82350(?) SCC UART.
203device scc: tty
204attach scc at ioasic
205file	arch/pmax/tc/scc.c		scc needs-flag
206
207# MAXINE onboard framebuffer
208device	xcfb
209attach	xcfb at tc
210file	arch/pmax/dev/xcfb.c 		xcfb needs-flag
211file	arch/pmax/dev/ims332.c		xcfb
212
213# DECWRL 45Mbit T3 interface
214device	tt: tty
215attach	tt at tc
216file	arch/pmax/dev/if_tt.c		tt needs-count
217
218## bogus pmax-specific SCSI code. Leave in until new-style config done.
219file	arch/pmax/dev/scsi.c
220
221file	arch/pmax/pmax/autoconf.c
222file	arch/pmax/pmax/conf.c
223#file	arch/pmax/pmax/kadb.c			optional kadb
224#file	arch/pmax/pmax/machdep.c		standard config-dependent
225file	arch/pmax/pmax/machdep.c
226file	arch/pmax/pmax/disksubr.c
227file	arch/pmax/stand/libsa/callvec.c
228file	arch/pmax/pmax/mainbus.c
229file	arch/pmax/pmax/sysconf.c
230
231
232# Console code.
233file	dev/cons.c
234file	arch/pmax/dev/promio.c			# default console
235file	arch/pmax/dev/findcons.c		# find and set up console.
236
237# pmax configuration glue for rconsole. Requires fb pseudo-device.
238
239include "dev/rcons/files.rcons"
240
241pseudo-device	rasterconsole
242file	arch/pmax/dev/rcons.c			rasterconsole	needs-flag
243file	arch/pmax/dev/font.c			rasterconsole	# rcons fontdef
244
245## Support code for LK-201 keyboards, mice, and qvss ring buffers
246file	arch/pmax/dev/lk201.c		pm | cfb | sfb | mfb | xcfb
247file	arch/pmax/dev/qvss_compat.c	fb
248
249
250# VDAC/RAMDAC support for framebuffers. Other  devices supported by
251# NetBSD  may use the same chips, too.
252file	arch/pmax/dev/bt459.c			cfb | sfb
253
254#
255# Pseudo-device driver for framebuffers.  All user-level requests,
256# including open(), go through the fb driver, which presents a consistent
257# interface to all framebuffers.  Configure as many units as you
258# have framebuffers.  Provides qvss-style interface compatible with
259# X11R5 servers.
260#
261pseudo-device	fb
262file	arch/pmax/dev/fb.c		fb needs-count
263
264# Glue for old-style config
265file	arch/pmax/pmax/conf-glue.c
266
267# Ultrix Binary Compatibility (COMPAT_ULTRIX)
268include "compat/ultrix/files.ultrix"
269
270# Configs
271