files.sparc64 revision 1.22
11.22Seeh#	$NetBSD: files.sparc64,v 1.22 1999/06/05 16:55:19 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.1Seeh
111.20Smrgdefine mainbus {}
121.20Smrgdevice mainbus: pcibus, mainbus
131.1Seehattach mainbus at root
141.1Seeh
151.17Skleinkinclude "dev/sbus/files.sbus"
161.20Smrgattach sbus at mainbus
171.1Seehfile	arch/sparc64/dev/sbus.c			sbus
181.14Smrg
191.20Smrgdevice  psycho: pcibus
201.20Smrgattach  psycho at mainbus
211.20Smrginclude "dev/pci/files.pci"
221.20Smrgfile	arch/sparc64/dev/psycho.c		psycho
231.20Smrgfile	arch/sparc64/dev/psycho_bus.c		psycho
241.20Smrgfile	arch/sparc64/dev/pci_machdep.c		psycho
251.20Smrg
261.20Smrg# IOMMU is for both
271.20Smrgfile	arch/sparc64/dev/iommu.c		sbus | psycho
281.20Smrg
291.20Smrg# can't use ppb for SUNW,simba
301.20Smrgdevice  simba: pcibus
311.20Smrgattach  simba at pci
321.20Smrgfile	arch/sparc64/dev/simba.c		simba
331.20Smrg
341.20Smrginclude "dev/ata/files.ata"
351.20Smrgfile	arch/sparc64/dev/pciide_machdep.c	pciide
361.20Smrg
371.20Smrgdevice ebus {[addr = -1]}: pcibus
381.20Smrgattach ebus at pci
391.20Smrgfile	arch/sparc64/dev/ebus.c			ebus
401.20Smrgfile	arch/sparc64/dev/ebus_bus.c		ebus
411.20Smrg
421.14Smrg# network devices MII bus
431.17Skleinkinclude "dev/mii/files.mii"
441.1Seeh
451.1Seeh#device auxreg
461.11Spk#attach auxreg at mainbus, sbus
471.1Seeh#file	arch/sparc64/sparc64/auxreg.c
481.1Seeh
491.1Seehdevice clock
501.20Smrgattach clock at mainbus, sbus with clock_sbus
511.20Smrgattach clock at ebus with clock_ebus
521.1Seeh
531.1Seehdevice timer
541.11Spkattach timer at mainbus, sbus
551.1Seeh
561.1Seehdevice eeprom
571.20Smrgattach eeprom at sbus, ebus
581.1Seehfile	arch/sparc64/sparc64/clock.c
591.1Seeh
601.1Seehdevice power
611.20Smrgattach power at sbus, ebus
621.1Seehfile	arch/sparc64/dev/power.c			power
631.1Seeh
641.1Seehdevice cpu
651.1Seehattach cpu at mainbus
661.1Seehfile	arch/sparc64/sparc64/cpu.c
671.1Seeh
681.1Seehdevice zs {channel = -1}
691.11Spkattach zs at mainbus, sbus
701.1Seehfile	arch/sparc64/dev/zs.c			zs needs-count
711.1Seehfile	dev/ic/z8530sc.c			zs
721.1Seeh
731.20Smrg# siemens SAB82532; found on U5/U10/... for tty ports.
741.20Smrg#device sab {channel = -1}
751.20Smrg#attach sab at ebus
761.20Smrg#file	arch/sparc64/dev/sab_ebus.c		sab
771.20Smrg#file	dev/ic/sab82532.c			sab
781.20Smrg
791.20Smrg# "com" attachments for the kbd/mouse of the U5/U10/...
801.20Smrg#device ucom {}
811.20Smrg#attach ucom at ebus with com
821.20Smrg#file	arch/sparc64/dev/ucom_ebus.c		ucom
831.20Smrg
841.20Smrg# XXX bogus; this is in dev/isa/files.isa.  fix me please!
851.21Smrgdevice	lpt
861.21Smrgfile	dev/ic/lpt.c				lpt needs-flag
871.21Smrg
881.20Smrgattach lpt at ebus with lpt_ebus
891.20Smrgfile	arch/sparc64/dev/lpt_ebus.c		lpt_ebus
901.20Smrg
911.1Seehdevice fdc {}
921.20Smrgattach fdc at mainbus, sbus, ebus
931.20Smrg# attach fdc at ebus
941.1Seehdevice fd: disk
951.1Seehattach fd at fdc
961.15Smrgfile	dev/sun/fd.c				fdc | fd needs-flag
971.15Smrgfile	arch/sparc64/sparc64/bsd_fdintr.s	fdc
981.1Seeh
991.21Smrgattach	audiocs at ebus with audiocs_ebus
1001.21Smrgfile	arch/sparc64/dev/cs4231_ebus.c		audiocs_ebus
1011.21Smrg
1021.1Seeh#
1031.1Seeh# Console (zs) related stuff
1041.1Seeh#
1051.1Seeh
1061.1Seehdevice zstty: tty
1071.1Seehattach zstty at zs
1081.1Seehfile dev/ic/z8530tty.c			zstty needs-flag
1091.1Seehfile arch/sparc/dev/zs_kgdb.c		kgdb
1101.1Seeh
1111.20Smrg#device sabtty: tty
1121.20Smrg#attach sabtty at sab
1131.20Smrg#file dev/ic/sabtty.c			sabtty needs-flag
1141.20Smrg
1151.1Seehdefine zsevent
1161.1Seehfile dev/sun/event.c			zsevent
1171.1Seeh
1181.1Seehdevice kbd: zsevent
1191.18Smrgattach kbd at zs with kbd_zs
1201.21Smrg#attach kbd at ucom with kbd_ucom
1211.18Smrgfile dev/sun/kbd_zs.c			kbd_zs
1221.1Seehfile dev/sun/kbd.c			kbd needs-flag
1231.1Seehfile dev/sun/kbd_tables.c 		kbd
1241.1Seehfile arch/sparc64/dev/kd.c 		kbd
1251.21Smrg#file arch/sparc64/dev/kbd_ucom.c 	kbd_ucom
1261.1Seeh
1271.1Seehdevice ms: zsevent
1281.18Smrgattach ms at zs with ms_zs
1291.21Smrg#attach ms at ucom with ms_ucom
1301.18Smrgfile dev/sun/ms_zs.c			ms_zs
1311.1Seehfile dev/sun/ms.c			ms needs-flag
1321.21Smrg#file arch/sparc64/dev/ms_ucom.c 	ms_ucom
1331.1Seeh
1341.1Seeh
1351.1Seeh#
1361.1Seeh# Machine-independent SCSI drivers
1371.1Seeh#
1381.17Skleinkinclude "dev/scsipi/files.scsipi"
1391.1Seeh
1401.12Spkmajor	{ cd = 18 }
1411.12Spkmajor	{ fd = 16 }
1421.12Spkmajor	{ md = 5 }
1431.12Spkmajor	{ sd = 7 }
1441.12Spkmajor	{ vnd = 8 }
1451.20Smrgmajor	{ wd = 12 }
1461.2Seeh
1471.1Seeh# Brooktree DAC attribute
1481.1Seehdefine bt_dac
1491.1Seeh
1501.1Seehdevice bwtwo
1511.11Spkattach bwtwo at sbus
1521.1Seehfile	arch/sparc64/dev/bwtwo.c		bwtwo needs-flag
1531.1Seeh
1541.1Seehdevice cgtwo
1551.11Spkattach cgtwo at sbus
1561.1Seehfile	arch/sparc64/dev/cgtwo.c		cgtwo needs-flag
1571.1Seeh
1581.1Seehdevice cgthree: bt_dac
1591.1Seehattach cgthree at sbus
1601.1Seehfile	arch/sparc64/dev/cgthree.c	cgthree needs-flag
1611.1Seeh
1621.1Seehdevice cgfour: bt_dac
1631.11Spkattach cgfour at sbus
1641.1Seehfile	arch/sparc64/dev/cgfour.c		cgfour needs-flag
1651.1Seeh
1661.1Seehdevice cgsix: bt_dac
1671.11Spkattach cgsix at sbus
1681.1Seehfile	arch/sparc64/dev/cgsix.c		cgsix needs-flag
1691.1Seehfile	arch/sparc64/dev/cgsix_sbus.c		cgsix needs-flag
1701.1Seeh
1711.1Seehdevice cgeight: bt_dac
1721.11Spkattach cgeight at sbus
1731.1Seehfile	arch/sparc64/dev/cgeight.c	cgeight needs-flag
1741.1Seeh
1751.1Seehdevice tcx: bt_dac
1761.1Seehattach tcx at sbus
1771.1Seehfile	arch/sparc64/dev/tcx.c		tcx needs-flag
1781.1Seeh
1791.1Seehdevice cgfourteen
1801.11Spkattach cgfourteen at sbus
1811.1Seehfile	arch/sparc64/dev/cgfourteen.c	cgfourteen needs-flag
1821.1Seeh
1831.1Seehfile	arch/sparc64/dev/bt_subr.c	bt_dac
1841.1Seeh
1851.1Seeh#
1861.1Seeh# Generic Sun stuff
1871.1Seeh#
1881.1Seeh
1891.1Seehfile	dev/cons.c
1901.1Seehfile	arch/sparc64/dev/fb.c
1911.19Seehfile	arch/sparc64/dev/consinit.c
1921.1Seeh
1931.1Seehfile	arch/sparc64/fpu/fpu.c
1941.1Seehfile	arch/sparc64/fpu/fpu_add.c
1951.1Seehfile	arch/sparc64/fpu/fpu_compare.c
1961.1Seehfile	arch/sparc64/fpu/fpu_div.c
1971.1Seehfile	arch/sparc64/fpu/fpu_explode.c
1981.1Seehfile	arch/sparc64/fpu/fpu_implode.c
1991.1Seehfile	arch/sparc64/fpu/fpu_mul.c
2001.1Seehfile	arch/sparc64/fpu/fpu_sqrt.c
2011.1Seehfile	arch/sparc64/fpu/fpu_subr.c
2021.1Seeh
2031.1Seeh# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
2041.1Seeh# identified the exact problem yet.  NOOPT_C suffices for now.
2051.1Seehfile	arch/sparc64/sparc64/autoconf.c
2061.1Seehfile	arch/sparc64/sparc64/cache.c
2071.1Seehfile	arch/sparc64/sparc64/conf.c
2081.1Seehfile	arch/sparc64/sparc64/emul.c
2091.1Seehfile	arch/sparc64/sparc64/in_cksum.c
2101.1Seehfile	arch/sparc64/sparc64/intr.c
2111.1Seehfile	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.1Seehfile	arch/sparc64/sparc64/mem.c
2181.1Seehfile	arch/sparc64/sparc64/openprom.c
2191.1Seehfile	arch/sparc64/sparc64/openfirm.c
2201.1Seehfile	arch/sparc64/sparc64/ofw_machdep.c
2211.1Seehfile	arch/sparc64/sparc64/pmap.c
2221.1Seeh# the following overrides the generic "sys_process.c"
2231.1Seeh# commented out by deraadt
2241.1Seeh#file	arch/sparc64/sparc64/sys_process.c
2251.1Seehfile	arch/sparc64/sparc64/sys_machdep.c
2261.1Seehfile	arch/sparc64/sparc64/trap.c
2271.1Seehfile	arch/sparc64/sparc64/vm_machdep.c
2281.1Seehfile	arch/sparc64/sparc64/disksubr.c
2291.1Seeh
2301.1Seehfile	arch/sparc64/sparc64/db_interface.c	ddb | kgdb
2311.1Seehfile	arch/sparc64/sparc64/db_trace.c	ddb
2321.1Seehfile	arch/sparc64/sparc64/db_disasm.c	ddb
2331.1Seeh#file 	ddb/db_aout.c			ddb_aout
2341.1Seeh#file	ddb/db_elf.c			ddb
2351.1Seeh
2361.1Seeh#
2371.1Seeh# Raster Console
2381.1Seeh#
2391.17Skleinkinclude "dev/rcons/files.rcons"
2401.17Skleinkinclude "dev/rasops/files.rasops"
2411.17Skleinkinclude "dev/wsfont/files.wsfont"
2421.1Seeh
2431.1Seeh#
2441.1Seeh# Compatibility modules
2451.1Seeh#
2461.13Sthorpej
2471.13Sthorpej# Binary compatiblity with previous NetBSD releases.
2481.13Sthorpejfile	arch/sparc64/sparc64/compat_13_machdep.c compat_13
2491.1Seeh
2501.22Seeh# NetBSD/sparc 32-bit Binary compatibility (COMPAT_NETBSD32)
2511.17Skleinkinclude "compat/netbsd32/files.netbsd32"
2521.15Smrgfile	arch/sparc64/sparc64/netbsd32_machdep.c	compat_netbsd32
2531.22Seeh
2541.22Seeh# NetBSD a.out Binary Compatibility (COMPAT_AOUT)
2551.22Seehinclude "compat/aout/files.aout"
2561.8Smrg
2571.1Seeh# SVR4 Binary Compatibility (COMPAT_SVR4)
2581.17Skleinkinclude "compat/svr4/files.svr4"
2591.1Seehfile	arch/sparc64/sparc64/svr4_machdep.c	compat_svr4
2601.1Seeh
2611.1Seeh# SunOS Binary Compatibility (COMPAT_SUNOS)
2621.17Skleinkinclude "compat/sunos/files.sunos"
2631.8Smrgfile	arch/sparc64/sparc64/sunos_machdep.c	compat_sunos
2641.1Seeh
2651.1Seeh# Miscellaneous
2661.1Seehfile	netns/ns_cksum.c		ns
2671.1Seeh
2681.1Seehfile	arch/sparc64/dev/md_root.c	memory_disk_hooks
269