files.sparc revision 1.53
11.53Spk#	$NetBSD: files.sparc,v 1.53 1998/05/20 00:00:12 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.20Sthorpejfile	arch/sparc/dev/power.c			power
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.49Sthorpejdevice sbus { slot = -1, offset = -1 }
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.52Spkdevice xbox {}
811.52Spkattach xbox at sbus
821.52Spkattach sbus at xbox with sbus_xbox
831.52Spkfile	arch/sparc/dev/xbox.c			xbox
841.50Spk
851.45Sgwr#
861.45Sgwr# Console (zs) related stuff
871.45Sgwr#
881.45Sgwr
891.49Sthorpejdevice zstty: tty
901.45Sgwrattach zstty at zs
911.45Sgwrfile dev/ic/z8530tty.c			zstty needs-flag
921.45Sgwrfile arch/sparc/dev/zs_kgdb.c		kgdb
931.45Sgwr
941.45Sgwrdefine zsevent
951.45Sgwrfile dev/sun/event.c			zsevent
961.45Sgwr
971.49Sthorpejdevice kbd: zsevent
981.45Sgwrattach kbd at zs
991.45Sgwrfile dev/sun/kbd.c			kbd needs-flag
1001.45Sgwrfile dev/sun/kbd_tables.c 		kbd
1011.45Sgwrfile arch/sparc/dev/kd.c 		kbd
1021.45Sgwr
1031.49Sthorpejdevice ms: zsevent
1041.45Sgwrattach ms at zs
1051.45Sgwrfile dev/sun/ms.c			ms needs-flag
1061.45Sgwr
1071.53Spk#
1081.53Spk# Magma Serial/Parallel boards
1091.53Spk#
1101.53Spkdevice magma {}
1111.53Spkattach magma at sbus                                 
1121.53Spkdevice mtty: tty
1131.53Spkattach mtty at magma
1141.53Spkdevice mbpp
1151.53Spkattach mbpp at magma
1161.53Spkfile arch/sparc/dev/magma.c		magma | mtty | mbpp needs-flag
1171.2Scgd
1181.5Spk#
1191.5Spk# Machine-independent SCSI drivers
1201.5Spk#
1211.43Sbouyerinclude "../../../dev/scsipi/files.scsipi"
1221.1Sderaadt
1231.2Scgdmajor { sd = 7 }
1241.2Scgdmajor { vnd = 8 }
1251.2Scgdmajor { cd = 18 }
1261.48Spkmajor { xd = 10 }
1271.48Spkmajor { xy = 3 }
1281.2Scgd
1291.49Sthorpejdevice dma {}
1301.50Spkattach dma at sbus with dma_sbus
1311.50Spkattach dma at obio with dma_obio
1321.49Sthorpejdevice ledma {}
1331.16Sthorpejattach ledma at sbus
1341.23Spkfile	arch/sparc/dev/dma.c		dma | ledma
1351.49Sthorpejdevice lebuffer {}
1361.32Spkattach lebuffer at sbus
1371.32Spkfile	arch/sparc/dev/lebuffer.c	lebuffer
1381.2Scgd
1391.49Sthorpejdevice esp: scsi, ncr53c9x
1401.50Spk##attach esp at sbus, dma, obio
1411.50Spkattach esp at sbus with esp_sbus
1421.50Spkattach esp at dma with esp_dma
1431.50Spkattach esp at obio with esp_obio
1441.23Spkfile	arch/sparc/dev/esp.c		esp
1451.1Sderaadt
1461.49Sthorpejdevice audioamd: audio
1471.50Spkattach audioamd at mainbus with audioamd_mainbus
1481.50Spkattach audioamd at sbus with audioamd_sbus
1491.30Spkfile	arch/sparc/dev/amd7930.c		audio
1501.30Spkfile	arch/sparc/sparc/amd7930intr.s		audio
1511.30Spk
1521.16Sthorpej# Brooktree DAC attribute
1531.16Sthorpejdefine bt_dac
1541.16Sthorpej
1551.46Stv# Include /dev/fb driver only if a framebuffer card is included
1561.46Stvdefine fb
1571.46Stv
1581.49Sthorpejdevice bwtwo: fb
1591.50Spkattach bwtwo at sbus with bwtwo_sbus
1601.50Spkattach bwtwo at obio with bwtwo_obio
1611.2Scgdfile	arch/sparc/dev/bwtwo.c		bwtwo needs-flag
1621.1Sderaadt
1631.49Sthorpejdevice cgtwo: fb
1641.50Spkattach cgtwo at vme
1651.10Spkfile	arch/sparc/dev/cgtwo.c		cgtwo needs-flag
1661.10Spk
1671.49Sthorpejdevice cgthree: bt_dac, fb
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.49Sthorpejdevice cgfour: bt_dac, fb
1731.16Sthorpejattach cgfour at obio
1741.14Sthorpejfile	arch/sparc/dev/cgfour.c		cgfour needs-flag
1751.14Sthorpej
1761.49Sthorpejdevice cgsix: bt_dac, fb
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.51Spkfile	arch/sparc/dev/cgsix_sbus.c	cgsix & (sbus | obio)
1811.51Spkfile	arch/sparc/dev/cgsix_obio.c	cgsix & obio
1821.1Sderaadt
1831.49Sthorpejdevice cgeight: bt_dac, fb
1841.16Sthorpejattach cgeight at obio
1851.14Sthorpejfile	arch/sparc/dev/cgeight.c	cgeight needs-flag
1861.25Spk
1871.49Sthorpejdevice tcx: bt_dac, fb
1881.25Spkattach tcx at sbus
1891.25Spkfile	arch/sparc/dev/tcx.c		tcx needs-flag
1901.29Sabrown
1911.49Sthorpejdevice cgfourteen: fb
1921.29Sabrownattach cgfourteen at obio
1931.29Sabrownfile	arch/sparc/dev/cgfourteen.c	cgfourteen needs-flag
1941.14Sthorpej
1951.16Sthorpejfile	arch/sparc/dev/bt_subr.c	bt_dac
1961.46Stvfile	arch/sparc/dev/fb.c		fb needs-flag
1971.1Sderaadt
1981.21Sthorpej# device definition in sys/conf/files
1991.50Spkattach le at sbus with le_sbus
2001.50Spkattach le at ledma with le_ledma
2011.50Spkattach le at lebuffer with le_lebuffer
2021.50Spkattach le at obio with le_obio
2031.2Scgdfile	arch/sparc/dev/if_le.c		le
2041.2Scgd
2051.48Spkattach ie at obio with ie_obio
2061.48Spkfile	arch/sparc/dev/if_ie_obio.c	ie_obio
2071.7Spk
2081.49Sthorpejdevice si: scsi, ncr5380sbc
2091.48Spkattach si at vme
2101.49Sthorpejdevice sw: scsi, ncr5380sbc
2111.16Sthorpejattach sw at obio
2121.17Scgdfile	arch/sparc/dev/si.c		si | sw
2131.28Schuck
2141.31Sthorpej# Efficient Networks, Inc. ATM interface
2151.31Sthorpej# device declaration in sys/conf/files
2161.28Schuckattach  en at sbus with en_sbus
2171.31Sthorpejfile    arch/sparc/dev/if_en_sbus.c     en_sbus
2181.36Scgd
2191.36Scgd# Qlogic ISP 10x0 (Sbus) family
2201.36Scgd# device declaration in sys/conf/files
2211.36Scgdattach isp at sbus with isp_sbus
2221.36Scgdfile	arch/sparc/dev/isp_sbus.c	isp_sbus
2231.2Scgd
2241.24Spk#
2251.24Spk# Generic Sun stuff
2261.24Spk#
2271.24Spk
2281.45Sgwrfile	dev/cons.c
2291.2Scgd
2301.2Scgdfile	arch/sparc/fpu/fpu.c
2311.2Scgdfile	arch/sparc/fpu/fpu_add.c
2321.2Scgdfile	arch/sparc/fpu/fpu_compare.c
2331.2Scgdfile	arch/sparc/fpu/fpu_div.c
2341.2Scgdfile	arch/sparc/fpu/fpu_explode.c
2351.2Scgdfile	arch/sparc/fpu/fpu_implode.c
2361.2Scgdfile	arch/sparc/fpu/fpu_mul.c
2371.2Scgdfile	arch/sparc/fpu/fpu_sqrt.c
2381.2Scgdfile	arch/sparc/fpu/fpu_subr.c
2391.1Sderaadt
2401.1Sderaadt# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
2411.1Sderaadt# identified the exact problem yet.  NOOPT_C suffices for now.
2421.2Scgdfile	arch/sparc/sparc/autoconf.c
2431.2Scgdfile	arch/sparc/sparc/cache.c
2441.2Scgdfile	arch/sparc/sparc/conf.c
2451.37Schristosfile	arch/sparc/sparc/emul.c
2461.2Scgdfile	arch/sparc/sparc/in_cksum.c
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.2Scgdfile	arch/sparc/sparc/openprom.c
2561.2Scgdfile	arch/sparc/sparc/pmap.c
2571.1Sderaadt# the following overrides the generic "sys_process.c"
2581.2Scgd# commented out by deraadt
2591.2Scgd#file	arch/sparc/sparc/sys_process.c
2601.2Scgdfile	arch/sparc/sparc/sys_machdep.c
2611.2Scgdfile	arch/sparc/sparc/trap.c
2621.2Scgdfile	arch/sparc/sparc/vm_machdep.c
2631.2Scgdfile	arch/sparc/sparc/disksubr.c
2641.1Sderaadt
2651.1Sderaadtfile	kludge_for_in_proto.c		hy needs-flag
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.12Spkinclude "../../../dev/rcons/files.rcons"
2751.2Scgd
2761.2Scgd#
2771.2Scgd# Compatibility modules
2781.2Scgd#
2791.2Scgd
2801.2Scgd# SVR4 Binary Compatibility (COMPAT_SVR4)
2811.2Scgdinclude "../../../compat/svr4/files.svr4"
2821.2Scgdfile	arch/sparc/sparc/svr4_machdep.c	compat_svr4
2831.3Schristosfile	arch/sparc/sparc/sunos_machdep.c compat_sunos
2841.2Scgd
2851.2Scgd# SunOS Binary Compatibility (COMPAT_SUNOS)
2861.2Scgdinclude "../../../compat/sunos/files.sunos"
2871.15Spk
2881.15Spk# Miscellaneous
2891.15Spkfile	netns/ns_cksum.c		ns
2901.24Spk
2911.33Spkmajor	{md = 5}
2921.33Spkfile	arch/sparc/dev/md_root.c	memory_disk_hooks
293