files.sparc64 revision 1.126
11.126Snakayama#	$NetBSD: files.sparc64,v 1.126 2010/03/02 12:18:35 nakayama 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.57Slukemdefflag	opt_sparc_arch.h	SUN4U
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.20Smrginclude "dev/pci/files.pci"
381.20Smrgfile	arch/sparc64/dev/psycho.c		psycho
391.120Smrgfile	arch/sparc64/dev/schizo.c		schizo
401.120Smrgfile	arch/sparc64/dev/pci_machdep.c		psycho | schizo
411.20Smrg
421.20Smrg# IOMMU is for both
431.120Smrgfile	arch/sparc64/dev/iommu.c		sbus | psycho | schizo
441.20Smrg
451.20Smrginclude "dev/ata/files.ata"
461.20Smrg
471.20Smrgdevice ebus {[addr = -1]}: pcibus
481.20Smrgattach ebus at pci
491.20Smrgfile	arch/sparc64/dev/ebus.c			ebus
501.1Seeh
511.105Smrgdevice clock: mk48txx
521.107Stsutsuiattach clock at sbus with mkclock_sbus
531.107Stsutsuiattach clock at ebus with mkclock_ebus
541.107Stsutsuifile	arch/sparc64/dev/mkclock.c		clock
551.51Seeh
561.85Stsutsuidevice rtc: mc146818
571.51Seehattach rtc at ebus with rtc_ebus
581.105Smrgfile	arch/sparc64/dev/rtc.c			rtc
591.1Seeh
601.101Sgdamoredevice psm: sysmon_envsys, sysmon_power
611.101Sgdamoreattach psm at ebus
621.101Sgdamorefile	arch/sparc64/dev/psm.c			psm
631.101Sgdamore
641.1Seehdevice timer
651.11Spkattach timer at mainbus, sbus
661.1Seeh
671.1Seehdevice power
681.20Smrgattach power at sbus, ebus
691.41Seehfile	arch/sparc64/dev/power.c		power
701.1Seeh
711.125Smartindevice	tda
721.125Smartinattach	tda at iic
731.125Smartinfile	arch/sparc64/dev/tda.c			tda
741.125Smartin
751.125Smartindevice pcfiic: sysmon_envsys, pcf8584, i2cbus
761.125Smartinattach pcfiic at ebus
771.126Snakayamafile	arch/sparc64/dev/pcfiic_ebus.c		pcfiic
781.125Smartin
791.125Smartindevice ecadc
801.125Smartinattach ecadc at iic
811.126Snakayamafile	arch/sparc64/dev/pcf8591_envctrl.c	ecadc
821.110Stnn
831.121Snakayamadevice lom: sysmon_envsys, sysmon_wdog
841.121Snakayamaattach lom at ebus
851.121Snakayamafile	arch/sparc64/dev/lom.c			lom
861.121Snakayama
871.1Seehdevice cpu
881.1Seehattach cpu at mainbus
891.1Seehfile	arch/sparc64/sparc64/cpu.c
901.1Seeh
911.26Smrgdevice	auxio
921.27Smrgattach	auxio at ebus with auxio_ebus
931.27Smrgattach	auxio at sbus with auxio_sbus
941.27Smrgfile	arch/sparc64/dev/auxio.c		auxio
951.79Sheas
961.79Sheasdefflag	opt_auxio.h	BLINK
971.21Smrg
981.89Sjdolecekattach	lpt at ebus with lpt_ebus
991.20Smrgfile	arch/sparc64/dev/lpt_ebus.c		lpt_ebus
1001.20Smrg
1011.1Seehdevice fdc {}
1021.104Sjnemethattach fdc at sbus with fdc_sbus
1031.104Sjnemethattach fdc at ebus with fdc_ebus
1041.1Seehdevice fd: disk
1051.1Seehattach fd at fdc
1061.104Sjnemethfile	arch/sparc64/dev/fdc.c			fdc | fd needs-flag
1071.1Seeh
1081.21Smrgattach	audiocs at ebus with audiocs_ebus
1091.59Suwefile	dev/ebus/cs4231_ebus.c			audiocs_ebus
1101.61Smartin
1111.61Smartin# PCMCIA bus (references fdc)
1121.61Smartininclude "dev/pcmcia/files.pcmcia"
1131.75Snakayama
1141.75Snakayama# CardBus Support
1151.75Snakayamainclude "dev/cardbus/files.cardbus"
1161.75Snakayamafile	arch/sparc64/sparc64/rbus_machdep.c	cardbus
1171.21Smrg
1181.1Seeh#
1191.41Seeh# Console related stuff
1201.1Seeh#
1211.1Seeh
1221.41Seehdevice zs {channel = -1}
1231.84Spetrovattach zs at sbus
1241.41Seehfile	arch/sparc64/dev/zs.c			zs needs-flag
1251.41Seehfile	dev/ic/z8530sc.c			zs
1261.41Seeh
1271.41Seeh# siemens SAB82532; found on U5/U10/... for tty ports.
1281.65Spetrovdevice sab {channel = -1}
1291.65Spetrovattach sab at ebus
1301.65Spetrovfile	arch/sparc64/dev/sab.c			sab | sabtty needs-flag
1311.41Seeh
1321.41Seeh# "com" attachments for the kbd/mouse of the U5/U10/...
1331.41Seehattach com at ebus with com_ebus
1341.41Seehfile	arch/sparc64/dev/com_ebus.c		com_ebus
1351.41Seeh
1361.69Sthorpejdevice zstty {}: tty
1371.1Seehattach zstty at zs
1381.1Seehfile dev/ic/z8530tty.c			zstty needs-flag
1391.77Smartin# file arch/sparc/dev/zs_kgdb.c		kgdb
1401.1Seeh
1411.94Sdrochnerdevice sabtty: tty
1421.65Spetrovattach sabtty at sab
1431.20Smrg
1441.68Suwefile arch/sparc64/dev/kd.c 		kbd
1451.68Suwe
1461.18Smrgattach kbd at zs with kbd_zs
1471.68Suweattach kbd at zstty, com with kbd_tty
1481.18Smrgfile dev/sun/kbd_zs.c			kbd_zs
1491.68Suwefile dev/sun/sunkbd.c			kbd_tty
1501.68Suwefile dev/sun/kbdsun.c			kbd_zs | kbd_tty
1511.1Seeh
1521.18Smrgattach ms at zs with ms_zs
1531.68Suweattach ms at zstty, com with ms_tty
1541.18Smrgfile dev/sun/ms_zs.c			ms_zs
1551.68Suwefile dev/sun/sunms.c			ms_tty
1561.1Seeh
1571.1Seeh#
1581.1Seeh# Machine-independent SCSI drivers
1591.1Seeh#
1601.17Skleinkinclude "dev/scsipi/files.scsipi"
1611.1Seeh
1621.1Seehdevice cgfourteen
1631.11Spkattach cgfourteen at sbus
1641.1Seehfile	arch/sparc64/dev/cgfourteen.c	cgfourteen needs-flag
1651.78Spetrov
1661.122Smacallandevice ffb: wsemuldisplaydev, rasops8, rasops32, fb, vcons
1671.78Spetrovfile	arch/sparc64/dev/ffb.c			ffb
1681.78Spetrov
1691.123Smartinattach ffb at mainbus,upa with ffb_mainbus
1701.78Spetrovfile	arch/sparc64/dev/ffb_mainbus.c		ffb_mainbus
1711.80Spetrov
1721.122Smacallandevice gfb: wsemuldisplaydev, rasops32, fb, vcons
1731.122Smacallanfile	arch/sparc64/dev/gfb.c			gfb
1741.122Smacallanattach gfb at mainbus
1751.122Smacallan
1761.80Spetrov# CP1500/1400 watchdog timer
1771.80Spetrovdevice	pldwdog: sysmon_wdog
1781.80Spetrovattach	pldwdog at ebus
1791.80Spetrovfile	arch/sparc64/dev/pld_wdog.c		pldwdog
1801.1Seeh
1811.1Seeh#
1821.1Seeh# Generic Sun stuff
1831.1Seeh#
1841.1Seeh
1851.1Seehfile	dev/cons.c
1861.19Seehfile	arch/sparc64/dev/consinit.c
1871.87Sbouyerfile	dev/sun/disksubr.c 
1881.1Seeh
1891.117Smartinfile	arch/sparc64/sparc64/cpu_in_cksum.S	(inet | inet6) & cpu_in_cksum
1901.117Smartin
1911.32Smrgfile	arch/sparc/fpu/fpu.c
1921.32Smrgfile	arch/sparc/fpu/fpu_add.c
1931.32Smrgfile	arch/sparc/fpu/fpu_compare.c
1941.32Smrgfile	arch/sparc/fpu/fpu_div.c
1951.32Smrgfile	arch/sparc/fpu/fpu_explode.c
1961.32Smrgfile	arch/sparc/fpu/fpu_implode.c
1971.32Smrgfile	arch/sparc/fpu/fpu_mul.c
1981.32Smrgfile	arch/sparc/fpu/fpu_sqrt.c
1991.32Smrgfile	arch/sparc/fpu/fpu_subr.c
2001.1Seeh
2011.91Spkfile	arch/sparc/sparc/promlib.c
2021.1Seehfile	arch/sparc64/sparc64/autoconf.c
2031.106Stsutsuifile	arch/sparc64/sparc64/clock.c
2041.119Sadfile	arch/sparc64/sparc64/core_machdep.c	coredump
2051.1Seehfile	arch/sparc64/sparc64/emul.c
2061.1Seehfile	arch/sparc64/sparc64/intr.c
2071.54Slukemfile	arch/sparc64/sparc64/kgdb_machdep.c	kgdb
2081.115Sadfile	arch/sparc64/sparc64/kobj_machdep.c	modular
2091.124Smrg# sparc64/sparc64/locore.s is handled specially in the makefile,
2101.1Seeh# because it must come first in the "ld" command line.
2111.1Seehfile	arch/sparc64/sparc64/machdep.c
2121.1Seehfile	arch/sparc64/sparc64/process_machdep.c
2131.42Sfvdlfile	arch/sparc64/sparc64/procfs_machdep.c	procfs
2141.1Seehfile	arch/sparc64/sparc64/mem.c
2151.92Spkfile	arch/sparc/sparc/openprom.c
2161.92Spkfile	arch/sparc/sparc/openfirm.c
2171.1Seehfile	arch/sparc64/sparc64/ofw_machdep.c
2181.1Seehfile	arch/sparc64/sparc64/pmap.c
2191.1Seehfile	arch/sparc64/sparc64/sys_machdep.c
2201.96Schristosfile	arch/sparc64/sparc64/syscall.c
2211.1Seehfile	arch/sparc64/sparc64/trap.c
2221.1Seehfile	arch/sparc64/sparc64/vm_machdep.c
2231.90Schsfile	arch/sparc64/sparc64/ipifuncs.c		multiprocessor
2241.108Sadfile	arch/sparc64/sparc64/lock_stubs.s
2251.1Seeh
2261.1Seehfile	arch/sparc64/sparc64/db_interface.c	ddb | kgdb
2271.124Smrgfile	arch/sparc64/sparc64/db_trace.c		ddb
2281.1Seehfile	arch/sparc64/sparc64/db_disasm.c	ddb
2291.124Smrgfile	arch/sparc64/sparc64/db_tlb_access.S	ddb
2301.1Seeh
2311.46Smatt# USB Support
2321.46Smattinclude "dev/usb/files.usb"
2331.53Seeh
2341.102Splunky# Bluetooth Support
2351.102Splunkyinclude "dev/bluetooth/files.bluetooth"
2361.102Splunky
2371.46Smatt# IEEE1394 Support
2381.46Smattinclude "dev/ieee1394/files.ieee1394"
2391.1Seeh
2401.1Seeh#
2411.1Seeh# Compatibility modules
2421.1Seeh#
2431.13Sthorpej
2441.73Swiz# Binary compatibility with previous NetBSD releases.
2451.13Sthorpejfile	arch/sparc64/sparc64/compat_13_machdep.c compat_13
2461.83Schristosfile	arch/sparc64/sparc64/compat_16_machdep.c compat_16
2471.1Seeh
2481.22Seeh# NetBSD/sparc 32-bit Binary compatibility (COMPAT_NETBSD32)
2491.17Skleinkinclude "compat/netbsd32/files.netbsd32"
2501.15Smrgfile	arch/sparc64/sparc64/netbsd32_machdep.c	compat_netbsd32
2511.47Smrgfile	arch/sparc64/sparc64/netbsd32_sigcode.s	compat_netbsd32
2521.22Seeh
2531.1Seeh# SVR4 Binary Compatibility (COMPAT_SVR4)
2541.17Skleinkinclude "compat/svr4/files.svr4"
2551.1Seehfile	arch/sparc64/sparc64/svr4_machdep.c	compat_svr4
2561.52Seehfile	arch/sparc64/sparc64/svr4_sigcode64.s	compat_svr4 & exec_elf64
2571.45Seeh
2581.45Seeh# 32-bit SVR4 Binary Compatibility (COMPAT_SVR4_32)
2591.45Seehinclude "compat/svr4_32/files.svr4_32"
2601.45Seehfile	arch/sparc64/sparc64/svr4_32_machdep.c	compat_svr4_32
2611.52Seehfile	arch/sparc64/sparc64/svr4_32_sigcode.s	compat_svr4_32 | (compat_svr4 & !exec_elf64)
2621.1Seeh
2631.43Smrg# SunOS Binary Compatibility (COMPAT_SUNOS), 32-bit & 64-bit kernel
2641.43Smrg# (64-bit also depends on COMPAT_NETBSD32)
2651.17Skleinkinclude "compat/sunos/files.sunos"
2661.47Smrgfile	arch/sparc64/sparc64/sunos_sigcode.s	compat_sunos
2671.44Smrgfile	arch/sparc64/sparc64/sunos_machdep.c	compat_sunos & !compat_netbsd32
2681.43Smrginclude "compat/sunos32/files.sunos32"
2691.44Smrgfile	arch/sparc64/sparc64/sunos32_machdep.c	compat_sunos & compat_netbsd32
2701.1Seeh
2711.1Seeh# Miscellaneous
2721.58Sjdolecekfile	dev/md_root.c			memory_disk_hooks
2731.66Sgehenna
2741.66Sgehennainclude "arch/sparc64/conf/majors.sparc64"
2751.93Smartin
2761.93Smartin# special compiler settings (no optimization if 32bit kernel)
2771.93Smartinfile	uvm/uvm_bio.c compile-with "${CC_NOOPT}"
2781.114Smacallan
2791.114Smacallan# OpenFirmware convenience stuff
2801.114Smacallanfile  dev/ofw/ofw_subr.c
281