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