files.sparc revision 1.45
11.45Sgwr#	$NetBSD: files.sparc,v 1.45 1997/10/17 23:59:57 gwr 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.45Sgwrdevice zs {channel = -1}
601.16Sthorpejattach zs at mainbus, obio
611.2Scgdfile	arch/sparc/dev/zs.c			zs needs-count
621.45Sgwrfile	dev/ic/z8530sc.c			zs
631.2Scgd
641.16Sthorpejdevice fdc {}
651.18Spkattach fdc at mainbus, obio
661.16Sthorpejdevice fd: disk
671.16Sthorpejattach fd at fdc
681.19Spkfile	arch/sparc/dev/fd.c			fdc | fd needs-flag
691.19Spkfile	arch/sparc/sparc/bsd_fdintr.s		fdc
701.1Sderaadt
711.16Sthorpejdevice sbus { slot = -1, offset = -1 }
721.18Spkattach sbus at mainbus, iommu
731.20Sthorpejfile	arch/sparc/dev/sbus.c			sbus
741.18Spk
751.45Sgwr#
761.45Sgwr# Console (zs) related stuff
771.45Sgwr#
781.45Sgwr
791.45Sgwrdevice zstty: tty
801.45Sgwrattach zstty at zs
811.45Sgwrfile dev/ic/z8530tty.c			zstty needs-flag
821.45Sgwrfile arch/sparc/dev/zs_kgdb.c		kgdb
831.45Sgwr
841.45Sgwrdefine zsevent
851.45Sgwrfile dev/sun/event.c			zsevent
861.45Sgwr
871.45Sgwrdevice kbd: zsevent
881.45Sgwrattach kbd at zs
891.45Sgwrfile dev/sun/kbd.c			kbd needs-flag
901.45Sgwrfile dev/sun/kbd_tables.c 		kbd
911.45Sgwrfile arch/sparc/dev/kd.c 		kbd
921.45Sgwr
931.45Sgwrdevice ms: zsevent
941.45Sgwrattach ms at zs
951.45Sgwrfile dev/sun/ms.c			ms needs-flag
961.45Sgwr
971.2Scgd
981.5Spk#
991.5Spk# Machine-independent SCSI drivers
1001.5Spk#
1011.43Sbouyerinclude "../../../dev/scsipi/files.scsipi"
1021.1Sderaadt
1031.2Scgdmajor { sd = 7 }
1041.2Scgdmajor { vnd = 8 }
1051.2Scgdmajor { cd = 18 }
1061.2Scgd
1071.22Spkdevice dma {}
1081.16Sthorpejattach dma at sbus, obio
1091.22Spkdevice ledma {}
1101.16Sthorpejattach ledma at sbus
1111.23Spkfile	arch/sparc/dev/dma.c		dma | ledma
1121.32Spkdevice lebuffer {}
1131.32Spkattach lebuffer at sbus
1141.32Spkfile	arch/sparc/dev/lebuffer.c	lebuffer
1151.2Scgd
1161.35Sthorpejdevice esp: scsi, ncr53c9x
1171.23Spkattach esp at sbus, dma, obio
1181.23Spkfile	arch/sparc/dev/esp.c		esp
1191.1Sderaadt
1201.42Saugustssdevice audioamd: audio
1211.41Saugustssattach audioamd at mainbus, obio, sbus
1221.30Spkfile	arch/sparc/dev/amd7930.c		audio
1231.30Spkfile	arch/sparc/sparc/amd7930intr.s		audio
1241.30Spk
1251.16Sthorpej# Brooktree DAC attribute
1261.16Sthorpejdefine bt_dac
1271.16Sthorpej
1281.16Sthorpejdevice bwtwo
1291.16Sthorpejattach bwtwo at sbus, obio, vmes, vmel
1301.2Scgdfile	arch/sparc/dev/bwtwo.c		bwtwo needs-flag
1311.1Sderaadt
1321.16Sthorpejdevice cgtwo
1331.16Sthorpejattach cgtwo at sbus, obio, vmes
1341.10Spkfile	arch/sparc/dev/cgtwo.c		cgtwo needs-flag
1351.10Spk
1361.16Sthorpejdevice cgthree: bt_dac
1371.16Sthorpejattach cgthree at sbus
1381.2Scgdfile	arch/sparc/dev/cgthree.c	cgthree needs-flag
1391.1Sderaadt
1401.16Sthorpejdevice cgfour: bt_dac
1411.16Sthorpejattach cgfour at obio
1421.14Sthorpejfile	arch/sparc/dev/cgfour.c		cgfour needs-flag
1431.14Sthorpej
1441.16Sthorpejdevice cgsix: bt_dac
1451.16Sthorpejattach cgsix at sbus, obio
1461.2Scgdfile	arch/sparc/dev/cgsix.c		cgsix needs-flag
1471.1Sderaadt
1481.16Sthorpejdevice cgeight: bt_dac
1491.16Sthorpejattach cgeight at obio
1501.14Sthorpejfile	arch/sparc/dev/cgeight.c	cgeight needs-flag
1511.25Spk
1521.25Spkdevice tcx: bt_dac
1531.25Spkattach tcx at sbus
1541.25Spkfile	arch/sparc/dev/tcx.c		tcx needs-flag
1551.29Sabrown
1561.29Sabrowndevice cgfourteen
1571.29Sabrownattach cgfourteen at obio
1581.29Sabrownfile	arch/sparc/dev/cgfourteen.c	cgfourteen needs-flag
1591.14Sthorpej
1601.16Sthorpejfile	arch/sparc/dev/bt_subr.c	bt_dac
1611.1Sderaadt
1621.21Sthorpej# device definition in sys/conf/files
1631.32Spkattach le at sbus, ledma, lebuffer, obio
1641.2Scgdfile	arch/sparc/dev/if_le.c		le
1651.2Scgd
1661.38Sisdevice ie: ifnet, ether, arp
1671.16Sthorpejattach ie at obio, vmes, vmel
1681.2Scgdfile	arch/sparc/dev/if_ie.c		ie
1691.2Scgd
1701.16Sthorpejdevice xdc {drive = -1}
1711.16Sthorpejattach xdc at vmel
1721.16Sthorpejdevice xd: disk
1731.16Sthorpejattach xd at xdc
1741.6Spkfile	arch/sparc/dev/xd.c		xd needs-flag
1751.6Spkmajor	{xd = 10}
1761.11Schuck
1771.16Sthorpejdevice xyc {drive = -1}
1781.16Sthorpejattach xyc at vmes
1791.16Sthorpejdevice xy: disk
1801.16Sthorpejattach xy at xyc
1811.11Schuckfile	arch/sparc/dev/xy.c		xy needs-flag
1821.11Schuckmajor	{xy = 3}
1831.7Spk
1841.16Sthorpejdevice si: scsi, ncr5380sbc
1851.16Sthorpejattach si at vmes
1861.16Sthorpejdevice sw: scsi, ncr5380sbc
1871.16Sthorpejattach sw at obio
1881.17Scgdfile	arch/sparc/dev/si.c		si | sw
1891.28Schuck
1901.31Sthorpej# Efficient Networks, Inc. ATM interface
1911.31Sthorpej# device declaration in sys/conf/files
1921.28Schuckattach  en at sbus with en_sbus
1931.31Sthorpejfile    arch/sparc/dev/if_en_sbus.c     en_sbus
1941.36Scgd
1951.36Scgd# Qlogic ISP 10x0 (Sbus) family
1961.36Scgd# device declaration in sys/conf/files
1971.36Scgdattach isp at sbus with isp_sbus
1981.36Scgdfile	arch/sparc/dev/isp_sbus.c	isp_sbus
1991.2Scgd
2001.24Spk#
2011.24Spk# Generic Sun stuff
2021.24Spk#
2031.24Spk
2041.45Sgwrfile	dev/cons.c
2051.2Scgdfile	arch/sparc/dev/fb.c
2061.2Scgd
2071.2Scgdfile	arch/sparc/fpu/fpu.c
2081.2Scgdfile	arch/sparc/fpu/fpu_add.c
2091.2Scgdfile	arch/sparc/fpu/fpu_compare.c
2101.2Scgdfile	arch/sparc/fpu/fpu_div.c
2111.2Scgdfile	arch/sparc/fpu/fpu_explode.c
2121.2Scgdfile	arch/sparc/fpu/fpu_implode.c
2131.2Scgdfile	arch/sparc/fpu/fpu_mul.c
2141.2Scgdfile	arch/sparc/fpu/fpu_sqrt.c
2151.2Scgdfile	arch/sparc/fpu/fpu_subr.c
2161.1Sderaadt
2171.1Sderaadt# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
2181.1Sderaadt# identified the exact problem yet.  NOOPT_C suffices for now.
2191.2Scgdfile	arch/sparc/sparc/autoconf.c
2201.2Scgdfile	arch/sparc/sparc/cache.c
2211.2Scgdfile	arch/sparc/sparc/conf.c
2221.37Schristosfile	arch/sparc/sparc/emul.c
2231.2Scgdfile	arch/sparc/sparc/in_cksum.c
2241.2Scgdfile	arch/sparc/sparc/intr.c
2251.44Spkfile	arch/sparc/sparc/kgdb_machdep.c	kgdb
2261.1Sderaadt# sparc/sparc/locore.s is handled specially in the makefile,
2271.1Sderaadt# because it must come first in the "ld" command line.
2281.2Scgdfile	arch/sparc/sparc/locore2.c
2291.2Scgdfile	arch/sparc/sparc/machdep.c
2301.2Scgdfile	arch/sparc/sparc/process_machdep.c
2311.2Scgdfile	arch/sparc/sparc/mem.c
2321.2Scgdfile	arch/sparc/sparc/openprom.c
2331.2Scgdfile	arch/sparc/sparc/pmap.c
2341.1Sderaadt# the following overrides the generic "sys_process.c"
2351.2Scgd# commented out by deraadt
2361.2Scgd#file	arch/sparc/sparc/sys_process.c
2371.2Scgdfile	arch/sparc/sparc/sys_machdep.c
2381.2Scgdfile	arch/sparc/sparc/trap.c
2391.2Scgdfile	arch/sparc/sparc/vm_machdep.c
2401.2Scgdfile	arch/sparc/sparc/disksubr.c
2411.1Sderaadt
2421.1Sderaadtfile	kludge_for_in_proto.c		hy needs-flag
2431.2Scgd
2441.44Spkfile	arch/sparc/sparc/db_interface.c	ddb | kgdb
2451.2Scgdfile	arch/sparc/sparc/db_trace.c	ddb
2461.2Scgdfile	arch/sparc/sparc/db_disasm.c	ddb
2471.12Spk
2481.12Spk#
2491.12Spk# Raster Console
2501.12Spk#
2511.12Spkinclude "../../../dev/rcons/files.rcons"
2521.2Scgd
2531.2Scgd#
2541.2Scgd# Compatibility modules
2551.2Scgd#
2561.2Scgd
2571.2Scgd# SVR4 Binary Compatibility (COMPAT_SVR4)
2581.2Scgdinclude "../../../compat/svr4/files.svr4"
2591.2Scgdfile	arch/sparc/sparc/svr4_machdep.c	compat_svr4
2601.3Schristosfile	arch/sparc/sparc/sunos_machdep.c compat_sunos
2611.2Scgd
2621.2Scgd# SunOS Binary Compatibility (COMPAT_SUNOS)
2631.2Scgdinclude "../../../compat/sunos/files.sunos"
2641.15Spk
2651.15Spk# Miscellaneous
2661.15Spkfile	netns/ns_cksum.c		ns
2671.24Spk
2681.33Spkmajor	{md = 5}
2691.33Spkfile	arch/sparc/dev/md_root.c	memory_disk_hooks
270