1*4c5901a8Sthorpej# $NetBSD: files.sparc64,v 1.166 2021/05/12 23:22:33 thorpej Exp $ 201e2e698Seeh 301e2e698Seeh# @(#)files.sparc64 8.1 (Berkeley) 7/19/93 401e2e698Seeh# sparc64-specific configuration info 501e2e698Seeh 601e2e698Seeh# maxpartitions must be first item in files.${ARCH} 701e2e698Seehmaxpartitions 8 801e2e698Seeh 901e2e698Seehmaxusers 2 8 1024 1001e2e698Seeh 11296c58c0Snakayamadefflag opt_sparc_arch.h SUN4U SUN4V 128f8a0fb2Sdarrenr 136dffb4dfSmrgdefine mainbus {} 14b443c6b4Snakayamadevice mainbus: mainbus, ofw_subr 1501e2e698Seehattach mainbus at root 1601e2e698Seeh 1799585750Smartindefine upa {} 1899585750Smartindevice upa: upa 1999585750Smartinattach upa at mainbus 2099585750Smartinfile arch/sparc64/dev/upa.c 2199585750Smartin 22424619caSeehdevice pcons 23424619caSeehattach pcons at mainbus 24424619caSeehfile arch/sparc64/dev/pcons.c pcons needs-flag 25424619caSeeh 261e179085Spkinclude "dev/sun/files.sun" 27e6be92adSadinclude "dev/i2o/files.i2o" 281e179085Spk 29ea8f9b57Skleinkinclude "dev/sbus/files.sbus" 306dffb4dfSmrgattach sbus at mainbus 3101e2e698Seehfile arch/sparc64/dev/sbus.c sbus 3201e2e698Seeh 33d65cbab3Smartindevice psycho: pcibus, sysmon_power, sysmon_taskq 346dffb4dfSmrgattach psycho at mainbus 35aaa0006cSnakayamadevice schizo: pcibus 3699caaf2dSmrgattach schizo at mainbus 37aaa0006cSnakayamadevice pyro: pcibus 38371219c7Smrgattach pyro at mainbus 39aaa0006cSnakayamadevice vpci: pcibus 40cd384170Spalleattach vpci at mainbus 416dffb4dfSmrginclude "dev/pci/files.pci" 42dbc46cd7Smacallanfile arch/sparc64/dev/psycho.c psycho needs-flag 4399caaf2dSmrgfile arch/sparc64/dev/schizo.c schizo 44371219c7Smrgfile arch/sparc64/dev/pyro.c pyro 45cd384170Spallefile arch/sparc64/dev/vpci.c vpci 46cd384170Spallefile arch/sparc64/dev/pci_machdep.c psycho | schizo | pyro | vpci 47*4c5901a8Sthorpejfile dev/ofw/ofw_pci_subr.c pci 486dffb4dfSmrg 49824617f4Smacallandevice jbusi2c: i2cexec, i2c_bitbang, i2cbus 50824617f4Smacallanattach jbusi2c at mainbus 51824617f4Smacallanfile arch/sparc64/dev/jbus-i2c.c jbusi2c 52824617f4Smacallan 5339a57b1cSmrgdefine central {} 5439a57b1cSmrgdevice central: central 5539a57b1cSmrgattach central at mainbus 5639a57b1cSmrgfile arch/sparc64/dev/central.c central 5739a57b1cSmrg 5839a57b1cSmrgdefine fhc {} 5939a57b1cSmrgdevice fhc: fhc 6039a57b1cSmrgattach fhc at mainbus with fhc_mainbus 6139a57b1cSmrgattach fhc at central with fhc_central 6239a57b1cSmrgfile arch/sparc64/dev/fhc.c fhc 6339a57b1cSmrgfile arch/sparc64/dev/fhc_central.c fhc_central 6439a57b1cSmrgfile arch/sparc64/dev/fhc_mainbus.c fhc_mainbus 6539a57b1cSmrg 666dffb4dfSmrg# IOMMU is for both 67cd384170Spallefile arch/sparc64/dev/iommu.c sbus | psycho | schizo | pyro | vpci 686dffb4dfSmrg 696dffb4dfSmrginclude "dev/ata/files.ata" 706dffb4dfSmrg 71aed28984Sthorpejdevice ebus {[addr = -1]} 726dffb4dfSmrgattach ebus at pci 736dffb4dfSmrgfile arch/sparc64/dev/ebus.c ebus 74371219c7Smrgattach ebus at mainbus with ebus_mainbus 75371219c7Smrgfile arch/sparc64/dev/ebus_mainbus.c ebus_mainbus 766dffb4dfSmrg 7752a9bd99Spalledevice vbus {} 7852a9bd99Spalleattach vbus at mainbus 7952a9bd99Spallefile arch/sparc64/dev/vbus.c vbus 8052a9bd99Spalle 8121d6f4c7Spalledevice cbus {} 8221d6f4c7Spalleattach cbus at vbus 8321d6f4c7Spallefile arch/sparc64/dev/cbus.c cbus 8421d6f4c7Spalle 85273c5b01Smrgdevice clock: mk48txx 862ae6e40cStsutsuiattach clock at sbus with mkclock_sbus 872ae6e40cStsutsuiattach clock at ebus with mkclock_ebus 8839a57b1cSmrgattach clock at fhc with mkclock_fhc 892ae6e40cStsutsuifile arch/sparc64/dev/mkclock.c clock 9001e2e698Seeh 91bd0f8ee2Stsutsuidevice rtc: mc146818 9287bb8014Seehattach rtc at ebus with rtc_ebus 93273c5b01Smrgfile arch/sparc64/dev/rtc.c rtc 9487bb8014Seeh 95aaa0006cSnakayamadevice psm: sysmon_power 96d3788a85Sgdamoreattach psm at ebus 97d3788a85Sgdamorefile arch/sparc64/dev/psm.c psm 98d3788a85Sgdamore 9901e2e698Seehdevice timer 100b8fbf12dSpkattach timer at mainbus, sbus 10101e2e698Seeh 102aaa0006cSnakayamadevice tda: sysmon_envsys 103f0ca32ddSmartinattach tda at iic 104f0ca32ddSmartinfile arch/sparc64/dev/tda.c tda 105f0ca32ddSmartin 106aaa0006cSnakayamadevice pcfiic: pcf8584, i2cbus 107f0ca32ddSmartinattach pcfiic at ebus 108f0ca32ddSmartinfile arch/sparc64/dev/pcfiic_ebus.c pcfiic 109f0ca32ddSmartin 110aaa0006cSnakayamadevice ecadc: sysmon_envsys 111f0ca32ddSmartinattach ecadc at iic 112e636e568Snakayamafile arch/sparc64/dev/pcf8591_envctrl.c ecadc 113b2079804Stnn 114d61a38f6Snakayamadevice lom: sysmon_envsys, sysmon_wdog 115d61a38f6Snakayamaattach lom at ebus 116d61a38f6Snakayamafile arch/sparc64/dev/lom.c lom 117d61a38f6Snakayama 11801e2e698Seehdevice cpu 11901e2e698Seehattach cpu at mainbus 12001e2e698Seehfile arch/sparc64/sparc64/cpu.c 12101e2e698Seeh 122f4e31c4bSmrgdevice auxio 123f4e31c4bSmrgattach auxio at ebus with auxio_ebus 1242aba26f7Smrgattach auxio at sbus with auxio_sbus 1252aba26f7Smrgfile arch/sparc64/dev/auxio.c auxio 1267e689e2dSmartinfile arch/sparc64/dev/auxio_sbus.c auxio_sbus 1277e689e2dSmartinfile arch/sparc64/dev/auxio_ebus.c auxio_ebus 128f4e31c4bSmrg 129d00e9c25Sheasdefflag opt_auxio.h BLINK 130d00e9c25Sheas 1316dffb4dfSmrgattach lpt at ebus with lpt_ebus 1326dffb4dfSmrgfile arch/sparc64/dev/lpt_ebus.c lpt_ebus 1336dffb4dfSmrg 13401e2e698Seehdevice fdc {} 1356238d5faSjnemethattach fdc at sbus with fdc_sbus 1366238d5faSjnemethattach fdc at ebus with fdc_ebus 13701e2e698Seehdevice fd: disk 13801e2e698Seehattach fd at fdc 1396238d5faSjnemethfile arch/sparc64/dev/fdc.c fdc | fd needs-flag 14001e2e698Seeh 14114729c2bSmrgattach audiocs at ebus with audiocs_ebus 142a05702eaSuwefile dev/ebus/cs4231_ebus.c audiocs_ebus 14314729c2bSmrg 1444592cdd1Sjdcinclude "dev/sdmmc/files.sdmmc" 1454592cdd1Sjdcattach wb at ebus with wb_ebus 1464592cdd1Sjdcfile arch/sparc64/dev/wb_ebus.c wb_ebus 1474592cdd1Sjdc 1489ccc1862Smartin# PCMCIA bus (references fdc) 1499ccc1862Smartininclude "dev/pcmcia/files.pcmcia" 1509ccc1862Smartin 1517bb82500Snakayama# CardBus Support 1527bb82500Snakayamainclude "dev/cardbus/files.cardbus" 1537bb82500Snakayamafile arch/sparc64/sparc64/rbus_machdep.c cardbus 1547bb82500Snakayama 15501e2e698Seeh# 156132d1695Seeh# Console related stuff 15701e2e698Seeh# 15801e2e698Seeh 159132d1695Seehdevice zs {channel = -1} 16032d2ab84Smrgattach zs at sbus 16132d2ab84Smrgattach zs at fhc with zs_fhc 162132d1695Seehfile arch/sparc64/dev/zs.c zs needs-flag 163132d1695Seehfile dev/ic/z8530sc.c zs 164132d1695Seeh 165132d1695Seeh# siemens SAB82532; found on U5/U10/... for tty ports. 1664f9cdf21Spetrovdevice sab {channel = -1} 1674f9cdf21Spetrovattach sab at ebus 1684f9cdf21Spetrovfile arch/sparc64/dev/sab.c sab | sabtty needs-flag 169132d1695Seeh 170132d1695Seeh# "com" attachments for the kbd/mouse of the U5/U10/... 171132d1695Seehattach com at ebus with com_ebus 172132d1695Seehfile arch/sparc64/dev/com_ebus.c com_ebus 173132d1695Seeh 1742b0129b4Sjdc# ebus PS/2 keyboard attachment for Tadpole SPARCle, etc. 1752b0129b4Sjdcinclude "dev/pckbport/files.pckbport" 176e35ff9bdSmacallanattach pckbc at ebus with pckbc_ebus : sysmon_envsys 1772b0129b4Sjdcfile arch/sparc64/dev/pckbc_ebus.c pckbc_ebus 178e35ff9bdSmacallandefflag opt_tadpmu.h HAVE_TADPMU 179e35ff9bdSmacallanfile arch/sparc64/dev/tadpmu.c pckbc_ebus 1802b0129b4Sjdc 181dbdee1d9Sthorpejdevice zstty {}: tty 18201e2e698Seehattach zstty at zs 18301e2e698Seehfile dev/ic/z8530tty.c zstty needs-flag 1846b8eb7fdSmartin# file arch/sparc/dev/zs_kgdb.c kgdb 18501e2e698Seeh 1866c73a956Sdrochnerdevice sabtty: tty 1874f9cdf21Spetrovattach sabtty at sab 1886dffb4dfSmrg 189132d1695Seehfile arch/sparc64/dev/kd.c kbd 19001e2e698Seeh 191191626f7Suweattach kbd at zs with kbd_zs 192191626f7Suweattach kbd at zstty, com with kbd_tty 193191626f7Suwefile dev/sun/kbd_zs.c kbd_zs 194191626f7Suwefile dev/sun/sunkbd.c kbd_tty 195191626f7Suwefile dev/sun/kbdsun.c kbd_zs | kbd_tty 196191626f7Suwe 19795e0190eSmrgattach ms at zs with ms_zs 198191626f7Suweattach ms at zstty, com with ms_tty 19995e0190eSmrgfile dev/sun/ms_zs.c ms_zs 200191626f7Suwefile dev/sun/sunms.c ms_tty 20101e2e698Seeh 20201e2e698Seeh# 20301e2e698Seeh# Machine-independent SCSI drivers 20401e2e698Seeh# 205ea8f9b57Skleinkinclude "dev/scsipi/files.scsipi" 20601e2e698Seeh 20701e2e698Seehdevice cgfourteen 208b8fbf12dSpkattach cgfourteen at sbus 20901e2e698Seehfile arch/sparc64/dev/cgfourteen.c cgfourteen needs-flag 21001e2e698Seeh 211dbc46cd7Smacallandevice ffb: wsemuldisplaydev, rasops32, fb, vcons, i2cexec, i2c_bitbang, ddc_read_edid, edid, videomode 212f52795a4Spetrovfile arch/sparc64/dev/ffb.c ffb 2139e776dafSmacallandefflag opt_ffb.h FFB_DEBUG FFB_SYNC 21499585750Smartinattach ffb at mainbus,upa with ffb_mainbus 215f52795a4Spetrovfile arch/sparc64/dev/ffb_mainbus.c ffb_mainbus 216f52795a4Spetrov 217a1690b5dSmacallandevice gfb: wsemuldisplaydev, rasops32, fb, vcons 218a1690b5dSmacallanfile arch/sparc64/dev/gfb.c gfb 219a1690b5dSmacallanattach gfb at mainbus 220a1690b5dSmacallan 221120c8bbdSpetrov# CP1500/1400 watchdog timer 222120c8bbdSpetrovdevice pldwdog: sysmon_wdog 223120c8bbdSpetrovattach pldwdog at ebus 224120c8bbdSpetrovfile arch/sparc64/dev/pld_wdog.c pldwdog 225120c8bbdSpetrov 22601e2e698Seeh# 22701e2e698Seeh# Generic Sun stuff 22801e2e698Seeh# 22901e2e698Seeh 23001e2e698Seehfile dev/cons.c 23192ad9c40Seehfile arch/sparc64/dev/consinit.c 2326fb817f5Sbouyerfile dev/sun/disksubr.c 23301e2e698Seeh 23427f2dfb1Smartinfile arch/sparc64/sparc64/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum 23527f2dfb1Smartin 23641d83ceaSmrgfile arch/sparc/fpu/fpu.c 23741d83ceaSmrgfile arch/sparc/fpu/fpu_add.c 23841d83ceaSmrgfile arch/sparc/fpu/fpu_compare.c 23941d83ceaSmrgfile arch/sparc/fpu/fpu_div.c 24041d83ceaSmrgfile arch/sparc/fpu/fpu_explode.c 24141d83ceaSmrgfile arch/sparc/fpu/fpu_implode.c 24241d83ceaSmrgfile arch/sparc/fpu/fpu_mul.c 24341d83ceaSmrgfile arch/sparc/fpu/fpu_sqrt.c 24441d83ceaSmrgfile arch/sparc/fpu/fpu_subr.c 24501e2e698Seeh 246fb756055Spkfile arch/sparc/sparc/promlib.c 24701e2e698Seehfile arch/sparc64/sparc64/autoconf.c 2485f30cba7Smrgfile arch/sparc64/sparc64/cache.c 249fd360a0fSmrgfile arch/sparc64/sparc64/clock.c 25092ce8c6aSadfile arch/sparc64/sparc64/core_machdep.c coredump 25101e2e698Seehfile arch/sparc64/sparc64/emul.c 25201e2e698Seehfile arch/sparc64/sparc64/intr.c 25301e2e698Seehfile arch/sparc64/sparc64/kgdb_machdep.c kgdb 254bc8325e8Snakayamafile arch/sparc/sparc/kobj_machdep.c modular & !exec_elf64 255bc8325e8Snakayamafile arch/sparc64/sparc64/kobj_machdep.c modular & exec_elf64 25624e08ad3Smrg# sparc64/sparc64/locore.s is handled specially in the makefile, 25701e2e698Seeh# because it must come first in the "ld" command line. 25801e2e698Seehfile arch/sparc64/sparc64/machdep.c 25970ae2a7eSjdcfile arch/sparc64/sparc64/ofw_patch.c 2604d9da7b2Schristosfile arch/sparc64/sparc64/process_machdep.c 261c7f1462fSfvdlfile arch/sparc64/sparc64/procfs_machdep.c procfs 262ce376e9fSjdcfile arch/sparc64/sparc64/static_edid.c 2632a26804bSpkfile arch/sparc/sparc/openprom.c 2642a26804bSpkfile arch/sparc/sparc/openfirm.c 26501e2e698Seehfile arch/sparc64/sparc64/ofw_machdep.c 26601e2e698Seehfile arch/sparc64/sparc64/pmap.c 26701e2e698Seehfile arch/sparc64/sparc64/sys_machdep.c 2681e568edaSchristosfile arch/sparc64/sparc64/syscall.c 26901e2e698Seehfile arch/sparc64/sparc64/trap.c 27001e2e698Seehfile arch/sparc64/sparc64/vm_machdep.c 271cec587ddSchsfile arch/sparc64/sparc64/ipifuncs.c multiprocessor 272b07ec3fcSadfile arch/sparc64/sparc64/lock_stubs.s 273418e019bSpallefile arch/sparc64/sparc64/hvcall.S sun4v 2741f23b7fbSpallefile arch/sparc64/sparc64/mdesc.c sun4v 27501e2e698Seeh 27601e2e698Seehfile arch/sparc64/sparc64/db_interface.c ddb | kgdb 2772adc5739Schristosfile arch/sparc64/sparc64/db_machdep.c ddb 27801e2e698Seehfile arch/sparc64/sparc64/db_trace.c ddb 27901e2e698Seehfile arch/sparc64/sparc64/db_disasm.c ddb 28024e08ad3Smrgfile arch/sparc64/sparc64/db_tlb_access.S ddb 28101e2e698Seeh 282362ba830Smatt# USB Support 283362ba830Smattinclude "dev/usb/files.usb" 28411f7f986Seeh 28524893dedSplunky# Bluetooth Support 28624893dedSplunkyinclude "dev/bluetooth/files.bluetooth" 28724893dedSplunky 288362ba830Smatt# IEEE1394 Support 289362ba830Smattinclude "dev/ieee1394/files.ieee1394" 290362ba830Smatt 291c7c583d9Snakayama# Stack-less Just-In-Time compiler 292c7c583d9Snakayamainclude "external/bsd/sljit/conf/files.sljit" 293c7c583d9Snakayama 29401e2e698Seeh# 29501e2e698Seeh# Compatibility modules 29601e2e698Seeh# 29701e2e698Seeh 298c0537516Swiz# Binary compatibility with previous NetBSD releases. 2992eb8e872Sthorpejfile arch/sparc64/sparc64/compat_13_machdep.c compat_13 3007553e571Schristosfile arch/sparc64/sparc64/compat_16_machdep.c compat_16 3012eb8e872Sthorpej 302fcd1351bSeeh# NetBSD/sparc 32-bit Binary compatibility (COMPAT_NETBSD32) 303ea8f9b57Skleinkinclude "compat/netbsd32/files.netbsd32" 304dc011bceSmrgfile arch/sparc64/sparc64/netbsd32_machdep.c compat_netbsd32 305d91f98a8Spgoyettefile arch/sparc64/sparc64/netbsd32_machdep_13.c compat_netbsd32 & 306d91f98a8Spgoyette compat_13 307d91f98a8Spgoyettefile arch/sparc64/sparc64/netbsd32_machdep_16.c compat_netbsd32 & 308d91f98a8Spgoyette compat_16 309059d4936Smrgfile arch/sparc64/sparc64/netbsd32_sigcode.s compat_netbsd32 310e791891dSmrg 3119954eaa7Smrg# SunOS Binary Compatibility (COMPAT_SUNOS), 32-bit & 64-bit kernel 3129954eaa7Smrg# (64-bit also depends on COMPAT_NETBSD32) 313ea8f9b57Skleinkinclude "compat/sunos/files.sunos" 314059d4936Smrgfile arch/sparc64/sparc64/sunos_sigcode.s compat_sunos 31505752997Smrgfile arch/sparc64/sparc64/sunos_machdep.c compat_sunos & !compat_netbsd32 3169954eaa7Smrginclude "compat/sunos32/files.sunos32" 31705752997Smrgfile arch/sparc64/sparc64/sunos32_machdep.c compat_sunos & compat_netbsd32 31801e2e698Seeh 31901e2e698Seeh# Miscellaneous 320ff8305bbSjdolecekfile dev/md_root.c memory_disk_hooks 32177a6b82bSgehenna 32277a6b82bSgehennainclude "arch/sparc64/conf/majors.sparc64" 3236582666bSmartin 32452a9bd99Spalle# Virtual rtc 32552a9bd99Spalledevice vrtc 32652a9bd99Spalleattach vrtc at vbus 32752a9bd99Spallefile arch/sparc64/dev/vrtc.c vrtc 328c7863d93Spalle 329c7863d93Spalledefine ldc 330c7863d93Spallefile arch/sparc64/dev/ldc.c ldc 331c7863d93Spalle 332c7863d93Spalle# Virtual disk 333c7863d93Spalledevice vdsk: ldc, scsi 334c7863d93Spalleattach vdsk at cbus 335c7863d93Spallefile arch/sparc64/dev/vdsk.c vdsk 3366902eb25Spalle 3376902eb25Spalle# Virtual network 3386902eb25Spalledevice vnet: ldc 3396902eb25Spalleattach vnet at cbus 3406902eb25Spallefile arch/sparc64/dev/vnet.c vnet 341