files.sparc revision 1.114
11.114Sthorpej#	$NetBSD: files.sparc,v 1.114 2002/08/23 18:00:46 thorpej 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.113Sthorpejdefflag	opt_sparc_arch.h	SUN4D
111.105Slukemdefflag	opt_sparc_arch.h	SUN4U
121.106Suwedefflag	opt_sparc_arch.h	MSIIEP
131.1Sderaadt
141.32Spk# maxpartitions must be first item in files.${ARCH}
151.2Scgdmaxpartitions 8
161.2Scgd
171.40Spkmaxusers 2 8 1024
181.1Sderaadt
191.49Sthorpejdevice mainbus {}
201.16Sthorpejattach mainbus at root
211.2Scgd
221.110Suwedevice msiiep {}
231.110Suweattach msiiep at mainbus
241.110Suwe
251.106Suweinclude "dev/i2o/files.i2o"
261.106Suweinclude "dev/pci/files.pci"
271.110Suwedevice mspcic {}: pcibus
281.110Suweattach mspcic at msiiep
291.110Suwefile	arch/sparc/sparc/msiiep.c		msiiep | mspcic
301.110Suwefile	arch/sparc/sparc/pci_machdep.c		msiiep | mspcic
311.106Suwe
321.106Suwedevice ebus {[addr = -1]}: pcibus
331.106Suweattach ebus at pci
341.106Suwefile	arch/sparc/dev/ebus.c			ebus
351.106Suwe
361.106Suwedevice rtc
371.106Suweattach rtc at ebus with rtc_ebus
381.106Suwefile	arch/sparc/dev/rtc.c			rtc_ebus
391.106Suwe
401.49Sthorpejdevice iommu {}
411.32Spkattach iommu at mainbus
421.32Spkfile	arch/sparc/sparc/iommu.c		iommu
431.32Spk
441.50Spkdevice obio { [addr = -1], [level = -1] }
451.50Spkattach obio at mainbus
461.50Spk
471.72Skleinkinclude "dev/vme/files.vme"
481.80Sdrochnerdevice sparcvme: vmebus
491.78Sdrochnerattach sparcvme at mainbus with vme_mainbus
501.78Sdrochnerattach sparcvme at iommu with vme_iommu
511.39Spk
521.48Spkfile	arch/sparc/dev/obio.c		obio
531.78Sdrochnerfile	arch/sparc/dev/vme_machdep.c	sparcvme
541.1Sderaadt
551.49Sthorpejdevice auxreg
561.50Spkattach auxreg at mainbus with auxreg_mainbus
571.50Spkattach auxreg at obio with auxreg_obio
581.2Scgdfile	arch/sparc/sparc/auxreg.c
591.99Skleink
601.103Slukemdefflag	BLINK
611.88Sjdc
621.88Sjdcdevice auxiotwo
631.88Sjdcattach auxiotwo at obio with auxiotwo_obio
641.88Sjdcfile	arch/sparc/sparc/auxiotwo.c
651.1Sderaadt
661.98Spkdevice clock: mk48txx
671.50Spkattach clock at mainbus with clock_mainbus
681.50Spkattach clock at obio with clock_obio
691.109Spkfile	arch/sparc/sparc/mkclock.c		clock
701.20Sthorpej
711.98Spkdevice oclock: intersil7170
721.16Sthorpejattach oclock at obio
731.109Spkfile	arch/sparc/sparc/oclock.c		oclock
741.20Sthorpej
751.49Sthorpejdevice timer
761.50Spkattach timer at mainbus with timer_mainbus
771.50Spkattach timer at obio with timer_obio
781.109Spkattach timer at msiiep with timer_msiiep
791.109Spkfile	arch/sparc/sparc/timer.c		timer
801.20Sthorpej
811.49Sthorpejdevice eeprom
821.16Sthorpejattach eeprom at obio
831.109Spkfile	arch/sparc/sparc/eeprom.c		eeprom
841.98Spk
851.2Scgdfile	arch/sparc/sparc/clock.c
861.98Spkfile	dev/clock_subr.c
871.20Sthorpej
881.49Sthorpejdevice power
891.18Spkattach power at obio
901.54Sthorpejfile	arch/sparc/dev/power.c			power	needs-flag
911.1Sderaadt
921.114Sthorpejdevice cpuunit { }
931.114Sthorpejattach cpuunit at mainbus
941.114Sthorpejfile	arch/sparc/sparc/cpuunit.c		cpuunit
951.114Sthorpej
961.49Sthorpejdevice cpu
971.114Sthorpejattach cpu at mainbus with cpu_mainbus
981.114Sthorpejattach cpu at cpuunit with cpu_cpuunit
991.2Scgdfile	arch/sparc/sparc/cpu.c
1001.1Sderaadt
1011.49Sthorpejdevice memreg
1021.50Spkattach memreg at mainbus with memreg_mainbus
1031.50Spkattach memreg at obio with memreg_obio
1041.2Scgdfile	arch/sparc/sparc/memreg.c
1051.66Spk
1061.66Spkdevice eccmemctl
1071.66Spkattach eccmemctl at mainbus
1081.66Spkfile	arch/sparc/sparc/memecc.c		eccmemctl
1091.1Sderaadt
1101.83Smattdevice tctrl
1111.83Smattattach tctrl at obio
1121.83Smattfile	arch/sparc/dev/tctrl.c			tctrl needs-flag
1131.83Smatt
1141.95Spkinclude "dev/sun/files.sun"
1151.95Spk
1161.49Sthorpejdevice zs {channel = -1}
1171.50Spkattach zs at mainbus with zs_mainbus
1181.50Spkattach zs at obio with zs_obio
1191.2Scgdfile	arch/sparc/dev/zs.c			zs needs-count
1201.45Sgwrfile	dev/ic/z8530sc.c			zs
1211.2Scgd
1221.49Sthorpejdevice fdc {}
1231.50Spkattach fdc at mainbus with fdc_mainbus
1241.50Spkattach fdc at obio with fdc_obio
1251.49Sthorpejdevice fd: disk
1261.16Sthorpejattach fd at fdc
1271.19Spkfile	arch/sparc/dev/fd.c			fdc | fd needs-flag
1281.19Spkfile	arch/sparc/sparc/bsd_fdintr.s		fdc
1291.1Sderaadt
1301.72Skleinkinclude "dev/sbus/files.sbus"
1311.50Spkattach sbus at mainbus with sbus_mainbus
1321.50Spkattach sbus at iommu with sbus_iommu
1331.87Spkfile	arch/sparc/dev/sbus.c			sbus needs-flag
1341.108Suwe
1351.108Suweattach	audiocs at ebus with audiocs_ebus
1361.108Suwefile	dev/ebus/cs4231_ebus.c			audiocs_ebus
1371.83Smatt
1381.83Smattdevice tpcic: pcmciabus
1391.83Smattattach tpcic at sbus
1401.83Smattfile	arch/sparc/dev/ts102.c			tpcic
1411.69Spk
1421.69Spk# PCMCIA bus
1431.72Skleinkinclude "dev/pcmcia/files.pcmcia"
1441.72Skleinkinclude "dev/ata/files.ata"
1451.18Spk
1461.45Sgwr#
1471.45Sgwr# Console (zs) related stuff
1481.45Sgwr#
1491.45Sgwr
1501.49Sthorpejdevice zstty: tty
1511.45Sgwrattach zstty at zs
1521.45Sgwrfile dev/ic/z8530tty.c			zstty needs-flag
1531.45Sgwrfile arch/sparc/dev/zs_kgdb.c		kgdb
1541.45Sgwr
1551.45Sgwrdefine zsevent
1561.95Spk#file dev/sun/event.c			zsevent
1571.45Sgwr
1581.49Sthorpejdevice kbd: zsevent
1591.75Smrgattach kbd at zs with kbd_zs
1601.75Smrgfile dev/sun/kbd_zs.c			kbd_zs
1611.45Sgwrfile dev/sun/kbd.c			kbd needs-flag
1621.45Sgwrfile dev/sun/kbd_tables.c 		kbd
1631.97Schristosfile dev/sun/sunkbd.c			kbd
1641.90Spkfile arch/sparc/dev/kd.c
1651.45Sgwr
1661.49Sthorpejdevice ms: zsevent
1671.75Smrgattach ms at zs with ms_zs
1681.75Smrgfile dev/sun/ms_zs.c			ms_zs
1691.45Sgwrfile dev/sun/ms.c			ms needs-flag
1701.97Schristosfile dev/sun/sunms.c			ms
1711.2Scgd
1721.5Spk#
1731.5Spk# Machine-independent SCSI drivers
1741.5Spk#
1751.72Skleinkinclude "dev/scsipi/files.scsipi"
1761.1Sderaadt
1771.64Spkmajor	{ cd = 18 }
1781.64Spkmajor	{ fd = 16 }
1791.64Spkmajor	{ md = 5 }
1801.64Spkmajor	{ sd = 7 }
1811.64Spkmajor	{ xd = 10 }
1821.64Spkmajor	{ xy = 3 }
1831.89Soster
1841.89Soster# RAIDframe
1851.89Sostermajor 	{ raid = 25 }
1861.2Scgd
1871.50Spkattach dma at obio with dma_obio
1881.63Spkfile	arch/sparc/dev/dma_obio.c	dma_obio
1891.63Spk
1901.50Spkattach esp at obio with esp_obio
1911.63Spkfile	arch/sparc/dev/esp_obio.c	esp_obio
1921.1Sderaadt
1931.112Saugustssdevice	audioamd: audiobus, am7930
1941.91Saugustssattach	audioamd at mainbus with audioamd_mainbus
1951.91Saugustssattach	audioamd at sbus with audioamd_sbus
1961.91Saugustssfile	arch/sparc/dev/audioamd.c		audioamd
1971.92Saugustssfile	arch/sparc/sparc/amd7930intr.s		audioamd
1981.30Spk
1991.50Spkattach bwtwo at obio with bwtwo_obio
2001.84Schristosfile	arch/sparc/dev/bwtwo_obio.c	bwtwo_obio & obio
2011.1Sderaadt
2021.73Saddevice cgtwo: fb, rasops8
2031.50Spkattach cgtwo at vme
2041.10Spkfile	arch/sparc/dev/cgtwo.c		cgtwo needs-flag
2051.10Spk
2061.50Spkattach cgthree at obio with cgthree_obio
2071.95Spkfile	arch/sparc/dev/cgthree_obio.c	cgthree_obio & obio
2081.1Sderaadt
2091.95Spkdevice cgfour: bt_dac, fb, rasops8, pfour
2101.16Sthorpejattach cgfour at obio
2111.14Sthorpejfile	arch/sparc/dev/cgfour.c		cgfour needs-flag
2121.14Sthorpej
2131.50Spkattach cgsix at obio with cgsix_obio
2141.67Spkfile	arch/sparc/dev/cgsix_obio.c	cgsix_obio & obio
2151.1Sderaadt
2161.95Spkdevice cgeight: bt_dac, fb, rasops24, pfour
2171.16Sthorpejattach cgeight at obio
2181.14Sthorpejfile	arch/sparc/dev/cgeight.c	cgeight needs-flag
2191.25Spk
2201.73Saddevice cgfourteen: fb, rasops32
2211.29Sabrownattach cgfourteen at obio
2221.29Sabrownfile	arch/sparc/dev/cgfourteen.c	cgfourteen needs-flag
2231.1Sderaadt
2241.21Sthorpej# device definition in sys/conf/files
2251.57Sdrochnerattach le at obio with le_obio: le24
2261.60Spkfile	arch/sparc/dev/if_le_obio.c	le_obio
2271.2Scgd
2281.48Spkattach ie at obio with ie_obio
2291.48Spkfile	arch/sparc/dev/if_ie_obio.c	ie_obio
2301.81Smatt
2311.81Smattattach com at obio with com_obio
2321.81Smattfile	arch/sparc/dev/com_obio.c	com_obio
2331.106Suwe
2341.106Suweattach com at ebus with com_ebus
2351.106Suwefile	arch/sparc/dev/com_ebus.c	com_ebus
2361.93Spk
2371.49Sthorpejdevice sw: scsi, ncr5380sbc
2381.16Sthorpejattach sw at obio
2391.93Spkfile	arch/sparc/dev/sw.c		sw
2401.2Scgd
2411.24Spk#
2421.24Spk# Generic Sun stuff
2431.24Spk#
2441.24Spk
2451.45Sgwrfile	dev/cons.c
2461.2Scgd
2471.2Scgdfile	arch/sparc/fpu/fpu.c
2481.2Scgdfile	arch/sparc/fpu/fpu_add.c
2491.2Scgdfile	arch/sparc/fpu/fpu_compare.c
2501.2Scgdfile	arch/sparc/fpu/fpu_div.c
2511.2Scgdfile	arch/sparc/fpu/fpu_explode.c
2521.2Scgdfile	arch/sparc/fpu/fpu_implode.c
2531.2Scgdfile	arch/sparc/fpu/fpu_mul.c
2541.2Scgdfile	arch/sparc/fpu/fpu_sqrt.c
2551.2Scgdfile	arch/sparc/fpu/fpu_subr.c
2561.1Sderaadt
2571.2Scgdfile	arch/sparc/sparc/autoconf.c
2581.2Scgdfile	arch/sparc/sparc/cache.c
2591.2Scgdfile	arch/sparc/sparc/conf.c
2601.37Schristosfile	arch/sparc/sparc/emul.c
2611.2Scgdfile	arch/sparc/sparc/in_cksum.c
2621.2Scgdfile	arch/sparc/sparc/intr.c
2631.44Spkfile	arch/sparc/sparc/kgdb_machdep.c	kgdb
2641.1Sderaadt# sparc/sparc/locore.s is handled specially in the makefile,
2651.1Sderaadt# because it must come first in the "ld" command line.
2661.2Scgdfile	arch/sparc/sparc/locore2.c
2671.2Scgdfile	arch/sparc/sparc/machdep.c
2681.2Scgdfile	arch/sparc/sparc/process_machdep.c
2691.2Scgdfile	arch/sparc/sparc/mem.c
2701.70Spkfile	arch/sparc/sparc/promlib.c
2711.70Spkfile	arch/sparc/sparc/openfirm.c
2721.2Scgdfile	arch/sparc/sparc/openprom.c
2731.100Sfvdlfile	arch/sparc/sparc/procfs_machdep.c	procfs
2741.2Scgdfile	arch/sparc/sparc/pmap.c
2751.1Sderaadt# the following overrides the generic "sys_process.c"
2761.2Scgd# commented out by deraadt
2771.2Scgd#file	arch/sparc/sparc/sys_process.c
2781.2Scgdfile	arch/sparc/sparc/sys_machdep.c
2791.2Scgdfile	arch/sparc/sparc/trap.c
2801.2Scgdfile	arch/sparc/sparc/vm_machdep.c
2811.2Scgdfile	arch/sparc/sparc/disksubr.c
2821.2Scgd
2831.44Spkfile	arch/sparc/sparc/db_interface.c	ddb | kgdb
2841.2Scgdfile	arch/sparc/sparc/db_trace.c	ddb
2851.2Scgdfile	arch/sparc/sparc/db_disasm.c	ddb
2861.12Spk
2871.12Spk#
2881.12Spk# Raster Console
2891.12Spk#
2901.72Skleinkinclude "dev/rcons/files.rcons"
2911.72Skleinkinclude "dev/wsfont/files.wsfont"
2921.2Scgd
2931.2Scgd#
2941.2Scgd# Compatibility modules
2951.2Scgd#
2961.2Scgd
2971.2Scgd# SVR4 Binary Compatibility (COMPAT_SVR4)
2981.72Skleinkinclude "compat/svr4/files.svr4"
2991.102Smrgfile	arch/sparc/sparc/svr4_sigcode.s	compat_svr4
3001.2Scgdfile	arch/sparc/sparc/svr4_machdep.c	compat_svr4
3011.2Scgd
3021.2Scgd# SunOS Binary Compatibility (COMPAT_SUNOS)
3031.72Skleinkinclude "compat/sunos/files.sunos"
3041.102Smrgfile	arch/sparc/sparc/sunos_sigcode.s compat_sunos
3051.65Spkfile	arch/sparc/sparc/sunos_machdep.c compat_sunos
3061.74Smrg
3071.74Smrg# NetBSD a.out Binary Compatibility (COMPAT_AOUT)
3081.74Smrginclude "compat/aout/files.aout"
3091.65Spk
3101.65Spk# Binary compatibility with previous NetBSD releases (COMPAT_XX)
3111.77Spk# Note: SunOS compatibility also uses some of `compat_13_machdep.c'
3121.77Spkfile	arch/sparc/sparc/compat_13_machdep.c	compat_13 | compat_sunos
3131.15Spk
3141.15Spk# Miscellaneous
3151.15Spkfile	netns/ns_cksum.c		ns
3161.24Spk
3171.107Sjdolecekfile	dev/md_root.c			memory_disk_hooks
318