files.sparc64 revision 1.66
11.66Sgehenna#	$NetBSD: files.sparc64,v 1.66 2002/09/06 13:18:43 gehenna 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.30Seeh
131.30Seeh#
141.30Seeh# XXXXXXXXXXX
151.30Seeh#
161.30Seeh# These files must be compiled w/no omtimization in 64-bit mode
171.30Seeh#
181.30Seeh
191.33Smrgfile net/if_ppp.c		compile-with "${NOOPT_C}"
201.33Smrgfile net/if_loop.c		compile-with "${NOOPT_C}"
211.33Smrgfile net/if_sl.c		compile-with "${NOOPT_C}"
221.55Slukemfile ufs/lfs/lfs_debug.c	compile-with "${NOOPT_C}"
231.30Seeh
241.30Seeh#
251.30Seeh# XXXXXXXXXXX
261.30Seeh#
271.1Seeh
281.20Smrgdefine mainbus {}
291.62Seehdevice mainbus: mainbus
301.1Seehattach mainbus at root
311.29Seeh
321.29Seehdevice pcons
331.29Seehattach pcons at mainbus
341.29Seehfile	arch/sparc64/dev/pcons.c		pcons needs-flag
351.1Seeh
361.35Spkinclude "dev/sun/files.sun"
371.39Sadinclude "dev/i2o/files.i2o"
381.35Spk
391.17Skleinkinclude "dev/sbus/files.sbus"
401.20Smrgattach sbus at mainbus
411.1Seehfile	arch/sparc64/dev/sbus.c			sbus
421.14Smrg
431.55Slukemdevice	psycho: pcibus
441.55Slukemattach	psycho at mainbus
451.20Smrginclude "dev/pci/files.pci"
461.20Smrgfile	arch/sparc64/dev/psycho.c		psycho
471.20Smrgfile	arch/sparc64/dev/pci_machdep.c		psycho
481.20Smrg
491.20Smrg# IOMMU is for both
501.20Smrgfile	arch/sparc64/dev/iommu.c		sbus | psycho
511.20Smrg
521.20Smrginclude "dev/ata/files.ata"
531.20Smrg
541.20Smrgdevice ebus {[addr = -1]}: pcibus
551.20Smrgattach ebus at pci
561.20Smrgfile	arch/sparc64/dev/ebus.c			ebus
571.1Seeh
581.34Spkdevice clock: mk48txx
591.20Smrgattach clock at mainbus, sbus with clock_sbus
601.20Smrgattach clock at ebus with clock_ebus
611.51Seeh
621.51Seehdevice rtc
631.51Seehattach rtc at ebus with rtc_ebus
641.1Seeh
651.1Seehdevice timer
661.11Spkattach timer at mainbus, sbus
671.1Seeh
681.1Seehdevice eeprom
691.20Smrgattach eeprom at sbus, ebus
701.1Seehfile	arch/sparc64/sparc64/clock.c
711.34Spkfile	dev/clock_subr.c
721.1Seeh
731.1Seehdevice power
741.20Smrgattach power at sbus, ebus
751.41Seehfile	arch/sparc64/dev/power.c		power
761.1Seeh
771.1Seehdevice cpu
781.1Seehattach cpu at mainbus
791.1Seehfile	arch/sparc64/sparc64/cpu.c
801.1Seeh
811.20Smrg# XXX bogus; this is in dev/isa/files.isa.  fix me please!
821.27Smrg# XXX we should attach a `bpp'-style device here rather than
831.27Smrg# `lpt' because the `bpp' driver supports DMA.
841.21Smrgdevice	lpt
851.21Smrgfile	dev/ic/lpt.c				lpt needs-flag
861.26Smrg
871.26Smrgdevice	auxio
881.27Smrgattach	auxio at ebus with auxio_ebus
891.27Smrgattach	auxio at sbus with auxio_sbus
901.27Smrgfile	arch/sparc64/dev/auxio.c		auxio
911.21Smrg
921.20Smrgattach lpt at ebus with lpt_ebus
931.20Smrgfile	arch/sparc64/dev/lpt_ebus.c		lpt_ebus
941.20Smrg
951.1Seehdevice fdc {}
961.20Smrgattach fdc at mainbus, sbus, ebus
971.20Smrg# attach fdc at ebus
981.1Seehdevice fd: disk
991.1Seehattach fd at fdc
1001.15Smrgfile	dev/sun/fd.c				fdc | fd needs-flag
1011.15Smrgfile	arch/sparc64/sparc64/bsd_fdintr.s	fdc
1021.1Seeh
1031.21Smrgattach	audiocs at ebus with audiocs_ebus
1041.59Suwefile	dev/ebus/cs4231_ebus.c			audiocs_ebus
1051.61Smartin
1061.61Smartin# PCMCIA bus (references fdc)
1071.61Smartininclude "dev/pcmcia/files.pcmcia"
1081.21Smrg
1091.1Seeh#
1101.41Seeh# Console related stuff
1111.1Seeh#
1121.1Seeh
1131.41Seehdevice zs {channel = -1}
1141.41Seehattach zs at mainbus, sbus
1151.41Seehfile	arch/sparc64/dev/zs.c			zs needs-flag
1161.41Seehfile	dev/ic/z8530sc.c			zs
1171.41Seeh
1181.41Seeh# siemens SAB82532; found on U5/U10/... for tty ports.
1191.65Spetrovdevice sab {channel = -1}
1201.65Spetrovattach sab at ebus
1211.65Spetrovfile	arch/sparc64/dev/sab.c			sab | sabtty needs-flag
1221.41Seeh#file	arch/sparc64/dev/sab_ebus.c		sab
1231.41Seeh#file	dev/ic/sab82532.c			sab
1241.41Seeh
1251.41Seeh# "com" attachments for the kbd/mouse of the U5/U10/...
1261.41Seehattach com at ebus with com_ebus
1271.41Seehfile	arch/sparc64/dev/com_ebus.c		com_ebus
1281.41Seeh
1291.40Seehdefine zstty {}
1301.1Seehdevice zstty: tty
1311.1Seehattach zstty at zs
1321.1Seehfile dev/ic/z8530tty.c			zstty needs-flag
1331.1Seehfile arch/sparc/dev/zs_kgdb.c		kgdb
1341.1Seeh
1351.65Spetrovdefine sabtty {}
1361.65Spetrovdevice sabtty: tty
1371.65Spetrovattach sabtty at sab
1381.65Spetrov# file arch/sparc64/dev/sabtty.c	sabtty needs-flag
1391.20Smrg
1401.38Seehdevice kbd
1411.18Smrgattach kbd at zs with kbd_zs
1421.40Seehattach kbd at zstty, com
1431.18Smrgfile dev/sun/kbd_zs.c			kbd_zs
1441.41Seehfile dev/sun/kbd.c			kbd needs-flag
1451.41Seehfile dev/sun/kbd_tables.c 		kbd
1461.41Seehfile arch/sparc64/dev/kd.c 		kbd
1471.41Seehfile dev/sun/sunkbd.c			kbd needs-flag
1481.1Seeh
1491.38Seehdevice ms
1501.18Smrgattach ms at zs with ms_zs
1511.40Seehattach ms at zstty, com
1521.18Smrgfile dev/sun/ms_zs.c			ms_zs
1531.1Seehfile dev/sun/ms.c			ms needs-flag
1541.38Seehfile dev/sun/sunms.c			ms needs-flag
1551.1Seeh
1561.1Seeh#
1571.1Seeh# Machine-independent SCSI drivers
1581.1Seeh#
1591.17Skleinkinclude "dev/scsipi/files.scsipi"
1601.1Seeh
1611.1Seehdevice cgfourteen
1621.11Spkattach cgfourteen at sbus
1631.1Seehfile	arch/sparc64/dev/cgfourteen.c	cgfourteen needs-flag
1641.1Seeh
1651.1Seeh#
1661.1Seeh# Generic Sun stuff
1671.1Seeh#
1681.1Seeh
1691.1Seehfile	dev/cons.c
1701.19Seehfile	arch/sparc64/dev/consinit.c
1711.1Seeh
1721.32Smrgfile	arch/sparc/fpu/fpu.c
1731.32Smrgfile	arch/sparc/fpu/fpu_add.c
1741.32Smrgfile	arch/sparc/fpu/fpu_compare.c
1751.32Smrgfile	arch/sparc/fpu/fpu_div.c
1761.32Smrgfile	arch/sparc/fpu/fpu_explode.c
1771.32Smrgfile	arch/sparc/fpu/fpu_implode.c
1781.32Smrgfile	arch/sparc/fpu/fpu_mul.c
1791.32Smrgfile	arch/sparc/fpu/fpu_sqrt.c
1801.32Smrgfile	arch/sparc/fpu/fpu_subr.c
1811.1Seeh
1821.1Seeh# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
1831.1Seeh# identified the exact problem yet.  NOOPT_C suffices for now.
1841.1Seehfile	arch/sparc64/sparc64/autoconf.c
1851.1Seehfile	arch/sparc64/sparc64/cache.c
1861.1Seehfile	arch/sparc64/sparc64/conf.c
1871.1Seehfile	arch/sparc64/sparc64/emul.c
1881.49Seehfile	arch/sparc64/sparc64/in_cksum.S
1891.50Seehfile	arch/sparc64/sparc64/in4_cksum.c	inet
1901.1Seehfile	arch/sparc64/sparc64/intr.c
1911.54Slukemfile	arch/sparc64/sparc64/kgdb_machdep.c	kgdb
1921.1Seeh# sparc/sparc/locore.s is handled specially in the makefile,
1931.1Seeh# because it must come first in the "ld" command line.
1941.1Seehfile	arch/sparc64/sparc64/locore2.c
1951.1Seehfile	arch/sparc64/sparc64/machdep.c
1961.1Seehfile	arch/sparc64/sparc64/process_machdep.c
1971.42Sfvdlfile	arch/sparc64/sparc64/procfs_machdep.c	procfs
1981.1Seehfile	arch/sparc64/sparc64/mem.c
1991.1Seehfile	arch/sparc64/sparc64/openprom.c
2001.1Seehfile	arch/sparc64/sparc64/openfirm.c
2011.1Seehfile	arch/sparc64/sparc64/ofw_machdep.c
2021.1Seehfile	arch/sparc64/sparc64/pmap.c
2031.1Seeh# the following overrides the generic "sys_process.c"
2041.1Seeh# commented out by deraadt
2051.1Seeh#file	arch/sparc64/sparc64/sys_process.c
2061.1Seehfile	arch/sparc64/sparc64/sys_machdep.c
2071.1Seehfile	arch/sparc64/sparc64/trap.c
2081.1Seehfile	arch/sparc64/sparc64/vm_machdep.c
2091.1Seehfile	arch/sparc64/sparc64/disksubr.c
2101.1Seeh
2111.1Seehfile	arch/sparc64/sparc64/db_interface.c	ddb | kgdb
2121.1Seehfile	arch/sparc64/sparc64/db_trace.c	ddb
2131.1Seehfile	arch/sparc64/sparc64/db_disasm.c	ddb
2141.54Slukem#file 	ddb/db_aout.c				ddb_aout
2151.54Slukem#file	ddb/db_elf.c				ddb
2161.1Seeh
2171.1Seeh#
2181.53Seeh# Raster Console support
2191.1Seeh#
2201.17Skleinkinclude "dev/wsfont/files.wsfont"
2211.53Seehinclude "dev/rcons/files.rcons"
2221.46Smatt
2231.46Smatt# USB Support
2241.46Smattinclude "dev/usb/files.usb"
2251.53Seeh
2261.46Smatt# IEEE1394 Support
2271.46Smattinclude "dev/ieee1394/files.ieee1394"
2281.1Seeh
2291.1Seeh#
2301.1Seeh# Compatibility modules
2311.1Seeh#
2321.13Sthorpej
2331.13Sthorpej# Binary compatiblity with previous NetBSD releases.
2341.13Sthorpejfile	arch/sparc64/sparc64/compat_13_machdep.c compat_13
2351.1Seeh
2361.22Seeh# NetBSD/sparc 32-bit Binary compatibility (COMPAT_NETBSD32)
2371.17Skleinkinclude "compat/netbsd32/files.netbsd32"
2381.15Smrgfile	arch/sparc64/sparc64/netbsd32_machdep.c	compat_netbsd32
2391.47Smrgfile	arch/sparc64/sparc64/netbsd32_sigcode.s	compat_netbsd32
2401.22Seeh
2411.22Seeh# NetBSD a.out Binary Compatibility (COMPAT_AOUT)
2421.22Seehinclude "compat/aout/files.aout"
2431.8Smrg
2441.1Seeh# SVR4 Binary Compatibility (COMPAT_SVR4)
2451.17Skleinkinclude "compat/svr4/files.svr4"
2461.1Seehfile	arch/sparc64/sparc64/svr4_machdep.c	compat_svr4
2471.52Seehfile	arch/sparc64/sparc64/svr4_sigcode64.s	compat_svr4 & exec_elf64
2481.45Seeh
2491.45Seeh# 32-bit SVR4 Binary Compatibility (COMPAT_SVR4_32)
2501.45Seehinclude "compat/svr4_32/files.svr4_32"
2511.45Seehfile	arch/sparc64/sparc64/svr4_32_machdep.c	compat_svr4_32
2521.52Seehfile	arch/sparc64/sparc64/svr4_32_sigcode.s	compat_svr4_32 | (compat_svr4 & !exec_elf64)
2531.1Seeh
2541.43Smrg# SunOS Binary Compatibility (COMPAT_SUNOS), 32-bit & 64-bit kernel
2551.43Smrg# (64-bit also depends on COMPAT_NETBSD32)
2561.17Skleinkinclude "compat/sunos/files.sunos"
2571.47Smrgfile	arch/sparc64/sparc64/sunos_sigcode.s	compat_sunos
2581.44Smrgfile	arch/sparc64/sparc64/sunos_machdep.c	compat_sunos & !compat_netbsd32
2591.43Smrginclude "compat/sunos32/files.sunos32"
2601.44Smrgfile	arch/sparc64/sparc64/sunos32_machdep.c	compat_sunos & compat_netbsd32
2611.1Seeh
2621.1Seeh# Miscellaneous
2631.1Seehfile	netns/ns_cksum.c		ns
2641.1Seeh
2651.58Sjdolecekfile	dev/md_root.c			memory_disk_hooks
2661.66Sgehenna
2671.66Sgehennainclude "arch/sparc64/conf/majors.sparc64"
268