files.pmax revision 1.66
1#	$NetBSD: files.pmax,v 1.66 1999/05/21 01:10:49 nisimura 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
51define baseboard {}
52device kn01bus {}: baseboard
53attach kn01bus at mainbus
54
55device kn230bus {}: baseboard
56attach kn230bus at mainbus
57
58device ibus {}
59attach ibus at baseboard
60
61file	arch/pmax/ibus/ibus.c		ibus
62file	arch/pmax/ibus/ibus_3100.c	ibus & dec_3100
63file	arch/pmax/ibus/ibus_5100.c	ibus & dec_5100
64
65
66#
67# TurboChannel Devices
68#
69device tcasic {}
70attach tcasic	at mainbus
71include	"dev/tc/files.tc"
72#attach tc	at tcasic
73attach tc	at mainbus
74
75
76file	arch/pmax/tc/tcasic.c		tcasic
77file	arch/pmax/tc/tc_conf.c		tcasic
78file	arch/pmax/tc/tc_subr.c		tc	needs-flag
79file	arch/pmax/tc/tc_3max.c		tc & dec_3max
80file	arch/pmax/tc/tc_3min.c		tc & dec_3min
81file	arch/pmax/tc/tc_3maxplus.c	tc & dec_3maxplus
82file	arch/pmax/tc/tc_maxine.c	tc & dec_maxine
83
84#
85# The TurboChannel IOCTL ASIC. Present on IOASIC machines,
86# which is all turbochannel machines ever built except the 3MAX (5000/200).
87#
88# device defined in files.tc:
89# device ioasic { offset = -1 }
90# attach ioasic at tc
91file	arch/pmax/tc/asic.c		ioasic
92
93
94# Real-time clock (not optional)
95device	mcclock
96attach	mcclock at ioasic with mcclock_ioasic
97attach	mcclock at ibus with mcclock_ibus
98file	arch/pmax/pmax/clock.c
99file	dev/clock_subr.c
100file	arch/pmax/pmax/mcclock.c	mcclock
101file	dev/dec/mcclock.c		mcclock
102file	dev/dec/mcclock_pad32.c		mcclock
103file	arch/pmax/tc/mcclock_ioasic.c	mcclock_ioasic
104file	arch/pmax/ibus/mcclock_ibus.c	mcclock_ibus
105
106#
107# Machine-independent SCSI driver.
108#
109
110include "dev/scsipi/files.scsipi"
111#major { st = 10 }
112#major { cd = 3 }
113#major { sd = 21 }
114major { tz = 10 }
115major { rz = 21 }
116
117# Memory Disk
118file	arch/pmax/pmax/md_root.c	memory_disk_hooks
119major { md = 17 }
120
121#
122# Old 4.4bsd pmax-specific scsi driver (deprecated).
123#
124define	oldscsi {}
125device oldscsibus {target = -1, drive = -1}
126attach oldscsibus at oldscsi
127
128# asc: system-slot or turbochannel-option SCSI interface
129#device asc: oldscsi,scsi
130device asc: oldscsi
131attach asc at ioasic with asc_ioasic
132file	dev/tc/asc_ioasic.c		asc_ioasic
133attach asc at tc with asc_tc
134file	dev/tc/asc_tc.c			asc_tc
135
136file	dev/tc/asc.c			asc needs-flag
137
138# sii: kn01 SCSI interface
139#device sii: scsi,oldscsi
140device sii: oldscsi
141file	arch/pmax/dev/sii.c		sii needs-flag
142attach sii at ibus with sii_ds
143file	arch/pmax/dev/sii_ds.c		sii_ds
144
145
146device	tz: tape
147attach	tz at oldscsibus
148file	arch/pmax/dev/tz.c		tz needs-count
149
150device	rz: disk
151attach	rz at oldscsibus
152file	arch/pmax/dev/rz.c		rz needs-count
153
154#
155# Optional device-drivers
156#
157
158# DC7085 (DZ-like four-port serial device) on mainbus on non-IOASIC machines.
159# For the 3MAX (aka kn02 aka 5k/200) pretend that it's on an ASIC.
160device dc: tty
161file	arch/pmax/dev/dc.c		dc
162attach dc at ioasic with dc_ioasic
163file	arch/pmax/dev/dc_ioasic.c	dc_ioasic	needs-flag
164attach dc at ibus with dc_ds
165file	arch/pmax/dev/dc_ds.c		dc_ds	needs-flag
166
167
168# The "desktop bus" on the MAXINE (5k/25). What is it, anyway? ADB?
169device dtop
170attach dtop at ioasic
171file	arch/pmax/dev/dtop.c		dtop needs-flag
172
173# LANCE ethernet driver.
174#   device defined in sys/conf/files.
175#   TC and ioasic attachment and files in sys/dev/tc/files.tc
176
177attach le at ibus with le_pmax:		le24, le_dec_subr
178file	dev/tc/if_le_ibus.c		le_pmax		needs-flag #for kn01_intr
179
180# Raster operations for rcons. This isn't in the rcons section, since
181# it depends on fb devices for configuration glue. 
182include "dev/rasops/files.rasops"
183
184# 3100 (pmax) onboard framebuffer
185device pm: rasops1, rasops8
186file	arch/pmax/dev/pm.c		pm needs-flag
187file	arch/pmax/dev/bt478.c		pm
188attach pm at ibus with pm_ds
189file	arch/pmax/dev/pm_ds.c		pm_ds
190
191#########################################################################
192# Turbochannel options.							#
193#########################################################################
194
195device cfb: rasops8
196attach cfb at tc
197file	arch/pmax/dev/cfb.c		cfb needs-flag
198
199device sfb: rasops8
200attach sfb at tc
201file	arch/pmax/dev/sfb.c		sfb needs-flag
202
203device mfb: rasops8
204attach mfb at tc
205file	arch/pmax/dev/mfb.c		mfb needs-flag
206
207# Zilog 8350/Intel 82350(?) SCC UART.
208device scc: tty
209attach scc at ioasic
210file	arch/pmax/tc/scc.c		scc needs-flag
211
212# MAXINE onboard framebuffer
213device	xcfb: rasops8
214attach	xcfb at tc
215file	arch/pmax/dev/xcfb.c 		xcfb needs-flag
216file	arch/pmax/dev/ims332.c		xcfb
217
218#  PixelStamp graphics boards
219device	px
220attach	px at tc
221file	arch/pmax/dev/px.c 		px needs-flag
222
223# DECWRL 45Mbit T3 interface
224device	tt: tty
225attach	tt at tc
226file	arch/pmax/dev/if_tt.c		tt needs-count
227
228## bogus pmax-specific SCSI code. Leave in until new-style config done.
229file	arch/pmax/dev/scsi.c
230
231file	arch/pmax/pmax/autoconf.c
232file	arch/pmax/pmax/bus_dma.c
233file	arch/pmax/pmax/bus_space.c
234file	arch/pmax/pmax/conf.c
235file	arch/pmax/pmax/disksubr.c
236file	arch/pmax/pmax/machdep.c
237file	arch/pmax/pmax/mainbus.c
238file	arch/pmax/pmax/promcall.c
239file	arch/pmax/pmax/sysconf.c
240file	arch/pmax/stand/lib/callvec.c
241file	dev/cons.c
242file	arch/pmax/dev/findcons.c	# find and set up console.
243#file	arch/pmax/pmax/kadb.c		# obsolute kadb
244
245# pmax configuration glue for rconsole. Requires fb pseudo-device.
246
247include "dev/rcons/files.rcons"
248include "dev/wsfont/files.wsfont"
249
250pseudo-device	rasterconsole
251file	arch/pmax/dev/rcons.c			rasterconsole	needs-flag
252
253## Support code for LK-201 keyboards, mice, and qvss ring buffers
254file	arch/pmax/dev/lk201.c		pm | cfb | sfb | mfb | xcfb | px
255file	arch/pmax/dev/qvss_compat.c	fb
256
257
258# VDAC/RAMDAC support for framebuffers. Other devices supported by
259# NetBSD may use the same chips, too.
260file	arch/pmax/dev/bt459.c			cfb | sfb
261
262#
263# Pseudo-device driver for framebuffers.  All user-level requests,
264# including open(), go through the fb driver, which presents a consistent
265# interface to all framebuffers.  Configure as many units as you
266# have framebuffers.  Provides qvss-style interface compatible with
267# X11R5 servers.
268#
269pseudo-device	fb
270file	arch/pmax/dev/fb.c		fb needs-count
271
272# Glue for old-style config
273file	arch/pmax/pmax/conf-glue.c
274
275# Ultrix Binary Compatibility (COMPAT_ULTRIX)
276include "compat/ultrix/files.ultrix"
277
278# Configs
279