files.sparc64 revision 1.51
11.51Seeh#	$NetBSD: files.sparc64,v 1.51 2001/09/02 01:18:56 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.30Seeh
111.30Seeh#
121.30Seeh# XXXXXXXXXXX
131.30Seeh#
141.30Seeh# These files must be compiled w/no omtimization in 64-bit mode
151.30Seeh#
161.30Seeh
171.33Smrgfile net/if_ppp.c		compile-with "${NOOPT_C}"
181.33Smrgfile net/if_loop.c		compile-with "${NOOPT_C}"
191.33Smrgfile net/if_sl.c		compile-with "${NOOPT_C}"
201.33Smrgfile ufs/lfs/lfs_debug.c        compile-with "${NOOPT_C}"
211.30Seeh
221.30Seeh#
231.30Seeh# XXXXXXXXXXX
241.30Seeh#
251.1Seeh
261.20Smrgdefine mainbus {}
271.20Smrgdevice mainbus: pcibus, mainbus
281.1Seehattach mainbus at root
291.29Seeh
301.29Seehdevice pcons
311.29Seehattach pcons at mainbus
321.29Seehfile	arch/sparc64/dev/pcons.c		pcons needs-flag
331.1Seeh
341.35Spkinclude "dev/sun/files.sun"
351.39Sadinclude "dev/i2o/files.i2o"
361.35Spk
371.17Skleinkinclude "dev/sbus/files.sbus"
381.20Smrgattach sbus at mainbus
391.1Seehfile	arch/sparc64/dev/sbus.c			sbus
401.14Smrg
411.20Smrgdevice  psycho: pcibus
421.20Smrgattach  psycho at mainbus
431.20Smrginclude "dev/pci/files.pci"
441.20Smrgfile	arch/sparc64/dev/psycho.c		psycho
451.20Smrgfile	arch/sparc64/dev/pci_machdep.c		psycho
461.20Smrg
471.20Smrg# IOMMU is for both
481.20Smrgfile	arch/sparc64/dev/iommu.c		sbus | psycho
491.20Smrg
501.20Smrginclude "dev/ata/files.ata"
511.20Smrg
521.20Smrgdevice ebus {[addr = -1]}: pcibus
531.20Smrgattach ebus at pci
541.20Smrgfile	arch/sparc64/dev/ebus.c			ebus
551.20Smrg
561.14Smrg# network devices MII bus
571.17Skleinkinclude "dev/mii/files.mii"
581.1Seeh
591.34Spkdevice clock: mk48txx
601.20Smrgattach clock at mainbus, sbus with clock_sbus
611.20Smrgattach clock at ebus with clock_ebus
621.51Seeh
631.51Seehdevice rtc
641.51Seehattach rtc at ebus with rtc_ebus
651.1Seeh
661.1Seehdevice timer
671.11Spkattach timer at mainbus, sbus
681.1Seeh
691.1Seehdevice eeprom
701.20Smrgattach eeprom at sbus, ebus
711.1Seehfile	arch/sparc64/sparc64/clock.c
721.34Spkfile	dev/clock_subr.c
731.1Seeh
741.1Seehdevice power
751.20Smrgattach power at sbus, ebus
761.41Seehfile	arch/sparc64/dev/power.c		power
771.1Seeh
781.1Seehdevice cpu
791.1Seehattach cpu at mainbus
801.1Seehfile	arch/sparc64/sparc64/cpu.c
811.1Seeh
821.20Smrg# XXX bogus; this is in dev/isa/files.isa.  fix me please!
831.27Smrg# XXX we should attach a `bpp'-style device here rather than
841.27Smrg# `lpt' because the `bpp' driver supports DMA.
851.21Smrgdevice	lpt
861.21Smrgfile	dev/ic/lpt.c				lpt needs-flag
871.26Smrg
881.26Smrgdevice	auxio
891.27Smrgattach	auxio at ebus with auxio_ebus
901.27Smrgattach	auxio at sbus with auxio_sbus
911.27Smrgfile	arch/sparc64/dev/auxio.c		auxio
921.21Smrg
931.20Smrgattach lpt at ebus with lpt_ebus
941.20Smrgfile	arch/sparc64/dev/lpt_ebus.c		lpt_ebus
951.20Smrg
961.1Seehdevice fdc {}
971.20Smrgattach fdc at mainbus, sbus, ebus
981.20Smrg# attach fdc at ebus
991.1Seehdevice fd: disk
1001.1Seehattach fd at fdc
1011.15Smrgfile	dev/sun/fd.c				fdc | fd needs-flag
1021.15Smrgfile	arch/sparc64/sparc64/bsd_fdintr.s	fdc
1031.1Seeh
1041.21Smrgattach	audiocs at ebus with audiocs_ebus
1051.21Smrgfile	arch/sparc64/dev/cs4231_ebus.c		audiocs_ebus
1061.21Smrg
1071.1Seeh#
1081.41Seeh# Console related stuff
1091.1Seeh#
1101.1Seeh
1111.41Seehdevice zs {channel = -1}
1121.41Seehattach zs at mainbus, sbus
1131.41Seehfile	arch/sparc64/dev/zs.c			zs needs-flag
1141.41Seehfile	dev/ic/z8530sc.c			zs
1151.41Seeh
1161.41Seeh# siemens SAB82532; found on U5/U10/... for tty ports.
1171.41Seeh#device sab {channel = -1}
1181.41Seeh#attach sab at ebus
1191.41Seeh#file	arch/sparc64/dev/sab_ebus.c		sab
1201.41Seeh#file	dev/ic/sab82532.c			sab
1211.41Seeh
1221.41Seeh# "com" attachments for the kbd/mouse of the U5/U10/...
1231.41Seehattach com at ebus with com_ebus
1241.41Seehfile	arch/sparc64/dev/com_ebus.c		com_ebus
1251.41Seeh
1261.40Seehdefine zstty {}
1271.1Seehdevice zstty: tty
1281.1Seehattach zstty at zs
1291.1Seehfile dev/ic/z8530tty.c			zstty needs-flag
1301.1Seehfile arch/sparc/dev/zs_kgdb.c		kgdb
1311.1Seeh
1321.20Smrg#device sabtty: tty
1331.20Smrg#attach sabtty at sab
1341.20Smrg#file dev/ic/sabtty.c			sabtty needs-flag
1351.20Smrg
1361.38Seehdevice kbd
1371.18Smrgattach kbd at zs with kbd_zs
1381.40Seehattach kbd at zstty, com
1391.18Smrgfile dev/sun/kbd_zs.c			kbd_zs
1401.41Seehfile dev/sun/kbd.c			kbd needs-flag
1411.41Seehfile dev/sun/kbd_tables.c 		kbd
1421.41Seehfile arch/sparc64/dev/kd.c 		kbd
1431.41Seehfile dev/sun/sunkbd.c			kbd needs-flag
1441.1Seeh
1451.38Seehdevice ms
1461.18Smrgattach ms at zs with ms_zs
1471.40Seehattach ms at zstty, com
1481.18Smrgfile dev/sun/ms_zs.c			ms_zs
1491.1Seehfile dev/sun/ms.c			ms needs-flag
1501.38Seehfile dev/sun/sunms.c			ms needs-flag
1511.1Seeh
1521.1Seeh#
1531.1Seeh# Machine-independent SCSI drivers
1541.1Seeh#
1551.17Skleinkinclude "dev/scsipi/files.scsipi"
1561.1Seeh
1571.12Spkmajor	{ cd = 18 }
1581.12Spkmajor	{ fd = 16 }
1591.12Spkmajor	{ md = 5 }
1601.12Spkmajor	{ sd = 7 }
1611.20Smrgmajor	{ wd = 12 }
1621.25Soster
1631.25Soster# RAIDframe
1641.25Sostermajor 	{ raid = 25 }
1651.1Seeh
1661.1Seehdevice cgfourteen
1671.11Spkattach cgfourteen at sbus
1681.1Seehfile	arch/sparc64/dev/cgfourteen.c	cgfourteen needs-flag
1691.1Seeh
1701.1Seeh#
1711.1Seeh# Generic Sun stuff
1721.1Seeh#
1731.1Seeh
1741.1Seehfile	dev/cons.c
1751.19Seehfile	arch/sparc64/dev/consinit.c
1761.1Seeh
1771.32Smrgfile	arch/sparc/fpu/fpu.c
1781.32Smrgfile	arch/sparc/fpu/fpu_add.c
1791.32Smrgfile	arch/sparc/fpu/fpu_compare.c
1801.32Smrgfile	arch/sparc/fpu/fpu_div.c
1811.32Smrgfile	arch/sparc/fpu/fpu_explode.c
1821.32Smrgfile	arch/sparc/fpu/fpu_implode.c
1831.32Smrgfile	arch/sparc/fpu/fpu_mul.c
1841.32Smrgfile	arch/sparc/fpu/fpu_sqrt.c
1851.32Smrgfile	arch/sparc/fpu/fpu_subr.c
1861.1Seeh
1871.1Seeh# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
1881.1Seeh# identified the exact problem yet.  NOOPT_C suffices for now.
1891.1Seehfile	arch/sparc64/sparc64/autoconf.c
1901.1Seehfile	arch/sparc64/sparc64/cache.c
1911.1Seehfile	arch/sparc64/sparc64/conf.c
1921.1Seehfile	arch/sparc64/sparc64/emul.c
1931.49Seehfile	arch/sparc64/sparc64/in_cksum.S
1941.50Seehfile	arch/sparc64/sparc64/in4_cksum.c	inet
1951.1Seehfile	arch/sparc64/sparc64/intr.c
1961.1Seehfile	arch/sparc64/sparc64/kgdb_machdep.c kgdb
1971.1Seeh# sparc/sparc/locore.s is handled specially in the makefile,
1981.1Seeh# because it must come first in the "ld" command line.
1991.1Seehfile	arch/sparc64/sparc64/locore2.c
2001.1Seehfile	arch/sparc64/sparc64/machdep.c
2011.1Seehfile	arch/sparc64/sparc64/process_machdep.c
2021.42Sfvdlfile	arch/sparc64/sparc64/procfs_machdep.c	procfs
2031.1Seehfile	arch/sparc64/sparc64/mem.c
2041.1Seehfile	arch/sparc64/sparc64/openprom.c
2051.1Seehfile	arch/sparc64/sparc64/openfirm.c
2061.1Seehfile	arch/sparc64/sparc64/ofw_machdep.c
2071.1Seehfile	arch/sparc64/sparc64/pmap.c
2081.1Seeh# the following overrides the generic "sys_process.c"
2091.1Seeh# commented out by deraadt
2101.1Seeh#file	arch/sparc64/sparc64/sys_process.c
2111.1Seehfile	arch/sparc64/sparc64/sys_machdep.c
2121.1Seehfile	arch/sparc64/sparc64/trap.c
2131.1Seehfile	arch/sparc64/sparc64/vm_machdep.c
2141.1Seehfile	arch/sparc64/sparc64/disksubr.c
2151.1Seeh
2161.1Seehfile	arch/sparc64/sparc64/db_interface.c	ddb | kgdb
2171.1Seehfile	arch/sparc64/sparc64/db_trace.c	ddb
2181.1Seehfile	arch/sparc64/sparc64/db_disasm.c	ddb
2191.1Seeh#file 	ddb/db_aout.c			ddb_aout
2201.1Seeh#file	ddb/db_elf.c			ddb
2211.1Seeh
2221.1Seeh#
2231.1Seeh# Raster Console
2241.1Seeh#
2251.17Skleinkinclude "dev/rcons/files.rcons"
2261.17Skleinkinclude "dev/wsfont/files.wsfont"
2271.46Smatt
2281.46Smatt# USB Support
2291.46Smattinclude "dev/usb/files.usb"
2301.46Smatt# IEEE1394 Support
2311.46Smattinclude "dev/ieee1394/files.ieee1394"
2321.1Seeh
2331.1Seeh#
2341.1Seeh# Compatibility modules
2351.1Seeh#
2361.13Sthorpej
2371.13Sthorpej# Binary compatiblity with previous NetBSD releases.
2381.13Sthorpejfile	arch/sparc64/sparc64/compat_13_machdep.c compat_13
2391.1Seeh
2401.22Seeh# NetBSD/sparc 32-bit Binary compatibility (COMPAT_NETBSD32)
2411.17Skleinkinclude "compat/netbsd32/files.netbsd32"
2421.15Smrgfile	arch/sparc64/sparc64/netbsd32_machdep.c	compat_netbsd32
2431.47Smrgfile	arch/sparc64/sparc64/netbsd32_sigcode.s	compat_netbsd32
2441.22Seeh
2451.22Seeh# NetBSD a.out Binary Compatibility (COMPAT_AOUT)
2461.22Seehinclude "compat/aout/files.aout"
2471.8Smrg
2481.1Seeh# SVR4 Binary Compatibility (COMPAT_SVR4)
2491.17Skleinkinclude "compat/svr4/files.svr4"
2501.1Seehfile	arch/sparc64/sparc64/svr4_machdep.c	compat_svr4
2511.47Smrgfile	arch/sparc64/sparc64/svr4_sigcode64.s	compat_svr4 & _lp64
2521.45Seeh
2531.45Seeh# 32-bit SVR4 Binary Compatibility (COMPAT_SVR4_32)
2541.45Seehinclude "compat/svr4_32/files.svr4_32"
2551.45Seehfile	arch/sparc64/sparc64/svr4_32_machdep.c	compat_svr4_32
2561.47Smrgfile	arch/sparc64/sparc64/svr4_32_sigcode.s	compat_svr4_32 | (compat_svr4 & !_lp64)
2571.1Seeh
2581.43Smrg# SunOS Binary Compatibility (COMPAT_SUNOS), 32-bit & 64-bit kernel
2591.43Smrg# (64-bit also depends on COMPAT_NETBSD32)
2601.17Skleinkinclude "compat/sunos/files.sunos"
2611.47Smrgfile	arch/sparc64/sparc64/sunos_sigcode.s	compat_sunos
2621.44Smrgfile	arch/sparc64/sparc64/sunos_machdep.c	compat_sunos & !compat_netbsd32
2631.43Smrginclude "compat/sunos32/files.sunos32"
2641.44Smrgfile	arch/sparc64/sparc64/sunos32_machdep.c	compat_sunos & compat_netbsd32
2651.1Seeh
2661.1Seeh# Miscellaneous
2671.1Seehfile	netns/ns_cksum.c		ns
2681.1Seeh
2691.1Seehfile	arch/sparc64/dev/md_root.c	memory_disk_hooks
270