files.pmax revision 1.56
1#	$NetBSD: files.pmax,v 1.56 1998/09/26 21:02:56 drochner 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	dev/clock_subr.c
103file	arch/pmax/pmax/mcclock.c	mcclock
104file	dev/dec/mcclock.c		mcclock
105file	dev/dec/mcclock_pad32.c		mcclock
106file	arch/pmax/tc/mcclock_ioasic.c	mcclock_ioasic
107file	arch/pmax/ibus/mcclock_ibus.c	mcclock_ibus
108
109#
110# Machine-independent SCSI driver.
111#
112
113include "dev/scsipi/files.scsipi"
114#major { st = 10 }
115#major { cd = 3 }
116#major { sd = 21 }
117major { tz = 10 }
118major { rz = 21 }
119
120#
121# Old 4.4bsd pmax-specific scsi driver (deprecated).
122#
123define	oldscsi {}
124device oldscsibus {target = -1, drive = -1}
125attach oldscsibus at oldscsi
126
127# asc:  system-slot or turbochannel-option SCSI interface
128#device asc: oldscsi,scsi
129device asc: oldscsi
130attach asc at ioasic with asc_ioasic
131file	dev/tc/asc_ioasic.c		asc_ioasic
132attach asc at tc with asc_tc
133file	dev/tc/asc_tc.c			asc_tc
134
135file	dev/tc/asc.c			asc needs-flag
136
137# sii:  kn01 SCSI interface 
138#device sii: scsi,oldscsi
139device sii: oldscsi
140file	arch/pmax/dev/sii.c		sii needs-flag
141attach sii at ibus with sii_ds
142file	arch/pmax/dev/sii_ds.c		sii_ds
143
144
145device	tz: tape
146attach	tz at oldscsibus
147file	arch/pmax/dev/tz.c		tz needs-count
148
149device	rz: disk
150attach	rz at oldscsibus
151file	arch/pmax/dev/rz.c		rz needs-count
152
153#
154# Optional device-drivers
155#
156
157# DC7085 (DZ-like four-port serial device) on mainbus on non-IOASIC machines.
158# For the 3MAX (aka kn02 aka 5k/200) pretend that it's on an  ASIC.
159device dc: tty
160file	arch/pmax/dev/dc.c		dc
161attach dc at ioasic with dc_ioasic
162file	arch/pmax/dev/dc_ioasic.c	dc_ioasic	needs-flag
163attach dc at ibus with dc_ds
164file	arch/pmax/dev/dc_ds.c		dc_ds	needs-flag
165
166
167# The "desktop bus" on the MAXINE (5k/25). What is it, anyway? ADB?
168device dtop
169attach dtop at ioasic
170file	arch/pmax/dev/dtop.c		dtop needs-flag
171
172# LANCE ethernet driver.
173#   device defined in sys/conf/files.
174#   TC and ioasic attachment and files in sys/dev/tc/files.tc
175
176attach le at ibus with le_pmax:		le24, le_dec_subr
177file	dev/tc/if_le_ibus.c		le_pmax		needs-flag #for kn01_intr
178
179
180# 3100 (pmax) onboard framebuffer
181device pm
182file	arch/pmax/dev/pm.c		pm needs-flag
183file	arch/pmax/dev/bt478.c		pm
184attach pm at ibus with pm_ds
185file	arch/pmax/dev/pm_ds.c		pm_ds
186
187########################################################################
188# Turbochannel options.
189########################################################################
190
191device cfb
192attach cfb at tc
193file	arch/pmax/dev/cfb.c		cfb needs-flag
194
195device sfb
196attach sfb at tc
197file	arch/pmax/dev/sfb.c		sfb needs-flag
198
199device mfb
200attach mfb at tc
201file	arch/pmax/dev/mfb.c		mfb needs-flag
202
203#  Zilog 8350/Intel 82350(?) SCC UART.
204device scc: tty
205attach scc at ioasic
206file	arch/pmax/tc/scc.c		scc needs-flag
207
208# MAXINE onboard framebuffer
209device	xcfb
210attach	xcfb at tc
211file	arch/pmax/dev/xcfb.c 		xcfb needs-flag
212file	arch/pmax/dev/ims332.c		xcfb
213
214# DECWRL 45Mbit T3 interface
215device	tt: tty
216attach	tt at tc
217file	arch/pmax/dev/if_tt.c		tt needs-count
218
219## bogus pmax-specific SCSI code. Leave in until new-style config done.
220file	arch/pmax/dev/scsi.c
221
222file	arch/pmax/pmax/autoconf.c
223file	arch/pmax/pmax/bus_dma.c
224file	arch/pmax/pmax/bus_space.c
225file	arch/pmax/pmax/conf.c
226#file	arch/pmax/pmax/kadb.c			optional kadb
227#file	arch/pmax/pmax/machdep.c		standard config-dependent
228file	arch/pmax/pmax/machdep.c
229file	arch/pmax/pmax/disksubr.c
230file	arch/pmax/stand/libsa/callvec.c
231file	arch/pmax/pmax/mainbus.c
232file	arch/pmax/pmax/sysconf.c
233
234
235# Console code.
236file	dev/cons.c
237file	arch/pmax/dev/promio.c			# default console
238file	arch/pmax/dev/findcons.c		# find and set up console.
239
240# pmax configuration glue for rconsole. Requires fb pseudo-device.
241
242include "dev/rcons/files.rcons"
243
244pseudo-device	rasterconsole
245file	arch/pmax/dev/rcons.c			rasterconsole	needs-flag
246file	arch/pmax/dev/font.c			rasterconsole	# rcons fontdef
247
248## Support code for LK-201 keyboards, mice, and qvss ring buffers
249file	arch/pmax/dev/lk201.c		pm | cfb | sfb | mfb | xcfb
250file	arch/pmax/dev/qvss_compat.c	fb
251
252
253# VDAC/RAMDAC support for framebuffers. Other  devices supported by
254# NetBSD  may use the same chips, too.
255file	arch/pmax/dev/bt459.c			cfb | sfb
256
257#
258# Pseudo-device driver for framebuffers.  All user-level requests,
259# including open(), go through the fb driver, which presents a consistent
260# interface to all framebuffers.  Configure as many units as you
261# have framebuffers.  Provides qvss-style interface compatible with
262# X11R5 servers.
263#
264pseudo-device	fb
265file	arch/pmax/dev/fb.c		fb needs-count
266
267# Glue for old-style config
268file	arch/pmax/pmax/conf-glue.c
269
270# Ultrix Binary Compatibility (COMPAT_ULTRIX)
271include "compat/ultrix/files.ultrix"
272
273# Configs
274