files.sparc64 revision 1.146
11.146Spalle#	$NetBSD: files.sparc64,v 1.146 2015/01/10 22:19:26 palle 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.62Seehdevice mainbus: mainbus
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.120Smrgdevice	schizo: pcibus, sysmon_power, sysmon_taskq
361.120Smrgattach	schizo at mainbus
371.129Smrgdevice	pyro: pcibus, sysmon_power, sysmon_taskq
381.129Smrgattach	pyro at mainbus
391.20Smrginclude "dev/pci/files.pci"
401.142Smacallanfile	arch/sparc64/dev/psycho.c		psycho needs-flag
411.120Smrgfile	arch/sparc64/dev/schizo.c		schizo
421.129Smrgfile	arch/sparc64/dev/pyro.c			pyro
431.129Smrgfile	arch/sparc64/dev/pci_machdep.c		psycho | schizo | pyro
441.20Smrg
451.134Smrgdefine  central {}
461.134Smrgdevice	central: central
471.134Smrgattach	central at mainbus
481.134Smrgfile	arch/sparc64/dev/central.c		central
491.134Smrg
501.134Smrgdefine  fhc {}
511.134Smrgdevice	fhc: fhc
521.134Smrgattach	fhc at mainbus with fhc_mainbus
531.134Smrgattach	fhc at central with fhc_central
541.134Smrgfile	arch/sparc64/dev/fhc.c			fhc
551.134Smrgfile	arch/sparc64/dev/fhc_central.c		fhc_central
561.134Smrgfile	arch/sparc64/dev/fhc_mainbus.c		fhc_mainbus
571.134Smrg
581.20Smrg# IOMMU is for both
591.129Smrgfile	arch/sparc64/dev/iommu.c		sbus | psycho | schizo | pyro
601.20Smrg
611.20Smrginclude "dev/ata/files.ata"
621.20Smrg
631.20Smrgdevice ebus {[addr = -1]}: pcibus
641.20Smrgattach ebus at pci
651.20Smrgfile	arch/sparc64/dev/ebus.c			ebus
661.129Smrgattach ebus at mainbus with ebus_mainbus
671.129Smrgfile	arch/sparc64/dev/ebus_mainbus.c		ebus_mainbus
681.1Seeh
691.105Smrgdevice clock: mk48txx
701.107Stsutsuiattach clock at sbus with mkclock_sbus
711.107Stsutsuiattach clock at ebus with mkclock_ebus
721.134Smrgattach clock at fhc with mkclock_fhc
731.107Stsutsuifile	arch/sparc64/dev/mkclock.c		clock
741.51Seeh
751.85Stsutsuidevice rtc: mc146818
761.51Seehattach rtc at ebus with rtc_ebus
771.105Smrgfile	arch/sparc64/dev/rtc.c			rtc
781.1Seeh
791.101Sgdamoredevice psm: sysmon_envsys, sysmon_power
801.101Sgdamoreattach psm at ebus
811.101Sgdamorefile	arch/sparc64/dev/psm.c			psm
821.101Sgdamore
831.1Seehdevice timer
841.11Spkattach timer at mainbus, sbus
851.1Seeh
861.1Seehdevice power
871.20Smrgattach power at sbus, ebus
881.41Seehfile	arch/sparc64/dev/power.c		power
891.1Seeh
901.125Smartindevice	tda
911.125Smartinattach	tda at iic
921.125Smartinfile	arch/sparc64/dev/tda.c			tda
931.125Smartin
941.125Smartindevice pcfiic: sysmon_envsys, pcf8584, i2cbus
951.125Smartinattach pcfiic at ebus
961.126Snakayamafile	arch/sparc64/dev/pcfiic_ebus.c		pcfiic
971.125Smartin
981.125Smartindevice ecadc
991.125Smartinattach ecadc at iic
1001.126Snakayamafile	arch/sparc64/dev/pcf8591_envctrl.c	ecadc
1011.110Stnn
1021.121Snakayamadevice lom: sysmon_envsys, sysmon_wdog
1031.121Snakayamaattach lom at ebus
1041.121Snakayamafile	arch/sparc64/dev/lom.c			lom
1051.121Snakayama
1061.1Seehdevice cpu
1071.1Seehattach cpu at mainbus
1081.1Seehfile	arch/sparc64/sparc64/cpu.c
1091.1Seeh
1101.26Smrgdevice	auxio
1111.27Smrgattach	auxio at ebus with auxio_ebus
1121.27Smrgattach	auxio at sbus with auxio_sbus
1131.27Smrgfile	arch/sparc64/dev/auxio.c		auxio
1141.79Sheas
1151.79Sheasdefflag	opt_auxio.h	BLINK
1161.21Smrg
1171.89Sjdolecekattach	lpt at ebus with lpt_ebus
1181.20Smrgfile	arch/sparc64/dev/lpt_ebus.c		lpt_ebus
1191.20Smrg
1201.1Seehdevice fdc {}
1211.104Sjnemethattach fdc at sbus with fdc_sbus
1221.104Sjnemethattach fdc at ebus with fdc_ebus
1231.1Seehdevice fd: disk
1241.1Seehattach fd at fdc
1251.104Sjnemethfile	arch/sparc64/dev/fdc.c			fdc | fd needs-flag
1261.1Seeh
1271.21Smrgattach	audiocs at ebus with audiocs_ebus
1281.59Suwefile	dev/ebus/cs4231_ebus.c			audiocs_ebus
1291.61Smartin
1301.61Smartin# PCMCIA bus (references fdc)
1311.61Smartininclude "dev/pcmcia/files.pcmcia"
1321.75Snakayama
1331.75Snakayama# CardBus Support
1341.75Snakayamainclude "dev/cardbus/files.cardbus"
1351.75Snakayamafile	arch/sparc64/sparc64/rbus_machdep.c	cardbus
1361.21Smrg
1371.1Seeh#
1381.41Seeh# Console related stuff
1391.1Seeh#
1401.1Seeh
1411.41Seehdevice zs {channel = -1}
1421.135Smrgattach zs at sbus
1431.135Smrgattach zs at fhc with zs_fhc
1441.41Seehfile	arch/sparc64/dev/zs.c			zs needs-flag
1451.41Seehfile	dev/ic/z8530sc.c			zs
1461.41Seeh
1471.41Seeh# siemens SAB82532; found on U5/U10/... for tty ports.
1481.65Spetrovdevice sab {channel = -1}
1491.65Spetrovattach sab at ebus
1501.65Spetrovfile	arch/sparc64/dev/sab.c			sab | sabtty needs-flag
1511.41Seeh
1521.41Seeh# "com" attachments for the kbd/mouse of the U5/U10/...
1531.41Seehattach com at ebus with com_ebus
1541.41Seehfile	arch/sparc64/dev/com_ebus.c		com_ebus
1551.41Seeh
1561.139Sjdc# ebus PS/2 keyboard attachment for Tadpole SPARCle, etc.
1571.139Sjdcinclude "dev/pckbport/files.pckbport"
1581.139Sjdcattach pckbc at ebus with pckbc_ebus
1591.139Sjdcfile	arch/sparc64/dev/pckbc_ebus.c		pckbc_ebus
1601.139Sjdc
1611.69Sthorpejdevice zstty {}: tty
1621.1Seehattach zstty at zs
1631.1Seehfile dev/ic/z8530tty.c			zstty needs-flag
1641.77Smartin# file arch/sparc/dev/zs_kgdb.c		kgdb
1651.1Seeh
1661.94Sdrochnerdevice sabtty: tty
1671.65Spetrovattach sabtty at sab
1681.20Smrg
1691.68Suwefile arch/sparc64/dev/kd.c 		kbd
1701.68Suwe
1711.18Smrgattach kbd at zs with kbd_zs
1721.68Suweattach kbd at zstty, com with kbd_tty
1731.18Smrgfile dev/sun/kbd_zs.c			kbd_zs
1741.68Suwefile dev/sun/sunkbd.c			kbd_tty
1751.68Suwefile dev/sun/kbdsun.c			kbd_zs | kbd_tty
1761.1Seeh
1771.18Smrgattach ms at zs with ms_zs
1781.68Suweattach ms at zstty, com with ms_tty
1791.18Smrgfile dev/sun/ms_zs.c			ms_zs
1801.68Suwefile dev/sun/sunms.c			ms_tty
1811.1Seeh
1821.1Seeh#
1831.1Seeh# Machine-independent SCSI drivers
1841.1Seeh#
1851.17Skleinkinclude "dev/scsipi/files.scsipi"
1861.1Seeh
1871.1Seehdevice cgfourteen
1881.11Spkattach cgfourteen at sbus
1891.1Seehfile	arch/sparc64/dev/cgfourteen.c	cgfourteen needs-flag
1901.78Spetrov
1911.142Smacallandevice ffb: wsemuldisplaydev, rasops32, fb, vcons, i2cexec, i2c_bitbang, ddc_read_edid, edid, videomode
1921.78Spetrovfile	arch/sparc64/dev/ffb.c			ffb
1931.128Smacallandefflag opt_ffb.h FFB_DEBUG FFB_SYNC
1941.123Smartinattach ffb at mainbus,upa with ffb_mainbus
1951.78Spetrovfile	arch/sparc64/dev/ffb_mainbus.c		ffb_mainbus
1961.80Spetrov
1971.122Smacallandevice gfb: wsemuldisplaydev, rasops32, fb, vcons
1981.122Smacallanfile	arch/sparc64/dev/gfb.c			gfb
1991.122Smacallanattach gfb at mainbus
2001.122Smacallan
2011.80Spetrov# CP1500/1400 watchdog timer
2021.80Spetrovdevice	pldwdog: sysmon_wdog
2031.80Spetrovattach	pldwdog at ebus
2041.80Spetrovfile	arch/sparc64/dev/pld_wdog.c		pldwdog
2051.1Seeh
2061.1Seeh#
2071.1Seeh# Generic Sun stuff
2081.1Seeh#
2091.1Seeh
2101.1Seehfile	dev/cons.c
2111.19Seehfile	arch/sparc64/dev/consinit.c
2121.87Sbouyerfile	dev/sun/disksubr.c 
2131.1Seeh
2141.117Smartinfile	arch/sparc64/sparc64/cpu_in_cksum.S	(inet | inet6) & cpu_in_cksum
2151.117Smartin
2161.32Smrgfile	arch/sparc/fpu/fpu.c
2171.32Smrgfile	arch/sparc/fpu/fpu_add.c
2181.32Smrgfile	arch/sparc/fpu/fpu_compare.c
2191.32Smrgfile	arch/sparc/fpu/fpu_div.c
2201.32Smrgfile	arch/sparc/fpu/fpu_explode.c
2211.32Smrgfile	arch/sparc/fpu/fpu_implode.c
2221.32Smrgfile	arch/sparc/fpu/fpu_mul.c
2231.32Smrgfile	arch/sparc/fpu/fpu_sqrt.c
2241.32Smrgfile	arch/sparc/fpu/fpu_subr.c
2251.1Seeh
2261.91Spkfile	arch/sparc/sparc/promlib.c
2271.1Seehfile	arch/sparc64/sparc64/autoconf.c
2281.132Smrgfile	arch/sparc64/sparc64/cache.c
2291.106Stsutsuifile	arch/sparc64/sparc64/clock.c
2301.119Sadfile	arch/sparc64/sparc64/core_machdep.c	coredump
2311.1Seehfile	arch/sparc64/sparc64/emul.c
2321.1Seehfile	arch/sparc64/sparc64/intr.c
2331.54Slukemfile	arch/sparc64/sparc64/kgdb_machdep.c	kgdb
2341.140Snakayamafile	arch/sparc/sparc/kobj_machdep.c		modular & !exec_elf64
2351.140Snakayamafile	arch/sparc64/sparc64/kobj_machdep.c	modular & exec_elf64
2361.124Smrg# sparc64/sparc64/locore.s is handled specially in the makefile,
2371.1Seeh# because it must come first in the "ld" command line.
2381.1Seehfile	arch/sparc64/sparc64/machdep.c
2391.1Seehfile	arch/sparc64/sparc64/process_machdep.c
2401.42Sfvdlfile	arch/sparc64/sparc64/procfs_machdep.c	procfs
2411.92Spkfile	arch/sparc/sparc/openprom.c
2421.92Spkfile	arch/sparc/sparc/openfirm.c
2431.1Seehfile	arch/sparc64/sparc64/ofw_machdep.c
2441.1Seehfile	arch/sparc64/sparc64/pmap.c
2451.1Seehfile	arch/sparc64/sparc64/sys_machdep.c
2461.96Schristosfile	arch/sparc64/sparc64/syscall.c
2471.1Seehfile	arch/sparc64/sparc64/trap.c
2481.1Seehfile	arch/sparc64/sparc64/vm_machdep.c
2491.90Schsfile	arch/sparc64/sparc64/ipifuncs.c		multiprocessor
2501.108Sadfile	arch/sparc64/sparc64/lock_stubs.s
2511.143Spallefile	arch/sparc64/sparc64/hvcall.S		sun4v
2521.146Spallefile	arch/sparc64/sparc64/mdesc.c		sun4v
2531.1Seeh
2541.1Seehfile	arch/sparc64/sparc64/db_interface.c	ddb | kgdb
2551.137Schristosfile	arch/sparc64/sparc64/db_machdep.c	ddb
2561.124Smrgfile	arch/sparc64/sparc64/db_trace.c		ddb
2571.1Seehfile	arch/sparc64/sparc64/db_disasm.c	ddb
2581.124Smrgfile	arch/sparc64/sparc64/db_tlb_access.S	ddb
2591.1Seeh
2601.46Smatt# USB Support
2611.46Smattinclude "dev/usb/files.usb"
2621.53Seeh
2631.102Splunky# Bluetooth Support
2641.102Splunkyinclude "dev/bluetooth/files.bluetooth"
2651.102Splunky
2661.46Smatt# IEEE1394 Support
2671.46Smattinclude "dev/ieee1394/files.ieee1394"
2681.1Seeh
2691.145Snakayama# Stack-less Just-In-Time compiler
2701.145Snakayamainclude "external/bsd/sljit/conf/files.sljit"
2711.145Snakayama
2721.1Seeh#
2731.1Seeh# Compatibility modules
2741.1Seeh#
2751.13Sthorpej
2761.73Swiz# Binary compatibility with previous NetBSD releases.
2771.13Sthorpejfile	arch/sparc64/sparc64/compat_13_machdep.c compat_13
2781.83Schristosfile	arch/sparc64/sparc64/compat_16_machdep.c compat_16
2791.1Seeh
2801.22Seeh# NetBSD/sparc 32-bit Binary compatibility (COMPAT_NETBSD32)
2811.17Skleinkinclude "compat/netbsd32/files.netbsd32"
2821.15Smrgfile	arch/sparc64/sparc64/netbsd32_machdep.c	compat_netbsd32
2831.47Smrgfile	arch/sparc64/sparc64/netbsd32_sigcode.s	compat_netbsd32
2841.22Seeh
2851.1Seeh# SVR4 Binary Compatibility (COMPAT_SVR4)
2861.17Skleinkinclude "compat/svr4/files.svr4"
2871.1Seehfile	arch/sparc64/sparc64/svr4_machdep.c	compat_svr4
2881.52Seehfile	arch/sparc64/sparc64/svr4_sigcode64.s	compat_svr4 & exec_elf64
2891.45Seeh
2901.45Seeh# 32-bit SVR4 Binary Compatibility (COMPAT_SVR4_32)
2911.45Seehinclude "compat/svr4_32/files.svr4_32"
2921.45Seehfile	arch/sparc64/sparc64/svr4_32_machdep.c	compat_svr4_32
2931.52Seehfile	arch/sparc64/sparc64/svr4_32_sigcode.s	compat_svr4_32 | (compat_svr4 & !exec_elf64)
2941.1Seeh
2951.43Smrg# SunOS Binary Compatibility (COMPAT_SUNOS), 32-bit & 64-bit kernel
2961.43Smrg# (64-bit also depends on COMPAT_NETBSD32)
2971.17Skleinkinclude "compat/sunos/files.sunos"
2981.47Smrgfile	arch/sparc64/sparc64/sunos_sigcode.s	compat_sunos
2991.44Smrgfile	arch/sparc64/sparc64/sunos_machdep.c	compat_sunos & !compat_netbsd32
3001.43Smrginclude "compat/sunos32/files.sunos32"
3011.44Smrgfile	arch/sparc64/sparc64/sunos32_machdep.c	compat_sunos & compat_netbsd32
3021.1Seeh
3031.1Seeh# Miscellaneous
3041.58Sjdolecekfile	dev/md_root.c			memory_disk_hooks
3051.66Sgehenna
3061.66Sgehennainclude "arch/sparc64/conf/majors.sparc64"
3071.93Smartin
3081.114Smacallan# OpenFirmware convenience stuff
3091.114Smacallanfile  dev/ofw/ofw_subr.c
310