files.sparc revision 1.17
11.17Scgd#	$NetBSD: files.sparc,v 1.17 1996/03/17 13:21:23 cgd 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.16Sthorpejattach audio at mainbus
241.2Scgdfile	arch/sparc/dev/amd7930.c		audio needs-flag
251.1Sderaadt
261.16Sthorpejdevice auxreg
271.16Sthorpejattach auxreg at mainbus
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.1Sderaadt
401.16Sthorpejdevice cpu
411.16Sthorpejattach cpu at mainbus
421.2Scgdfile	arch/sparc/sparc/cpu.c
431.1Sderaadt
441.16Sthorpejdevice memreg
451.16Sthorpejattach memreg at mainbus, obio
461.2Scgdfile	arch/sparc/sparc/memreg.c
471.1Sderaadt
481.16Sthorpejdevice zs
491.16Sthorpejattach zs at mainbus, obio
501.2Scgdfile	arch/sparc/dev/zs.c			zs needs-count
511.2Scgd
521.16Sthorpejdevice fdc {}
531.16Sthorpejattach fdc at mainbus
541.16Sthorpejdevice fd: disk
551.16Sthorpejattach fd at fdc
561.2Scgdfile	arch/sparc/dev/fd.c			fd needs-flag
571.2Scgdfile	arch/sparc/sparc/bsd_fdintr.s		fd
581.1Sderaadt
591.16Sthorpejdevice sbus { slot = -1, offset = -1 }
601.16Sthorpejattach sbus at mainbus
611.2Scgdfile	arch/sparc/dev/sbus.c		sbus
621.2Scgd
631.5Spk#
641.5Spk# Machine-independent SCSI drivers
651.5Spk#
661.5Spkinclude "../../../scsi/files.scsi"
671.1Sderaadt
681.2Scgdmajor { sd = 7 }
691.2Scgdmajor { vnd = 8 }
701.2Scgdmajor { cd = 18 }
711.2Scgd
721.16Sthorpejdevice dma
731.16Sthorpejattach dma at sbus, obio
741.16Sthorpejdevice espdma { slot = -1, offset = -1 }
751.16Sthorpejattach espdma at sbus
761.16Sthorpejdevice ledma { slot = -1, offset = -1 }
771.16Sthorpejattach ledma at sbus
781.17Scgdfile	arch/sparc/dev/dma.c		dma | espdma | ledma needs-flag
791.2Scgd
801.16Sthorpejdevice esp: scsi
811.16Sthorpejattach esp at sbus, espdma, obio
821.2Scgdfile	arch/sparc/dev/esp.c		esp needs-flag
831.1Sderaadt
841.16Sthorpej# Brooktree DAC attribute
851.16Sthorpejdefine bt_dac
861.16Sthorpej
871.16Sthorpejdevice bwtwo
881.16Sthorpejattach bwtwo at sbus, obio, vmes, vmel
891.2Scgdfile	arch/sparc/dev/bwtwo.c		bwtwo needs-flag
901.1Sderaadt
911.16Sthorpejdevice cgtwo
921.16Sthorpejattach cgtwo at sbus, obio, vmes
931.10Spkfile	arch/sparc/dev/cgtwo.c		cgtwo needs-flag
941.10Spk
951.16Sthorpejdevice cgthree: bt_dac
961.16Sthorpejattach cgthree at sbus
971.2Scgdfile	arch/sparc/dev/cgthree.c	cgthree needs-flag
981.1Sderaadt
991.16Sthorpejdevice cgfour: bt_dac
1001.16Sthorpejattach cgfour at obio
1011.14Sthorpejfile	arch/sparc/dev/cgfour.c		cgfour needs-flag
1021.14Sthorpej
1031.16Sthorpejdevice cgsix: bt_dac
1041.16Sthorpejattach cgsix at sbus, obio
1051.2Scgdfile	arch/sparc/dev/cgsix.c		cgsix needs-flag
1061.1Sderaadt
1071.16Sthorpejdevice cgeight: bt_dac
1081.16Sthorpejattach cgeight at obio
1091.14Sthorpejfile	arch/sparc/dev/cgeight.c	cgeight needs-flag
1101.14Sthorpej
1111.16Sthorpejfile	arch/sparc/dev/bt_subr.c	bt_dac
1121.1Sderaadt
1131.16Sthorpejdevice le: ifnet, ether
1141.16Sthorpejattach le at sbus, ledma, obio
1151.2Scgdfile	arch/sparc/dev/if_le.c		le
1161.2Scgd
1171.16Sthorpejdevice ie: ifnet, ether
1181.16Sthorpejattach ie at obio, vmes, vmel
1191.2Scgdfile	arch/sparc/dev/if_ie.c		ie
1201.2Scgd
1211.16Sthorpejdevice xdc {drive = -1}
1221.16Sthorpejattach xdc at vmel
1231.16Sthorpejdevice xd: disk
1241.16Sthorpejattach xd at xdc
1251.6Spkfile	arch/sparc/dev/xd.c		xd needs-flag
1261.6Spkmajor	{xd = 10}
1271.11Schuck
1281.16Sthorpejdevice xyc {drive = -1}
1291.16Sthorpejattach xyc at vmes
1301.16Sthorpejdevice xy: disk
1311.16Sthorpejattach xy at xyc
1321.11Schuckfile	arch/sparc/dev/xy.c		xy needs-flag
1331.11Schuckmajor	{xy = 3}
1341.7Spk
1351.16Sthorpejdevice si: scsi, ncr5380sbc
1361.16Sthorpejattach si at vmes
1371.16Sthorpejdevice sw: scsi, ncr5380sbc
1381.16Sthorpejattach sw at obio
1391.17Scgdfile	arch/sparc/dev/si.c		si | sw
1401.2Scgd
1411.2Scgdpseudo-device	kbd
1421.2Scgd
1431.2Scgdfile	arch/sparc/dev/cons.c
1441.2Scgdfile	arch/sparc/dev/event.c
1451.2Scgdfile	arch/sparc/dev/fb.c
1461.2Scgdfile	arch/sparc/dev/ms.c
1471.2Scgdfile	arch/sparc/dev/kbd.c		kbd
1481.2Scgd
1491.2Scgdfile	arch/sparc/fpu/fpu.c
1501.2Scgdfile	arch/sparc/fpu/fpu_add.c
1511.2Scgdfile	arch/sparc/fpu/fpu_compare.c
1521.2Scgdfile	arch/sparc/fpu/fpu_div.c
1531.2Scgdfile	arch/sparc/fpu/fpu_explode.c
1541.2Scgdfile	arch/sparc/fpu/fpu_implode.c
1551.2Scgdfile	arch/sparc/fpu/fpu_mul.c
1561.2Scgdfile	arch/sparc/fpu/fpu_sqrt.c
1571.2Scgdfile	arch/sparc/fpu/fpu_subr.c
1581.1Sderaadt
1591.1Sderaadt# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
1601.1Sderaadt# identified the exact problem yet.  NOOPT_C suffices for now.
1611.2Scgdfile	arch/sparc/sparc/autoconf.c
1621.2Scgdfile	arch/sparc/sparc/amd7930intr.s	audio
1631.2Scgdfile	arch/sparc/sparc/cache.c
1641.2Scgdfile	arch/sparc/sparc/conf.c
1651.2Scgdfile	arch/sparc/sparc/in_cksum.c
1661.2Scgdfile	arch/sparc/sparc/intr.c
1671.2Scgdfile	arch/sparc/sparc/kgdb_stub.c
1681.1Sderaadt# sparc/sparc/locore.s is handled specially in the makefile,
1691.1Sderaadt# because it must come first in the "ld" command line.
1701.2Scgdfile	arch/sparc/sparc/locore2.c
1711.2Scgdfile	arch/sparc/sparc/machdep.c
1721.2Scgdfile	arch/sparc/sparc/process_machdep.c
1731.2Scgdfile	arch/sparc/sparc/mem.c
1741.2Scgdfile	arch/sparc/sparc/openprom.c
1751.2Scgdfile	arch/sparc/sparc/pmap.c
1761.1Sderaadt# the following overrides the generic "sys_process.c"
1771.2Scgd# commented out by deraadt
1781.2Scgd#file	arch/sparc/sparc/sys_process.c
1791.2Scgdfile	arch/sparc/sparc/sys_machdep.c
1801.2Scgdfile	arch/sparc/sparc/trap.c
1811.2Scgdfile	arch/sparc/sparc/vm_machdep.c
1821.2Scgdfile	arch/sparc/sparc/disksubr.c
1831.1Sderaadt
1841.1Sderaadtfile	kludge_for_in_proto.c		hy needs-flag
1851.2Scgd
1861.2Scgdfile	arch/sparc/sparc/db_interface.c	ddb
1871.2Scgdfile	arch/sparc/sparc/db_trace.c	ddb
1881.2Scgdfile	arch/sparc/sparc/db_disasm.c	ddb
1891.12Spk
1901.12Spk#
1911.12Spk# Raster Console
1921.12Spk#
1931.12Spkinclude "../../../dev/rcons/files.rcons"
1941.2Scgd
1951.2Scgd#
1961.2Scgd# Compatibility modules
1971.2Scgd#
1981.2Scgd
1991.2Scgd# SVR4 Binary Compatibility (COMPAT_SVR4)
2001.2Scgdinclude "../../../compat/svr4/files.svr4"
2011.2Scgdfile	arch/sparc/sparc/svr4_machdep.c	compat_svr4
2021.3Schristosfile	arch/sparc/sparc/sunos_machdep.c compat_sunos
2031.2Scgd
2041.2Scgd# SunOS Binary Compatibility (COMPAT_SUNOS)
2051.2Scgdinclude "../../../compat/sunos/files.sunos"
2061.15Spk
2071.15Spk# Miscellaneous
2081.15Spkfile	netns/ns_cksum.c		ns
209