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