files.sun2 revision 1.12
11.12Schs#	$NetBSD: files.sun2,v 1.12 2002/10/27 23:23:48 chs Exp $
21.1Sfredette
31.1Sfredette#
41.1Sfredette# sun2-specific configuration info
51.1Sfredette#
61.1Sfredette
71.1Sfredette# maxpartitions must be first item in files.${ARCH}
81.1Sfredettemaxpartitions 8
91.1Sfredette
101.1Sfredettemaxusers 2 8 64
111.1Sfredette
121.1Sfredette# Standard stuff
131.1Sfredettefile arch/sun2/sun2/locore2.c
141.1Sfredettefile arch/sun2/sun2/machdep.c
151.1Sfredettefile arch/sun2/sun2/pmap.c
161.1Sfredettefile arch/sun2/sun2/control.c
171.1Sfredettefile arch/sun2/sun2/mem.c
181.1Sfredettefile arch/sun2/sun2/db_machdep.c		ddb
191.6Slukemfile arch/sun2/sun2/db_memrw.c			ddb | kgdb
201.1Sfredettefile arch/sun2/sun2/leds.c
211.1Sfredettefile arch/sun2/sun2/idprom.c
221.2Sfredettefile arch/sun2/sun2/promlib.c
231.1Sfredettefile arch/sun2/sun2/sys_machdep.c
241.1Sfredettefile arch/sun2/sun2/trap.c
251.10Schsfile arch/m68k/m68k/vm_machdep.c
261.1Sfredette
271.1Sfredetteinclude "arch/m68k/fpe/files.fpe"
281.1Sfredette
291.7Sfredette# Console support:
301.7Sfredettefile arch/sun2/dev/consinit.c
311.1Sfredettefile dev/cons.c
321.1Sfredette
331.1Sfredette#
341.1Sfredette# Bus types
351.1Sfredette#
361.1Sfredette
371.5Sfredette# mainbus and VME support brought in by arch/sun68k
381.1Sfredette
391.1Sfredette# On-board I/O space (required).
401.1Sfredettedevice obio {addr = -1, [ipl = -1], [vect = -1]}
411.1Sfredetteattach obio at mainbus
421.1Sfredettefile arch/sun2/sun2/obio.c
431.1Sfredette
441.1Sfredette# On-board MEMory space (required).
451.1Sfredettedevice obmem {addr = -1, [ipl = -1], [vect = -1]}
461.1Sfredetteattach obmem at mainbus
471.1Sfredettefile arch/sun2/sun2/obmem.c		obmem
481.1Sfredette
491.1Sfredette# MultiBus MEMory space (optional).
501.1Sfredettedevice mbmem {addr = -1, [ipl = -1], [vect = -1]}
511.1Sfredetteattach mbmem at mainbus
521.1Sfredettefile arch/sun2/sun2/mbmem.c		mbmem
531.1Sfredette
541.1Sfredette# MultiBus I/O space (optional).
551.2Sfredettedevice mbio {addr = -1, [ipl = -1], [vect = -1]}
561.2Sfredetteattach mbio at mainbus
571.1Sfredettefile arch/sun2/sun2/mbio.c		mbio
581.1Sfredette
591.1Sfredette#
601.1Sfredette# Machine-independent SCSI drivers
611.1Sfredette#
621.1Sfredetteinclude "dev/scsipi/files.scsipi"
631.1Sfredette
641.1Sfredette#
651.2Sfredette# Devices, files, and attributes needed below
661.1Sfredette#
671.1Sfredette
681.2Sfredetteinclude "dev/sun/files.sun"
691.2Sfredette
701.7Sfredettedevice zs {channel = -1}
711.7Sfredettefile arch/sun2/dev/zs.c			zs needs-count
721.7Sfredettefile dev/ic/z8530sc.c			zs
731.7Sfredettefile arch/sun2/dev/zs_kgdb.c		kgdb
741.7Sfredette
751.7Sfredettedefine zstty {}
761.7Sfredettedevice zstty: tty
771.7Sfredetteattach zstty at zs
781.7Sfredettefile dev/ic/z8530tty.c			zstty needs-flag
791.7Sfredette
801.2Sfredettefile arch/sun2/dev/zs_any.c		zs_obio | zs_obmem | zs_mbmem
811.2Sfredettefile arch/sun2/dev/bwtwo_any.c		bwtwo_obio | bwtwo_obmem
821.1Sfredette
831.1Sfredette#
841.1Sfredette# On-Board I/O (OBIO), in attach order.
851.1Sfredette# The following are all required.
861.1Sfredette#
871.1Sfredette
881.1Sfredette# Zilog Serial (ZS)
891.1Sfredetteattach zs at obio with zs_obio
901.1Sfredette
911.2Sfredette# AMD timer
921.1Sfredettedevice clock
931.1Sfredetteattach clock at obio
941.1Sfredettefile arch/sun2/sun2/clock.c
951.1Sfredettefile dev/clock_subr.c
961.1Sfredette
971.1Sfredette# National Semiconductor Time-Of-Day clock
981.2Sfredettedevice tod: mm58167
991.5Sfredetteattach tod at obio with tod_obio
1001.5Sfredetteattach tod at vme with tod_vme
1011.1Sfredettefile arch/sun2/sun2/tod.c
1021.1Sfredette
1031.1Sfredette# These are optional:
1041.1Sfredette
1051.1Sfredette# Intel Ethernet
1061.1Sfredetteattach ie at obio with ie_obio
1071.5Sfredettefile arch/sun2/dev/if_ie_obio.c		ie_obio
1081.2Sfredette
1091.2Sfredetteattach bwtwo at obio with bwtwo_obio
1101.1Sfredette
1111.1Sfredette#
1121.1Sfredette# On-Board MEMory (OBMEM)
1131.1Sfredette#
1141.1Sfredette
1151.2Sfredetteattach zs at obmem with zs_obmem
1161.2Sfredette
1171.2Sfredetteattach bwtwo at obmem with bwtwo_obmem
1181.1Sfredette
1191.1Sfredette#
1201.1Sfredette# MultiBus MEMory (MBMEM)
1211.1Sfredette#
1221.1Sfredette
1231.2Sfredetteattach zs at mbmem with zs_mbmem
1241.2Sfredette
1251.1Sfredetteattach ie at mbmem with ie_mbmem
1261.2Sfredettefile arch/sun2/dev/if_ie_mbmem.c	ie_mbmem
1271.1Sfredette
1281.3Sfredetteattach sc at mbmem with sc_mbmem
1291.3Sfredettefile arch/sun2/dev/sc_mbmem.c		sc_mbmem
1301.1Sfredette
1311.5Sfredette# 3Com Ethernet
1321.6Slukemdevice	ec: ifnet, ether, arp
1331.6Slukemattach	ec at mbmem
1341.6Slukemfile	arch/sun2/dev/if_ec.c		ec
1351.5Sfredette
1361.1Sfredette#
1371.1Sfredette# Console (zs) related stuff
1381.1Sfredette#
1391.1Sfredette
1401.7Sfredettedevice pcons
1411.7Sfredetteattach pcons at mainbus
1421.7Sfredettefile	arch/sun2/dev/pcons.c		pcons needs-flag
1431.7Sfredette
1441.7Sfredettefile arch/sun2/dev/kd.c			kbd
1451.1Sfredette
1461.9Suweattach kbd at zstty with kbd_tty
1471.9Suwefile dev/sun/kbdsun.c			kbd_tty
1481.9Suwefile dev/sun/sunkbd.c			kbd_tty
1491.9Suwe
1501.9Suweattach ms at zstty with ms_tty
1511.9Suwefile dev/sun/sunms.c			ms_tty
1521.1Sfredette
1531.1Sfredette# Memory Disk for boot tape
1541.5Sfredettefile dev/md_root.c			memory_disk_hooks
1551.12Schs
1561.12Schs#
1571.12Schs# wscons
1581.12Schs#
1591.12Schs
1601.12Schsinclude "dev/wscons/files.wscons"
1611.12Schsinclude "dev/wsfont/files.wsfont"
1621.1Sfredette
1631.1Sfredette# Compatibility modules
1641.1Sfredette
1651.5Sfredette# NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K)
1661.5Sfredetteinclude "compat/aoutm68k/files.aoutm68k"
1671.6Slukem
1681.1Sfredette# SunOS Binary Compatibility (COMPAT_SUNOS)
1691.1Sfredetteinclude "compat/sunos/files.sunos"
1701.2Sfredettefile arch/m68k/m68k/sunos_machdep.c	compat_sunos
1711.1Sfredette
1721.1Sfredette# SVR4 Binary Compatibility (COMPAT_SVR4)
1731.1Sfredetteinclude "compat/svr4/files.svr4"
1741.1Sfredette
1751.1Sfredette# Linux binary compatibility (COMPAT_LINUX)
1761.1Sfredetteinclude "compat/linux/files.linux"
1771.1Sfredetteinclude "compat/linux/arch/m68k/files.linux_m68k"
1781.4Schristosfile arch/m68k/m68k/linux_trap.c	compat_linux
1791.1Sfredette
1801.1Sfredette# OSS audio driver compatibility
1811.1Sfredetteinclude "compat/ossaudio/files.ossaudio"
1821.1Sfredette
1831.8Sgehennainclude "arch/sun2/conf/majors.sun2"
184