files.sparc64 revision 1.32
11.32Smrg#	$NetBSD: files.sparc64,v 1.32 2000/06/18 06:57:15 mrg 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.30Seehfile net/if_ppp.c	ppp	needs-count	compile-with "${NOOPT_C}"
181.30Seehfile net/if_loop.c	loop	needs-count	compile-with "${NOOPT_C}"
191.30Seehfile net/if_sl.c	sl	needs-count	compile-with "${NOOPT_C}"
201.31Seehfile ufs/lfs/lfs_debug.c                lfs	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.17Skleinkinclude "dev/sbus/files.sbus"
351.20Smrgattach sbus at mainbus
361.1Seehfile	arch/sparc64/dev/sbus.c			sbus
371.14Smrg
381.20Smrgdevice  psycho: pcibus
391.20Smrgattach  psycho at mainbus
401.20Smrginclude "dev/pci/files.pci"
411.20Smrgfile	arch/sparc64/dev/psycho.c		psycho
421.20Smrgfile	arch/sparc64/dev/pci_machdep.c		psycho
431.20Smrg
441.20Smrg# IOMMU is for both
451.20Smrgfile	arch/sparc64/dev/iommu.c		sbus | psycho
461.20Smrg
471.20Smrg# can't use ppb for SUNW,simba
481.20Smrgdevice  simba: pcibus
491.20Smrgattach  simba at pci
501.20Smrgfile	arch/sparc64/dev/simba.c		simba
511.20Smrg
521.20Smrginclude "dev/ata/files.ata"
531.20Smrgfile	arch/sparc64/dev/pciide_machdep.c	pciide
541.20Smrg
551.20Smrgdevice ebus {[addr = -1]}: pcibus
561.20Smrgattach ebus at pci
571.20Smrgfile	arch/sparc64/dev/ebus.c			ebus
581.20Smrg
591.14Smrg# network devices MII bus
601.17Skleinkinclude "dev/mii/files.mii"
611.1Seeh
621.1Seehdevice clock
631.20Smrgattach clock at mainbus, sbus with clock_sbus
641.20Smrgattach clock at ebus with clock_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.1Seeh
731.1Seehdevice power
741.20Smrgattach power at sbus, ebus
751.1Seehfile	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.1Seehdevice zs {channel = -1}
821.11Spkattach zs at mainbus, sbus
831.1Seehfile	arch/sparc64/dev/zs.c			zs needs-count
841.1Seehfile	dev/ic/z8530sc.c			zs
851.1Seeh
861.20Smrg# siemens SAB82532; found on U5/U10/... for tty ports.
871.20Smrg#device sab {channel = -1}
881.20Smrg#attach sab at ebus
891.20Smrg#file	arch/sparc64/dev/sab_ebus.c		sab
901.20Smrg#file	dev/ic/sab82532.c			sab
911.20Smrg
921.20Smrg# "com" attachments for the kbd/mouse of the U5/U10/...
931.20Smrg#device ucom {}
941.20Smrg#attach ucom at ebus with com
951.20Smrg#file	arch/sparc64/dev/ucom_ebus.c		ucom
961.20Smrg
971.20Smrg# XXX bogus; this is in dev/isa/files.isa.  fix me please!
981.27Smrg# XXX we should attach a `bpp'-style device here rather than
991.27Smrg# `lpt' because the `bpp' driver supports DMA.
1001.21Smrgdevice	lpt
1011.21Smrgfile	dev/ic/lpt.c				lpt needs-flag
1021.26Smrg
1031.26Smrgdevice	auxio
1041.27Smrgattach	auxio at ebus with auxio_ebus
1051.27Smrgattach	auxio at sbus with auxio_sbus
1061.27Smrgfile	arch/sparc64/dev/auxio.c		auxio
1071.21Smrg
1081.20Smrgattach lpt at ebus with lpt_ebus
1091.20Smrgfile	arch/sparc64/dev/lpt_ebus.c		lpt_ebus
1101.20Smrg
1111.1Seehdevice fdc {}
1121.20Smrgattach fdc at mainbus, sbus, ebus
1131.20Smrg# attach fdc at ebus
1141.1Seehdevice fd: disk
1151.1Seehattach fd at fdc
1161.15Smrgfile	dev/sun/fd.c				fdc | fd needs-flag
1171.15Smrgfile	arch/sparc64/sparc64/bsd_fdintr.s	fdc
1181.1Seeh
1191.21Smrgattach	audiocs at ebus with audiocs_ebus
1201.21Smrgfile	arch/sparc64/dev/cs4231_ebus.c		audiocs_ebus
1211.21Smrg
1221.1Seeh#
1231.1Seeh# Console (zs) related stuff
1241.1Seeh#
1251.1Seeh
1261.1Seehdevice zstty: tty
1271.1Seehattach zstty at zs
1281.1Seehfile dev/ic/z8530tty.c			zstty needs-flag
1291.1Seehfile arch/sparc/dev/zs_kgdb.c		kgdb
1301.1Seeh
1311.20Smrg#device sabtty: tty
1321.20Smrg#attach sabtty at sab
1331.20Smrg#file dev/ic/sabtty.c			sabtty needs-flag
1341.20Smrg
1351.1Seehdefine zsevent
1361.1Seehfile dev/sun/event.c			zsevent
1371.1Seeh
1381.1Seehdevice kbd: zsevent
1391.18Smrgattach kbd at zs with kbd_zs
1401.21Smrg#attach kbd at ucom with kbd_ucom
1411.18Smrgfile dev/sun/kbd_zs.c			kbd_zs
1421.1Seehfile dev/sun/kbd.c			kbd needs-flag
1431.1Seehfile dev/sun/kbd_tables.c 		kbd
1441.1Seehfile arch/sparc64/dev/kd.c 		kbd
1451.21Smrg#file arch/sparc64/dev/kbd_ucom.c 	kbd_ucom
1461.1Seeh
1471.1Seehdevice ms: zsevent
1481.18Smrgattach ms at zs with ms_zs
1491.21Smrg#attach ms at ucom with ms_ucom
1501.18Smrgfile dev/sun/ms_zs.c			ms_zs
1511.1Seehfile dev/sun/ms.c			ms needs-flag
1521.21Smrg#file arch/sparc64/dev/ms_ucom.c 	ms_ucom
1531.1Seeh
1541.1Seeh
1551.1Seeh#
1561.1Seeh# Machine-independent SCSI drivers
1571.1Seeh#
1581.17Skleinkinclude "dev/scsipi/files.scsipi"
1591.1Seeh
1601.12Spkmajor	{ cd = 18 }
1611.12Spkmajor	{ fd = 16 }
1621.12Spkmajor	{ md = 5 }
1631.12Spkmajor	{ sd = 7 }
1641.20Smrgmajor	{ wd = 12 }
1651.25Soster
1661.25Soster# RAIDframe
1671.25Sostermajor 	{ raid = 25 }
1681.2Seeh
1691.1Seeh# Brooktree DAC attribute
1701.1Seehdefine bt_dac
1711.1Seeh
1721.1Seehdevice bwtwo
1731.11Spkattach bwtwo at sbus
1741.1Seehfile	arch/sparc64/dev/bwtwo.c		bwtwo needs-flag
1751.1Seeh
1761.1Seehdevice cgtwo
1771.11Spkattach cgtwo at sbus
1781.1Seehfile	arch/sparc64/dev/cgtwo.c		cgtwo needs-flag
1791.1Seeh
1801.1Seehdevice cgthree: bt_dac
1811.1Seehattach cgthree at sbus
1821.1Seehfile	arch/sparc64/dev/cgthree.c	cgthree needs-flag
1831.1Seeh
1841.1Seehdevice cgfour: bt_dac
1851.11Spkattach cgfour at sbus
1861.1Seehfile	arch/sparc64/dev/cgfour.c		cgfour needs-flag
1871.1Seeh
1881.1Seehdevice cgsix: bt_dac
1891.11Spkattach cgsix at sbus
1901.1Seehfile	arch/sparc64/dev/cgsix.c		cgsix needs-flag
1911.1Seehfile	arch/sparc64/dev/cgsix_sbus.c		cgsix needs-flag
1921.1Seeh
1931.1Seehdevice cgeight: bt_dac
1941.11Spkattach cgeight at sbus
1951.1Seehfile	arch/sparc64/dev/cgeight.c	cgeight needs-flag
1961.1Seeh
1971.1Seehdevice tcx: bt_dac
1981.1Seehattach tcx at sbus
1991.1Seehfile	arch/sparc64/dev/tcx.c		tcx needs-flag
2001.1Seeh
2011.1Seehdevice cgfourteen
2021.11Spkattach cgfourteen at sbus
2031.1Seehfile	arch/sparc64/dev/cgfourteen.c	cgfourteen needs-flag
2041.1Seeh
2051.1Seehfile	arch/sparc64/dev/bt_subr.c	bt_dac
2061.1Seeh
2071.1Seeh#
2081.1Seeh# Generic Sun stuff
2091.1Seeh#
2101.1Seeh
2111.1Seehfile	dev/cons.c
2121.1Seehfile	arch/sparc64/dev/fb.c
2131.19Seehfile	arch/sparc64/dev/consinit.c
2141.1Seeh
2151.32Smrgfile	arch/sparc/fpu/fpu.c
2161.32Smrgfile	arch/sparc/fpu/fpu_add.c
2171.32Smrgfile	arch/sparc/fpu/fpu_compare.c
2181.32Smrgfile	arch/sparc/fpu/fpu_div.c
2191.32Smrgfile	arch/sparc/fpu/fpu_explode.c
2201.32Smrgfile	arch/sparc/fpu/fpu_implode.c
2211.32Smrgfile	arch/sparc/fpu/fpu_mul.c
2221.32Smrgfile	arch/sparc/fpu/fpu_sqrt.c
2231.32Smrgfile	arch/sparc/fpu/fpu_subr.c
2241.1Seeh
2251.1Seeh# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
2261.1Seeh# identified the exact problem yet.  NOOPT_C suffices for now.
2271.1Seehfile	arch/sparc64/sparc64/autoconf.c
2281.1Seehfile	arch/sparc64/sparc64/cache.c
2291.1Seehfile	arch/sparc64/sparc64/conf.c
2301.1Seehfile	arch/sparc64/sparc64/emul.c
2311.1Seehfile	arch/sparc64/sparc64/in_cksum.c
2321.24Sthorpejfile	netinet/in4_cksum.c		inet
2331.1Seehfile	arch/sparc64/sparc64/intr.c
2341.1Seehfile	arch/sparc64/sparc64/kgdb_machdep.c kgdb
2351.1Seeh# sparc/sparc/locore.s is handled specially in the makefile,
2361.1Seeh# because it must come first in the "ld" command line.
2371.1Seehfile	arch/sparc64/sparc64/locore2.c
2381.1Seehfile	arch/sparc64/sparc64/machdep.c
2391.1Seehfile	arch/sparc64/sparc64/process_machdep.c
2401.1Seehfile	arch/sparc64/sparc64/mem.c
2411.1Seehfile	arch/sparc64/sparc64/openprom.c
2421.1Seehfile	arch/sparc64/sparc64/openfirm.c
2431.1Seehfile	arch/sparc64/sparc64/ofw_machdep.c
2441.1Seehfile	arch/sparc64/sparc64/pmap.c
2451.1Seeh# the following overrides the generic "sys_process.c"
2461.1Seeh# commented out by deraadt
2471.1Seeh#file	arch/sparc64/sparc64/sys_process.c
2481.1Seehfile	arch/sparc64/sparc64/sys_machdep.c
2491.1Seehfile	arch/sparc64/sparc64/trap.c
2501.1Seehfile	arch/sparc64/sparc64/vm_machdep.c
2511.1Seehfile	arch/sparc64/sparc64/disksubr.c
2521.1Seeh
2531.1Seehfile	arch/sparc64/sparc64/db_interface.c	ddb | kgdb
2541.1Seehfile	arch/sparc64/sparc64/db_trace.c	ddb
2551.1Seehfile	arch/sparc64/sparc64/db_disasm.c	ddb
2561.1Seeh#file 	ddb/db_aout.c			ddb_aout
2571.1Seeh#file	ddb/db_elf.c			ddb
2581.1Seeh
2591.1Seeh#
2601.1Seeh# Raster Console
2611.1Seeh#
2621.17Skleinkinclude "dev/rcons/files.rcons"
2631.17Skleinkinclude "dev/rasops/files.rasops"
2641.17Skleinkinclude "dev/wsfont/files.wsfont"
2651.1Seeh
2661.1Seeh#
2671.1Seeh# Compatibility modules
2681.1Seeh#
2691.13Sthorpej
2701.13Sthorpej# Binary compatiblity with previous NetBSD releases.
2711.13Sthorpejfile	arch/sparc64/sparc64/compat_13_machdep.c compat_13
2721.1Seeh
2731.22Seeh# NetBSD/sparc 32-bit Binary compatibility (COMPAT_NETBSD32)
2741.17Skleinkinclude "compat/netbsd32/files.netbsd32"
2751.15Smrgfile	arch/sparc64/sparc64/netbsd32_machdep.c	compat_netbsd32
2761.22Seeh
2771.22Seeh# NetBSD a.out Binary Compatibility (COMPAT_AOUT)
2781.22Seehinclude "compat/aout/files.aout"
2791.8Smrg
2801.1Seeh# SVR4 Binary Compatibility (COMPAT_SVR4)
2811.17Skleinkinclude "compat/svr4/files.svr4"
2821.1Seehfile	arch/sparc64/sparc64/svr4_machdep.c	compat_svr4
2831.1Seeh
2841.1Seeh# SunOS Binary Compatibility (COMPAT_SUNOS)
2851.17Skleinkinclude "compat/sunos/files.sunos"
2861.8Smrgfile	arch/sparc64/sparc64/sunos_machdep.c	compat_sunos
2871.1Seeh
2881.1Seeh# Miscellaneous
2891.1Seehfile	netns/ns_cksum.c		ns
2901.1Seeh
2911.1Seehfile	arch/sparc64/dev/md_root.c	memory_disk_hooks
292