files.sparc revision 1.95
11.95Spk#	$NetBSD: files.sparc,v 1.95 2000/08/22 21:29:49 pk 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.49Sthorpejdevice mainbus {}
121.16Sthorpejattach mainbus at root
131.2Scgd
141.49Sthorpejdevice iommu {}
151.32Spkattach iommu at mainbus
161.32Spkfile	arch/sparc/sparc/iommu.c		iommu
171.32Spk
181.50Spkdevice obio { [addr = -1], [level = -1] }
191.50Spkattach obio at mainbus
201.50Spk
211.72Skleinkinclude "dev/vme/files.vme"
221.80Sdrochnerdevice sparcvme: vmebus
231.78Sdrochnerattach sparcvme at mainbus with vme_mainbus
241.78Sdrochnerattach sparcvme at iommu with vme_iommu
251.39Spk
261.48Spkfile	arch/sparc/dev/obio.c		obio
271.78Sdrochnerfile	arch/sparc/dev/vme_machdep.c	sparcvme
281.1Sderaadt
291.49Sthorpejdevice auxreg
301.50Spkattach auxreg at mainbus with auxreg_mainbus
311.50Spkattach auxreg at obio with auxreg_obio
321.2Scgdfile	arch/sparc/sparc/auxreg.c
331.88Sjdc
341.88Sjdcdevice auxiotwo
351.88Sjdcattach auxiotwo at obio with auxiotwo_obio
361.88Sjdcfile	arch/sparc/sparc/auxiotwo.c
371.1Sderaadt
381.49Sthorpejdevice clock
391.50Spkattach clock at mainbus with clock_mainbus
401.50Spkattach clock at obio with clock_obio
411.20Sthorpej
421.49Sthorpejdevice oclock
431.16Sthorpejattach oclock at obio
441.20Sthorpej
451.49Sthorpejdevice timer
461.50Spkattach timer at mainbus with timer_mainbus
471.50Spkattach timer at obio with timer_obio
481.20Sthorpej
491.49Sthorpejdevice eeprom
501.16Sthorpejattach eeprom at obio
511.2Scgdfile	arch/sparc/sparc/clock.c
521.20Sthorpej
531.49Sthorpejdevice power
541.18Spkattach power at obio
551.54Sthorpejfile	arch/sparc/dev/power.c			power	needs-flag
561.1Sderaadt
571.49Sthorpejdevice cpu
581.16Sthorpejattach cpu at mainbus
591.2Scgdfile	arch/sparc/sparc/cpu.c
601.1Sderaadt
611.49Sthorpejdevice memreg
621.50Spkattach memreg at mainbus with memreg_mainbus
631.50Spkattach memreg at obio with memreg_obio
641.2Scgdfile	arch/sparc/sparc/memreg.c
651.66Spk
661.66Spkdevice eccmemctl
671.66Spkattach eccmemctl at mainbus
681.66Spkfile	arch/sparc/sparc/memecc.c		eccmemctl
691.1Sderaadt
701.83Smattdevice tctrl
711.83Smattattach tctrl at obio
721.83Smattfile	arch/sparc/dev/tctrl.c			tctrl needs-flag
731.83Smatt
741.95Spkinclude "dev/sun/files.sun"
751.95Spk
761.49Sthorpejdevice zs {channel = -1}
771.50Spkattach zs at mainbus with zs_mainbus
781.50Spkattach zs at obio with zs_obio
791.2Scgdfile	arch/sparc/dev/zs.c			zs needs-count
801.45Sgwrfile	dev/ic/z8530sc.c			zs
811.2Scgd
821.49Sthorpejdevice fdc {}
831.50Spkattach fdc at mainbus with fdc_mainbus
841.50Spkattach fdc at obio with fdc_obio
851.49Sthorpejdevice fd: disk
861.16Sthorpejattach fd at fdc
871.19Spkfile	arch/sparc/dev/fd.c			fdc | fd needs-flag
881.19Spkfile	arch/sparc/sparc/bsd_fdintr.s		fdc
891.1Sderaadt
901.72Skleinkinclude "dev/sbus/files.sbus"
911.50Spkattach sbus at mainbus with sbus_mainbus
921.50Spkattach sbus at iommu with sbus_iommu
931.87Spkfile	arch/sparc/dev/sbus.c			sbus needs-flag
941.83Smatt
951.83Smattdevice tpcic: pcmciabus
961.83Smattattach tpcic at sbus
971.83Smattfile	arch/sparc/dev/ts102.c			tpcic
981.69Spk
991.69Spk# network devices MII bus
1001.72Skleinkinclude "dev/mii/files.mii"
1011.69Spk
1021.69Spk# PCMCIA bus
1031.72Skleinkinclude "dev/pcmcia/files.pcmcia"
1041.72Skleinkinclude "dev/ata/files.ata"
1051.18Spk
1061.45Sgwr#
1071.45Sgwr# Console (zs) related stuff
1081.45Sgwr#
1091.45Sgwr
1101.49Sthorpejdevice zstty: tty
1111.45Sgwrattach zstty at zs
1121.45Sgwrfile dev/ic/z8530tty.c			zstty needs-flag
1131.45Sgwrfile arch/sparc/dev/zs_kgdb.c		kgdb
1141.45Sgwr
1151.45Sgwrdefine zsevent
1161.95Spk#file dev/sun/event.c			zsevent
1171.45Sgwr
1181.49Sthorpejdevice kbd: zsevent
1191.75Smrgattach kbd at zs with kbd_zs
1201.75Smrgfile dev/sun/kbd_zs.c			kbd_zs
1211.45Sgwrfile dev/sun/kbd.c			kbd needs-flag
1221.45Sgwrfile dev/sun/kbd_tables.c 		kbd
1231.90Spkfile arch/sparc/dev/kd.c
1241.45Sgwr
1251.49Sthorpejdevice ms: zsevent
1261.75Smrgattach ms at zs with ms_zs
1271.75Smrgfile dev/sun/ms_zs.c			ms_zs
1281.45Sgwrfile dev/sun/ms.c			ms needs-flag
1291.2Scgd
1301.5Spk#
1311.5Spk# Machine-independent SCSI drivers
1321.5Spk#
1331.72Skleinkinclude "dev/scsipi/files.scsipi"
1341.1Sderaadt
1351.64Spkmajor	{ cd = 18 }
1361.64Spkmajor	{ fd = 16 }
1371.64Spkmajor	{ md = 5 }
1381.64Spkmajor	{ sd = 7 }
1391.64Spkmajor	{ xd = 10 }
1401.64Spkmajor	{ xy = 3 }
1411.89Soster
1421.89Soster# RAIDframe
1431.89Sostermajor 	{ raid = 25 }
1441.2Scgd
1451.50Spkattach dma at obio with dma_obio
1461.63Spkfile	arch/sparc/dev/dma_obio.c	dma_obio
1471.63Spk
1481.50Spkattach esp at obio with esp_obio
1491.63Spkfile	arch/sparc/dev/esp_obio.c	esp_obio
1501.1Sderaadt
1511.91Saugustssdevice	audioamd: audio, am7930
1521.91Saugustssattach	audioamd at mainbus with audioamd_mainbus
1531.91Saugustssattach	audioamd at sbus with audioamd_sbus
1541.91Saugustssfile	arch/sparc/dev/audioamd.c		audioamd
1551.92Saugustssfile	arch/sparc/sparc/amd7930intr.s		audioamd
1561.30Spk
1571.50Spkattach bwtwo at obio with bwtwo_obio
1581.84Schristosfile	arch/sparc/dev/bwtwo_obio.c	bwtwo_obio & obio
1591.1Sderaadt
1601.73Saddevice cgtwo: fb, rasops8
1611.50Spkattach cgtwo at vme
1621.10Spkfile	arch/sparc/dev/cgtwo.c		cgtwo needs-flag
1631.10Spk
1641.50Spkattach cgthree at obio with cgthree_obio
1651.95Spkfile	arch/sparc/dev/cgthree_obio.c	cgthree_obio & obio
1661.1Sderaadt
1671.95Spkdevice cgfour: bt_dac, fb, rasops8, pfour
1681.16Sthorpejattach cgfour at obio
1691.14Sthorpejfile	arch/sparc/dev/cgfour.c		cgfour needs-flag
1701.14Sthorpej
1711.50Spkattach cgsix at obio with cgsix_obio
1721.67Spkfile	arch/sparc/dev/cgsix_obio.c	cgsix_obio & obio
1731.1Sderaadt
1741.95Spkdevice cgeight: bt_dac, fb, rasops24, pfour
1751.16Sthorpejattach cgeight at obio
1761.14Sthorpejfile	arch/sparc/dev/cgeight.c	cgeight needs-flag
1771.25Spk
1781.73Saddevice cgfourteen: fb, rasops32
1791.29Sabrownattach cgfourteen at obio
1801.29Sabrownfile	arch/sparc/dev/cgfourteen.c	cgfourteen needs-flag
1811.82Smatt
1821.46Stvfile	arch/sparc/dev/fb.c		fb needs-flag
1831.1Sderaadt
1841.21Sthorpej# device definition in sys/conf/files
1851.57Sdrochnerattach le at obio with le_obio: le24
1861.60Spkfile	arch/sparc/dev/if_le_obio.c	le_obio
1871.2Scgd
1881.48Spkattach ie at obio with ie_obio
1891.48Spkfile	arch/sparc/dev/if_ie_obio.c	ie_obio
1901.81Smatt
1911.81Smattattach com at obio with com_obio
1921.81Smattfile	arch/sparc/dev/com_obio.c	com_obio
1931.93Spk
1941.49Sthorpejdevice sw: scsi, ncr5380sbc
1951.16Sthorpejattach sw at obio
1961.93Spkfile	arch/sparc/dev/sw.c		sw
1971.2Scgd
1981.24Spk#
1991.24Spk# Generic Sun stuff
2001.24Spk#
2011.24Spk
2021.45Sgwrfile	dev/cons.c
2031.2Scgd
2041.2Scgdfile	arch/sparc/fpu/fpu.c
2051.2Scgdfile	arch/sparc/fpu/fpu_add.c
2061.2Scgdfile	arch/sparc/fpu/fpu_compare.c
2071.2Scgdfile	arch/sparc/fpu/fpu_div.c
2081.2Scgdfile	arch/sparc/fpu/fpu_explode.c
2091.2Scgdfile	arch/sparc/fpu/fpu_implode.c
2101.2Scgdfile	arch/sparc/fpu/fpu_mul.c
2111.2Scgdfile	arch/sparc/fpu/fpu_sqrt.c
2121.2Scgdfile	arch/sparc/fpu/fpu_subr.c
2131.1Sderaadt
2141.2Scgdfile	arch/sparc/sparc/autoconf.c
2151.2Scgdfile	arch/sparc/sparc/cache.c
2161.2Scgdfile	arch/sparc/sparc/conf.c
2171.37Schristosfile	arch/sparc/sparc/emul.c
2181.2Scgdfile	arch/sparc/sparc/in_cksum.c
2191.86Sthorpejfile	netinet/in4_cksum.c		inet
2201.2Scgdfile	arch/sparc/sparc/intr.c
2211.44Spkfile	arch/sparc/sparc/kgdb_machdep.c	kgdb
2221.1Sderaadt# sparc/sparc/locore.s is handled specially in the makefile,
2231.1Sderaadt# because it must come first in the "ld" command line.
2241.2Scgdfile	arch/sparc/sparc/locore2.c
2251.2Scgdfile	arch/sparc/sparc/machdep.c
2261.2Scgdfile	arch/sparc/sparc/process_machdep.c
2271.2Scgdfile	arch/sparc/sparc/mem.c
2281.70Spkfile	arch/sparc/sparc/promlib.c
2291.70Spkfile	arch/sparc/sparc/openfirm.c
2301.2Scgdfile	arch/sparc/sparc/openprom.c
2311.2Scgdfile	arch/sparc/sparc/pmap.c
2321.1Sderaadt# the following overrides the generic "sys_process.c"
2331.2Scgd# commented out by deraadt
2341.2Scgd#file	arch/sparc/sparc/sys_process.c
2351.2Scgdfile	arch/sparc/sparc/sys_machdep.c
2361.2Scgdfile	arch/sparc/sparc/trap.c
2371.2Scgdfile	arch/sparc/sparc/vm_machdep.c
2381.2Scgdfile	arch/sparc/sparc/disksubr.c
2391.2Scgd
2401.44Spkfile	arch/sparc/sparc/db_interface.c	ddb | kgdb
2411.2Scgdfile	arch/sparc/sparc/db_trace.c	ddb
2421.2Scgdfile	arch/sparc/sparc/db_disasm.c	ddb
2431.12Spk
2441.12Spk#
2451.12Spk# Raster Console
2461.12Spk#
2471.72Skleinkinclude "dev/rcons/files.rcons"
2481.72Skleinkinclude "dev/wsfont/files.wsfont"
2491.2Scgd
2501.2Scgd#
2511.2Scgd# Compatibility modules
2521.2Scgd#
2531.2Scgd
2541.2Scgd# SVR4 Binary Compatibility (COMPAT_SVR4)
2551.72Skleinkinclude "compat/svr4/files.svr4"
2561.2Scgdfile	arch/sparc/sparc/svr4_machdep.c	compat_svr4
2571.2Scgd
2581.2Scgd# SunOS Binary Compatibility (COMPAT_SUNOS)
2591.72Skleinkinclude "compat/sunos/files.sunos"
2601.65Spkfile	arch/sparc/sparc/sunos_machdep.c compat_sunos
2611.74Smrg
2621.74Smrg# NetBSD a.out Binary Compatibility (COMPAT_AOUT)
2631.74Smrginclude "compat/aout/files.aout"
2641.65Spk
2651.65Spk# Binary compatibility with previous NetBSD releases (COMPAT_XX)
2661.77Spk# Note: SunOS compatibility also uses some of `compat_13_machdep.c'
2671.77Spkfile	arch/sparc/sparc/compat_13_machdep.c	compat_13 | compat_sunos
2681.15Spk
2691.15Spk# Miscellaneous
2701.15Spkfile	netns/ns_cksum.c		ns
2711.24Spk
2721.33Spkfile	arch/sparc/dev/md_root.c	memory_disk_hooks
273