files.sparc revision 1.88
11.88Sjdc#	$NetBSD: files.sparc,v 1.88 2000/02/25 18:24:40 jdc 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.45Sgwrfile arch/sparc/dev/kd.c 		kbd
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.2Scgd
1401.50Spkattach dma at obio with dma_obio
1411.63Spkfile	arch/sparc/dev/dma_obio.c	dma_obio
1421.63Spk
1431.50Spkattach esp at obio with esp_obio
1441.63Spkfile	arch/sparc/dev/esp_obio.c	esp_obio
1451.1Sderaadt
1461.50Spkattach audioamd at mainbus with audioamd_mainbus
1471.50Spkattach audioamd at sbus with audioamd_sbus
1481.55Sjonathanfile	arch/sparc/dev/am7930_sparc.c		audioamd
1491.55Sjonathanfile	arch/sparc/sparc/amd7930intr.s		audioamd
1501.30Spk
1511.16Sthorpej# Brooktree DAC attribute
1521.16Sthorpejdefine bt_dac
1531.16Sthorpej
1541.73Sad# Raster operations for RASTERCONSOLE (this is here so dependancies work).
1551.73Sadinclude "dev/rasops/files.rasops"
1561.73Sad
1571.46Stv# Include /dev/fb driver only if a framebuffer card is included
1581.46Stvdefine fb
1591.46Stv
1601.73Saddevice bwtwo: fb, rasops1
1611.50Spkattach bwtwo at sbus with bwtwo_sbus
1621.50Spkattach bwtwo at obio with bwtwo_obio
1631.2Scgdfile	arch/sparc/dev/bwtwo.c		bwtwo needs-flag
1641.85Schristosfile	arch/sparc/dev/bwtwo_sbus.c	bwtwo_sbus & sbus
1651.84Schristosfile	arch/sparc/dev/bwtwo_obio.c	bwtwo_obio & obio
1661.1Sderaadt
1671.73Saddevice cgtwo: fb, rasops8
1681.50Spkattach cgtwo at vme
1691.10Spkfile	arch/sparc/dev/cgtwo.c		cgtwo needs-flag
1701.10Spk
1711.73Saddevice cgthree: bt_dac, fb, rasops8
1721.50Spkattach cgthree at sbus with cgthree_sbus
1731.50Spkattach cgthree at obio with cgthree_obio
1741.2Scgdfile	arch/sparc/dev/cgthree.c	cgthree needs-flag
1751.1Sderaadt
1761.73Saddevice cgfour: bt_dac, fb, rasops8
1771.16Sthorpejattach cgfour at obio
1781.14Sthorpejfile	arch/sparc/dev/cgfour.c		cgfour needs-flag
1791.14Sthorpej
1801.73Saddevice cgsix: bt_dac, fb, rasops8
1811.50Spkattach cgsix at sbus with cgsix_sbus
1821.50Spkattach cgsix at obio with cgsix_obio
1831.2Scgdfile	arch/sparc/dev/cgsix.c		cgsix needs-flag
1841.85Schristosfile	arch/sparc/dev/cgsix_sbus.c	cgsix_sbus & sbus
1851.67Spkfile	arch/sparc/dev/cgsix_obio.c	cgsix_obio & obio
1861.1Sderaadt
1871.73Saddevice cgeight: bt_dac, fb, rasops24
1881.16Sthorpejattach cgeight at obio
1891.14Sthorpejfile	arch/sparc/dev/cgeight.c	cgeight needs-flag
1901.25Spk
1911.73Saddevice tcx: bt_dac, fb, rasops8, rasops24
1921.25Spkattach tcx at sbus
1931.25Spkfile	arch/sparc/dev/tcx.c		tcx needs-flag
1941.29Sabrown
1951.73Saddevice cgfourteen: fb, rasops32
1961.29Sabrownattach cgfourteen at obio
1971.29Sabrownfile	arch/sparc/dev/cgfourteen.c	cgfourteen needs-flag
1981.82Smatt
1991.82Smattdevice pnozz: fb, bt_dac, rasops8, rasops16, rasops32
2001.82Smattattach pnozz at sbus
2011.82Smattfile	arch/sparc/dev/p9100.c		pnozz needs-flag
2021.14Sthorpej
2031.16Sthorpejfile	arch/sparc/dev/bt_subr.c	bt_dac
2041.46Stvfile	arch/sparc/dev/fb.c		fb needs-flag
2051.1Sderaadt
2061.21Sthorpej# device definition in sys/conf/files
2071.57Sdrochnerattach le at obio with le_obio: le24
2081.60Spkfile	arch/sparc/dev/if_le_obio.c	le_obio
2091.2Scgd
2101.48Spkattach ie at obio with ie_obio
2111.48Spkfile	arch/sparc/dev/if_ie_obio.c	ie_obio
2121.81Smatt
2131.81Smattattach com at obio with com_obio
2141.81Smattfile	arch/sparc/dev/com_obio.c	com_obio
2151.7Spk
2161.49Sthorpejdevice si: scsi, ncr5380sbc
2171.48Spkattach si at vme
2181.49Sthorpejdevice sw: scsi, ncr5380sbc
2191.16Sthorpejattach sw at obio
2201.17Scgdfile	arch/sparc/dev/si.c		si | sw
2211.2Scgd
2221.24Spk#
2231.24Spk# Generic Sun stuff
2241.24Spk#
2251.24Spk
2261.45Sgwrfile	dev/cons.c
2271.2Scgd
2281.2Scgdfile	arch/sparc/fpu/fpu.c
2291.2Scgdfile	arch/sparc/fpu/fpu_add.c
2301.2Scgdfile	arch/sparc/fpu/fpu_compare.c
2311.2Scgdfile	arch/sparc/fpu/fpu_div.c
2321.2Scgdfile	arch/sparc/fpu/fpu_explode.c
2331.2Scgdfile	arch/sparc/fpu/fpu_implode.c
2341.2Scgdfile	arch/sparc/fpu/fpu_mul.c
2351.2Scgdfile	arch/sparc/fpu/fpu_sqrt.c
2361.2Scgdfile	arch/sparc/fpu/fpu_subr.c
2371.1Sderaadt
2381.2Scgdfile	arch/sparc/sparc/autoconf.c
2391.2Scgdfile	arch/sparc/sparc/cache.c
2401.2Scgdfile	arch/sparc/sparc/conf.c
2411.37Schristosfile	arch/sparc/sparc/emul.c
2421.2Scgdfile	arch/sparc/sparc/in_cksum.c
2431.86Sthorpejfile	netinet/in4_cksum.c		inet
2441.2Scgdfile	arch/sparc/sparc/intr.c
2451.44Spkfile	arch/sparc/sparc/kgdb_machdep.c	kgdb
2461.1Sderaadt# sparc/sparc/locore.s is handled specially in the makefile,
2471.1Sderaadt# because it must come first in the "ld" command line.
2481.2Scgdfile	arch/sparc/sparc/locore2.c
2491.2Scgdfile	arch/sparc/sparc/machdep.c
2501.2Scgdfile	arch/sparc/sparc/process_machdep.c
2511.2Scgdfile	arch/sparc/sparc/mem.c
2521.70Spkfile	arch/sparc/sparc/promlib.c
2531.70Spkfile	arch/sparc/sparc/openfirm.c
2541.2Scgdfile	arch/sparc/sparc/openprom.c
2551.2Scgdfile	arch/sparc/sparc/pmap.c
2561.1Sderaadt# the following overrides the generic "sys_process.c"
2571.2Scgd# commented out by deraadt
2581.2Scgd#file	arch/sparc/sparc/sys_process.c
2591.2Scgdfile	arch/sparc/sparc/sys_machdep.c
2601.2Scgdfile	arch/sparc/sparc/trap.c
2611.2Scgdfile	arch/sparc/sparc/vm_machdep.c
2621.2Scgdfile	arch/sparc/sparc/disksubr.c
2631.2Scgd
2641.44Spkfile	arch/sparc/sparc/db_interface.c	ddb | kgdb
2651.2Scgdfile	arch/sparc/sparc/db_trace.c	ddb
2661.2Scgdfile	arch/sparc/sparc/db_disasm.c	ddb
2671.12Spk
2681.12Spk#
2691.12Spk# Raster Console
2701.12Spk#
2711.72Skleinkinclude "dev/rcons/files.rcons"
2721.72Skleinkinclude "dev/wsfont/files.wsfont"
2731.2Scgd
2741.2Scgd#
2751.2Scgd# Compatibility modules
2761.2Scgd#
2771.2Scgd
2781.2Scgd# SVR4 Binary Compatibility (COMPAT_SVR4)
2791.72Skleinkinclude "compat/svr4/files.svr4"
2801.2Scgdfile	arch/sparc/sparc/svr4_machdep.c	compat_svr4
2811.2Scgd
2821.2Scgd# SunOS Binary Compatibility (COMPAT_SUNOS)
2831.72Skleinkinclude "compat/sunos/files.sunos"
2841.65Spkfile	arch/sparc/sparc/sunos_machdep.c compat_sunos
2851.74Smrg
2861.74Smrg# NetBSD a.out Binary Compatibility (COMPAT_AOUT)
2871.74Smrginclude "compat/aout/files.aout"
2881.65Spk
2891.65Spk# Binary compatibility with previous NetBSD releases (COMPAT_XX)
2901.77Spk# Note: SunOS compatibility also uses some of `compat_13_machdep.c'
2911.77Spkfile	arch/sparc/sparc/compat_13_machdep.c	compat_13 | compat_sunos
2921.15Spk
2931.15Spk# Miscellaneous
2941.15Spkfile	netns/ns_cksum.c		ns
2951.24Spk
2961.33Spkfile	arch/sparc/dev/md_root.c	memory_disk_hooks
297