files.sparc revision 1.127
11.127Smatt#	$NetBSD: files.sparc,v 1.127 2004/03/17 18:10:51 matt 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.20Sthorpej
981.49Sthorpejdevice power
991.18Spkattach power at obio
1001.54Sthorpejfile	arch/sparc/dev/power.c			power	needs-flag
1011.1Sderaadt
1021.49Sthorpejdevice cpu
1031.114Sthorpejattach cpu at mainbus with cpu_mainbus
1041.114Sthorpejattach cpu at cpuunit with cpu_cpuunit
1051.2Scgdfile	arch/sparc/sparc/cpu.c
1061.1Sderaadt
1071.49Sthorpejdevice memreg
1081.50Spkattach memreg at mainbus with memreg_mainbus
1091.50Spkattach memreg at obio with memreg_obio
1101.2Scgdfile	arch/sparc/sparc/memreg.c
1111.66Spk
1121.66Spkdevice eccmemctl
1131.66Spkattach eccmemctl at mainbus
1141.66Spkfile	arch/sparc/sparc/memecc.c		eccmemctl
1151.1Sderaadt
1161.83Smattdevice tctrl
1171.83Smattattach tctrl at obio
1181.83Smattfile	arch/sparc/dev/tctrl.c			tctrl needs-flag
1191.83Smatt
1201.95Spkinclude "dev/sun/files.sun"
1211.95Spk
1221.49Sthorpejdevice zs {channel = -1}
1231.50Spkattach zs at mainbus with zs_mainbus
1241.50Spkattach zs at obio with zs_obio
1251.115Sthorpejattach zs at bootbus with zs_bootbus
1261.2Scgdfile	arch/sparc/dev/zs.c			zs needs-count
1271.45Sgwrfile	dev/ic/z8530sc.c			zs
1281.2Scgd
1291.120Suwedevice zstty {}: tty
1301.118Suweattach zstty at zs
1311.118Suwefile dev/ic/z8530tty.c				zstty needs-flag
1321.118Suwefile arch/sparc/dev/zs_kgdb.c			kgdb
1331.118Suwe
1341.49Sthorpejdevice fdc {}
1351.50Spkattach fdc at mainbus with fdc_mainbus
1361.50Spkattach fdc at obio with fdc_obio
1371.49Sthorpejdevice fd: disk
1381.16Sthorpejattach fd at fdc
1391.19Spkfile	arch/sparc/dev/fd.c			fdc | fd needs-flag
1401.19Spkfile	arch/sparc/sparc/bsd_fdintr.s		fdc
1411.1Sderaadt
1421.72Skleinkinclude "dev/sbus/files.sbus"
1431.50Spkattach sbus at mainbus with sbus_mainbus
1441.50Spkattach sbus at iommu with sbus_iommu
1451.87Spkfile	arch/sparc/dev/sbus.c			sbus needs-flag
1461.108Suwe
1471.108Suweattach	audiocs at ebus with audiocs_ebus
1481.108Suwefile	dev/ebus/cs4231_ebus.c			audiocs_ebus
1491.83Smatt
1501.83Smattdevice tpcic: pcmciabus
1511.83Smattattach tpcic at sbus
1521.83Smattfile	arch/sparc/dev/ts102.c			tpcic
1531.69Spk
1541.69Spk# PCMCIA bus
1551.72Skleinkinclude "dev/pcmcia/files.pcmcia"
1561.72Skleinkinclude "dev/ata/files.ata"
1571.18Spk
1581.118Suwe
1591.45Sgwr#
1601.118Suwe# Console related stuff
1611.45Sgwr#
1621.45Sgwr
1631.118Suwefile	arch/sparc/dev/kd.c				# console
1641.118Suwe
1651.126Sbjh21attach pckbc at obio with pckbc_obio: pckbport_machdep_cnattach
1661.126Sbjh21attach pckbc at ebus with pckbc_ebus: pckbport_machdep_cnattach
1671.118Suwefile	arch/sparc/dev/pckbc_js.c	pckbc_obio | pckbc_ebus
1681.45Sgwr
1691.45Sgwr
1701.118Suwe# sun keyboard at a serial port
1711.75Smrgattach kbd at zs with kbd_zs
1721.118Suwefile dev/sun/kbd_zs.c			kbd_zs		# kbd lower layer
1731.118Suwe
1741.118Suwe# sun keyboard at a tty line discipline
1751.120Suwe# only used by sparc64, but we can test-compile it here
1761.120Suwe#attach kbd at zstty with kbd_tty
1771.120Suwe#file	dev/sun/sunkbd.c		kbd_tty		# kbd lower layer
1781.45Sgwr
1791.118Suwe# shared middle layer for serial keyboard
1801.118Suwefile	dev/sun/kbdsun.c		kbd_zs | kbd_tty # kbd middle layer
1811.118Suwe
1821.118Suwe# PC/AT keyboard at 8042 (pckbc) for Mr.Coffee
1831.126Sbjh21attach kbd at pckbport with kbd_pckbport
1841.127Smattfile	arch/sparc/dev/kbd_pckbport.c	kbd_pckbport	# kbd mid/lower layers
1851.118Suwe
1861.118Suwe
1871.118Suwe# sun (mouse systems) mouse at a serial port
1881.75Smrgattach ms at zs with ms_zs
1891.118Suwefile	dev/sun/ms_zs.c			ms_zs		# mouse lower layer
1901.118Suwe
1911.118Suwe# sun (mouse systems) mouse at a tty line discipline
1921.120Suwe# only used by sparc64, but we can test-compile it here
1931.120Suwe#attach ms at zstty with ms_tty
1941.120Suwe#file	dev/sun/sunms.c			ms_tty		# mouse lower layer
1951.118Suwe
1961.118Suwe# XXX: middle layer for sun (mouse systems) serial mice consists of
1971.118Suwe# just one function in dev/sun/ms.c (upper layer).  Split it out?
1981.118Suwe
1991.118Suwe# PS/2 mouse at 8042 (pckbc) for Mr.Coffee
2001.126Sbjh21attach ms at pckbport with ms_pckbport
2011.126Sbjh21file	arch/sparc/dev/ms_pckbport.c	ms_pckbport	# lower/middle layers
2021.118Suwe
2031.2Scgd
2041.5Spk#
2051.5Spk# Machine-independent SCSI drivers
2061.5Spk#
2071.72Skleinkinclude "dev/scsipi/files.scsipi"
2081.1Sderaadt
2091.50Spkattach dma at obio with dma_obio
2101.63Spkfile	arch/sparc/dev/dma_obio.c	dma_obio
2111.63Spk
2121.50Spkattach esp at obio with esp_obio
2131.63Spkfile	arch/sparc/dev/esp_obio.c	esp_obio
2141.1Sderaadt
2151.112Saugustssdevice	audioamd: audiobus, am7930
2161.91Saugustssattach	audioamd at mainbus with audioamd_mainbus
2171.119Sjdcattach	audioamd at obio with audioamd_obio
2181.91Saugustssattach	audioamd at sbus with audioamd_sbus
2191.91Saugustssfile	arch/sparc/dev/audioamd.c		audioamd
2201.92Saugustssfile	arch/sparc/sparc/amd7930intr.s		audioamd
2211.30Spk
2221.50Spkattach bwtwo at obio with bwtwo_obio
2231.84Schristosfile	arch/sparc/dev/bwtwo_obio.c	bwtwo_obio & obio
2241.1Sderaadt
2251.73Saddevice cgtwo: fb, rasops8
2261.50Spkattach cgtwo at vme
2271.10Spkfile	arch/sparc/dev/cgtwo.c		cgtwo needs-flag
2281.10Spk
2291.50Spkattach cgthree at obio with cgthree_obio
2301.95Spkfile	arch/sparc/dev/cgthree_obio.c	cgthree_obio & obio
2311.1Sderaadt
2321.95Spkdevice cgfour: bt_dac, fb, rasops8, pfour
2331.16Sthorpejattach cgfour at obio
2341.14Sthorpejfile	arch/sparc/dev/cgfour.c		cgfour needs-flag
2351.14Sthorpej
2361.50Spkattach cgsix at obio with cgsix_obio
2371.67Spkfile	arch/sparc/dev/cgsix_obio.c	cgsix_obio & obio
2381.1Sderaadt
2391.95Spkdevice cgeight: bt_dac, fb, rasops24, pfour
2401.16Sthorpejattach cgeight at obio
2411.14Sthorpejfile	arch/sparc/dev/cgeight.c	cgeight needs-flag
2421.25Spk
2431.73Saddevice cgfourteen: fb, rasops32
2441.29Sabrownattach cgfourteen at obio
2451.29Sabrownfile	arch/sparc/dev/cgfourteen.c	cgfourteen needs-flag
2461.1Sderaadt
2471.21Sthorpej# device definition in sys/conf/files
2481.57Sdrochnerattach le at obio with le_obio: le24
2491.60Spkfile	arch/sparc/dev/if_le_obio.c	le_obio
2501.2Scgd
2511.48Spkattach ie at obio with ie_obio
2521.48Spkfile	arch/sparc/dev/if_ie_obio.c	ie_obio
2531.81Smatt
2541.81Smattattach com at obio with com_obio
2551.81Smattfile	arch/sparc/dev/com_obio.c	com_obio
2561.106Suwe
2571.106Suweattach com at ebus with com_ebus
2581.106Suwefile	arch/sparc/dev/com_ebus.c	com_ebus
2591.93Spk
2601.49Sthorpejdevice sw: scsi, ncr5380sbc
2611.16Sthorpejattach sw at obio
2621.93Spkfile	arch/sparc/dev/sw.c		sw
2631.2Scgd
2641.24Spk#
2651.24Spk# Generic Sun stuff
2661.24Spk#
2671.24Spk
2681.45Sgwrfile	dev/cons.c
2691.124Sbouyerfile	dev/sun/disksubr.c
2701.2Scgd
2711.2Scgdfile	arch/sparc/fpu/fpu.c
2721.2Scgdfile	arch/sparc/fpu/fpu_add.c
2731.2Scgdfile	arch/sparc/fpu/fpu_compare.c
2741.2Scgdfile	arch/sparc/fpu/fpu_div.c
2751.2Scgdfile	arch/sparc/fpu/fpu_explode.c
2761.2Scgdfile	arch/sparc/fpu/fpu_implode.c
2771.2Scgdfile	arch/sparc/fpu/fpu_mul.c
2781.2Scgdfile	arch/sparc/fpu/fpu_sqrt.c
2791.2Scgdfile	arch/sparc/fpu/fpu_subr.c
2801.1Sderaadt
2811.2Scgdfile	arch/sparc/sparc/autoconf.c
2821.2Scgdfile	arch/sparc/sparc/cache.c
2831.37Schristosfile	arch/sparc/sparc/emul.c
2841.2Scgdfile	arch/sparc/sparc/in_cksum.c
2851.2Scgdfile	arch/sparc/sparc/intr.c
2861.44Spkfile	arch/sparc/sparc/kgdb_machdep.c	kgdb
2871.1Sderaadt# sparc/sparc/locore.s is handled specially in the makefile,
2881.1Sderaadt# because it must come first in the "ld" command line.
2891.2Scgdfile	arch/sparc/sparc/machdep.c
2901.2Scgdfile	arch/sparc/sparc/process_machdep.c
2911.2Scgdfile	arch/sparc/sparc/mem.c
2921.70Spkfile	arch/sparc/sparc/promlib.c
2931.70Spkfile	arch/sparc/sparc/openfirm.c
2941.2Scgdfile	arch/sparc/sparc/openprom.c
2951.100Sfvdlfile	arch/sparc/sparc/procfs_machdep.c	procfs
2961.2Scgdfile	arch/sparc/sparc/pmap.c
2971.1Sderaadt# the following overrides the generic "sys_process.c"
2981.2Scgd# commented out by deraadt
2991.2Scgd#file	arch/sparc/sparc/sys_process.c
3001.2Scgdfile	arch/sparc/sparc/sys_machdep.c
3011.2Scgdfile	arch/sparc/sparc/trap.c
3021.2Scgdfile	arch/sparc/sparc/vm_machdep.c
3031.2Scgd
3041.44Spkfile	arch/sparc/sparc/db_interface.c	ddb | kgdb
3051.2Scgdfile	arch/sparc/sparc/db_trace.c	ddb
3061.2Scgdfile	arch/sparc/sparc/db_disasm.c	ddb
3071.12Spk
3081.118Suwe
3091.12Spk#
3101.118Suwe# Raster Console / WS Console
3111.12Spk#
3121.118Suweinclude "dev/wscons/files.wscons"	# includes rcons as well
3131.118Suweinclude "dev/wsfont/files.wsfont"	# both rcons and wscons need it
3141.118Suwe
3151.126Sbjh21include "dev/pckbport/files.pckbport"
3161.118Suwe
3171.2Scgd
3181.2Scgd#
3191.2Scgd# Compatibility modules
3201.2Scgd#
3211.2Scgd
3221.2Scgd# SVR4 Binary Compatibility (COMPAT_SVR4)
3231.72Skleinkinclude "compat/svr4/files.svr4"
3241.102Smrgfile	arch/sparc/sparc/svr4_sigcode.s	compat_svr4
3251.2Scgdfile	arch/sparc/sparc/svr4_machdep.c	compat_svr4
3261.2Scgd
3271.2Scgd# SunOS Binary Compatibility (COMPAT_SUNOS)
3281.72Skleinkinclude "compat/sunos/files.sunos"
3291.102Smrgfile	arch/sparc/sparc/sunos_sigcode.s compat_sunos
3301.65Spkfile	arch/sparc/sparc/sunos_machdep.c compat_sunos
3311.74Smrg
3321.74Smrg# NetBSD a.out Binary Compatibility (COMPAT_AOUT)
3331.74Smrginclude "compat/aout/files.aout"
3341.65Spk
3351.65Spk# Binary compatibility with previous NetBSD releases (COMPAT_XX)
3361.77Spk# Note: SunOS compatibility also uses some of `compat_13_machdep.c'
3371.77Spkfile	arch/sparc/sparc/compat_13_machdep.c	compat_13 | compat_sunos
3381.15Spk
3391.15Spk# Miscellaneous
3401.15Spkfile	netns/ns_cksum.c		ns
3411.24Spk
3421.107Sjdolecekfile	dev/md_root.c			memory_disk_hooks
3431.117Sgehenna
3441.117Sgehennainclude "arch/sparc/conf/majors.sparc"
345