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