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