files.sun3 revision 1.58
1#	$NetBSD: files.sun3,v 1.58 2000/11/03 05:52:42 tsutsui Exp $
2
3#
4# sun3-specific configuration info
5#
6
7# maxpartitions must be first item in files.${ARCH}
8maxpartitions 8
9
10maxusers 2 8 64
11
12# Standard stuff (Sun3-specific)
13file arch/sun3/sun3/bus_subr.c			_sun3_
14file arch/sun3/sun3/cache.c			_sun3_ & havecache
15file arch/sun3/sun3/control.c			_sun3_
16file arch/sun3/sun3/ctrlsp.S			_sun3_
17file arch/sun3/sun3/dvma.c			_sun3_
18file arch/sun3/sun3/enable.c			_sun3_
19file arch/sun3/sun3/locore2.c			_sun3_
20file arch/sun3/sun3/machdep.c			_sun3_
21file arch/sun3/sun3/mem.c			_sun3_
22file arch/sun3/sun3/pmap.c			_sun3_
23
24# Standard stuff (Sun3X-specific)
25file arch/sun3/sun3x/bus_subr.c			_sun3x_
26file arch/sun3/sun3x/dvma.c			_sun3x_
27file arch/sun3/sun3x/enable.c			_sun3x_
28file arch/sun3/sun3x/locore2.c			_sun3x_
29file arch/sun3/sun3x/machdep.c			_sun3x_
30file arch/sun3/sun3x/mem.c			_sun3x_
31file arch/sun3/sun3x/pmap.c			_sun3x_
32
33# Standard stuff (common to Sun3 and Sun3X)
34file arch/sun3/sun3/autoconf.c
35file arch/sun3/sun3/conf.c
36file arch/sun3/sun3/db_machdep.c		ddb
37file arch/sun3/sun3/db_memrw.c  		ddb | kgdb
38file arch/sun3/sun3/disksubr.c
39file arch/sun3/sun3/fpu.c
40file arch/sun3/sun3/isr.c
41file arch/sun3/sun3/kgdb_machdep.c 		kgdb
42file arch/sun3/sun3/leds.c
43file arch/sun3/sun3/stub.c
44file arch/sun3/sun3/sunmon.c
45file arch/sun3/sun3/sys_machdep.c
46file arch/sun3/sun3/trap.c
47file arch/sun3/sun3/vector.c
48file arch/sun3/sun3/vm_machdep.c
49
50include "arch/m68k/fpe/files.fpe"
51
52# Console support
53#file arch/sun3/sun3/cninit.c
54file dev/cons.c
55
56#
57# Bus types
58#
59
60device mainbus {}
61attach mainbus at root
62file	arch/sun3/sun3/mainbus.c
63
64# On-board I/O space (required).
65device obio {addr = -1, [ipl = -1], [vect = -1]}
66attach obio at mainbus
67file arch/sun3/sun3/obio.c		_sun3_
68file arch/sun3/sun3x/obio.c		_sun3x_
69
70# On-board MEMory space (optional).
71device obmem {addr = -1, [ipl = -1], [vect = -1]}
72attach obmem at mainbus
73file arch/sun3/sun3/obmem.c		obmem
74
75# VME (unit encodes address/data sizes)
76device vme {addr = -1, [ipl = -1], [vect = -1]}
77attach vme at mainbus
78file arch/sun3/sun3/vme.c		vme
79
80#
81# Machine-independent SCSI drivers
82#
83include "dev/scsipi/files.scsipi"
84
85#
86# Devices and attributes needed below
87#
88
89device ie: ifnet, ether, arp
90file arch/sun3/dev/if_ie.c		ie
91
92device si: scsi, ncr5380sbc
93file	arch/sun3/dev/si.c		si
94
95define fb
96file arch/sun3/dev/fb.c			fb needs-flag
97
98#
99# On-Board I/O (OBIO), in attach order.
100# The following are all required.
101#
102
103# The IDPROM could have a device config line, but this
104# driver has to do its initialization before autoconfig,
105# and there is nothing left to do at attach time.
106file arch/sun3/sun3/idprom.c		_sun3_
107file arch/sun3/sun3x/idprom.c		_sun3x_
108
109# Interrupt register
110device intreg
111attach intreg at obio
112file arch/sun3/sun3/intreg.c		intreg
113
114# Memory error register
115device memerr
116attach memerr at obio
117file arch/sun3/dev/memerr.c		memerr
118
119# Zilog Serial (ZS)
120device zsc {channel = -1}
121attach zsc at obio
122file arch/sun3/dev/zs.c 		zsc needs-flag
123file dev/ic/z8530sc.c			zsc
124
125# Intersil or Mostek clock
126device clock
127attach clock at obio
128device oclock
129attach oclock at obio
130file arch/sun3/sun3/clock.c		_sun3_
131file arch/sun3/sun3x/clock.c		_sun3x_
132file dev/clock_subr.c
133
134# EEPROM (or NV-RAM)
135device eeprom
136attach eeprom at obio
137file arch/sun3/dev/eeprom.c		eeprom
138
139# I/O MMU (a.k.a I/O mapper)
140device iommu
141attach iommu at obio
142file arch/sun3/sun3x/iommu.c		_sun3x_
143
144#
145# Optional OBIO devices
146#
147
148# device defined above
149attach ie at obio with ie_obio
150file arch/sun3/dev/if_ie_obio.c		ie_obio
151
152# device defined in sys/conf/files
153attach le at obio: le24
154file arch/sun3/dev/if_le.c		le
155
156# Sun3/60 on-board SCSI
157attach si at obio with si_obio
158file	arch/sun3/dev/si_obio.c		si_obio
159
160# Sun3/80 on-board SCSI
161attach esp at obio
162file arch/sun3/dev/esp.c		esp
163device dma
164attach dma at obio
165file arch/sun3/dev/dma.c		dma | esp
166
167# Sun3/80 Floppy disk
168device fdc {}
169attach fdc at obio
170device fd: disk
171attach fd at fdc
172file arch/sun3/dev/fd.c		fdc | fd needs-flag
173
174# Sun3/80 printer port
175device pp
176attach pp at obio
177file arch/sun3/dev/pp.c		pp needs-flag
178
179#
180# On-Board MEMory (OBMEM)
181#
182
183device bwtwo: fb
184attach bwtwo at obmem
185file arch/sun3/dev/bw2.c		bwtwo needs-flag
186
187device cgfour: fb
188attach cgfour at obmem
189file arch/sun3/dev/cg4.c		cgfour needs-flag
190
191#
192# VME
193#
194
195attach ie at vme with ie_vme
196file arch/sun3/dev/if_ie_vme.c		ie_vme
197
198attach si at vme with si_vme
199file	arch/sun3/dev/si_vme.c		si_vme
200
201# Sun3/E SCSI+Ethernet board
202device sebuf {}
203attach sebuf at vme
204file	arch/sun3/dev/sebuf.c		sebuf
205attach ie at sebuf with ie_sebuf
206file	arch/sun3/dev/if_ie_sebuf.c	ie_sebuf
207attach si at sebuf with si_sebuf
208file	arch/sun3/dev/si_sebuf.c	si_sebuf
209
210device cgtwo: fb
211attach cgtwo at vme
212file arch/sun3/dev/cg2.c		cgtwo needs-flag
213
214device	xyc {drive = -1}
215attach	xyc at vme
216device	xy: disk
217attach	xy at xyc
218file	arch/sun3/dev/xy.c		xy | xyc needs-flag
219
220device	xdc {drive = -1}
221attach	xdc at vme
222device	xd: disk
223attach	xd at xdc
224file	arch/sun3/dev/xd.c		xd | xdc needs-flag
225
226
227#
228# Console (zs) related stuff
229#
230
231device zstty: tty
232attach zstty at zsc
233file dev/ic/z8530tty.c			zstty needs-flag
234file arch/sun3/dev/zs_kgdb.c		kgdb
235
236define zsevent
237file dev/sun/event.c			zsevent
238
239device kbd: zsevent
240attach kbd at zsc with kbd_zs
241file dev/sun/kbd_zs.c			kbd_zs
242file dev/sun/kbd.c			kbd needs-flag
243file dev/sun/kbd_tables.c 		kbd
244file arch/sun3/dev/kd.c 		kbd
245
246device ms: zsevent
247attach ms at zsc with ms_zs
248file dev/sun/ms_zs.c			ms_zs
249file dev/sun/ms.c			ms needs-flag
250
251
252# Memory Disk for boot tape
253file dev/md_root.c			memory_disk_hooks
254
255# Compatibility modules
256
257# SunOS Binary Compatibility (COMPAT_SUNOS)
258include "compat/sunos/files.sunos"
259file	arch/m68k/m68k/sunos_machdep.c	compat_sunos
260
261# SVR4 Binary Compatibility (COMPAT_SVR4)
262include "compat/svr4/files.svr4"
263
264# Linux binary compatibility (COMPAT_LINUX)
265include "compat/linux/files.linux"
266include "compat/linux/arch/m68k/files.linux_m68k"
267
268# OSS audio driver compatibility
269include "compat/ossaudio/files.ossaudio"
270
271# Major numbers for root/swap device configuration
272major	{xy=3}	# Xylogics 450 and 451
273major	{sd=7}	# SCSI disk
274major	{xd=10}	# Xylogics 7053
275major	{md=13}	# Memory disk (for mini-kernel)
276major	{raid=25} # RAIDframe
277