GENERIC revision 1.56
11.56Sitohy# $NetBSD: GENERIC,v 1.56 1998/12/15 19:50:19 itohy Exp $
21.9Sgwr
31.49Sgwr# GENERIC Sun3 (3/50, 3/60, 3/110, 3/160, 3/260, 3/E)
41.21Sgwr# Supports root on: ie0, le0, sd*, ...
51.1Sglass
61.29Sjtcinclude "arch/sun3/conf/std.sun3"
71.1Sglass
81.50Sgwr# 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.52Sfairoptions 	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.45Skleinkoptions 	COMPAT_13	# NetBSD 1.3
481.56Sitohy#options 	COMPAT_LINUX	# can run Linux/m68k executables
491.56Sitohy#options 	EXEC_ELF32	# 32-bit ELF executables (Linux)
501.41Sgwr
511.4Sgwr# Filesystem options
521.41Sgwrfile-system	FFS		# Berkeley Fast Filesystem
531.41Sgwrfile-system	NFS		# Sun NFS client support
541.38Slukemfile-system	CD9660		# ISO 9660 + Rock Ridge file system
551.38Slukemfile-system	FDESC		# /dev/fd/*
561.38Slukemfile-system	KERNFS		# /kern
571.38Slukemfile-system	NULLFS		# loopback file system
581.38Slukemfile-system	PROCFS		# /proc
591.38Slukemfile-system	UNION		# union file system
601.38Slukemfile-system	MFS		# memory-based filesystem
611.35Sthorpej
621.30Sthorpejoptions 	NFSSERVER	# nfs server support
631.41Sgwroptions 	QUOTA		# FFS quotas
641.51Sbouyer#options 	FFS_EI		# FFS Endian Independant support
651.4Sgwr
661.4Sgwr# Networking options
671.30Sthorpejoptions 	INET		# IP prototol stack support
681.41Sgwroptions 	TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP
691.38Slukem#options 	GATEWAY		# IP packet forwarding
701.41Sgwr#options 	ISO,TPIP	# OSI networking
711.41Sgwr#options 	EON		# OSI tunneling over IP
721.41Sgwr#options 	CCITT,LLC,HDLC	# X.25
731.41Sgwr#options 	PFIL_HOOKS	# pfil(9) packet filter hooks.
741.41Sgwr
751.41Sgwr# Work-around for root on slow servers (insurance...)
761.12Sgwroptions 	NFS_BOOT_RWSIZE=1024
771.48Sgwroptions 	NFS_BOOT_BOOTPARAM
781.3Sglass
791.35Sthorpejconfig		netbsd root on ? type ?
801.1Sglass
811.49Sgwr# On-board I/O space (required)
821.49Sgwrinclude "arch/sun3/conf/obio.sun3"
831.49Sgwr
841.49Sgwr# On-board memory (optional)
851.49Sgwr# See frame-buffers
861.49Sgwrobmem0 at mainbus?
871.49Sgwr
881.49Sgwr# VME bus support (optional)
891.49Sgwr# One unit for each address space
901.49Sgwrvme0 at mainbus? # A16/D16
911.49Sgwrvme1 at mainbus? # A16/D32
921.49Sgwrvme2 at mainbus? # A24/D16
931.49Sgwrvme3 at mainbus? # A24/D32
941.49Sgwrvme4 at mainbus? # A32/D16
951.49Sgwrvme5 at mainbus? # A32/D32
961.49Sgwr
971.25Sgwr#
981.27Sgwr# Serial ports
991.27Sgwr#
1001.38Slukemzstty0	at zsc1 channel 0	# ttya
1011.38Slukemzstty1	at zsc1 channel 1	# ttyb
1021.27Sgwr
1031.38Slukemkbd0	at zsc0 channel 0	# keyboard
1041.38Slukemms0	at zsc0 channel 1	# mouse
1051.27Sgwr
1061.27Sgwr#
1071.25Sgwr# Network devices
1081.25Sgwr#
1091.16Sgwr
1101.25Sgwr# Intel Ethernet (onboard, or VME)
1111.49Sgwrie0 at obio0 addr 0x0C0000 ipl 3
1121.49Sgwrie1 at vme2  addr 0xe88000 ipl 3 vect 0x75
1131.4Sgwr
1141.25Sgwr# Lance Ethernet (only onboard)
1151.49Sgwrle0 at obio0 addr 0x120000 ipl 3
1161.49Sgwr
1171.49Sgwr# All Sun3 machines with an "le" (3/50, 3/60) should be
1181.49Sgwr# presumed to have the old, buggy LANCE chip. (Rev. C)
1191.49Sgwroptions 	LANCE_REVC_BUG
1201.12Sgwr
1211.25Sgwr#
1221.25Sgwr# Disk and tape devices
1231.25Sgwr#
1241.25Sgwr
1251.25Sgwr# Sun3 "si" SCSI controller (NCR 5380)
1261.37Sgwr# This driver has several flags which may be enabled using
1271.37Sgwr# the "flags" directive.  Valid flags are:
1281.31Sgwr#
1291.37Sgwr# 0x000ff	Set (1<<target) to disable disconnect/reselect
1301.37Sgwr# 0x0ff00	Set (1<<(target+8)) to disable parity checking
1311.37Sgwr# 0x10000	Set this bit to disable DMA interrupts (poll)
1321.37Sgwr# 0x20000	Set this bit to disable DMA entirely (use PIO)
1331.37Sgwr#
1341.37Sgwr# For example: "flags 0x1000f" would disable DMA interrupts,
1351.37Sgwr# and disable disconnect/reselect for targets 0-3
1361.49Sgwrsi0 at obio0 addr 0x140000 ipl 2
1371.49Sgwrsi0 at vme2  addr 0x200000 ipl 2 vect 0x40
1381.49Sgwrsi1 at vme2  addr 0x204000 ipl 2 vect 0x41
1391.49Sgwr
1401.49Sgwr# Xylogics 450/451 controllers (VME A16/D16)
1411.49Sgwrxyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
1421.49Sgwrxyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
1431.41Sgwrxy* at xyc? drive ?
1441.37Sgwr
1451.49Sgwr# Xylogics 7053 controllers (VME A16/D32)
1461.49Sgwrxdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
1471.49Sgwrxdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
1481.41Sgwrxd* at xdc? drive ?
1491.25Sgwr
1501.25Sgwr# Xylogics 472 tape controllers?
1511.25Sgwr
1521.49Sgwr# Sun3/E SCSI+Ethernet board (VME A24/D16)
1531.49Sgwr# Note: the board uses vect and vect+1
1541.49Sgwrsebuf0 at vme2 addr 0x300000 ipl 2 vect 0x74 # and 0x75
1551.49Sgwrsebuf1 at vme2 addr 0x340000 ipl 2 vect 0x76 # and 0x77
1561.46Sgwrsi* at sebuf?
1571.46Sgwrie* at sebuf?
1581.46Sgwr
1591.46Sgwr#
1601.25Sgwr# Frame buffer devices
1611.25Sgwr#
1621.10Sgwr
1631.50Sgwrinclude "arch/sun3/conf/bw2.sun3"
1641.50Sgwrinclude "arch/sun3/conf/cg4.sun3"
1651.25Sgwr
1661.25Sgwr# 3/60 P4 accelerated 8-bit color frame buffer
1671.50Sgwr# cgsix0 at obmem0 addr 0xff000000
1681.25Sgwr
1691.25Sgwr# 3/60 P4 24-bit color frame buffer
1701.50Sgwr# cgeight0 at obmem0 addr 0xff300000
1711.25Sgwr
1721.49Sgwr# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16).
1731.49Sgwrcgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8
1741.25Sgwr
1751.49Sgwr# Support for the CG9 24-bit frame buffer (VME A32/D32).
1761.49Sgwr# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA
1771.25Sgwr
1781.25Sgwr#
1791.25Sgwr# SCSI infrastructure
1801.25Sgwr#
1811.7Sgwrscsibus* at scsi?
1821.14Sgwr
1831.37Sgwrsd* at scsibus? target ? lun ?		# SCSI disks
1841.37Sgwrst* at scsibus? target ? lun ?		# SCSI tapes
1851.37Sgwrcd* at scsibus? target ? lun ?		# SCSI CD-ROMs
1861.37Sgwrch* at scsibus? target ? lun ?		# SCSI changer devices
1871.37Sgwrss* at scsibus? target ? lun ?		# SCSI scanners
1881.37Sgwruk* at scsibus? target ? lun ?		# unknown SCSI devices
1891.24Sgwr
1901.33Spk# Memory-disk drivers
1911.38Slukempseudo-device	md		2
1921.1Sglass
1931.25Sgwr# Misc.
1941.38Slukempseudo-device	loop		1	# network loopback
1951.38Slukempseudo-device	bpfilter	8	# packet filter
1961.38Slukempseudo-device	sl		2	# CSLIP
1971.38Slukempseudo-device	ppp		2	# PPP
1981.38Slukempseudo-device	tun		2	# network tunneling over tty
1991.55Shwr#pseudo-device	gre		2	# generic L3 over IP tunnel
2001.37Sgwr#pseudo-device	ipfilter		# ip filter
2011.44Sfair# rnd is EXPERIMENTAL
2021.44Sfair#pseudo-device	rnd			# /dev/random and in-kernel generator
2031.17Sgwr
2041.49Sgwrpseudo-device	pty		32	# pseudo-terminals
2051.38Slukem#pseudo-device	vnd		4	# paging to files
2061.38Slukem#pseudo-device	ccd		4	# concatenated disks
2071.54Soster#pseudo-device	raid		4	# RAIDframe disk driver
208