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