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