files.sparc revision 1.143
11.143Sad#	$NetBSD: files.sparc,v 1.143 2008/01/06 18:04:01 ad 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.139Smacallan#
261.139Smacallan# Raster Console / WS Console
271.139Smacallan#
281.139Smacallaninclude "dev/wscons/files.wscons"	# includes rcons as well
291.139Smacallaninclude "dev/wsfont/files.wsfont"	# both rcons and wscons need it
301.139Smacallaninclude "dev/wsfb/files.wsfb"
311.139Smacallan
321.106Suweinclude "dev/i2o/files.i2o"
331.106Suweinclude "dev/pci/files.pci"
341.110Suwedevice mspcic {}: pcibus
351.110Suweattach mspcic at msiiep
361.110Suwefile	arch/sparc/sparc/msiiep.c		msiiep | mspcic
371.110Suwefile	arch/sparc/sparc/pci_machdep.c		msiiep | mspcic
381.106Suwe
391.129Sdrochnerdevice ebus {[addr = -1]}
401.106Suweattach ebus at pci
411.106Suwefile	arch/sparc/dev/ebus.c			ebus
421.106Suwe
431.106Suwedevice rtc
441.106Suweattach rtc at ebus with rtc_ebus
451.106Suwefile	arch/sparc/dev/rtc.c			rtc_ebus
461.106Suwe
471.49Sthorpejdevice iommu {}
481.32Spkattach iommu at mainbus
491.32Spkfile	arch/sparc/sparc/iommu.c		iommu
501.32Spk
511.50Spkdevice obio { [addr = -1], [level = -1] }
521.50Spkattach obio at mainbus
531.50Spk
541.115Sthorpejdevice cpuunit { }
551.115Sthorpejattach cpuunit at mainbus
561.115Sthorpejfile	arch/sparc/sparc/cpuunit.c		cpuunit
571.115Sthorpej
581.115Sthorpejdevice bootbus { [slot = -1], [offset = -1] }
591.115Sthorpejattach bootbus at cpuunit
601.115Sthorpejfile	arch/sparc/dev/bootbus.c		bootbus
611.115Sthorpej
621.72Skleinkinclude "dev/vme/files.vme"
631.80Sdrochnerdevice sparcvme: vmebus
641.78Sdrochnerattach sparcvme at mainbus with vme_mainbus
651.78Sdrochnerattach sparcvme at iommu with vme_iommu
661.39Spk
671.48Spkfile	arch/sparc/dev/obio.c		obio
681.78Sdrochnerfile	arch/sparc/dev/vme_machdep.c	sparcvme
691.1Sderaadt
701.49Sthorpejdevice auxreg
711.50Spkattach auxreg at mainbus with auxreg_mainbus
721.50Spkattach auxreg at obio with auxreg_obio
731.2Scgdfile	arch/sparc/sparc/auxreg.c
741.99Skleink
751.103Slukemdefflag	BLINK
761.88Sjdc
771.88Sjdcdevice auxiotwo
781.88Sjdcattach auxiotwo at obio with auxiotwo_obio
791.88Sjdcfile	arch/sparc/sparc/auxiotwo.c
801.1Sderaadt
811.98Spkdevice clock: mk48txx
821.50Spkattach clock at mainbus with clock_mainbus
831.50Spkattach clock at obio with clock_obio
841.128Schsattach clock at bootbus with clock_bootbus
851.109Spkfile	arch/sparc/sparc/mkclock.c		clock
861.20Sthorpej
871.98Spkdevice oclock: intersil7170
881.16Sthorpejattach oclock at obio
891.109Spkfile	arch/sparc/sparc/oclock.c		oclock
901.20Sthorpej
911.49Sthorpejdevice timer
921.50Spkattach timer at mainbus with timer_mainbus
931.50Spkattach timer at obio with timer_obio
941.109Spkattach timer at msiiep with timer_msiiep
951.116Sthorpejfile	arch/sparc/sparc/timer.c		timer & !msiiep
961.116Sthorpejfile	arch/sparc/sparc/timer_sun4.c		timer & (sun4 | sun4c)
971.116Sthorpejfile	arch/sparc/sparc/timer_sun4m.c		timer & sun4m & !msiiep
981.116Sthorpejfile	arch/sparc/sparc/timer_msiiep.c		timer & msiiep
991.20Sthorpej
1001.49Sthorpejdevice eeprom
1011.16Sthorpejattach eeprom at obio
1021.109Spkfile	arch/sparc/sparc/eeprom.c		eeprom
1031.98Spk
1041.2Scgdfile	arch/sparc/sparc/clock.c
1051.20Sthorpej
1061.49Sthorpejdevice power
1071.18Spkattach power at obio
1081.54Sthorpejfile	arch/sparc/dev/power.c			power	needs-flag
1091.1Sderaadt
1101.49Sthorpejdevice cpu
1111.114Sthorpejattach cpu at mainbus with cpu_mainbus
1121.114Sthorpejattach cpu at cpuunit with cpu_cpuunit
1131.2Scgdfile	arch/sparc/sparc/cpu.c
1141.1Sderaadt
1151.135Smacallandevice clkctrl
1161.135Smacallanattach clkctrl at obio
1171.135Smacallanfile	arch/sparc/sparc/clkctrl.c		clkctrl
1181.135Smacallan
1191.49Sthorpejdevice memreg
1201.50Spkattach memreg at mainbus with memreg_mainbus
1211.50Spkattach memreg at obio with memreg_obio
1221.2Scgdfile	arch/sparc/sparc/memreg.c
1231.66Spk
1241.66Spkdevice eccmemctl
1251.66Spkattach eccmemctl at mainbus
1261.66Spkfile	arch/sparc/sparc/memecc.c		eccmemctl
1271.1Sderaadt
1281.133Smacallandevice tctrl: sysmon_envsys, sysmon_power, sysmon_taskq
1291.83Smattattach tctrl at obio
1301.83Smattfile	arch/sparc/dev/tctrl.c			tctrl needs-flag
1311.83Smatt
1321.95Spkinclude "dev/sun/files.sun"
1331.95Spk
1341.128Schsdevice zs { [channel = -1] }
1351.50Spkattach zs at mainbus with zs_mainbus
1361.50Spkattach zs at obio with zs_obio
1371.115Sthorpejattach zs at bootbus with zs_bootbus
1381.128Schsfile	arch/sparc/dev/zs.c			zs
1391.45Sgwrfile	dev/ic/z8530sc.c			zs
1401.2Scgd
1411.120Suwedevice zstty {}: tty
1421.118Suweattach zstty at zs
1431.128Schsfile dev/ic/z8530tty.c				zstty
1441.118Suwefile arch/sparc/dev/zs_kgdb.c			kgdb
1451.118Suwe
1461.49Sthorpejdevice fdc {}
1471.50Spkattach fdc at mainbus with fdc_mainbus
1481.50Spkattach fdc at obio with fdc_obio
1491.49Sthorpejdevice fd: disk
1501.16Sthorpejattach fd at fdc
1511.19Spkfile	arch/sparc/dev/fd.c			fdc | fd needs-flag
1521.19Spkfile	arch/sparc/sparc/bsd_fdintr.s		fdc
1531.1Sderaadt
1541.72Skleinkinclude "dev/sbus/files.sbus"
1551.50Spkattach sbus at mainbus with sbus_mainbus
1561.50Spkattach sbus at iommu with sbus_iommu
1571.87Spkfile	arch/sparc/dev/sbus.c			sbus needs-flag
1581.108Suwe
1591.108Suweattach	audiocs at ebus with audiocs_ebus
1601.108Suwefile	dev/ebus/cs4231_ebus.c			audiocs_ebus
1611.83Smatt
1621.132Smacallandevice tslot: pcmciabus
1631.132Smacallanattach tslot at sbus
1641.132Smacallanfile	arch/sparc/dev/ts102.c			tslot
1651.69Spk
1661.69Spk# PCMCIA bus
1671.72Skleinkinclude "dev/pcmcia/files.pcmcia"
1681.72Skleinkinclude "dev/ata/files.ata"
1691.18Spk
1701.45Sgwr#
1711.118Suwe# Console related stuff
1721.45Sgwr#
1731.45Sgwr
1741.118Suwefile	arch/sparc/dev/kd.c				# console
1751.118Suwe
1761.126Sbjh21attach pckbc at obio with pckbc_obio: pckbport_machdep_cnattach
1771.126Sbjh21attach pckbc at ebus with pckbc_ebus: pckbport_machdep_cnattach
1781.118Suwefile	arch/sparc/dev/pckbc_js.c	pckbc_obio | pckbc_ebus
1791.45Sgwr
1801.45Sgwr
1811.118Suwe# sun keyboard at a serial port
1821.75Smrgattach kbd at zs with kbd_zs
1831.118Suwefile dev/sun/kbd_zs.c			kbd_zs		# kbd lower layer
1841.118Suwe
1851.118Suwe# sun keyboard at a tty line discipline
1861.120Suwe# only used by sparc64, but we can test-compile it here
1871.131Smacallanattach kbd at zstty with kbd_tty
1881.131Smacallanfile	dev/sun/sunkbd.c		kbd_tty		# kbd lower layer
1891.131Smacallan
1901.45Sgwr
1911.118Suwe# shared middle layer for serial keyboard
1921.118Suwefile	dev/sun/kbdsun.c		kbd_zs | kbd_tty # kbd middle layer
1931.118Suwe
1941.118Suwe# PC/AT keyboard at 8042 (pckbc) for Mr.Coffee
1951.126Sbjh21attach kbd at pckbport with kbd_pckbport
1961.127Smattfile	arch/sparc/dev/kbd_pckbport.c	kbd_pckbport	# kbd mid/lower layers
1971.118Suwe
1981.118Suwe
1991.118Suwe# sun (mouse systems) mouse at a serial port
2001.75Smrgattach ms at zs with ms_zs
2011.118Suwefile	dev/sun/ms_zs.c			ms_zs		# mouse lower layer
2021.118Suwe
2031.118Suwe# sun (mouse systems) mouse at a tty line discipline
2041.120Suwe# only used by sparc64, but we can test-compile it here
2051.131Smacallanattach ms at zstty with ms_tty
2061.131Smacallanfile	dev/sun/sunms.c			ms_tty		# mouse lower layer
2071.118Suwe
2081.118Suwe# XXX: middle layer for sun (mouse systems) serial mice consists of
2091.118Suwe# just one function in dev/sun/ms.c (upper layer).  Split it out?
2101.118Suwe
2111.118Suwe# PS/2 mouse at 8042 (pckbc) for Mr.Coffee
2121.126Sbjh21attach ms at pckbport with ms_pckbport
2131.126Sbjh21file	arch/sparc/dev/ms_pckbport.c	ms_pckbport	# lower/middle layers
2141.118Suwe
2151.2Scgd
2161.5Spk#
2171.5Spk# Machine-independent SCSI drivers
2181.5Spk#
2191.72Skleinkinclude "dev/scsipi/files.scsipi"
2201.1Sderaadt
2211.50Spkattach dma at obio with dma_obio
2221.63Spkfile	arch/sparc/dev/dma_obio.c	dma_obio
2231.63Spk
2241.50Spkattach esp at obio with esp_obio
2251.63Spkfile	arch/sparc/dev/esp_obio.c	esp_obio
2261.1Sderaadt
2271.112Saugustssdevice	audioamd: audiobus, am7930
2281.91Saugustssattach	audioamd at mainbus with audioamd_mainbus
2291.119Sjdcattach	audioamd at obio with audioamd_obio
2301.91Saugustssattach	audioamd at sbus with audioamd_sbus
2311.91Saugustssfile	arch/sparc/dev/audioamd.c		audioamd
2321.92Saugustssfile	arch/sparc/sparc/amd7930intr.s		audioamd
2331.30Spk
2341.50Spkattach bwtwo at obio with bwtwo_obio
2351.84Schristosfile	arch/sparc/dev/bwtwo_obio.c	bwtwo_obio & obio
2361.1Sderaadt
2371.73Saddevice cgtwo: fb, rasops8
2381.50Spkattach cgtwo at vme
2391.10Spkfile	arch/sparc/dev/cgtwo.c		cgtwo needs-flag
2401.10Spk
2411.50Spkattach cgthree at obio with cgthree_obio
2421.95Spkfile	arch/sparc/dev/cgthree_obio.c	cgthree_obio & obio
2431.1Sderaadt
2441.95Spkdevice cgfour: bt_dac, fb, rasops8, pfour
2451.16Sthorpejattach cgfour at obio
2461.14Sthorpejfile	arch/sparc/dev/cgfour.c		cgfour needs-flag
2471.14Sthorpej
2481.50Spkattach cgsix at obio with cgsix_obio
2491.67Spkfile	arch/sparc/dev/cgsix_obio.c	cgsix_obio & obio
2501.1Sderaadt
2511.95Spkdevice cgeight: bt_dac, fb, rasops24, pfour
2521.16Sthorpejattach cgeight at obio
2531.14Sthorpejfile	arch/sparc/dev/cgeight.c	cgeight needs-flag
2541.25Spk
2551.141Smacallandevice cgfourteen: fb, rasops32, rasops8, wsemuldisplaydev
2561.29Sabrownattach cgfourteen at obio
2571.29Sabrownfile	arch/sparc/dev/cgfourteen.c	cgfourteen needs-flag
2581.1Sderaadt
2591.21Sthorpej# device definition in sys/conf/files
2601.57Sdrochnerattach le at obio with le_obio: le24
2611.60Spkfile	arch/sparc/dev/if_le_obio.c	le_obio
2621.2Scgd
2631.48Spkattach ie at obio with ie_obio
2641.48Spkfile	arch/sparc/dev/if_ie_obio.c	ie_obio
2651.81Smatt
2661.81Smattattach com at obio with com_obio
2671.81Smattfile	arch/sparc/dev/com_obio.c	com_obio
2681.106Suwe
2691.106Suweattach com at ebus with com_ebus
2701.106Suwefile	arch/sparc/dev/com_ebus.c	com_ebus
2711.93Spk
2721.49Sthorpejdevice sw: scsi, ncr5380sbc
2731.16Sthorpejattach sw at obio
2741.93Spkfile	arch/sparc/dev/sw.c		sw
2751.2Scgd
2761.24Spk#
2771.24Spk# Generic Sun stuff
2781.24Spk#
2791.24Spk
2801.45Sgwrfile	dev/cons.c
2811.124Sbouyerfile	dev/sun/disksubr.c
2821.2Scgd
2831.2Scgdfile	arch/sparc/fpu/fpu.c
2841.2Scgdfile	arch/sparc/fpu/fpu_add.c
2851.2Scgdfile	arch/sparc/fpu/fpu_compare.c
2861.2Scgdfile	arch/sparc/fpu/fpu_div.c
2871.2Scgdfile	arch/sparc/fpu/fpu_explode.c
2881.2Scgdfile	arch/sparc/fpu/fpu_implode.c
2891.2Scgdfile	arch/sparc/fpu/fpu_mul.c
2901.2Scgdfile	arch/sparc/fpu/fpu_sqrt.c
2911.2Scgdfile	arch/sparc/fpu/fpu_subr.c
2921.1Sderaadt
2931.2Scgdfile	arch/sparc/sparc/autoconf.c
2941.2Scgdfile	arch/sparc/sparc/cache.c
2951.37Schristosfile	arch/sparc/sparc/emul.c
2961.2Scgdfile	arch/sparc/sparc/in_cksum.c
2971.2Scgdfile	arch/sparc/sparc/intr.c
2981.44Spkfile	arch/sparc/sparc/kgdb_machdep.c	kgdb
2991.143Sadfile	arch/sparc/sparc/kobj_machdep.c		modular
3001.1Sderaadt# sparc/sparc/locore.s is handled specially in the makefile,
3011.1Sderaadt# because it must come first in the "ld" command line.
3021.137Sadfile	arch/sparc/sparc/lock_stubs.s
3031.2Scgdfile	arch/sparc/sparc/machdep.c
3041.2Scgdfile	arch/sparc/sparc/process_machdep.c
3051.2Scgdfile	arch/sparc/sparc/mem.c
3061.70Spkfile	arch/sparc/sparc/promlib.c
3071.70Spkfile	arch/sparc/sparc/openfirm.c
3081.2Scgdfile	arch/sparc/sparc/openprom.c
3091.100Sfvdlfile	arch/sparc/sparc/procfs_machdep.c	procfs
3101.2Scgdfile	arch/sparc/sparc/pmap.c
3111.134Schristosfile	arch/sparc/sparc/syscall.c
3121.2Scgdfile	arch/sparc/sparc/sys_machdep.c
3131.2Scgdfile	arch/sparc/sparc/trap.c
3141.2Scgdfile	arch/sparc/sparc/vm_machdep.c
3151.2Scgd
3161.44Spkfile	arch/sparc/sparc/db_interface.c	ddb | kgdb
3171.2Scgdfile	arch/sparc/sparc/db_trace.c	ddb
3181.2Scgdfile	arch/sparc/sparc/db_disasm.c	ddb
3191.12Spk
3201.126Sbjh21include "dev/pckbport/files.pckbport"
3211.118Suwe
3221.138Sjdc# USB Support
3231.138Sjdcinclude "dev/usb/files.usb"
3241.2Scgd
3251.2Scgd#
3261.2Scgd# Compatibility modules
3271.2Scgd#
3281.2Scgd
3291.2Scgd# SVR4 Binary Compatibility (COMPAT_SVR4)
3301.72Skleinkinclude "compat/svr4/files.svr4"
3311.102Smrgfile	arch/sparc/sparc/svr4_sigcode.s	compat_svr4
3321.2Scgdfile	arch/sparc/sparc/svr4_machdep.c	compat_svr4
3331.2Scgd
3341.2Scgd# SunOS Binary Compatibility (COMPAT_SUNOS)
3351.72Skleinkinclude "compat/sunos/files.sunos"
3361.102Smrgfile	arch/sparc/sparc/sunos_sigcode.s compat_sunos
3371.65Spkfile	arch/sparc/sparc/sunos_machdep.c compat_sunos
3381.74Smrg
3391.65Spk# Binary compatibility with previous NetBSD releases (COMPAT_XX)
3401.77Spk# Note: SunOS compatibility also uses some of `compat_13_machdep.c'
3411.77Spkfile	arch/sparc/sparc/compat_13_machdep.c	compat_13 | compat_sunos
3421.15Spk
3431.15Spk# Miscellaneous
3441.107Sjdolecekfile	dev/md_root.c			memory_disk_hooks
3451.117Sgehenna
3461.117Sgehennainclude "arch/sparc/conf/majors.sparc"
347