GENERIC revision 1.44
11.44Sfair# $NetBSD: GENERIC,v 1.44 1997/11/20 08:11:22 fair 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.43Slukem#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
341.41Sgwr#options 	DEBUG		# kernel debugging code
351.41Sgwr#options 	DIAGNOSTIC	# extra kernel sanity checking
361.41Sgwr#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
371.41Sgwr#options 	PMAP_DEBUG
381.41Sgwr#options 	SCSIDEBUG
391.40Smjacob#options 	SCSIVERBOSE		# Verbose SCSI errors
401.1Sglass
411.41Sgwr# Compatability options
421.41Sgwroptions 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
431.41Sgwroptions 	COMPAT_43	# and 4.3BSD and ...
441.41Sgwroptions 	COMPAT_10	# NetBSD 1.0
451.41Sgwroptions 	COMPAT_11	# NetBSD 1.1
461.41Sgwroptions 	COMPAT_12	# NetBSD 1.2
471.41Sgwr
481.4Sgwr# Filesystem options
491.41Sgwrfile-system	FFS		# Berkeley Fast Filesystem
501.41Sgwrfile-system	NFS		# Sun NFS client support
511.38Slukemfile-system	CD9660		# ISO 9660 + Rock Ridge file system
521.38Slukemfile-system	FDESC		# /dev/fd/*
531.38Slukemfile-system	KERNFS		# /kern
541.38Slukemfile-system	NULLFS		# loopback file system
551.38Slukemfile-system	PROCFS		# /proc
561.38Slukemfile-system	UNION		# union file system
571.38Slukemfile-system	MFS		# memory-based filesystem
581.35Sthorpej
591.41Sgwroptions 	FIFO		# FIFOs; RECOMMENDED
601.30Sthorpejoptions 	NFSSERVER	# nfs server support
611.41Sgwroptions 	QUOTA		# FFS quotas
621.4Sgwr
631.4Sgwr# Networking options
641.30Sthorpejoptions 	INET		# IP prototol stack support
651.41Sgwroptions 	TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP
661.38Slukem#options 	GATEWAY		# IP packet forwarding
671.41Sgwr#options 	ISO,TPIP	# OSI networking
681.41Sgwr#options 	EON		# OSI tunneling over IP
691.41Sgwr#options 	CCITT,LLC,HDLC	# X.25
701.41Sgwr#options 	PFIL_HOOKS	# pfil(9) packet filter hooks.
711.41Sgwr
721.41Sgwr# Work-around for root on slow servers (insurance...)
731.12Sgwroptions 	NFS_BOOT_RWSIZE=1024
741.3Sglass
751.35Sthorpejconfig		netbsd root on ? type ?
761.1Sglass
771.25Sgwr#
781.27Sgwr# Serial ports
791.27Sgwr#
801.38Slukemzstty0	at zsc1 channel 0	# ttya
811.38Slukemzstty1	at zsc1 channel 1	# ttyb
821.27Sgwr
831.38Slukemkbd0	at zsc0 channel 0	# keyboard
841.38Slukemms0	at zsc0 channel 1	# mouse
851.27Sgwr
861.27Sgwr#
871.25Sgwr# Network devices
881.25Sgwr#
891.16Sgwr
901.25Sgwr# Intel Ethernet (onboard, or VME)
911.31Sgwrie0 at obio0 addr   0x0C0000 level 3
921.12Sgwrie1 at vmes0 addr 0xffe88000 level 3 vect 0x75
931.4Sgwr
941.25Sgwr# Lance Ethernet (only onboard)
951.31Sgwrle0 at obio0 addr   0x120000 level 3
961.12Sgwr
971.25Sgwr#
981.25Sgwr# Disk and tape devices
991.25Sgwr#
1001.25Sgwr
1011.25Sgwr# Sun3 "si" SCSI controller (NCR 5380)
1021.37Sgwr# This driver has several flags which may be enabled using
1031.37Sgwr# the "flags" directive.  Valid flags are:
1041.31Sgwr#
1051.37Sgwr# 0x000ff	Set (1<<target) to disable disconnect/reselect
1061.37Sgwr# 0x0ff00	Set (1<<(target+8)) to disable parity checking
1071.37Sgwr# 0x10000	Set this bit to disable DMA interrupts (poll)
1081.37Sgwr# 0x20000	Set this bit to disable DMA entirely (use PIO)
1091.37Sgwr#
1101.37Sgwr# For example: "flags 0x1000f" would disable DMA interrupts,
1111.37Sgwr# and disable disconnect/reselect for targets 0-3
1121.41Sgwr# XXX: Disable disconnect/reselect on disks for now...
1131.41Sgwr# XXX: Disable DMA interrupts for now on the obio...
1141.41Sgwrsi0 at obio0 addr   0x140000 level 2 flags 0x1000f
1151.41Sgwrsi0 at vmes0 addr 0xff200000 level 2 vect 0x40 flags 0xf
1161.41Sgwrsi1 at vmes0 addr 0xff204000 level 2 vect 0x41 flags 0xf
1171.25Sgwr
1181.37Sgwr# Xylogics 450/451 controllers
1191.41Sgwrxyc0 at vmes0 addr 0xffffee40 level 2 vect 0x48
1201.41Sgwrxyc1 at vmes0 addr 0xffffee48 level 2 vect 0x49
1211.41Sgwrxy* at xyc? drive ?
1221.37Sgwr
1231.25Sgwr# Xylogics 7053 controllers
1241.41Sgwrxdc0 at vmel0 addr 0xffffee80 level 2 vect 0x44
1251.41Sgwrxdc1 at vmel0 addr 0xffffee90 level 2 vect 0x45
1261.41Sgwrxd* at xdc? drive ?
1271.25Sgwr
1281.25Sgwr# Xylogics 472 tape controllers?
1291.25Sgwr
1301.25Sgwr#
1311.25Sgwr# Frame buffer devices
1321.25Sgwr#
1331.10Sgwr
1341.25Sgwr# The default cgfour address depends on the machine:
1351.27Sgwr# 3/60: obmem 0xFF200000 .. 0xFF9fffff
1361.25Sgwr# 3/110: different? (not tested)
1371.25Sgwrcgfour0 at obmem0 addr ?
1381.25Sgwr
1391.25Sgwr# 3/60 P4 accelerated 8-bit color frame buffer
1401.25Sgwr# cgsix0 at obmem0 addr ?
1411.25Sgwr
1421.25Sgwr# 3/60 P4 24-bit color frame buffer
1431.25Sgwr# cgeight0 at obmem0 addr ?
1441.25Sgwr
1451.25Sgwr# The default bwtwo address depends on the machine:
1461.27Sgwr# 3/50: obmem   0x100000
1471.27Sgwr# else: obmem 0xff000000
1481.25Sgwrbwtwo0 at obmem0 addr ?
1491.25Sgwr# 3/60 P4 color frame buffer overlay plane, or P4 monochrome frame buffer
1501.25Sgwr#bwtwo1 at obmem0 addr 0xff300000
1511.25Sgwr# 3/60 plug-in color frame buffer overlay plane
1521.25Sgwr#bwtwo1 at obmem0 addr 0xff400000
1531.25Sgwr
1541.25Sgwr# Sun-3 color board, or CG5 8-bit VME frame buffer.
1551.25Sgwrcgtwo0 at vmes0 addr 0xff400000 level 4 vect 0xA8
1561.25Sgwr
1571.25Sgwr# Support for the CG9 24-bit VME frame buffer.
1581.25Sgwr# cgnine0 at vmel0 addr 0x08000000
1591.41Sgwr
1601.41Sgwr#
1611.41Sgwr# Sun3/E stuff
1621.41Sgwr#
1631.41Sgwrsebuf0 at vmes0 addr 0xff300000 level 2 vect 0x74
1641.41Sgwrsebuf1 at vmes0 addr 0xff340000 level 2 vect 0x76
1651.41Sgwrsi* at sebuf?
1661.41Sgwrie* at sebuf?
1671.25Sgwr
1681.25Sgwr#
1691.25Sgwr# SCSI infrastructure
1701.25Sgwr#
1711.7Sgwrscsibus* at scsi?
1721.14Sgwr
1731.37Sgwrsd* at scsibus? target ? lun ?		# SCSI disks
1741.37Sgwrst* at scsibus? target ? lun ?		# SCSI tapes
1751.37Sgwrcd* at scsibus? target ? lun ?		# SCSI CD-ROMs
1761.37Sgwrch* at scsibus? target ? lun ?		# SCSI changer devices
1771.37Sgwrss* at scsibus? target ? lun ?		# SCSI scanners
1781.37Sgwruk* at scsibus? target ? lun ?		# unknown SCSI devices
1791.24Sgwr
1801.33Spk# Memory-disk drivers
1811.38Slukempseudo-device	md		2
1821.1Sglass
1831.25Sgwr# Misc.
1841.38Slukempseudo-device	loop		1	# network loopback
1851.38Slukempseudo-device	bpfilter	8	# packet filter
1861.38Slukempseudo-device	sl		2	# CSLIP
1871.38Slukempseudo-device	ppp		2	# PPP
1881.38Slukempseudo-device	tun		2	# network tunneling over tty
1891.37Sgwr#pseudo-device	ipfilter		# ip filter
1901.44Sfair# rnd is EXPERIMENTAL
1911.44Sfair#pseudo-device	rnd			# /dev/random and in-kernel generator
1921.17Sgwr
1931.38Slukempseudo-device	pty		64	# pseudo-terminals
1941.38Slukem#pseudo-device	vnd		4	# paging to files
1951.38Slukem#pseudo-device	ccd		4	# concatenated disks
196