files.sparc revision 1.47
11.47Sthorpej#	$NetBSD: files.sparc,v 1.47 1998/01/12 20:23:38 thorpej 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.47Sthorpejdevice mainbus class dull {}
121.16Sthorpejattach mainbus at root
131.2Scgd
141.47Sthorpejdevice obio class dull { [addr = -1], [level = -1] }
151.16Sthorpejattach obio at mainbus
161.32Spk
171.47Sthorpejdevice iommu class dull {}
181.32Spkattach iommu at mainbus
191.32Spkfile	arch/sparc/sparc/iommu.c		iommu
201.32Spk
211.47Sthorpejdevice vme class dull {}
221.39Spkattach vme at iommu
231.39Spk
241.47Sthorpejdevice vmel class dull { [addr = -1], [level = -1], [vect = -1] }
251.39Spkattach vmel at mainbus, vme
261.47Sthorpejdevice vmes class dull { [addr = -1], [level = -1], [vect = -1] }
271.39Spkattach vmes at mainbus, vme
281.39Spkfile	arch/sparc/dev/obio.c		obio | vmel | vmes | vme
291.1Sderaadt
301.47Sthorpejdevice auxreg class dull
311.18Spkattach auxreg at mainbus, obio
321.2Scgdfile	arch/sparc/sparc/auxreg.c
331.1Sderaadt
341.47Sthorpejdevice clock class dull
351.16Sthorpejattach clock at mainbus, obio
361.20Sthorpej
371.47Sthorpejdevice oclock class dull
381.16Sthorpejattach oclock at obio
391.20Sthorpej
401.47Sthorpejdevice timer class dull
411.16Sthorpejattach timer at mainbus, obio
421.20Sthorpej
431.47Sthorpejdevice eeprom class dull
441.16Sthorpejattach eeprom at obio
451.2Scgdfile	arch/sparc/sparc/clock.c
461.20Sthorpej
471.47Sthorpejdevice power class dull
481.18Spkattach power at obio
491.20Sthorpejfile	arch/sparc/dev/power.c			power
501.1Sderaadt
511.47Sthorpejdevice cpu class cpu
521.16Sthorpejattach cpu at mainbus
531.2Scgdfile	arch/sparc/sparc/cpu.c
541.1Sderaadt
551.47Sthorpejdevice memreg class dull
561.16Sthorpejattach memreg at mainbus, obio
571.2Scgdfile	arch/sparc/sparc/memreg.c
581.1Sderaadt
591.47Sthorpejdevice zs class dull {channel = -1}
601.16Sthorpejattach zs at mainbus, obio
611.2Scgdfile	arch/sparc/dev/zs.c			zs needs-count
621.45Sgwrfile	dev/ic/z8530sc.c			zs
631.2Scgd
641.47Sthorpejdevice fdc class dull {}
651.18Spkattach fdc at mainbus, obio
661.47Sthorpejdevice fd class disk: disk
671.16Sthorpejattach fd at fdc
681.19Spkfile	arch/sparc/dev/fd.c			fdc | fd needs-flag
691.19Spkfile	arch/sparc/sparc/bsd_fdintr.s		fdc
701.1Sderaadt
711.47Sthorpejdevice sbus class dull { slot = -1, offset = -1 }
721.18Spkattach sbus at mainbus, iommu
731.20Sthorpejfile	arch/sparc/dev/sbus.c			sbus
741.18Spk
751.45Sgwr#
761.45Sgwr# Console (zs) related stuff
771.45Sgwr#
781.45Sgwr
791.47Sthorpejdevice zstty class tty: tty
801.45Sgwrattach zstty at zs
811.45Sgwrfile dev/ic/z8530tty.c			zstty needs-flag
821.45Sgwrfile arch/sparc/dev/zs_kgdb.c		kgdb
831.45Sgwr
841.45Sgwrdefine zsevent
851.45Sgwrfile dev/sun/event.c			zsevent
861.45Sgwr
871.47Sthorpejdevice kbd class dull: zsevent
881.45Sgwrattach kbd at zs
891.45Sgwrfile dev/sun/kbd.c			kbd needs-flag
901.45Sgwrfile dev/sun/kbd_tables.c 		kbd
911.45Sgwrfile arch/sparc/dev/kd.c 		kbd
921.45Sgwr
931.47Sthorpejdevice ms class dull: zsevent
941.45Sgwrattach ms at zs
951.45Sgwrfile dev/sun/ms.c			ms needs-flag
961.45Sgwr
971.2Scgd
981.5Spk#
991.5Spk# Machine-independent SCSI drivers
1001.5Spk#
1011.43Sbouyerinclude "../../../dev/scsipi/files.scsipi"
1021.1Sderaadt
1031.2Scgdmajor { sd = 7 }
1041.2Scgdmajor { vnd = 8 }
1051.2Scgdmajor { cd = 18 }
1061.2Scgd
1071.47Sthorpejdevice dma class dull {}
1081.16Sthorpejattach dma at sbus, obio
1091.47Sthorpejdevice ledma class dull {}
1101.16Sthorpejattach ledma at sbus
1111.23Spkfile	arch/sparc/dev/dma.c		dma | ledma
1121.47Sthorpejdevice lebuffer class dull {}
1131.32Spkattach lebuffer at sbus
1141.32Spkfile	arch/sparc/dev/lebuffer.c	lebuffer
1151.2Scgd
1161.47Sthorpejdevice esp class dull: scsi, ncr53c9x
1171.23Spkattach esp at sbus, dma, obio
1181.23Spkfile	arch/sparc/dev/esp.c		esp
1191.1Sderaadt
1201.47Sthorpejdevice audioamd class dull: audio
1211.41Saugustssattach audioamd at mainbus, obio, sbus
1221.30Spkfile	arch/sparc/dev/amd7930.c		audio
1231.30Spkfile	arch/sparc/sparc/amd7930intr.s		audio
1241.30Spk
1251.16Sthorpej# Brooktree DAC attribute
1261.16Sthorpejdefine bt_dac
1271.16Sthorpej
1281.46Stv# Include /dev/fb driver only if a framebuffer card is included
1291.46Stvdefine fb
1301.46Stv
1311.47Sthorpejdevice bwtwo class dull: fb
1321.16Sthorpejattach bwtwo at sbus, obio, vmes, vmel
1331.2Scgdfile	arch/sparc/dev/bwtwo.c		bwtwo needs-flag
1341.1Sderaadt
1351.47Sthorpejdevice cgtwo class dull: fb
1361.16Sthorpejattach cgtwo at sbus, obio, vmes
1371.10Spkfile	arch/sparc/dev/cgtwo.c		cgtwo needs-flag
1381.10Spk
1391.47Sthorpejdevice cgthree class dull: bt_dac, fb
1401.16Sthorpejattach cgthree at sbus
1411.2Scgdfile	arch/sparc/dev/cgthree.c	cgthree needs-flag
1421.1Sderaadt
1431.47Sthorpejdevice cgfour class dull: bt_dac, fb
1441.16Sthorpejattach cgfour at obio
1451.14Sthorpejfile	arch/sparc/dev/cgfour.c		cgfour needs-flag
1461.14Sthorpej
1471.47Sthorpejdevice cgsix class dull: bt_dac, fb
1481.16Sthorpejattach cgsix at sbus, obio
1491.2Scgdfile	arch/sparc/dev/cgsix.c		cgsix needs-flag
1501.1Sderaadt
1511.47Sthorpejdevice cgeight class dull: bt_dac, fb
1521.16Sthorpejattach cgeight at obio
1531.14Sthorpejfile	arch/sparc/dev/cgeight.c	cgeight needs-flag
1541.25Spk
1551.47Sthorpejdevice tcx class dull: bt_dac, fb
1561.25Spkattach tcx at sbus
1571.25Spkfile	arch/sparc/dev/tcx.c		tcx needs-flag
1581.29Sabrown
1591.47Sthorpejdevice cgfourteen class dull: fb
1601.29Sabrownattach cgfourteen at obio
1611.29Sabrownfile	arch/sparc/dev/cgfourteen.c	cgfourteen needs-flag
1621.14Sthorpej
1631.16Sthorpejfile	arch/sparc/dev/bt_subr.c	bt_dac
1641.46Stvfile	arch/sparc/dev/fb.c		fb needs-flag
1651.1Sderaadt
1661.21Sthorpej# device definition in sys/conf/files
1671.32Spkattach le at sbus, ledma, lebuffer, obio
1681.2Scgdfile	arch/sparc/dev/if_le.c		le
1691.2Scgd
1701.47Sthorpejdevice ie class ifnet: ifnet, ether, arp
1711.16Sthorpejattach ie at obio, vmes, vmel
1721.2Scgdfile	arch/sparc/dev/if_ie.c		ie
1731.2Scgd
1741.47Sthorpejdevice xdc class dull {drive = -1}
1751.16Sthorpejattach xdc at vmel
1761.47Sthorpejdevice xd class disk: disk
1771.16Sthorpejattach xd at xdc
1781.6Spkfile	arch/sparc/dev/xd.c		xd needs-flag
1791.6Spkmajor	{xd = 10}
1801.11Schuck
1811.47Sthorpejdevice xyc class dull {drive = -1}
1821.16Sthorpejattach xyc at vmes
1831.47Sthorpejdevice xy class disk: disk
1841.16Sthorpejattach xy at xyc
1851.11Schuckfile	arch/sparc/dev/xy.c		xy needs-flag
1861.11Schuckmajor	{xy = 3}
1871.7Spk
1881.47Sthorpejdevice si class dull: scsi, ncr5380sbc
1891.16Sthorpejattach si at vmes
1901.47Sthorpejdevice sw class dull: scsi, ncr5380sbc
1911.16Sthorpejattach sw at obio
1921.17Scgdfile	arch/sparc/dev/si.c		si | sw
1931.28Schuck
1941.31Sthorpej# Efficient Networks, Inc. ATM interface
1951.31Sthorpej# device declaration in sys/conf/files
1961.28Schuckattach  en at sbus with en_sbus
1971.31Sthorpejfile    arch/sparc/dev/if_en_sbus.c     en_sbus
1981.36Scgd
1991.36Scgd# Qlogic ISP 10x0 (Sbus) family
2001.36Scgd# device declaration in sys/conf/files
2011.36Scgdattach isp at sbus with isp_sbus
2021.36Scgdfile	arch/sparc/dev/isp_sbus.c	isp_sbus
2031.2Scgd
2041.24Spk#
2051.24Spk# Generic Sun stuff
2061.24Spk#
2071.24Spk
2081.45Sgwrfile	dev/cons.c
2091.2Scgd
2101.2Scgdfile	arch/sparc/fpu/fpu.c
2111.2Scgdfile	arch/sparc/fpu/fpu_add.c
2121.2Scgdfile	arch/sparc/fpu/fpu_compare.c
2131.2Scgdfile	arch/sparc/fpu/fpu_div.c
2141.2Scgdfile	arch/sparc/fpu/fpu_explode.c
2151.2Scgdfile	arch/sparc/fpu/fpu_implode.c
2161.2Scgdfile	arch/sparc/fpu/fpu_mul.c
2171.2Scgdfile	arch/sparc/fpu/fpu_sqrt.c
2181.2Scgdfile	arch/sparc/fpu/fpu_subr.c
2191.1Sderaadt
2201.1Sderaadt# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
2211.1Sderaadt# identified the exact problem yet.  NOOPT_C suffices for now.
2221.2Scgdfile	arch/sparc/sparc/autoconf.c
2231.2Scgdfile	arch/sparc/sparc/cache.c
2241.2Scgdfile	arch/sparc/sparc/conf.c
2251.37Schristosfile	arch/sparc/sparc/emul.c
2261.2Scgdfile	arch/sparc/sparc/in_cksum.c
2271.2Scgdfile	arch/sparc/sparc/intr.c
2281.44Spkfile	arch/sparc/sparc/kgdb_machdep.c	kgdb
2291.1Sderaadt# sparc/sparc/locore.s is handled specially in the makefile,
2301.1Sderaadt# because it must come first in the "ld" command line.
2311.2Scgdfile	arch/sparc/sparc/locore2.c
2321.2Scgdfile	arch/sparc/sparc/machdep.c
2331.2Scgdfile	arch/sparc/sparc/process_machdep.c
2341.2Scgdfile	arch/sparc/sparc/mem.c
2351.2Scgdfile	arch/sparc/sparc/openprom.c
2361.2Scgdfile	arch/sparc/sparc/pmap.c
2371.1Sderaadt# the following overrides the generic "sys_process.c"
2381.2Scgd# commented out by deraadt
2391.2Scgd#file	arch/sparc/sparc/sys_process.c
2401.2Scgdfile	arch/sparc/sparc/sys_machdep.c
2411.2Scgdfile	arch/sparc/sparc/trap.c
2421.2Scgdfile	arch/sparc/sparc/vm_machdep.c
2431.2Scgdfile	arch/sparc/sparc/disksubr.c
2441.1Sderaadt
2451.1Sderaadtfile	kludge_for_in_proto.c		hy needs-flag
2461.2Scgd
2471.44Spkfile	arch/sparc/sparc/db_interface.c	ddb | kgdb
2481.2Scgdfile	arch/sparc/sparc/db_trace.c	ddb
2491.2Scgdfile	arch/sparc/sparc/db_disasm.c	ddb
2501.12Spk
2511.12Spk#
2521.12Spk# Raster Console
2531.12Spk#
2541.12Spkinclude "../../../dev/rcons/files.rcons"
2551.2Scgd
2561.2Scgd#
2571.2Scgd# Compatibility modules
2581.2Scgd#
2591.2Scgd
2601.2Scgd# SVR4 Binary Compatibility (COMPAT_SVR4)
2611.2Scgdinclude "../../../compat/svr4/files.svr4"
2621.2Scgdfile	arch/sparc/sparc/svr4_machdep.c	compat_svr4
2631.3Schristosfile	arch/sparc/sparc/sunos_machdep.c compat_sunos
2641.2Scgd
2651.2Scgd# SunOS Binary Compatibility (COMPAT_SUNOS)
2661.2Scgdinclude "../../../compat/sunos/files.sunos"
2671.15Spk
2681.15Spk# Miscellaneous
2691.15Spkfile	netns/ns_cksum.c		ns
2701.24Spk
2711.33Spkmajor	{md = 5}
2721.33Spkfile	arch/sparc/dev/md_root.c	memory_disk_hooks
273