files.sparc revision 1.87
11.87Spk#	$NetBSD: files.sparc,v 1.87 2000/02/25 16:02:49 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.1Sderaadt
341.49Sthorpejdevice clock
351.50Spkattach clock at mainbus with clock_mainbus
361.50Spkattach clock at obio with clock_obio
371.20Sthorpej
381.49Sthorpejdevice oclock
391.16Sthorpejattach oclock at obio
401.20Sthorpej
411.49Sthorpejdevice timer
421.50Spkattach timer at mainbus with timer_mainbus
431.50Spkattach timer at obio with timer_obio
441.20Sthorpej
451.49Sthorpejdevice eeprom
461.16Sthorpejattach eeprom at obio
471.2Scgdfile	arch/sparc/sparc/clock.c
481.20Sthorpej
491.49Sthorpejdevice power
501.18Spkattach power at obio
511.54Sthorpejfile	arch/sparc/dev/power.c			power	needs-flag
521.1Sderaadt
531.49Sthorpejdevice cpu
541.16Sthorpejattach cpu at mainbus
551.2Scgdfile	arch/sparc/sparc/cpu.c
561.1Sderaadt
571.49Sthorpejdevice memreg
581.50Spkattach memreg at mainbus with memreg_mainbus
591.50Spkattach memreg at obio with memreg_obio
601.2Scgdfile	arch/sparc/sparc/memreg.c
611.66Spk
621.66Spkdevice eccmemctl
631.66Spkattach eccmemctl at mainbus
641.66Spkfile	arch/sparc/sparc/memecc.c		eccmemctl
651.1Sderaadt
661.83Smattdevice tctrl
671.83Smattattach tctrl at obio
681.83Smattfile	arch/sparc/dev/tctrl.c			tctrl needs-flag
691.83Smatt
701.49Sthorpejdevice zs {channel = -1}
711.50Spkattach zs at mainbus with zs_mainbus
721.50Spkattach zs at obio with zs_obio
731.2Scgdfile	arch/sparc/dev/zs.c			zs needs-count
741.45Sgwrfile	dev/ic/z8530sc.c			zs
751.2Scgd
761.49Sthorpejdevice fdc {}
771.50Spkattach fdc at mainbus with fdc_mainbus
781.50Spkattach fdc at obio with fdc_obio
791.49Sthorpejdevice fd: disk
801.16Sthorpejattach fd at fdc
811.19Spkfile	arch/sparc/dev/fd.c			fdc | fd needs-flag
821.19Spkfile	arch/sparc/sparc/bsd_fdintr.s		fdc
831.1Sderaadt
841.72Skleinkinclude "dev/sbus/files.sbus"
851.50Spkattach sbus at mainbus with sbus_mainbus
861.50Spkattach sbus at iommu with sbus_iommu
871.87Spkfile	arch/sparc/dev/sbus.c			sbus needs-flag
881.83Smatt
891.83Smattdevice tpcic: pcmciabus
901.83Smattattach tpcic at sbus
911.83Smattfile	arch/sparc/dev/ts102.c			tpcic
921.69Spk
931.69Spk# network devices MII bus
941.72Skleinkinclude "dev/mii/files.mii"
951.69Spk
961.69Spk# PCMCIA bus
971.72Skleinkinclude "dev/pcmcia/files.pcmcia"
981.72Skleinkinclude "dev/ata/files.ata"
991.18Spk
1001.45Sgwr#
1011.45Sgwr# Console (zs) related stuff
1021.45Sgwr#
1031.45Sgwr
1041.49Sthorpejdevice zstty: tty
1051.45Sgwrattach zstty at zs
1061.45Sgwrfile dev/ic/z8530tty.c			zstty needs-flag
1071.45Sgwrfile arch/sparc/dev/zs_kgdb.c		kgdb
1081.45Sgwr
1091.45Sgwrdefine zsevent
1101.45Sgwrfile dev/sun/event.c			zsevent
1111.45Sgwr
1121.49Sthorpejdevice kbd: zsevent
1131.75Smrgattach kbd at zs with kbd_zs
1141.75Smrgfile dev/sun/kbd_zs.c			kbd_zs
1151.45Sgwrfile dev/sun/kbd.c			kbd needs-flag
1161.45Sgwrfile dev/sun/kbd_tables.c 		kbd
1171.45Sgwrfile arch/sparc/dev/kd.c 		kbd
1181.45Sgwr
1191.49Sthorpejdevice ms: zsevent
1201.75Smrgattach ms at zs with ms_zs
1211.75Smrgfile dev/sun/ms_zs.c			ms_zs
1221.45Sgwrfile dev/sun/ms.c			ms needs-flag
1231.2Scgd
1241.5Spk#
1251.5Spk# Machine-independent SCSI drivers
1261.5Spk#
1271.72Skleinkinclude "dev/scsipi/files.scsipi"
1281.1Sderaadt
1291.64Spkmajor	{ cd = 18 }
1301.64Spkmajor	{ fd = 16 }
1311.64Spkmajor	{ md = 5 }
1321.64Spkmajor	{ sd = 7 }
1331.64Spkmajor	{ xd = 10 }
1341.64Spkmajor	{ xy = 3 }
1351.2Scgd
1361.50Spkattach dma at obio with dma_obio
1371.63Spkfile	arch/sparc/dev/dma_obio.c	dma_obio
1381.63Spk
1391.50Spkattach esp at obio with esp_obio
1401.63Spkfile	arch/sparc/dev/esp_obio.c	esp_obio
1411.1Sderaadt
1421.50Spkattach audioamd at mainbus with audioamd_mainbus
1431.50Spkattach audioamd at sbus with audioamd_sbus
1441.55Sjonathanfile	arch/sparc/dev/am7930_sparc.c		audioamd
1451.55Sjonathanfile	arch/sparc/sparc/amd7930intr.s		audioamd
1461.30Spk
1471.16Sthorpej# Brooktree DAC attribute
1481.16Sthorpejdefine bt_dac
1491.16Sthorpej
1501.73Sad# Raster operations for RASTERCONSOLE (this is here so dependancies work).
1511.73Sadinclude "dev/rasops/files.rasops"
1521.73Sad
1531.46Stv# Include /dev/fb driver only if a framebuffer card is included
1541.46Stvdefine fb
1551.46Stv
1561.73Saddevice bwtwo: fb, rasops1
1571.50Spkattach bwtwo at sbus with bwtwo_sbus
1581.50Spkattach bwtwo at obio with bwtwo_obio
1591.2Scgdfile	arch/sparc/dev/bwtwo.c		bwtwo needs-flag
1601.85Schristosfile	arch/sparc/dev/bwtwo_sbus.c	bwtwo_sbus & sbus
1611.84Schristosfile	arch/sparc/dev/bwtwo_obio.c	bwtwo_obio & obio
1621.1Sderaadt
1631.73Saddevice cgtwo: fb, rasops8
1641.50Spkattach cgtwo at vme
1651.10Spkfile	arch/sparc/dev/cgtwo.c		cgtwo needs-flag
1661.10Spk
1671.73Saddevice cgthree: bt_dac, fb, rasops8
1681.50Spkattach cgthree at sbus with cgthree_sbus
1691.50Spkattach cgthree at obio with cgthree_obio
1701.2Scgdfile	arch/sparc/dev/cgthree.c	cgthree needs-flag
1711.1Sderaadt
1721.73Saddevice cgfour: bt_dac, fb, rasops8
1731.16Sthorpejattach cgfour at obio
1741.14Sthorpejfile	arch/sparc/dev/cgfour.c		cgfour needs-flag
1751.14Sthorpej
1761.73Saddevice cgsix: bt_dac, fb, rasops8
1771.50Spkattach cgsix at sbus with cgsix_sbus
1781.50Spkattach cgsix at obio with cgsix_obio
1791.2Scgdfile	arch/sparc/dev/cgsix.c		cgsix needs-flag
1801.85Schristosfile	arch/sparc/dev/cgsix_sbus.c	cgsix_sbus & sbus
1811.67Spkfile	arch/sparc/dev/cgsix_obio.c	cgsix_obio & obio
1821.1Sderaadt
1831.73Saddevice cgeight: bt_dac, fb, rasops24
1841.16Sthorpejattach cgeight at obio
1851.14Sthorpejfile	arch/sparc/dev/cgeight.c	cgeight needs-flag
1861.25Spk
1871.73Saddevice tcx: bt_dac, fb, rasops8, rasops24
1881.25Spkattach tcx at sbus
1891.25Spkfile	arch/sparc/dev/tcx.c		tcx needs-flag
1901.29Sabrown
1911.73Saddevice cgfourteen: fb, rasops32
1921.29Sabrownattach cgfourteen at obio
1931.29Sabrownfile	arch/sparc/dev/cgfourteen.c	cgfourteen needs-flag
1941.82Smatt
1951.82Smattdevice pnozz: fb, bt_dac, rasops8, rasops16, rasops32
1961.82Smattattach pnozz at sbus
1971.82Smattfile	arch/sparc/dev/p9100.c		pnozz needs-flag
1981.14Sthorpej
1991.16Sthorpejfile	arch/sparc/dev/bt_subr.c	bt_dac
2001.46Stvfile	arch/sparc/dev/fb.c		fb needs-flag
2011.1Sderaadt
2021.21Sthorpej# device definition in sys/conf/files
2031.57Sdrochnerattach le at obio with le_obio: le24
2041.60Spkfile	arch/sparc/dev/if_le_obio.c	le_obio
2051.2Scgd
2061.48Spkattach ie at obio with ie_obio
2071.48Spkfile	arch/sparc/dev/if_ie_obio.c	ie_obio
2081.81Smatt
2091.81Smattattach com at obio with com_obio
2101.81Smattfile	arch/sparc/dev/com_obio.c	com_obio
2111.7Spk
2121.49Sthorpejdevice si: scsi, ncr5380sbc
2131.48Spkattach si at vme
2141.49Sthorpejdevice sw: scsi, ncr5380sbc
2151.16Sthorpejattach sw at obio
2161.17Scgdfile	arch/sparc/dev/si.c		si | sw
2171.2Scgd
2181.24Spk#
2191.24Spk# Generic Sun stuff
2201.24Spk#
2211.24Spk
2221.45Sgwrfile	dev/cons.c
2231.2Scgd
2241.2Scgdfile	arch/sparc/fpu/fpu.c
2251.2Scgdfile	arch/sparc/fpu/fpu_add.c
2261.2Scgdfile	arch/sparc/fpu/fpu_compare.c
2271.2Scgdfile	arch/sparc/fpu/fpu_div.c
2281.2Scgdfile	arch/sparc/fpu/fpu_explode.c
2291.2Scgdfile	arch/sparc/fpu/fpu_implode.c
2301.2Scgdfile	arch/sparc/fpu/fpu_mul.c
2311.2Scgdfile	arch/sparc/fpu/fpu_sqrt.c
2321.2Scgdfile	arch/sparc/fpu/fpu_subr.c
2331.1Sderaadt
2341.2Scgdfile	arch/sparc/sparc/autoconf.c
2351.2Scgdfile	arch/sparc/sparc/cache.c
2361.2Scgdfile	arch/sparc/sparc/conf.c
2371.37Schristosfile	arch/sparc/sparc/emul.c
2381.2Scgdfile	arch/sparc/sparc/in_cksum.c
2391.86Sthorpejfile	netinet/in4_cksum.c		inet
2401.2Scgdfile	arch/sparc/sparc/intr.c
2411.44Spkfile	arch/sparc/sparc/kgdb_machdep.c	kgdb
2421.1Sderaadt# sparc/sparc/locore.s is handled specially in the makefile,
2431.1Sderaadt# because it must come first in the "ld" command line.
2441.2Scgdfile	arch/sparc/sparc/locore2.c
2451.2Scgdfile	arch/sparc/sparc/machdep.c
2461.2Scgdfile	arch/sparc/sparc/process_machdep.c
2471.2Scgdfile	arch/sparc/sparc/mem.c
2481.70Spkfile	arch/sparc/sparc/promlib.c
2491.70Spkfile	arch/sparc/sparc/openfirm.c
2501.2Scgdfile	arch/sparc/sparc/openprom.c
2511.2Scgdfile	arch/sparc/sparc/pmap.c
2521.1Sderaadt# the following overrides the generic "sys_process.c"
2531.2Scgd# commented out by deraadt
2541.2Scgd#file	arch/sparc/sparc/sys_process.c
2551.2Scgdfile	arch/sparc/sparc/sys_machdep.c
2561.2Scgdfile	arch/sparc/sparc/trap.c
2571.2Scgdfile	arch/sparc/sparc/vm_machdep.c
2581.2Scgdfile	arch/sparc/sparc/disksubr.c
2591.2Scgd
2601.44Spkfile	arch/sparc/sparc/db_interface.c	ddb | kgdb
2611.2Scgdfile	arch/sparc/sparc/db_trace.c	ddb
2621.2Scgdfile	arch/sparc/sparc/db_disasm.c	ddb
2631.12Spk
2641.12Spk#
2651.12Spk# Raster Console
2661.12Spk#
2671.72Skleinkinclude "dev/rcons/files.rcons"
2681.72Skleinkinclude "dev/wsfont/files.wsfont"
2691.2Scgd
2701.2Scgd#
2711.2Scgd# Compatibility modules
2721.2Scgd#
2731.2Scgd
2741.2Scgd# SVR4 Binary Compatibility (COMPAT_SVR4)
2751.72Skleinkinclude "compat/svr4/files.svr4"
2761.2Scgdfile	arch/sparc/sparc/svr4_machdep.c	compat_svr4
2771.2Scgd
2781.2Scgd# SunOS Binary Compatibility (COMPAT_SUNOS)
2791.72Skleinkinclude "compat/sunos/files.sunos"
2801.65Spkfile	arch/sparc/sparc/sunos_machdep.c compat_sunos
2811.74Smrg
2821.74Smrg# NetBSD a.out Binary Compatibility (COMPAT_AOUT)
2831.74Smrginclude "compat/aout/files.aout"
2841.65Spk
2851.65Spk# Binary compatibility with previous NetBSD releases (COMPAT_XX)
2861.77Spk# Note: SunOS compatibility also uses some of `compat_13_machdep.c'
2871.77Spkfile	arch/sparc/sparc/compat_13_machdep.c	compat_13 | compat_sunos
2881.15Spk
2891.15Spk# Miscellaneous
2901.15Spkfile	netns/ns_cksum.c		ns
2911.24Spk
2921.33Spkfile	arch/sparc/dev/md_root.c	memory_disk_hooks
293