1 # $NetBSD: files.sun3,v 1.77 2006/10/05 14:46:11 tsutsui Exp $
4 # sun3-specific configuration info
7 # maxpartitions must be first item in files.${ARCH}
12 # Standard stuff (Sun3-specific)
13 file arch/sun3/sun3/bus_subr.c _sun3_
14 file arch/sun3/sun3/cache.c _sun3_ & havecache
15 file arch/sun3/sun3/control.c _sun3_
16 file arch/sun3/sun3/dvma.c _sun3_
17 file arch/sun3/sun3/enable.c _sun3_
18 file arch/sun3/sun3/locore2.c _sun3_
19 file arch/sun3/sun3/machdep.c _sun3_
20 file arch/sun3/sun3/mem.c _sun3_
21 file arch/sun3/sun3/pmap.c _sun3_
23 # Standard stuff (Sun3X-specific)
24 file arch/sun3/sun3x/bus_subr.c _sun3x_
25 file arch/sun3/sun3x/dvma.c _sun3x_
26 file arch/sun3/sun3x/enable.c _sun3x_
27 file arch/sun3/sun3x/locore2.c _sun3x_
28 file arch/sun3/sun3x/machdep.c _sun3x_
29 file arch/sun3/sun3x/mem.c _sun3x_
30 file arch/sun3/sun3x/pmap.c _sun3x_
32 # Standard stuff (common to Sun3 and Sun3X)
33 file arch/sun3/sun3/autoconf.c
34 file arch/sun3/sun3/db_machdep.c ddb
35 file arch/sun3/sun3/db_memrw.c ddb | kgdb
36 file arch/sun3/sun3/fpu.c
37 file arch/sun3/sun3/leds.c
38 file arch/sun3/sun3/sunmon.c
39 file arch/sun3/sun3/sys_machdep.c
40 file arch/sun3/sun3/trap.c
41 file arch/m68k/m68k/cacheops.c _sun3x_
43 include "arch/m68k/fpe/files.fpe"
46 #file arch/sun3/sun3/cninit.c
54 attach mainbus at root
55 file arch/sun3/sun3/mainbus.c
57 # On-board I/O space (required).
58 device obio {addr = -1, [ipl = -1], [vect = -1]}
59 attach obio at mainbus
60 file arch/sun3/sun3/obio.c _sun3_
61 file arch/sun3/sun3x/obio.c _sun3x_
63 # On-board MEMory space (optional).
64 device obmem {addr = -1, [ipl = -1], [vect = -1]}
65 attach obmem at mainbus
66 file arch/sun3/sun3/obmem.c obmem
68 # VME (unit encodes address/data sizes)
69 device vme {addr = -1, [ipl = -1], [vect = -1]}
71 file arch/sun3/sun3/vme.c vme
74 # Machine-independent SCSI drivers
76 include "dev/scsipi/files.scsipi"
79 # Devices and attributes needed below
82 device ie: ifnet, ether, arp
83 file arch/sun3/dev/if_ie.c ie
85 device si: scsi, ncr5380sbc
86 file arch/sun3/dev/si.c si
88 file arch/sun3/dev/fb.c fb needs-flag
91 # On-Board I/O (OBIO), in attach order.
92 # The following are all required.
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.
98 file arch/sun3/sun3/idprom.c _sun3_
99 file arch/sun3/sun3x/idprom.c _sun3x_
103 attach intreg at obio
104 file arch/sun3/sun3/intreg.c intreg
106 # Memory error register
108 attach memerr at obio
109 file arch/sun3/dev/memerr.c memerr
112 device zsc {channel = -1}
114 file arch/sun3/dev/zs.c zsc needs-flag
115 file dev/ic/z8530sc.c zsc
117 # Intersil or Mostek clock
118 device clock: mk48txx
120 device oclock: intersil7170
121 attach oclock at obio
122 file arch/sun3/sun3/clock.c _sun3_
123 file arch/sun3/sun3x/clock.c _sun3x_
127 attach eeprom at obio
128 file arch/sun3/dev/eeprom.c eeprom
130 # I/O MMU (a.k.a I/O mapper)
133 file arch/sun3/sun3x/iommu.c _sun3x_
136 # Optional OBIO devices
139 # device defined above
140 attach ie at obio with ie_obio
141 file arch/sun3/dev/if_ie_obio.c ie_obio
143 # device defined in sys/conf/files
144 attach le at obio: le24
145 file arch/sun3/dev/if_le.c le
147 # Sun3/60 on-board SCSI
148 attach si at obio with si_obio
149 file arch/sun3/dev/si_obio.c si_obio
151 # Sun3/80 on-board SCSI
153 file arch/sun3/dev/esp.c esp
156 file arch/sun3/dev/dma.c dma | esp
158 # Sun3/80 Floppy disk
163 file arch/sun3/dev/fd.c fdc | fd needs-flag
165 # Sun3/80 printer port
168 file arch/sun3/dev/pp.c pp needs-flag
171 # On-Board MEMory (OBMEM)
175 attach bwtwo at obmem
176 file arch/sun3/dev/bw2.c bwtwo needs-flag
179 attach cgfour at obmem
180 file arch/sun3/dev/cg4.c cgfour needs-flag
186 attach ie at vme with ie_vme
187 file arch/sun3/dev/if_ie_vme.c ie_vme
189 attach si at vme with si_vme
190 file arch/sun3/dev/si_vme.c si_vme
192 # Sun3/E SCSI+Ethernet board
195 file arch/sun3/dev/sebuf.c sebuf
196 attach ie at sebuf with ie_sebuf
197 file arch/sun3/dev/if_ie_sebuf.c ie_sebuf
198 attach si at sebuf with si_sebuf
199 file arch/sun3/dev/si_sebuf.c si_sebuf
203 file arch/sun3/dev/cg2.c cgtwo needs-flag
205 device xyc {drive = -1}
209 file arch/sun3/dev/xy.c xy | xyc needs-flag
211 device xdc {drive = -1}
215 file arch/sun3/dev/xd.c xd | xdc needs-flag
219 # Console (zs) related stuff
224 file dev/ic/z8530tty.c zstty needs-flag
225 file arch/sun3/dev/zs_kgdb.c kgdb
228 file dev/sun/event.c zsevent
231 attach kbd at zsc with kbd_zs
232 file dev/sun/kbd_zs.c kbd_zs
233 file dev/sun/kbdsun.c kbd_zs
234 file dev/sun/kbd.c kbd needs-flag
235 file dev/sun/kbd_tables.c kbd
236 file arch/sun3/dev/kd.c kbd
239 attach ms at zsc with ms_zs
240 file dev/sun/ms_zs.c ms_zs
241 file dev/sun/ms.c ms needs-flag
244 # Memory Disk for boot tape
245 file dev/md_root.c memory_disk_hooks
248 # Compatibility modules
250 # NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K)
251 include "compat/aoutm68k/files.aoutm68k"
253 # SunOS Binary Compatibility (COMPAT_SUNOS)
254 include "compat/sunos/files.sunos"
255 file arch/m68k/m68k/sunos_machdep.c compat_sunos
257 # SVR4 Binary Compatibility (COMPAT_SVR4)
258 include "compat/svr4/files.svr4"
260 # Linux binary compatibility (COMPAT_LINUX)
261 include "compat/linux/files.linux"
262 include "compat/linux/arch/m68k/files.linux_m68k"
263 file arch/m68k/m68k/linux_trap.c compat_linux
265 # OSS audio driver compatibility
266 include "compat/ossaudio/files.ossaudio"
268 include "arch/sun3/conf/majors.sun3"