files.sparc revision 1.109
11.109Spk#	$NetBSD: files.sparc,v 1.109 2002/03/28 11:54:16 pk 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.109Spkdevice 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.109Spkfile	arch/sparc/sparc/mkclock.c		clock
661.20Sthorpej
671.98Spkdevice oclock: intersil7170
681.16Sthorpejattach oclock at obio
691.109Spkfile	arch/sparc/sparc/oclock.c		oclock
701.20Sthorpej
711.49Sthorpejdevice timer
721.50Spkattach timer at mainbus with timer_mainbus
731.50Spkattach timer at obio with timer_obio
741.109Spkattach timer at msiiep with timer_msiiep
751.109Spkfile	arch/sparc/sparc/timer.c		timer
761.20Sthorpej
771.49Sthorpejdevice eeprom
781.16Sthorpejattach eeprom at obio
791.109Spkfile	arch/sparc/sparc/eeprom.c		eeprom
801.98Spk
811.2Scgdfile	arch/sparc/sparc/clock.c
821.98Spkfile	dev/clock_subr.c
831.20Sthorpej
841.49Sthorpejdevice power
851.18Spkattach power at obio
861.54Sthorpejfile	arch/sparc/dev/power.c			power	needs-flag
871.1Sderaadt
881.49Sthorpejdevice cpu
891.16Sthorpejattach cpu at mainbus
901.2Scgdfile	arch/sparc/sparc/cpu.c
911.1Sderaadt
921.49Sthorpejdevice memreg
931.50Spkattach memreg at mainbus with memreg_mainbus
941.50Spkattach memreg at obio with memreg_obio
951.2Scgdfile	arch/sparc/sparc/memreg.c
961.66Spk
971.66Spkdevice eccmemctl
981.66Spkattach eccmemctl at mainbus
991.66Spkfile	arch/sparc/sparc/memecc.c		eccmemctl
1001.1Sderaadt
1011.83Smattdevice tctrl
1021.83Smattattach tctrl at obio
1031.83Smattfile	arch/sparc/dev/tctrl.c			tctrl needs-flag
1041.83Smatt
1051.95Spkinclude "dev/sun/files.sun"
1061.95Spk
1071.49Sthorpejdevice zs {channel = -1}
1081.50Spkattach zs at mainbus with zs_mainbus
1091.50Spkattach zs at obio with zs_obio
1101.2Scgdfile	arch/sparc/dev/zs.c			zs needs-count
1111.45Sgwrfile	dev/ic/z8530sc.c			zs
1121.2Scgd
1131.49Sthorpejdevice fdc {}
1141.50Spkattach fdc at mainbus with fdc_mainbus
1151.50Spkattach fdc at obio with fdc_obio
1161.49Sthorpejdevice fd: disk
1171.16Sthorpejattach fd at fdc
1181.19Spkfile	arch/sparc/dev/fd.c			fdc | fd needs-flag
1191.19Spkfile	arch/sparc/sparc/bsd_fdintr.s		fdc
1201.1Sderaadt
1211.72Skleinkinclude "dev/sbus/files.sbus"
1221.50Spkattach sbus at mainbus with sbus_mainbus
1231.50Spkattach sbus at iommu with sbus_iommu
1241.87Spkfile	arch/sparc/dev/sbus.c			sbus needs-flag
1251.108Suwe
1261.108Suweattach	audiocs at ebus with audiocs_ebus
1271.108Suwefile	dev/ebus/cs4231_ebus.c			audiocs_ebus
1281.83Smatt
1291.83Smattdevice tpcic: pcmciabus
1301.83Smattattach tpcic at sbus
1311.83Smattfile	arch/sparc/dev/ts102.c			tpcic
1321.69Spk
1331.69Spk# network devices MII bus
1341.72Skleinkinclude "dev/mii/files.mii"
1351.69Spk
1361.69Spk# PCMCIA bus
1371.72Skleinkinclude "dev/pcmcia/files.pcmcia"
1381.72Skleinkinclude "dev/ata/files.ata"
1391.18Spk
1401.45Sgwr#
1411.45Sgwr# Console (zs) related stuff
1421.45Sgwr#
1431.45Sgwr
1441.49Sthorpejdevice zstty: tty
1451.45Sgwrattach zstty at zs
1461.45Sgwrfile dev/ic/z8530tty.c			zstty needs-flag
1471.45Sgwrfile arch/sparc/dev/zs_kgdb.c		kgdb
1481.45Sgwr
1491.45Sgwrdefine zsevent
1501.95Spk#file dev/sun/event.c			zsevent
1511.45Sgwr
1521.49Sthorpejdevice kbd: zsevent
1531.75Smrgattach kbd at zs with kbd_zs
1541.75Smrgfile dev/sun/kbd_zs.c			kbd_zs
1551.45Sgwrfile dev/sun/kbd.c			kbd needs-flag
1561.45Sgwrfile dev/sun/kbd_tables.c 		kbd
1571.97Schristosfile dev/sun/sunkbd.c			kbd
1581.90Spkfile arch/sparc/dev/kd.c
1591.45Sgwr
1601.49Sthorpejdevice ms: zsevent
1611.75Smrgattach ms at zs with ms_zs
1621.75Smrgfile dev/sun/ms_zs.c			ms_zs
1631.45Sgwrfile dev/sun/ms.c			ms needs-flag
1641.97Schristosfile dev/sun/sunms.c			ms
1651.2Scgd
1661.5Spk#
1671.5Spk# Machine-independent SCSI drivers
1681.5Spk#
1691.72Skleinkinclude "dev/scsipi/files.scsipi"
1701.1Sderaadt
1711.64Spkmajor	{ cd = 18 }
1721.64Spkmajor	{ fd = 16 }
1731.64Spkmajor	{ md = 5 }
1741.64Spkmajor	{ sd = 7 }
1751.64Spkmajor	{ xd = 10 }
1761.64Spkmajor	{ xy = 3 }
1771.89Soster
1781.89Soster# RAIDframe
1791.89Sostermajor 	{ raid = 25 }
1801.2Scgd
1811.50Spkattach dma at obio with dma_obio
1821.63Spkfile	arch/sparc/dev/dma_obio.c	dma_obio
1831.63Spk
1841.50Spkattach esp at obio with esp_obio
1851.63Spkfile	arch/sparc/dev/esp_obio.c	esp_obio
1861.1Sderaadt
1871.91Saugustssdevice	audioamd: audio, am7930
1881.91Saugustssattach	audioamd at mainbus with audioamd_mainbus
1891.91Saugustssattach	audioamd at sbus with audioamd_sbus
1901.91Saugustssfile	arch/sparc/dev/audioamd.c		audioamd
1911.92Saugustssfile	arch/sparc/sparc/amd7930intr.s		audioamd
1921.30Spk
1931.50Spkattach bwtwo at obio with bwtwo_obio
1941.84Schristosfile	arch/sparc/dev/bwtwo_obio.c	bwtwo_obio & obio
1951.1Sderaadt
1961.73Saddevice cgtwo: fb, rasops8
1971.50Spkattach cgtwo at vme
1981.10Spkfile	arch/sparc/dev/cgtwo.c		cgtwo needs-flag
1991.10Spk
2001.50Spkattach cgthree at obio with cgthree_obio
2011.95Spkfile	arch/sparc/dev/cgthree_obio.c	cgthree_obio & obio
2021.1Sderaadt
2031.95Spkdevice cgfour: bt_dac, fb, rasops8, pfour
2041.16Sthorpejattach cgfour at obio
2051.14Sthorpejfile	arch/sparc/dev/cgfour.c		cgfour needs-flag
2061.14Sthorpej
2071.50Spkattach cgsix at obio with cgsix_obio
2081.67Spkfile	arch/sparc/dev/cgsix_obio.c	cgsix_obio & obio
2091.1Sderaadt
2101.95Spkdevice cgeight: bt_dac, fb, rasops24, pfour
2111.16Sthorpejattach cgeight at obio
2121.14Sthorpejfile	arch/sparc/dev/cgeight.c	cgeight needs-flag
2131.25Spk
2141.73Saddevice cgfourteen: fb, rasops32
2151.29Sabrownattach cgfourteen at obio
2161.29Sabrownfile	arch/sparc/dev/cgfourteen.c	cgfourteen needs-flag
2171.1Sderaadt
2181.21Sthorpej# device definition in sys/conf/files
2191.57Sdrochnerattach le at obio with le_obio: le24
2201.60Spkfile	arch/sparc/dev/if_le_obio.c	le_obio
2211.2Scgd
2221.48Spkattach ie at obio with ie_obio
2231.48Spkfile	arch/sparc/dev/if_ie_obio.c	ie_obio
2241.81Smatt
2251.81Smattattach com at obio with com_obio
2261.81Smattfile	arch/sparc/dev/com_obio.c	com_obio
2271.106Suwe
2281.106Suweattach com at ebus with com_ebus
2291.106Suwefile	arch/sparc/dev/com_ebus.c	com_ebus
2301.93Spk
2311.49Sthorpejdevice sw: scsi, ncr5380sbc
2321.16Sthorpejattach sw at obio
2331.93Spkfile	arch/sparc/dev/sw.c		sw
2341.2Scgd
2351.24Spk#
2361.24Spk# Generic Sun stuff
2371.24Spk#
2381.24Spk
2391.45Sgwrfile	dev/cons.c
2401.2Scgd
2411.2Scgdfile	arch/sparc/fpu/fpu.c
2421.2Scgdfile	arch/sparc/fpu/fpu_add.c
2431.2Scgdfile	arch/sparc/fpu/fpu_compare.c
2441.2Scgdfile	arch/sparc/fpu/fpu_div.c
2451.2Scgdfile	arch/sparc/fpu/fpu_explode.c
2461.2Scgdfile	arch/sparc/fpu/fpu_implode.c
2471.2Scgdfile	arch/sparc/fpu/fpu_mul.c
2481.2Scgdfile	arch/sparc/fpu/fpu_sqrt.c
2491.2Scgdfile	arch/sparc/fpu/fpu_subr.c
2501.1Sderaadt
2511.2Scgdfile	arch/sparc/sparc/autoconf.c
2521.2Scgdfile	arch/sparc/sparc/cache.c
2531.2Scgdfile	arch/sparc/sparc/conf.c
2541.37Schristosfile	arch/sparc/sparc/emul.c
2551.2Scgdfile	arch/sparc/sparc/in_cksum.c
2561.2Scgdfile	arch/sparc/sparc/intr.c
2571.44Spkfile	arch/sparc/sparc/kgdb_machdep.c	kgdb
2581.1Sderaadt# sparc/sparc/locore.s is handled specially in the makefile,
2591.1Sderaadt# because it must come first in the "ld" command line.
2601.2Scgdfile	arch/sparc/sparc/locore2.c
2611.2Scgdfile	arch/sparc/sparc/machdep.c
2621.2Scgdfile	arch/sparc/sparc/process_machdep.c
2631.2Scgdfile	arch/sparc/sparc/mem.c
2641.70Spkfile	arch/sparc/sparc/promlib.c
2651.70Spkfile	arch/sparc/sparc/openfirm.c
2661.2Scgdfile	arch/sparc/sparc/openprom.c
2671.100Sfvdlfile	arch/sparc/sparc/procfs_machdep.c	procfs
2681.2Scgdfile	arch/sparc/sparc/pmap.c
2691.1Sderaadt# the following overrides the generic "sys_process.c"
2701.2Scgd# commented out by deraadt
2711.2Scgd#file	arch/sparc/sparc/sys_process.c
2721.2Scgdfile	arch/sparc/sparc/sys_machdep.c
2731.2Scgdfile	arch/sparc/sparc/trap.c
2741.2Scgdfile	arch/sparc/sparc/vm_machdep.c
2751.2Scgdfile	arch/sparc/sparc/disksubr.c
2761.2Scgd
2771.44Spkfile	arch/sparc/sparc/db_interface.c	ddb | kgdb
2781.2Scgdfile	arch/sparc/sparc/db_trace.c	ddb
2791.2Scgdfile	arch/sparc/sparc/db_disasm.c	ddb
2801.12Spk
2811.12Spk#
2821.12Spk# Raster Console
2831.12Spk#
2841.72Skleinkinclude "dev/rcons/files.rcons"
2851.72Skleinkinclude "dev/wsfont/files.wsfont"
2861.2Scgd
2871.2Scgd#
2881.2Scgd# Compatibility modules
2891.2Scgd#
2901.2Scgd
2911.2Scgd# SVR4 Binary Compatibility (COMPAT_SVR4)
2921.72Skleinkinclude "compat/svr4/files.svr4"
2931.102Smrgfile	arch/sparc/sparc/svr4_sigcode.s	compat_svr4
2941.2Scgdfile	arch/sparc/sparc/svr4_machdep.c	compat_svr4
2951.2Scgd
2961.2Scgd# SunOS Binary Compatibility (COMPAT_SUNOS)
2971.72Skleinkinclude "compat/sunos/files.sunos"
2981.102Smrgfile	arch/sparc/sparc/sunos_sigcode.s compat_sunos
2991.65Spkfile	arch/sparc/sparc/sunos_machdep.c compat_sunos
3001.74Smrg
3011.74Smrg# NetBSD a.out Binary Compatibility (COMPAT_AOUT)
3021.74Smrginclude "compat/aout/files.aout"
3031.65Spk
3041.65Spk# Binary compatibility with previous NetBSD releases (COMPAT_XX)
3051.77Spk# Note: SunOS compatibility also uses some of `compat_13_machdep.c'
3061.77Spkfile	arch/sparc/sparc/compat_13_machdep.c	compat_13 | compat_sunos
3071.15Spk
3081.15Spk# Miscellaneous
3091.15Spkfile	netns/ns_cksum.c		ns
3101.24Spk
3111.107Sjdolecekfile	dev/md_root.c			memory_disk_hooks
312