files.sun3 revision 1.71 1 # $NetBSD: files.sun3,v 1.71 2003/11/15 17:52:30 bouyer 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/procfs_machdep.c procfs
41 file arch/sun3/sun3/stub.c
42 file arch/sun3/sun3/sunmon.c
43 file arch/sun3/sun3/sys_machdep.c
44 file arch/sun3/sun3/trap.c
45 file arch/sun3/sun3/vector.c
46 file arch/m68k/m68k/cacheops.c _sun3x_
47 file arch/m68k/m68k/kgdb_machdep.c kgdb
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 define fb
97 file arch/sun3/dev/fb.c fb needs-flag
98
99 #
100 # On-Board I/O (OBIO), in attach order.
101 # The following are all required.
102 #
103
104 # The IDPROM could have a device config line, but this
105 # driver has to do its initialization before autoconfig,
106 # and there is nothing left to do at attach time.
107 file arch/sun3/sun3/idprom.c _sun3_
108 file arch/sun3/sun3x/idprom.c _sun3x_
109
110 # Interrupt register
111 device intreg
112 attach intreg at obio
113 file arch/sun3/sun3/intreg.c intreg
114
115 # Memory error register
116 device memerr
117 attach memerr at obio
118 file arch/sun3/dev/memerr.c memerr
119
120 # Zilog Serial (ZS)
121 device zsc {channel = -1}
122 attach zsc at obio
123 file arch/sun3/dev/zs.c zsc needs-flag
124 file dev/ic/z8530sc.c zsc
125
126 # Intersil or Mostek clock
127 device clock
128 attach clock at obio
129 device oclock
130 attach oclock at obio
131 file arch/sun3/sun3/clock.c _sun3_
132 file arch/sun3/sun3x/clock.c _sun3x_
133
134 # EEPROM (or NV-RAM)
135 device eeprom
136 attach eeprom at obio
137 file arch/sun3/dev/eeprom.c eeprom
138
139 # I/O MMU (a.k.a I/O mapper)
140 device iommu
141 attach iommu at obio
142 file arch/sun3/sun3x/iommu.c _sun3x_
143
144 #
145 # Optional OBIO devices
146 #
147
148 # device defined above
149 attach ie at obio with ie_obio
150 file arch/sun3/dev/if_ie_obio.c ie_obio
151
152 # device defined in sys/conf/files
153 attach le at obio: le24
154 file arch/sun3/dev/if_le.c le
155
156 # Sun3/60 on-board SCSI
157 attach si at obio with si_obio
158 file arch/sun3/dev/si_obio.c si_obio
159
160 # Sun3/80 on-board SCSI
161 attach esp at obio
162 file arch/sun3/dev/esp.c esp
163 device dma
164 attach dma at obio
165 file arch/sun3/dev/dma.c dma | esp
166
167 # Sun3/80 Floppy disk
168 device fdc {}
169 attach fdc at obio
170 device fd: disk
171 attach fd at fdc
172 file arch/sun3/dev/fd.c fdc | fd needs-flag
173
174 # Sun3/80 printer port
175 device pp
176 attach pp at obio
177 file arch/sun3/dev/pp.c pp needs-flag
178
179 #
180 # On-Board MEMory (OBMEM)
181 #
182
183 device bwtwo: fb
184 attach bwtwo at obmem
185 file arch/sun3/dev/bw2.c bwtwo needs-flag
186
187 device cgfour: fb
188 attach cgfour at obmem
189 file arch/sun3/dev/cg4.c cgfour needs-flag
190
191 #
192 # VME
193 #
194
195 attach ie at vme with ie_vme
196 file arch/sun3/dev/if_ie_vme.c ie_vme
197
198 attach si at vme with si_vme
199 file arch/sun3/dev/si_vme.c si_vme
200
201 # Sun3/E SCSI+Ethernet board
202 device sebuf {}
203 attach sebuf at vme
204 file arch/sun3/dev/sebuf.c sebuf
205 attach ie at sebuf with ie_sebuf
206 file arch/sun3/dev/if_ie_sebuf.c ie_sebuf
207 attach si at sebuf with si_sebuf
208 file arch/sun3/dev/si_sebuf.c si_sebuf
209
210 device cgtwo: fb
211 attach cgtwo at vme
212 file arch/sun3/dev/cg2.c cgtwo needs-flag
213
214 device xyc {drive = -1}
215 attach xyc at vme
216 device xy: disk
217 attach xy at xyc
218 file arch/sun3/dev/xy.c xy | xyc needs-flag
219
220 device xdc {drive = -1}
221 attach xdc at vme
222 device xd: disk
223 attach xd at xdc
224 file arch/sun3/dev/xd.c xd | xdc needs-flag
225
226
227 #
228 # Console (zs) related stuff
229 #
230
231 device zstty: tty
232 attach zstty at zsc
233 file dev/ic/z8530tty.c zstty needs-flag
234 file arch/sun3/dev/zs_kgdb.c kgdb
235
236 define zsevent
237 file dev/sun/event.c zsevent
238
239 device kbd: zsevent
240 attach kbd at zsc with kbd_zs
241 file dev/sun/kbd_zs.c kbd_zs
242 file dev/sun/kbdsun.c kbd_zs
243 file dev/sun/kbd.c kbd needs-flag
244 file dev/sun/kbd_tables.c kbd
245 file arch/sun3/dev/kd.c kbd
246
247 device ms: zsevent
248 attach ms at zsc with ms_zs
249 file dev/sun/ms_zs.c ms_zs
250 file dev/sun/ms.c ms needs-flag
251
252
253 # Memory Disk for boot tape
254 file dev/md_root.c memory_disk_hooks
255
256
257 #
258 # wscons
259 #
260
261 include "dev/wscons/files.wscons"
262 include "dev/wsfont/files.wsfont"
263
264 # Compatibility modules
265
266 # NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K)
267 include "compat/aoutm68k/files.aoutm68k"
268
269 # SunOS Binary Compatibility (COMPAT_SUNOS)
270 include "compat/sunos/files.sunos"
271 file arch/m68k/m68k/sunos_machdep.c compat_sunos
272
273 # SVR4 Binary Compatibility (COMPAT_SVR4)
274 include "compat/svr4/files.svr4"
275
276 # Linux binary compatibility (COMPAT_LINUX)
277 include "compat/linux/files.linux"
278 include "compat/linux/arch/m68k/files.linux_m68k"
279 file arch/m68k/m68k/linux_trap.c compat_linux
280
281 # OSS audio driver compatibility
282 include "compat/ossaudio/files.ossaudio"
283
284 include "arch/sun3/conf/majors.sun3"
285