files.sparc revision 1.107
11.107Sjdolecek#	$NetBSD: files.sparc,v 1.107 2002/01/21 21:57:05 jdolecek Exp $
21.2Scgd
31.2Scgd# @(#)files.sparc	8.1 (Berkeley) 7/19/93
41.1Sderaadt# sparc-specific configuration info
51.104Sdarrenr
61.105Slukemdefflag	opt_sparc_arch.h	SUN4
71.105Slukemdefflag	opt_sparc_arch.h	SUN4_MMU3L
81.105Slukemdefflag	opt_sparc_arch.h	SUN4C
91.105Slukemdefflag	opt_sparc_arch.h	SUN4M
101.105Slukemdefflag	opt_sparc_arch.h	SUN4U
111.106Suwedefflag	opt_sparc_arch.h	MSIIEP
121.1Sderaadt
131.32Spk# maxpartitions must be first item in files.${ARCH}
141.2Scgdmaxpartitions 8
151.2Scgd
161.40Spkmaxusers 2 8 1024
171.1Sderaadt
181.49Sthorpejdevice mainbus {}
191.16Sthorpejattach mainbus at root
201.2Scgd
211.106Suweinclude "dev/i2o/files.i2o"
221.106Suweinclude "dev/pci/files.pci"
231.106Suwedevice msiiep: pcibus
241.106Suweattach msiiep at mainbus
251.106Suwefile	arch/sparc/sparc/msiiep.c		msiiep
261.106Suwefile	arch/sparc/sparc/pci_machdep.c		msiiep
271.106Suwe
281.106Suwedevice ebus {[addr = -1]}: pcibus
291.106Suweattach ebus at pci
301.106Suwefile	arch/sparc/dev/ebus.c			ebus
311.106Suwe
321.106Suwedevice rtc
331.106Suweattach rtc at ebus with rtc_ebus
341.106Suwefile	arch/sparc/dev/rtc.c			rtc_ebus
351.106Suwe
361.49Sthorpejdevice iommu {}
371.32Spkattach iommu at mainbus
381.32Spkfile	arch/sparc/sparc/iommu.c		iommu
391.32Spk
401.50Spkdevice obio { [addr = -1], [level = -1] }
411.50Spkattach obio at mainbus
421.50Spk
431.72Skleinkinclude "dev/vme/files.vme"
441.80Sdrochnerdevice sparcvme: vmebus
451.78Sdrochnerattach sparcvme at mainbus with vme_mainbus
461.78Sdrochnerattach sparcvme at iommu with vme_iommu
471.39Spk
481.48Spkfile	arch/sparc/dev/obio.c		obio
491.78Sdrochnerfile	arch/sparc/dev/vme_machdep.c	sparcvme
501.1Sderaadt
511.49Sthorpejdevice auxreg
521.50Spkattach auxreg at mainbus with auxreg_mainbus
531.50Spkattach auxreg at obio with auxreg_obio
541.2Scgdfile	arch/sparc/sparc/auxreg.c
551.99Skleink
561.103Slukemdefflag	BLINK
571.88Sjdc
581.88Sjdcdevice auxiotwo
591.88Sjdcattach auxiotwo at obio with auxiotwo_obio
601.88Sjdcfile	arch/sparc/sparc/auxiotwo.c
611.1Sderaadt
621.98Spkdevice clock: mk48txx
631.50Spkattach clock at mainbus with clock_mainbus
641.50Spkattach clock at obio with clock_obio
651.20Sthorpej
661.98Spkdevice oclock: intersil7170
671.16Sthorpejattach oclock at obio
681.20Sthorpej
691.49Sthorpejdevice timer
701.50Spkattach timer at mainbus with timer_mainbus
711.50Spkattach timer at obio with timer_obio
721.20Sthorpej
731.49Sthorpejdevice eeprom
741.16Sthorpejattach eeprom at obio
751.98Spk
761.2Scgdfile	arch/sparc/sparc/clock.c
771.98Spkfile	dev/clock_subr.c
781.20Sthorpej
791.49Sthorpejdevice power
801.18Spkattach power at obio
811.54Sthorpejfile	arch/sparc/dev/power.c			power	needs-flag
821.1Sderaadt
831.49Sthorpejdevice cpu
841.16Sthorpejattach cpu at mainbus
851.2Scgdfile	arch/sparc/sparc/cpu.c
861.1Sderaadt
871.49Sthorpejdevice memreg
881.50Spkattach memreg at mainbus with memreg_mainbus
891.50Spkattach memreg at obio with memreg_obio
901.2Scgdfile	arch/sparc/sparc/memreg.c
911.66Spk
921.66Spkdevice eccmemctl
931.66Spkattach eccmemctl at mainbus
941.66Spkfile	arch/sparc/sparc/memecc.c		eccmemctl
951.1Sderaadt
961.83Smattdevice tctrl
971.83Smattattach tctrl at obio
981.83Smattfile	arch/sparc/dev/tctrl.c			tctrl needs-flag
991.83Smatt
1001.95Spkinclude "dev/sun/files.sun"
1011.95Spk
1021.49Sthorpejdevice zs {channel = -1}
1031.50Spkattach zs at mainbus with zs_mainbus
1041.50Spkattach zs at obio with zs_obio
1051.2Scgdfile	arch/sparc/dev/zs.c			zs needs-count
1061.45Sgwrfile	dev/ic/z8530sc.c			zs
1071.2Scgd
1081.49Sthorpejdevice fdc {}
1091.50Spkattach fdc at mainbus with fdc_mainbus
1101.50Spkattach fdc at obio with fdc_obio
1111.49Sthorpejdevice fd: disk
1121.16Sthorpejattach fd at fdc
1131.19Spkfile	arch/sparc/dev/fd.c			fdc | fd needs-flag
1141.19Spkfile	arch/sparc/sparc/bsd_fdintr.s		fdc
1151.1Sderaadt
1161.72Skleinkinclude "dev/sbus/files.sbus"
1171.50Spkattach sbus at mainbus with sbus_mainbus
1181.50Spkattach sbus at iommu with sbus_iommu
1191.87Spkfile	arch/sparc/dev/sbus.c			sbus needs-flag
1201.83Smatt
1211.83Smattdevice tpcic: pcmciabus
1221.83Smattattach tpcic at sbus
1231.83Smattfile	arch/sparc/dev/ts102.c			tpcic
1241.69Spk
1251.69Spk# network devices MII bus
1261.72Skleinkinclude "dev/mii/files.mii"
1271.69Spk
1281.69Spk# PCMCIA bus
1291.72Skleinkinclude "dev/pcmcia/files.pcmcia"
1301.72Skleinkinclude "dev/ata/files.ata"
1311.18Spk
1321.45Sgwr#
1331.45Sgwr# Console (zs) related stuff
1341.45Sgwr#
1351.45Sgwr
1361.49Sthorpejdevice zstty: tty
1371.45Sgwrattach zstty at zs
1381.45Sgwrfile dev/ic/z8530tty.c			zstty needs-flag
1391.45Sgwrfile arch/sparc/dev/zs_kgdb.c		kgdb
1401.45Sgwr
1411.45Sgwrdefine zsevent
1421.95Spk#file dev/sun/event.c			zsevent
1431.45Sgwr
1441.49Sthorpejdevice kbd: zsevent
1451.75Smrgattach kbd at zs with kbd_zs
1461.75Smrgfile dev/sun/kbd_zs.c			kbd_zs
1471.45Sgwrfile dev/sun/kbd.c			kbd needs-flag
1481.45Sgwrfile dev/sun/kbd_tables.c 		kbd
1491.97Schristosfile dev/sun/sunkbd.c			kbd
1501.90Spkfile arch/sparc/dev/kd.c
1511.45Sgwr
1521.49Sthorpejdevice ms: zsevent
1531.75Smrgattach ms at zs with ms_zs
1541.75Smrgfile dev/sun/ms_zs.c			ms_zs
1551.45Sgwrfile dev/sun/ms.c			ms needs-flag
1561.97Schristosfile dev/sun/sunms.c			ms
1571.2Scgd
1581.5Spk#
1591.5Spk# Machine-independent SCSI drivers
1601.5Spk#
1611.72Skleinkinclude "dev/scsipi/files.scsipi"
1621.1Sderaadt
1631.64Spkmajor	{ cd = 18 }
1641.64Spkmajor	{ fd = 16 }
1651.64Spkmajor	{ md = 5 }
1661.64Spkmajor	{ sd = 7 }
1671.64Spkmajor	{ xd = 10 }
1681.64Spkmajor	{ xy = 3 }
1691.89Soster
1701.89Soster# RAIDframe
1711.89Sostermajor 	{ raid = 25 }
1721.2Scgd
1731.50Spkattach dma at obio with dma_obio
1741.63Spkfile	arch/sparc/dev/dma_obio.c	dma_obio
1751.63Spk
1761.50Spkattach esp at obio with esp_obio
1771.63Spkfile	arch/sparc/dev/esp_obio.c	esp_obio
1781.1Sderaadt
1791.91Saugustssdevice	audioamd: audio, am7930
1801.91Saugustssattach	audioamd at mainbus with audioamd_mainbus
1811.91Saugustssattach	audioamd at sbus with audioamd_sbus
1821.91Saugustssfile	arch/sparc/dev/audioamd.c		audioamd
1831.92Saugustssfile	arch/sparc/sparc/amd7930intr.s		audioamd
1841.30Spk
1851.50Spkattach bwtwo at obio with bwtwo_obio
1861.84Schristosfile	arch/sparc/dev/bwtwo_obio.c	bwtwo_obio & obio
1871.1Sderaadt
1881.73Saddevice cgtwo: fb, rasops8
1891.50Spkattach cgtwo at vme
1901.10Spkfile	arch/sparc/dev/cgtwo.c		cgtwo needs-flag
1911.10Spk
1921.50Spkattach cgthree at obio with cgthree_obio
1931.95Spkfile	arch/sparc/dev/cgthree_obio.c	cgthree_obio & obio
1941.1Sderaadt
1951.95Spkdevice cgfour: bt_dac, fb, rasops8, pfour
1961.16Sthorpejattach cgfour at obio
1971.14Sthorpejfile	arch/sparc/dev/cgfour.c		cgfour needs-flag
1981.14Sthorpej
1991.50Spkattach cgsix at obio with cgsix_obio
2001.67Spkfile	arch/sparc/dev/cgsix_obio.c	cgsix_obio & obio
2011.1Sderaadt
2021.95Spkdevice cgeight: bt_dac, fb, rasops24, pfour
2031.16Sthorpejattach cgeight at obio
2041.14Sthorpejfile	arch/sparc/dev/cgeight.c	cgeight needs-flag
2051.25Spk
2061.73Saddevice cgfourteen: fb, rasops32
2071.29Sabrownattach cgfourteen at obio
2081.29Sabrownfile	arch/sparc/dev/cgfourteen.c	cgfourteen needs-flag
2091.1Sderaadt
2101.21Sthorpej# device definition in sys/conf/files
2111.57Sdrochnerattach le at obio with le_obio: le24
2121.60Spkfile	arch/sparc/dev/if_le_obio.c	le_obio
2131.2Scgd
2141.48Spkattach ie at obio with ie_obio
2151.48Spkfile	arch/sparc/dev/if_ie_obio.c	ie_obio
2161.81Smatt
2171.81Smattattach com at obio with com_obio
2181.81Smattfile	arch/sparc/dev/com_obio.c	com_obio
2191.106Suwe
2201.106Suweattach com at ebus with com_ebus
2211.106Suwefile	arch/sparc/dev/com_ebus.c	com_ebus
2221.93Spk
2231.49Sthorpejdevice sw: scsi, ncr5380sbc
2241.16Sthorpejattach sw at obio
2251.93Spkfile	arch/sparc/dev/sw.c		sw
2261.2Scgd
2271.24Spk#
2281.24Spk# Generic Sun stuff
2291.24Spk#
2301.24Spk
2311.45Sgwrfile	dev/cons.c
2321.2Scgd
2331.2Scgdfile	arch/sparc/fpu/fpu.c
2341.2Scgdfile	arch/sparc/fpu/fpu_add.c
2351.2Scgdfile	arch/sparc/fpu/fpu_compare.c
2361.2Scgdfile	arch/sparc/fpu/fpu_div.c
2371.2Scgdfile	arch/sparc/fpu/fpu_explode.c
2381.2Scgdfile	arch/sparc/fpu/fpu_implode.c
2391.2Scgdfile	arch/sparc/fpu/fpu_mul.c
2401.2Scgdfile	arch/sparc/fpu/fpu_sqrt.c
2411.2Scgdfile	arch/sparc/fpu/fpu_subr.c
2421.1Sderaadt
2431.2Scgdfile	arch/sparc/sparc/autoconf.c
2441.2Scgdfile	arch/sparc/sparc/cache.c
2451.2Scgdfile	arch/sparc/sparc/conf.c
2461.37Schristosfile	arch/sparc/sparc/emul.c
2471.2Scgdfile	arch/sparc/sparc/in_cksum.c
2481.2Scgdfile	arch/sparc/sparc/intr.c
2491.44Spkfile	arch/sparc/sparc/kgdb_machdep.c	kgdb
2501.1Sderaadt# sparc/sparc/locore.s is handled specially in the makefile,
2511.1Sderaadt# because it must come first in the "ld" command line.
2521.2Scgdfile	arch/sparc/sparc/locore2.c
2531.2Scgdfile	arch/sparc/sparc/machdep.c
2541.2Scgdfile	arch/sparc/sparc/process_machdep.c
2551.2Scgdfile	arch/sparc/sparc/mem.c
2561.70Spkfile	arch/sparc/sparc/promlib.c
2571.70Spkfile	arch/sparc/sparc/openfirm.c
2581.2Scgdfile	arch/sparc/sparc/openprom.c
2591.100Sfvdlfile	arch/sparc/sparc/procfs_machdep.c	procfs
2601.2Scgdfile	arch/sparc/sparc/pmap.c
2611.1Sderaadt# the following overrides the generic "sys_process.c"
2621.2Scgd# commented out by deraadt
2631.2Scgd#file	arch/sparc/sparc/sys_process.c
2641.2Scgdfile	arch/sparc/sparc/sys_machdep.c
2651.2Scgdfile	arch/sparc/sparc/trap.c
2661.2Scgdfile	arch/sparc/sparc/vm_machdep.c
2671.2Scgdfile	arch/sparc/sparc/disksubr.c
2681.2Scgd
2691.44Spkfile	arch/sparc/sparc/db_interface.c	ddb | kgdb
2701.2Scgdfile	arch/sparc/sparc/db_trace.c	ddb
2711.2Scgdfile	arch/sparc/sparc/db_disasm.c	ddb
2721.12Spk
2731.12Spk#
2741.12Spk# Raster Console
2751.12Spk#
2761.72Skleinkinclude "dev/rcons/files.rcons"
2771.72Skleinkinclude "dev/wsfont/files.wsfont"
2781.2Scgd
2791.2Scgd#
2801.2Scgd# Compatibility modules
2811.2Scgd#
2821.2Scgd
2831.2Scgd# SVR4 Binary Compatibility (COMPAT_SVR4)
2841.72Skleinkinclude "compat/svr4/files.svr4"
2851.102Smrgfile	arch/sparc/sparc/svr4_sigcode.s	compat_svr4
2861.2Scgdfile	arch/sparc/sparc/svr4_machdep.c	compat_svr4
2871.2Scgd
2881.2Scgd# SunOS Binary Compatibility (COMPAT_SUNOS)
2891.72Skleinkinclude "compat/sunos/files.sunos"
2901.102Smrgfile	arch/sparc/sparc/sunos_sigcode.s compat_sunos
2911.65Spkfile	arch/sparc/sparc/sunos_machdep.c compat_sunos
2921.74Smrg
2931.74Smrg# NetBSD a.out Binary Compatibility (COMPAT_AOUT)
2941.74Smrginclude "compat/aout/files.aout"
2951.65Spk
2961.65Spk# Binary compatibility with previous NetBSD releases (COMPAT_XX)
2971.77Spk# Note: SunOS compatibility also uses some of `compat_13_machdep.c'
2981.77Spkfile	arch/sparc/sparc/compat_13_machdep.c	compat_13 | compat_sunos
2991.15Spk
3001.15Spk# Miscellaneous
3011.15Spkfile	netns/ns_cksum.c		ns
3021.24Spk
3031.107Sjdolecekfile	dev/md_root.c			memory_disk_hooks
304