files.sun3 revision 1.49
1#	$NetBSD: files.sun3,v 1.49 1998/12/15 19:37:11 itohy 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
161device esp: scsi, ncr53c9x
162attach esp at obio
163file arch/sun3/dev/esp.c		esp
164file arch/sun3/dev/dma.c		esp
165
166# Sun3/80 Floppy disk
167device fdc {}
168attach fdc at obio
169device fd: disk
170attach fd at fdc
171file arch/sun3/dev/fd.c		fdc | fd needs-flag
172
173# Sun3/80 printer port
174device pp
175attach pp at obio
176file arch/sun3/dev/pp.c		pp needs-flag
177
178#
179# On-Board MEMory (OBMEM)
180#
181
182device bwtwo: fb
183attach bwtwo at obmem
184file arch/sun3/dev/bw2.c		bwtwo needs-flag
185
186device cgfour: fb
187attach cgfour at obmem
188file arch/sun3/dev/cg4.c		cgfour needs-flag
189
190#
191# VME
192#
193
194attach ie at vme with ie_vme
195file arch/sun3/dev/if_ie_vme.c		ie_vme
196
197attach si at vme with si_vme
198file	arch/sun3/dev/si_vme.c		si_vme
199
200# Sun3/E SCSI+Ethernet board
201device sebuf {}
202attach sebuf at vme
203file	arch/sun3/dev/sebuf.c		sebuf
204attach ie at sebuf with ie_sebuf
205file	arch/sun3/dev/if_ie_sebuf.c	ie_sebuf
206attach si at sebuf with si_sebuf
207file	arch/sun3/dev/si_sebuf.c	si_sebuf
208
209device cgtwo: fb
210attach cgtwo at vme
211file arch/sun3/dev/cg2.c		cgtwo needs-flag
212
213device	xyc {drive = -1}
214attach	xyc at vme
215device	xy: disk
216attach	xy at xyc
217file	arch/sun3/dev/xy.c		xy | xyc needs-flag
218
219device	xdc {drive = -1}
220attach	xdc at vme
221device	xd: disk
222attach	xd at xdc
223file	arch/sun3/dev/xd.c		xd | xdc needs-flag
224
225
226#
227# Console (zs) related stuff
228#
229
230device zstty: tty
231attach zstty at zsc
232file dev/ic/z8530tty.c			zstty needs-flag
233file arch/sun3/dev/zs_kgdb.c		kgdb
234
235define zsevent
236file dev/sun/event.c			zsevent
237
238device kbd: zsevent
239attach kbd at zsc
240file dev/sun/kbd.c			kbd needs-flag
241file dev/sun/kbd_tables.c 		kbd
242file arch/sun3/dev/kd.c 		kbd
243
244device ms: zsevent
245attach ms at zsc
246file dev/sun/ms.c			ms needs-flag
247
248
249# Memory Disk for boot tape
250file arch/sun3/dev/md_root.c		memory_disk_hooks
251
252# Compatibility modules
253
254# SunOS Binary Compatibility (COMPAT_SUNOS)
255include "../../../compat/sunos/files.sunos"
256file	arch/m68k/m68k/sunos_machdep.c	compat_sunos
257
258# Linux binary compatibility (COMPAT_LINUX)
259include "compat/linux/files.linux"
260include "compat/linux/arch/m68k/files.linux_m68k"
261
262# OSS audio driver compatibility
263include "compat/ossaudio/files.ossaudio"
264
265# Major numbers for root/swap device configuration
266major	{xy=3}	# Xylogics 450 and 451
267major	{vnd=5}	# vnode pseudo-device
268major	{sd=7}	# SCSI disk
269major	{xd=10}	# Xylogics 7053
270major	{md=13}	# Memory disk (for mini-kernel)
271