files.sparc64 revision 1.62
11.62Seeh#	$NetBSD: files.sparc64,v 1.62 2002/05/06 19:48:05 eeh 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.62Seeh
491.62Seeh#
501.62Seeh# OF PCI stuff
511.62Seeh#
521.62Seeh
531.62Seehdevice	ofpci: pci
541.62Seehattach	ofpci at pcibus
551.62Seehfile	arch/sparc64/dev/ofpci.c		ofpci
561.62Seeh
571.62Seeh# PCI-PCI bridge chips
581.62Seehdevice	ofppb: pcibus
591.62Seehattach	ofppb at pci
601.62Seehfile	arch/sparc64/dev/ofppb.c		ofppb
611.20Smrg
621.20Smrg# IOMMU is for both
631.20Smrgfile	arch/sparc64/dev/iommu.c		sbus | psycho
641.20Smrg
651.20Smrginclude "dev/ata/files.ata"
661.20Smrg
671.20Smrgdevice ebus {[addr = -1]}: pcibus
681.20Smrgattach ebus at pci
691.20Smrgfile	arch/sparc64/dev/ebus.c			ebus
701.1Seeh
711.34Spkdevice clock: mk48txx
721.20Smrgattach clock at mainbus, sbus with clock_sbus
731.20Smrgattach clock at ebus with clock_ebus
741.51Seeh
751.51Seehdevice rtc
761.51Seehattach rtc at ebus with rtc_ebus
771.1Seeh
781.1Seehdevice timer
791.11Spkattach timer at mainbus, sbus
801.1Seeh
811.1Seehdevice eeprom
821.20Smrgattach eeprom at sbus, ebus
831.1Seehfile	arch/sparc64/sparc64/clock.c
841.34Spkfile	dev/clock_subr.c
851.1Seeh
861.1Seehdevice power
871.20Smrgattach power at sbus, ebus
881.41Seehfile	arch/sparc64/dev/power.c		power
891.1Seeh
901.1Seehdevice cpu
911.1Seehattach cpu at mainbus
921.1Seehfile	arch/sparc64/sparc64/cpu.c
931.1Seeh
941.20Smrg# XXX bogus; this is in dev/isa/files.isa.  fix me please!
951.27Smrg# XXX we should attach a `bpp'-style device here rather than
961.27Smrg# `lpt' because the `bpp' driver supports DMA.
971.21Smrgdevice	lpt
981.21Smrgfile	dev/ic/lpt.c				lpt needs-flag
991.26Smrg
1001.26Smrgdevice	auxio
1011.27Smrgattach	auxio at ebus with auxio_ebus
1021.27Smrgattach	auxio at sbus with auxio_sbus
1031.27Smrgfile	arch/sparc64/dev/auxio.c		auxio
1041.21Smrg
1051.20Smrgattach lpt at ebus with lpt_ebus
1061.20Smrgfile	arch/sparc64/dev/lpt_ebus.c		lpt_ebus
1071.20Smrg
1081.1Seehdevice fdc {}
1091.20Smrgattach fdc at mainbus, sbus, ebus
1101.20Smrg# attach fdc at ebus
1111.1Seehdevice fd: disk
1121.1Seehattach fd at fdc
1131.15Smrgfile	dev/sun/fd.c				fdc | fd needs-flag
1141.15Smrgfile	arch/sparc64/sparc64/bsd_fdintr.s	fdc
1151.1Seeh
1161.21Smrgattach	audiocs at ebus with audiocs_ebus
1171.59Suwefile	dev/ebus/cs4231_ebus.c			audiocs_ebus
1181.61Smartin
1191.61Smartin# PCMCIA bus (references fdc)
1201.61Smartininclude "dev/pcmcia/files.pcmcia"
1211.21Smrg
1221.1Seeh#
1231.41Seeh# Console related stuff
1241.1Seeh#
1251.1Seeh
1261.41Seehdevice zs {channel = -1}
1271.41Seehattach zs at mainbus, sbus
1281.41Seehfile	arch/sparc64/dev/zs.c			zs needs-flag
1291.41Seehfile	dev/ic/z8530sc.c			zs
1301.41Seeh
1311.41Seeh# siemens SAB82532; found on U5/U10/... for tty ports.
1321.41Seeh#device sab {channel = -1}
1331.41Seeh#attach sab at ebus
1341.41Seeh#file	arch/sparc64/dev/sab_ebus.c		sab
1351.41Seeh#file	dev/ic/sab82532.c			sab
1361.41Seeh
1371.41Seeh# "com" attachments for the kbd/mouse of the U5/U10/...
1381.41Seehattach com at ebus with com_ebus
1391.41Seehfile	arch/sparc64/dev/com_ebus.c		com_ebus
1401.41Seeh
1411.40Seehdefine zstty {}
1421.1Seehdevice zstty: tty
1431.1Seehattach zstty at zs
1441.1Seehfile dev/ic/z8530tty.c			zstty needs-flag
1451.1Seehfile arch/sparc/dev/zs_kgdb.c		kgdb
1461.1Seeh
1471.20Smrg#device sabtty: tty
1481.20Smrg#attach sabtty at sab
1491.20Smrg#file dev/ic/sabtty.c			sabtty needs-flag
1501.20Smrg
1511.38Seehdevice kbd
1521.18Smrgattach kbd at zs with kbd_zs
1531.40Seehattach kbd at zstty, com
1541.18Smrgfile dev/sun/kbd_zs.c			kbd_zs
1551.41Seehfile dev/sun/kbd.c			kbd needs-flag
1561.41Seehfile dev/sun/kbd_tables.c 		kbd
1571.41Seehfile arch/sparc64/dev/kd.c 		kbd
1581.41Seehfile dev/sun/sunkbd.c			kbd needs-flag
1591.1Seeh
1601.38Seehdevice ms
1611.18Smrgattach ms at zs with ms_zs
1621.40Seehattach ms at zstty, com
1631.18Smrgfile dev/sun/ms_zs.c			ms_zs
1641.1Seehfile dev/sun/ms.c			ms needs-flag
1651.38Seehfile dev/sun/sunms.c			ms needs-flag
1661.1Seeh
1671.1Seeh#
1681.1Seeh# Machine-independent SCSI drivers
1691.1Seeh#
1701.17Skleinkinclude "dev/scsipi/files.scsipi"
1711.1Seeh
1721.12Spkmajor	{ cd = 18 }
1731.12Spkmajor	{ fd = 16 }
1741.12Spkmajor	{ md = 5 }
1751.12Spkmajor	{ sd = 7 }
1761.20Smrgmajor	{ wd = 12 }
1771.25Soster
1781.25Soster# RAIDframe
1791.25Sostermajor 	{ raid = 25 }
1801.1Seeh
1811.1Seehdevice cgfourteen
1821.11Spkattach cgfourteen at sbus
1831.1Seehfile	arch/sparc64/dev/cgfourteen.c	cgfourteen needs-flag
1841.1Seeh
1851.1Seeh#
1861.1Seeh# Generic Sun stuff
1871.1Seeh#
1881.1Seeh
1891.1Seehfile	dev/cons.c
1901.19Seehfile	arch/sparc64/dev/consinit.c
1911.1Seeh
1921.32Smrgfile	arch/sparc/fpu/fpu.c
1931.32Smrgfile	arch/sparc/fpu/fpu_add.c
1941.32Smrgfile	arch/sparc/fpu/fpu_compare.c
1951.32Smrgfile	arch/sparc/fpu/fpu_div.c
1961.32Smrgfile	arch/sparc/fpu/fpu_explode.c
1971.32Smrgfile	arch/sparc/fpu/fpu_implode.c
1981.32Smrgfile	arch/sparc/fpu/fpu_mul.c
1991.32Smrgfile	arch/sparc/fpu/fpu_sqrt.c
2001.32Smrgfile	arch/sparc/fpu/fpu_subr.c
2011.1Seeh
2021.1Seeh# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
2031.1Seeh# identified the exact problem yet.  NOOPT_C suffices for now.
2041.1Seehfile	arch/sparc64/sparc64/autoconf.c
2051.1Seehfile	arch/sparc64/sparc64/cache.c
2061.1Seehfile	arch/sparc64/sparc64/conf.c
2071.1Seehfile	arch/sparc64/sparc64/emul.c
2081.49Seehfile	arch/sparc64/sparc64/in_cksum.S
2091.50Seehfile	arch/sparc64/sparc64/in4_cksum.c	inet
2101.1Seehfile	arch/sparc64/sparc64/intr.c
2111.54Slukemfile	arch/sparc64/sparc64/kgdb_machdep.c	kgdb
2121.1Seeh# sparc/sparc/locore.s is handled specially in the makefile,
2131.1Seeh# because it must come first in the "ld" command line.
2141.1Seehfile	arch/sparc64/sparc64/locore2.c
2151.1Seehfile	arch/sparc64/sparc64/machdep.c
2161.1Seehfile	arch/sparc64/sparc64/process_machdep.c
2171.42Sfvdlfile	arch/sparc64/sparc64/procfs_machdep.c	procfs
2181.1Seehfile	arch/sparc64/sparc64/mem.c
2191.1Seehfile	arch/sparc64/sparc64/openprom.c
2201.1Seehfile	arch/sparc64/sparc64/openfirm.c
2211.1Seehfile	arch/sparc64/sparc64/ofw_machdep.c
2221.1Seehfile	arch/sparc64/sparc64/pmap.c
2231.1Seeh# the following overrides the generic "sys_process.c"
2241.1Seeh# commented out by deraadt
2251.1Seeh#file	arch/sparc64/sparc64/sys_process.c
2261.1Seehfile	arch/sparc64/sparc64/sys_machdep.c
2271.1Seehfile	arch/sparc64/sparc64/trap.c
2281.1Seehfile	arch/sparc64/sparc64/vm_machdep.c
2291.1Seehfile	arch/sparc64/sparc64/disksubr.c
2301.1Seeh
2311.1Seehfile	arch/sparc64/sparc64/db_interface.c	ddb | kgdb
2321.1Seehfile	arch/sparc64/sparc64/db_trace.c	ddb
2331.1Seehfile	arch/sparc64/sparc64/db_disasm.c	ddb
2341.54Slukem#file 	ddb/db_aout.c				ddb_aout
2351.54Slukem#file	ddb/db_elf.c				ddb
2361.1Seeh
2371.1Seeh#
2381.53Seeh# Raster Console support
2391.1Seeh#
2401.17Skleinkinclude "dev/wsfont/files.wsfont"
2411.53Seehinclude "dev/rcons/files.rcons"
2421.46Smatt
2431.46Smatt# USB Support
2441.46Smattinclude "dev/usb/files.usb"
2451.53Seeh
2461.46Smatt# IEEE1394 Support
2471.46Smattinclude "dev/ieee1394/files.ieee1394"
2481.1Seeh
2491.1Seeh#
2501.1Seeh# Compatibility modules
2511.1Seeh#
2521.13Sthorpej
2531.13Sthorpej# Binary compatiblity with previous NetBSD releases.
2541.13Sthorpejfile	arch/sparc64/sparc64/compat_13_machdep.c compat_13
2551.1Seeh
2561.22Seeh# NetBSD/sparc 32-bit Binary compatibility (COMPAT_NETBSD32)
2571.17Skleinkinclude "compat/netbsd32/files.netbsd32"
2581.15Smrgfile	arch/sparc64/sparc64/netbsd32_machdep.c	compat_netbsd32
2591.47Smrgfile	arch/sparc64/sparc64/netbsd32_sigcode.s	compat_netbsd32
2601.22Seeh
2611.22Seeh# NetBSD a.out Binary Compatibility (COMPAT_AOUT)
2621.22Seehinclude "compat/aout/files.aout"
2631.8Smrg
2641.1Seeh# SVR4 Binary Compatibility (COMPAT_SVR4)
2651.17Skleinkinclude "compat/svr4/files.svr4"
2661.1Seehfile	arch/sparc64/sparc64/svr4_machdep.c	compat_svr4
2671.52Seehfile	arch/sparc64/sparc64/svr4_sigcode64.s	compat_svr4 & exec_elf64
2681.45Seeh
2691.45Seeh# 32-bit SVR4 Binary Compatibility (COMPAT_SVR4_32)
2701.45Seehinclude "compat/svr4_32/files.svr4_32"
2711.45Seehfile	arch/sparc64/sparc64/svr4_32_machdep.c	compat_svr4_32
2721.52Seehfile	arch/sparc64/sparc64/svr4_32_sigcode.s	compat_svr4_32 | (compat_svr4 & !exec_elf64)
2731.1Seeh
2741.43Smrg# SunOS Binary Compatibility (COMPAT_SUNOS), 32-bit & 64-bit kernel
2751.43Smrg# (64-bit also depends on COMPAT_NETBSD32)
2761.17Skleinkinclude "compat/sunos/files.sunos"
2771.47Smrgfile	arch/sparc64/sparc64/sunos_sigcode.s	compat_sunos
2781.44Smrgfile	arch/sparc64/sparc64/sunos_machdep.c	compat_sunos & !compat_netbsd32
2791.43Smrginclude "compat/sunos32/files.sunos32"
2801.44Smrgfile	arch/sparc64/sparc64/sunos32_machdep.c	compat_sunos & compat_netbsd32
2811.1Seeh
2821.1Seeh# Miscellaneous
2831.1Seehfile	netns/ns_cksum.c		ns
2841.1Seeh
2851.58Sjdolecekfile	dev/md_root.c			memory_disk_hooks
286