files.sparc revision 1.35
11.35Sthorpej#	$NetBSD: files.sparc,v 1.35 1997/02/27 01:17:09 thorpej Exp $
21.2Scgd
31.2Scgd# @(#)files.sparc	8.1 (Berkeley) 7/19/93
41.1Sderaadt# sparc-specific configuration info
51.1Sderaadt
61.32Spk# maxpartitions must be first item in files.${ARCH}
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.32Spk
171.32Spkdevice iommu {}
181.32Spkattach iommu at mainbus
191.32Spkfile	arch/sparc/sparc/iommu.c		iommu
201.32Spk
211.16Sthorpejdevice vmel { [addr = -1], [level = -1], [vect = -1] }
221.16Sthorpejattach vmel at mainbus
231.16Sthorpejdevice vmes { [addr = -1], [level = -1], [vect = -1] }
241.16Sthorpejattach vmes at mainbus
251.17Scgdfile	arch/sparc/dev/obio.c		obio | vmel | vmes
261.1Sderaadt
271.16Sthorpejdevice auxreg
281.18Spkattach auxreg at mainbus, obio
291.2Scgdfile	arch/sparc/sparc/auxreg.c
301.1Sderaadt
311.16Sthorpejdevice clock
321.16Sthorpejattach clock at mainbus, obio
331.20Sthorpej
341.16Sthorpejdevice oclock
351.16Sthorpejattach oclock at obio
361.20Sthorpej
371.16Sthorpejdevice timer
381.16Sthorpejattach timer at mainbus, obio
391.20Sthorpej
401.16Sthorpejdevice eeprom
411.16Sthorpejattach eeprom at obio
421.2Scgdfile	arch/sparc/sparc/clock.c
431.20Sthorpej
441.18Spkdevice power
451.18Spkattach power at obio
461.20Sthorpejfile	arch/sparc/dev/power.c			power
471.1Sderaadt
481.16Sthorpejdevice cpu
491.16Sthorpejattach cpu at mainbus
501.2Scgdfile	arch/sparc/sparc/cpu.c
511.1Sderaadt
521.16Sthorpejdevice memreg
531.16Sthorpejattach memreg at mainbus, obio
541.2Scgdfile	arch/sparc/sparc/memreg.c
551.1Sderaadt
561.16Sthorpejdevice zs
571.16Sthorpejattach zs at mainbus, obio
581.2Scgdfile	arch/sparc/dev/zs.c			zs needs-count
591.2Scgd
601.16Sthorpejdevice fdc {}
611.18Spkattach fdc at mainbus, obio
621.16Sthorpejdevice fd: disk
631.16Sthorpejattach fd at fdc
641.19Spkfile	arch/sparc/dev/fd.c			fdc | fd needs-flag
651.19Spkfile	arch/sparc/sparc/bsd_fdintr.s		fdc
661.1Sderaadt
671.16Sthorpejdevice sbus { slot = -1, offset = -1 }
681.18Spkattach sbus at mainbus, iommu
691.20Sthorpejfile	arch/sparc/dev/sbus.c			sbus
701.18Spk
711.2Scgd
721.5Spk#
731.5Spk# Machine-independent SCSI drivers
741.5Spk#
751.5Spkinclude "../../../scsi/files.scsi"
761.1Sderaadt
771.2Scgdmajor { sd = 7 }
781.2Scgdmajor { vnd = 8 }
791.2Scgdmajor { cd = 18 }
801.2Scgd
811.22Spkdevice dma {}
821.16Sthorpejattach dma at sbus, obio
831.22Spkdevice ledma {}
841.16Sthorpejattach ledma at sbus
851.23Spkfile	arch/sparc/dev/dma.c		dma | ledma
861.32Spkdevice lebuffer {}
871.32Spkattach lebuffer at sbus
881.32Spkfile	arch/sparc/dev/lebuffer.c	lebuffer
891.2Scgd
901.35Sthorpejdevice esp: scsi, ncr53c9x
911.23Spkattach esp at sbus, dma, obio
921.23Spkfile	arch/sparc/dev/esp.c		esp
931.1Sderaadt
941.30Spkdevice audio
951.30Spkattach audio at mainbus, obio, sbus
961.30Spkfile	arch/sparc/dev/amd7930.c		audio
971.30Spkfile	arch/sparc/sparc/amd7930intr.s		audio
981.30Spk
991.16Sthorpej# Brooktree DAC attribute
1001.16Sthorpejdefine bt_dac
1011.16Sthorpej
1021.16Sthorpejdevice bwtwo
1031.16Sthorpejattach bwtwo at sbus, obio, vmes, vmel
1041.2Scgdfile	arch/sparc/dev/bwtwo.c		bwtwo needs-flag
1051.1Sderaadt
1061.16Sthorpejdevice cgtwo
1071.16Sthorpejattach cgtwo at sbus, obio, vmes
1081.10Spkfile	arch/sparc/dev/cgtwo.c		cgtwo needs-flag
1091.10Spk
1101.16Sthorpejdevice cgthree: bt_dac
1111.16Sthorpejattach cgthree at sbus
1121.2Scgdfile	arch/sparc/dev/cgthree.c	cgthree needs-flag
1131.1Sderaadt
1141.16Sthorpejdevice cgfour: bt_dac
1151.16Sthorpejattach cgfour at obio
1161.14Sthorpejfile	arch/sparc/dev/cgfour.c		cgfour needs-flag
1171.14Sthorpej
1181.16Sthorpejdevice cgsix: bt_dac
1191.16Sthorpejattach cgsix at sbus, obio
1201.2Scgdfile	arch/sparc/dev/cgsix.c		cgsix needs-flag
1211.1Sderaadt
1221.16Sthorpejdevice cgeight: bt_dac
1231.16Sthorpejattach cgeight at obio
1241.14Sthorpejfile	arch/sparc/dev/cgeight.c	cgeight needs-flag
1251.25Spk
1261.25Spkdevice tcx: bt_dac
1271.25Spkattach tcx at sbus
1281.25Spkfile	arch/sparc/dev/tcx.c		tcx needs-flag
1291.29Sabrown
1301.29Sabrowndevice cgfourteen
1311.29Sabrownattach cgfourteen at obio
1321.29Sabrownfile	arch/sparc/dev/cgfourteen.c	cgfourteen needs-flag
1331.14Sthorpej
1341.16Sthorpejfile	arch/sparc/dev/bt_subr.c	bt_dac
1351.1Sderaadt
1361.21Sthorpej# device definition in sys/conf/files
1371.32Spkattach le at sbus, ledma, lebuffer, obio
1381.2Scgdfile	arch/sparc/dev/if_le.c		le
1391.2Scgd
1401.16Sthorpejdevice ie: ifnet, ether
1411.16Sthorpejattach ie at obio, vmes, vmel
1421.2Scgdfile	arch/sparc/dev/if_ie.c		ie
1431.2Scgd
1441.16Sthorpejdevice xdc {drive = -1}
1451.16Sthorpejattach xdc at vmel
1461.16Sthorpejdevice xd: disk
1471.16Sthorpejattach xd at xdc
1481.6Spkfile	arch/sparc/dev/xd.c		xd needs-flag
1491.6Spkmajor	{xd = 10}
1501.11Schuck
1511.16Sthorpejdevice xyc {drive = -1}
1521.16Sthorpejattach xyc at vmes
1531.16Sthorpejdevice xy: disk
1541.16Sthorpejattach xy at xyc
1551.11Schuckfile	arch/sparc/dev/xy.c		xy needs-flag
1561.11Schuckmajor	{xy = 3}
1571.7Spk
1581.16Sthorpejdevice si: scsi, ncr5380sbc
1591.16Sthorpejattach si at vmes
1601.16Sthorpejdevice sw: scsi, ncr5380sbc
1611.16Sthorpejattach sw at obio
1621.17Scgdfile	arch/sparc/dev/si.c		si | sw
1631.28Schuck
1641.31Sthorpej# Efficient Networks, Inc. ATM interface
1651.31Sthorpej# device declaration in sys/conf/files
1661.28Schuckattach  en at sbus with en_sbus
1671.31Sthorpejfile    arch/sparc/dev/if_en_sbus.c     en_sbus
1681.2Scgd
1691.2Scgdpseudo-device	kbd
1701.2Scgd
1711.24Spk#
1721.24Spk# Generic Sun stuff
1731.24Spk#
1741.24Spkinclude "../../../dev/sun/files.sun"
1751.24Spk
1761.2Scgdfile	arch/sparc/dev/cons.c
1771.2Scgdfile	arch/sparc/dev/fb.c
1781.2Scgdfile	arch/sparc/dev/ms.c
1791.2Scgdfile	arch/sparc/dev/kbd.c		kbd
1801.2Scgd
1811.2Scgdfile	arch/sparc/fpu/fpu.c
1821.2Scgdfile	arch/sparc/fpu/fpu_add.c
1831.2Scgdfile	arch/sparc/fpu/fpu_compare.c
1841.2Scgdfile	arch/sparc/fpu/fpu_div.c
1851.2Scgdfile	arch/sparc/fpu/fpu_explode.c
1861.2Scgdfile	arch/sparc/fpu/fpu_implode.c
1871.2Scgdfile	arch/sparc/fpu/fpu_mul.c
1881.2Scgdfile	arch/sparc/fpu/fpu_sqrt.c
1891.2Scgdfile	arch/sparc/fpu/fpu_subr.c
1901.1Sderaadt
1911.1Sderaadt# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
1921.1Sderaadt# identified the exact problem yet.  NOOPT_C suffices for now.
1931.2Scgdfile	arch/sparc/sparc/autoconf.c
1941.2Scgdfile	arch/sparc/sparc/cache.c
1951.2Scgdfile	arch/sparc/sparc/conf.c
1961.2Scgdfile	arch/sparc/sparc/in_cksum.c
1971.2Scgdfile	arch/sparc/sparc/intr.c
1981.2Scgdfile	arch/sparc/sparc/kgdb_stub.c
1991.1Sderaadt# sparc/sparc/locore.s is handled specially in the makefile,
2001.1Sderaadt# because it must come first in the "ld" command line.
2011.2Scgdfile	arch/sparc/sparc/locore2.c
2021.2Scgdfile	arch/sparc/sparc/machdep.c
2031.2Scgdfile	arch/sparc/sparc/process_machdep.c
2041.2Scgdfile	arch/sparc/sparc/mem.c
2051.2Scgdfile	arch/sparc/sparc/openprom.c
2061.2Scgdfile	arch/sparc/sparc/pmap.c
2071.1Sderaadt# the following overrides the generic "sys_process.c"
2081.2Scgd# commented out by deraadt
2091.2Scgd#file	arch/sparc/sparc/sys_process.c
2101.2Scgdfile	arch/sparc/sparc/sys_machdep.c
2111.2Scgdfile	arch/sparc/sparc/trap.c
2121.2Scgdfile	arch/sparc/sparc/vm_machdep.c
2131.2Scgdfile	arch/sparc/sparc/disksubr.c
2141.1Sderaadt
2151.1Sderaadtfile	kludge_for_in_proto.c		hy needs-flag
2161.2Scgd
2171.2Scgdfile	arch/sparc/sparc/db_interface.c	ddb
2181.2Scgdfile	arch/sparc/sparc/db_trace.c	ddb
2191.2Scgdfile	arch/sparc/sparc/db_disasm.c	ddb
2201.12Spk
2211.12Spk#
2221.12Spk# Raster Console
2231.12Spk#
2241.12Spkinclude "../../../dev/rcons/files.rcons"
2251.2Scgd
2261.2Scgd#
2271.2Scgd# Compatibility modules
2281.2Scgd#
2291.2Scgd
2301.2Scgd# SVR4 Binary Compatibility (COMPAT_SVR4)
2311.2Scgdinclude "../../../compat/svr4/files.svr4"
2321.2Scgdfile	arch/sparc/sparc/svr4_machdep.c	compat_svr4
2331.3Schristosfile	arch/sparc/sparc/sunos_machdep.c compat_sunos
2341.2Scgd
2351.2Scgd# SunOS Binary Compatibility (COMPAT_SUNOS)
2361.2Scgdinclude "../../../compat/sunos/files.sunos"
2371.15Spk
2381.15Spk# Miscellaneous
2391.15Spkfile	netns/ns_cksum.c		ns
2401.24Spk
2411.33Spkmajor	{md = 5}
2421.33Spkfile	arch/sparc/dev/md_root.c	memory_disk_hooks
243