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