files.sparc revision 1.67
11.67Spk#	$NetBSD: files.sparc,v 1.67 1998/09/23 08:49:46 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.48Spkinclude "../../../dev/vme/files.vme"
221.50Spkattach vme at mainbus with vme_mainbus
231.50Spkattach vme at iommu with vme_iommu
241.39Spk
251.48Spkfile	arch/sparc/dev/obio.c		obio
261.48Spkfile	arch/sparc/dev/vme_machdep.c	vme
271.1Sderaadt
281.49Sthorpejdevice auxreg
291.50Spkattach auxreg at mainbus with auxreg_mainbus
301.50Spkattach auxreg at obio with auxreg_obio
311.2Scgdfile	arch/sparc/sparc/auxreg.c
321.1Sderaadt
331.49Sthorpejdevice clock
341.50Spkattach clock at mainbus with clock_mainbus
351.50Spkattach clock at obio with clock_obio
361.20Sthorpej
371.49Sthorpejdevice oclock
381.16Sthorpejattach oclock at obio
391.20Sthorpej
401.49Sthorpejdevice timer
411.50Spkattach timer at mainbus with timer_mainbus
421.50Spkattach timer at obio with timer_obio
431.20Sthorpej
441.49Sthorpejdevice eeprom
451.16Sthorpejattach eeprom at obio
461.2Scgdfile	arch/sparc/sparc/clock.c
471.20Sthorpej
481.49Sthorpejdevice power
491.18Spkattach power at obio
501.54Sthorpejfile	arch/sparc/dev/power.c			power	needs-flag
511.1Sderaadt
521.49Sthorpejdevice cpu
531.16Sthorpejattach cpu at mainbus
541.2Scgdfile	arch/sparc/sparc/cpu.c
551.1Sderaadt
561.49Sthorpejdevice memreg
571.50Spkattach memreg at mainbus with memreg_mainbus
581.50Spkattach memreg at obio with memreg_obio
591.2Scgdfile	arch/sparc/sparc/memreg.c
601.66Spk
611.66Spkdevice eccmemctl
621.66Spkattach eccmemctl at mainbus
631.66Spkfile	arch/sparc/sparc/memecc.c		eccmemctl
641.1Sderaadt
651.49Sthorpejdevice zs {channel = -1}
661.50Spkattach zs at mainbus with zs_mainbus
671.50Spkattach zs at obio with zs_obio
681.2Scgdfile	arch/sparc/dev/zs.c			zs needs-count
691.45Sgwrfile	dev/ic/z8530sc.c			zs
701.2Scgd
711.49Sthorpejdevice fdc {}
721.50Spkattach fdc at mainbus with fdc_mainbus
731.50Spkattach fdc at obio with fdc_obio
741.49Sthorpejdevice fd: disk
751.16Sthorpejattach fd at fdc
761.19Spkfile	arch/sparc/dev/fd.c			fdc | fd needs-flag
771.19Spkfile	arch/sparc/sparc/bsd_fdintr.s		fdc
781.1Sderaadt
791.59Spkinclude "../../../dev/sbus/files.sbus"
801.50Spkattach sbus at mainbus with sbus_mainbus
811.50Spkattach sbus at iommu with sbus_iommu
821.20Sthorpejfile	arch/sparc/dev/sbus.c			sbus
831.18Spk
841.45Sgwr#
851.45Sgwr# Console (zs) related stuff
861.45Sgwr#
871.45Sgwr
881.49Sthorpejdevice zstty: tty
891.45Sgwrattach zstty at zs
901.45Sgwrfile dev/ic/z8530tty.c			zstty needs-flag
911.45Sgwrfile arch/sparc/dev/zs_kgdb.c		kgdb
921.45Sgwr
931.45Sgwrdefine zsevent
941.45Sgwrfile dev/sun/event.c			zsevent
951.45Sgwr
961.49Sthorpejdevice kbd: zsevent
971.45Sgwrattach kbd at zs
981.45Sgwrfile dev/sun/kbd.c			kbd needs-flag
991.45Sgwrfile dev/sun/kbd_tables.c 		kbd
1001.45Sgwrfile arch/sparc/dev/kd.c 		kbd
1011.45Sgwr
1021.49Sthorpejdevice ms: zsevent
1031.45Sgwrattach ms at zs
1041.45Sgwrfile dev/sun/ms.c			ms needs-flag
1051.2Scgd
1061.5Spk#
1071.5Spk# Machine-independent SCSI drivers
1081.5Spk#
1091.43Sbouyerinclude "../../../dev/scsipi/files.scsipi"
1101.1Sderaadt
1111.64Spkmajor	{ cd = 18 }
1121.64Spkmajor	{ fd = 16 }
1131.64Spkmajor	{ md = 5 }
1141.64Spkmajor	{ sd = 7 }
1151.64Spkmajor	{ vnd = 8 }
1161.64Spkmajor	{ xd = 10 }
1171.64Spkmajor	{ xy = 3 }
1181.2Scgd
1191.50Spkattach dma at obio with dma_obio
1201.63Spkfile	arch/sparc/dev/dma_obio.c	dma_obio
1211.63Spk
1221.50Spkattach esp at obio with esp_obio
1231.63Spkfile	arch/sparc/dev/esp_obio.c	esp_obio
1241.1Sderaadt
1251.50Spkattach audioamd at mainbus with audioamd_mainbus
1261.50Spkattach audioamd at sbus with audioamd_sbus
1271.55Sjonathanfile	arch/sparc/dev/am7930_sparc.c		audioamd
1281.55Sjonathanfile	arch/sparc/sparc/amd7930intr.s		audioamd
1291.30Spk
1301.16Sthorpej# Brooktree DAC attribute
1311.16Sthorpejdefine bt_dac
1321.16Sthorpej
1331.46Stv# Include /dev/fb driver only if a framebuffer card is included
1341.46Stvdefine fb
1351.46Stv
1361.49Sthorpejdevice bwtwo: fb
1371.50Spkattach bwtwo at sbus with bwtwo_sbus
1381.50Spkattach bwtwo at obio with bwtwo_obio
1391.2Scgdfile	arch/sparc/dev/bwtwo.c		bwtwo needs-flag
1401.1Sderaadt
1411.49Sthorpejdevice cgtwo: fb
1421.50Spkattach cgtwo at vme
1431.10Spkfile	arch/sparc/dev/cgtwo.c		cgtwo needs-flag
1441.10Spk
1451.49Sthorpejdevice cgthree: bt_dac, fb
1461.50Spkattach cgthree at sbus with cgthree_sbus
1471.50Spkattach cgthree at obio with cgthree_obio
1481.2Scgdfile	arch/sparc/dev/cgthree.c	cgthree needs-flag
1491.1Sderaadt
1501.49Sthorpejdevice cgfour: bt_dac, fb
1511.16Sthorpejattach cgfour at obio
1521.14Sthorpejfile	arch/sparc/dev/cgfour.c		cgfour needs-flag
1531.14Sthorpej
1541.49Sthorpejdevice cgsix: bt_dac, fb
1551.50Spkattach cgsix at sbus with cgsix_sbus
1561.50Spkattach cgsix at obio with cgsix_obio
1571.2Scgdfile	arch/sparc/dev/cgsix.c		cgsix needs-flag
1581.67Spkfile	arch/sparc/dev/cgsix_sbus.c	cgsix_sbus & (sbus | obio)
1591.67Spkfile	arch/sparc/dev/cgsix_obio.c	cgsix_obio & obio
1601.1Sderaadt
1611.49Sthorpejdevice cgeight: bt_dac, fb
1621.16Sthorpejattach cgeight at obio
1631.14Sthorpejfile	arch/sparc/dev/cgeight.c	cgeight needs-flag
1641.25Spk
1651.49Sthorpejdevice tcx: bt_dac, fb
1661.25Spkattach tcx at sbus
1671.25Spkfile	arch/sparc/dev/tcx.c		tcx needs-flag
1681.29Sabrown
1691.49Sthorpejdevice cgfourteen: fb
1701.29Sabrownattach cgfourteen at obio
1711.29Sabrownfile	arch/sparc/dev/cgfourteen.c	cgfourteen needs-flag
1721.14Sthorpej
1731.16Sthorpejfile	arch/sparc/dev/bt_subr.c	bt_dac
1741.46Stvfile	arch/sparc/dev/fb.c		fb needs-flag
1751.1Sderaadt
1761.21Sthorpej# device definition in sys/conf/files
1771.57Sdrochnerattach le at obio with le_obio: le24
1781.60Spkfile	arch/sparc/dev/if_le_obio.c	le_obio
1791.2Scgd
1801.48Spkattach ie at obio with ie_obio
1811.48Spkfile	arch/sparc/dev/if_ie_obio.c	ie_obio
1821.7Spk
1831.49Sthorpejdevice si: scsi, ncr5380sbc
1841.48Spkattach si at vme
1851.49Sthorpejdevice sw: scsi, ncr5380sbc
1861.16Sthorpejattach sw at obio
1871.17Scgdfile	arch/sparc/dev/si.c		si | sw
1881.2Scgd
1891.24Spk#
1901.24Spk# Generic Sun stuff
1911.24Spk#
1921.24Spk
1931.45Sgwrfile	dev/cons.c
1941.2Scgd
1951.2Scgdfile	arch/sparc/fpu/fpu.c
1961.2Scgdfile	arch/sparc/fpu/fpu_add.c
1971.2Scgdfile	arch/sparc/fpu/fpu_compare.c
1981.2Scgdfile	arch/sparc/fpu/fpu_div.c
1991.2Scgdfile	arch/sparc/fpu/fpu_explode.c
2001.2Scgdfile	arch/sparc/fpu/fpu_implode.c
2011.2Scgdfile	arch/sparc/fpu/fpu_mul.c
2021.2Scgdfile	arch/sparc/fpu/fpu_sqrt.c
2031.2Scgdfile	arch/sparc/fpu/fpu_subr.c
2041.1Sderaadt
2051.1Sderaadt# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
2061.1Sderaadt# identified the exact problem yet.  NOOPT_C suffices for now.
2071.2Scgdfile	arch/sparc/sparc/autoconf.c
2081.2Scgdfile	arch/sparc/sparc/cache.c
2091.2Scgdfile	arch/sparc/sparc/conf.c
2101.37Schristosfile	arch/sparc/sparc/emul.c
2111.2Scgdfile	arch/sparc/sparc/in_cksum.c
2121.2Scgdfile	arch/sparc/sparc/intr.c
2131.44Spkfile	arch/sparc/sparc/kgdb_machdep.c	kgdb
2141.1Sderaadt# sparc/sparc/locore.s is handled specially in the makefile,
2151.1Sderaadt# because it must come first in the "ld" command line.
2161.2Scgdfile	arch/sparc/sparc/locore2.c
2171.2Scgdfile	arch/sparc/sparc/machdep.c
2181.2Scgdfile	arch/sparc/sparc/process_machdep.c
2191.2Scgdfile	arch/sparc/sparc/mem.c
2201.2Scgdfile	arch/sparc/sparc/openprom.c
2211.2Scgdfile	arch/sparc/sparc/pmap.c
2221.1Sderaadt# the following overrides the generic "sys_process.c"
2231.2Scgd# commented out by deraadt
2241.2Scgd#file	arch/sparc/sparc/sys_process.c
2251.2Scgdfile	arch/sparc/sparc/sys_machdep.c
2261.2Scgdfile	arch/sparc/sparc/trap.c
2271.2Scgdfile	arch/sparc/sparc/vm_machdep.c
2281.2Scgdfile	arch/sparc/sparc/disksubr.c
2291.2Scgd
2301.44Spkfile	arch/sparc/sparc/db_interface.c	ddb | kgdb
2311.2Scgdfile	arch/sparc/sparc/db_trace.c	ddb
2321.2Scgdfile	arch/sparc/sparc/db_disasm.c	ddb
2331.12Spk
2341.12Spk#
2351.12Spk# Raster Console
2361.12Spk#
2371.12Spkinclude "../../../dev/rcons/files.rcons"
2381.2Scgd
2391.2Scgd#
2401.2Scgd# Compatibility modules
2411.2Scgd#
2421.2Scgd
2431.2Scgd# SVR4 Binary Compatibility (COMPAT_SVR4)
2441.2Scgdinclude "../../../compat/svr4/files.svr4"
2451.2Scgdfile	arch/sparc/sparc/svr4_machdep.c	compat_svr4
2461.2Scgd
2471.2Scgd# SunOS Binary Compatibility (COMPAT_SUNOS)
2481.2Scgdinclude "../../../compat/sunos/files.sunos"
2491.65Spkfile	arch/sparc/sparc/sunos_machdep.c compat_sunos
2501.65Spk
2511.65Spk# Binary compatibility with previous NetBSD releases (COMPAT_XX)
2521.65Spkfile	arch/sparc/sparc/compat_13_machdep.c	compat_13
2531.15Spk
2541.15Spk# Miscellaneous
2551.15Spkfile	netns/ns_cksum.c		ns
2561.24Spk
2571.33Spkfile	arch/sparc/dev/md_root.c	memory_disk_hooks
258