1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
|
# $OpenBSD: files.sparc,v 1.71 2006/02/12 12:02:26 miod Exp $
# $NetBSD: files.sparc,v 1.44 1997/08/31 21:29:16 pk Exp $
# @(#)files.sparc 8.1 (Berkeley) 7/19/93
# sparc-specific configuration info
# maxpartitions must be first item in files.${ARCH}.newconf
maxpartitions 16
maxusers 2 8 64
device mainbus {}
attach mainbus at root
device obio {[addr = -1], [level = -1]}
attach obio at mainbus
device iommu {}
attach iommu at mainbus
file arch/sparc/sparc/iommu.c iommu
device vme {}
attach vme at iommu
device vmel {[addr = -1], [level = -1], [vect = -1]}
attach vmel at mainbus, vme
device vmes {[addr = -1], [level = -1], [vect = -1]}
attach vmes at mainbus, vme
file arch/sparc/dev/obio.c (obio | vmel | vmes | vme) & !solbourne
device auxreg
attach auxreg at mainbus, obio
file arch/sparc/sparc/auxreg.c auxreg needs-flag
device clock
attach clock at mainbus, obio
device oclock
attach oclock at obio
device timer
attach timer at mainbus, obio
device eeprom
attach eeprom at obio
file arch/sparc/sparc/clock.c !solbourne
device power
attach power at obio
file arch/sparc/dev/power.c power needs-count
device led
attach led at mainbus, obio
file arch/sparc/dev/led.c led needs-count
device cpu
attach cpu at mainbus
file arch/sparc/sparc/cpu.c
device memreg
attach memreg at mainbus, obio
file arch/sparc/sparc/memreg.c
device zs {[channel = -1]}
attach zs at mainbus, obio
file arch/sparc/dev/zs.c zs needs-flag
file arch/sparc/dev/z8530sc.c zs
device fdc {}
attach fdc at mainbus, obio
device fd: disk
attach fd at fdc
file arch/sparc/dev/fd.c fdc | fd needs-flag
file arch/sparc/sparc/bsd_fdintr.s fdc
device xbox {}
device sbus {[slot = -1], [offset = -1]}
attach sbus at mainbus, iommu, sbus, xbox
file arch/sparc/dev/sbus.c sbus
# Sun specific files
include "../../../dev/sun/files.sun"
#
# Console (zs) related stuff
#
device zstty: tty
attach zstty at zs
file arch/sparc/dev/z8530tty.c zstty needs-flag
file arch/sparc/dev/zs_kgdb.c kgdb
device zskbd: tty, wskbddev, sunkbd
attach zskbd at zs
file arch/sparc/dev/z8530kbd.c zskbd needs-flag
#
# Media Independent Interface (mii)
#
include "../../../dev/mii/files.mii"
#
# Machine-independent SCSI drivers
#
include "../../../scsi/files.scsi"
major {sd = 7}
major {vnd = 8}
major {cd = 18}
major {rd = 17}
device dma {}
attach dma at sbus, obio
device ledma {}
attach ledma at sbus
file arch/sparc/dev/dma.c dma | ledma
device lebuffer {}
attach lebuffer at sbus
file arch/sparc/dev/lebuffer.c lebuffer
device qec {}
attach qec at sbus
file arch/sparc/dev/qec.c qec
device be: ifnet, ether, ifmedia
attach be at qec
file arch/sparc/dev/be.c be
device qe: ifnet, ether, ifmedia
attach qe at qec
file arch/sparc/dev/qe.c qe
# HappyMeal (hme) ethernet
device hme: ifnet, ether, mii, ifmedia
attach hme at sbus
file arch/sparc/dev/hme.c hme
attach esp at sbus, dma, obio
file arch/sparc/dev/esp.c esp
device audioamd: audio, mulaw
attach audioamd at mainbus, obio, sbus
file arch/sparc/dev/amd7930.c audio
file arch/sparc/sparc/amd7930intr.s audio
device audiocs: audio, auconv
attach audiocs at sbus
file arch/sparc/dev/cs4231.c audiocs
# Framebuffers
file arch/sparc/dev/fb.c
include "dev/wscons/files.wscons"
include "dev/rasops/files.rasops"
include "dev/wsfont/files.wsfont"
define bt_dac
file arch/sparc/dev/bt_subr.c bt_dac
device agten: wsemuldisplaydev, rasops8, wsemul_sun
attach agten at sbus
file arch/sparc/dev/agten.c agten
device bwtwo: wsemuldisplaydev, rasops1, wsemul_sun
attach bwtwo at sbus, obio, vmes, vmel
file arch/sparc/dev/bwtwo.c bwtwo
device cgeight: wsemuldisplaydev, rasops24, wsemul_sun, bt_dac
attach cgeight at obio
file arch/sparc/dev/cgeight.c cgeight
device cgfour: wsemuldisplaydev, rasops8, wsemul_sun, bt_dac
attach cgfour at obio
file arch/sparc/dev/cgfour.c cgfour
device cgfourteen: wsemuldisplaydev, rasops8, wsemul_sun
attach cgfourteen at obio
file arch/sparc/dev/cgfourteen.c cgfourteen
device cgsix: wsemuldisplaydev, rasops8, wsemul_sun, bt_dac
attach cgsix at sbus, obio
file arch/sparc/dev/cgsix.c cgsix
device cgthree: wsemuldisplaydev, rasops8, wsemul_sun, bt_dac
attach cgthree at sbus
file arch/sparc/dev/cgthree.c cgthree
device cgtwelve: wsemuldisplaydev, rasops1, wsemul_sun
attach cgtwelve at sbus
file arch/sparc/dev/cgtwelve.c cgtwelve
device cgtwo: wsemuldisplaydev, rasops8, wsemul_sun
attach cgtwo at sbus, obio, vmes
file arch/sparc/dev/cgtwo.c cgtwo
device mgx: wsemuldisplaydev, rasops8, wsemul_sun
attach mgx at sbus
file arch/sparc/dev/mgx.c mgx
# Onboard Weitek P9000 found on Tadpole SPARCbook 3, and BT ``Chameleon'' RAMDAC
device pninek: wsemuldisplaydev, rasops8, wsemul_sun, bt_dac
attach pninek at sbus
file arch/sparc/dev/p9000.c pninek
device btcham
attach btcham at obio
file arch/sparc/dev/bt445.c btcham
# Onboard Weitek p9100 found on Tadpole SPARCbook 3GS/3GX/3TX/3XP
device pnozz: wsemuldisplaydev, rasops8, rasops16, rasops24, rasops32, wsemul_sun, bt_dac
attach pnozz at sbus
file arch/sparc/dev/p9100.c pnozz
device rfx: wsemuldisplaydev, rasops8, wsemul_sun
attach rfx at sbus
file arch/sparc/dev/rfx.c rfx
device tcx: wsemuldisplaydev, rasops8, wsemul_sun, bt_dac
attach tcx at sbus
file arch/sparc/dev/tcx.c tcx
device tvtwo: wsemuldisplaydev, rasops8, wsemul_sun
attach tvtwo at sbus
file arch/sparc/dev/tvtwo.c tvtwo
device vigra: wsemuldisplaydev, rasops8, wsemul_sun
attach vigra at sbus
file arch/sparc/dev/vigra.c vigra
device zx: wsemuldisplaydev, rasops32, wsemul_sun
attach zx at sbus
file arch/sparc/dev/zx.c zx
# device definition in sys/conf/files
attach le at sbus, ledma, lebuffer, obio
file arch/sparc/dev/if_le.c le
attach ie at obio, vmes, vmel
file arch/sparc/dev/if_ie.c ie
device xdc {[drive = -1]}
attach xdc at vmel
device xd: disk
attach xd at xdc
file arch/sparc/dev/xd.c xd needs-flag
major {xd = 10}
device xyc {[drive = -1]}
attach xyc at vmes
device xy: disk
attach xy at xyc
file arch/sparc/dev/xy.c xy needs-flag
major {xy = 3}
device si: scsi, ncr5380sbc
attach si at vmes
device sw: scsi, ncr5380sbc
attach sw at obio
file arch/sparc/dev/si.c si | sw
# Efficient Networks, Inc. ATM interface
# device declaration in sys/conf/files
#attach en at sbus with en_sbus
#file arch/sparc/dev/if_en_sbus.c en_sbus
# Qlogic ISP 10x0 (Sbus) family
# device declaration in sys/conf/files
attach isp at sbus with isp_sbus
file arch/sparc/dev/isp_sbus.c isp_sbus
#
# Generic Sparc stuff
#
file arch/sparc/fpu/fpu.c
file arch/sparc/fpu/fpu_add.c
file arch/sparc/fpu/fpu_compare.c
file arch/sparc/fpu/fpu_div.c
file arch/sparc/fpu/fpu_explode.c
file arch/sparc/fpu/fpu_implode.c
file arch/sparc/fpu/fpu_mul.c
file arch/sparc/fpu/fpu_sqrt.c
file arch/sparc/fpu/fpu_subr.c
file arch/sparc/sparc/autoconf.c !solbourne
file arch/sparc/sparc/cache.c
file arch/sparc/sparc/conf.c
file arch/sparc/sparc/emul.c
file arch/sparc/sparc/in_cksum.c inet
file arch/sparc/sparc/intr.c
file arch/sparc/sparc/kgdb_machdep.c kgdb
file arch/sparc/sparc/locore2.c
file arch/sparc/sparc/machdep.c !solbourne
file arch/sparc/sparc/process_machdep.c
file arch/sparc/sparc/mem.c !solbourne
file arch/sparc/sparc/openprom.c !solbourne
file arch/sparc/sparc/pmap.c !solbourne
file arch/sparc/sparc/sys_machdep.c
file arch/sparc/sparc/trap.c !solbourne
file arch/sparc/sparc/vm_machdep.c
file arch/sparc/sparc/disksubr.c
file arch/sparc/sparc/db_interface.c ddb | kgdb
file arch/sparc/sparc/db_trace.c ddb
file arch/sparc/sparc/db_disasm.c ddb
#
# Compatibility modules
#
# SVR4 Binary Compatibility (COMPAT_SVR4)
include "../../../compat/svr4/files.svr4"
file arch/sparc/sparc/svr4_machdep.c compat_svr4
file arch/sparc/sparc/sunos_machdep.c compat_sunos
# SunOS Binary Compatibility (COMPAT_SUNOS)
include "../../../compat/sunos/files.sunos"
# Magma Serial/Parallel boards
device magma {}
attach magma at sbus
device mtty
attach mtty at magma
device mbpp
attach mbpp at magma
file arch/sparc/dev/magma.c magma | mtty | mbpp needs-flag
device spif {}
attach spif at sbus
device stty
attach stty at spif
device sbpp
attach sbpp at spif
file arch/sparc/dev/spif.c spif | stty | sbpp needs-flag
device bpp {}
attach bpp at sbus
file arch/sparc/dev/bpp.c bpp needs-flag
attach xbox at sbus
file arch/sparc/dev/xbox.c xbox
# sysconfig registers on Force CPU-5V
device scf {}
attach scf at mainbus
file arch/sparc/dev/scf.c scf needs-flag
# flash memory on Force CPU-5V
device flash {}
attach flash at obio
file arch/sparc/dev/flash.c flash needs-flag
# VME/SBus bridge on Force CPU-5V
device fga {}
attach fga at iommu
device fvme {[addr = -1], [level = -1], [vect = -1]}
attach fvme at fga
file arch/sparc/dev/fga.c fga needs-flag
device daadio {}
attach daadio at fvme
file arch/sparc/dev/daadio.c daadio needs-flag
device tctrl {}
attach tctrl at obio
file arch/sparc/dev/tctrl.c tctrl needs-flag
# Prestoserve NVRAM
device presto: disk
attach presto at sbus
file arch/sparc/dev/presto.c presto needs-flag
# PCMCIA devices
device tslot: pcmciabus
attach tslot at sbus
file arch/sparc/dev/ts102.c tslot
device stp: pcmciabus
attach stp at sbus with stp_sbus
file dev/sbus/stp4020.c stp
file arch/sparc/dev/stp_sbus.c stp_sbus
include "dev/pcmcia/files.pcmcia"
# built-in modem on Tadpole SPARCbook
attach com at obio with com_obio
file arch/sparc/dev/com_obio.c com_obio
|