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