FOUR_TTYS revision 1.8
11.8Sgwr#	$NetBSD: FOUR_TTYS,v 1.8 1997/02/10 23:34:38 gwr 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.1Sgwr
271.1Sgwr# Filesystem options
281.7Sthorpejfile-system 	FFS		# ufs file system
291.8Sgwrfile-system 	NFS		# nfs client support
301.7Sthorpejfile-system 	CD9660		# ISO 9660 + Rock Ridge file system
311.7Sthorpejfile-system 	FDESC		# /dev/fd/*
321.7Sthorpejfile-system 	KERNFS		# /kern
331.7Sthorpejfile-system 	NULLFS		# loopback file system
341.7Sthorpejfile-system 	PROCFS		# /proc
351.7Sthorpejfile-system 	UNION		# union file system
361.7Sthorpejfile-system 	MFS		# memory-based filesystem
371.7Sthorpej
381.8Sgwroptions 	NFSSERVER	# nfs server support
391.7Sthorpejoptions 	FIFO		# FIFOs; RECOMMENDED
401.1Sgwr
411.1Sgwr# Networking options
421.4Sthorpejoptions 	INET		# IP prototol stack support
431.4Sthorpej#options	GATEWAY		# IP packet forwarding
441.4Sthorpejoptions 	TCP_COMPAT_42	# TCP bug compatibility with 4.2BSD
451.1Sgwr# XXX - Work-around for root on slow SunOS/Sun3 servers (sigh...)
461.1Sgwroptions 	NFS_BOOT_RWSIZE=1024
471.1Sgwr
481.1Sgwr# Compatability options
491.1Sgwroptions 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
501.4Sthorpejoptions 	COMPAT_43	# and 4.3BSD and ...
511.4Sthorpejoptions 	COMPAT_10	# NetBSD 1.0
521.4Sthorpejoptions 	COMPAT_11	# NetBSD 1.1
531.4Sthorpejoptions 	COMPAT_12	# NetBSD 1.2
541.1Sgwroptions 	UCONSOLE	# Allow non-root TIOCCONS
551.1Sgwr
561.1Sgwr# Sun3-specific debugging options
571.1Sgwroptions 	PMAP_DEBUG
581.1Sgwr#options 	VMFAULT_TRACE
591.1Sgwr#options 	SYSCALL_DEBUG
601.1Sgwr#options 	EXEC_DEBUG
611.1Sgwroptions 	DIAGNOSTIC
621.1Sgwr#options 	SCSIDEBUG
631.1Sgwr
641.7Sthorpejconfig		netbsd root on ? type ?
651.1Sgwr
661.1Sgwr#
671.1Sgwr# Serial ports
681.1Sgwr#
691.1Sgwrzstty0 at zsc1 channel 0	# ttya
701.1Sgwrzstty1 at zsc1 channel 1	# ttyb
711.1Sgwr#
721.1Sgwr# Note that by ommitting "kdb0" and "ms0" one can build
731.1Sgwr# a kernel that operates four plain serial lines, where
741.1Sgwr# two of them are data-leads-only ports wired up using
751.1Sgwr# a custom cable on the keyboard connector.
761.1Sgwr#
771.1Sgwrzstty2 at zsc0 channel 0	# ttyc
781.1Sgwrzstty3 at zsc0 channel 1	# ttyd
791.1Sgwr
801.1Sgwr#
811.1Sgwr# Network devices
821.1Sgwr#
831.1Sgwr
841.1Sgwr# Intel Ethernet (onboard, or VME)
851.8Sgwrie0 at obio0 addr   0x0C0000 level 3
861.1Sgwrie1 at vmes0 addr 0xffe88000 level 3 vect 0x75
871.1Sgwr
881.1Sgwr# Lance Ethernet (only onboard)
891.8Sgwrle0 at obio0 addr   0x120000 level 3
901.1Sgwr
911.1Sgwr#
921.1Sgwr# Disk and tape devices
931.1Sgwr#
941.1Sgwr
951.1Sgwr# Sun3 "si" SCSI controller (NCR 5380)
961.8Sgwr# This driver has several flags which may be enabled by OR'ing
971.8Sgwr# the values and using the "flags" directive.  (PR#1929)
981.8Sgwr# Valid flags are:
991.8Sgwr#
1001.8Sgwr#	0x01		Use DMA (may be polled)
1011.8Sgwr#	0x02		Use DMA completion interrupts
1021.8Sgwr#	0x04		Allow disconnect/reselect
1031.8Sgwr#
1041.8Sgwr# E.g. "flags 0x07" would enable DMA, interrupts, and reselect.
1051.8Sgwr# Note: these values are quite a bit paranoid...
1061.8Sgwrsi0 at obio0 addr   0x140000 level 2
1071.1Sgwrsi0 at vmes0 addr 0xff200000 level 2 vect 0x40
1081.1Sgwrsi1 at vmes0 addr 0xff204000 level 2 vect 0x41
1091.1Sgwr
1101.1Sgwr# Xylogics 7053 controllers
1111.1Sgwr# xdc0 at vmel0 addr 0xffffee80 level 2 vect 0x44
1121.1Sgwr# xdc1 at vmel0 addr 0xffffee90 level 2 vect 0x45
1131.1Sgwr# xd* at xdc? drive ?
1141.1Sgwr
1151.1Sgwr# Xylogics 450/451 controllers
1161.1Sgwr# xyc0 at vmes0 addr 0xffffee40 level 2 vect 0x48
1171.1Sgwr# xyc1 at vmes0 addr 0xffffee48 level 2 vect 0x49
1181.1Sgwr# xy* at xyc? drive ?
1191.1Sgwr
1201.1Sgwr# Xylogics 472 tape controllers?
1211.1Sgwr
1221.1Sgwr#
1231.1Sgwr# Frame buffer devices
1241.1Sgwr#
1251.1Sgwr
1261.1Sgwr# The default cgfour address depends on the machine:
1271.1Sgwr# 3/60: obmem 0xFF200000 .. 0xFF9fffff
1281.1Sgwr# 3/110: different? (not tested)
1291.1Sgwrcgfour0 at obmem0 addr ?
1301.1Sgwr
1311.1Sgwr# 3/60 P4 accelerated 8-bit color frame buffer
1321.1Sgwr# cgsix0 at obmem0 addr ?
1331.1Sgwr
1341.1Sgwr# 3/60 P4 24-bit color frame buffer
1351.1Sgwr# cgeight0 at obmem0 addr ?
1361.1Sgwr
1371.1Sgwr# The default bwtwo address depends on the machine:
1381.1Sgwr# 3/50: obmem   0x100000
1391.1Sgwr# else: obmem 0xff000000
1401.1Sgwrbwtwo0 at obmem0 addr ?
1411.1Sgwr# 3/60 P4 color frame buffer overlay plane, or P4 monochrome frame buffer
1421.1Sgwr#bwtwo1 at obmem0 addr 0xff300000
1431.1Sgwr# 3/60 plug-in color frame buffer overlay plane
1441.1Sgwr#bwtwo1 at obmem0 addr 0xff400000
1451.1Sgwr
1461.1Sgwr# Sun-3 color board, or CG5 8-bit VME frame buffer.
1471.1Sgwrcgtwo0 at vmes0 addr 0xff400000 level 4 vect 0xA8
1481.1Sgwr
1491.1Sgwr# Support for the CG9 24-bit VME frame buffer.
1501.1Sgwr# cgnine0 at vmel0 addr 0x08000000
1511.1Sgwr
1521.1Sgwr#
1531.1Sgwr# SCSI infrastructure
1541.1Sgwr#
1551.1Sgwrscsibus* at scsi?
1561.1Sgwr
1571.1Sgwr# Sun compatible scsi device mappings
1581.1Sgwrsd0 at scsibus? target 0 lun 0
1591.1Sgwrsd1 at scsibus? target 0 lun 1
1601.1Sgwrsd2 at scsibus? target 1 lun 0
1611.1Sgwrsd3 at scsibus? target 1 lun 1
1621.1Sgwrsd* at scsibus? target ? lun ?
1631.1Sgwr
1641.1Sgwrst0 at scsibus? target 4 lun 0
1651.1Sgwrst1 at scsibus? target 5 lun 0
1661.1Sgwrst* at scsibus? target ? lun ?
1671.1Sgwr
1681.1Sgwrcd0 at scsibus? target 6 lun 0
1691.1Sgwrcd* at scsibus? target ? lun ?
1701.1Sgwr
1711.1Sgwr#ch* at scsibus? target ? lun ?
1721.1Sgwr
1731.6Spk# Memory-disk drivers
1741.6Spkpseudo-device	md	2
1751.1Sgwr
1761.1Sgwr# Misc.
1771.1Sgwrpseudo-device	loop	1		# network loopback
1781.1Sgwrpseudo-device	bpfilter 8		# packet filter
1791.1Sgwrpseudo-device	sl	2		# CSLIP
1801.1Sgwrpseudo-device	ppp	2		# PPP
1811.1Sgwrpseudo-device	tun	2		# network tunneling over tty
1821.1Sgwr
1831.1Sgwrpseudo-device	pty	64		# pseudo-terminals
1841.1Sgwr#pseudo-device	vnd	4		# paging to files
1851.8Sgwr#pseudo-device	ccd	4		# concatenated disks
186