files.sun3 revision 1.74.6.1 1 # $NetBSD: files.sun3,v 1.74.6.1 2006/11/18 21:29:34 ad 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/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_
42
43 include "arch/m68k/fpe/files.fpe"
44
45 # Console support
46 #file arch/sun3/sun3/cninit.c
47 file dev/cons.c
48
49 #
50 # Bus types
51 #
52
53 device mainbus {}
54 attach mainbus at root
55 file arch/sun3/sun3/mainbus.c
56
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_
62
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
67
68 # VME (unit encodes address/data sizes)
69 device vme {addr = -1, [ipl = -1], [vect = -1]}
70 attach vme at mainbus
71 file arch/sun3/sun3/vme.c vme
72
73 #
74 # Machine-independent SCSI drivers
75 #
76 include "dev/scsipi/files.scsipi"
77
78 #
79 # Devices and attributes needed below
80 #
81
82 device ie: ifnet, ether, arp
83 file arch/sun3/dev/if_ie.c ie
84
85 device si: scsi, ncr5380sbc
86 file arch/sun3/dev/si.c si
87
88 file arch/sun3/dev/fb.c fb needs-flag
89
90 #
91 # On-Board I/O (OBIO), in attach order.
92 # The following are all required.
93 #
94
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_
100
101 # Interrupt register
102 device intreg
103 attach intreg at obio
104 file arch/sun3/sun3/intreg.c intreg
105
106 # Memory error register
107 device memerr
108 attach memerr at obio
109 file arch/sun3/dev/memerr.c memerr
110
111 # Zilog Serial (ZS)
112 device zsc {channel = -1}
113 attach zsc at obio
114 file arch/sun3/dev/zs.c zsc needs-flag
115 file dev/ic/z8530sc.c zsc
116
117 # Intersil or Mostek clock
118 device clock: mk48txx
119 attach clock at obio
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_
124
125 # EEPROM (or NV-RAM)
126 device eeprom
127 attach eeprom at obio
128 file arch/sun3/dev/eeprom.c eeprom
129
130 # I/O MMU (a.k.a I/O mapper)
131 device iommu
132 attach iommu at obio
133 file arch/sun3/sun3x/iommu.c _sun3x_
134
135 #
136 # Optional OBIO devices
137 #
138
139 # device defined above
140 attach ie at obio with ie_obio
141 file arch/sun3/dev/if_ie_obio.c ie_obio
142
143 # device defined in sys/conf/files
144 attach le at obio: le24
145 file arch/sun3/dev/if_le.c le
146
147 # Sun3/60 on-board SCSI
148 attach si at obio with si_obio
149 file arch/sun3/dev/si_obio.c si_obio
150
151 # Sun3/80 on-board SCSI
152 attach esp at obio
153 file arch/sun3/dev/esp.c esp
154 device dma
155 attach dma at obio
156 file arch/sun3/dev/dma.c dma | esp
157
158 # Sun3/80 Floppy disk
159 device fdc {}
160 attach fdc at obio
161 device fd: disk
162 attach fd at fdc
163 file arch/sun3/dev/fd.c fdc | fd needs-flag
164
165 # Sun3/80 printer port
166 device pp
167 attach pp at obio
168 file arch/sun3/dev/pp.c pp needs-flag
169
170 #
171 # On-Board MEMory (OBMEM)
172 #
173
174 device bwtwo: fb
175 attach bwtwo at obmem
176 file arch/sun3/dev/bw2.c bwtwo needs-flag
177
178 device cgfour: fb
179 attach cgfour at obmem
180 file arch/sun3/dev/cg4.c cgfour needs-flag
181
182 #
183 # VME
184 #
185
186 attach ie at vme with ie_vme
187 file arch/sun3/dev/if_ie_vme.c ie_vme
188
189 attach si at vme with si_vme
190 file arch/sun3/dev/si_vme.c si_vme
191
192 # Sun3/E SCSI+Ethernet board
193 device sebuf {}
194 attach sebuf at vme
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
200
201 device cgtwo: fb
202 attach cgtwo at vme
203 file arch/sun3/dev/cg2.c cgtwo needs-flag
204
205 device xyc {drive = -1}
206 attach xyc at vme
207 device xy: disk
208 attach xy at xyc
209 file arch/sun3/dev/xy.c xy | xyc needs-flag
210
211 device xdc {drive = -1}
212 attach xdc at vme
213 device xd: disk
214 attach xd at xdc
215 file arch/sun3/dev/xd.c xd | xdc needs-flag
216
217
218 #
219 # Console (zs) related stuff
220 #
221
222 device zstty: tty
223 attach zstty at zsc
224 file dev/ic/z8530tty.c zstty needs-flag
225 file arch/sun3/dev/zs_kgdb.c kgdb
226
227 define zsevent
228 file dev/sun/event.c zsevent
229
230 device kbd: 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
237
238 device ms: zsevent
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
242
243
244 # Memory Disk for boot tape
245 file dev/md_root.c memory_disk_hooks
246
247
248 #
249 # wscons
250 #
251
252 include "dev/wscons/files.wscons"
253 include "dev/wsfont/files.wsfont"
254
255 # Compatibility modules
256
257 # NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K)
258 include "compat/aoutm68k/files.aoutm68k"
259
260 # SunOS Binary Compatibility (COMPAT_SUNOS)
261 include "compat/sunos/files.sunos"
262 file arch/m68k/m68k/sunos_machdep.c compat_sunos
263
264 # SVR4 Binary Compatibility (COMPAT_SVR4)
265 include "compat/svr4/files.svr4"
266
267 # Linux binary compatibility (COMPAT_LINUX)
268 include "compat/linux/files.linux"
269 include "compat/linux/arch/m68k/files.linux_m68k"
270 file arch/m68k/m68k/linux_trap.c compat_linux
271
272 # OSS audio driver compatibility
273 include "compat/ossaudio/files.ossaudio"
274
275 include "arch/sun3/conf/majors.sun3"
276