files.sparc revision 1.117
11.117Sgehenna#	$NetBSD: files.sparc,v 1.117 2002/09/06 13:18:43 gehenna 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.115Sthorpejdevice cpuunit { }
481.115Sthorpejattach cpuunit at mainbus
491.115Sthorpejfile	arch/sparc/sparc/cpuunit.c		cpuunit
501.115Sthorpej
511.115Sthorpejdevice bootbus { [slot = -1], [offset = -1] }
521.115Sthorpejattach bootbus at cpuunit
531.115Sthorpejfile	arch/sparc/dev/bootbus.c		bootbus
541.115Sthorpej
551.72Skleinkinclude "dev/vme/files.vme"
561.80Sdrochnerdevice sparcvme: vmebus
571.78Sdrochnerattach sparcvme at mainbus with vme_mainbus
581.78Sdrochnerattach sparcvme at iommu with vme_iommu
591.39Spk
601.48Spkfile	arch/sparc/dev/obio.c		obio
611.78Sdrochnerfile	arch/sparc/dev/vme_machdep.c	sparcvme
621.1Sderaadt
631.49Sthorpejdevice auxreg
641.50Spkattach auxreg at mainbus with auxreg_mainbus
651.50Spkattach auxreg at obio with auxreg_obio
661.2Scgdfile	arch/sparc/sparc/auxreg.c
671.99Skleink
681.103Slukemdefflag	BLINK
691.88Sjdc
701.88Sjdcdevice auxiotwo
711.88Sjdcattach auxiotwo at obio with auxiotwo_obio
721.88Sjdcfile	arch/sparc/sparc/auxiotwo.c
731.1Sderaadt
741.98Spkdevice clock: mk48txx
751.50Spkattach clock at mainbus with clock_mainbus
761.50Spkattach clock at obio with clock_obio
771.109Spkfile	arch/sparc/sparc/mkclock.c		clock
781.20Sthorpej
791.98Spkdevice oclock: intersil7170
801.16Sthorpejattach oclock at obio
811.109Spkfile	arch/sparc/sparc/oclock.c		oclock
821.20Sthorpej
831.49Sthorpejdevice timer
841.50Spkattach timer at mainbus with timer_mainbus
851.50Spkattach timer at obio with timer_obio
861.109Spkattach timer at msiiep with timer_msiiep
871.116Sthorpejfile	arch/sparc/sparc/timer.c		timer & !msiiep
881.116Sthorpejfile	arch/sparc/sparc/timer_sun4.c		timer & (sun4 | sun4c)
891.116Sthorpejfile	arch/sparc/sparc/timer_sun4m.c		timer & sun4m & !msiiep
901.116Sthorpejfile	arch/sparc/sparc/timer_msiiep.c		timer & msiiep
911.20Sthorpej
921.49Sthorpejdevice eeprom
931.16Sthorpejattach eeprom at obio
941.109Spkfile	arch/sparc/sparc/eeprom.c		eeprom
951.98Spk
961.2Scgdfile	arch/sparc/sparc/clock.c
971.98Spkfile	dev/clock_subr.c
981.20Sthorpej
991.49Sthorpejdevice power
1001.18Spkattach power at obio
1011.54Sthorpejfile	arch/sparc/dev/power.c			power	needs-flag
1021.1Sderaadt
1031.49Sthorpejdevice cpu
1041.114Sthorpejattach cpu at mainbus with cpu_mainbus
1051.114Sthorpejattach cpu at cpuunit with cpu_cpuunit
1061.2Scgdfile	arch/sparc/sparc/cpu.c
1071.1Sderaadt
1081.49Sthorpejdevice memreg
1091.50Spkattach memreg at mainbus with memreg_mainbus
1101.50Spkattach memreg at obio with memreg_obio
1111.2Scgdfile	arch/sparc/sparc/memreg.c
1121.66Spk
1131.66Spkdevice eccmemctl
1141.66Spkattach eccmemctl at mainbus
1151.66Spkfile	arch/sparc/sparc/memecc.c		eccmemctl
1161.1Sderaadt
1171.83Smattdevice tctrl
1181.83Smattattach tctrl at obio
1191.83Smattfile	arch/sparc/dev/tctrl.c			tctrl needs-flag
1201.83Smatt
1211.95Spkinclude "dev/sun/files.sun"
1221.95Spk
1231.49Sthorpejdevice zs {channel = -1}
1241.50Spkattach zs at mainbus with zs_mainbus
1251.50Spkattach zs at obio with zs_obio
1261.115Sthorpejattach zs at bootbus with zs_bootbus
1271.2Scgdfile	arch/sparc/dev/zs.c			zs needs-count
1281.45Sgwrfile	dev/ic/z8530sc.c			zs
1291.2Scgd
1301.49Sthorpejdevice fdc {}
1311.50Spkattach fdc at mainbus with fdc_mainbus
1321.50Spkattach fdc at obio with fdc_obio
1331.49Sthorpejdevice fd: disk
1341.16Sthorpejattach fd at fdc
1351.19Spkfile	arch/sparc/dev/fd.c			fdc | fd needs-flag
1361.19Spkfile	arch/sparc/sparc/bsd_fdintr.s		fdc
1371.1Sderaadt
1381.72Skleinkinclude "dev/sbus/files.sbus"
1391.50Spkattach sbus at mainbus with sbus_mainbus
1401.50Spkattach sbus at iommu with sbus_iommu
1411.87Spkfile	arch/sparc/dev/sbus.c			sbus needs-flag
1421.108Suwe
1431.108Suweattach	audiocs at ebus with audiocs_ebus
1441.108Suwefile	dev/ebus/cs4231_ebus.c			audiocs_ebus
1451.83Smatt
1461.83Smattdevice tpcic: pcmciabus
1471.83Smattattach tpcic at sbus
1481.83Smattfile	arch/sparc/dev/ts102.c			tpcic
1491.69Spk
1501.69Spk# PCMCIA bus
1511.72Skleinkinclude "dev/pcmcia/files.pcmcia"
1521.72Skleinkinclude "dev/ata/files.ata"
1531.18Spk
1541.45Sgwr#
1551.45Sgwr# Console (zs) related stuff
1561.45Sgwr#
1571.45Sgwr
1581.49Sthorpejdevice zstty: tty
1591.45Sgwrattach zstty at zs
1601.45Sgwrfile dev/ic/z8530tty.c			zstty needs-flag
1611.45Sgwrfile arch/sparc/dev/zs_kgdb.c		kgdb
1621.45Sgwr
1631.45Sgwrdefine zsevent
1641.95Spk#file dev/sun/event.c			zsevent
1651.45Sgwr
1661.49Sthorpejdevice kbd: zsevent
1671.75Smrgattach kbd at zs with kbd_zs
1681.75Smrgfile dev/sun/kbd_zs.c			kbd_zs
1691.45Sgwrfile dev/sun/kbd.c			kbd needs-flag
1701.45Sgwrfile dev/sun/kbd_tables.c 		kbd
1711.97Schristosfile dev/sun/sunkbd.c			kbd
1721.90Spkfile arch/sparc/dev/kd.c
1731.45Sgwr
1741.49Sthorpejdevice ms: zsevent
1751.75Smrgattach ms at zs with ms_zs
1761.75Smrgfile dev/sun/ms_zs.c			ms_zs
1771.45Sgwrfile dev/sun/ms.c			ms needs-flag
1781.97Schristosfile dev/sun/sunms.c			ms
1791.2Scgd
1801.5Spk#
1811.5Spk# Machine-independent SCSI drivers
1821.5Spk#
1831.72Skleinkinclude "dev/scsipi/files.scsipi"
1841.1Sderaadt
1851.50Spkattach dma at obio with dma_obio
1861.63Spkfile	arch/sparc/dev/dma_obio.c	dma_obio
1871.63Spk
1881.50Spkattach esp at obio with esp_obio
1891.63Spkfile	arch/sparc/dev/esp_obio.c	esp_obio
1901.1Sderaadt
1911.112Saugustssdevice	audioamd: audiobus, am7930
1921.91Saugustssattach	audioamd at mainbus with audioamd_mainbus
1931.91Saugustssattach	audioamd at sbus with audioamd_sbus
1941.91Saugustssfile	arch/sparc/dev/audioamd.c		audioamd
1951.92Saugustssfile	arch/sparc/sparc/amd7930intr.s		audioamd
1961.30Spk
1971.50Spkattach bwtwo at obio with bwtwo_obio
1981.84Schristosfile	arch/sparc/dev/bwtwo_obio.c	bwtwo_obio & obio
1991.1Sderaadt
2001.73Saddevice cgtwo: fb, rasops8
2011.50Spkattach cgtwo at vme
2021.10Spkfile	arch/sparc/dev/cgtwo.c		cgtwo needs-flag
2031.10Spk
2041.50Spkattach cgthree at obio with cgthree_obio
2051.95Spkfile	arch/sparc/dev/cgthree_obio.c	cgthree_obio & obio
2061.1Sderaadt
2071.95Spkdevice cgfour: bt_dac, fb, rasops8, pfour
2081.16Sthorpejattach cgfour at obio
2091.14Sthorpejfile	arch/sparc/dev/cgfour.c		cgfour needs-flag
2101.14Sthorpej
2111.50Spkattach cgsix at obio with cgsix_obio
2121.67Spkfile	arch/sparc/dev/cgsix_obio.c	cgsix_obio & obio
2131.1Sderaadt
2141.95Spkdevice cgeight: bt_dac, fb, rasops24, pfour
2151.16Sthorpejattach cgeight at obio
2161.14Sthorpejfile	arch/sparc/dev/cgeight.c	cgeight needs-flag
2171.25Spk
2181.73Saddevice cgfourteen: fb, rasops32
2191.29Sabrownattach cgfourteen at obio
2201.29Sabrownfile	arch/sparc/dev/cgfourteen.c	cgfourteen needs-flag
2211.1Sderaadt
2221.21Sthorpej# device definition in sys/conf/files
2231.57Sdrochnerattach le at obio with le_obio: le24
2241.60Spkfile	arch/sparc/dev/if_le_obio.c	le_obio
2251.2Scgd
2261.48Spkattach ie at obio with ie_obio
2271.48Spkfile	arch/sparc/dev/if_ie_obio.c	ie_obio
2281.81Smatt
2291.81Smattattach com at obio with com_obio
2301.81Smattfile	arch/sparc/dev/com_obio.c	com_obio
2311.106Suwe
2321.106Suweattach com at ebus with com_ebus
2331.106Suwefile	arch/sparc/dev/com_ebus.c	com_ebus
2341.93Spk
2351.49Sthorpejdevice sw: scsi, ncr5380sbc
2361.16Sthorpejattach sw at obio
2371.93Spkfile	arch/sparc/dev/sw.c		sw
2381.2Scgd
2391.24Spk#
2401.24Spk# Generic Sun stuff
2411.24Spk#
2421.24Spk
2431.45Sgwrfile	dev/cons.c
2441.2Scgd
2451.2Scgdfile	arch/sparc/fpu/fpu.c
2461.2Scgdfile	arch/sparc/fpu/fpu_add.c
2471.2Scgdfile	arch/sparc/fpu/fpu_compare.c
2481.2Scgdfile	arch/sparc/fpu/fpu_div.c
2491.2Scgdfile	arch/sparc/fpu/fpu_explode.c
2501.2Scgdfile	arch/sparc/fpu/fpu_implode.c
2511.2Scgdfile	arch/sparc/fpu/fpu_mul.c
2521.2Scgdfile	arch/sparc/fpu/fpu_sqrt.c
2531.2Scgdfile	arch/sparc/fpu/fpu_subr.c
2541.1Sderaadt
2551.2Scgdfile	arch/sparc/sparc/autoconf.c
2561.2Scgdfile	arch/sparc/sparc/cache.c
2571.2Scgdfile	arch/sparc/sparc/conf.c
2581.37Schristosfile	arch/sparc/sparc/emul.c
2591.2Scgdfile	arch/sparc/sparc/in_cksum.c
2601.2Scgdfile	arch/sparc/sparc/intr.c
2611.44Spkfile	arch/sparc/sparc/kgdb_machdep.c	kgdb
2621.1Sderaadt# sparc/sparc/locore.s is handled specially in the makefile,
2631.1Sderaadt# because it must come first in the "ld" command line.
2641.2Scgdfile	arch/sparc/sparc/locore2.c
2651.2Scgdfile	arch/sparc/sparc/machdep.c
2661.2Scgdfile	arch/sparc/sparc/process_machdep.c
2671.2Scgdfile	arch/sparc/sparc/mem.c
2681.70Spkfile	arch/sparc/sparc/promlib.c
2691.70Spkfile	arch/sparc/sparc/openfirm.c
2701.2Scgdfile	arch/sparc/sparc/openprom.c
2711.100Sfvdlfile	arch/sparc/sparc/procfs_machdep.c	procfs
2721.2Scgdfile	arch/sparc/sparc/pmap.c
2731.1Sderaadt# the following overrides the generic "sys_process.c"
2741.2Scgd# commented out by deraadt
2751.2Scgd#file	arch/sparc/sparc/sys_process.c
2761.2Scgdfile	arch/sparc/sparc/sys_machdep.c
2771.2Scgdfile	arch/sparc/sparc/trap.c
2781.2Scgdfile	arch/sparc/sparc/vm_machdep.c
2791.2Scgdfile	arch/sparc/sparc/disksubr.c
2801.2Scgd
2811.44Spkfile	arch/sparc/sparc/db_interface.c	ddb | kgdb
2821.2Scgdfile	arch/sparc/sparc/db_trace.c	ddb
2831.2Scgdfile	arch/sparc/sparc/db_disasm.c	ddb
2841.12Spk
2851.12Spk#
2861.12Spk# Raster Console
2871.12Spk#
2881.72Skleinkinclude "dev/rcons/files.rcons"
2891.72Skleinkinclude "dev/wsfont/files.wsfont"
2901.2Scgd
2911.2Scgd#
2921.2Scgd# Compatibility modules
2931.2Scgd#
2941.2Scgd
2951.2Scgd# SVR4 Binary Compatibility (COMPAT_SVR4)
2961.72Skleinkinclude "compat/svr4/files.svr4"
2971.102Smrgfile	arch/sparc/sparc/svr4_sigcode.s	compat_svr4
2981.2Scgdfile	arch/sparc/sparc/svr4_machdep.c	compat_svr4
2991.2Scgd
3001.2Scgd# SunOS Binary Compatibility (COMPAT_SUNOS)
3011.72Skleinkinclude "compat/sunos/files.sunos"
3021.102Smrgfile	arch/sparc/sparc/sunos_sigcode.s compat_sunos
3031.65Spkfile	arch/sparc/sparc/sunos_machdep.c compat_sunos
3041.74Smrg
3051.74Smrg# NetBSD a.out Binary Compatibility (COMPAT_AOUT)
3061.74Smrginclude "compat/aout/files.aout"
3071.65Spk
3081.65Spk# Binary compatibility with previous NetBSD releases (COMPAT_XX)
3091.77Spk# Note: SunOS compatibility also uses some of `compat_13_machdep.c'
3101.77Spkfile	arch/sparc/sparc/compat_13_machdep.c	compat_13 | compat_sunos
3111.15Spk
3121.15Spk# Miscellaneous
3131.15Spkfile	netns/ns_cksum.c		ns
3141.24Spk
3151.107Sjdolecekfile	dev/md_root.c			memory_disk_hooks
3161.117Sgehenna
3171.117Sgehennainclude "arch/sparc/conf/majors.sparc"
318