1# $NetBSD: files.sparc64,v 1.136 2011/10/04 10:35:33 nakayama 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} 7maxpartitions 8 8 9maxusers 2 8 1024 10 11defflag opt_sparc_arch.h SUN4U 12 13define mainbus {} 14device mainbus: mainbus 15attach mainbus at root 16 17define upa {} 18device upa: upa 19attach upa at mainbus 20file arch/sparc64/dev/upa.c 21 22device pcons 23attach pcons at mainbus 24file arch/sparc64/dev/pcons.c pcons needs-flag 25 26include "dev/sun/files.sun" 27include "dev/i2o/files.i2o" 28 29include "dev/sbus/files.sbus" 30attach sbus at mainbus 31file arch/sparc64/dev/sbus.c sbus 32 33device psycho: pcibus, sysmon_power, sysmon_taskq 34attach psycho at mainbus 35device schizo: pcibus, sysmon_power, sysmon_taskq 36attach schizo at mainbus 37device pyro: pcibus, sysmon_power, sysmon_taskq 38attach pyro at mainbus 39include "dev/pci/files.pci" 40file arch/sparc64/dev/psycho.c psycho 41file arch/sparc64/dev/schizo.c schizo 42file arch/sparc64/dev/pyro.c pyro 43file arch/sparc64/dev/pci_machdep.c psycho | schizo | pyro 44 45define central {} 46device central: central 47attach central at mainbus 48file arch/sparc64/dev/central.c central 49 50define fhc {} 51device fhc: fhc 52attach fhc at mainbus with fhc_mainbus 53attach fhc at central with fhc_central 54file arch/sparc64/dev/fhc.c fhc 55file arch/sparc64/dev/fhc_central.c fhc_central 56file arch/sparc64/dev/fhc_mainbus.c fhc_mainbus 57 58# IOMMU is for both 59file arch/sparc64/dev/iommu.c sbus | psycho | schizo | pyro 60 61include "dev/ata/files.ata" 62 63device ebus {[addr = -1]}: pcibus 64attach ebus at pci 65file arch/sparc64/dev/ebus.c ebus 66attach ebus at mainbus with ebus_mainbus 67file arch/sparc64/dev/ebus_mainbus.c ebus_mainbus 68 69device clock: mk48txx 70attach clock at sbus with mkclock_sbus 71attach clock at ebus with mkclock_ebus 72attach clock at fhc with mkclock_fhc 73file arch/sparc64/dev/mkclock.c clock 74 75device rtc: mc146818 76attach rtc at ebus with rtc_ebus 77file arch/sparc64/dev/rtc.c rtc 78 79device psm: sysmon_envsys, sysmon_power 80attach psm at ebus 81file arch/sparc64/dev/psm.c psm 82 83device timer 84attach timer at mainbus, sbus 85 86device power 87attach power at sbus, ebus 88file arch/sparc64/dev/power.c power 89 90device tda 91attach tda at iic 92file arch/sparc64/dev/tda.c tda 93 94device pcfiic: sysmon_envsys, pcf8584, i2cbus 95attach pcfiic at ebus 96file arch/sparc64/dev/pcfiic_ebus.c pcfiic 97 98device ecadc 99attach ecadc at iic 100file arch/sparc64/dev/pcf8591_envctrl.c ecadc 101 102device lom: sysmon_envsys, sysmon_wdog 103attach lom at ebus 104file arch/sparc64/dev/lom.c lom 105 106device cpu 107attach cpu at mainbus 108file arch/sparc64/sparc64/cpu.c 109 110device auxio 111attach auxio at ebus with auxio_ebus 112attach auxio at sbus with auxio_sbus 113file arch/sparc64/dev/auxio.c auxio 114 115defflag opt_auxio.h BLINK 116 117attach lpt at ebus with lpt_ebus 118file arch/sparc64/dev/lpt_ebus.c lpt_ebus 119 120device fdc {} 121attach fdc at sbus with fdc_sbus 122attach fdc at ebus with fdc_ebus 123device fd: disk 124attach fd at fdc 125file arch/sparc64/dev/fdc.c fdc | fd needs-flag 126 127attach audiocs at ebus with audiocs_ebus 128file dev/ebus/cs4231_ebus.c audiocs_ebus 129 130# PCMCIA bus (references fdc) 131include "dev/pcmcia/files.pcmcia" 132 133# CardBus Support 134include "dev/cardbus/files.cardbus" 135file arch/sparc64/sparc64/rbus_machdep.c cardbus 136 137# 138# Console related stuff 139# 140 141device zs {channel = -1} 142attach zs at sbus 143attach zs at fhc with zs_fhc 144file arch/sparc64/dev/zs.c zs needs-flag 145file dev/ic/z8530sc.c zs 146 147# siemens SAB82532; found on U5/U10/... for tty ports. 148device sab {channel = -1} 149attach sab at ebus 150file arch/sparc64/dev/sab.c sab | sabtty needs-flag 151 152# "com" attachments for the kbd/mouse of the U5/U10/... 153attach com at ebus with com_ebus 154file arch/sparc64/dev/com_ebus.c com_ebus 155 156device zstty {}: tty 157attach zstty at zs 158file dev/ic/z8530tty.c zstty needs-flag 159# file arch/sparc/dev/zs_kgdb.c kgdb 160 161device sabtty: tty 162attach sabtty at sab 163 164file arch/sparc64/dev/kd.c kbd 165 166attach kbd at zs with kbd_zs 167attach kbd at zstty, com with kbd_tty 168file dev/sun/kbd_zs.c kbd_zs 169file dev/sun/sunkbd.c kbd_tty 170file dev/sun/kbdsun.c kbd_zs | kbd_tty 171 172attach ms at zs with ms_zs 173attach ms at zstty, com with ms_tty 174file dev/sun/ms_zs.c ms_zs 175file dev/sun/sunms.c ms_tty 176 177# 178# Machine-independent SCSI drivers 179# 180include "dev/scsipi/files.scsipi" 181 182device cgfourteen 183attach cgfourteen at sbus 184file arch/sparc64/dev/cgfourteen.c cgfourteen needs-flag 185 186device ffb: wsemuldisplaydev, rasops8, rasops32, fb, vcons, i2cexec, i2c_bitbang, ddc_read_edid, edid, videomode 187file arch/sparc64/dev/ffb.c ffb 188defflag opt_ffb.h FFB_DEBUG FFB_SYNC 189attach ffb at mainbus,upa with ffb_mainbus 190file arch/sparc64/dev/ffb_mainbus.c ffb_mainbus 191 192device gfb: wsemuldisplaydev, rasops32, fb, vcons 193file arch/sparc64/dev/gfb.c gfb 194attach gfb at mainbus 195 196# CP1500/1400 watchdog timer 197device pldwdog: sysmon_wdog 198attach pldwdog at ebus 199file arch/sparc64/dev/pld_wdog.c pldwdog 200 201# 202# Generic Sun stuff 203# 204 205file dev/cons.c 206file arch/sparc64/dev/consinit.c 207file dev/sun/disksubr.c 208 209file arch/sparc64/sparc64/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum 210 211file arch/sparc/fpu/fpu.c 212file arch/sparc/fpu/fpu_add.c 213file arch/sparc/fpu/fpu_compare.c 214file arch/sparc/fpu/fpu_div.c 215file arch/sparc/fpu/fpu_explode.c 216file arch/sparc/fpu/fpu_implode.c 217file arch/sparc/fpu/fpu_mul.c 218file arch/sparc/fpu/fpu_sqrt.c 219file arch/sparc/fpu/fpu_subr.c 220 221file arch/sparc/sparc/promlib.c 222file arch/sparc64/sparc64/autoconf.c 223file arch/sparc64/sparc64/cache.c 224file arch/sparc64/sparc64/clock.c 225file arch/sparc64/sparc64/core_machdep.c coredump 226file arch/sparc64/sparc64/emul.c 227file arch/sparc64/sparc64/intr.c 228file arch/sparc64/sparc64/kgdb_machdep.c kgdb 229file arch/sparc64/sparc64/kobj_machdep.c modular 230# sparc64/sparc64/locore.s is handled specially in the makefile, 231# because it must come first in the "ld" command line. 232file arch/sparc64/sparc64/machdep.c 233file arch/sparc64/sparc64/memcpyset.s 234file arch/sparc64/sparc64/process_machdep.c 235file arch/sparc64/sparc64/procfs_machdep.c procfs 236file arch/sparc/sparc/openprom.c 237file arch/sparc/sparc/openfirm.c 238file arch/sparc64/sparc64/ofw_machdep.c 239file arch/sparc64/sparc64/pmap.c 240file arch/sparc64/sparc64/sys_machdep.c 241file arch/sparc64/sparc64/syscall.c 242file arch/sparc64/sparc64/trap.c 243file arch/sparc64/sparc64/vm_machdep.c 244file arch/sparc64/sparc64/ipifuncs.c multiprocessor 245file arch/sparc64/sparc64/lock_stubs.s 246 247file arch/sparc64/sparc64/db_interface.c ddb | kgdb 248file arch/sparc64/sparc64/db_trace.c ddb 249file arch/sparc64/sparc64/db_disasm.c ddb 250file arch/sparc64/sparc64/db_tlb_access.S ddb 251 252# USB Support 253include "dev/usb/files.usb" 254 255# Bluetooth Support 256include "dev/bluetooth/files.bluetooth" 257 258# IEEE1394 Support 259include "dev/ieee1394/files.ieee1394" 260 261# 262# Compatibility modules 263# 264 265# Binary compatibility with previous NetBSD releases. 266file arch/sparc64/sparc64/compat_13_machdep.c compat_13 267file arch/sparc64/sparc64/compat_16_machdep.c compat_16 268 269# NetBSD/sparc 32-bit Binary compatibility (COMPAT_NETBSD32) 270include "compat/netbsd32/files.netbsd32" 271file arch/sparc64/sparc64/netbsd32_machdep.c compat_netbsd32 272file arch/sparc64/sparc64/netbsd32_sigcode.s compat_netbsd32 273 274# SVR4 Binary Compatibility (COMPAT_SVR4) 275include "compat/svr4/files.svr4" 276file arch/sparc64/sparc64/svr4_machdep.c compat_svr4 277file arch/sparc64/sparc64/svr4_sigcode64.s compat_svr4 & exec_elf64 278 279# 32-bit SVR4 Binary Compatibility (COMPAT_SVR4_32) 280include "compat/svr4_32/files.svr4_32" 281file arch/sparc64/sparc64/svr4_32_machdep.c compat_svr4_32 282file arch/sparc64/sparc64/svr4_32_sigcode.s compat_svr4_32 | (compat_svr4 & !exec_elf64) 283 284# SunOS Binary Compatibility (COMPAT_SUNOS), 32-bit & 64-bit kernel 285# (64-bit also depends on COMPAT_NETBSD32) 286include "compat/sunos/files.sunos" 287file arch/sparc64/sparc64/sunos_sigcode.s compat_sunos 288file arch/sparc64/sparc64/sunos_machdep.c compat_sunos & !compat_netbsd32 289include "compat/sunos32/files.sunos32" 290file arch/sparc64/sparc64/sunos32_machdep.c compat_sunos & compat_netbsd32 291 292# Miscellaneous 293file dev/md_root.c memory_disk_hooks 294 295include "arch/sparc64/conf/majors.sparc64" 296 297# OpenFirmware convenience stuff 298file dev/ofw/ofw_subr.c 299