FOUR_TTYS revision 1.13
11.13Sgwr#	$NetBSD: FOUR_TTYS,v 1.13 1997/12/13 00:26:09 gwr Exp $
21.1Sgwr
31.1Sgwr# FOUR_TTYS Sun3 (3/50, 3/60, 3/110, 3/160, 3/260)
41.1Sgwr# like GENERIC but both zs chips are used as ttys
51.1Sgwr
61.3Sjtcinclude "arch/sun3/conf/std.sun3"
71.1Sgwr
81.1Sgwr# Machines to be supported by this kernel
91.1Sgwroptions 	FPU_EMULATE
101.1Sgwroptions 	HAVECACHE		# Sun3/260 VAC
111.1Sgwr
121.1Sgwr# Needs to be set per system.  i.e change these as you see fit
131.1Sgwrmaxusers	4
141.1Sgwr
151.1Sgwr# Standard system options
161.13Sgwroptions 	KTRACE		# system call tracing
171.13Sgwroptions 	SYSVMSG		# System V message queues
181.13Sgwroptions 	SYSVSEM		# System V semaphores
191.13Sgwroptions 	SYSVSHM		# System V shared memory
201.13Sgwr#options 	SHMMAXPGS=1024	# 1024 pages is the default
211.13Sgwr#options 	LKM		# loadable kernel modules
221.13Sgwr#options 	INSECURE	# disable kernel security level
231.13Sgwr#options 	UCONSOLE	# Allow non-root TIOCCONS
241.4Sthorpej
251.13Sgwr# Which kernel debugger?  Uncomment either this:
261.4Sthorpejoptions 	DDB
271.8Sgwr# ... or these for KGDB (gdb remote target)
281.13Sgwr#makeoptions DEBUG="-g"		# debugging symbols for gdb
291.4Sthorpej#options 	KGDB
301.13Sgwr#options 	KGDBDEV=0x0C01	# ttya=0C00 ttyb=0C01
311.11Slukem
321.11Slukem# Other debugging options
331.11Slukem#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
341.13Sgwr#options 	DEBUG		# kernel debugging code
351.13Sgwr#options 	DIAGNOSTIC	# extra kernel sanity checking
361.13Sgwr#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
371.13Sgwr#options 	PMAP_DEBUG
381.13Sgwr#options 	SCSIDEBUG
391.13Sgwr#options 	SCSIVERBOSE		# Verbose SCSI errors
401.13Sgwr
411.13Sgwr# Compatability options
421.13Sgwroptions 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
431.13Sgwroptions 	COMPAT_43	# and 4.3BSD and ...
441.13Sgwroptions 	COMPAT_10	# NetBSD 1.0
451.13Sgwroptions 	COMPAT_11	# NetBSD 1.1
461.13Sgwroptions 	COMPAT_12	# NetBSD 1.2
471.13Sgwroptions 	COMPAT_13	# NetBSD 1.3
481.1Sgwr
491.1Sgwr# Filesystem options
501.13Sgwrfile-system	FFS		# Berkeley Fast Filesystem
511.13Sgwrfile-system	NFS		# Sun NFS client support
521.10Slukemfile-system	CD9660		# ISO 9660 + Rock Ridge file system
531.10Slukemfile-system	FDESC		# /dev/fd/*
541.10Slukemfile-system	KERNFS		# /kern
551.10Slukemfile-system	NULLFS		# loopback file system
561.10Slukemfile-system	PROCFS		# /proc
571.10Slukemfile-system	UNION		# union file system
581.10Slukemfile-system	MFS		# memory-based filesystem
591.7Sthorpej
601.13Sgwroptions 	FIFO		# FIFOs; RECOMMENDED
611.8Sgwroptions 	NFSSERVER	# nfs server support
621.13Sgwroptions 	QUOTA		# FFS quotas
631.1Sgwr
641.1Sgwr# Networking options
651.4Sthorpejoptions 	INET		# IP prototol stack support
661.13Sgwroptions 	TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP
671.10Slukem#options 	GATEWAY		# IP packet forwarding
681.13Sgwr#options 	ISO,TPIP	# OSI networking
691.13Sgwr#options 	EON		# OSI tunneling over IP
701.13Sgwr#options 	CCITT,LLC,HDLC	# X.25
711.13Sgwr#options 	PFIL_HOOKS	# pfil(9) packet filter hooks.
721.13Sgwr
731.13Sgwr# Work-around for root on slow servers (insurance...)
741.1Sgwroptions 	NFS_BOOT_RWSIZE=1024
751.1Sgwr
761.7Sthorpejconfig		netbsd root on ? type ?
771.1Sgwr
781.1Sgwr#
791.1Sgwr# Serial ports
801.1Sgwr#
811.10Slukemzstty0	at zsc1 channel 0	# ttya
821.10Slukemzstty1	at zsc1 channel 1	# ttyb
831.1Sgwr#
841.1Sgwr# Note that by ommitting "kdb0" and "ms0" one can build
851.1Sgwr# a kernel that operates four plain serial lines, where
861.1Sgwr# two of them are data-leads-only ports wired up using
871.1Sgwr# a custom cable on the keyboard connector.
881.1Sgwr#
891.10Slukemzstty2	at zsc0 channel 0	# ttyc
901.10Slukemzstty3	at zsc0 channel 1	# ttyd
911.1Sgwr
921.1Sgwr#
931.1Sgwr# Network devices
941.1Sgwr#
951.1Sgwr
961.1Sgwr# Intel Ethernet (onboard, or VME)
971.8Sgwrie0 at obio0 addr   0x0C0000 level 3
981.1Sgwrie1 at vmes0 addr 0xffe88000 level 3 vect 0x75
991.1Sgwr
1001.1Sgwr# Lance Ethernet (only onboard)
1011.8Sgwrle0 at obio0 addr   0x120000 level 3
1021.1Sgwr
1031.1Sgwr#
1041.1Sgwr# Disk and tape devices
1051.1Sgwr#
1061.1Sgwr
1071.1Sgwr# Sun3 "si" SCSI controller (NCR 5380)
1081.13Sgwr# See GENERIC for the flags description.
1091.13Sgwrsi0 at obio0 addr   0x140000 level 2 flags 0x1000f
1101.13Sgwrsi0 at vmes0 addr 0xff200000 level 2 vect 0x40 flags 0xf
1111.13Sgwrsi1 at vmes0 addr 0xff204000 level 2 vect 0x41 flags 0xf
1121.1Sgwr
1131.9Sgwr# Xylogics 450/451 controllers
1141.13Sgwrxyc0 at vmes0 addr 0xffffee40 level 2 vect 0x48
1151.13Sgwrxyc1 at vmes0 addr 0xffffee48 level 2 vect 0x49
1161.13Sgwrxy* at xyc? drive ?
1171.9Sgwr
1181.1Sgwr# Xylogics 7053 controllers
1191.13Sgwrxdc0 at vmel0 addr 0xffffee80 level 2 vect 0x44
1201.13Sgwrxdc1 at vmel0 addr 0xffffee90 level 2 vect 0x45
1211.13Sgwrxd* at xdc? drive ?
1221.1Sgwr
1231.1Sgwr# Xylogics 472 tape controllers?
1241.1Sgwr
1251.1Sgwr#
1261.13Sgwr# Sun3/E stuff
1271.13Sgwr#
1281.13Sgwrsebuf0 at vmes0 addr 0xff300000 level 2 vect 0x74
1291.13Sgwrsebuf1 at vmes0 addr 0xff340000 level 2 vect 0x76
1301.13Sgwrsi* at sebuf?
1311.13Sgwrie* at sebuf?
1321.13Sgwr
1331.13Sgwr#
1341.1Sgwr# Frame buffer devices
1351.1Sgwr#
1361.1Sgwr
1371.1Sgwr# The default cgfour address depends on the machine:
1381.1Sgwr# 3/60: obmem 0xFF200000 .. 0xFF9fffff
1391.1Sgwr# 3/110: different? (not tested)
1401.1Sgwrcgfour0 at obmem0 addr ?
1411.1Sgwr
1421.1Sgwr# 3/60 P4 accelerated 8-bit color frame buffer
1431.1Sgwr# cgsix0 at obmem0 addr ?
1441.1Sgwr
1451.1Sgwr# 3/60 P4 24-bit color frame buffer
1461.1Sgwr# cgeight0 at obmem0 addr ?
1471.1Sgwr
1481.1Sgwr# The default bwtwo address depends on the machine:
1491.1Sgwr# 3/50: obmem   0x100000
1501.1Sgwr# else: obmem 0xff000000
1511.1Sgwrbwtwo0 at obmem0 addr ?
1521.1Sgwr# 3/60 P4 color frame buffer overlay plane, or P4 monochrome frame buffer
1531.1Sgwr#bwtwo1 at obmem0 addr 0xff300000
1541.1Sgwr# 3/60 plug-in color frame buffer overlay plane
1551.1Sgwr#bwtwo1 at obmem0 addr 0xff400000
1561.1Sgwr
1571.1Sgwr# Sun-3 color board, or CG5 8-bit VME frame buffer.
1581.1Sgwrcgtwo0 at vmes0 addr 0xff400000 level 4 vect 0xA8
1591.1Sgwr
1601.1Sgwr# Support for the CG9 24-bit VME frame buffer.
1611.1Sgwr# cgnine0 at vmel0 addr 0x08000000
1621.1Sgwr
1631.1Sgwr#
1641.1Sgwr# SCSI infrastructure
1651.1Sgwr#
1661.1Sgwrscsibus* at scsi?
1671.1Sgwr
1681.9Sgwrsd* at scsibus? target ? lun ?		# SCSI disks
1691.9Sgwrst* at scsibus? target ? lun ?		# SCSI tapes
1701.9Sgwrcd* at scsibus? target ? lun ?		# SCSI CD-ROMs
1711.9Sgwrch* at scsibus? target ? lun ?		# SCSI changer devices
1721.9Sgwrss* at scsibus? target ? lun ?		# SCSI scanners
1731.9Sgwruk* at scsibus? target ? lun ?		# unknown SCSI devices
1741.1Sgwr
1751.6Spk# Memory-disk drivers
1761.10Slukempseudo-device	md		2
1771.1Sgwr
1781.1Sgwr# Misc.
1791.10Slukempseudo-device	loop		1	# network loopback
1801.10Slukempseudo-device	bpfilter	8	# packet filter
1811.10Slukempseudo-device	sl		2	# CSLIP
1821.10Slukempseudo-device	ppp		2	# PPP
1831.10Slukempseudo-device	tun		2	# network tunneling over tty
1841.9Sgwr#pseudo-device	ipfilter		# ip filter
1851.13Sgwr# rnd is EXPERIMENTAL
1861.13Sgwr#pseudo-device	rnd			# /dev/random and in-kernel generator
1871.1Sgwr
1881.10Slukempseudo-device	pty		64	# pseudo-terminals
1891.10Slukem#pseudo-device	vnd		4	# paging to files
1901.10Slukem#pseudo-device	ccd		4	# concatenated disks
191