files.sparc revision 1.104
11.104Sdarrenr#	$NetBSD: files.sparc,v 1.104 2001/12/04 00:05:04 darrenr Exp $
21.2Scgd
31.2Scgd# @(#)files.sparc	8.1 (Berkeley) 7/19/93
41.1Sderaadt# sparc-specific configuration info
51.104Sdarrenr
61.104Sdarrenrdefopt	opt_sparc_arch.h	SUN4
71.104Sdarrenrdefopt	opt_sparc_arch.h	SUN4_MMU3L
81.104Sdarrenrdefopt	opt_sparc_arch.h	SUN4C
91.104Sdarrenrdefopt	opt_sparc_arch.h	SUN4M
101.104Sdarrenrdefopt	opt_sparc_arch.h	SUN4U
111.1Sderaadt
121.32Spk# maxpartitions must be first item in files.${ARCH}
131.2Scgdmaxpartitions 8
141.2Scgd
151.40Spkmaxusers 2 8 1024
161.1Sderaadt
171.49Sthorpejdevice mainbus {}
181.16Sthorpejattach mainbus at root
191.2Scgd
201.49Sthorpejdevice iommu {}
211.32Spkattach iommu at mainbus
221.32Spkfile	arch/sparc/sparc/iommu.c		iommu
231.32Spk
241.50Spkdevice obio { [addr = -1], [level = -1] }
251.50Spkattach obio at mainbus
261.50Spk
271.72Skleinkinclude "dev/vme/files.vme"
281.80Sdrochnerdevice sparcvme: vmebus
291.78Sdrochnerattach sparcvme at mainbus with vme_mainbus
301.78Sdrochnerattach sparcvme at iommu with vme_iommu
311.39Spk
321.48Spkfile	arch/sparc/dev/obio.c		obio
331.78Sdrochnerfile	arch/sparc/dev/vme_machdep.c	sparcvme
341.1Sderaadt
351.49Sthorpejdevice auxreg
361.50Spkattach auxreg at mainbus with auxreg_mainbus
371.50Spkattach auxreg at obio with auxreg_obio
381.2Scgdfile	arch/sparc/sparc/auxreg.c
391.99Skleink
401.103Slukemdefflag	BLINK
411.88Sjdc
421.88Sjdcdevice auxiotwo
431.88Sjdcattach auxiotwo at obio with auxiotwo_obio
441.88Sjdcfile	arch/sparc/sparc/auxiotwo.c
451.1Sderaadt
461.98Spkdevice clock: mk48txx
471.50Spkattach clock at mainbus with clock_mainbus
481.50Spkattach clock at obio with clock_obio
491.20Sthorpej
501.98Spkdevice oclock: intersil7170
511.16Sthorpejattach oclock at obio
521.20Sthorpej
531.49Sthorpejdevice timer
541.50Spkattach timer at mainbus with timer_mainbus
551.50Spkattach timer at obio with timer_obio
561.20Sthorpej
571.49Sthorpejdevice eeprom
581.16Sthorpejattach eeprom at obio
591.98Spk
601.2Scgdfile	arch/sparc/sparc/clock.c
611.98Spkfile	dev/clock_subr.c
621.20Sthorpej
631.49Sthorpejdevice power
641.18Spkattach power at obio
651.54Sthorpejfile	arch/sparc/dev/power.c			power	needs-flag
661.1Sderaadt
671.49Sthorpejdevice cpu
681.16Sthorpejattach cpu at mainbus
691.2Scgdfile	arch/sparc/sparc/cpu.c
701.1Sderaadt
711.49Sthorpejdevice memreg
721.50Spkattach memreg at mainbus with memreg_mainbus
731.50Spkattach memreg at obio with memreg_obio
741.2Scgdfile	arch/sparc/sparc/memreg.c
751.66Spk
761.66Spkdevice eccmemctl
771.66Spkattach eccmemctl at mainbus
781.66Spkfile	arch/sparc/sparc/memecc.c		eccmemctl
791.1Sderaadt
801.83Smattdevice tctrl
811.83Smattattach tctrl at obio
821.83Smattfile	arch/sparc/dev/tctrl.c			tctrl needs-flag
831.83Smatt
841.95Spkinclude "dev/sun/files.sun"
851.95Spk
861.49Sthorpejdevice zs {channel = -1}
871.50Spkattach zs at mainbus with zs_mainbus
881.50Spkattach zs at obio with zs_obio
891.2Scgdfile	arch/sparc/dev/zs.c			zs needs-count
901.45Sgwrfile	dev/ic/z8530sc.c			zs
911.2Scgd
921.49Sthorpejdevice fdc {}
931.50Spkattach fdc at mainbus with fdc_mainbus
941.50Spkattach fdc at obio with fdc_obio
951.49Sthorpejdevice fd: disk
961.16Sthorpejattach fd at fdc
971.19Spkfile	arch/sparc/dev/fd.c			fdc | fd needs-flag
981.19Spkfile	arch/sparc/sparc/bsd_fdintr.s		fdc
991.1Sderaadt
1001.72Skleinkinclude "dev/sbus/files.sbus"
1011.50Spkattach sbus at mainbus with sbus_mainbus
1021.50Spkattach sbus at iommu with sbus_iommu
1031.87Spkfile	arch/sparc/dev/sbus.c			sbus needs-flag
1041.83Smatt
1051.83Smattdevice tpcic: pcmciabus
1061.83Smattattach tpcic at sbus
1071.83Smattfile	arch/sparc/dev/ts102.c			tpcic
1081.69Spk
1091.69Spk# network devices MII bus
1101.72Skleinkinclude "dev/mii/files.mii"
1111.69Spk
1121.69Spk# PCMCIA bus
1131.72Skleinkinclude "dev/pcmcia/files.pcmcia"
1141.72Skleinkinclude "dev/ata/files.ata"
1151.18Spk
1161.45Sgwr#
1171.45Sgwr# Console (zs) related stuff
1181.45Sgwr#
1191.45Sgwr
1201.49Sthorpejdevice zstty: tty
1211.45Sgwrattach zstty at zs
1221.45Sgwrfile dev/ic/z8530tty.c			zstty needs-flag
1231.45Sgwrfile arch/sparc/dev/zs_kgdb.c		kgdb
1241.45Sgwr
1251.45Sgwrdefine zsevent
1261.95Spk#file dev/sun/event.c			zsevent
1271.45Sgwr
1281.49Sthorpejdevice kbd: zsevent
1291.75Smrgattach kbd at zs with kbd_zs
1301.75Smrgfile dev/sun/kbd_zs.c			kbd_zs
1311.45Sgwrfile dev/sun/kbd.c			kbd needs-flag
1321.45Sgwrfile dev/sun/kbd_tables.c 		kbd
1331.97Schristosfile dev/sun/sunkbd.c			kbd
1341.90Spkfile arch/sparc/dev/kd.c
1351.45Sgwr
1361.49Sthorpejdevice ms: zsevent
1371.75Smrgattach ms at zs with ms_zs
1381.75Smrgfile dev/sun/ms_zs.c			ms_zs
1391.45Sgwrfile dev/sun/ms.c			ms needs-flag
1401.97Schristosfile dev/sun/sunms.c			ms
1411.2Scgd
1421.5Spk#
1431.5Spk# Machine-independent SCSI drivers
1441.5Spk#
1451.72Skleinkinclude "dev/scsipi/files.scsipi"
1461.1Sderaadt
1471.64Spkmajor	{ cd = 18 }
1481.64Spkmajor	{ fd = 16 }
1491.64Spkmajor	{ md = 5 }
1501.64Spkmajor	{ sd = 7 }
1511.64Spkmajor	{ xd = 10 }
1521.64Spkmajor	{ xy = 3 }
1531.89Soster
1541.89Soster# RAIDframe
1551.89Sostermajor 	{ raid = 25 }
1561.2Scgd
1571.50Spkattach dma at obio with dma_obio
1581.63Spkfile	arch/sparc/dev/dma_obio.c	dma_obio
1591.63Spk
1601.50Spkattach esp at obio with esp_obio
1611.63Spkfile	arch/sparc/dev/esp_obio.c	esp_obio
1621.1Sderaadt
1631.91Saugustssdevice	audioamd: audio, am7930
1641.91Saugustssattach	audioamd at mainbus with audioamd_mainbus
1651.91Saugustssattach	audioamd at sbus with audioamd_sbus
1661.91Saugustssfile	arch/sparc/dev/audioamd.c		audioamd
1671.92Saugustssfile	arch/sparc/sparc/amd7930intr.s		audioamd
1681.30Spk
1691.50Spkattach bwtwo at obio with bwtwo_obio
1701.84Schristosfile	arch/sparc/dev/bwtwo_obio.c	bwtwo_obio & obio
1711.1Sderaadt
1721.73Saddevice cgtwo: fb, rasops8
1731.50Spkattach cgtwo at vme
1741.10Spkfile	arch/sparc/dev/cgtwo.c		cgtwo needs-flag
1751.10Spk
1761.50Spkattach cgthree at obio with cgthree_obio
1771.95Spkfile	arch/sparc/dev/cgthree_obio.c	cgthree_obio & obio
1781.1Sderaadt
1791.95Spkdevice cgfour: bt_dac, fb, rasops8, pfour
1801.16Sthorpejattach cgfour at obio
1811.14Sthorpejfile	arch/sparc/dev/cgfour.c		cgfour needs-flag
1821.14Sthorpej
1831.50Spkattach cgsix at obio with cgsix_obio
1841.67Spkfile	arch/sparc/dev/cgsix_obio.c	cgsix_obio & obio
1851.1Sderaadt
1861.95Spkdevice cgeight: bt_dac, fb, rasops24, pfour
1871.16Sthorpejattach cgeight at obio
1881.14Sthorpejfile	arch/sparc/dev/cgeight.c	cgeight needs-flag
1891.25Spk
1901.73Saddevice cgfourteen: fb, rasops32
1911.29Sabrownattach cgfourteen at obio
1921.29Sabrownfile	arch/sparc/dev/cgfourteen.c	cgfourteen needs-flag
1931.1Sderaadt
1941.21Sthorpej# device definition in sys/conf/files
1951.57Sdrochnerattach le at obio with le_obio: le24
1961.60Spkfile	arch/sparc/dev/if_le_obio.c	le_obio
1971.2Scgd
1981.48Spkattach ie at obio with ie_obio
1991.48Spkfile	arch/sparc/dev/if_ie_obio.c	ie_obio
2001.81Smatt
2011.81Smattattach com at obio with com_obio
2021.81Smattfile	arch/sparc/dev/com_obio.c	com_obio
2031.93Spk
2041.49Sthorpejdevice sw: scsi, ncr5380sbc
2051.16Sthorpejattach sw at obio
2061.93Spkfile	arch/sparc/dev/sw.c		sw
2071.2Scgd
2081.24Spk#
2091.24Spk# Generic Sun stuff
2101.24Spk#
2111.24Spk
2121.45Sgwrfile	dev/cons.c
2131.2Scgd
2141.2Scgdfile	arch/sparc/fpu/fpu.c
2151.2Scgdfile	arch/sparc/fpu/fpu_add.c
2161.2Scgdfile	arch/sparc/fpu/fpu_compare.c
2171.2Scgdfile	arch/sparc/fpu/fpu_div.c
2181.2Scgdfile	arch/sparc/fpu/fpu_explode.c
2191.2Scgdfile	arch/sparc/fpu/fpu_implode.c
2201.2Scgdfile	arch/sparc/fpu/fpu_mul.c
2211.2Scgdfile	arch/sparc/fpu/fpu_sqrt.c
2221.2Scgdfile	arch/sparc/fpu/fpu_subr.c
2231.1Sderaadt
2241.2Scgdfile	arch/sparc/sparc/autoconf.c
2251.2Scgdfile	arch/sparc/sparc/cache.c
2261.2Scgdfile	arch/sparc/sparc/conf.c
2271.37Schristosfile	arch/sparc/sparc/emul.c
2281.2Scgdfile	arch/sparc/sparc/in_cksum.c
2291.2Scgdfile	arch/sparc/sparc/intr.c
2301.44Spkfile	arch/sparc/sparc/kgdb_machdep.c	kgdb
2311.1Sderaadt# sparc/sparc/locore.s is handled specially in the makefile,
2321.1Sderaadt# because it must come first in the "ld" command line.
2331.2Scgdfile	arch/sparc/sparc/locore2.c
2341.2Scgdfile	arch/sparc/sparc/machdep.c
2351.2Scgdfile	arch/sparc/sparc/process_machdep.c
2361.2Scgdfile	arch/sparc/sparc/mem.c
2371.70Spkfile	arch/sparc/sparc/promlib.c
2381.70Spkfile	arch/sparc/sparc/openfirm.c
2391.2Scgdfile	arch/sparc/sparc/openprom.c
2401.100Sfvdlfile	arch/sparc/sparc/procfs_machdep.c	procfs
2411.2Scgdfile	arch/sparc/sparc/pmap.c
2421.1Sderaadt# the following overrides the generic "sys_process.c"
2431.2Scgd# commented out by deraadt
2441.2Scgd#file	arch/sparc/sparc/sys_process.c
2451.2Scgdfile	arch/sparc/sparc/sys_machdep.c
2461.2Scgdfile	arch/sparc/sparc/trap.c
2471.2Scgdfile	arch/sparc/sparc/vm_machdep.c
2481.2Scgdfile	arch/sparc/sparc/disksubr.c
2491.2Scgd
2501.44Spkfile	arch/sparc/sparc/db_interface.c	ddb | kgdb
2511.2Scgdfile	arch/sparc/sparc/db_trace.c	ddb
2521.2Scgdfile	arch/sparc/sparc/db_disasm.c	ddb
2531.12Spk
2541.12Spk#
2551.12Spk# Raster Console
2561.12Spk#
2571.72Skleinkinclude "dev/rcons/files.rcons"
2581.72Skleinkinclude "dev/wsfont/files.wsfont"
2591.2Scgd
2601.2Scgd#
2611.2Scgd# Compatibility modules
2621.2Scgd#
2631.2Scgd
2641.2Scgd# SVR4 Binary Compatibility (COMPAT_SVR4)
2651.72Skleinkinclude "compat/svr4/files.svr4"
2661.102Smrgfile	arch/sparc/sparc/svr4_sigcode.s	compat_svr4
2671.2Scgdfile	arch/sparc/sparc/svr4_machdep.c	compat_svr4
2681.2Scgd
2691.2Scgd# SunOS Binary Compatibility (COMPAT_SUNOS)
2701.72Skleinkinclude "compat/sunos/files.sunos"
2711.102Smrgfile	arch/sparc/sparc/sunos_sigcode.s compat_sunos
2721.65Spkfile	arch/sparc/sparc/sunos_machdep.c compat_sunos
2731.74Smrg
2741.74Smrg# NetBSD a.out Binary Compatibility (COMPAT_AOUT)
2751.74Smrginclude "compat/aout/files.aout"
2761.65Spk
2771.65Spk# Binary compatibility with previous NetBSD releases (COMPAT_XX)
2781.77Spk# Note: SunOS compatibility also uses some of `compat_13_machdep.c'
2791.77Spkfile	arch/sparc/sparc/compat_13_machdep.c	compat_13 | compat_sunos
2801.15Spk
2811.15Spk# Miscellaneous
2821.15Spkfile	netns/ns_cksum.c		ns
2831.24Spk
2841.33Spkfile	arch/sparc/dev/md_root.c	memory_disk_hooks
285