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
|
# $NetBSD: files.sparc,v 1.23 1996/05/21 19:06:26 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 vmel { [addr = -1], [level = -1], [vect = -1] }
attach vmel at mainbus
device vmes { [addr = -1], [level = -1], [vect = -1] }
attach vmes at mainbus
file arch/sparc/dev/obio.c obio | vmel | vmes
device audio
attach audio at mainbus, obio
file arch/sparc/dev/amd7930.c audio
device auxreg
attach auxreg at mainbus, obio
file arch/sparc/sparc/auxreg.c
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
device power
attach power at obio
file arch/sparc/dev/power.c power
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
attach zs at mainbus, obio
file arch/sparc/dev/zs.c zs needs-count
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 iommu {}
attach iommu at mainbus
file arch/sparc/sparc/iommu.c iommu
device sbus { slot = -1, offset = -1 }
attach sbus at mainbus, iommu
file arch/sparc/dev/sbus.c sbus
#
# Machine-independent SCSI drivers
#
include "../../../scsi/files.scsi"
major { sd = 7 }
major { vnd = 8 }
major { cd = 18 }
device dma {}
attach dma at sbus, obio
device ledma {}
attach ledma at sbus
file arch/sparc/dev/dma.c dma | ledma
device esp: scsi
attach esp at sbus, dma, obio
file arch/sparc/dev/esp.c esp
# Brooktree DAC attribute
define bt_dac
device bwtwo
attach bwtwo at sbus, obio, vmes, vmel
file arch/sparc/dev/bwtwo.c bwtwo needs-flag
device cgtwo
attach cgtwo at sbus, obio, vmes
file arch/sparc/dev/cgtwo.c cgtwo needs-flag
device cgthree: bt_dac
attach cgthree at sbus
file arch/sparc/dev/cgthree.c cgthree needs-flag
device cgfour: bt_dac
attach cgfour at obio
file arch/sparc/dev/cgfour.c cgfour needs-flag
device cgsix: bt_dac
attach cgsix at sbus, obio
file arch/sparc/dev/cgsix.c cgsix needs-flag
device cgeight: bt_dac
attach cgeight at obio
file arch/sparc/dev/cgeight.c cgeight needs-flag
file arch/sparc/dev/bt_subr.c bt_dac
# device definition in sys/conf/files
attach le at sbus, ledma, obio
file arch/sparc/dev/if_le.c le
device ie: ifnet, ether
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
pseudo-device kbd
file arch/sparc/dev/cons.c
file arch/sparc/dev/event.c
file arch/sparc/dev/fb.c
file arch/sparc/dev/ms.c
file arch/sparc/dev/kbd.c kbd
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
# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
# identified the exact problem yet. NOOPT_C suffices for now.
file arch/sparc/sparc/autoconf.c
file arch/sparc/sparc/amd7930intr.s audio
file arch/sparc/sparc/cache.c
file arch/sparc/sparc/conf.c
file arch/sparc/sparc/in_cksum.c
file arch/sparc/sparc/intr.c
file arch/sparc/sparc/kgdb_stub.c
# sparc/sparc/locore.s is handled specially in the makefile,
# because it must come first in the "ld" command line.
file arch/sparc/sparc/locore2.c
file arch/sparc/sparc/machdep.c
file arch/sparc/sparc/process_machdep.c
file arch/sparc/sparc/mem.c
file arch/sparc/sparc/openprom.c
file arch/sparc/sparc/pmap.c
# the following overrides the generic "sys_process.c"
# commented out by deraadt
#file arch/sparc/sparc/sys_process.c
file arch/sparc/sparc/sys_machdep.c
file arch/sparc/sparc/trap.c
file arch/sparc/sparc/vm_machdep.c
file arch/sparc/sparc/disksubr.c
file kludge_for_in_proto.c hy needs-flag
file arch/sparc/sparc/db_interface.c ddb
file arch/sparc/sparc/db_trace.c ddb
file arch/sparc/sparc/db_disasm.c ddb
#
# Raster Console
#
include "../../../dev/rcons/files.rcons"
#
# 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"
# Miscellaneous
file netns/ns_cksum.c ns
|