files.sparc64 revision 1.166
11.166Sthorpej#	$NetBSD: files.sparc64,v 1.166 2021/05/12 23:22:33 thorpej Exp $
21.1Seeh
31.1Seeh# @(#)files.sparc64	8.1 (Berkeley) 7/19/93
41.1Seeh# sparc64-specific configuration info
51.1Seeh
61.1Seeh# maxpartitions must be first item in files.${ARCH}
71.1Seehmaxpartitions 8
81.1Seeh
91.1Seehmaxusers 2 8 1024
101.56Sdarrenr
111.144Snakayamadefflag	opt_sparc_arch.h	SUN4U SUN4V
121.1Seeh
131.20Smrgdefine mainbus {}
141.154Snakayamadevice mainbus: mainbus, ofw_subr
151.1Seehattach mainbus at root
161.29Seeh
171.123Smartindefine upa {}
181.123Smartindevice upa: upa
191.123Smartinattach upa at mainbus
201.123Smartinfile	arch/sparc64/dev/upa.c
211.123Smartin
221.29Seehdevice pcons
231.29Seehattach pcons at mainbus
241.29Seehfile	arch/sparc64/dev/pcons.c		pcons needs-flag
251.1Seeh
261.35Spkinclude "dev/sun/files.sun"
271.39Sadinclude "dev/i2o/files.i2o"
281.35Spk
291.17Skleinkinclude "dev/sbus/files.sbus"
301.20Smrgattach sbus at mainbus
311.1Seehfile	arch/sparc64/dev/sbus.c			sbus
321.14Smrg
331.76Smartindevice	psycho: pcibus, sysmon_power, sysmon_taskq
341.55Slukemattach	psycho at mainbus
351.148Snakayamadevice	schizo: pcibus
361.120Smrgattach	schizo at mainbus
371.148Snakayamadevice	pyro: pcibus
381.129Smrgattach	pyro at mainbus
391.148Snakayamadevice	vpci: pcibus
401.147Spalleattach	vpci at mainbus
411.20Smrginclude "dev/pci/files.pci"
421.142Smacallanfile	arch/sparc64/dev/psycho.c		psycho needs-flag
431.120Smrgfile	arch/sparc64/dev/schizo.c		schizo
441.129Smrgfile	arch/sparc64/dev/pyro.c			pyro
451.147Spallefile	arch/sparc64/dev/vpci.c			vpci
461.147Spallefile	arch/sparc64/dev/pci_machdep.c		psycho | schizo | pyro | vpci
471.166Sthorpejfile	dev/ofw/ofw_pci_subr.c			pci
481.20Smrg
491.156Smacallandevice jbusi2c: i2cexec, i2c_bitbang, i2cbus
501.156Smacallanattach jbusi2c at mainbus
511.156Smacallanfile	arch/sparc64/dev/jbus-i2c.c		jbusi2c
521.156Smacallan
531.134Smrgdefine  central {}
541.134Smrgdevice	central: central
551.134Smrgattach	central at mainbus
561.134Smrgfile	arch/sparc64/dev/central.c		central
571.134Smrg
581.134Smrgdefine  fhc {}
591.134Smrgdevice	fhc: fhc
601.134Smrgattach	fhc at mainbus with fhc_mainbus
611.134Smrgattach	fhc at central with fhc_central
621.134Smrgfile	arch/sparc64/dev/fhc.c			fhc
631.134Smrgfile	arch/sparc64/dev/fhc_central.c		fhc_central
641.134Smrgfile	arch/sparc64/dev/fhc_mainbus.c		fhc_mainbus
651.134Smrg
661.20Smrg# IOMMU is for both
671.147Spallefile	arch/sparc64/dev/iommu.c		sbus | psycho | schizo | pyro | vpci
681.20Smrg
691.20Smrginclude "dev/ata/files.ata"
701.20Smrg
711.165Sthorpejdevice ebus {[addr = -1]}
721.20Smrgattach ebus at pci
731.20Smrgfile	arch/sparc64/dev/ebus.c			ebus
741.129Smrgattach ebus at mainbus with ebus_mainbus
751.129Smrgfile	arch/sparc64/dev/ebus_mainbus.c		ebus_mainbus
761.1Seeh
771.150Spalledevice	vbus {}
781.150Spalleattach	vbus at mainbus
791.150Spallefile	arch/sparc64/dev/vbus.c			vbus
801.150Spalle
811.151Spalledevice	cbus {}
821.151Spalleattach	cbus at vbus
831.151Spallefile	arch/sparc64/dev/cbus.c			cbus
841.151Spalle
851.105Smrgdevice clock: mk48txx
861.107Stsutsuiattach clock at sbus with mkclock_sbus
871.107Stsutsuiattach clock at ebus with mkclock_ebus
881.134Smrgattach clock at fhc with mkclock_fhc
891.107Stsutsuifile	arch/sparc64/dev/mkclock.c		clock
901.51Seeh
911.85Stsutsuidevice rtc: mc146818
921.51Seehattach rtc at ebus with rtc_ebus
931.105Smrgfile	arch/sparc64/dev/rtc.c			rtc
941.1Seeh
951.148Snakayamadevice psm: sysmon_power
961.101Sgdamoreattach psm at ebus
971.101Sgdamorefile	arch/sparc64/dev/psm.c			psm
981.101Sgdamore
991.1Seehdevice timer
1001.11Spkattach timer at mainbus, sbus
1011.1Seeh
1021.148Snakayamadevice	tda: sysmon_envsys
1031.125Smartinattach	tda at iic
1041.125Smartinfile	arch/sparc64/dev/tda.c			tda
1051.125Smartin
1061.148Snakayamadevice pcfiic: pcf8584, i2cbus
1071.125Smartinattach pcfiic at ebus
1081.126Snakayamafile	arch/sparc64/dev/pcfiic_ebus.c		pcfiic
1091.125Smartin
1101.148Snakayamadevice ecadc: sysmon_envsys
1111.125Smartinattach ecadc at iic
1121.126Snakayamafile	arch/sparc64/dev/pcf8591_envctrl.c	ecadc
1131.110Stnn
1141.121Snakayamadevice lom: sysmon_envsys, sysmon_wdog
1151.121Snakayamaattach lom at ebus
1161.121Snakayamafile	arch/sparc64/dev/lom.c			lom
1171.121Snakayama
1181.1Seehdevice cpu
1191.1Seehattach cpu at mainbus
1201.1Seehfile	arch/sparc64/sparc64/cpu.c
1211.1Seeh
1221.26Smrgdevice	auxio
1231.27Smrgattach	auxio at ebus with auxio_ebus
1241.27Smrgattach	auxio at sbus with auxio_sbus
1251.27Smrgfile	arch/sparc64/dev/auxio.c		auxio
1261.149Smartinfile	arch/sparc64/dev/auxio_sbus.c		auxio_sbus
1271.149Smartinfile	arch/sparc64/dev/auxio_ebus.c		auxio_ebus
1281.79Sheas
1291.79Sheasdefflag	opt_auxio.h	BLINK
1301.21Smrg
1311.89Sjdolecekattach	lpt at ebus with lpt_ebus
1321.20Smrgfile	arch/sparc64/dev/lpt_ebus.c		lpt_ebus
1331.20Smrg
1341.1Seehdevice fdc {}
1351.104Sjnemethattach fdc at sbus with fdc_sbus
1361.104Sjnemethattach fdc at ebus with fdc_ebus
1371.1Seehdevice fd: disk
1381.1Seehattach fd at fdc
1391.104Sjnemethfile	arch/sparc64/dev/fdc.c			fdc | fd needs-flag
1401.1Seeh
1411.21Smrgattach	audiocs at ebus with audiocs_ebus
1421.59Suwefile	dev/ebus/cs4231_ebus.c			audiocs_ebus
1431.61Smartin
1441.159Sjdcinclude	"dev/sdmmc/files.sdmmc"
1451.159Sjdcattach	wb at ebus with wb_ebus
1461.161Sjdcfile	arch/sparc64/dev/wb_ebus.c              wb_ebus
1471.159Sjdc
1481.61Smartin# PCMCIA bus (references fdc)
1491.61Smartininclude "dev/pcmcia/files.pcmcia"
1501.75Snakayama
1511.75Snakayama# CardBus Support
1521.75Snakayamainclude "dev/cardbus/files.cardbus"
1531.75Snakayamafile	arch/sparc64/sparc64/rbus_machdep.c	cardbus
1541.21Smrg
1551.1Seeh#
1561.41Seeh# Console related stuff
1571.1Seeh#
1581.1Seeh
1591.41Seehdevice zs {channel = -1}
1601.135Smrgattach zs at sbus
1611.135Smrgattach zs at fhc with zs_fhc
1621.41Seehfile	arch/sparc64/dev/zs.c			zs needs-flag
1631.41Seehfile	dev/ic/z8530sc.c			zs
1641.41Seeh
1651.41Seeh# siemens SAB82532; found on U5/U10/... for tty ports.
1661.65Spetrovdevice sab {channel = -1}
1671.65Spetrovattach sab at ebus
1681.65Spetrovfile	arch/sparc64/dev/sab.c			sab | sabtty needs-flag
1691.41Seeh
1701.41Seeh# "com" attachments for the kbd/mouse of the U5/U10/...
1711.41Seehattach com at ebus with com_ebus
1721.41Seehfile	arch/sparc64/dev/com_ebus.c		com_ebus
1731.41Seeh
1741.139Sjdc# ebus PS/2 keyboard attachment for Tadpole SPARCle, etc.
1751.139Sjdcinclude "dev/pckbport/files.pckbport"
1761.155Smacallanattach pckbc at ebus with pckbc_ebus : sysmon_envsys
1771.139Sjdcfile	arch/sparc64/dev/pckbc_ebus.c		pckbc_ebus
1781.155Smacallandefflag opt_tadpmu.h	HAVE_TADPMU
1791.155Smacallanfile	arch/sparc64/dev/tadpmu.c		pckbc_ebus
1801.139Sjdc
1811.69Sthorpejdevice zstty {}: tty
1821.1Seehattach zstty at zs
1831.1Seehfile dev/ic/z8530tty.c			zstty needs-flag
1841.77Smartin# file arch/sparc/dev/zs_kgdb.c		kgdb
1851.1Seeh
1861.94Sdrochnerdevice sabtty: tty
1871.65Spetrovattach sabtty at sab
1881.20Smrg
1891.68Suwefile arch/sparc64/dev/kd.c 		kbd
1901.68Suwe
1911.18Smrgattach kbd at zs with kbd_zs
1921.68Suweattach kbd at zstty, com with kbd_tty
1931.18Smrgfile dev/sun/kbd_zs.c			kbd_zs
1941.68Suwefile dev/sun/sunkbd.c			kbd_tty
1951.68Suwefile dev/sun/kbdsun.c			kbd_zs | kbd_tty
1961.1Seeh
1971.18Smrgattach ms at zs with ms_zs
1981.68Suweattach ms at zstty, com with ms_tty
1991.18Smrgfile dev/sun/ms_zs.c			ms_zs
2001.68Suwefile dev/sun/sunms.c			ms_tty
2011.1Seeh
2021.1Seeh#
2031.1Seeh# Machine-independent SCSI drivers
2041.1Seeh#
2051.17Skleinkinclude "dev/scsipi/files.scsipi"
2061.1Seeh
2071.1Seehdevice cgfourteen
2081.11Spkattach cgfourteen at sbus
2091.1Seehfile	arch/sparc64/dev/cgfourteen.c	cgfourteen needs-flag
2101.78Spetrov
2111.142Smacallandevice ffb: wsemuldisplaydev, rasops32, fb, vcons, i2cexec, i2c_bitbang, ddc_read_edid, edid, videomode
2121.78Spetrovfile	arch/sparc64/dev/ffb.c			ffb
2131.128Smacallandefflag opt_ffb.h FFB_DEBUG FFB_SYNC
2141.123Smartinattach ffb at mainbus,upa with ffb_mainbus
2151.78Spetrovfile	arch/sparc64/dev/ffb_mainbus.c		ffb_mainbus
2161.80Spetrov
2171.122Smacallandevice gfb: wsemuldisplaydev, rasops32, fb, vcons
2181.122Smacallanfile	arch/sparc64/dev/gfb.c			gfb
2191.122Smacallanattach gfb at mainbus
2201.122Smacallan
2211.80Spetrov# CP1500/1400 watchdog timer
2221.80Spetrovdevice	pldwdog: sysmon_wdog
2231.80Spetrovattach	pldwdog at ebus
2241.80Spetrovfile	arch/sparc64/dev/pld_wdog.c		pldwdog
2251.1Seeh
2261.1Seeh#
2271.1Seeh# Generic Sun stuff
2281.1Seeh#
2291.1Seeh
2301.1Seehfile	dev/cons.c
2311.19Seehfile	arch/sparc64/dev/consinit.c
2321.87Sbouyerfile	dev/sun/disksubr.c 
2331.1Seeh
2341.117Smartinfile	arch/sparc64/sparc64/cpu_in_cksum.S	(inet | inet6) & cpu_in_cksum
2351.117Smartin
2361.32Smrgfile	arch/sparc/fpu/fpu.c
2371.32Smrgfile	arch/sparc/fpu/fpu_add.c
2381.32Smrgfile	arch/sparc/fpu/fpu_compare.c
2391.32Smrgfile	arch/sparc/fpu/fpu_div.c
2401.32Smrgfile	arch/sparc/fpu/fpu_explode.c
2411.32Smrgfile	arch/sparc/fpu/fpu_implode.c
2421.32Smrgfile	arch/sparc/fpu/fpu_mul.c
2431.32Smrgfile	arch/sparc/fpu/fpu_sqrt.c
2441.32Smrgfile	arch/sparc/fpu/fpu_subr.c
2451.1Seeh
2461.91Spkfile	arch/sparc/sparc/promlib.c
2471.1Seehfile	arch/sparc64/sparc64/autoconf.c
2481.132Smrgfile	arch/sparc64/sparc64/cache.c
2491.106Stsutsuifile	arch/sparc64/sparc64/clock.c
2501.119Sadfile	arch/sparc64/sparc64/core_machdep.c	coredump
2511.1Seehfile	arch/sparc64/sparc64/emul.c
2521.1Seehfile	arch/sparc64/sparc64/intr.c
2531.54Slukemfile	arch/sparc64/sparc64/kgdb_machdep.c	kgdb
2541.140Snakayamafile	arch/sparc/sparc/kobj_machdep.c		modular & !exec_elf64
2551.140Snakayamafile	arch/sparc64/sparc64/kobj_machdep.c	modular & exec_elf64
2561.124Smrg# sparc64/sparc64/locore.s is handled specially in the makefile,
2571.1Seeh# because it must come first in the "ld" command line.
2581.1Seehfile	arch/sparc64/sparc64/machdep.c
2591.161Sjdcfile	arch/sparc64/sparc64/ofw_patch.c
2601.163Schristosfile	arch/sparc64/sparc64/process_machdep.c
2611.42Sfvdlfile	arch/sparc64/sparc64/procfs_machdep.c	procfs
2621.160Sjdcfile	arch/sparc64/sparc64/static_edid.c
2631.92Spkfile	arch/sparc/sparc/openprom.c
2641.92Spkfile	arch/sparc/sparc/openfirm.c
2651.1Seehfile	arch/sparc64/sparc64/ofw_machdep.c
2661.1Seehfile	arch/sparc64/sparc64/pmap.c
2671.1Seehfile	arch/sparc64/sparc64/sys_machdep.c
2681.96Schristosfile	arch/sparc64/sparc64/syscall.c
2691.1Seehfile	arch/sparc64/sparc64/trap.c
2701.1Seehfile	arch/sparc64/sparc64/vm_machdep.c
2711.90Schsfile	arch/sparc64/sparc64/ipifuncs.c		multiprocessor
2721.108Sadfile	arch/sparc64/sparc64/lock_stubs.s
2731.143Spallefile	arch/sparc64/sparc64/hvcall.S		sun4v
2741.146Spallefile	arch/sparc64/sparc64/mdesc.c		sun4v
2751.1Seeh
2761.1Seehfile	arch/sparc64/sparc64/db_interface.c	ddb | kgdb
2771.137Schristosfile	arch/sparc64/sparc64/db_machdep.c	ddb
2781.124Smrgfile	arch/sparc64/sparc64/db_trace.c		ddb
2791.1Seehfile	arch/sparc64/sparc64/db_disasm.c	ddb
2801.124Smrgfile	arch/sparc64/sparc64/db_tlb_access.S	ddb
2811.1Seeh
2821.46Smatt# USB Support
2831.46Smattinclude "dev/usb/files.usb"
2841.53Seeh
2851.102Splunky# Bluetooth Support
2861.102Splunkyinclude "dev/bluetooth/files.bluetooth"
2871.102Splunky
2881.46Smatt# IEEE1394 Support
2891.46Smattinclude "dev/ieee1394/files.ieee1394"
2901.1Seeh
2911.145Snakayama# Stack-less Just-In-Time compiler
2921.145Snakayamainclude "external/bsd/sljit/conf/files.sljit"
2931.145Snakayama
2941.1Seeh#
2951.1Seeh# Compatibility modules
2961.1Seeh#
2971.13Sthorpej
2981.73Swiz# Binary compatibility with previous NetBSD releases.
2991.13Sthorpejfile	arch/sparc64/sparc64/compat_13_machdep.c compat_13
3001.83Schristosfile	arch/sparc64/sparc64/compat_16_machdep.c compat_16
3011.1Seeh
3021.22Seeh# NetBSD/sparc 32-bit Binary compatibility (COMPAT_NETBSD32)
3031.17Skleinkinclude "compat/netbsd32/files.netbsd32"
3041.158Spgoyettefile	arch/sparc64/sparc64/netbsd32_machdep.c		compat_netbsd32
3051.158Spgoyettefile	arch/sparc64/sparc64/netbsd32_machdep_13.c	compat_netbsd32 &
3061.158Spgoyette							compat_13
3071.158Spgoyettefile	arch/sparc64/sparc64/netbsd32_machdep_16.c	compat_netbsd32 &
3081.158Spgoyette							compat_16
3091.158Spgoyettefile	arch/sparc64/sparc64/netbsd32_sigcode.s		compat_netbsd32
3101.22Seeh
3111.43Smrg# SunOS Binary Compatibility (COMPAT_SUNOS), 32-bit & 64-bit kernel
3121.43Smrg# (64-bit also depends on COMPAT_NETBSD32)
3131.17Skleinkinclude "compat/sunos/files.sunos"
3141.47Smrgfile	arch/sparc64/sparc64/sunos_sigcode.s	compat_sunos
3151.44Smrgfile	arch/sparc64/sparc64/sunos_machdep.c	compat_sunos & !compat_netbsd32
3161.43Smrginclude "compat/sunos32/files.sunos32"
3171.44Smrgfile	arch/sparc64/sparc64/sunos32_machdep.c	compat_sunos & compat_netbsd32
3181.1Seeh
3191.1Seeh# Miscellaneous
3201.58Sjdolecekfile	dev/md_root.c			memory_disk_hooks
3211.66Sgehenna
3221.66Sgehennainclude "arch/sparc64/conf/majors.sparc64"
3231.93Smartin
3241.150Spalle# Virtual rtc
3251.150Spalledevice	vrtc
3261.150Spalleattach	vrtc at vbus
3271.150Spallefile	arch/sparc64/dev/vrtc.c			vrtc
3281.152Spalle
3291.152Spalledefine	ldc
3301.152Spallefile	arch/sparc64/dev/ldc.c			ldc
3311.152Spalle
3321.152Spalle# Virtual disk
3331.152Spalledevice	vdsk: ldc, scsi
3341.152Spalleattach	vdsk at cbus
3351.152Spallefile	arch/sparc64/dev/vdsk.c			vdsk
3361.164Spalle
3371.164Spalle# Virtual network
3381.164Spalledevice	vnet: ldc
3391.164Spalleattach	vnet at cbus
3401.164Spallefile	arch/sparc64/dev/vnet.c			vnet
341