files.sparc64 revision 1.158
11.158Spgoyette#	$NetBSD: files.sparc64,v 1.158 2019/01/27 02:08:38 pgoyette 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.20Smrg
481.156Smacallandevice jbusi2c: i2cexec, i2c_bitbang, i2cbus
491.156Smacallanattach jbusi2c at mainbus
501.156Smacallanfile	arch/sparc64/dev/jbus-i2c.c		jbusi2c
511.156Smacallan
521.134Smrgdefine  central {}
531.134Smrgdevice	central: central
541.134Smrgattach	central at mainbus
551.134Smrgfile	arch/sparc64/dev/central.c		central
561.134Smrg
571.134Smrgdefine  fhc {}
581.134Smrgdevice	fhc: fhc
591.134Smrgattach	fhc at mainbus with fhc_mainbus
601.134Smrgattach	fhc at central with fhc_central
611.134Smrgfile	arch/sparc64/dev/fhc.c			fhc
621.134Smrgfile	arch/sparc64/dev/fhc_central.c		fhc_central
631.134Smrgfile	arch/sparc64/dev/fhc_mainbus.c		fhc_mainbus
641.134Smrg
651.20Smrg# IOMMU is for both
661.147Spallefile	arch/sparc64/dev/iommu.c		sbus | psycho | schizo | pyro | vpci
671.20Smrg
681.20Smrginclude "dev/ata/files.ata"
691.20Smrg
701.20Smrgdevice ebus {[addr = -1]}: pcibus
711.20Smrgattach ebus at pci
721.20Smrgfile	arch/sparc64/dev/ebus.c			ebus
731.129Smrgattach ebus at mainbus with ebus_mainbus
741.129Smrgfile	arch/sparc64/dev/ebus_mainbus.c		ebus_mainbus
751.1Seeh
761.150Spalledevice	vbus {}
771.150Spalleattach	vbus at mainbus
781.150Spallefile	arch/sparc64/dev/vbus.c			vbus
791.150Spalle
801.151Spalledevice	cbus {}
811.151Spalleattach	cbus at vbus
821.151Spallefile	arch/sparc64/dev/cbus.c			cbus
831.151Spalle
841.105Smrgdevice clock: mk48txx
851.107Stsutsuiattach clock at sbus with mkclock_sbus
861.107Stsutsuiattach clock at ebus with mkclock_ebus
871.134Smrgattach clock at fhc with mkclock_fhc
881.107Stsutsuifile	arch/sparc64/dev/mkclock.c		clock
891.51Seeh
901.85Stsutsuidevice rtc: mc146818
911.51Seehattach rtc at ebus with rtc_ebus
921.105Smrgfile	arch/sparc64/dev/rtc.c			rtc
931.1Seeh
941.148Snakayamadevice psm: sysmon_power
951.101Sgdamoreattach psm at ebus
961.101Sgdamorefile	arch/sparc64/dev/psm.c			psm
971.101Sgdamore
981.1Seehdevice timer
991.11Spkattach timer at mainbus, sbus
1001.1Seeh
1011.148Snakayamadevice	tda: sysmon_envsys
1021.125Smartinattach	tda at iic
1031.125Smartinfile	arch/sparc64/dev/tda.c			tda
1041.125Smartin
1051.148Snakayamadevice pcfiic: pcf8584, i2cbus
1061.125Smartinattach pcfiic at ebus
1071.126Snakayamafile	arch/sparc64/dev/pcfiic_ebus.c		pcfiic
1081.125Smartin
1091.148Snakayamadevice ecadc: sysmon_envsys
1101.125Smartinattach ecadc at iic
1111.126Snakayamafile	arch/sparc64/dev/pcf8591_envctrl.c	ecadc
1121.110Stnn
1131.121Snakayamadevice lom: sysmon_envsys, sysmon_wdog
1141.121Snakayamaattach lom at ebus
1151.121Snakayamafile	arch/sparc64/dev/lom.c			lom
1161.121Snakayama
1171.1Seehdevice cpu
1181.1Seehattach cpu at mainbus
1191.1Seehfile	arch/sparc64/sparc64/cpu.c
1201.1Seeh
1211.26Smrgdevice	auxio
1221.27Smrgattach	auxio at ebus with auxio_ebus
1231.27Smrgattach	auxio at sbus with auxio_sbus
1241.27Smrgfile	arch/sparc64/dev/auxio.c		auxio
1251.149Smartinfile	arch/sparc64/dev/auxio_sbus.c		auxio_sbus
1261.149Smartinfile	arch/sparc64/dev/auxio_ebus.c		auxio_ebus
1271.79Sheas
1281.79Sheasdefflag	opt_auxio.h	BLINK
1291.21Smrg
1301.89Sjdolecekattach	lpt at ebus with lpt_ebus
1311.20Smrgfile	arch/sparc64/dev/lpt_ebus.c		lpt_ebus
1321.20Smrg
1331.1Seehdevice fdc {}
1341.104Sjnemethattach fdc at sbus with fdc_sbus
1351.104Sjnemethattach fdc at ebus with fdc_ebus
1361.1Seehdevice fd: disk
1371.1Seehattach fd at fdc
1381.104Sjnemethfile	arch/sparc64/dev/fdc.c			fdc | fd needs-flag
1391.1Seeh
1401.21Smrgattach	audiocs at ebus with audiocs_ebus
1411.59Suwefile	dev/ebus/cs4231_ebus.c			audiocs_ebus
1421.61Smartin
1431.61Smartin# PCMCIA bus (references fdc)
1441.61Smartininclude "dev/pcmcia/files.pcmcia"
1451.75Snakayama
1461.75Snakayama# CardBus Support
1471.75Snakayamainclude "dev/cardbus/files.cardbus"
1481.75Snakayamafile	arch/sparc64/sparc64/rbus_machdep.c	cardbus
1491.21Smrg
1501.1Seeh#
1511.41Seeh# Console related stuff
1521.1Seeh#
1531.1Seeh
1541.41Seehdevice zs {channel = -1}
1551.135Smrgattach zs at sbus
1561.135Smrgattach zs at fhc with zs_fhc
1571.41Seehfile	arch/sparc64/dev/zs.c			zs needs-flag
1581.41Seehfile	dev/ic/z8530sc.c			zs
1591.41Seeh
1601.41Seeh# siemens SAB82532; found on U5/U10/... for tty ports.
1611.65Spetrovdevice sab {channel = -1}
1621.65Spetrovattach sab at ebus
1631.65Spetrovfile	arch/sparc64/dev/sab.c			sab | sabtty needs-flag
1641.41Seeh
1651.41Seeh# "com" attachments for the kbd/mouse of the U5/U10/...
1661.41Seehattach com at ebus with com_ebus
1671.41Seehfile	arch/sparc64/dev/com_ebus.c		com_ebus
1681.41Seeh
1691.139Sjdc# ebus PS/2 keyboard attachment for Tadpole SPARCle, etc.
1701.139Sjdcinclude "dev/pckbport/files.pckbport"
1711.155Smacallanattach pckbc at ebus with pckbc_ebus : sysmon_envsys
1721.139Sjdcfile	arch/sparc64/dev/pckbc_ebus.c		pckbc_ebus
1731.155Smacallandefflag opt_tadpmu.h	HAVE_TADPMU
1741.155Smacallanfile	arch/sparc64/dev/tadpmu.c		pckbc_ebus
1751.139Sjdc
1761.69Sthorpejdevice zstty {}: tty
1771.1Seehattach zstty at zs
1781.1Seehfile dev/ic/z8530tty.c			zstty needs-flag
1791.77Smartin# file arch/sparc/dev/zs_kgdb.c		kgdb
1801.1Seeh
1811.94Sdrochnerdevice sabtty: tty
1821.65Spetrovattach sabtty at sab
1831.20Smrg
1841.68Suwefile arch/sparc64/dev/kd.c 		kbd
1851.68Suwe
1861.18Smrgattach kbd at zs with kbd_zs
1871.68Suweattach kbd at zstty, com with kbd_tty
1881.18Smrgfile dev/sun/kbd_zs.c			kbd_zs
1891.68Suwefile dev/sun/sunkbd.c			kbd_tty
1901.68Suwefile dev/sun/kbdsun.c			kbd_zs | kbd_tty
1911.1Seeh
1921.18Smrgattach ms at zs with ms_zs
1931.68Suweattach ms at zstty, com with ms_tty
1941.18Smrgfile dev/sun/ms_zs.c			ms_zs
1951.68Suwefile dev/sun/sunms.c			ms_tty
1961.1Seeh
1971.1Seeh#
1981.1Seeh# Machine-independent SCSI drivers
1991.1Seeh#
2001.17Skleinkinclude "dev/scsipi/files.scsipi"
2011.1Seeh
2021.1Seehdevice cgfourteen
2031.11Spkattach cgfourteen at sbus
2041.1Seehfile	arch/sparc64/dev/cgfourteen.c	cgfourteen needs-flag
2051.78Spetrov
2061.142Smacallandevice ffb: wsemuldisplaydev, rasops32, fb, vcons, i2cexec, i2c_bitbang, ddc_read_edid, edid, videomode
2071.78Spetrovfile	arch/sparc64/dev/ffb.c			ffb
2081.128Smacallandefflag opt_ffb.h FFB_DEBUG FFB_SYNC
2091.123Smartinattach ffb at mainbus,upa with ffb_mainbus
2101.78Spetrovfile	arch/sparc64/dev/ffb_mainbus.c		ffb_mainbus
2111.80Spetrov
2121.122Smacallandevice gfb: wsemuldisplaydev, rasops32, fb, vcons
2131.122Smacallanfile	arch/sparc64/dev/gfb.c			gfb
2141.122Smacallanattach gfb at mainbus
2151.122Smacallan
2161.80Spetrov# CP1500/1400 watchdog timer
2171.80Spetrovdevice	pldwdog: sysmon_wdog
2181.80Spetrovattach	pldwdog at ebus
2191.80Spetrovfile	arch/sparc64/dev/pld_wdog.c		pldwdog
2201.1Seeh
2211.1Seeh#
2221.1Seeh# Generic Sun stuff
2231.1Seeh#
2241.1Seeh
2251.1Seehfile	dev/cons.c
2261.19Seehfile	arch/sparc64/dev/consinit.c
2271.87Sbouyerfile	dev/sun/disksubr.c 
2281.1Seeh
2291.117Smartinfile	arch/sparc64/sparc64/cpu_in_cksum.S	(inet | inet6) & cpu_in_cksum
2301.117Smartin
2311.32Smrgfile	arch/sparc/fpu/fpu.c
2321.32Smrgfile	arch/sparc/fpu/fpu_add.c
2331.32Smrgfile	arch/sparc/fpu/fpu_compare.c
2341.32Smrgfile	arch/sparc/fpu/fpu_div.c
2351.32Smrgfile	arch/sparc/fpu/fpu_explode.c
2361.32Smrgfile	arch/sparc/fpu/fpu_implode.c
2371.32Smrgfile	arch/sparc/fpu/fpu_mul.c
2381.32Smrgfile	arch/sparc/fpu/fpu_sqrt.c
2391.32Smrgfile	arch/sparc/fpu/fpu_subr.c
2401.1Seeh
2411.91Spkfile	arch/sparc/sparc/promlib.c
2421.1Seehfile	arch/sparc64/sparc64/autoconf.c
2431.132Smrgfile	arch/sparc64/sparc64/cache.c
2441.106Stsutsuifile	arch/sparc64/sparc64/clock.c
2451.119Sadfile	arch/sparc64/sparc64/core_machdep.c	coredump
2461.1Seehfile	arch/sparc64/sparc64/emul.c
2471.1Seehfile	arch/sparc64/sparc64/intr.c
2481.54Slukemfile	arch/sparc64/sparc64/kgdb_machdep.c	kgdb
2491.140Snakayamafile	arch/sparc/sparc/kobj_machdep.c		modular & !exec_elf64
2501.140Snakayamafile	arch/sparc64/sparc64/kobj_machdep.c	modular & exec_elf64
2511.124Smrg# sparc64/sparc64/locore.s is handled specially in the makefile,
2521.1Seeh# because it must come first in the "ld" command line.
2531.1Seehfile	arch/sparc64/sparc64/machdep.c
2541.1Seehfile	arch/sparc64/sparc64/process_machdep.c
2551.42Sfvdlfile	arch/sparc64/sparc64/procfs_machdep.c	procfs
2561.92Spkfile	arch/sparc/sparc/openprom.c
2571.92Spkfile	arch/sparc/sparc/openfirm.c
2581.1Seehfile	arch/sparc64/sparc64/ofw_machdep.c
2591.1Seehfile	arch/sparc64/sparc64/pmap.c
2601.1Seehfile	arch/sparc64/sparc64/sys_machdep.c
2611.96Schristosfile	arch/sparc64/sparc64/syscall.c
2621.1Seehfile	arch/sparc64/sparc64/trap.c
2631.1Seehfile	arch/sparc64/sparc64/vm_machdep.c
2641.90Schsfile	arch/sparc64/sparc64/ipifuncs.c		multiprocessor
2651.108Sadfile	arch/sparc64/sparc64/lock_stubs.s
2661.143Spallefile	arch/sparc64/sparc64/hvcall.S		sun4v
2671.146Spallefile	arch/sparc64/sparc64/mdesc.c		sun4v
2681.1Seeh
2691.1Seehfile	arch/sparc64/sparc64/db_interface.c	ddb | kgdb
2701.137Schristosfile	arch/sparc64/sparc64/db_machdep.c	ddb
2711.124Smrgfile	arch/sparc64/sparc64/db_trace.c		ddb
2721.1Seehfile	arch/sparc64/sparc64/db_disasm.c	ddb
2731.124Smrgfile	arch/sparc64/sparc64/db_tlb_access.S	ddb
2741.1Seeh
2751.46Smatt# USB Support
2761.46Smattinclude "dev/usb/files.usb"
2771.53Seeh
2781.102Splunky# Bluetooth Support
2791.102Splunkyinclude "dev/bluetooth/files.bluetooth"
2801.102Splunky
2811.46Smatt# IEEE1394 Support
2821.46Smattinclude "dev/ieee1394/files.ieee1394"
2831.1Seeh
2841.145Snakayama# Stack-less Just-In-Time compiler
2851.145Snakayamainclude "external/bsd/sljit/conf/files.sljit"
2861.145Snakayama
2871.1Seeh#
2881.1Seeh# Compatibility modules
2891.1Seeh#
2901.13Sthorpej
2911.73Swiz# Binary compatibility with previous NetBSD releases.
2921.13Sthorpejfile	arch/sparc64/sparc64/compat_13_machdep.c compat_13
2931.83Schristosfile	arch/sparc64/sparc64/compat_16_machdep.c compat_16
2941.1Seeh
2951.22Seeh# NetBSD/sparc 32-bit Binary compatibility (COMPAT_NETBSD32)
2961.17Skleinkinclude "compat/netbsd32/files.netbsd32"
2971.158Spgoyettefile	arch/sparc64/sparc64/netbsd32_machdep.c		compat_netbsd32
2981.158Spgoyettefile	arch/sparc64/sparc64/netbsd32_machdep_13.c	compat_netbsd32 &
2991.158Spgoyette							compat_13
3001.158Spgoyettefile	arch/sparc64/sparc64/netbsd32_machdep_16.c	compat_netbsd32 &
3011.158Spgoyette							compat_16
3021.158Spgoyettefile	arch/sparc64/sparc64/netbsd32_sigcode.s		compat_netbsd32
3031.22Seeh
3041.43Smrg# SunOS Binary Compatibility (COMPAT_SUNOS), 32-bit & 64-bit kernel
3051.43Smrg# (64-bit also depends on COMPAT_NETBSD32)
3061.17Skleinkinclude "compat/sunos/files.sunos"
3071.47Smrgfile	arch/sparc64/sparc64/sunos_sigcode.s	compat_sunos
3081.44Smrgfile	arch/sparc64/sparc64/sunos_machdep.c	compat_sunos & !compat_netbsd32
3091.43Smrginclude "compat/sunos32/files.sunos32"
3101.44Smrgfile	arch/sparc64/sparc64/sunos32_machdep.c	compat_sunos & compat_netbsd32
3111.1Seeh
3121.1Seeh# Miscellaneous
3131.58Sjdolecekfile	dev/md_root.c			memory_disk_hooks
3141.66Sgehenna
3151.66Sgehennainclude "arch/sparc64/conf/majors.sparc64"
3161.93Smartin
3171.150Spalle# Virtual rtc
3181.150Spalledevice	vrtc
3191.150Spalleattach	vrtc at vbus
3201.150Spallefile	arch/sparc64/dev/vrtc.c			vrtc
3211.152Spalle
3221.152Spalledefine	ldc
3231.152Spallefile	arch/sparc64/dev/ldc.c			ldc
3241.152Spalle
3251.152Spalle# Virtual disk
3261.152Spalledevice	vdsk: ldc, scsi
3271.152Spalleattach	vdsk at cbus
3281.152Spallefile	arch/sparc64/dev/vdsk.c			vdsk
329