files.sparc revision 1.24
11.24Spk#	$NetBSD: files.sparc,v 1.24 1996/05/29 21:56: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.23Spkfile	arch/sparc/dev/amd7930.c		audio
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 ledma {}
871.16Sthorpejattach ledma at sbus
881.23Spkfile	arch/sparc/dev/dma.c		dma | ledma
891.2Scgd
901.16Sthorpejdevice esp: scsi
911.23Spkattach esp at sbus, dma, obio
921.23Spkfile	arch/sparc/dev/esp.c		esp
931.1Sderaadt
941.16Sthorpej# Brooktree DAC attribute
951.16Sthorpejdefine bt_dac
961.16Sthorpej
971.16Sthorpejdevice bwtwo
981.16Sthorpejattach bwtwo at sbus, obio, vmes, vmel
991.2Scgdfile	arch/sparc/dev/bwtwo.c		bwtwo needs-flag
1001.1Sderaadt
1011.16Sthorpejdevice cgtwo
1021.16Sthorpejattach cgtwo at sbus, obio, vmes
1031.10Spkfile	arch/sparc/dev/cgtwo.c		cgtwo needs-flag
1041.10Spk
1051.16Sthorpejdevice cgthree: bt_dac
1061.16Sthorpejattach cgthree at sbus
1071.2Scgdfile	arch/sparc/dev/cgthree.c	cgthree needs-flag
1081.1Sderaadt
1091.16Sthorpejdevice cgfour: bt_dac
1101.16Sthorpejattach cgfour at obio
1111.14Sthorpejfile	arch/sparc/dev/cgfour.c		cgfour needs-flag
1121.14Sthorpej
1131.16Sthorpejdevice cgsix: bt_dac
1141.16Sthorpejattach cgsix at sbus, obio
1151.2Scgdfile	arch/sparc/dev/cgsix.c		cgsix needs-flag
1161.1Sderaadt
1171.16Sthorpejdevice cgeight: bt_dac
1181.16Sthorpejattach cgeight at obio
1191.14Sthorpejfile	arch/sparc/dev/cgeight.c	cgeight needs-flag
1201.14Sthorpej
1211.16Sthorpejfile	arch/sparc/dev/bt_subr.c	bt_dac
1221.1Sderaadt
1231.21Sthorpej# device definition in sys/conf/files
1241.16Sthorpejattach le at sbus, ledma, obio
1251.2Scgdfile	arch/sparc/dev/if_le.c		le
1261.2Scgd
1271.16Sthorpejdevice ie: ifnet, ether
1281.16Sthorpejattach ie at obio, vmes, vmel
1291.2Scgdfile	arch/sparc/dev/if_ie.c		ie
1301.2Scgd
1311.16Sthorpejdevice xdc {drive = -1}
1321.16Sthorpejattach xdc at vmel
1331.16Sthorpejdevice xd: disk
1341.16Sthorpejattach xd at xdc
1351.6Spkfile	arch/sparc/dev/xd.c		xd needs-flag
1361.6Spkmajor	{xd = 10}
1371.11Schuck
1381.16Sthorpejdevice xyc {drive = -1}
1391.16Sthorpejattach xyc at vmes
1401.16Sthorpejdevice xy: disk
1411.16Sthorpejattach xy at xyc
1421.11Schuckfile	arch/sparc/dev/xy.c		xy needs-flag
1431.11Schuckmajor	{xy = 3}
1441.7Spk
1451.16Sthorpejdevice si: scsi, ncr5380sbc
1461.16Sthorpejattach si at vmes
1471.16Sthorpejdevice sw: scsi, ncr5380sbc
1481.16Sthorpejattach sw at obio
1491.17Scgdfile	arch/sparc/dev/si.c		si | sw
1501.2Scgd
1511.2Scgdpseudo-device	kbd
1521.2Scgd
1531.24Spk#
1541.24Spk# Generic Sun stuff
1551.24Spk#
1561.24Spkinclude "../../../dev/sun/files.sun"
1571.24Spk
1581.2Scgdfile	arch/sparc/dev/cons.c
1591.2Scgdfile	arch/sparc/dev/fb.c
1601.2Scgdfile	arch/sparc/dev/ms.c
1611.2Scgdfile	arch/sparc/dev/kbd.c		kbd
1621.2Scgd
1631.2Scgdfile	arch/sparc/fpu/fpu.c
1641.2Scgdfile	arch/sparc/fpu/fpu_add.c
1651.2Scgdfile	arch/sparc/fpu/fpu_compare.c
1661.2Scgdfile	arch/sparc/fpu/fpu_div.c
1671.2Scgdfile	arch/sparc/fpu/fpu_explode.c
1681.2Scgdfile	arch/sparc/fpu/fpu_implode.c
1691.2Scgdfile	arch/sparc/fpu/fpu_mul.c
1701.2Scgdfile	arch/sparc/fpu/fpu_sqrt.c
1711.2Scgdfile	arch/sparc/fpu/fpu_subr.c
1721.1Sderaadt
1731.1Sderaadt# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
1741.1Sderaadt# identified the exact problem yet.  NOOPT_C suffices for now.
1751.2Scgdfile	arch/sparc/sparc/autoconf.c
1761.2Scgdfile	arch/sparc/sparc/amd7930intr.s	audio
1771.2Scgdfile	arch/sparc/sparc/cache.c
1781.2Scgdfile	arch/sparc/sparc/conf.c
1791.2Scgdfile	arch/sparc/sparc/in_cksum.c
1801.2Scgdfile	arch/sparc/sparc/intr.c
1811.2Scgdfile	arch/sparc/sparc/kgdb_stub.c
1821.1Sderaadt# sparc/sparc/locore.s is handled specially in the makefile,
1831.1Sderaadt# because it must come first in the "ld" command line.
1841.2Scgdfile	arch/sparc/sparc/locore2.c
1851.2Scgdfile	arch/sparc/sparc/machdep.c
1861.2Scgdfile	arch/sparc/sparc/process_machdep.c
1871.2Scgdfile	arch/sparc/sparc/mem.c
1881.2Scgdfile	arch/sparc/sparc/openprom.c
1891.2Scgdfile	arch/sparc/sparc/pmap.c
1901.1Sderaadt# the following overrides the generic "sys_process.c"
1911.2Scgd# commented out by deraadt
1921.2Scgd#file	arch/sparc/sparc/sys_process.c
1931.2Scgdfile	arch/sparc/sparc/sys_machdep.c
1941.2Scgdfile	arch/sparc/sparc/trap.c
1951.2Scgdfile	arch/sparc/sparc/vm_machdep.c
1961.2Scgdfile	arch/sparc/sparc/disksubr.c
1971.1Sderaadt
1981.1Sderaadtfile	kludge_for_in_proto.c		hy needs-flag
1991.2Scgd
2001.2Scgdfile	arch/sparc/sparc/db_interface.c	ddb
2011.2Scgdfile	arch/sparc/sparc/db_trace.c	ddb
2021.2Scgdfile	arch/sparc/sparc/db_disasm.c	ddb
2031.12Spk
2041.12Spk#
2051.12Spk# Raster Console
2061.12Spk#
2071.12Spkinclude "../../../dev/rcons/files.rcons"
2081.2Scgd
2091.2Scgd#
2101.2Scgd# Compatibility modules
2111.2Scgd#
2121.2Scgd
2131.2Scgd# SVR4 Binary Compatibility (COMPAT_SVR4)
2141.2Scgdinclude "../../../compat/svr4/files.svr4"
2151.2Scgdfile	arch/sparc/sparc/svr4_machdep.c	compat_svr4
2161.3Schristosfile	arch/sparc/sparc/sunos_machdep.c compat_sunos
2171.2Scgd
2181.2Scgd# SunOS Binary Compatibility (COMPAT_SUNOS)
2191.2Scgdinclude "../../../compat/sunos/files.sunos"
2201.15Spk
2211.15Spk# Miscellaneous
2221.15Spkfile	netns/ns_cksum.c		ns
2231.24Spk
2241.24Spk#pseudo-device rd
2251.24Spk#major	{rd = 5}
2261.24Spk#file	arch/sparc/dev/rd_root.c	microroot
2271.24Spk#file	dev/ramdisk.c			rd needs-flag
228