FOUR_TTYS revision 1.17
11.17Sgwr#	$NetBSD: FOUR_TTYS,v 1.17 1998/02/05 04:56:26 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.17Sgwr# Machines to be supported by this kernel.  Note:
91.17Sgwr# The SUN3 and SUN3X options are mutually exclusive!
101.17Sgwr# (Your kernel will only run on one or the other.)
111.17Sgwrmakeoptions	MACHTYPE=sun3
121.17Sgwroptions 	_SUN3_
131.17Sgwr
141.1Sgwroptions 	FPU_EMULATE
151.1Sgwroptions 	HAVECACHE		# Sun3/260 VAC
161.1Sgwr
171.1Sgwr# Needs to be set per system.  i.e change these as you see fit
181.1Sgwrmaxusers	4
191.1Sgwr
201.1Sgwr# Standard system options
211.13Sgwroptions 	KTRACE		# system call tracing
221.13Sgwroptions 	SYSVMSG		# System V message queues
231.13Sgwroptions 	SYSVSEM		# System V semaphores
241.13Sgwroptions 	SYSVSHM		# System V shared memory
251.13Sgwr#options 	SHMMAXPGS=1024	# 1024 pages is the default
261.13Sgwr#options 	LKM		# loadable kernel modules
271.13Sgwr#options 	INSECURE	# disable kernel security level
281.13Sgwr#options 	UCONSOLE	# Allow non-root TIOCCONS
291.4Sthorpej
301.13Sgwr# Which kernel debugger?  Uncomment either this:
311.4Sthorpejoptions 	DDB
321.8Sgwr# ... or these for KGDB (gdb remote target)
331.13Sgwr#makeoptions DEBUG="-g"		# debugging symbols for gdb
341.4Sthorpej#options 	KGDB
351.13Sgwr#options 	KGDBDEV=0x0C01	# ttya=0C00 ttyb=0C01
361.11Slukem
371.11Slukem# Other debugging options
381.11Slukem#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
391.13Sgwr#options 	DEBUG		# kernel debugging code
401.13Sgwr#options 	DIAGNOSTIC	# extra kernel sanity checking
411.13Sgwr#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
421.13Sgwr#options 	PMAP_DEBUG
431.13Sgwr#options 	SCSIDEBUG
441.13Sgwr#options 	SCSIVERBOSE		# Verbose SCSI errors
451.13Sgwr
461.13Sgwr# Compatability options
471.13Sgwroptions 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
481.13Sgwroptions 	COMPAT_43	# and 4.3BSD and ...
491.13Sgwroptions 	COMPAT_10	# NetBSD 1.0
501.13Sgwroptions 	COMPAT_11	# NetBSD 1.1
511.13Sgwroptions 	COMPAT_12	# NetBSD 1.2
521.13Sgwroptions 	COMPAT_13	# NetBSD 1.3
531.1Sgwr
541.1Sgwr# Filesystem options
551.13Sgwrfile-system	FFS		# Berkeley Fast Filesystem
561.13Sgwrfile-system	NFS		# Sun NFS client support
571.10Slukemfile-system	CD9660		# ISO 9660 + Rock Ridge file system
581.10Slukemfile-system	FDESC		# /dev/fd/*
591.10Slukemfile-system	KERNFS		# /kern
601.10Slukemfile-system	NULLFS		# loopback file system
611.10Slukemfile-system	PROCFS		# /proc
621.10Slukemfile-system	UNION		# union file system
631.10Slukemfile-system	MFS		# memory-based filesystem
641.7Sthorpej
651.13Sgwroptions 	FIFO		# FIFOs; RECOMMENDED
661.8Sgwroptions 	NFSSERVER	# nfs server support
671.13Sgwroptions 	QUOTA		# FFS quotas
681.1Sgwr
691.1Sgwr# Networking options
701.4Sthorpejoptions 	INET		# IP prototol stack support
711.13Sgwroptions 	TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP
721.10Slukem#options 	GATEWAY		# IP packet forwarding
731.13Sgwr#options 	ISO,TPIP	# OSI networking
741.13Sgwr#options 	EON		# OSI tunneling over IP
751.13Sgwr#options 	CCITT,LLC,HDLC	# X.25
761.13Sgwr#options 	PFIL_HOOKS	# pfil(9) packet filter hooks.
771.13Sgwr
781.13Sgwr# Work-around for root on slow servers (insurance...)
791.1Sgwroptions 	NFS_BOOT_RWSIZE=1024
801.16Sgwroptions 	NFS_BOOT_BOOTPARAM
811.1Sgwr
821.7Sthorpejconfig		netbsd root on ? type ?
831.1Sgwr
841.17Sgwr# On-board I/O space (required)
851.17Sgwrinclude "arch/sun3/conf/obio.sun3"
861.17Sgwr
871.17Sgwr# On-board memory (optional)
881.17Sgwr# See frame-buffers
891.17Sgwrobmem0 at mainbus?
901.17Sgwr
911.17Sgwr# VME bus support (optional)
921.17Sgwr# One unit for each address space
931.17Sgwrvme0 at mainbus? # A16/D16
941.17Sgwrvme1 at mainbus? # A16/D32
951.17Sgwrvme2 at mainbus? # A24/D16
961.17Sgwrvme3 at mainbus? # A24/D32
971.17Sgwrvme4 at mainbus? # A32/D16
981.17Sgwrvme5 at mainbus? # A32/D32
991.17Sgwr
1001.1Sgwr#
1011.1Sgwr# Serial ports
1021.1Sgwr#
1031.10Slukemzstty0	at zsc1 channel 0	# ttya
1041.10Slukemzstty1	at zsc1 channel 1	# ttyb
1051.1Sgwr#
1061.1Sgwr# Note that by ommitting "kdb0" and "ms0" one can build
1071.1Sgwr# a kernel that operates four plain serial lines, where
1081.1Sgwr# two of them are data-leads-only ports wired up using
1091.15Sgwr# a custom cable on the keyboard connector.  The flags 1
1101.15Sgwr# part sets TIOCFLAG_SOFTCAR (remember, data-leads-only).
1111.1Sgwr#
1121.15Sgwrzstty2	at zsc0 channel 0 flags 1 # ttyc
1131.15Sgwrzstty3	at zsc0 channel 1 flags 1 # ttyd
1141.1Sgwr
1151.1Sgwr#
1161.1Sgwr# Network devices
1171.1Sgwr#
1181.1Sgwr
1191.17Sgwr# Intel Ethernetc (onboard, or VME)
1201.17Sgwrie0 at obio0 addr 0x0C0000 ipl 3
1211.17Sgwrie1 at vme2  addr 0xe88000 ipl 3 vect 0x75
1221.1Sgwr
1231.1Sgwr# Lance Ethernet (only onboard)
1241.17Sgwrle0 at obio0 addr 0x120000 ipl 3
1251.17Sgwr
1261.17Sgwr# All Sun3 machines with an "le" (3/50, 3/60) should be
1271.17Sgwr# presumed to have the old, buggy LANCE chip. (Rev. C)
1281.17Sgwroptions 	LANCE_REVC_BUG
1291.1Sgwr
1301.1Sgwr#
1311.1Sgwr# Disk and tape devices
1321.1Sgwr#
1331.1Sgwr
1341.1Sgwr# Sun3 "si" SCSI controller (NCR 5380)
1351.13Sgwr# See GENERIC for the flags description.
1361.17Sgwrsi0 at obio0 addr 0x140000 ipl 2
1371.17Sgwrsi0 at vme2  addr 0x200000 ipl 2 vect 0x40
1381.17Sgwrsi1 at vme2  addr 0x204000 ipl 2 vect 0x41
1391.17Sgwr
1401.17Sgwr# Xylogics 450/451 controllers (VME A16/D16)
1411.17Sgwrxyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
1421.17Sgwrxyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
1431.13Sgwrxy* at xyc? drive ?
1441.9Sgwr
1451.17Sgwr# Xylogics 7053 controllers (VME A16/D32)
1461.17Sgwrxdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
1471.17Sgwrxdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
1481.13Sgwrxd* at xdc? drive ?
1491.1Sgwr
1501.1Sgwr# Xylogics 472 tape controllers?
1511.1Sgwr
1521.17Sgwr# Sun3/E SCSI+Ethernet board (VME A24/D16)
1531.17Sgwr# Note: the board uses vect and vect+1
1541.17Sgwrsebuf0 at vme2 addr 0x300000 ipl 2 vect 0x74 # and 0x75
1551.17Sgwrsebuf1 at vme2 addr 0x340000 ipl 2 vect 0x76 # and 0x77
1561.13Sgwrsi* at sebuf?
1571.13Sgwrie* at sebuf?
1581.13Sgwr
1591.13Sgwr#
1601.1Sgwr# Frame buffer devices
1611.15Sgwr# (not useful if no kbd, right?)
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.17Sgwrpseudo-device	pty		32	# pseudo-terminals
1891.10Slukem#pseudo-device	vnd		4	# paging to files
1901.10Slukem#pseudo-device	ccd		4	# concatenated disks
191