files.sparc revision 1.90
11.90Spk#	$NetBSD: files.sparc,v 1.90 2000/03/19 14:19:17 pk Exp $
21.2Scgd
31.2Scgd# @(#)files.sparc	8.1 (Berkeley) 7/19/93
41.1Sderaadt# sparc-specific configuration info
51.1Sderaadt
61.32Spk# maxpartitions must be first item in files.${ARCH}
71.2Scgdmaxpartitions 8
81.2Scgd
91.40Spkmaxusers 2 8 1024
101.1Sderaadt
111.49Sthorpejdevice mainbus {}
121.16Sthorpejattach mainbus at root
131.2Scgd
141.49Sthorpejdevice iommu {}
151.32Spkattach iommu at mainbus
161.32Spkfile	arch/sparc/sparc/iommu.c		iommu
171.32Spk
181.50Spkdevice obio { [addr = -1], [level = -1] }
191.50Spkattach obio at mainbus
201.50Spk
211.72Skleinkinclude "dev/vme/files.vme"
221.80Sdrochnerdevice sparcvme: vmebus
231.78Sdrochnerattach sparcvme at mainbus with vme_mainbus
241.78Sdrochnerattach sparcvme at iommu with vme_iommu
251.39Spk
261.48Spkfile	arch/sparc/dev/obio.c		obio
271.78Sdrochnerfile	arch/sparc/dev/vme_machdep.c	sparcvme
281.1Sderaadt
291.49Sthorpejdevice auxreg
301.50Spkattach auxreg at mainbus with auxreg_mainbus
311.50Spkattach auxreg at obio with auxreg_obio
321.2Scgdfile	arch/sparc/sparc/auxreg.c
331.88Sjdc
341.88Sjdcdevice auxiotwo
351.88Sjdcattach auxiotwo at obio with auxiotwo_obio
361.88Sjdcfile	arch/sparc/sparc/auxiotwo.c
371.1Sderaadt
381.49Sthorpejdevice clock
391.50Spkattach clock at mainbus with clock_mainbus
401.50Spkattach clock at obio with clock_obio
411.20Sthorpej
421.49Sthorpejdevice oclock
431.16Sthorpejattach oclock at obio
441.20Sthorpej
451.49Sthorpejdevice timer
461.50Spkattach timer at mainbus with timer_mainbus
471.50Spkattach timer at obio with timer_obio
481.20Sthorpej
491.49Sthorpejdevice eeprom
501.16Sthorpejattach eeprom at obio
511.2Scgdfile	arch/sparc/sparc/clock.c
521.20Sthorpej
531.49Sthorpejdevice power
541.18Spkattach power at obio
551.54Sthorpejfile	arch/sparc/dev/power.c			power	needs-flag
561.1Sderaadt
571.49Sthorpejdevice cpu
581.16Sthorpejattach cpu at mainbus
591.2Scgdfile	arch/sparc/sparc/cpu.c
601.1Sderaadt
611.49Sthorpejdevice memreg
621.50Spkattach memreg at mainbus with memreg_mainbus
631.50Spkattach memreg at obio with memreg_obio
641.2Scgdfile	arch/sparc/sparc/memreg.c
651.66Spk
661.66Spkdevice eccmemctl
671.66Spkattach eccmemctl at mainbus
681.66Spkfile	arch/sparc/sparc/memecc.c		eccmemctl
691.1Sderaadt
701.83Smattdevice tctrl
711.83Smattattach tctrl at obio
721.83Smattfile	arch/sparc/dev/tctrl.c			tctrl needs-flag
731.83Smatt
741.49Sthorpejdevice zs {channel = -1}
751.50Spkattach zs at mainbus with zs_mainbus
761.50Spkattach zs at obio with zs_obio
771.2Scgdfile	arch/sparc/dev/zs.c			zs needs-count
781.45Sgwrfile	dev/ic/z8530sc.c			zs
791.2Scgd
801.49Sthorpejdevice fdc {}
811.50Spkattach fdc at mainbus with fdc_mainbus
821.50Spkattach fdc at obio with fdc_obio
831.49Sthorpejdevice fd: disk
841.16Sthorpejattach fd at fdc
851.19Spkfile	arch/sparc/dev/fd.c			fdc | fd needs-flag
861.19Spkfile	arch/sparc/sparc/bsd_fdintr.s		fdc
871.1Sderaadt
881.72Skleinkinclude "dev/sbus/files.sbus"
891.50Spkattach sbus at mainbus with sbus_mainbus
901.50Spkattach sbus at iommu with sbus_iommu
911.87Spkfile	arch/sparc/dev/sbus.c			sbus needs-flag
921.83Smatt
931.83Smattdevice tpcic: pcmciabus
941.83Smattattach tpcic at sbus
951.83Smattfile	arch/sparc/dev/ts102.c			tpcic
961.69Spk
971.69Spk# network devices MII bus
981.72Skleinkinclude "dev/mii/files.mii"
991.69Spk
1001.69Spk# PCMCIA bus
1011.72Skleinkinclude "dev/pcmcia/files.pcmcia"
1021.72Skleinkinclude "dev/ata/files.ata"
1031.18Spk
1041.45Sgwr#
1051.45Sgwr# Console (zs) related stuff
1061.45Sgwr#
1071.45Sgwr
1081.49Sthorpejdevice zstty: tty
1091.45Sgwrattach zstty at zs
1101.45Sgwrfile dev/ic/z8530tty.c			zstty needs-flag
1111.45Sgwrfile arch/sparc/dev/zs_kgdb.c		kgdb
1121.45Sgwr
1131.45Sgwrdefine zsevent
1141.45Sgwrfile dev/sun/event.c			zsevent
1151.45Sgwr
1161.49Sthorpejdevice kbd: zsevent
1171.75Smrgattach kbd at zs with kbd_zs
1181.75Smrgfile dev/sun/kbd_zs.c			kbd_zs
1191.45Sgwrfile dev/sun/kbd.c			kbd needs-flag
1201.45Sgwrfile dev/sun/kbd_tables.c 		kbd
1211.90Spkfile arch/sparc/dev/kd.c
1221.45Sgwr
1231.49Sthorpejdevice ms: zsevent
1241.75Smrgattach ms at zs with ms_zs
1251.75Smrgfile dev/sun/ms_zs.c			ms_zs
1261.45Sgwrfile dev/sun/ms.c			ms needs-flag
1271.2Scgd
1281.5Spk#
1291.5Spk# Machine-independent SCSI drivers
1301.5Spk#
1311.72Skleinkinclude "dev/scsipi/files.scsipi"
1321.1Sderaadt
1331.64Spkmajor	{ cd = 18 }
1341.64Spkmajor	{ fd = 16 }
1351.64Spkmajor	{ md = 5 }
1361.64Spkmajor	{ sd = 7 }
1371.64Spkmajor	{ xd = 10 }
1381.64Spkmajor	{ xy = 3 }
1391.89Soster
1401.89Soster# RAIDframe
1411.89Sostermajor 	{ raid = 25 }
1421.2Scgd
1431.50Spkattach dma at obio with dma_obio
1441.63Spkfile	arch/sparc/dev/dma_obio.c	dma_obio
1451.63Spk
1461.50Spkattach esp at obio with esp_obio
1471.63Spkfile	arch/sparc/dev/esp_obio.c	esp_obio
1481.1Sderaadt
1491.50Spkattach audioamd at mainbus with audioamd_mainbus
1501.50Spkattach audioamd at sbus with audioamd_sbus
1511.55Sjonathanfile	arch/sparc/dev/am7930_sparc.c		audioamd
1521.55Sjonathanfile	arch/sparc/sparc/amd7930intr.s		audioamd
1531.30Spk
1541.16Sthorpej# Brooktree DAC attribute
1551.16Sthorpejdefine bt_dac
1561.16Sthorpej
1571.73Sad# Raster operations for RASTERCONSOLE (this is here so dependancies work).
1581.73Sadinclude "dev/rasops/files.rasops"
1591.73Sad
1601.46Stv# Include /dev/fb driver only if a framebuffer card is included
1611.46Stvdefine fb
1621.46Stv
1631.73Saddevice bwtwo: fb, rasops1
1641.50Spkattach bwtwo at sbus with bwtwo_sbus
1651.50Spkattach bwtwo at obio with bwtwo_obio
1661.2Scgdfile	arch/sparc/dev/bwtwo.c		bwtwo needs-flag
1671.85Schristosfile	arch/sparc/dev/bwtwo_sbus.c	bwtwo_sbus & sbus
1681.84Schristosfile	arch/sparc/dev/bwtwo_obio.c	bwtwo_obio & obio
1691.1Sderaadt
1701.73Saddevice cgtwo: fb, rasops8
1711.50Spkattach cgtwo at vme
1721.10Spkfile	arch/sparc/dev/cgtwo.c		cgtwo needs-flag
1731.10Spk
1741.73Saddevice cgthree: bt_dac, fb, rasops8
1751.50Spkattach cgthree at sbus with cgthree_sbus
1761.50Spkattach cgthree at obio with cgthree_obio
1771.2Scgdfile	arch/sparc/dev/cgthree.c	cgthree needs-flag
1781.1Sderaadt
1791.73Saddevice cgfour: bt_dac, fb, rasops8
1801.16Sthorpejattach cgfour at obio
1811.14Sthorpejfile	arch/sparc/dev/cgfour.c		cgfour needs-flag
1821.14Sthorpej
1831.73Saddevice cgsix: bt_dac, fb, rasops8
1841.50Spkattach cgsix at sbus with cgsix_sbus
1851.50Spkattach cgsix at obio with cgsix_obio
1861.2Scgdfile	arch/sparc/dev/cgsix.c		cgsix needs-flag
1871.85Schristosfile	arch/sparc/dev/cgsix_sbus.c	cgsix_sbus & sbus
1881.67Spkfile	arch/sparc/dev/cgsix_obio.c	cgsix_obio & obio
1891.1Sderaadt
1901.73Saddevice cgeight: bt_dac, fb, rasops24
1911.16Sthorpejattach cgeight at obio
1921.14Sthorpejfile	arch/sparc/dev/cgeight.c	cgeight needs-flag
1931.25Spk
1941.73Saddevice tcx: bt_dac, fb, rasops8, rasops24
1951.25Spkattach tcx at sbus
1961.25Spkfile	arch/sparc/dev/tcx.c		tcx needs-flag
1971.29Sabrown
1981.73Saddevice cgfourteen: fb, rasops32
1991.29Sabrownattach cgfourteen at obio
2001.29Sabrownfile	arch/sparc/dev/cgfourteen.c	cgfourteen needs-flag
2011.82Smatt
2021.82Smattdevice pnozz: fb, bt_dac, rasops8, rasops16, rasops32
2031.82Smattattach pnozz at sbus
2041.82Smattfile	arch/sparc/dev/p9100.c		pnozz needs-flag
2051.14Sthorpej
2061.16Sthorpejfile	arch/sparc/dev/bt_subr.c	bt_dac
2071.46Stvfile	arch/sparc/dev/fb.c		fb needs-flag
2081.1Sderaadt
2091.21Sthorpej# device definition in sys/conf/files
2101.57Sdrochnerattach le at obio with le_obio: le24
2111.60Spkfile	arch/sparc/dev/if_le_obio.c	le_obio
2121.2Scgd
2131.48Spkattach ie at obio with ie_obio
2141.48Spkfile	arch/sparc/dev/if_ie_obio.c	ie_obio
2151.81Smatt
2161.81Smattattach com at obio with com_obio
2171.81Smattfile	arch/sparc/dev/com_obio.c	com_obio
2181.7Spk
2191.49Sthorpejdevice si: scsi, ncr5380sbc
2201.48Spkattach si at vme
2211.49Sthorpejdevice sw: scsi, ncr5380sbc
2221.16Sthorpejattach sw at obio
2231.17Scgdfile	arch/sparc/dev/si.c		si | sw
2241.2Scgd
2251.24Spk#
2261.24Spk# Generic Sun stuff
2271.24Spk#
2281.24Spk
2291.45Sgwrfile	dev/cons.c
2301.2Scgd
2311.2Scgdfile	arch/sparc/fpu/fpu.c
2321.2Scgdfile	arch/sparc/fpu/fpu_add.c
2331.2Scgdfile	arch/sparc/fpu/fpu_compare.c
2341.2Scgdfile	arch/sparc/fpu/fpu_div.c
2351.2Scgdfile	arch/sparc/fpu/fpu_explode.c
2361.2Scgdfile	arch/sparc/fpu/fpu_implode.c
2371.2Scgdfile	arch/sparc/fpu/fpu_mul.c
2381.2Scgdfile	arch/sparc/fpu/fpu_sqrt.c
2391.2Scgdfile	arch/sparc/fpu/fpu_subr.c
2401.1Sderaadt
2411.2Scgdfile	arch/sparc/sparc/autoconf.c
2421.2Scgdfile	arch/sparc/sparc/cache.c
2431.2Scgdfile	arch/sparc/sparc/conf.c
2441.37Schristosfile	arch/sparc/sparc/emul.c
2451.2Scgdfile	arch/sparc/sparc/in_cksum.c
2461.86Sthorpejfile	netinet/in4_cksum.c		inet
2471.2Scgdfile	arch/sparc/sparc/intr.c
2481.44Spkfile	arch/sparc/sparc/kgdb_machdep.c	kgdb
2491.1Sderaadt# sparc/sparc/locore.s is handled specially in the makefile,
2501.1Sderaadt# because it must come first in the "ld" command line.
2511.2Scgdfile	arch/sparc/sparc/locore2.c
2521.2Scgdfile	arch/sparc/sparc/machdep.c
2531.2Scgdfile	arch/sparc/sparc/process_machdep.c
2541.2Scgdfile	arch/sparc/sparc/mem.c
2551.70Spkfile	arch/sparc/sparc/promlib.c
2561.70Spkfile	arch/sparc/sparc/openfirm.c
2571.2Scgdfile	arch/sparc/sparc/openprom.c
2581.2Scgdfile	arch/sparc/sparc/pmap.c
2591.1Sderaadt# the following overrides the generic "sys_process.c"
2601.2Scgd# commented out by deraadt
2611.2Scgd#file	arch/sparc/sparc/sys_process.c
2621.2Scgdfile	arch/sparc/sparc/sys_machdep.c
2631.2Scgdfile	arch/sparc/sparc/trap.c
2641.2Scgdfile	arch/sparc/sparc/vm_machdep.c
2651.2Scgdfile	arch/sparc/sparc/disksubr.c
2661.2Scgd
2671.44Spkfile	arch/sparc/sparc/db_interface.c	ddb | kgdb
2681.2Scgdfile	arch/sparc/sparc/db_trace.c	ddb
2691.2Scgdfile	arch/sparc/sparc/db_disasm.c	ddb
2701.12Spk
2711.12Spk#
2721.12Spk# Raster Console
2731.12Spk#
2741.72Skleinkinclude "dev/rcons/files.rcons"
2751.72Skleinkinclude "dev/wsfont/files.wsfont"
2761.2Scgd
2771.2Scgd#
2781.2Scgd# Compatibility modules
2791.2Scgd#
2801.2Scgd
2811.2Scgd# SVR4 Binary Compatibility (COMPAT_SVR4)
2821.72Skleinkinclude "compat/svr4/files.svr4"
2831.2Scgdfile	arch/sparc/sparc/svr4_machdep.c	compat_svr4
2841.2Scgd
2851.2Scgd# SunOS Binary Compatibility (COMPAT_SUNOS)
2861.72Skleinkinclude "compat/sunos/files.sunos"
2871.65Spkfile	arch/sparc/sparc/sunos_machdep.c compat_sunos
2881.74Smrg
2891.74Smrg# NetBSD a.out Binary Compatibility (COMPAT_AOUT)
2901.74Smrginclude "compat/aout/files.aout"
2911.65Spk
2921.65Spk# Binary compatibility with previous NetBSD releases (COMPAT_XX)
2931.77Spk# Note: SunOS compatibility also uses some of `compat_13_machdep.c'
2941.77Spkfile	arch/sparc/sparc/compat_13_machdep.c	compat_13 | compat_sunos
2951.15Spk
2961.15Spk# Miscellaneous
2971.15Spkfile	netns/ns_cksum.c		ns
2981.24Spk
2991.33Spkfile	arch/sparc/dev/md_root.c	memory_disk_hooks
300