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