files.sparc revision 1.108
11.108Suwe#	$NetBSD: files.sparc,v 1.108 2002/03/12 04:48:29 uwe 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.106Suwedevice 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.20Sthorpej
661.98Spkdevice oclock: intersil7170
671.16Sthorpejattach oclock at obio
681.20Sthorpej
691.49Sthorpejdevice timer
701.50Spkattach timer at mainbus with timer_mainbus
711.50Spkattach timer at obio with timer_obio
721.20Sthorpej
731.49Sthorpejdevice eeprom
741.16Sthorpejattach eeprom at obio
751.98Spk
761.2Scgdfile	arch/sparc/sparc/clock.c
771.98Spkfile	dev/clock_subr.c
781.20Sthorpej
791.49Sthorpejdevice power
801.18Spkattach power at obio
811.54Sthorpejfile	arch/sparc/dev/power.c			power	needs-flag
821.1Sderaadt
831.49Sthorpejdevice cpu
841.16Sthorpejattach cpu at mainbus
851.2Scgdfile	arch/sparc/sparc/cpu.c
861.1Sderaadt
871.49Sthorpejdevice memreg
881.50Spkattach memreg at mainbus with memreg_mainbus
891.50Spkattach memreg at obio with memreg_obio
901.2Scgdfile	arch/sparc/sparc/memreg.c
911.66Spk
921.66Spkdevice eccmemctl
931.66Spkattach eccmemctl at mainbus
941.66Spkfile	arch/sparc/sparc/memecc.c		eccmemctl
951.1Sderaadt
961.83Smattdevice tctrl
971.83Smattattach tctrl at obio
981.83Smattfile	arch/sparc/dev/tctrl.c			tctrl needs-flag
991.83Smatt
1001.95Spkinclude "dev/sun/files.sun"
1011.95Spk
1021.49Sthorpejdevice zs {channel = -1}
1031.50Spkattach zs at mainbus with zs_mainbus
1041.50Spkattach zs at obio with zs_obio
1051.2Scgdfile	arch/sparc/dev/zs.c			zs needs-count
1061.45Sgwrfile	dev/ic/z8530sc.c			zs
1071.2Scgd
1081.49Sthorpejdevice fdc {}
1091.50Spkattach fdc at mainbus with fdc_mainbus
1101.50Spkattach fdc at obio with fdc_obio
1111.49Sthorpejdevice fd: disk
1121.16Sthorpejattach fd at fdc
1131.19Spkfile	arch/sparc/dev/fd.c			fdc | fd needs-flag
1141.19Spkfile	arch/sparc/sparc/bsd_fdintr.s		fdc
1151.1Sderaadt
1161.72Skleinkinclude "dev/sbus/files.sbus"
1171.50Spkattach sbus at mainbus with sbus_mainbus
1181.50Spkattach sbus at iommu with sbus_iommu
1191.87Spkfile	arch/sparc/dev/sbus.c			sbus needs-flag
1201.108Suwe
1211.108Suweattach	audiocs at ebus with audiocs_ebus
1221.108Suwefile	dev/ebus/cs4231_ebus.c			audiocs_ebus
1231.83Smatt
1241.83Smattdevice tpcic: pcmciabus
1251.83Smattattach tpcic at sbus
1261.83Smattfile	arch/sparc/dev/ts102.c			tpcic
1271.69Spk
1281.69Spk# network devices MII bus
1291.72Skleinkinclude "dev/mii/files.mii"
1301.69Spk
1311.69Spk# PCMCIA bus
1321.72Skleinkinclude "dev/pcmcia/files.pcmcia"
1331.72Skleinkinclude "dev/ata/files.ata"
1341.18Spk
1351.45Sgwr#
1361.45Sgwr# Console (zs) related stuff
1371.45Sgwr#
1381.45Sgwr
1391.49Sthorpejdevice zstty: tty
1401.45Sgwrattach zstty at zs
1411.45Sgwrfile dev/ic/z8530tty.c			zstty needs-flag
1421.45Sgwrfile arch/sparc/dev/zs_kgdb.c		kgdb
1431.45Sgwr
1441.45Sgwrdefine zsevent
1451.95Spk#file dev/sun/event.c			zsevent
1461.45Sgwr
1471.49Sthorpejdevice kbd: zsevent
1481.75Smrgattach kbd at zs with kbd_zs
1491.75Smrgfile dev/sun/kbd_zs.c			kbd_zs
1501.45Sgwrfile dev/sun/kbd.c			kbd needs-flag
1511.45Sgwrfile dev/sun/kbd_tables.c 		kbd
1521.97Schristosfile dev/sun/sunkbd.c			kbd
1531.90Spkfile arch/sparc/dev/kd.c
1541.45Sgwr
1551.49Sthorpejdevice ms: zsevent
1561.75Smrgattach ms at zs with ms_zs
1571.75Smrgfile dev/sun/ms_zs.c			ms_zs
1581.45Sgwrfile dev/sun/ms.c			ms needs-flag
1591.97Schristosfile dev/sun/sunms.c			ms
1601.2Scgd
1611.5Spk#
1621.5Spk# Machine-independent SCSI drivers
1631.5Spk#
1641.72Skleinkinclude "dev/scsipi/files.scsipi"
1651.1Sderaadt
1661.64Spkmajor	{ cd = 18 }
1671.64Spkmajor	{ fd = 16 }
1681.64Spkmajor	{ md = 5 }
1691.64Spkmajor	{ sd = 7 }
1701.64Spkmajor	{ xd = 10 }
1711.64Spkmajor	{ xy = 3 }
1721.89Soster
1731.89Soster# RAIDframe
1741.89Sostermajor 	{ raid = 25 }
1751.2Scgd
1761.50Spkattach dma at obio with dma_obio
1771.63Spkfile	arch/sparc/dev/dma_obio.c	dma_obio
1781.63Spk
1791.50Spkattach esp at obio with esp_obio
1801.63Spkfile	arch/sparc/dev/esp_obio.c	esp_obio
1811.1Sderaadt
1821.91Saugustssdevice	audioamd: audio, am7930
1831.91Saugustssattach	audioamd at mainbus with audioamd_mainbus
1841.91Saugustssattach	audioamd at sbus with audioamd_sbus
1851.91Saugustssfile	arch/sparc/dev/audioamd.c		audioamd
1861.92Saugustssfile	arch/sparc/sparc/amd7930intr.s		audioamd
1871.30Spk
1881.50Spkattach bwtwo at obio with bwtwo_obio
1891.84Schristosfile	arch/sparc/dev/bwtwo_obio.c	bwtwo_obio & obio
1901.1Sderaadt
1911.73Saddevice cgtwo: fb, rasops8
1921.50Spkattach cgtwo at vme
1931.10Spkfile	arch/sparc/dev/cgtwo.c		cgtwo needs-flag
1941.10Spk
1951.50Spkattach cgthree at obio with cgthree_obio
1961.95Spkfile	arch/sparc/dev/cgthree_obio.c	cgthree_obio & obio
1971.1Sderaadt
1981.95Spkdevice cgfour: bt_dac, fb, rasops8, pfour
1991.16Sthorpejattach cgfour at obio
2001.14Sthorpejfile	arch/sparc/dev/cgfour.c		cgfour needs-flag
2011.14Sthorpej
2021.50Spkattach cgsix at obio with cgsix_obio
2031.67Spkfile	arch/sparc/dev/cgsix_obio.c	cgsix_obio & obio
2041.1Sderaadt
2051.95Spkdevice cgeight: bt_dac, fb, rasops24, pfour
2061.16Sthorpejattach cgeight at obio
2071.14Sthorpejfile	arch/sparc/dev/cgeight.c	cgeight needs-flag
2081.25Spk
2091.73Saddevice cgfourteen: fb, rasops32
2101.29Sabrownattach cgfourteen at obio
2111.29Sabrownfile	arch/sparc/dev/cgfourteen.c	cgfourteen needs-flag
2121.1Sderaadt
2131.21Sthorpej# device definition in sys/conf/files
2141.57Sdrochnerattach le at obio with le_obio: le24
2151.60Spkfile	arch/sparc/dev/if_le_obio.c	le_obio
2161.2Scgd
2171.48Spkattach ie at obio with ie_obio
2181.48Spkfile	arch/sparc/dev/if_ie_obio.c	ie_obio
2191.81Smatt
2201.81Smattattach com at obio with com_obio
2211.81Smattfile	arch/sparc/dev/com_obio.c	com_obio
2221.106Suwe
2231.106Suweattach com at ebus with com_ebus
2241.106Suwefile	arch/sparc/dev/com_ebus.c	com_ebus
2251.93Spk
2261.49Sthorpejdevice sw: scsi, ncr5380sbc
2271.16Sthorpejattach sw at obio
2281.93Spkfile	arch/sparc/dev/sw.c		sw
2291.2Scgd
2301.24Spk#
2311.24Spk# Generic Sun stuff
2321.24Spk#
2331.24Spk
2341.45Sgwrfile	dev/cons.c
2351.2Scgd
2361.2Scgdfile	arch/sparc/fpu/fpu.c
2371.2Scgdfile	arch/sparc/fpu/fpu_add.c
2381.2Scgdfile	arch/sparc/fpu/fpu_compare.c
2391.2Scgdfile	arch/sparc/fpu/fpu_div.c
2401.2Scgdfile	arch/sparc/fpu/fpu_explode.c
2411.2Scgdfile	arch/sparc/fpu/fpu_implode.c
2421.2Scgdfile	arch/sparc/fpu/fpu_mul.c
2431.2Scgdfile	arch/sparc/fpu/fpu_sqrt.c
2441.2Scgdfile	arch/sparc/fpu/fpu_subr.c
2451.1Sderaadt
2461.2Scgdfile	arch/sparc/sparc/autoconf.c
2471.2Scgdfile	arch/sparc/sparc/cache.c
2481.2Scgdfile	arch/sparc/sparc/conf.c
2491.37Schristosfile	arch/sparc/sparc/emul.c
2501.2Scgdfile	arch/sparc/sparc/in_cksum.c
2511.2Scgdfile	arch/sparc/sparc/intr.c
2521.44Spkfile	arch/sparc/sparc/kgdb_machdep.c	kgdb
2531.1Sderaadt# sparc/sparc/locore.s is handled specially in the makefile,
2541.1Sderaadt# because it must come first in the "ld" command line.
2551.2Scgdfile	arch/sparc/sparc/locore2.c
2561.2Scgdfile	arch/sparc/sparc/machdep.c
2571.2Scgdfile	arch/sparc/sparc/process_machdep.c
2581.2Scgdfile	arch/sparc/sparc/mem.c
2591.70Spkfile	arch/sparc/sparc/promlib.c
2601.70Spkfile	arch/sparc/sparc/openfirm.c
2611.2Scgdfile	arch/sparc/sparc/openprom.c
2621.100Sfvdlfile	arch/sparc/sparc/procfs_machdep.c	procfs
2631.2Scgdfile	arch/sparc/sparc/pmap.c
2641.1Sderaadt# the following overrides the generic "sys_process.c"
2651.2Scgd# commented out by deraadt
2661.2Scgd#file	arch/sparc/sparc/sys_process.c
2671.2Scgdfile	arch/sparc/sparc/sys_machdep.c
2681.2Scgdfile	arch/sparc/sparc/trap.c
2691.2Scgdfile	arch/sparc/sparc/vm_machdep.c
2701.2Scgdfile	arch/sparc/sparc/disksubr.c
2711.2Scgd
2721.44Spkfile	arch/sparc/sparc/db_interface.c	ddb | kgdb
2731.2Scgdfile	arch/sparc/sparc/db_trace.c	ddb
2741.2Scgdfile	arch/sparc/sparc/db_disasm.c	ddb
2751.12Spk
2761.12Spk#
2771.12Spk# Raster Console
2781.12Spk#
2791.72Skleinkinclude "dev/rcons/files.rcons"
2801.72Skleinkinclude "dev/wsfont/files.wsfont"
2811.2Scgd
2821.2Scgd#
2831.2Scgd# Compatibility modules
2841.2Scgd#
2851.2Scgd
2861.2Scgd# SVR4 Binary Compatibility (COMPAT_SVR4)
2871.72Skleinkinclude "compat/svr4/files.svr4"
2881.102Smrgfile	arch/sparc/sparc/svr4_sigcode.s	compat_svr4
2891.2Scgdfile	arch/sparc/sparc/svr4_machdep.c	compat_svr4
2901.2Scgd
2911.2Scgd# SunOS Binary Compatibility (COMPAT_SUNOS)
2921.72Skleinkinclude "compat/sunos/files.sunos"
2931.102Smrgfile	arch/sparc/sparc/sunos_sigcode.s compat_sunos
2941.65Spkfile	arch/sparc/sparc/sunos_machdep.c compat_sunos
2951.74Smrg
2961.74Smrg# NetBSD a.out Binary Compatibility (COMPAT_AOUT)
2971.74Smrginclude "compat/aout/files.aout"
2981.65Spk
2991.65Spk# Binary compatibility with previous NetBSD releases (COMPAT_XX)
3001.77Spk# Note: SunOS compatibility also uses some of `compat_13_machdep.c'
3011.77Spkfile	arch/sparc/sparc/compat_13_machdep.c	compat_13 | compat_sunos
3021.15Spk
3031.15Spk# Miscellaneous
3041.15Spkfile	netns/ns_cksum.c		ns
3051.24Spk
3061.107Sjdolecekfile	dev/md_root.c			memory_disk_hooks
307