files.sparc revision 1.48
11.48Spk#	$NetBSD: files.sparc,v 1.48 1998/01/25 19:56:30 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.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.48Spkinclude "../../../dev/vme/files.vme"
221.48Spkattach vme at iommu, mainbus
231.39Spk
241.48Spkfile	arch/sparc/dev/obio.c		obio
251.48Spkfile	arch/sparc/dev/vme_machdep.c	vme
261.1Sderaadt
271.47Sthorpejdevice auxreg class dull
281.18Spkattach auxreg at mainbus, obio
291.2Scgdfile	arch/sparc/sparc/auxreg.c
301.1Sderaadt
311.47Sthorpejdevice clock class dull
321.16Sthorpejattach clock at mainbus, obio
331.20Sthorpej
341.47Sthorpejdevice oclock class dull
351.16Sthorpejattach oclock at obio
361.20Sthorpej
371.47Sthorpejdevice timer class dull
381.16Sthorpejattach timer at mainbus, obio
391.20Sthorpej
401.47Sthorpejdevice eeprom class dull
411.16Sthorpejattach eeprom at obio
421.2Scgdfile	arch/sparc/sparc/clock.c
431.20Sthorpej
441.47Sthorpejdevice power class dull
451.18Spkattach power at obio
461.20Sthorpejfile	arch/sparc/dev/power.c			power
471.1Sderaadt
481.47Sthorpejdevice cpu class cpu
491.16Sthorpejattach cpu at mainbus
501.2Scgdfile	arch/sparc/sparc/cpu.c
511.1Sderaadt
521.47Sthorpejdevice memreg class dull
531.16Sthorpejattach memreg at mainbus, obio
541.2Scgdfile	arch/sparc/sparc/memreg.c
551.1Sderaadt
561.47Sthorpejdevice zs class dull {channel = -1}
571.16Sthorpejattach zs at mainbus, obio
581.2Scgdfile	arch/sparc/dev/zs.c			zs needs-count
591.45Sgwrfile	dev/ic/z8530sc.c			zs
601.2Scgd
611.47Sthorpejdevice fdc class dull {}
621.18Spkattach fdc at mainbus, obio
631.47Sthorpejdevice fd class disk: disk
641.16Sthorpejattach fd at fdc
651.19Spkfile	arch/sparc/dev/fd.c			fdc | fd needs-flag
661.19Spkfile	arch/sparc/sparc/bsd_fdintr.s		fdc
671.1Sderaadt
681.47Sthorpejdevice sbus class dull { slot = -1, offset = -1 }
691.18Spkattach sbus at mainbus, iommu
701.20Sthorpejfile	arch/sparc/dev/sbus.c			sbus
711.18Spk
721.45Sgwr#
731.45Sgwr# Console (zs) related stuff
741.45Sgwr#
751.45Sgwr
761.47Sthorpejdevice zstty class tty: tty
771.45Sgwrattach zstty at zs
781.45Sgwrfile dev/ic/z8530tty.c			zstty needs-flag
791.45Sgwrfile arch/sparc/dev/zs_kgdb.c		kgdb
801.45Sgwr
811.45Sgwrdefine zsevent
821.45Sgwrfile dev/sun/event.c			zsevent
831.45Sgwr
841.47Sthorpejdevice kbd class dull: zsevent
851.45Sgwrattach kbd at zs
861.45Sgwrfile dev/sun/kbd.c			kbd needs-flag
871.45Sgwrfile dev/sun/kbd_tables.c 		kbd
881.45Sgwrfile arch/sparc/dev/kd.c 		kbd
891.45Sgwr
901.47Sthorpejdevice ms class dull: zsevent
911.45Sgwrattach ms at zs
921.45Sgwrfile dev/sun/ms.c			ms needs-flag
931.45Sgwr
941.2Scgd
951.5Spk#
961.5Spk# Machine-independent SCSI drivers
971.5Spk#
981.43Sbouyerinclude "../../../dev/scsipi/files.scsipi"
991.1Sderaadt
1001.2Scgdmajor { sd = 7 }
1011.2Scgdmajor { vnd = 8 }
1021.2Scgdmajor { cd = 18 }
1031.48Spkmajor { xd = 10 }
1041.48Spkmajor { xy = 3 }
1051.2Scgd
1061.47Sthorpejdevice dma class dull {}
1071.16Sthorpejattach dma at sbus, obio
1081.47Sthorpejdevice ledma class dull {}
1091.16Sthorpejattach ledma at sbus
1101.23Spkfile	arch/sparc/dev/dma.c		dma | ledma
1111.47Sthorpejdevice lebuffer class dull {}
1121.32Spkattach lebuffer at sbus
1131.32Spkfile	arch/sparc/dev/lebuffer.c	lebuffer
1141.2Scgd
1151.47Sthorpejdevice esp class dull: scsi, ncr53c9x
1161.23Spkattach esp at sbus, dma, obio
1171.23Spkfile	arch/sparc/dev/esp.c		esp
1181.1Sderaadt
1191.47Sthorpejdevice audioamd class dull: audio
1201.41Saugustssattach audioamd at mainbus, obio, sbus
1211.30Spkfile	arch/sparc/dev/amd7930.c		audio
1221.30Spkfile	arch/sparc/sparc/amd7930intr.s		audio
1231.30Spk
1241.16Sthorpej# Brooktree DAC attribute
1251.16Sthorpejdefine bt_dac
1261.16Sthorpej
1271.46Stv# Include /dev/fb driver only if a framebuffer card is included
1281.46Stvdefine fb
1291.46Stv
1301.47Sthorpejdevice bwtwo class dull: fb
1311.48Spkattach bwtwo at sbus, obio, vme
1321.2Scgdfile	arch/sparc/dev/bwtwo.c		bwtwo needs-flag
1331.1Sderaadt
1341.47Sthorpejdevice cgtwo class dull: fb
1351.48Spkattach cgtwo at sbus, obio, vme
1361.10Spkfile	arch/sparc/dev/cgtwo.c		cgtwo needs-flag
1371.10Spk
1381.47Sthorpejdevice cgthree class dull: bt_dac, fb
1391.16Sthorpejattach cgthree at sbus
1401.2Scgdfile	arch/sparc/dev/cgthree.c	cgthree needs-flag
1411.1Sderaadt
1421.47Sthorpejdevice cgfour class dull: bt_dac, fb
1431.16Sthorpejattach cgfour at obio
1441.14Sthorpejfile	arch/sparc/dev/cgfour.c		cgfour needs-flag
1451.14Sthorpej
1461.47Sthorpejdevice cgsix class dull: bt_dac, fb
1471.16Sthorpejattach cgsix at sbus, obio
1481.2Scgdfile	arch/sparc/dev/cgsix.c		cgsix needs-flag
1491.1Sderaadt
1501.47Sthorpejdevice cgeight class dull: bt_dac, fb
1511.16Sthorpejattach cgeight at obio
1521.14Sthorpejfile	arch/sparc/dev/cgeight.c	cgeight needs-flag
1531.25Spk
1541.47Sthorpejdevice tcx class dull: bt_dac, fb
1551.25Spkattach tcx at sbus
1561.25Spkfile	arch/sparc/dev/tcx.c		tcx needs-flag
1571.29Sabrown
1581.47Sthorpejdevice cgfourteen class dull: fb
1591.29Sabrownattach cgfourteen at obio
1601.29Sabrownfile	arch/sparc/dev/cgfourteen.c	cgfourteen needs-flag
1611.14Sthorpej
1621.16Sthorpejfile	arch/sparc/dev/bt_subr.c	bt_dac
1631.46Stvfile	arch/sparc/dev/fb.c		fb needs-flag
1641.1Sderaadt
1651.21Sthorpej# device definition in sys/conf/files
1661.32Spkattach le at sbus, ledma, lebuffer, obio
1671.2Scgdfile	arch/sparc/dev/if_le.c		le
1681.2Scgd
1691.48Spkattach ie at obio with ie_obio
1701.48Spkfile	arch/sparc/dev/if_ie_obio.c	ie_obio
1711.7Spk
1721.47Sthorpejdevice si class dull: scsi, ncr5380sbc
1731.48Spkattach si at vme
1741.47Sthorpejdevice sw class dull: scsi, ncr5380sbc
1751.16Sthorpejattach sw at obio
1761.17Scgdfile	arch/sparc/dev/si.c		si | sw
1771.28Schuck
1781.31Sthorpej# Efficient Networks, Inc. ATM interface
1791.31Sthorpej# device declaration in sys/conf/files
1801.28Schuckattach  en at sbus with en_sbus
1811.31Sthorpejfile    arch/sparc/dev/if_en_sbus.c     en_sbus
1821.36Scgd
1831.36Scgd# Qlogic ISP 10x0 (Sbus) family
1841.36Scgd# device declaration in sys/conf/files
1851.36Scgdattach isp at sbus with isp_sbus
1861.36Scgdfile	arch/sparc/dev/isp_sbus.c	isp_sbus
1871.2Scgd
1881.24Spk#
1891.24Spk# Generic Sun stuff
1901.24Spk#
1911.24Spk
1921.45Sgwrfile	dev/cons.c
1931.2Scgd
1941.2Scgdfile	arch/sparc/fpu/fpu.c
1951.2Scgdfile	arch/sparc/fpu/fpu_add.c
1961.2Scgdfile	arch/sparc/fpu/fpu_compare.c
1971.2Scgdfile	arch/sparc/fpu/fpu_div.c
1981.2Scgdfile	arch/sparc/fpu/fpu_explode.c
1991.2Scgdfile	arch/sparc/fpu/fpu_implode.c
2001.2Scgdfile	arch/sparc/fpu/fpu_mul.c
2011.2Scgdfile	arch/sparc/fpu/fpu_sqrt.c
2021.2Scgdfile	arch/sparc/fpu/fpu_subr.c
2031.1Sderaadt
2041.1Sderaadt# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
2051.1Sderaadt# identified the exact problem yet.  NOOPT_C suffices for now.
2061.2Scgdfile	arch/sparc/sparc/autoconf.c
2071.2Scgdfile	arch/sparc/sparc/cache.c
2081.2Scgdfile	arch/sparc/sparc/conf.c
2091.37Schristosfile	arch/sparc/sparc/emul.c
2101.2Scgdfile	arch/sparc/sparc/in_cksum.c
2111.2Scgdfile	arch/sparc/sparc/intr.c
2121.44Spkfile	arch/sparc/sparc/kgdb_machdep.c	kgdb
2131.1Sderaadt# sparc/sparc/locore.s is handled specially in the makefile,
2141.1Sderaadt# because it must come first in the "ld" command line.
2151.2Scgdfile	arch/sparc/sparc/locore2.c
2161.2Scgdfile	arch/sparc/sparc/machdep.c
2171.2Scgdfile	arch/sparc/sparc/process_machdep.c
2181.2Scgdfile	arch/sparc/sparc/mem.c
2191.2Scgdfile	arch/sparc/sparc/openprom.c
2201.2Scgdfile	arch/sparc/sparc/pmap.c
2211.1Sderaadt# the following overrides the generic "sys_process.c"
2221.2Scgd# commented out by deraadt
2231.2Scgd#file	arch/sparc/sparc/sys_process.c
2241.2Scgdfile	arch/sparc/sparc/sys_machdep.c
2251.2Scgdfile	arch/sparc/sparc/trap.c
2261.2Scgdfile	arch/sparc/sparc/vm_machdep.c
2271.2Scgdfile	arch/sparc/sparc/disksubr.c
2281.1Sderaadt
2291.1Sderaadtfile	kludge_for_in_proto.c		hy needs-flag
2301.2Scgd
2311.44Spkfile	arch/sparc/sparc/db_interface.c	ddb | kgdb
2321.2Scgdfile	arch/sparc/sparc/db_trace.c	ddb
2331.2Scgdfile	arch/sparc/sparc/db_disasm.c	ddb
2341.12Spk
2351.12Spk#
2361.12Spk# Raster Console
2371.12Spk#
2381.12Spkinclude "../../../dev/rcons/files.rcons"
2391.2Scgd
2401.2Scgd#
2411.2Scgd# Compatibility modules
2421.2Scgd#
2431.2Scgd
2441.2Scgd# SVR4 Binary Compatibility (COMPAT_SVR4)
2451.2Scgdinclude "../../../compat/svr4/files.svr4"
2461.2Scgdfile	arch/sparc/sparc/svr4_machdep.c	compat_svr4
2471.3Schristosfile	arch/sparc/sparc/sunos_machdep.c compat_sunos
2481.2Scgd
2491.2Scgd# SunOS Binary Compatibility (COMPAT_SUNOS)
2501.2Scgdinclude "../../../compat/sunos/files.sunos"
2511.15Spk
2521.15Spk# Miscellaneous
2531.15Spkfile	netns/ns_cksum.c		ns
2541.24Spk
2551.33Spkmajor	{md = 5}
2561.33Spkfile	arch/sparc/dev/md_root.c	memory_disk_hooks
257