files.sparc revision 1.18
11.18Spk#	$NetBSD: files.sparc,v 1.18 1996/03/31 22:52:38 pk Exp $
21.2Scgd
31.2Scgd# @(#)files.sparc	8.1 (Berkeley) 7/19/93
41.1Sderaadt# sparc-specific configuration info
51.1Sderaadt
61.2Scgd# maxpartitions must be first item in files.${ARCH}.newconf
71.2Scgdmaxpartitions 8
81.2Scgd
91.1Sderaadtmaxusers 2 8 64
101.1Sderaadt
111.16Sthorpejdevice mainbus {}
121.16Sthorpejattach mainbus at root
131.2Scgd
141.16Sthorpejdevice obio { [addr = -1], [level = -1] }
151.16Sthorpejattach obio at mainbus
161.16Sthorpejdevice vmel { [addr = -1], [level = -1], [vect = -1] }
171.16Sthorpejattach vmel at mainbus
181.16Sthorpejdevice vmes { [addr = -1], [level = -1], [vect = -1] }
191.16Sthorpejattach vmes at mainbus
201.17Scgdfile	arch/sparc/dev/obio.c		obio | vmel | vmes
211.1Sderaadt
221.16Sthorpejdevice audio
231.18Spkattach audio at mainbus, obio
241.2Scgdfile	arch/sparc/dev/amd7930.c		audio needs-flag
251.1Sderaadt
261.16Sthorpejdevice auxreg
271.18Spkattach auxreg at mainbus, obio
281.2Scgdfile	arch/sparc/sparc/auxreg.c
291.1Sderaadt
301.16Sthorpejdevice clock
311.16Sthorpejattach clock at mainbus, obio
321.16Sthorpejdevice oclock
331.16Sthorpejattach oclock at obio
341.16Sthorpejdevice timer
351.16Sthorpejattach timer at mainbus, obio
361.16Sthorpejdevice eeprom
371.16Sthorpejattach eeprom at obio
381.2Scgdfile	arch/sparc/sparc/clock.c
391.18Spkdevice power
401.18Spkattach power at obio
411.1Sderaadt
421.16Sthorpejdevice cpu
431.16Sthorpejattach cpu at mainbus
441.2Scgdfile	arch/sparc/sparc/cpu.c
451.1Sderaadt
461.16Sthorpejdevice memreg
471.16Sthorpejattach memreg at mainbus, obio
481.2Scgdfile	arch/sparc/sparc/memreg.c
491.1Sderaadt
501.16Sthorpejdevice zs
511.16Sthorpejattach zs at mainbus, obio
521.2Scgdfile	arch/sparc/dev/zs.c			zs needs-count
531.2Scgd
541.16Sthorpejdevice fdc {}
551.18Spkattach fdc at mainbus, obio
561.16Sthorpejdevice fd: disk
571.16Sthorpejattach fd at fdc
581.2Scgdfile	arch/sparc/dev/fd.c			fd needs-flag
591.2Scgdfile	arch/sparc/sparc/bsd_fdintr.s		fd
601.1Sderaadt
611.18Spkdevice iommu {}
621.18Spkattach iommu at mainbus
631.18Spkfile	arch/sparc/sparc/iommu.c		iommu
641.18Spk
651.16Sthorpejdevice sbus { slot = -1, offset = -1 }
661.18Spkattach sbus at mainbus, iommu
671.2Scgdfile	arch/sparc/dev/sbus.c		sbus
681.18Spk
691.2Scgd
701.5Spk#
711.5Spk# Machine-independent SCSI drivers
721.5Spk#
731.5Spkinclude "../../../scsi/files.scsi"
741.1Sderaadt
751.2Scgdmajor { sd = 7 }
761.2Scgdmajor { vnd = 8 }
771.2Scgdmajor { cd = 18 }
781.2Scgd
791.16Sthorpejdevice dma
801.16Sthorpejattach dma at sbus, obio
811.16Sthorpejdevice espdma { slot = -1, offset = -1 }
821.16Sthorpejattach espdma at sbus
831.16Sthorpejdevice ledma { slot = -1, offset = -1 }
841.16Sthorpejattach ledma at sbus
851.17Scgdfile	arch/sparc/dev/dma.c		dma | espdma | ledma needs-flag
861.2Scgd
871.16Sthorpejdevice esp: scsi
881.16Sthorpejattach esp at sbus, espdma, obio
891.2Scgdfile	arch/sparc/dev/esp.c		esp needs-flag
901.1Sderaadt
911.16Sthorpej# Brooktree DAC attribute
921.16Sthorpejdefine bt_dac
931.16Sthorpej
941.16Sthorpejdevice bwtwo
951.16Sthorpejattach bwtwo at sbus, obio, vmes, vmel
961.2Scgdfile	arch/sparc/dev/bwtwo.c		bwtwo needs-flag
971.1Sderaadt
981.16Sthorpejdevice cgtwo
991.16Sthorpejattach cgtwo at sbus, obio, vmes
1001.10Spkfile	arch/sparc/dev/cgtwo.c		cgtwo needs-flag
1011.10Spk
1021.16Sthorpejdevice cgthree: bt_dac
1031.16Sthorpejattach cgthree at sbus
1041.2Scgdfile	arch/sparc/dev/cgthree.c	cgthree needs-flag
1051.1Sderaadt
1061.16Sthorpejdevice cgfour: bt_dac
1071.16Sthorpejattach cgfour at obio
1081.14Sthorpejfile	arch/sparc/dev/cgfour.c		cgfour needs-flag
1091.14Sthorpej
1101.16Sthorpejdevice cgsix: bt_dac
1111.16Sthorpejattach cgsix at sbus, obio
1121.2Scgdfile	arch/sparc/dev/cgsix.c		cgsix needs-flag
1131.1Sderaadt
1141.16Sthorpejdevice cgeight: bt_dac
1151.16Sthorpejattach cgeight at obio
1161.14Sthorpejfile	arch/sparc/dev/cgeight.c	cgeight needs-flag
1171.14Sthorpej
1181.16Sthorpejfile	arch/sparc/dev/bt_subr.c	bt_dac
1191.1Sderaadt
1201.16Sthorpejdevice le: ifnet, ether
1211.16Sthorpejattach le at sbus, ledma, obio
1221.2Scgdfile	arch/sparc/dev/if_le.c		le
1231.2Scgd
1241.16Sthorpejdevice ie: ifnet, ether
1251.16Sthorpejattach ie at obio, vmes, vmel
1261.2Scgdfile	arch/sparc/dev/if_ie.c		ie
1271.2Scgd
1281.16Sthorpejdevice xdc {drive = -1}
1291.16Sthorpejattach xdc at vmel
1301.16Sthorpejdevice xd: disk
1311.16Sthorpejattach xd at xdc
1321.6Spkfile	arch/sparc/dev/xd.c		xd needs-flag
1331.6Spkmajor	{xd = 10}
1341.11Schuck
1351.16Sthorpejdevice xyc {drive = -1}
1361.16Sthorpejattach xyc at vmes
1371.16Sthorpejdevice xy: disk
1381.16Sthorpejattach xy at xyc
1391.11Schuckfile	arch/sparc/dev/xy.c		xy needs-flag
1401.11Schuckmajor	{xy = 3}
1411.7Spk
1421.16Sthorpejdevice si: scsi, ncr5380sbc
1431.16Sthorpejattach si at vmes
1441.16Sthorpejdevice sw: scsi, ncr5380sbc
1451.16Sthorpejattach sw at obio
1461.17Scgdfile	arch/sparc/dev/si.c		si | sw
1471.2Scgd
1481.2Scgdpseudo-device	kbd
1491.2Scgd
1501.2Scgdfile	arch/sparc/dev/cons.c
1511.2Scgdfile	arch/sparc/dev/event.c
1521.2Scgdfile	arch/sparc/dev/fb.c
1531.2Scgdfile	arch/sparc/dev/ms.c
1541.2Scgdfile	arch/sparc/dev/kbd.c		kbd
1551.2Scgd
1561.2Scgdfile	arch/sparc/fpu/fpu.c
1571.2Scgdfile	arch/sparc/fpu/fpu_add.c
1581.2Scgdfile	arch/sparc/fpu/fpu_compare.c
1591.2Scgdfile	arch/sparc/fpu/fpu_div.c
1601.2Scgdfile	arch/sparc/fpu/fpu_explode.c
1611.2Scgdfile	arch/sparc/fpu/fpu_implode.c
1621.2Scgdfile	arch/sparc/fpu/fpu_mul.c
1631.2Scgdfile	arch/sparc/fpu/fpu_sqrt.c
1641.2Scgdfile	arch/sparc/fpu/fpu_subr.c
1651.1Sderaadt
1661.1Sderaadt# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
1671.1Sderaadt# identified the exact problem yet.  NOOPT_C suffices for now.
1681.2Scgdfile	arch/sparc/sparc/autoconf.c
1691.2Scgdfile	arch/sparc/sparc/amd7930intr.s	audio
1701.2Scgdfile	arch/sparc/sparc/cache.c
1711.2Scgdfile	arch/sparc/sparc/conf.c
1721.2Scgdfile	arch/sparc/sparc/in_cksum.c
1731.2Scgdfile	arch/sparc/sparc/intr.c
1741.2Scgdfile	arch/sparc/sparc/kgdb_stub.c
1751.1Sderaadt# sparc/sparc/locore.s is handled specially in the makefile,
1761.1Sderaadt# because it must come first in the "ld" command line.
1771.2Scgdfile	arch/sparc/sparc/locore2.c
1781.2Scgdfile	arch/sparc/sparc/machdep.c
1791.2Scgdfile	arch/sparc/sparc/process_machdep.c
1801.2Scgdfile	arch/sparc/sparc/mem.c
1811.2Scgdfile	arch/sparc/sparc/openprom.c
1821.2Scgdfile	arch/sparc/sparc/pmap.c
1831.1Sderaadt# the following overrides the generic "sys_process.c"
1841.2Scgd# commented out by deraadt
1851.2Scgd#file	arch/sparc/sparc/sys_process.c
1861.2Scgdfile	arch/sparc/sparc/sys_machdep.c
1871.2Scgdfile	arch/sparc/sparc/trap.c
1881.2Scgdfile	arch/sparc/sparc/vm_machdep.c
1891.2Scgdfile	arch/sparc/sparc/disksubr.c
1901.1Sderaadt
1911.1Sderaadtfile	kludge_for_in_proto.c		hy needs-flag
1921.2Scgd
1931.2Scgdfile	arch/sparc/sparc/db_interface.c	ddb
1941.2Scgdfile	arch/sparc/sparc/db_trace.c	ddb
1951.2Scgdfile	arch/sparc/sparc/db_disasm.c	ddb
1961.12Spk
1971.12Spk#
1981.12Spk# Raster Console
1991.12Spk#
2001.12Spkinclude "../../../dev/rcons/files.rcons"
2011.2Scgd
2021.2Scgd#
2031.2Scgd# Compatibility modules
2041.2Scgd#
2051.2Scgd
2061.2Scgd# SVR4 Binary Compatibility (COMPAT_SVR4)
2071.2Scgdinclude "../../../compat/svr4/files.svr4"
2081.2Scgdfile	arch/sparc/sparc/svr4_machdep.c	compat_svr4
2091.3Schristosfile	arch/sparc/sparc/sunos_machdep.c compat_sunos
2101.2Scgd
2111.2Scgd# SunOS Binary Compatibility (COMPAT_SUNOS)
2121.2Scgdinclude "../../../compat/sunos/files.sunos"
2131.15Spk
2141.15Spk# Miscellaneous
2151.15Spkfile	netns/ns_cksum.c		ns
216