files.sparc revision 1.22
11.22Spk#	$NetBSD: files.sparc,v 1.22 1996/05/16 22:38:04 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.20Sthorpej
331.16Sthorpejdevice oclock
341.16Sthorpejattach oclock at obio
351.20Sthorpej
361.16Sthorpejdevice timer
371.16Sthorpejattach timer at mainbus, obio
381.20Sthorpej
391.16Sthorpejdevice eeprom
401.16Sthorpejattach eeprom at obio
411.2Scgdfile	arch/sparc/sparc/clock.c
421.20Sthorpej
431.18Spkdevice power
441.18Spkattach power at obio
451.20Sthorpejfile	arch/sparc/dev/power.c			power
461.1Sderaadt
471.16Sthorpejdevice cpu
481.16Sthorpejattach cpu at mainbus
491.2Scgdfile	arch/sparc/sparc/cpu.c
501.1Sderaadt
511.16Sthorpejdevice memreg
521.16Sthorpejattach memreg at mainbus, obio
531.2Scgdfile	arch/sparc/sparc/memreg.c
541.1Sderaadt
551.16Sthorpejdevice zs
561.16Sthorpejattach zs at mainbus, obio
571.2Scgdfile	arch/sparc/dev/zs.c			zs needs-count
581.2Scgd
591.16Sthorpejdevice fdc {}
601.18Spkattach fdc at mainbus, obio
611.16Sthorpejdevice fd: disk
621.16Sthorpejattach fd at fdc
631.19Spkfile	arch/sparc/dev/fd.c			fdc | fd needs-flag
641.19Spkfile	arch/sparc/sparc/bsd_fdintr.s		fdc
651.1Sderaadt
661.18Spkdevice iommu {}
671.18Spkattach iommu at mainbus
681.18Spkfile	arch/sparc/sparc/iommu.c		iommu
691.18Spk
701.16Sthorpejdevice sbus { slot = -1, offset = -1 }
711.18Spkattach sbus at mainbus, iommu
721.20Sthorpejfile	arch/sparc/dev/sbus.c			sbus
731.18Spk
741.2Scgd
751.5Spk#
761.5Spk# Machine-independent SCSI drivers
771.5Spk#
781.5Spkinclude "../../../scsi/files.scsi"
791.1Sderaadt
801.2Scgdmajor { sd = 7 }
811.2Scgdmajor { vnd = 8 }
821.2Scgdmajor { cd = 18 }
831.2Scgd
841.22Spkdevice dma {}
851.16Sthorpejattach dma at sbus, obio
861.22Spkdevice espdma {}
871.16Sthorpejattach espdma at sbus
881.22Spkdevice ledma {}
891.16Sthorpejattach ledma at sbus
901.17Scgdfile	arch/sparc/dev/dma.c		dma | espdma | ledma needs-flag
911.2Scgd
921.16Sthorpejdevice esp: scsi
931.22Spkattach esp at sbus, espdma, dma, obio
941.2Scgdfile	arch/sparc/dev/esp.c		esp needs-flag
951.1Sderaadt
961.16Sthorpej# Brooktree DAC attribute
971.16Sthorpejdefine bt_dac
981.16Sthorpej
991.16Sthorpejdevice bwtwo
1001.16Sthorpejattach bwtwo at sbus, obio, vmes, vmel
1011.2Scgdfile	arch/sparc/dev/bwtwo.c		bwtwo needs-flag
1021.1Sderaadt
1031.16Sthorpejdevice cgtwo
1041.16Sthorpejattach cgtwo at sbus, obio, vmes
1051.10Spkfile	arch/sparc/dev/cgtwo.c		cgtwo needs-flag
1061.10Spk
1071.16Sthorpejdevice cgthree: bt_dac
1081.16Sthorpejattach cgthree at sbus
1091.2Scgdfile	arch/sparc/dev/cgthree.c	cgthree needs-flag
1101.1Sderaadt
1111.16Sthorpejdevice cgfour: bt_dac
1121.16Sthorpejattach cgfour at obio
1131.14Sthorpejfile	arch/sparc/dev/cgfour.c		cgfour needs-flag
1141.14Sthorpej
1151.16Sthorpejdevice cgsix: bt_dac
1161.16Sthorpejattach cgsix at sbus, obio
1171.2Scgdfile	arch/sparc/dev/cgsix.c		cgsix needs-flag
1181.1Sderaadt
1191.16Sthorpejdevice cgeight: bt_dac
1201.16Sthorpejattach cgeight at obio
1211.14Sthorpejfile	arch/sparc/dev/cgeight.c	cgeight needs-flag
1221.14Sthorpej
1231.16Sthorpejfile	arch/sparc/dev/bt_subr.c	bt_dac
1241.1Sderaadt
1251.21Sthorpej# device definition in sys/conf/files
1261.16Sthorpejattach le at sbus, ledma, obio
1271.2Scgdfile	arch/sparc/dev/if_le.c		le
1281.2Scgd
1291.16Sthorpejdevice ie: ifnet, ether
1301.16Sthorpejattach ie at obio, vmes, vmel
1311.2Scgdfile	arch/sparc/dev/if_ie.c		ie
1321.2Scgd
1331.16Sthorpejdevice xdc {drive = -1}
1341.16Sthorpejattach xdc at vmel
1351.16Sthorpejdevice xd: disk
1361.16Sthorpejattach xd at xdc
1371.6Spkfile	arch/sparc/dev/xd.c		xd needs-flag
1381.6Spkmajor	{xd = 10}
1391.11Schuck
1401.16Sthorpejdevice xyc {drive = -1}
1411.16Sthorpejattach xyc at vmes
1421.16Sthorpejdevice xy: disk
1431.16Sthorpejattach xy at xyc
1441.11Schuckfile	arch/sparc/dev/xy.c		xy needs-flag
1451.11Schuckmajor	{xy = 3}
1461.7Spk
1471.16Sthorpejdevice si: scsi, ncr5380sbc
1481.16Sthorpejattach si at vmes
1491.16Sthorpejdevice sw: scsi, ncr5380sbc
1501.16Sthorpejattach sw at obio
1511.17Scgdfile	arch/sparc/dev/si.c		si | sw
1521.2Scgd
1531.2Scgdpseudo-device	kbd
1541.2Scgd
1551.2Scgdfile	arch/sparc/dev/cons.c
1561.2Scgdfile	arch/sparc/dev/event.c
1571.2Scgdfile	arch/sparc/dev/fb.c
1581.2Scgdfile	arch/sparc/dev/ms.c
1591.2Scgdfile	arch/sparc/dev/kbd.c		kbd
1601.2Scgd
1611.2Scgdfile	arch/sparc/fpu/fpu.c
1621.2Scgdfile	arch/sparc/fpu/fpu_add.c
1631.2Scgdfile	arch/sparc/fpu/fpu_compare.c
1641.2Scgdfile	arch/sparc/fpu/fpu_div.c
1651.2Scgdfile	arch/sparc/fpu/fpu_explode.c
1661.2Scgdfile	arch/sparc/fpu/fpu_implode.c
1671.2Scgdfile	arch/sparc/fpu/fpu_mul.c
1681.2Scgdfile	arch/sparc/fpu/fpu_sqrt.c
1691.2Scgdfile	arch/sparc/fpu/fpu_subr.c
1701.1Sderaadt
1711.1Sderaadt# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
1721.1Sderaadt# identified the exact problem yet.  NOOPT_C suffices for now.
1731.2Scgdfile	arch/sparc/sparc/autoconf.c
1741.2Scgdfile	arch/sparc/sparc/amd7930intr.s	audio
1751.2Scgdfile	arch/sparc/sparc/cache.c
1761.2Scgdfile	arch/sparc/sparc/conf.c
1771.2Scgdfile	arch/sparc/sparc/in_cksum.c
1781.2Scgdfile	arch/sparc/sparc/intr.c
1791.2Scgdfile	arch/sparc/sparc/kgdb_stub.c
1801.1Sderaadt# sparc/sparc/locore.s is handled specially in the makefile,
1811.1Sderaadt# because it must come first in the "ld" command line.
1821.2Scgdfile	arch/sparc/sparc/locore2.c
1831.2Scgdfile	arch/sparc/sparc/machdep.c
1841.2Scgdfile	arch/sparc/sparc/process_machdep.c
1851.2Scgdfile	arch/sparc/sparc/mem.c
1861.2Scgdfile	arch/sparc/sparc/openprom.c
1871.2Scgdfile	arch/sparc/sparc/pmap.c
1881.1Sderaadt# the following overrides the generic "sys_process.c"
1891.2Scgd# commented out by deraadt
1901.2Scgd#file	arch/sparc/sparc/sys_process.c
1911.2Scgdfile	arch/sparc/sparc/sys_machdep.c
1921.2Scgdfile	arch/sparc/sparc/trap.c
1931.2Scgdfile	arch/sparc/sparc/vm_machdep.c
1941.2Scgdfile	arch/sparc/sparc/disksubr.c
1951.1Sderaadt
1961.1Sderaadtfile	kludge_for_in_proto.c		hy needs-flag
1971.2Scgd
1981.2Scgdfile	arch/sparc/sparc/db_interface.c	ddb
1991.2Scgdfile	arch/sparc/sparc/db_trace.c	ddb
2001.2Scgdfile	arch/sparc/sparc/db_disasm.c	ddb
2011.12Spk
2021.12Spk#
2031.12Spk# Raster Console
2041.12Spk#
2051.12Spkinclude "../../../dev/rcons/files.rcons"
2061.2Scgd
2071.2Scgd#
2081.2Scgd# Compatibility modules
2091.2Scgd#
2101.2Scgd
2111.2Scgd# SVR4 Binary Compatibility (COMPAT_SVR4)
2121.2Scgdinclude "../../../compat/svr4/files.svr4"
2131.2Scgdfile	arch/sparc/sparc/svr4_machdep.c	compat_svr4
2141.3Schristosfile	arch/sparc/sparc/sunos_machdep.c compat_sunos
2151.2Scgd
2161.2Scgd# SunOS Binary Compatibility (COMPAT_SUNOS)
2171.2Scgdinclude "../../../compat/sunos/files.sunos"
2181.15Spk
2191.15Spk# Miscellaneous
2201.15Spkfile	netns/ns_cksum.c		ns
221