1 # $NetBSD: files.sparc64,v 1.121 2009/10/02 15:09:16 nakayama Exp $
3 # @(#)files.sparc64 8.1 (Berkeley) 7/19/93
4 # sparc64-specific configuration info
6 # maxpartitions must be first item in files.${ARCH}
11 defflag opt_sparc_arch.h SUN4U
14 device mainbus: mainbus
15 attach mainbus at root
18 attach pcons at mainbus
19 file arch/sparc64/dev/pcons.c pcons needs-flag
21 include "dev/sun/files.sun"
22 include "dev/i2o/files.i2o"
24 include "dev/sbus/files.sbus"
25 attach sbus at mainbus
26 file arch/sparc64/dev/sbus.c sbus
28 device psycho: pcibus, sysmon_power, sysmon_taskq
29 attach psycho at mainbus
30 device schizo: pcibus, sysmon_power, sysmon_taskq
31 attach schizo at mainbus
32 include "dev/pci/files.pci"
33 file arch/sparc64/dev/psycho.c psycho
34 file arch/sparc64/dev/schizo.c schizo
35 file arch/sparc64/dev/pci_machdep.c psycho | schizo
38 file arch/sparc64/dev/iommu.c sbus | psycho | schizo
40 include "dev/ata/files.ata"
42 device ebus {[addr = -1]}: pcibus
44 file arch/sparc64/dev/ebus.c ebus
47 attach clock at sbus with mkclock_sbus
48 attach clock at ebus with mkclock_ebus
49 file arch/sparc64/dev/mkclock.c clock
52 attach rtc at ebus with rtc_ebus
53 file arch/sparc64/dev/rtc.c rtc
55 device psm: sysmon_envsys, sysmon_power
57 file arch/sparc64/dev/psm.c psm
60 attach timer at mainbus, sbus
63 attach power at sbus, ebus
64 file arch/sparc64/dev/power.c power
66 device envctrl: sysmon_envsys, pcf8584, i2cbus
67 attach envctrl at ebus
68 file arch/sparc64/dev/envctrl.c envctrl
70 device lom: sysmon_envsys, sysmon_wdog
72 file arch/sparc64/dev/lom.c lom
76 file arch/sparc64/sparc64/cpu.c
79 attach auxio at ebus with auxio_ebus
80 attach auxio at sbus with auxio_sbus
81 file arch/sparc64/dev/auxio.c auxio
83 defflag opt_auxio.h BLINK
85 attach lpt at ebus with lpt_ebus
86 file arch/sparc64/dev/lpt_ebus.c lpt_ebus
89 attach fdc at sbus with fdc_sbus
90 attach fdc at ebus with fdc_ebus
93 file arch/sparc64/dev/fdc.c fdc | fd needs-flag
95 attach audiocs at ebus with audiocs_ebus
96 file dev/ebus/cs4231_ebus.c audiocs_ebus
98 # PCMCIA bus (references fdc)
99 include "dev/pcmcia/files.pcmcia"
102 include "dev/cardbus/files.cardbus"
103 file arch/sparc64/sparc64/rbus_machdep.c cardbus
106 # Console related stuff
109 device zs {channel = -1}
111 file arch/sparc64/dev/zs.c zs needs-flag
112 file dev/ic/z8530sc.c zs
114 # siemens SAB82532; found on U5/U10/... for tty ports.
115 device sab {channel = -1}
117 file arch/sparc64/dev/sab.c sab | sabtty needs-flag
119 # "com" attachments for the kbd/mouse of the U5/U10/...
120 attach com at ebus with com_ebus
121 file arch/sparc64/dev/com_ebus.c com_ebus
125 file dev/ic/z8530tty.c zstty needs-flag
126 # file arch/sparc/dev/zs_kgdb.c kgdb
131 file arch/sparc64/dev/kd.c kbd
133 attach kbd at zs with kbd_zs
134 attach kbd at zstty, com with kbd_tty
135 file dev/sun/kbd_zs.c kbd_zs
136 file dev/sun/sunkbd.c kbd_tty
137 file dev/sun/kbdsun.c kbd_zs | kbd_tty
139 attach ms at zs with ms_zs
140 attach ms at zstty, com with ms_tty
141 file dev/sun/ms_zs.c ms_zs
142 file dev/sun/sunms.c ms_tty
145 # Machine-independent SCSI drivers
147 include "dev/scsipi/files.scsipi"
150 attach cgfourteen at sbus
151 file arch/sparc64/dev/cgfourteen.c cgfourteen needs-flag
153 device ffb: wsemuldisplaydev, rasops8, rasops32, fb, vcons
154 file arch/sparc64/dev/ffb.c ffb
156 attach ffb at mainbus with ffb_mainbus
157 file arch/sparc64/dev/ffb_mainbus.c ffb_mainbus
159 device gfb: wsemuldisplaydev, rasops32, fb, vcons
160 file arch/sparc64/dev/gfb.c gfb
161 attach gfb at mainbus
163 # CP1500/1400 watchdog timer
164 device pldwdog: sysmon_wdog
165 attach pldwdog at ebus
166 file arch/sparc64/dev/pld_wdog.c pldwdog
173 file arch/sparc64/dev/consinit.c
174 file dev/sun/disksubr.c
176 file arch/sparc64/sparc64/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum
178 file arch/sparc/fpu/fpu.c
179 file arch/sparc/fpu/fpu_add.c
180 file arch/sparc/fpu/fpu_compare.c
181 file arch/sparc/fpu/fpu_div.c
182 file arch/sparc/fpu/fpu_explode.c
183 file arch/sparc/fpu/fpu_implode.c
184 file arch/sparc/fpu/fpu_mul.c
185 file arch/sparc/fpu/fpu_sqrt.c
186 file arch/sparc/fpu/fpu_subr.c
188 file arch/sparc/sparc/promlib.c
189 file arch/sparc64/sparc64/autoconf.c
190 file arch/sparc64/sparc64/clock.c
191 file arch/sparc64/sparc64/core_machdep.c coredump
192 file arch/sparc64/sparc64/emul.c
193 file arch/sparc64/sparc64/intr.c
194 file arch/sparc64/sparc64/kgdb_machdep.c kgdb
195 file arch/sparc64/sparc64/kobj_machdep.c modular
196 # sparc/sparc/locore.s is handled specially in the makefile,
197 # because it must come first in the "ld" command line.
198 file arch/sparc64/sparc64/machdep.c
199 file arch/sparc64/sparc64/process_machdep.c
200 file arch/sparc64/sparc64/procfs_machdep.c procfs
201 file arch/sparc64/sparc64/mem.c
202 file arch/sparc/sparc/openprom.c
203 file arch/sparc/sparc/openfirm.c
204 file arch/sparc64/sparc64/ofw_machdep.c
205 file arch/sparc64/sparc64/pmap.c
206 file arch/sparc64/sparc64/sys_machdep.c
207 file arch/sparc64/sparc64/syscall.c
208 file arch/sparc64/sparc64/trap.c
209 file arch/sparc64/sparc64/vm_machdep.c
210 file arch/sparc64/sparc64/ipifuncs.c multiprocessor
211 file arch/sparc64/sparc64/lock_stubs.s
213 file arch/sparc64/sparc64/db_interface.c ddb | kgdb
214 file arch/sparc64/sparc64/db_trace.c ddb
215 file arch/sparc64/sparc64/db_disasm.c ddb
218 include "dev/usb/files.usb"
221 include "dev/bluetooth/files.bluetooth"
224 include "dev/ieee1394/files.ieee1394"
227 # Compatibility modules
230 # Binary compatibility with previous NetBSD releases.
231 file arch/sparc64/sparc64/compat_13_machdep.c compat_13
232 file arch/sparc64/sparc64/compat_16_machdep.c compat_16
234 # NetBSD/sparc 32-bit Binary compatibility (COMPAT_NETBSD32)
235 include "compat/netbsd32/files.netbsd32"
236 file arch/sparc64/sparc64/netbsd32_machdep.c compat_netbsd32
237 file arch/sparc64/sparc64/netbsd32_sigcode.s compat_netbsd32
239 # SVR4 Binary Compatibility (COMPAT_SVR4)
240 include "compat/svr4/files.svr4"
241 file arch/sparc64/sparc64/svr4_machdep.c compat_svr4
242 file arch/sparc64/sparc64/svr4_sigcode64.s compat_svr4 & exec_elf64
244 # 32-bit SVR4 Binary Compatibility (COMPAT_SVR4_32)
245 include "compat/svr4_32/files.svr4_32"
246 file arch/sparc64/sparc64/svr4_32_machdep.c compat_svr4_32
247 file arch/sparc64/sparc64/svr4_32_sigcode.s compat_svr4_32 | (compat_svr4 & !exec_elf64)
249 # SunOS Binary Compatibility (COMPAT_SUNOS), 32-bit & 64-bit kernel
250 # (64-bit also depends on COMPAT_NETBSD32)
251 include "compat/sunos/files.sunos"
252 file arch/sparc64/sparc64/sunos_sigcode.s compat_sunos
253 file arch/sparc64/sparc64/sunos_machdep.c compat_sunos & !compat_netbsd32
254 include "compat/sunos32/files.sunos32"
255 file arch/sparc64/sparc64/sunos32_machdep.c compat_sunos & compat_netbsd32
258 file dev/md_root.c memory_disk_hooks
260 include "arch/sparc64/conf/majors.sparc64"
262 # special compiler settings (no optimization if 32bit kernel)
263 file uvm/uvm_bio.c compile-with "${CC_NOOPT}"
265 # OpenFirmware convenience stuff
266 file dev/ofw/ofw_subr.c