files.sparc revision 1.30
11.30Spk#	$NetBSD: files.sparc,v 1.30 1996/11/01 23:15:51 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 auxreg
231.18Spkattach auxreg at mainbus, obio
241.2Scgdfile	arch/sparc/sparc/auxreg.c
251.1Sderaadt
261.16Sthorpejdevice clock
271.16Sthorpejattach clock at mainbus, obio
281.20Sthorpej
291.16Sthorpejdevice oclock
301.16Sthorpejattach oclock at obio
311.20Sthorpej
321.16Sthorpejdevice timer
331.16Sthorpejattach timer at mainbus, obio
341.20Sthorpej
351.16Sthorpejdevice eeprom
361.16Sthorpejattach eeprom at obio
371.2Scgdfile	arch/sparc/sparc/clock.c
381.20Sthorpej
391.18Spkdevice power
401.18Spkattach power at obio
411.20Sthorpejfile	arch/sparc/dev/power.c			power
421.1Sderaadt
431.16Sthorpejdevice cpu
441.16Sthorpejattach cpu at mainbus
451.2Scgdfile	arch/sparc/sparc/cpu.c
461.1Sderaadt
471.16Sthorpejdevice memreg
481.16Sthorpejattach memreg at mainbus, obio
491.2Scgdfile	arch/sparc/sparc/memreg.c
501.1Sderaadt
511.16Sthorpejdevice zs
521.16Sthorpejattach zs at mainbus, obio
531.2Scgdfile	arch/sparc/dev/zs.c			zs needs-count
541.2Scgd
551.16Sthorpejdevice fdc {}
561.18Spkattach fdc at mainbus, obio
571.16Sthorpejdevice fd: disk
581.16Sthorpejattach fd at fdc
591.19Spkfile	arch/sparc/dev/fd.c			fdc | fd needs-flag
601.19Spkfile	arch/sparc/sparc/bsd_fdintr.s		fdc
611.1Sderaadt
621.18Spkdevice iommu {}
631.18Spkattach iommu at mainbus
641.18Spkfile	arch/sparc/sparc/iommu.c		iommu
651.18Spk
661.16Sthorpejdevice sbus { slot = -1, offset = -1 }
671.18Spkattach sbus at mainbus, iommu
681.20Sthorpejfile	arch/sparc/dev/sbus.c			sbus
691.18Spk
701.2Scgd
711.5Spk#
721.5Spk# Machine-independent SCSI drivers
731.5Spk#
741.5Spkinclude "../../../scsi/files.scsi"
751.1Sderaadt
761.2Scgdmajor { sd = 7 }
771.2Scgdmajor { vnd = 8 }
781.2Scgdmajor { cd = 18 }
791.2Scgd
801.22Spkdevice dma {}
811.16Sthorpejattach dma at sbus, obio
821.22Spkdevice ledma {}
831.16Sthorpejattach ledma at sbus
841.23Spkfile	arch/sparc/dev/dma.c		dma | ledma
851.2Scgd
861.16Sthorpejdevice esp: scsi
871.23Spkattach esp at sbus, dma, obio
881.23Spkfile	arch/sparc/dev/esp.c		esp
891.1Sderaadt
901.30Spkdevice audio
911.30Spkattach audio at mainbus, obio, sbus
921.30Spkfile	arch/sparc/dev/amd7930.c		audio
931.30Spkfile	arch/sparc/sparc/amd7930intr.s		audio
941.30Spk
951.16Sthorpej# Brooktree DAC attribute
961.16Sthorpejdefine bt_dac
971.16Sthorpej
981.16Sthorpejdevice bwtwo
991.16Sthorpejattach bwtwo at sbus, obio, vmes, vmel
1001.2Scgdfile	arch/sparc/dev/bwtwo.c		bwtwo needs-flag
1011.1Sderaadt
1021.16Sthorpejdevice cgtwo
1031.16Sthorpejattach cgtwo at sbus, obio, vmes
1041.10Spkfile	arch/sparc/dev/cgtwo.c		cgtwo needs-flag
1051.10Spk
1061.16Sthorpejdevice cgthree: bt_dac
1071.16Sthorpejattach cgthree at sbus
1081.2Scgdfile	arch/sparc/dev/cgthree.c	cgthree needs-flag
1091.1Sderaadt
1101.16Sthorpejdevice cgfour: bt_dac
1111.16Sthorpejattach cgfour at obio
1121.14Sthorpejfile	arch/sparc/dev/cgfour.c		cgfour needs-flag
1131.14Sthorpej
1141.16Sthorpejdevice cgsix: bt_dac
1151.16Sthorpejattach cgsix at sbus, obio
1161.2Scgdfile	arch/sparc/dev/cgsix.c		cgsix needs-flag
1171.1Sderaadt
1181.16Sthorpejdevice cgeight: bt_dac
1191.16Sthorpejattach cgeight at obio
1201.14Sthorpejfile	arch/sparc/dev/cgeight.c	cgeight needs-flag
1211.25Spk
1221.25Spkdevice tcx: bt_dac
1231.25Spkattach tcx at sbus
1241.25Spkfile	arch/sparc/dev/tcx.c		tcx needs-flag
1251.29Sabrown
1261.29Sabrowndevice cgfourteen
1271.29Sabrownattach cgfourteen at obio
1281.29Sabrownfile	arch/sparc/dev/cgfourteen.c	cgfourteen needs-flag
1291.14Sthorpej
1301.16Sthorpejfile	arch/sparc/dev/bt_subr.c	bt_dac
1311.1Sderaadt
1321.21Sthorpej# device definition in sys/conf/files
1331.16Sthorpejattach le at sbus, ledma, obio
1341.2Scgdfile	arch/sparc/dev/if_le.c		le
1351.2Scgd
1361.16Sthorpejdevice ie: ifnet, ether
1371.16Sthorpejattach ie at obio, vmes, vmel
1381.2Scgdfile	arch/sparc/dev/if_ie.c		ie
1391.2Scgd
1401.16Sthorpejdevice xdc {drive = -1}
1411.16Sthorpejattach xdc at vmel
1421.16Sthorpejdevice xd: disk
1431.16Sthorpejattach xd at xdc
1441.6Spkfile	arch/sparc/dev/xd.c		xd needs-flag
1451.6Spkmajor	{xd = 10}
1461.11Schuck
1471.16Sthorpejdevice xyc {drive = -1}
1481.16Sthorpejattach xyc at vmes
1491.16Sthorpejdevice xy: disk
1501.16Sthorpejattach xy at xyc
1511.11Schuckfile	arch/sparc/dev/xy.c		xy needs-flag
1521.11Schuckmajor	{xy = 3}
1531.7Spk
1541.16Sthorpejdevice si: scsi, ncr5380sbc
1551.16Sthorpejattach si at vmes
1561.16Sthorpejdevice sw: scsi, ncr5380sbc
1571.16Sthorpejattach sw at obio
1581.17Scgdfile	arch/sparc/dev/si.c		si | sw
1591.28Schuck
1601.28Schuck# ENI ATM driver
1611.28Schuckdevice  en: atm, ifnet
1621.28Schuckattach  en at sbus with en_sbus
1631.28Schuckfile    arch/sparc/dev/if_en_sbus.c     en
1641.28Schuckfile    dev/ic/midway.c                 en
1651.2Scgd
1661.2Scgdpseudo-device	kbd
1671.2Scgd
1681.24Spk#
1691.24Spk# Generic Sun stuff
1701.24Spk#
1711.24Spkinclude "../../../dev/sun/files.sun"
1721.24Spk
1731.2Scgdfile	arch/sparc/dev/cons.c
1741.2Scgdfile	arch/sparc/dev/fb.c
1751.2Scgdfile	arch/sparc/dev/ms.c
1761.2Scgdfile	arch/sparc/dev/kbd.c		kbd
1771.2Scgd
1781.2Scgdfile	arch/sparc/fpu/fpu.c
1791.2Scgdfile	arch/sparc/fpu/fpu_add.c
1801.2Scgdfile	arch/sparc/fpu/fpu_compare.c
1811.2Scgdfile	arch/sparc/fpu/fpu_div.c
1821.2Scgdfile	arch/sparc/fpu/fpu_explode.c
1831.2Scgdfile	arch/sparc/fpu/fpu_implode.c
1841.2Scgdfile	arch/sparc/fpu/fpu_mul.c
1851.2Scgdfile	arch/sparc/fpu/fpu_sqrt.c
1861.2Scgdfile	arch/sparc/fpu/fpu_subr.c
1871.1Sderaadt
1881.1Sderaadt# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
1891.1Sderaadt# identified the exact problem yet.  NOOPT_C suffices for now.
1901.2Scgdfile	arch/sparc/sparc/autoconf.c
1911.2Scgdfile	arch/sparc/sparc/cache.c
1921.2Scgdfile	arch/sparc/sparc/conf.c
1931.2Scgdfile	arch/sparc/sparc/in_cksum.c
1941.2Scgdfile	arch/sparc/sparc/intr.c
1951.2Scgdfile	arch/sparc/sparc/kgdb_stub.c
1961.1Sderaadt# sparc/sparc/locore.s is handled specially in the makefile,
1971.1Sderaadt# because it must come first in the "ld" command line.
1981.2Scgdfile	arch/sparc/sparc/locore2.c
1991.2Scgdfile	arch/sparc/sparc/machdep.c
2001.2Scgdfile	arch/sparc/sparc/process_machdep.c
2011.2Scgdfile	arch/sparc/sparc/mem.c
2021.2Scgdfile	arch/sparc/sparc/openprom.c
2031.2Scgdfile	arch/sparc/sparc/pmap.c
2041.1Sderaadt# the following overrides the generic "sys_process.c"
2051.2Scgd# commented out by deraadt
2061.2Scgd#file	arch/sparc/sparc/sys_process.c
2071.2Scgdfile	arch/sparc/sparc/sys_machdep.c
2081.2Scgdfile	arch/sparc/sparc/trap.c
2091.2Scgdfile	arch/sparc/sparc/vm_machdep.c
2101.2Scgdfile	arch/sparc/sparc/disksubr.c
2111.1Sderaadt
2121.1Sderaadtfile	kludge_for_in_proto.c		hy needs-flag
2131.2Scgd
2141.2Scgdfile	arch/sparc/sparc/db_interface.c	ddb
2151.2Scgdfile	arch/sparc/sparc/db_trace.c	ddb
2161.2Scgdfile	arch/sparc/sparc/db_disasm.c	ddb
2171.12Spk
2181.12Spk#
2191.12Spk# Raster Console
2201.12Spk#
2211.12Spkinclude "../../../dev/rcons/files.rcons"
2221.2Scgd
2231.2Scgd#
2241.2Scgd# Compatibility modules
2251.2Scgd#
2261.2Scgd
2271.2Scgd# SVR4 Binary Compatibility (COMPAT_SVR4)
2281.2Scgdinclude "../../../compat/svr4/files.svr4"
2291.2Scgdfile	arch/sparc/sparc/svr4_machdep.c	compat_svr4
2301.3Schristosfile	arch/sparc/sparc/sunos_machdep.c compat_sunos
2311.2Scgd
2321.2Scgd# SunOS Binary Compatibility (COMPAT_SUNOS)
2331.2Scgdinclude "../../../compat/sunos/files.sunos"
2341.15Spk
2351.15Spk# Miscellaneous
2361.15Spkfile	netns/ns_cksum.c		ns
2371.24Spk
2381.26Spkpseudo-device rd
2391.26Spkmajor	{rd = 5}
2401.27Spkfile	arch/sparc/dev/md_root.c	ramdisk_hooks
2411.26Spkfile	dev/ramdisk.c			rd needs-flag
242