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