files.sparc64 revision 1.34 1 # $NetBSD: files.sparc64,v 1.34 2000/07/26 13:39:39 pk Exp $
2
3 # @(#)files.sparc64 8.1 (Berkeley) 7/19/93
4 # sparc64-specific configuration info
5
6 # maxpartitions must be first item in files.${ARCH}
7 maxpartitions 8
8
9 maxusers 2 8 1024
10
11 #
12 # XXXXXXXXXXX
13 #
14 # These files must be compiled w/no omtimization in 64-bit mode
15 #
16
17 file net/if_ppp.c compile-with "${NOOPT_C}"
18 file net/if_loop.c compile-with "${NOOPT_C}"
19 file net/if_sl.c compile-with "${NOOPT_C}"
20 file ufs/lfs/lfs_debug.c compile-with "${NOOPT_C}"
21
22 #
23 # XXXXXXXXXXX
24 #
25
26 define mainbus {}
27 device mainbus: pcibus, mainbus
28 attach mainbus at root
29
30 device pcons
31 attach pcons at mainbus
32 file arch/sparc64/dev/pcons.c pcons needs-flag
33
34 include "dev/sbus/files.sbus"
35 attach sbus at mainbus
36 file arch/sparc64/dev/sbus.c sbus
37
38 device psycho: pcibus
39 attach psycho at mainbus
40 include "dev/pci/files.pci"
41 file arch/sparc64/dev/psycho.c psycho
42 file arch/sparc64/dev/pci_machdep.c psycho
43
44 # IOMMU is for both
45 file arch/sparc64/dev/iommu.c sbus | psycho
46
47 # can't use ppb for SUNW,simba
48 device simba: pcibus
49 attach simba at pci
50 file arch/sparc64/dev/simba.c simba
51
52 include "dev/ata/files.ata"
53 file arch/sparc64/dev/pciide_machdep.c pciide
54
55 device ebus {[addr = -1]}: pcibus
56 attach ebus at pci
57 file arch/sparc64/dev/ebus.c ebus
58
59 # network devices MII bus
60 include "dev/mii/files.mii"
61
62 device clock: mk48txx
63 attach clock at mainbus, sbus with clock_sbus
64 attach clock at ebus with clock_ebus
65
66 device timer
67 attach timer at mainbus, sbus
68
69 device eeprom
70 attach eeprom at sbus, ebus
71 file arch/sparc64/sparc64/clock.c
72 file dev/clock_subr.c
73
74 device power
75 attach power at sbus, ebus
76 file arch/sparc64/dev/power.c power
77
78 device cpu
79 attach cpu at mainbus
80 file arch/sparc64/sparc64/cpu.c
81
82 device zs {channel = -1}
83 attach zs at mainbus, sbus
84 file arch/sparc64/dev/zs.c zs needs-count
85 file dev/ic/z8530sc.c zs
86
87 # siemens SAB82532; found on U5/U10/... for tty ports.
88 #device sab {channel = -1}
89 #attach sab at ebus
90 #file arch/sparc64/dev/sab_ebus.c sab
91 #file dev/ic/sab82532.c sab
92
93 # "com" attachments for the kbd/mouse of the U5/U10/...
94 #device ucom {}
95 #attach ucom at ebus with com
96 #file arch/sparc64/dev/ucom_ebus.c ucom
97
98 # XXX bogus; this is in dev/isa/files.isa. fix me please!
99 # XXX we should attach a `bpp'-style device here rather than
100 # `lpt' because the `bpp' driver supports DMA.
101 device lpt
102 file dev/ic/lpt.c lpt needs-flag
103
104 device auxio
105 attach auxio at ebus with auxio_ebus
106 attach auxio at sbus with auxio_sbus
107 file arch/sparc64/dev/auxio.c auxio
108
109 attach lpt at ebus with lpt_ebus
110 file arch/sparc64/dev/lpt_ebus.c lpt_ebus
111
112 device fdc {}
113 attach fdc at mainbus, sbus, ebus
114 # attach fdc at ebus
115 device fd: disk
116 attach fd at fdc
117 file dev/sun/fd.c fdc | fd needs-flag
118 file arch/sparc64/sparc64/bsd_fdintr.s fdc
119
120 attach audiocs at ebus with audiocs_ebus
121 file arch/sparc64/dev/cs4231_ebus.c audiocs_ebus
122
123 #
124 # Console (zs) related stuff
125 #
126
127 device zstty: tty
128 attach zstty at zs
129 file dev/ic/z8530tty.c zstty needs-flag
130 file arch/sparc/dev/zs_kgdb.c kgdb
131
132 #device sabtty: tty
133 #attach sabtty at sab
134 #file dev/ic/sabtty.c sabtty needs-flag
135
136 define zsevent
137 file dev/sun/event.c zsevent
138
139 device kbd: zsevent
140 attach kbd at zs with kbd_zs
141 #attach kbd at ucom with kbd_ucom
142 file dev/sun/kbd_zs.c kbd_zs
143 file dev/sun/kbd.c kbd needs-flag
144 file dev/sun/kbd_tables.c kbd
145 file arch/sparc64/dev/kd.c kbd
146 #file arch/sparc64/dev/kbd_ucom.c kbd_ucom
147
148 device ms: zsevent
149 attach ms at zs with ms_zs
150 #attach ms at ucom with ms_ucom
151 file dev/sun/ms_zs.c ms_zs
152 file dev/sun/ms.c ms needs-flag
153 #file arch/sparc64/dev/ms_ucom.c ms_ucom
154
155
156 #
157 # Machine-independent SCSI drivers
158 #
159 include "dev/scsipi/files.scsipi"
160
161 major { cd = 18 }
162 major { fd = 16 }
163 major { md = 5 }
164 major { sd = 7 }
165 major { wd = 12 }
166
167 # RAIDframe
168 major { raid = 25 }
169
170 # Brooktree DAC attribute
171 define bt_dac
172
173 device bwtwo
174 attach bwtwo at sbus
175 file arch/sparc64/dev/bwtwo.c bwtwo needs-flag
176
177 device cgtwo
178 attach cgtwo at sbus
179 file arch/sparc64/dev/cgtwo.c cgtwo needs-flag
180
181 device cgthree: bt_dac
182 attach cgthree at sbus
183 file arch/sparc64/dev/cgthree.c cgthree needs-flag
184
185 device cgfour: bt_dac
186 attach cgfour at sbus
187 file arch/sparc64/dev/cgfour.c cgfour needs-flag
188
189 device cgsix: bt_dac
190 attach cgsix at sbus
191 file arch/sparc64/dev/cgsix.c cgsix needs-flag
192 file arch/sparc64/dev/cgsix_sbus.c cgsix needs-flag
193
194 device cgeight: bt_dac
195 attach cgeight at sbus
196 file arch/sparc64/dev/cgeight.c cgeight needs-flag
197
198 device tcx: bt_dac
199 attach tcx at sbus
200 file arch/sparc64/dev/tcx.c tcx needs-flag
201
202 device cgfourteen
203 attach cgfourteen at sbus
204 file arch/sparc64/dev/cgfourteen.c cgfourteen needs-flag
205
206 file arch/sparc64/dev/bt_subr.c bt_dac
207
208 #
209 # Generic Sun stuff
210 #
211
212 file dev/cons.c
213 file arch/sparc64/dev/fb.c
214 file arch/sparc64/dev/consinit.c
215
216 file arch/sparc/fpu/fpu.c
217 file arch/sparc/fpu/fpu_add.c
218 file arch/sparc/fpu/fpu_compare.c
219 file arch/sparc/fpu/fpu_div.c
220 file arch/sparc/fpu/fpu_explode.c
221 file arch/sparc/fpu/fpu_implode.c
222 file arch/sparc/fpu/fpu_mul.c
223 file arch/sparc/fpu/fpu_sqrt.c
224 file arch/sparc/fpu/fpu_subr.c
225
226 # N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
227 # identified the exact problem yet. NOOPT_C suffices for now.
228 file arch/sparc64/sparc64/autoconf.c
229 file arch/sparc64/sparc64/cache.c
230 file arch/sparc64/sparc64/conf.c
231 file arch/sparc64/sparc64/emul.c
232 file arch/sparc64/sparc64/in_cksum.c
233 file netinet/in4_cksum.c inet
234 file arch/sparc64/sparc64/intr.c
235 file arch/sparc64/sparc64/kgdb_machdep.c kgdb
236 # sparc/sparc/locore.s is handled specially in the makefile,
237 # because it must come first in the "ld" command line.
238 file arch/sparc64/sparc64/locore2.c
239 file arch/sparc64/sparc64/machdep.c
240 file arch/sparc64/sparc64/process_machdep.c
241 file arch/sparc64/sparc64/mem.c
242 file arch/sparc64/sparc64/openprom.c
243 file arch/sparc64/sparc64/openfirm.c
244 file arch/sparc64/sparc64/ofw_machdep.c
245 file arch/sparc64/sparc64/pmap.c
246 # the following overrides the generic "sys_process.c"
247 # commented out by deraadt
248 #file arch/sparc64/sparc64/sys_process.c
249 file arch/sparc64/sparc64/sys_machdep.c
250 file arch/sparc64/sparc64/trap.c
251 file arch/sparc64/sparc64/vm_machdep.c
252 file arch/sparc64/sparc64/disksubr.c
253
254 file arch/sparc64/sparc64/db_interface.c ddb | kgdb
255 file arch/sparc64/sparc64/db_trace.c ddb
256 file arch/sparc64/sparc64/db_disasm.c ddb
257 #file ddb/db_aout.c ddb_aout
258 #file ddb/db_elf.c ddb
259
260 #
261 # Raster Console
262 #
263 include "dev/rcons/files.rcons"
264 include "dev/rasops/files.rasops"
265 include "dev/wsfont/files.wsfont"
266
267 #
268 # Compatibility modules
269 #
270
271 # Binary compatiblity with previous NetBSD releases.
272 file arch/sparc64/sparc64/compat_13_machdep.c compat_13
273
274 # NetBSD/sparc 32-bit Binary compatibility (COMPAT_NETBSD32)
275 include "compat/netbsd32/files.netbsd32"
276 file arch/sparc64/sparc64/netbsd32_machdep.c compat_netbsd32
277
278 # NetBSD a.out Binary Compatibility (COMPAT_AOUT)
279 include "compat/aout/files.aout"
280
281 # SVR4 Binary Compatibility (COMPAT_SVR4)
282 include "compat/svr4/files.svr4"
283 file arch/sparc64/sparc64/svr4_machdep.c compat_svr4
284
285 # SunOS Binary Compatibility (COMPAT_SUNOS)
286 include "compat/sunos/files.sunos"
287 file arch/sparc64/sparc64/sunos_machdep.c compat_sunos
288
289 # Miscellaneous
290 file netns/ns_cksum.c ns
291
292 file arch/sparc64/dev/md_root.c memory_disk_hooks
293