files.sparc revision 1.60
11.60Spk#	$NetBSD: files.sparc,v 1.60 1998/07/28 00:10:23 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.1Sderaadt
611.49Sthorpejdevice zs {channel = -1}
621.50Spkattach zs at mainbus with zs_mainbus
631.50Spkattach zs at obio with zs_obio
641.2Scgdfile	arch/sparc/dev/zs.c			zs needs-count
651.45Sgwrfile	dev/ic/z8530sc.c			zs
661.2Scgd
671.49Sthorpejdevice fdc {}
681.50Spkattach fdc at mainbus with fdc_mainbus
691.50Spkattach fdc at obio with fdc_obio
701.49Sthorpejdevice fd: disk
711.16Sthorpejattach fd at fdc
721.19Spkfile	arch/sparc/dev/fd.c			fdc | fd needs-flag
731.19Spkfile	arch/sparc/sparc/bsd_fdintr.s		fdc
741.1Sderaadt
751.59Spkinclude "../../../dev/sbus/files.sbus"
761.50Spkattach sbus at mainbus with sbus_mainbus
771.50Spkattach sbus at iommu with sbus_iommu
781.20Sthorpejfile	arch/sparc/dev/sbus.c			sbus
791.18Spk
801.45Sgwr#
811.45Sgwr# Console (zs) related stuff
821.45Sgwr#
831.45Sgwr
841.49Sthorpejdevice zstty: tty
851.45Sgwrattach zstty at zs
861.45Sgwrfile dev/ic/z8530tty.c			zstty needs-flag
871.45Sgwrfile arch/sparc/dev/zs_kgdb.c		kgdb
881.45Sgwr
891.45Sgwrdefine zsevent
901.45Sgwrfile dev/sun/event.c			zsevent
911.45Sgwr
921.49Sthorpejdevice kbd: zsevent
931.45Sgwrattach kbd at zs
941.45Sgwrfile dev/sun/kbd.c			kbd needs-flag
951.45Sgwrfile dev/sun/kbd_tables.c 		kbd
961.45Sgwrfile arch/sparc/dev/kd.c 		kbd
971.45Sgwr
981.49Sthorpejdevice ms: zsevent
991.45Sgwrattach ms at zs
1001.45Sgwrfile dev/sun/ms.c			ms needs-flag
1011.45Sgwr
1021.53Spk#
1031.53Spk# Magma Serial/Parallel boards
1041.53Spk#
1051.53Spkdevice magma {}
1061.53Spkattach magma at sbus                                 
1071.53Spkdevice mtty: tty
1081.53Spkattach mtty at magma
1091.53Spkdevice mbpp
1101.53Spkattach mbpp at magma
1111.53Spkfile arch/sparc/dev/magma.c		magma | mtty | mbpp needs-flag
1121.2Scgd
1131.5Spk#
1141.5Spk# Machine-independent SCSI drivers
1151.5Spk#
1161.43Sbouyerinclude "../../../dev/scsipi/files.scsipi"
1171.1Sderaadt
1181.2Scgdmajor { sd = 7 }
1191.2Scgdmajor { vnd = 8 }
1201.2Scgdmajor { cd = 18 }
1211.48Spkmajor { xd = 10 }
1221.48Spkmajor { xy = 3 }
1231.2Scgd
1241.49Sthorpejdevice dma {}
1251.50Spkattach dma at sbus with dma_sbus
1261.50Spkattach dma at obio with dma_obio
1271.49Sthorpejdevice ledma {}
1281.16Sthorpejattach ledma at sbus
1291.23Spkfile	arch/sparc/dev/dma.c		dma | ledma
1301.2Scgd
1311.49Sthorpejdevice esp: scsi, ncr53c9x
1321.50Spkattach esp at sbus with esp_sbus
1331.50Spkattach esp at dma with esp_dma
1341.50Spkattach esp at obio with esp_obio
1351.23Spkfile	arch/sparc/dev/esp.c		esp
1361.1Sderaadt
1371.50Spkattach audioamd at mainbus with audioamd_mainbus
1381.50Spkattach audioamd at sbus with audioamd_sbus
1391.55Sjonathanfile	arch/sparc/dev/am7930_sparc.c		audioamd
1401.55Sjonathanfile	arch/sparc/sparc/amd7930intr.s		audioamd
1411.30Spk
1421.16Sthorpej# Brooktree DAC attribute
1431.16Sthorpejdefine bt_dac
1441.16Sthorpej
1451.46Stv# Include /dev/fb driver only if a framebuffer card is included
1461.46Stvdefine fb
1471.46Stv
1481.49Sthorpejdevice bwtwo: fb
1491.50Spkattach bwtwo at sbus with bwtwo_sbus
1501.50Spkattach bwtwo at obio with bwtwo_obio
1511.2Scgdfile	arch/sparc/dev/bwtwo.c		bwtwo needs-flag
1521.1Sderaadt
1531.49Sthorpejdevice cgtwo: fb
1541.50Spkattach cgtwo at vme
1551.10Spkfile	arch/sparc/dev/cgtwo.c		cgtwo needs-flag
1561.10Spk
1571.49Sthorpejdevice cgthree: bt_dac, fb
1581.50Spkattach cgthree at sbus with cgthree_sbus
1591.50Spkattach cgthree at obio with cgthree_obio
1601.2Scgdfile	arch/sparc/dev/cgthree.c	cgthree needs-flag
1611.1Sderaadt
1621.49Sthorpejdevice cgfour: bt_dac, fb
1631.16Sthorpejattach cgfour at obio
1641.14Sthorpejfile	arch/sparc/dev/cgfour.c		cgfour needs-flag
1651.14Sthorpej
1661.49Sthorpejdevice cgsix: bt_dac, fb
1671.50Spkattach cgsix at sbus with cgsix_sbus
1681.50Spkattach cgsix at obio with cgsix_obio
1691.2Scgdfile	arch/sparc/dev/cgsix.c		cgsix needs-flag
1701.51Spkfile	arch/sparc/dev/cgsix_sbus.c	cgsix & (sbus | obio)
1711.51Spkfile	arch/sparc/dev/cgsix_obio.c	cgsix & obio
1721.1Sderaadt
1731.49Sthorpejdevice cgeight: bt_dac, fb
1741.16Sthorpejattach cgeight at obio
1751.14Sthorpejfile	arch/sparc/dev/cgeight.c	cgeight needs-flag
1761.25Spk
1771.49Sthorpejdevice tcx: bt_dac, fb
1781.25Spkattach tcx at sbus
1791.25Spkfile	arch/sparc/dev/tcx.c		tcx needs-flag
1801.29Sabrown
1811.49Sthorpejdevice cgfourteen: fb
1821.29Sabrownattach cgfourteen at obio
1831.29Sabrownfile	arch/sparc/dev/cgfourteen.c	cgfourteen needs-flag
1841.14Sthorpej
1851.16Sthorpejfile	arch/sparc/dev/bt_subr.c	bt_dac
1861.46Stvfile	arch/sparc/dev/fb.c		fb needs-flag
1871.1Sderaadt
1881.21Sthorpej# device definition in sys/conf/files
1891.57Sdrochnerattach le at ledma with le_ledma: le24
1901.57Sdrochnerattach le at obio with le_obio: le24
1911.60Spkfile	arch/sparc/dev/if_le_ledma.c	le_ledma
1921.60Spkfile	arch/sparc/dev/if_le_obio.c	le_obio
1931.2Scgd
1941.48Spkattach ie at obio with ie_obio
1951.48Spkfile	arch/sparc/dev/if_ie_obio.c	ie_obio
1961.7Spk
1971.49Sthorpejdevice si: scsi, ncr5380sbc
1981.48Spkattach si at vme
1991.49Sthorpejdevice sw: scsi, ncr5380sbc
2001.16Sthorpejattach sw at obio
2011.17Scgdfile	arch/sparc/dev/si.c		si | sw
2021.36Scgd
2031.36Scgd# Qlogic ISP 10x0 (Sbus) family
2041.36Scgd# device declaration in sys/conf/files
2051.36Scgdattach isp at sbus with isp_sbus
2061.36Scgdfile	arch/sparc/dev/isp_sbus.c	isp_sbus
2071.2Scgd
2081.24Spk#
2091.24Spk# Generic Sun stuff
2101.24Spk#
2111.24Spk
2121.45Sgwrfile	dev/cons.c
2131.2Scgd
2141.2Scgdfile	arch/sparc/fpu/fpu.c
2151.2Scgdfile	arch/sparc/fpu/fpu_add.c
2161.2Scgdfile	arch/sparc/fpu/fpu_compare.c
2171.2Scgdfile	arch/sparc/fpu/fpu_div.c
2181.2Scgdfile	arch/sparc/fpu/fpu_explode.c
2191.2Scgdfile	arch/sparc/fpu/fpu_implode.c
2201.2Scgdfile	arch/sparc/fpu/fpu_mul.c
2211.2Scgdfile	arch/sparc/fpu/fpu_sqrt.c
2221.2Scgdfile	arch/sparc/fpu/fpu_subr.c
2231.1Sderaadt
2241.1Sderaadt# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
2251.1Sderaadt# identified the exact problem yet.  NOOPT_C suffices for now.
2261.2Scgdfile	arch/sparc/sparc/autoconf.c
2271.2Scgdfile	arch/sparc/sparc/cache.c
2281.2Scgdfile	arch/sparc/sparc/conf.c
2291.37Schristosfile	arch/sparc/sparc/emul.c
2301.2Scgdfile	arch/sparc/sparc/in_cksum.c
2311.2Scgdfile	arch/sparc/sparc/intr.c
2321.44Spkfile	arch/sparc/sparc/kgdb_machdep.c	kgdb
2331.1Sderaadt# sparc/sparc/locore.s is handled specially in the makefile,
2341.1Sderaadt# because it must come first in the "ld" command line.
2351.2Scgdfile	arch/sparc/sparc/locore2.c
2361.2Scgdfile	arch/sparc/sparc/machdep.c
2371.2Scgdfile	arch/sparc/sparc/process_machdep.c
2381.2Scgdfile	arch/sparc/sparc/mem.c
2391.2Scgdfile	arch/sparc/sparc/openprom.c
2401.2Scgdfile	arch/sparc/sparc/pmap.c
2411.1Sderaadt# the following overrides the generic "sys_process.c"
2421.2Scgd# commented out by deraadt
2431.2Scgd#file	arch/sparc/sparc/sys_process.c
2441.2Scgdfile	arch/sparc/sparc/sys_machdep.c
2451.2Scgdfile	arch/sparc/sparc/trap.c
2461.2Scgdfile	arch/sparc/sparc/vm_machdep.c
2471.2Scgdfile	arch/sparc/sparc/disksubr.c
2481.2Scgd
2491.44Spkfile	arch/sparc/sparc/db_interface.c	ddb | kgdb
2501.2Scgdfile	arch/sparc/sparc/db_trace.c	ddb
2511.2Scgdfile	arch/sparc/sparc/db_disasm.c	ddb
2521.12Spk
2531.12Spk#
2541.12Spk# Raster Console
2551.12Spk#
2561.12Spkinclude "../../../dev/rcons/files.rcons"
2571.2Scgd
2581.2Scgd#
2591.2Scgd# Compatibility modules
2601.2Scgd#
2611.2Scgd
2621.2Scgd# SVR4 Binary Compatibility (COMPAT_SVR4)
2631.2Scgdinclude "../../../compat/svr4/files.svr4"
2641.2Scgdfile	arch/sparc/sparc/svr4_machdep.c	compat_svr4
2651.3Schristosfile	arch/sparc/sparc/sunos_machdep.c compat_sunos
2661.2Scgd
2671.2Scgd# SunOS Binary Compatibility (COMPAT_SUNOS)
2681.2Scgdinclude "../../../compat/sunos/files.sunos"
2691.15Spk
2701.15Spk# Miscellaneous
2711.15Spkfile	netns/ns_cksum.c		ns
2721.24Spk
2731.33Spkmajor	{md = 5}
2741.33Spkfile	arch/sparc/dev/md_root.c	memory_disk_hooks
275