files.sparc64 revision 1.172 1 1.172 jdc # $NetBSD: files.sparc64,v 1.172 2026/07/26 12:55:51 jdc Exp $
2 1.1 eeh
3 1.1 eeh # @(#)files.sparc64 8.1 (Berkeley) 7/19/93
4 1.1 eeh # sparc64-specific configuration info
5 1.1 eeh
6 1.1 eeh # maxpartitions must be first item in files.${ARCH}
7 1.1 eeh maxpartitions 8
8 1.1 eeh
9 1.1 eeh maxusers 2 8 1024
10 1.56 darrenr
11 1.144 nakayama defflag opt_sparc_arch.h SUN4U SUN4V
12 1.1 eeh
13 1.20 mrg define mainbus {}
14 1.154 nakayama device mainbus: mainbus, ofw_subr
15 1.1 eeh attach mainbus at root
16 1.29 eeh
17 1.123 martin define upa {}
18 1.123 martin device upa: upa
19 1.123 martin attach upa at mainbus
20 1.123 martin file arch/sparc64/dev/upa.c
21 1.123 martin
22 1.29 eeh device pcons
23 1.29 eeh attach pcons at mainbus
24 1.29 eeh file arch/sparc64/dev/pcons.c pcons needs-flag
25 1.1 eeh
26 1.35 pk include "dev/sun/files.sun"
27 1.39 ad include "dev/i2o/files.i2o"
28 1.35 pk
29 1.17 kleink include "dev/sbus/files.sbus"
30 1.20 mrg attach sbus at mainbus
31 1.1 eeh file arch/sparc64/dev/sbus.c sbus
32 1.14 mrg
33 1.76 martin device psycho: pcibus, sysmon_power, sysmon_taskq
34 1.55 lukem attach psycho at mainbus
35 1.148 nakayama device schizo: pcibus
36 1.120 mrg attach schizo at mainbus
37 1.148 nakayama device pyro: pcibus
38 1.129 mrg attach pyro at mainbus
39 1.148 nakayama device vpci: pcibus
40 1.147 palle attach vpci at mainbus
41 1.20 mrg include "dev/pci/files.pci"
42 1.142 macallan file arch/sparc64/dev/psycho.c psycho needs-flag
43 1.120 mrg file arch/sparc64/dev/schizo.c schizo
44 1.129 mrg file arch/sparc64/dev/pyro.c pyro
45 1.147 palle file arch/sparc64/dev/vpci.c vpci
46 1.147 palle file arch/sparc64/dev/pci_machdep.c psycho | schizo | pyro | vpci
47 1.20 mrg
48 1.156 macallan device jbusi2c: i2cexec, i2c_bitbang, i2cbus
49 1.156 macallan attach jbusi2c at mainbus
50 1.156 macallan file arch/sparc64/dev/jbus-i2c.c jbusi2c
51 1.156 macallan
52 1.170 jdc device firei2c: i2cexec, i2cbus
53 1.170 jdc attach firei2c at mainbus
54 1.170 jdc file arch/sparc64/dev/fire_i2c.c firei2c
55 1.170 jdc
56 1.134 mrg define central {}
57 1.134 mrg device central: central
58 1.134 mrg attach central at mainbus
59 1.134 mrg file arch/sparc64/dev/central.c central
60 1.134 mrg
61 1.134 mrg define fhc {}
62 1.134 mrg device fhc: fhc
63 1.134 mrg attach fhc at mainbus with fhc_mainbus
64 1.134 mrg attach fhc at central with fhc_central
65 1.134 mrg file arch/sparc64/dev/fhc.c fhc
66 1.134 mrg file arch/sparc64/dev/fhc_central.c fhc_central
67 1.134 mrg file arch/sparc64/dev/fhc_mainbus.c fhc_mainbus
68 1.134 mrg
69 1.20 mrg # IOMMU is for both
70 1.147 palle file arch/sparc64/dev/iommu.c sbus | psycho | schizo | pyro | vpci
71 1.20 mrg
72 1.20 mrg include "dev/ata/files.ata"
73 1.20 mrg
74 1.165 thorpej device ebus {[addr = -1]}
75 1.20 mrg attach ebus at pci
76 1.20 mrg file arch/sparc64/dev/ebus.c ebus
77 1.129 mrg attach ebus at mainbus with ebus_mainbus
78 1.129 mrg file arch/sparc64/dev/ebus_mainbus.c ebus_mainbus
79 1.1 eeh
80 1.150 palle device vbus {}
81 1.150 palle attach vbus at mainbus
82 1.150 palle file arch/sparc64/dev/vbus.c vbus
83 1.150 palle
84 1.151 palle device cbus {}
85 1.151 palle attach cbus at vbus
86 1.151 palle file arch/sparc64/dev/cbus.c cbus
87 1.151 palle
88 1.105 mrg device clock: mk48txx
89 1.107 tsutsui attach clock at sbus with mkclock_sbus
90 1.107 tsutsui attach clock at ebus with mkclock_ebus
91 1.134 mrg attach clock at fhc with mkclock_fhc
92 1.107 tsutsui file arch/sparc64/dev/mkclock.c clock
93 1.51 eeh
94 1.85 tsutsui device rtc: mc146818
95 1.51 eeh attach rtc at ebus with rtc_ebus
96 1.105 mrg file arch/sparc64/dev/rtc.c rtc
97 1.1 eeh
98 1.171 jdc device bq4802rtc: sysmon_envsys
99 1.169 jdc attach bq4802rtc at ebus with bq4802rtc_ebus
100 1.169 jdc file arch/sparc64/dev/bq4802_ebus.c bq4802rtc
101 1.169 jdc
102 1.172 jdc device auxfan: sysmon_envsys
103 1.172 jdc attach auxfan at iic
104 1.172 jdc file arch/sparc64/dev/auxfan.c auxfan
105 1.172 jdc
106 1.148 nakayama device psm: sysmon_power
107 1.101 gdamore attach psm at ebus
108 1.101 gdamore file arch/sparc64/dev/psm.c psm
109 1.101 gdamore
110 1.1 eeh device timer
111 1.11 pk attach timer at mainbus, sbus
112 1.1 eeh
113 1.148 nakayama device tda: sysmon_envsys
114 1.125 martin attach tda at iic
115 1.125 martin file arch/sparc64/dev/tda.c tda
116 1.125 martin
117 1.167 thorpej attach pcfiic at ebus with pcfiic_ebus
118 1.167 thorpej file arch/sparc64/dev/pcfiic_ebus.c pcfiic_ebus
119 1.125 martin
120 1.148 nakayama device ecadc: sysmon_envsys
121 1.125 martin attach ecadc at iic
122 1.126 nakayama file arch/sparc64/dev/pcf8591_envctrl.c ecadc
123 1.110 tnn
124 1.121 nakayama device lom: sysmon_envsys, sysmon_wdog
125 1.121 nakayama attach lom at ebus
126 1.121 nakayama file arch/sparc64/dev/lom.c lom
127 1.121 nakayama
128 1.1 eeh device cpu
129 1.1 eeh attach cpu at mainbus
130 1.1 eeh file arch/sparc64/sparc64/cpu.c
131 1.1 eeh
132 1.26 mrg device auxio
133 1.27 mrg attach auxio at ebus with auxio_ebus
134 1.27 mrg attach auxio at sbus with auxio_sbus
135 1.27 mrg file arch/sparc64/dev/auxio.c auxio
136 1.149 martin file arch/sparc64/dev/auxio_sbus.c auxio_sbus
137 1.149 martin file arch/sparc64/dev/auxio_ebus.c auxio_ebus
138 1.79 heas
139 1.79 heas defflag opt_auxio.h BLINK
140 1.21 mrg
141 1.89 jdolecek attach lpt at ebus with lpt_ebus
142 1.20 mrg file arch/sparc64/dev/lpt_ebus.c lpt_ebus
143 1.20 mrg
144 1.1 eeh device fdc {}
145 1.104 jnemeth attach fdc at sbus with fdc_sbus
146 1.104 jnemeth attach fdc at ebus with fdc_ebus
147 1.1 eeh device fd: disk
148 1.1 eeh attach fd at fdc
149 1.104 jnemeth file arch/sparc64/dev/fdc.c fdc | fd needs-flag
150 1.1 eeh
151 1.21 mrg attach audiocs at ebus with audiocs_ebus
152 1.59 uwe file dev/ebus/cs4231_ebus.c audiocs_ebus
153 1.61 martin
154 1.159 jdc include "dev/sdmmc/files.sdmmc"
155 1.159 jdc attach wb at ebus with wb_ebus
156 1.161 jdc file arch/sparc64/dev/wb_ebus.c wb_ebus
157 1.159 jdc
158 1.61 martin # PCMCIA bus (references fdc)
159 1.61 martin include "dev/pcmcia/files.pcmcia"
160 1.75 nakayama
161 1.75 nakayama # CardBus Support
162 1.75 nakayama include "dev/cardbus/files.cardbus"
163 1.75 nakayama file arch/sparc64/sparc64/rbus_machdep.c cardbus
164 1.21 mrg
165 1.1 eeh #
166 1.41 eeh # Console related stuff
167 1.1 eeh #
168 1.1 eeh
169 1.41 eeh device zs {channel = -1}
170 1.135 mrg attach zs at sbus
171 1.135 mrg attach zs at fhc with zs_fhc
172 1.41 eeh file arch/sparc64/dev/zs.c zs needs-flag
173 1.41 eeh file dev/ic/z8530sc.c zs
174 1.41 eeh
175 1.41 eeh # siemens SAB82532; found on U5/U10/... for tty ports.
176 1.65 petrov device sab {channel = -1}
177 1.65 petrov attach sab at ebus
178 1.65 petrov file arch/sparc64/dev/sab.c sab | sabtty needs-flag
179 1.41 eeh
180 1.41 eeh # "com" attachments for the kbd/mouse of the U5/U10/...
181 1.41 eeh attach com at ebus with com_ebus
182 1.41 eeh file arch/sparc64/dev/com_ebus.c com_ebus
183 1.41 eeh
184 1.139 jdc # ebus PS/2 keyboard attachment for Tadpole SPARCle, etc.
185 1.139 jdc include "dev/pckbport/files.pckbport"
186 1.155 macallan attach pckbc at ebus with pckbc_ebus : sysmon_envsys
187 1.139 jdc file arch/sparc64/dev/pckbc_ebus.c pckbc_ebus
188 1.155 macallan defflag opt_tadpmu.h HAVE_TADPMU
189 1.155 macallan file arch/sparc64/dev/tadpmu.c pckbc_ebus
190 1.139 jdc
191 1.69 thorpej device zstty {}: tty
192 1.1 eeh attach zstty at zs
193 1.1 eeh file dev/ic/z8530tty.c zstty needs-flag
194 1.77 martin # file arch/sparc/dev/zs_kgdb.c kgdb
195 1.1 eeh
196 1.94 drochner device sabtty: tty
197 1.65 petrov attach sabtty at sab
198 1.20 mrg
199 1.68 uwe file arch/sparc64/dev/kd.c kbd
200 1.68 uwe
201 1.18 mrg attach kbd at zs with kbd_zs
202 1.68 uwe attach kbd at zstty, com with kbd_tty
203 1.18 mrg file dev/sun/kbd_zs.c kbd_zs
204 1.68 uwe file dev/sun/sunkbd.c kbd_tty
205 1.68 uwe file dev/sun/kbdsun.c kbd_zs | kbd_tty
206 1.1 eeh
207 1.18 mrg attach ms at zs with ms_zs
208 1.68 uwe attach ms at zstty, com with ms_tty
209 1.18 mrg file dev/sun/ms_zs.c ms_zs
210 1.68 uwe file dev/sun/sunms.c ms_tty
211 1.1 eeh
212 1.1 eeh #
213 1.1 eeh # Machine-independent SCSI drivers
214 1.1 eeh #
215 1.17 kleink include "dev/scsipi/files.scsipi"
216 1.1 eeh
217 1.1 eeh device cgfourteen
218 1.11 pk attach cgfourteen at sbus
219 1.1 eeh file arch/sparc64/dev/cgfourteen.c cgfourteen needs-flag
220 1.78 petrov
221 1.142 macallan device ffb: wsemuldisplaydev, rasops32, fb, vcons, i2cexec, i2c_bitbang, ddc_read_edid, edid, videomode
222 1.78 petrov file arch/sparc64/dev/ffb.c ffb
223 1.128 macallan defflag opt_ffb.h FFB_DEBUG FFB_SYNC
224 1.123 martin attach ffb at mainbus,upa with ffb_mainbus
225 1.78 petrov file arch/sparc64/dev/ffb_mainbus.c ffb_mainbus
226 1.80 petrov
227 1.122 macallan device gfb: wsemuldisplaydev, rasops32, fb, vcons
228 1.122 macallan file arch/sparc64/dev/gfb.c gfb
229 1.122 macallan attach gfb at mainbus
230 1.122 macallan
231 1.80 petrov # CP1500/1400 watchdog timer
232 1.80 petrov device pldwdog: sysmon_wdog
233 1.80 petrov attach pldwdog at ebus
234 1.80 petrov file arch/sparc64/dev/pld_wdog.c pldwdog
235 1.1 eeh
236 1.1 eeh #
237 1.1 eeh # Generic Sun stuff
238 1.1 eeh #
239 1.1 eeh
240 1.1 eeh file dev/cons.c
241 1.19 eeh file arch/sparc64/dev/consinit.c
242 1.87 bouyer file dev/sun/disksubr.c
243 1.1 eeh
244 1.117 martin file arch/sparc64/sparc64/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum
245 1.117 martin
246 1.32 mrg file arch/sparc/fpu/fpu.c
247 1.32 mrg file arch/sparc/fpu/fpu_add.c
248 1.32 mrg file arch/sparc/fpu/fpu_compare.c
249 1.32 mrg file arch/sparc/fpu/fpu_div.c
250 1.32 mrg file arch/sparc/fpu/fpu_explode.c
251 1.32 mrg file arch/sparc/fpu/fpu_implode.c
252 1.32 mrg file arch/sparc/fpu/fpu_mul.c
253 1.32 mrg file arch/sparc/fpu/fpu_sqrt.c
254 1.32 mrg file arch/sparc/fpu/fpu_subr.c
255 1.1 eeh
256 1.91 pk file arch/sparc/sparc/promlib.c
257 1.1 eeh file arch/sparc64/sparc64/autoconf.c
258 1.132 mrg file arch/sparc64/sparc64/cache.c
259 1.106 tsutsui file arch/sparc64/sparc64/clock.c
260 1.119 ad file arch/sparc64/sparc64/core_machdep.c coredump
261 1.1 eeh file arch/sparc64/sparc64/emul.c
262 1.1 eeh file arch/sparc64/sparc64/intr.c
263 1.54 lukem file arch/sparc64/sparc64/kgdb_machdep.c kgdb
264 1.140 nakayama file arch/sparc/sparc/kobj_machdep.c modular & !exec_elf64
265 1.140 nakayama file arch/sparc64/sparc64/kobj_machdep.c modular & exec_elf64
266 1.124 mrg # sparc64/sparc64/locore.s is handled specially in the makefile,
267 1.1 eeh # because it must come first in the "ld" command line.
268 1.1 eeh file arch/sparc64/sparc64/machdep.c
269 1.161 jdc file arch/sparc64/sparc64/ofw_patch.c
270 1.163 christos file arch/sparc64/sparc64/process_machdep.c
271 1.42 fvdl file arch/sparc64/sparc64/procfs_machdep.c procfs
272 1.160 jdc file arch/sparc64/sparc64/static_edid.c
273 1.92 pk file arch/sparc/sparc/openprom.c
274 1.92 pk file arch/sparc/sparc/openfirm.c
275 1.1 eeh file arch/sparc64/sparc64/ofw_machdep.c
276 1.1 eeh file arch/sparc64/sparc64/pmap.c
277 1.1 eeh file arch/sparc64/sparc64/sys_machdep.c
278 1.96 christos file arch/sparc64/sparc64/syscall.c
279 1.1 eeh file arch/sparc64/sparc64/trap.c
280 1.1 eeh file arch/sparc64/sparc64/vm_machdep.c
281 1.90 chs file arch/sparc64/sparc64/ipifuncs.c multiprocessor
282 1.108 ad file arch/sparc64/sparc64/lock_stubs.s
283 1.143 palle file arch/sparc64/sparc64/hvcall.S sun4v
284 1.146 palle file arch/sparc64/sparc64/mdesc.c sun4v
285 1.1 eeh
286 1.1 eeh file arch/sparc64/sparc64/db_interface.c ddb | kgdb
287 1.137 christos file arch/sparc64/sparc64/db_machdep.c ddb
288 1.124 mrg file arch/sparc64/sparc64/db_trace.c ddb
289 1.1 eeh file arch/sparc64/sparc64/db_disasm.c ddb
290 1.124 mrg file arch/sparc64/sparc64/db_tlb_access.S ddb
291 1.1 eeh
292 1.46 matt # USB Support
293 1.46 matt include "dev/usb/files.usb"
294 1.53 eeh
295 1.102 plunky # Bluetooth Support
296 1.102 plunky include "dev/bluetooth/files.bluetooth"
297 1.102 plunky
298 1.46 matt # IEEE1394 Support
299 1.46 matt include "dev/ieee1394/files.ieee1394"
300 1.1 eeh
301 1.145 nakayama # Stack-less Just-In-Time compiler
302 1.145 nakayama include "external/bsd/sljit/conf/files.sljit"
303 1.145 nakayama
304 1.1 eeh #
305 1.1 eeh # Compatibility modules
306 1.1 eeh #
307 1.13 thorpej
308 1.73 wiz # Binary compatibility with previous NetBSD releases.
309 1.13 thorpej file arch/sparc64/sparc64/compat_13_machdep.c compat_13
310 1.83 christos file arch/sparc64/sparc64/compat_16_machdep.c compat_16
311 1.1 eeh
312 1.22 eeh # NetBSD/sparc 32-bit Binary compatibility (COMPAT_NETBSD32)
313 1.17 kleink include "compat/netbsd32/files.netbsd32"
314 1.158 pgoyette file arch/sparc64/sparc64/netbsd32_machdep.c compat_netbsd32
315 1.158 pgoyette file arch/sparc64/sparc64/netbsd32_machdep_13.c compat_netbsd32 &
316 1.158 pgoyette compat_13
317 1.158 pgoyette file arch/sparc64/sparc64/netbsd32_machdep_16.c compat_netbsd32 &
318 1.158 pgoyette compat_16
319 1.158 pgoyette file arch/sparc64/sparc64/netbsd32_sigcode.s compat_netbsd32
320 1.22 eeh
321 1.43 mrg # SunOS Binary Compatibility (COMPAT_SUNOS), 32-bit & 64-bit kernel
322 1.43 mrg # (64-bit also depends on COMPAT_NETBSD32)
323 1.17 kleink include "compat/sunos/files.sunos"
324 1.47 mrg file arch/sparc64/sparc64/sunos_sigcode.s compat_sunos
325 1.44 mrg file arch/sparc64/sparc64/sunos_machdep.c compat_sunos & !compat_netbsd32
326 1.43 mrg include "compat/sunos32/files.sunos32"
327 1.44 mrg file arch/sparc64/sparc64/sunos32_machdep.c compat_sunos & compat_netbsd32
328 1.1 eeh
329 1.1 eeh # Miscellaneous
330 1.58 jdolecek file dev/md_root.c memory_disk_hooks
331 1.66 gehenna
332 1.66 gehenna include "arch/sparc64/conf/majors.sparc64"
333 1.93 martin
334 1.150 palle # Virtual rtc
335 1.150 palle device vrtc
336 1.150 palle attach vrtc at vbus
337 1.150 palle file arch/sparc64/dev/vrtc.c vrtc
338 1.152 palle
339 1.152 palle define ldc
340 1.152 palle file arch/sparc64/dev/ldc.c ldc
341 1.152 palle
342 1.152 palle # Virtual disk
343 1.152 palle device vdsk: ldc, scsi
344 1.152 palle attach vdsk at cbus
345 1.152 palle file arch/sparc64/dev/vdsk.c vdsk
346 1.164 palle
347 1.164 palle # Virtual network
348 1.164 palle device vnet: ldc
349 1.164 palle attach vnet at cbus
350 1.164 palle file arch/sparc64/dev/vnet.c vnet
351