files.pmax revision 1.52
1#	$NetBSD: files.pmax,v 1.52 1998/03/29 01:12:14 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
39#file	arch/pmax/pmax/dec_5400.c	dec_5400	# DS5400, mipsfair
40#file	arch/pmax/pmax/dec_5500.c	dec_5500	# kn220, mipsfair2
41#file	arch/pmax/pmax/dec_5100.c	dec_5100	# kn230, mipsmate
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#
54# TurboChannel Devices
55#
56include	"dev/tc/files.tc"
57
58attach tc at mainbus
59file	arch/pmax/tc/tc_subr.c		tc		needs-flag
60
61
62#
63# The TurboChannel IOCTL ASIC. Present on IOASIC machines,
64# which is all turbochannel machines ever built except the 3MAX (5000/200).
65#
66# device defined in files.tc:
67# device ioasic { offset = -1 }
68# attach ioasic at tc
69file	arch/pmax/tc/asic.c		ioasic
70
71
72# Real-time clock (not optional)
73device	clock
74attach	clock at ioasic, mainbus with mcclock_ioasic
75file	arch/pmax/pmax/clock.c
76file	arch/pmax/pmax/mcclock.c	clock
77file	arch/pmax/tc/mcclock_ioasic.c	mcclock_ioasic
78
79#
80# Machine-independent SCSI driver.
81#
82
83include "dev/scsipi/files.scsipi"
84#major { st = 10 }
85#major { cd = 3 }
86#major { sd = 21 }
87major { tz = 10 }
88major { rz = 21 }
89
90#
91# Old 4.4bsd pmax-specific scsi driver (deprecated).
92#
93define	oldscsi {}
94device oldscsibus {target = -1, drive = -1}
95attach oldscsibus at oldscsi
96
97# asc:  system-slot or turbochannel-option SCSI interface
98#device asc: oldscsi,scsi
99device asc: oldscsi
100attach asc at ioasic with asc_ioasic
101file	dev/tc/asc_ioasic.c		asc_ioasic
102attach asc at tc with asc_tc
103file	dev/tc/asc_tc.c			asc_tc
104
105file	dev/tc/asc.c			asc needs-flag
106
107# sii:  kn01 SCSI interface 
108#device sii: scsi,oldscsi
109device sii: oldscsi
110file	arch/pmax/dev/sii.c		sii needs-flag
111attach sii at mainbus with sii_ds
112file	arch/pmax/dev/sii_ds.c		sii_ds
113
114
115device	tz: tape
116attach	tz at oldscsibus
117file	arch/pmax/dev/tz.c		tz needs-count
118
119device	rz: disk
120attach	rz at oldscsibus
121file	arch/pmax/dev/rz.c		rz needs-count
122
123#
124# Optional device-drivers
125#
126
127# DC7085 (DZ-like four-port serial device) on mainbus on non-IOASIC machines.
128# For the 3MAX (aka kn02 aka 5k/200) pretend that it's on an  ASIC.
129device dc: tty
130file	arch/pmax/dev/dc.c		dc
131attach dc at ioasic with dc_ioasic
132file	arch/pmax/dev/dc_ioasic.c	dc_ioasic	needs-flag
133attach dc at mainbus with dc_ds
134file	arch/pmax/dev/dc_ds.c		dc_ds	needs-flag
135
136
137# The "desktop bus" on the MAXINE (5k/25). What is it, anyway? ADB?
138device dtop
139attach dtop at ioasic
140file	arch/pmax/dev/dtop.c		dtop needs-flag
141
142# LANCE ethernet driver.
143#   device defined in sys/conf/files.
144#   TC and ioasic attachment and files in sys/dev/tc/files.tc
145
146attach le at mainbus with le_pmax:	le_dec_subr
147file	dev/tc/if_le_ibus.c		le_pmax		needs-flag #for kn01_intr
148
149
150# 3100 (pmax) onboard framebuffer
151device pm
152file	arch/pmax/dev/pm.c		pm needs-flag
153file	arch/pmax/dev/bt478.c		pm
154attach pm at mainbus with pm_ds
155file	arch/pmax/dev/pm_ds.c		pm_ds
156
157########################################################################
158# Turbochannel options.
159########################################################################
160
161device cfb
162attach cfb at tc
163file	arch/pmax/dev/cfb.c		cfb needs-flag
164
165device sfb
166attach sfb at tc
167file	arch/pmax/dev/sfb.c		sfb needs-flag
168
169device mfb
170attach mfb at tc
171file	arch/pmax/dev/mfb.c		mfb needs-flag
172
173#  Zilog 8350/Intel 82350(?) SCC UART.
174device scc: tty
175attach scc at ioasic
176file	arch/pmax/tc/scc.c		scc needs-flag
177
178# MAXINE onboard framebuffer
179device	xcfb
180attach	xcfb at tc
181file	arch/pmax/dev/xcfb.c 		xcfb needs-flag
182file	arch/pmax/dev/ims332.c		xcfb
183
184# DECWRL 45Mbit T3 interface
185device	tt: tty
186attach	tt at tc
187file	arch/pmax/dev/if_tt.c		tt needs-count
188
189## bogus pmax-specific SCSI code. Leave in until new-style config done.
190file	arch/pmax/dev/scsi.c
191
192file	arch/pmax/pmax/autoconf.c
193file	arch/pmax/pmax/conf.c
194#file	arch/pmax/pmax/kadb.c			optional kadb
195#file	arch/pmax/pmax/machdep.c		standard config-dependent
196file	arch/pmax/pmax/machdep.c
197file	arch/pmax/pmax/disksubr.c
198file	arch/pmax/stand/libsa/callvec.c
199file	arch/pmax/pmax/mainbus.c
200file	arch/pmax/pmax/sysconf.c
201
202
203# Console code.
204file	dev/cons.c
205file	arch/pmax/dev/promio.c			# default console
206file	arch/pmax/dev/findcons.c		# find and set up console.
207
208# pmax configuration glue for rconsole. Requires fb pseudo-device.
209
210include "dev/rcons/files.rcons"
211
212pseudo-device	rasterconsole
213file	arch/pmax/dev/rcons.c			rasterconsole	needs-flag
214file	arch/pmax/dev/font.c			rasterconsole	# rcons fontdef
215
216## Support code for LK-201 keyboards, mice, and qvss ring buffers
217file	arch/pmax/dev/lk201.c		pm | cfb | sfb | mfb | xcfb
218file	arch/pmax/dev/qvss_compat.c	fb
219
220
221# VDAC/RAMDAC support for framebuffers. Other  devices supported by
222# NetBSD  may use the same chips, too.
223file	arch/pmax/dev/bt459.c			cfb | sfb
224
225#
226# Pseudo-device driver for framebuffers.  All user-level requests,
227# including open(), go through the fb driver, which presents a consistent
228# interface to all framebuffers.  Configure as many units as you
229# have framebuffers.  Provides qvss-style interface compatible with
230# X11R5 servers.
231#
232pseudo-device	fb
233file	arch/pmax/dev/fb.c		fb needs-count
234
235# Glue for old-style config
236file	arch/pmax/pmax/conf-glue.c
237
238# Ultrix Binary Compatibility (COMPAT_ULTRIX)
239include "compat/ultrix/files.ultrix"
240
241# Configs
242