GENERIC revision 1.41
11.41Sgwr#	$NetBSD: GENERIC,v 1.41 1997/10/17 02:59:05 gwr Exp $
21.9Sgwr
31.21Sgwr# GENERIC Sun3 (3/50, 3/60, 3/110, 3/160, 3/260)
41.21Sgwr# Supports root on: ie0, le0, sd*, ...
51.1Sglass
61.29Sjtcinclude "arch/sun3/conf/std.sun3"
71.1Sglass
81.4Sgwr# Machines to be supported by this kernel
91.15Sgwroptions 	FPU_EMULATE
101.21Sgwroptions 	HAVECACHE		# Sun3/260 VAC
111.3Sglass
121.4Sgwr# Needs to be set per system.  i.e change these as you see fit
131.3Sglassmaxusers	4
141.23Sgwr
151.4Sgwr# Standard system options
161.41Sgwroptions 	KTRACE		# system call tracing
171.41Sgwroptions 	SYSVMSG		# System V message queues
181.41Sgwroptions 	SYSVSEM		# System V semaphores
191.41Sgwroptions 	SYSVSHM		# System V shared memory
201.41Sgwr#options 	SHMMAXPGS=1024	# 1024 pages is the default
211.41Sgwr#options 	LKM		# loadable kernel modules
221.41Sgwr#options 	INSECURE	# disable kernel security level
231.41Sgwr#options 	UCONSOLE	# Allow non-root TIOCCONS
241.30Sthorpej
251.41Sgwr# Which kernel debugger?  Uncomment either this:
261.30Sthorpejoptions 	DDB
271.36Sgwr# ... or these for KGDB (gdb remote target)
281.41Sgwr#makeoptions DEBUG="-g"		# debugging symbols for gdb
291.30Sthorpej#options 	KGDB
301.41Sgwr#options 	KGDBDEV=0x0C01	# ttya=0C00 ttyb=0C01
311.41Sgwr
321.41Sgwr# Other debugging options
331.41Sgwr#options 	DEBUG		# kernel debugging code
341.41Sgwr#options 	DIAGNOSTIC	# extra kernel sanity checking
351.41Sgwr#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
361.41Sgwr#options 	PMAP_DEBUG
371.41Sgwr#options 	SCSIDEBUG
381.40Smjacob#options 	SCSIVERBOSE		# Verbose SCSI errors
391.1Sglass
401.41Sgwr# Compatability options
411.41Sgwroptions 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
421.41Sgwroptions 	COMPAT_43	# and 4.3BSD and ...
431.41Sgwroptions 	COMPAT_10	# NetBSD 1.0
441.41Sgwroptions 	COMPAT_11	# NetBSD 1.1
451.41Sgwroptions 	COMPAT_12	# NetBSD 1.2
461.41Sgwr
471.4Sgwr# Filesystem options
481.41Sgwrfile-system	FFS		# Berkeley Fast Filesystem
491.41Sgwrfile-system	NFS		# Sun NFS client support
501.38Slukemfile-system	CD9660		# ISO 9660 + Rock Ridge file system
511.38Slukemfile-system	FDESC		# /dev/fd/*
521.38Slukemfile-system	KERNFS		# /kern
531.38Slukemfile-system	NULLFS		# loopback file system
541.38Slukemfile-system	PROCFS		# /proc
551.38Slukemfile-system	UNION		# union file system
561.38Slukemfile-system	MFS		# memory-based filesystem
571.35Sthorpej
581.41Sgwroptions 	FIFO		# FIFOs; RECOMMENDED
591.30Sthorpejoptions 	NFSSERVER	# nfs server support
601.41Sgwroptions 	QUOTA		# FFS quotas
611.4Sgwr
621.4Sgwr# Networking options
631.30Sthorpejoptions 	INET		# IP prototol stack support
641.41Sgwroptions 	TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP
651.38Slukem#options 	GATEWAY		# IP packet forwarding
661.41Sgwr#options 	ISO,TPIP	# OSI networking
671.41Sgwr#options 	EON		# OSI tunneling over IP
681.41Sgwr#options 	CCITT,LLC,HDLC	# X.25
691.41Sgwr#options 	PFIL_HOOKS	# pfil(9) packet filter hooks.
701.41Sgwr
711.41Sgwr# Work-around for root on slow servers (insurance...)
721.12Sgwroptions 	NFS_BOOT_RWSIZE=1024
731.3Sglass
741.35Sthorpejconfig		netbsd root on ? type ?
751.1Sglass
761.25Sgwr#
771.27Sgwr# Serial ports
781.27Sgwr#
791.38Slukemzstty0	at zsc1 channel 0	# ttya
801.38Slukemzstty1	at zsc1 channel 1	# ttyb
811.27Sgwr
821.38Slukemkbd0	at zsc0 channel 0	# keyboard
831.38Slukemms0	at zsc0 channel 1	# mouse
841.27Sgwr
851.27Sgwr#
861.25Sgwr# Network devices
871.25Sgwr#
881.16Sgwr
891.25Sgwr# Intel Ethernet (onboard, or VME)
901.31Sgwrie0 at obio0 addr   0x0C0000 level 3
911.12Sgwrie1 at vmes0 addr 0xffe88000 level 3 vect 0x75
921.4Sgwr
931.25Sgwr# Lance Ethernet (only onboard)
941.31Sgwrle0 at obio0 addr   0x120000 level 3
951.12Sgwr
961.25Sgwr#
971.25Sgwr# Disk and tape devices
981.25Sgwr#
991.25Sgwr
1001.25Sgwr# Sun3 "si" SCSI controller (NCR 5380)
1011.37Sgwr# This driver has several flags which may be enabled using
1021.37Sgwr# the "flags" directive.  Valid flags are:
1031.31Sgwr#
1041.37Sgwr# 0x000ff	Set (1<<target) to disable disconnect/reselect
1051.37Sgwr# 0x0ff00	Set (1<<(target+8)) to disable parity checking
1061.37Sgwr# 0x10000	Set this bit to disable DMA interrupts (poll)
1071.37Sgwr# 0x20000	Set this bit to disable DMA entirely (use PIO)
1081.37Sgwr#
1091.37Sgwr# For example: "flags 0x1000f" would disable DMA interrupts,
1101.37Sgwr# and disable disconnect/reselect for targets 0-3
1111.41Sgwr# XXX: Disable disconnect/reselect on disks for now...
1121.41Sgwr# XXX: Disable DMA interrupts for now on the obio...
1131.41Sgwrsi0 at obio0 addr   0x140000 level 2 flags 0x1000f
1141.41Sgwrsi0 at vmes0 addr 0xff200000 level 2 vect 0x40 flags 0xf
1151.41Sgwrsi1 at vmes0 addr 0xff204000 level 2 vect 0x41 flags 0xf
1161.25Sgwr
1171.37Sgwr# Xylogics 450/451 controllers
1181.41Sgwrxyc0 at vmes0 addr 0xffffee40 level 2 vect 0x48
1191.41Sgwrxyc1 at vmes0 addr 0xffffee48 level 2 vect 0x49
1201.41Sgwrxy* at xyc? drive ?
1211.37Sgwr
1221.25Sgwr# Xylogics 7053 controllers
1231.41Sgwrxdc0 at vmel0 addr 0xffffee80 level 2 vect 0x44
1241.41Sgwrxdc1 at vmel0 addr 0xffffee90 level 2 vect 0x45
1251.41Sgwrxd* at xdc? drive ?
1261.25Sgwr
1271.25Sgwr# Xylogics 472 tape controllers?
1281.25Sgwr
1291.25Sgwr#
1301.25Sgwr# Frame buffer devices
1311.25Sgwr#
1321.10Sgwr
1331.25Sgwr# The default cgfour address depends on the machine:
1341.27Sgwr# 3/60: obmem 0xFF200000 .. 0xFF9fffff
1351.25Sgwr# 3/110: different? (not tested)
1361.25Sgwrcgfour0 at obmem0 addr ?
1371.25Sgwr
1381.25Sgwr# 3/60 P4 accelerated 8-bit color frame buffer
1391.25Sgwr# cgsix0 at obmem0 addr ?
1401.25Sgwr
1411.25Sgwr# 3/60 P4 24-bit color frame buffer
1421.25Sgwr# cgeight0 at obmem0 addr ?
1431.25Sgwr
1441.25Sgwr# The default bwtwo address depends on the machine:
1451.27Sgwr# 3/50: obmem   0x100000
1461.27Sgwr# else: obmem 0xff000000
1471.25Sgwrbwtwo0 at obmem0 addr ?
1481.25Sgwr# 3/60 P4 color frame buffer overlay plane, or P4 monochrome frame buffer
1491.25Sgwr#bwtwo1 at obmem0 addr 0xff300000
1501.25Sgwr# 3/60 plug-in color frame buffer overlay plane
1511.25Sgwr#bwtwo1 at obmem0 addr 0xff400000
1521.25Sgwr
1531.25Sgwr# Sun-3 color board, or CG5 8-bit VME frame buffer.
1541.25Sgwrcgtwo0 at vmes0 addr 0xff400000 level 4 vect 0xA8
1551.25Sgwr
1561.25Sgwr# Support for the CG9 24-bit VME frame buffer.
1571.25Sgwr# cgnine0 at vmel0 addr 0x08000000
1581.41Sgwr
1591.41Sgwr#
1601.41Sgwr# Sun3/E stuff
1611.41Sgwr#
1621.41Sgwrsebuf0 at vmes0 addr 0xff300000 level 2 vect 0x74
1631.41Sgwrsebuf1 at vmes0 addr 0xff340000 level 2 vect 0x76
1641.41Sgwrsi* at sebuf?
1651.41Sgwrie* at sebuf?
1661.25Sgwr
1671.25Sgwr#
1681.25Sgwr# SCSI infrastructure
1691.25Sgwr#
1701.7Sgwrscsibus* at scsi?
1711.14Sgwr
1721.37Sgwrsd* at scsibus? target ? lun ?		# SCSI disks
1731.37Sgwrst* at scsibus? target ? lun ?		# SCSI tapes
1741.37Sgwrcd* at scsibus? target ? lun ?		# SCSI CD-ROMs
1751.37Sgwrch* at scsibus? target ? lun ?		# SCSI changer devices
1761.37Sgwrss* at scsibus? target ? lun ?		# SCSI scanners
1771.37Sgwruk* at scsibus? target ? lun ?		# unknown SCSI devices
1781.24Sgwr
1791.33Spk# Memory-disk drivers
1801.38Slukempseudo-device	md		2
1811.1Sglass
1821.25Sgwr# Misc.
1831.38Slukempseudo-device	loop		1	# network loopback
1841.38Slukempseudo-device	bpfilter	8	# packet filter
1851.38Slukempseudo-device	sl		2	# CSLIP
1861.38Slukempseudo-device	ppp		2	# PPP
1871.38Slukempseudo-device	tun		2	# network tunneling over tty
1881.37Sgwr#pseudo-device	ipfilter		# ip filter
1891.17Sgwr
1901.38Slukempseudo-device	pty		64	# pseudo-terminals
1911.38Slukem#pseudo-device	vnd		4	# paging to files
1921.38Slukem#pseudo-device	ccd		4	# concatenated disks
193