files.sparc revision 1.26
11.26Spk#	$NetBSD: files.sparc,v 1.26 1996/06/20 20:05:46 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.25Spk
1211.25Spkdevice tcx: bt_dac
1221.25Spkattach tcx at sbus
1231.25Spkfile	arch/sparc/dev/tcx.c		tcx needs-flag
1241.14Sthorpej
1251.16Sthorpejfile	arch/sparc/dev/bt_subr.c	bt_dac
1261.1Sderaadt
1271.21Sthorpej# device definition in sys/conf/files
1281.16Sthorpejattach le at sbus, ledma, obio
1291.2Scgdfile	arch/sparc/dev/if_le.c		le
1301.2Scgd
1311.16Sthorpejdevice ie: ifnet, ether
1321.16Sthorpejattach ie at obio, vmes, vmel
1331.2Scgdfile	arch/sparc/dev/if_ie.c		ie
1341.2Scgd
1351.16Sthorpejdevice xdc {drive = -1}
1361.16Sthorpejattach xdc at vmel
1371.16Sthorpejdevice xd: disk
1381.16Sthorpejattach xd at xdc
1391.6Spkfile	arch/sparc/dev/xd.c		xd needs-flag
1401.6Spkmajor	{xd = 10}
1411.11Schuck
1421.16Sthorpejdevice xyc {drive = -1}
1431.16Sthorpejattach xyc at vmes
1441.16Sthorpejdevice xy: disk
1451.16Sthorpejattach xy at xyc
1461.11Schuckfile	arch/sparc/dev/xy.c		xy needs-flag
1471.11Schuckmajor	{xy = 3}
1481.7Spk
1491.16Sthorpejdevice si: scsi, ncr5380sbc
1501.16Sthorpejattach si at vmes
1511.16Sthorpejdevice sw: scsi, ncr5380sbc
1521.16Sthorpejattach sw at obio
1531.17Scgdfile	arch/sparc/dev/si.c		si | sw
1541.2Scgd
1551.2Scgdpseudo-device	kbd
1561.2Scgd
1571.24Spk#
1581.24Spk# Generic Sun stuff
1591.24Spk#
1601.24Spkinclude "../../../dev/sun/files.sun"
1611.24Spk
1621.2Scgdfile	arch/sparc/dev/cons.c
1631.2Scgdfile	arch/sparc/dev/fb.c
1641.2Scgdfile	arch/sparc/dev/ms.c
1651.2Scgdfile	arch/sparc/dev/kbd.c		kbd
1661.2Scgd
1671.2Scgdfile	arch/sparc/fpu/fpu.c
1681.2Scgdfile	arch/sparc/fpu/fpu_add.c
1691.2Scgdfile	arch/sparc/fpu/fpu_compare.c
1701.2Scgdfile	arch/sparc/fpu/fpu_div.c
1711.2Scgdfile	arch/sparc/fpu/fpu_explode.c
1721.2Scgdfile	arch/sparc/fpu/fpu_implode.c
1731.2Scgdfile	arch/sparc/fpu/fpu_mul.c
1741.2Scgdfile	arch/sparc/fpu/fpu_sqrt.c
1751.2Scgdfile	arch/sparc/fpu/fpu_subr.c
1761.1Sderaadt
1771.1Sderaadt# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
1781.1Sderaadt# identified the exact problem yet.  NOOPT_C suffices for now.
1791.2Scgdfile	arch/sparc/sparc/autoconf.c
1801.2Scgdfile	arch/sparc/sparc/amd7930intr.s	audio
1811.2Scgdfile	arch/sparc/sparc/cache.c
1821.2Scgdfile	arch/sparc/sparc/conf.c
1831.2Scgdfile	arch/sparc/sparc/in_cksum.c
1841.2Scgdfile	arch/sparc/sparc/intr.c
1851.2Scgdfile	arch/sparc/sparc/kgdb_stub.c
1861.1Sderaadt# sparc/sparc/locore.s is handled specially in the makefile,
1871.1Sderaadt# because it must come first in the "ld" command line.
1881.2Scgdfile	arch/sparc/sparc/locore2.c
1891.2Scgdfile	arch/sparc/sparc/machdep.c
1901.2Scgdfile	arch/sparc/sparc/process_machdep.c
1911.2Scgdfile	arch/sparc/sparc/mem.c
1921.2Scgdfile	arch/sparc/sparc/openprom.c
1931.2Scgdfile	arch/sparc/sparc/pmap.c
1941.1Sderaadt# the following overrides the generic "sys_process.c"
1951.2Scgd# commented out by deraadt
1961.2Scgd#file	arch/sparc/sparc/sys_process.c
1971.2Scgdfile	arch/sparc/sparc/sys_machdep.c
1981.2Scgdfile	arch/sparc/sparc/trap.c
1991.2Scgdfile	arch/sparc/sparc/vm_machdep.c
2001.2Scgdfile	arch/sparc/sparc/disksubr.c
2011.1Sderaadt
2021.1Sderaadtfile	kludge_for_in_proto.c		hy needs-flag
2031.2Scgd
2041.2Scgdfile	arch/sparc/sparc/db_interface.c	ddb
2051.2Scgdfile	arch/sparc/sparc/db_trace.c	ddb
2061.2Scgdfile	arch/sparc/sparc/db_disasm.c	ddb
2071.12Spk
2081.12Spk#
2091.12Spk# Raster Console
2101.12Spk#
2111.12Spkinclude "../../../dev/rcons/files.rcons"
2121.2Scgd
2131.2Scgd#
2141.2Scgd# Compatibility modules
2151.2Scgd#
2161.2Scgd
2171.2Scgd# SVR4 Binary Compatibility (COMPAT_SVR4)
2181.2Scgdinclude "../../../compat/svr4/files.svr4"
2191.2Scgdfile	arch/sparc/sparc/svr4_machdep.c	compat_svr4
2201.3Schristosfile	arch/sparc/sparc/sunos_machdep.c compat_sunos
2211.2Scgd
2221.2Scgd# SunOS Binary Compatibility (COMPAT_SUNOS)
2231.2Scgdinclude "../../../compat/sunos/files.sunos"
2241.15Spk
2251.15Spk# Miscellaneous
2261.15Spkfile	netns/ns_cksum.c		ns
2271.24Spk
2281.26Spkpseudo-device rd
2291.26Spkmajor	{rd = 5}
2301.26Spkfile	arch/sparc/dev/rd_root.c	ramdisk_hooks
2311.26Spkfile	dev/ramdisk.c			rd needs-flag
232