files.sparc revision 1.43
11.43Sbouyer#	$NetBSD: files.sparc,v 1.43 1997/08/27 11:25:59 bouyer 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.40Spkmaxusers 2 8 1024
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.39Spkdevice vme {}
221.39Spkattach vme at iommu
231.39Spk
241.16Sthorpejdevice vmel { [addr = -1], [level = -1], [vect = -1] }
251.39Spkattach vmel at mainbus, vme
261.16Sthorpejdevice vmes { [addr = -1], [level = -1], [vect = -1] }
271.39Spkattach vmes at mainbus, vme
281.39Spkfile	arch/sparc/dev/obio.c		obio | vmel | vmes | vme
291.1Sderaadt
301.16Sthorpejdevice auxreg
311.18Spkattach auxreg at mainbus, obio
321.2Scgdfile	arch/sparc/sparc/auxreg.c
331.1Sderaadt
341.16Sthorpejdevice clock
351.16Sthorpejattach clock at mainbus, obio
361.20Sthorpej
371.16Sthorpejdevice oclock
381.16Sthorpejattach oclock at obio
391.20Sthorpej
401.16Sthorpejdevice timer
411.16Sthorpejattach timer at mainbus, obio
421.20Sthorpej
431.16Sthorpejdevice eeprom
441.16Sthorpejattach eeprom at obio
451.2Scgdfile	arch/sparc/sparc/clock.c
461.20Sthorpej
471.18Spkdevice power
481.18Spkattach power at obio
491.20Sthorpejfile	arch/sparc/dev/power.c			power
501.1Sderaadt
511.16Sthorpejdevice cpu
521.16Sthorpejattach cpu at mainbus
531.2Scgdfile	arch/sparc/sparc/cpu.c
541.1Sderaadt
551.16Sthorpejdevice memreg
561.16Sthorpejattach memreg at mainbus, obio
571.2Scgdfile	arch/sparc/sparc/memreg.c
581.1Sderaadt
591.16Sthorpejdevice zs
601.16Sthorpejattach zs at mainbus, obio
611.2Scgdfile	arch/sparc/dev/zs.c			zs needs-count
621.2Scgd
631.16Sthorpejdevice fdc {}
641.18Spkattach fdc at mainbus, obio
651.16Sthorpejdevice fd: disk
661.16Sthorpejattach fd at fdc
671.19Spkfile	arch/sparc/dev/fd.c			fdc | fd needs-flag
681.19Spkfile	arch/sparc/sparc/bsd_fdintr.s		fdc
691.1Sderaadt
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.43Sbouyerinclude "../../../dev/scsipi/files.scsipi"
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.32Spkdevice lebuffer {}
901.32Spkattach lebuffer at sbus
911.32Spkfile	arch/sparc/dev/lebuffer.c	lebuffer
921.2Scgd
931.35Sthorpejdevice esp: scsi, ncr53c9x
941.23Spkattach esp at sbus, dma, obio
951.23Spkfile	arch/sparc/dev/esp.c		esp
961.1Sderaadt
971.42Saugustssdevice audioamd: audio
981.41Saugustssattach audioamd at mainbus, obio, sbus
991.30Spkfile	arch/sparc/dev/amd7930.c		audio
1001.30Spkfile	arch/sparc/sparc/amd7930intr.s		audio
1011.30Spk
1021.16Sthorpej# Brooktree DAC attribute
1031.16Sthorpejdefine bt_dac
1041.16Sthorpej
1051.16Sthorpejdevice bwtwo
1061.16Sthorpejattach bwtwo at sbus, obio, vmes, vmel
1071.2Scgdfile	arch/sparc/dev/bwtwo.c		bwtwo needs-flag
1081.1Sderaadt
1091.16Sthorpejdevice cgtwo
1101.16Sthorpejattach cgtwo at sbus, obio, vmes
1111.10Spkfile	arch/sparc/dev/cgtwo.c		cgtwo needs-flag
1121.10Spk
1131.16Sthorpejdevice cgthree: bt_dac
1141.16Sthorpejattach cgthree at sbus
1151.2Scgdfile	arch/sparc/dev/cgthree.c	cgthree needs-flag
1161.1Sderaadt
1171.16Sthorpejdevice cgfour: bt_dac
1181.16Sthorpejattach cgfour at obio
1191.14Sthorpejfile	arch/sparc/dev/cgfour.c		cgfour needs-flag
1201.14Sthorpej
1211.16Sthorpejdevice cgsix: bt_dac
1221.16Sthorpejattach cgsix at sbus, obio
1231.2Scgdfile	arch/sparc/dev/cgsix.c		cgsix needs-flag
1241.1Sderaadt
1251.16Sthorpejdevice cgeight: bt_dac
1261.16Sthorpejattach cgeight at obio
1271.14Sthorpejfile	arch/sparc/dev/cgeight.c	cgeight needs-flag
1281.25Spk
1291.25Spkdevice tcx: bt_dac
1301.25Spkattach tcx at sbus
1311.25Spkfile	arch/sparc/dev/tcx.c		tcx needs-flag
1321.29Sabrown
1331.29Sabrowndevice cgfourteen
1341.29Sabrownattach cgfourteen at obio
1351.29Sabrownfile	arch/sparc/dev/cgfourteen.c	cgfourteen needs-flag
1361.14Sthorpej
1371.16Sthorpejfile	arch/sparc/dev/bt_subr.c	bt_dac
1381.1Sderaadt
1391.21Sthorpej# device definition in sys/conf/files
1401.32Spkattach le at sbus, ledma, lebuffer, obio
1411.2Scgdfile	arch/sparc/dev/if_le.c		le
1421.2Scgd
1431.38Sisdevice ie: ifnet, ether, arp
1441.16Sthorpejattach ie at obio, vmes, vmel
1451.2Scgdfile	arch/sparc/dev/if_ie.c		ie
1461.2Scgd
1471.16Sthorpejdevice xdc {drive = -1}
1481.16Sthorpejattach xdc at vmel
1491.16Sthorpejdevice xd: disk
1501.16Sthorpejattach xd at xdc
1511.6Spkfile	arch/sparc/dev/xd.c		xd needs-flag
1521.6Spkmajor	{xd = 10}
1531.11Schuck
1541.16Sthorpejdevice xyc {drive = -1}
1551.16Sthorpejattach xyc at vmes
1561.16Sthorpejdevice xy: disk
1571.16Sthorpejattach xy at xyc
1581.11Schuckfile	arch/sparc/dev/xy.c		xy needs-flag
1591.11Schuckmajor	{xy = 3}
1601.7Spk
1611.16Sthorpejdevice si: scsi, ncr5380sbc
1621.16Sthorpejattach si at vmes
1631.16Sthorpejdevice sw: scsi, ncr5380sbc
1641.16Sthorpejattach sw at obio
1651.17Scgdfile	arch/sparc/dev/si.c		si | sw
1661.28Schuck
1671.31Sthorpej# Efficient Networks, Inc. ATM interface
1681.31Sthorpej# device declaration in sys/conf/files
1691.28Schuckattach  en at sbus with en_sbus
1701.31Sthorpejfile    arch/sparc/dev/if_en_sbus.c     en_sbus
1711.36Scgd
1721.36Scgd# Qlogic ISP 10x0 (Sbus) family
1731.36Scgd# device declaration in sys/conf/files
1741.36Scgdattach isp at sbus with isp_sbus
1751.36Scgdfile	arch/sparc/dev/isp_sbus.c	isp_sbus
1761.2Scgd
1771.2Scgdpseudo-device	kbd
1781.2Scgd
1791.24Spk#
1801.24Spk# Generic Sun stuff
1811.24Spk#
1821.24Spkinclude "../../../dev/sun/files.sun"
1831.24Spk
1841.2Scgdfile	arch/sparc/dev/cons.c
1851.2Scgdfile	arch/sparc/dev/fb.c
1861.2Scgdfile	arch/sparc/dev/ms.c
1871.2Scgdfile	arch/sparc/dev/kbd.c		kbd
1881.2Scgd
1891.2Scgdfile	arch/sparc/fpu/fpu.c
1901.2Scgdfile	arch/sparc/fpu/fpu_add.c
1911.2Scgdfile	arch/sparc/fpu/fpu_compare.c
1921.2Scgdfile	arch/sparc/fpu/fpu_div.c
1931.2Scgdfile	arch/sparc/fpu/fpu_explode.c
1941.2Scgdfile	arch/sparc/fpu/fpu_implode.c
1951.2Scgdfile	arch/sparc/fpu/fpu_mul.c
1961.2Scgdfile	arch/sparc/fpu/fpu_sqrt.c
1971.2Scgdfile	arch/sparc/fpu/fpu_subr.c
1981.1Sderaadt
1991.1Sderaadt# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
2001.1Sderaadt# identified the exact problem yet.  NOOPT_C suffices for now.
2011.2Scgdfile	arch/sparc/sparc/autoconf.c
2021.2Scgdfile	arch/sparc/sparc/cache.c
2031.2Scgdfile	arch/sparc/sparc/conf.c
2041.37Schristosfile	arch/sparc/sparc/emul.c
2051.2Scgdfile	arch/sparc/sparc/in_cksum.c
2061.2Scgdfile	arch/sparc/sparc/intr.c
2071.2Scgdfile	arch/sparc/sparc/kgdb_stub.c
2081.1Sderaadt# sparc/sparc/locore.s is handled specially in the makefile,
2091.1Sderaadt# because it must come first in the "ld" command line.
2101.2Scgdfile	arch/sparc/sparc/locore2.c
2111.2Scgdfile	arch/sparc/sparc/machdep.c
2121.2Scgdfile	arch/sparc/sparc/process_machdep.c
2131.2Scgdfile	arch/sparc/sparc/mem.c
2141.2Scgdfile	arch/sparc/sparc/openprom.c
2151.2Scgdfile	arch/sparc/sparc/pmap.c
2161.1Sderaadt# the following overrides the generic "sys_process.c"
2171.2Scgd# commented out by deraadt
2181.2Scgd#file	arch/sparc/sparc/sys_process.c
2191.2Scgdfile	arch/sparc/sparc/sys_machdep.c
2201.2Scgdfile	arch/sparc/sparc/trap.c
2211.2Scgdfile	arch/sparc/sparc/vm_machdep.c
2221.2Scgdfile	arch/sparc/sparc/disksubr.c
2231.1Sderaadt
2241.1Sderaadtfile	kludge_for_in_proto.c		hy needs-flag
2251.2Scgd
2261.2Scgdfile	arch/sparc/sparc/db_interface.c	ddb
2271.2Scgdfile	arch/sparc/sparc/db_trace.c	ddb
2281.2Scgdfile	arch/sparc/sparc/db_disasm.c	ddb
2291.12Spk
2301.12Spk#
2311.12Spk# Raster Console
2321.12Spk#
2331.12Spkinclude "../../../dev/rcons/files.rcons"
2341.2Scgd
2351.2Scgd#
2361.2Scgd# Compatibility modules
2371.2Scgd#
2381.2Scgd
2391.2Scgd# SVR4 Binary Compatibility (COMPAT_SVR4)
2401.2Scgdinclude "../../../compat/svr4/files.svr4"
2411.2Scgdfile	arch/sparc/sparc/svr4_machdep.c	compat_svr4
2421.3Schristosfile	arch/sparc/sparc/sunos_machdep.c compat_sunos
2431.2Scgd
2441.2Scgd# SunOS Binary Compatibility (COMPAT_SUNOS)
2451.2Scgdinclude "../../../compat/sunos/files.sunos"
2461.15Spk
2471.15Spk# Miscellaneous
2481.15Spkfile	netns/ns_cksum.c		ns
2491.24Spk
2501.33Spkmajor	{md = 5}
2511.33Spkfile	arch/sparc/dev/md_root.c	memory_disk_hooks
252