FOUR_TTYS revision 1.11
11.11Slukem#	$NetBSD: FOUR_TTYS,v 1.11 1997/11/17 01:58:29 lukem Exp $
21.1Sgwr
31.1Sgwr#
41.1Sgwr# FOUR_TTYS Sun3 (3/50, 3/60, 3/110, 3/160, 3/260)
51.1Sgwr# like GENERIC but both zs chips are used as ttys
61.1Sgwr#
71.1Sgwr
81.3Sjtcinclude "arch/sun3/conf/std.sun3"
91.1Sgwr
101.1Sgwr# Machines to be supported by this kernel
111.1Sgwroptions 	FPU_EMULATE
121.1Sgwroptions 	HAVECACHE		# Sun3/260 VAC
131.1Sgwr
141.1Sgwr# Needs to be set per system.  i.e change these as you see fit
151.1Sgwrmaxusers	4
161.1Sgwr
171.1Sgwr# Standard system options
181.5Sgwroptions 	KTRACE			# system call tracing support
191.4Sthorpej
201.4Sthorpej# Debugging options.  Uncomment either this:
211.4Sthorpejoptions 	DDB
221.8Sgwr# ... or these for KGDB (gdb remote target)
231.8Sgwr#makeoptions DEBUG="-g"			# debugging symbols for gdb
241.4Sthorpej#options 	KGDB
251.8Sgwr#options 	KGDBDEV=0x0C01
261.11Slukem
271.11Slukem# Other debugging options
281.11Slukem#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
291.1Sgwr
301.1Sgwr# Filesystem options
311.10Slukemfile-system	FFS		# ufs file system
321.10Slukemfile-system	NFS		# nfs client support
331.10Slukemfile-system	CD9660		# ISO 9660 + Rock Ridge file system
341.10Slukemfile-system	FDESC		# /dev/fd/*
351.10Slukemfile-system	KERNFS		# /kern
361.10Slukemfile-system	NULLFS		# loopback file system
371.10Slukemfile-system	PROCFS		# /proc
381.10Slukemfile-system	UNION		# union file system
391.10Slukemfile-system	MFS		# memory-based filesystem
401.7Sthorpej
411.8Sgwroptions 	NFSSERVER	# nfs server support
421.7Sthorpejoptions 	FIFO		# FIFOs; RECOMMENDED
431.1Sgwr
441.1Sgwr# Networking options
451.4Sthorpejoptions 	INET		# IP prototol stack support
461.10Slukem#options 	GATEWAY		# IP packet forwarding
471.4Sthorpejoptions 	TCP_COMPAT_42	# TCP bug compatibility with 4.2BSD
481.9Sgwr# XXX - Work-around for root on slow servers (insurance...)
491.1Sgwroptions 	NFS_BOOT_RWSIZE=1024
501.1Sgwr
511.1Sgwr# Compatability options
521.1Sgwroptions 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
531.4Sthorpejoptions 	COMPAT_43	# and 4.3BSD and ...
541.4Sthorpejoptions 	COMPAT_10	# NetBSD 1.0
551.4Sthorpejoptions 	COMPAT_11	# NetBSD 1.1
561.4Sthorpejoptions 	COMPAT_12	# NetBSD 1.2
571.1Sgwroptions 	UCONSOLE	# Allow non-root TIOCCONS
581.1Sgwr
591.1Sgwr# Sun3-specific debugging options
601.9Sgwr#options 	PMAP_DEBUG
611.1Sgwr#options 	VMFAULT_TRACE
621.1Sgwr#options 	SYSCALL_DEBUG
631.1Sgwr#options 	EXEC_DEBUG
641.1Sgwroptions 	DIAGNOSTIC
651.1Sgwr#options 	SCSIDEBUG
661.1Sgwr
671.7Sthorpejconfig		netbsd root on ? type ?
681.1Sgwr
691.1Sgwr#
701.1Sgwr# Serial ports
711.1Sgwr#
721.10Slukemzstty0	at zsc1 channel 0	# ttya
731.10Slukemzstty1	at zsc1 channel 1	# ttyb
741.1Sgwr#
751.1Sgwr# Note that by ommitting "kdb0" and "ms0" one can build
761.1Sgwr# a kernel that operates four plain serial lines, where
771.1Sgwr# two of them are data-leads-only ports wired up using
781.1Sgwr# a custom cable on the keyboard connector.
791.1Sgwr#
801.10Slukemzstty2	at zsc0 channel 0	# ttyc
811.10Slukemzstty3	at zsc0 channel 1	# ttyd
821.1Sgwr
831.1Sgwr#
841.1Sgwr# Network devices
851.1Sgwr#
861.1Sgwr
871.1Sgwr# Intel Ethernet (onboard, or VME)
881.8Sgwrie0 at obio0 addr   0x0C0000 level 3
891.1Sgwrie1 at vmes0 addr 0xffe88000 level 3 vect 0x75
901.1Sgwr
911.1Sgwr# Lance Ethernet (only onboard)
921.8Sgwrle0 at obio0 addr   0x120000 level 3
931.1Sgwr
941.1Sgwr#
951.1Sgwr# Disk and tape devices
961.1Sgwr#
971.1Sgwr
981.1Sgwr# Sun3 "si" SCSI controller (NCR 5380)
991.8Sgwrsi0 at obio0 addr   0x140000 level 2
1001.1Sgwrsi0 at vmes0 addr 0xff200000 level 2 vect 0x40
1011.1Sgwrsi1 at vmes0 addr 0xff204000 level 2 vect 0x41
1021.1Sgwr
1031.9Sgwr# Xylogics 450/451 controllers
1041.9Sgwr# xyc0 at vmes0 addr 0xffffee40 level 2 vect 0x48
1051.9Sgwr# xyc1 at vmes0 addr 0xffffee48 level 2 vect 0x49
1061.9Sgwr# Just wire-down the units so bootdev match is easy.
1071.9Sgwr# xy0 at xyc0 drive 0
1081.9Sgwr# xy1 at xyc0 drive 1
1091.9Sgwr# xy2 at xyc1 drive 0
1101.9Sgwr# xy3 at xyc1 drive 1
1111.9Sgwr
1121.1Sgwr# Xylogics 7053 controllers
1131.1Sgwr# xdc0 at vmel0 addr 0xffffee80 level 2 vect 0x44
1141.1Sgwr# xdc1 at vmel0 addr 0xffffee90 level 2 vect 0x45
1151.9Sgwr# Just wire-down the units so bootdev match is easy.
1161.9Sgwr# xd0 at xdc0 drive 0
1171.9Sgwr# xd1 at xdc0 drive 1
1181.9Sgwr# xd2 at xdc1 drive 0
1191.9Sgwr# xd3 at xdc1 drive 1
1201.1Sgwr
1211.1Sgwr# Xylogics 472 tape controllers?
1221.1Sgwr
1231.1Sgwr#
1241.1Sgwr# Frame buffer devices
1251.1Sgwr#
1261.1Sgwr
1271.1Sgwr# The default cgfour address depends on the machine:
1281.1Sgwr# 3/60: obmem 0xFF200000 .. 0xFF9fffff
1291.1Sgwr# 3/110: different? (not tested)
1301.1Sgwrcgfour0 at obmem0 addr ?
1311.1Sgwr
1321.1Sgwr# 3/60 P4 accelerated 8-bit color frame buffer
1331.1Sgwr# cgsix0 at obmem0 addr ?
1341.1Sgwr
1351.1Sgwr# 3/60 P4 24-bit color frame buffer
1361.1Sgwr# cgeight0 at obmem0 addr ?
1371.1Sgwr
1381.1Sgwr# The default bwtwo address depends on the machine:
1391.1Sgwr# 3/50: obmem   0x100000
1401.1Sgwr# else: obmem 0xff000000
1411.1Sgwrbwtwo0 at obmem0 addr ?
1421.1Sgwr# 3/60 P4 color frame buffer overlay plane, or P4 monochrome frame buffer
1431.1Sgwr#bwtwo1 at obmem0 addr 0xff300000
1441.1Sgwr# 3/60 plug-in color frame buffer overlay plane
1451.1Sgwr#bwtwo1 at obmem0 addr 0xff400000
1461.1Sgwr
1471.1Sgwr# Sun-3 color board, or CG5 8-bit VME frame buffer.
1481.1Sgwrcgtwo0 at vmes0 addr 0xff400000 level 4 vect 0xA8
1491.1Sgwr
1501.1Sgwr# Support for the CG9 24-bit VME frame buffer.
1511.1Sgwr# cgnine0 at vmel0 addr 0x08000000
1521.1Sgwr
1531.1Sgwr#
1541.1Sgwr# SCSI infrastructure
1551.1Sgwr#
1561.1Sgwrscsibus* at scsi?
1571.1Sgwr
1581.9Sgwrsd* at scsibus? target ? lun ?		# SCSI disks
1591.9Sgwrst* at scsibus? target ? lun ?		# SCSI tapes
1601.9Sgwrcd* at scsibus? target ? lun ?		# SCSI CD-ROMs
1611.9Sgwrch* at scsibus? target ? lun ?		# SCSI changer devices
1621.9Sgwrss* at scsibus? target ? lun ?		# SCSI scanners
1631.9Sgwruk* at scsibus? target ? lun ?		# unknown SCSI devices
1641.1Sgwr
1651.6Spk# Memory-disk drivers
1661.10Slukempseudo-device	md		2
1671.1Sgwr
1681.1Sgwr# Misc.
1691.10Slukempseudo-device	loop		1	# network loopback
1701.10Slukempseudo-device	bpfilter	8	# packet filter
1711.10Slukempseudo-device	sl		2	# CSLIP
1721.10Slukempseudo-device	ppp		2	# PPP
1731.10Slukempseudo-device	tun		2	# network tunneling over tty
1741.9Sgwr#pseudo-device	ipfilter		# ip filter
1751.1Sgwr
1761.10Slukempseudo-device	pty		64	# pseudo-terminals
1771.10Slukem#pseudo-device	vnd		4	# paging to files
1781.10Slukem#pseudo-device	ccd		4	# concatenated disks
179