files.sparc64 revision 1.34
11.34Spk#	$NetBSD: files.sparc64,v 1.34 2000/07/26 13:39:39 pk 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.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.34Spkdevice clock: mk48txx
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.34Spkfile	dev/clock_subr.c
731.1Seeh
741.1Seehdevice power
751.20Smrgattach power at sbus, ebus
761.1Seehfile	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.1Seehdevice zs {channel = -1}
831.11Spkattach zs at mainbus, sbus
841.1Seehfile	arch/sparc64/dev/zs.c			zs needs-count
851.1Seehfile	dev/ic/z8530sc.c			zs
861.1Seeh
871.20Smrg# siemens SAB82532; found on U5/U10/... for tty ports.
881.20Smrg#device sab {channel = -1}
891.20Smrg#attach sab at ebus
901.20Smrg#file	arch/sparc64/dev/sab_ebus.c		sab
911.20Smrg#file	dev/ic/sab82532.c			sab
921.20Smrg
931.20Smrg# "com" attachments for the kbd/mouse of the U5/U10/...
941.20Smrg#device ucom {}
951.20Smrg#attach ucom at ebus with com
961.20Smrg#file	arch/sparc64/dev/ucom_ebus.c		ucom
971.20Smrg
981.20Smrg# XXX bogus; this is in dev/isa/files.isa.  fix me please!
991.27Smrg# XXX we should attach a `bpp'-style device here rather than
1001.27Smrg# `lpt' because the `bpp' driver supports DMA.
1011.21Smrgdevice	lpt
1021.21Smrgfile	dev/ic/lpt.c				lpt needs-flag
1031.26Smrg
1041.26Smrgdevice	auxio
1051.27Smrgattach	auxio at ebus with auxio_ebus
1061.27Smrgattach	auxio at sbus with auxio_sbus
1071.27Smrgfile	arch/sparc64/dev/auxio.c		auxio
1081.21Smrg
1091.20Smrgattach lpt at ebus with lpt_ebus
1101.20Smrgfile	arch/sparc64/dev/lpt_ebus.c		lpt_ebus
1111.20Smrg
1121.1Seehdevice fdc {}
1131.20Smrgattach fdc at mainbus, sbus, ebus
1141.20Smrg# attach fdc at ebus
1151.1Seehdevice fd: disk
1161.1Seehattach fd at fdc
1171.15Smrgfile	dev/sun/fd.c				fdc | fd needs-flag
1181.15Smrgfile	arch/sparc64/sparc64/bsd_fdintr.s	fdc
1191.1Seeh
1201.21Smrgattach	audiocs at ebus with audiocs_ebus
1211.21Smrgfile	arch/sparc64/dev/cs4231_ebus.c		audiocs_ebus
1221.21Smrg
1231.1Seeh#
1241.1Seeh# Console (zs) related stuff
1251.1Seeh#
1261.1Seeh
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.1Seehdefine zsevent
1371.1Seehfile dev/sun/event.c			zsevent
1381.1Seeh
1391.1Seehdevice kbd: zsevent
1401.18Smrgattach kbd at zs with kbd_zs
1411.21Smrg#attach kbd at ucom with kbd_ucom
1421.18Smrgfile dev/sun/kbd_zs.c			kbd_zs
1431.1Seehfile dev/sun/kbd.c			kbd needs-flag
1441.1Seehfile dev/sun/kbd_tables.c 		kbd
1451.1Seehfile arch/sparc64/dev/kd.c 		kbd
1461.21Smrg#file arch/sparc64/dev/kbd_ucom.c 	kbd_ucom
1471.1Seeh
1481.1Seehdevice ms: zsevent
1491.18Smrgattach ms at zs with ms_zs
1501.21Smrg#attach ms at ucom with ms_ucom
1511.18Smrgfile dev/sun/ms_zs.c			ms_zs
1521.1Seehfile dev/sun/ms.c			ms needs-flag
1531.21Smrg#file arch/sparc64/dev/ms_ucom.c 	ms_ucom
1541.1Seeh
1551.1Seeh
1561.1Seeh#
1571.1Seeh# Machine-independent SCSI drivers
1581.1Seeh#
1591.17Skleinkinclude "dev/scsipi/files.scsipi"
1601.1Seeh
1611.12Spkmajor	{ cd = 18 }
1621.12Spkmajor	{ fd = 16 }
1631.12Spkmajor	{ md = 5 }
1641.12Spkmajor	{ sd = 7 }
1651.20Smrgmajor	{ wd = 12 }
1661.25Soster
1671.25Soster# RAIDframe
1681.25Sostermajor 	{ raid = 25 }
1691.2Seeh
1701.1Seeh# Brooktree DAC attribute
1711.1Seehdefine bt_dac
1721.1Seeh
1731.1Seehdevice bwtwo
1741.11Spkattach bwtwo at sbus
1751.1Seehfile	arch/sparc64/dev/bwtwo.c		bwtwo needs-flag
1761.1Seeh
1771.1Seehdevice cgtwo
1781.11Spkattach cgtwo at sbus
1791.1Seehfile	arch/sparc64/dev/cgtwo.c		cgtwo needs-flag
1801.1Seeh
1811.1Seehdevice cgthree: bt_dac
1821.1Seehattach cgthree at sbus
1831.1Seehfile	arch/sparc64/dev/cgthree.c	cgthree needs-flag
1841.1Seeh
1851.1Seehdevice cgfour: bt_dac
1861.11Spkattach cgfour at sbus
1871.1Seehfile	arch/sparc64/dev/cgfour.c		cgfour needs-flag
1881.1Seeh
1891.1Seehdevice cgsix: bt_dac
1901.11Spkattach cgsix at sbus
1911.1Seehfile	arch/sparc64/dev/cgsix.c		cgsix needs-flag
1921.1Seehfile	arch/sparc64/dev/cgsix_sbus.c		cgsix needs-flag
1931.1Seeh
1941.1Seehdevice cgeight: bt_dac
1951.11Spkattach cgeight at sbus
1961.1Seehfile	arch/sparc64/dev/cgeight.c	cgeight needs-flag
1971.1Seeh
1981.1Seehdevice tcx: bt_dac
1991.1Seehattach tcx at sbus
2001.1Seehfile	arch/sparc64/dev/tcx.c		tcx needs-flag
2011.1Seeh
2021.1Seehdevice cgfourteen
2031.11Spkattach cgfourteen at sbus
2041.1Seehfile	arch/sparc64/dev/cgfourteen.c	cgfourteen needs-flag
2051.1Seeh
2061.1Seehfile	arch/sparc64/dev/bt_subr.c	bt_dac
2071.1Seeh
2081.1Seeh#
2091.1Seeh# Generic Sun stuff
2101.1Seeh#
2111.1Seeh
2121.1Seehfile	dev/cons.c
2131.1Seehfile	arch/sparc64/dev/fb.c
2141.19Seehfile	arch/sparc64/dev/consinit.c
2151.1Seeh
2161.32Smrgfile	arch/sparc/fpu/fpu.c
2171.32Smrgfile	arch/sparc/fpu/fpu_add.c
2181.32Smrgfile	arch/sparc/fpu/fpu_compare.c
2191.32Smrgfile	arch/sparc/fpu/fpu_div.c
2201.32Smrgfile	arch/sparc/fpu/fpu_explode.c
2211.32Smrgfile	arch/sparc/fpu/fpu_implode.c
2221.32Smrgfile	arch/sparc/fpu/fpu_mul.c
2231.32Smrgfile	arch/sparc/fpu/fpu_sqrt.c
2241.32Smrgfile	arch/sparc/fpu/fpu_subr.c
2251.1Seeh
2261.1Seeh# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
2271.1Seeh# identified the exact problem yet.  NOOPT_C suffices for now.
2281.1Seehfile	arch/sparc64/sparc64/autoconf.c
2291.1Seehfile	arch/sparc64/sparc64/cache.c
2301.1Seehfile	arch/sparc64/sparc64/conf.c
2311.1Seehfile	arch/sparc64/sparc64/emul.c
2321.1Seehfile	arch/sparc64/sparc64/in_cksum.c
2331.24Sthorpejfile	netinet/in4_cksum.c		inet
2341.1Seehfile	arch/sparc64/sparc64/intr.c
2351.1Seehfile	arch/sparc64/sparc64/kgdb_machdep.c kgdb
2361.1Seeh# sparc/sparc/locore.s is handled specially in the makefile,
2371.1Seeh# because it must come first in the "ld" command line.
2381.1Seehfile	arch/sparc64/sparc64/locore2.c
2391.1Seehfile	arch/sparc64/sparc64/machdep.c
2401.1Seehfile	arch/sparc64/sparc64/process_machdep.c
2411.1Seehfile	arch/sparc64/sparc64/mem.c
2421.1Seehfile	arch/sparc64/sparc64/openprom.c
2431.1Seehfile	arch/sparc64/sparc64/openfirm.c
2441.1Seehfile	arch/sparc64/sparc64/ofw_machdep.c
2451.1Seehfile	arch/sparc64/sparc64/pmap.c
2461.1Seeh# the following overrides the generic "sys_process.c"
2471.1Seeh# commented out by deraadt
2481.1Seeh#file	arch/sparc64/sparc64/sys_process.c
2491.1Seehfile	arch/sparc64/sparc64/sys_machdep.c
2501.1Seehfile	arch/sparc64/sparc64/trap.c
2511.1Seehfile	arch/sparc64/sparc64/vm_machdep.c
2521.1Seehfile	arch/sparc64/sparc64/disksubr.c
2531.1Seeh
2541.1Seehfile	arch/sparc64/sparc64/db_interface.c	ddb | kgdb
2551.1Seehfile	arch/sparc64/sparc64/db_trace.c	ddb
2561.1Seehfile	arch/sparc64/sparc64/db_disasm.c	ddb
2571.1Seeh#file 	ddb/db_aout.c			ddb_aout
2581.1Seeh#file	ddb/db_elf.c			ddb
2591.1Seeh
2601.1Seeh#
2611.1Seeh# Raster Console
2621.1Seeh#
2631.17Skleinkinclude "dev/rcons/files.rcons"
2641.17Skleinkinclude "dev/rasops/files.rasops"
2651.17Skleinkinclude "dev/wsfont/files.wsfont"
2661.1Seeh
2671.1Seeh#
2681.1Seeh# Compatibility modules
2691.1Seeh#
2701.13Sthorpej
2711.13Sthorpej# Binary compatiblity with previous NetBSD releases.
2721.13Sthorpejfile	arch/sparc64/sparc64/compat_13_machdep.c compat_13
2731.1Seeh
2741.22Seeh# NetBSD/sparc 32-bit Binary compatibility (COMPAT_NETBSD32)
2751.17Skleinkinclude "compat/netbsd32/files.netbsd32"
2761.15Smrgfile	arch/sparc64/sparc64/netbsd32_machdep.c	compat_netbsd32
2771.22Seeh
2781.22Seeh# NetBSD a.out Binary Compatibility (COMPAT_AOUT)
2791.22Seehinclude "compat/aout/files.aout"
2801.8Smrg
2811.1Seeh# SVR4 Binary Compatibility (COMPAT_SVR4)
2821.17Skleinkinclude "compat/svr4/files.svr4"
2831.1Seehfile	arch/sparc64/sparc64/svr4_machdep.c	compat_svr4
2841.1Seeh
2851.1Seeh# SunOS Binary Compatibility (COMPAT_SUNOS)
2861.17Skleinkinclude "compat/sunos/files.sunos"
2871.8Smrgfile	arch/sparc64/sparc64/sunos_machdep.c	compat_sunos
2881.1Seeh
2891.1Seeh# Miscellaneous
2901.1Seehfile	netns/ns_cksum.c		ns
2911.1Seeh
2921.1Seehfile	arch/sparc64/dev/md_root.c	memory_disk_hooks
293