GENERIC revision 1.51
11.51Schristos#	$NetBSD: GENERIC,v 1.51 2005/08/19 05:20:03 christos Exp $
21.1Sthorpej#
31.1Sthorpej# Generic Shark configuration.
41.1Sthorpej#
51.1Sthorpej
61.1Sthorpejinclude	"arch/shark/conf/std.shark"
71.1Sthorpej
81.5Satatatoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
91.5Satatat
101.51Schristos#ident		"GENERIC-$Revision: 1.51 $"
111.1Sthorpej
121.1Sthorpej# estimated number of users
131.1Sthorpejmaxusers	32
141.1Sthorpej
151.1Sthorpej# Standard system options
161.1Sthorpej
171.1Sthorpejoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
181.1Sthorpejoptions 	HZ=64
191.1Sthorpej#options 	NTP		# NTP phase/frequency locked loop
201.1Sthorpejoptions 	NMBCLUSTERS=1024 # XXX, temporarily required
211.1Sthorpej#options 	BOOT_QUIETLY	# twiddle instead of normal boot msg output
221.1Sthorpej
231.1Sthorpej# CPU options
241.1Sthorpej
251.1Sthorpejoptions 	CPU_SA110	# Support the SA110 core
261.1Sthorpej
271.1Sthorpej# Architecture options
281.1Sthorpej
291.1Sthorpejoptions 	SHARK		# We are a Shark
301.1Sthorpejoptions 	NSIO		# We are using the National Semi SuperIO
311.20Suwemakeoptions	CPUFLAGS="-march=armv4 -mtune=strongarm"
321.1Sthorpej
331.1Sthorpej# compatibility with old version of OFW, which may have incorrect
341.1Sthorpej# properties and/or may set up devices incorrectly.
351.1Sthorpejoptions 	COMPAT_OLD_OFW
361.1Sthorpej
371.1Sthorpej# FPA options
381.1Sthorpej
391.1Sthorpej#options 	ARMFPE		# ARM Ltd FPE
401.1Sthorpej
411.1Sthorpej# File systems
421.1Sthorpej
431.1Sthorpejfile-system	FFS		# UFS
441.1Sthorpej#file-system	LFS		# log-structured file system
451.1Sthorpejfile-system	MFS		# memory file system
461.1Sthorpejfile-system	NFS		# Network file system
471.1Sthorpej#file-system 	ADOSFS		# AmigaDOS-compatible file system
481.1Sthorpej#file-system 	EXT2FS		# second extended file system (linux)
491.1Sthorpej#file-system	CD9660		# ISO 9660 + Rock Ridge file system
501.1Sthorpejfile-system	MSDOSFS		# MS-DOS file system
511.30Schristosfile-system	FDESC		# /dev/fd
521.1Sthorpej#file-system	FILECORE	# Acorn filecore file system
531.1Sthorpejfile-system	KERNFS		# /kern
541.24Smattfile-system	NULLFS		# loopback file system
551.1Sthorpej#file-system 	OVERLAY		# overlay filesystem
561.1Sthorpej#file-system	PORTAL		# portal filesystem (still experimental)
571.30Schristosfile-system	PROCFS		# /proc
581.1Sthorpej#file-system	UMAPFS		# NULLFS + uid and gid remapping
591.1Sthorpej#file-system	UNION		# union file system
601.1Sthorpej#file-system	CODA		# Coda file system (needs vcoda below)
611.51Schristosfile-system	PTYFS		# /dev/pts/N support
621.1Sthorpej
631.1Sthorpej# File system options
641.1Sthorpej#options 	QUOTA		# UFS quotas
651.1Sthorpej#options 	FFS_EI		# FFS Endian Independant support
661.1Sthorpejoptions 	SOFTDEP		# FFS soft updates support.
671.40Srumble#options	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
681.30Schristosoptions 	NFSSERVER
691.43Sdsl#options 	FFS_NO_SNAPSHOT	# ffs snapshots
701.1Sthorpej
711.1Sthorpej# Networking options
721.1Sthorpej
731.1Sthorpej#options 	GATEWAY		# packet forwarding
741.1Sthorpejoptions 	INET		# IP + ICMP + TCP + UDP
751.1Sthorpejoptions 	INET6		# IPV6
761.1Sthorpej#options 	IPSEC		# IP security
771.1Sthorpej#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
781.46Stron#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
791.1Sthorpej#options 	IPSEC_DEBUG	# debug for IP security
801.1Sthorpej#options 	MROUTING	# IP multicast routing
811.34Smanu#options 	PIM		# Protocol Independent Multicast
821.1Sthorpej#options 	NS		# XNS
831.1Sthorpej#options 	NSIP		# XNS tunneling over IP
841.1Sthorpej#options 	ISO,TPIP	# OSI
851.1Sthorpej#options 	EON		# OSI tunneling over IP
861.1Sthorpej#options 	CCITT,LLC,HDLC	# X.25
871.1Sthorpej#options 	NETATALK	# AppleTalk networking
881.1Sthorpej#options 	PFIL_HOOKS	# pfil(9) packet filter hooks (Required
891.1Sthorpej				# if you enable the pseudo-device ipl).
901.1Sthorpej
911.1Sthorpej#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
921.1Sthorpej#options 	PPP_DEFLATE	# Deflate compression support for PPP
931.1Sthorpej#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
941.1Sthorpejoptions 	NFS_BOOT_DHCP	# use NetBSD standard DHCP/NFS boot code
951.1Sthorpej#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
961.1Sthorpej
971.31Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
981.31Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
991.31Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1001.31Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1011.31Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1021.31Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1031.31Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1041.31Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1051.31Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1061.31Sabs#options 	ALTQ_RED	# Random Early Detection
1071.31Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1081.31Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1091.31Sabs
1101.1Sthorpej# Compatibility options
1111.1Sthorpej
1121.13Sperry#options 	COMPAT_09	# NetBSD 0.9 compatibility.
1131.13Sperry#options 	COMPAT_10	# NetBSD 1.0 compatibility.
1141.13Sperry#options 	COMPAT_11	# NetBSD 1.1 compatibility.
1151.13Sperryoptions 	COMPAT_12	# NetBSD 1.2 compatibility.
1161.13Sperryoptions 	COMPAT_13	# NetBSD 1.3 compatibility.
1171.13Sperryoptions 	COMPAT_14	# NetBSD 1.4 compatibility.
1181.13Sperryoptions 	COMPAT_15	# NetBSD 1.5 compatibility.
1191.13Sperryoptions 	COMPAT_16	# NetBSD 1.6 compatibility.
1201.29Schristosoptions 	COMPAT_20	# NetBSD 2.0 compatibility.
1211.50Schristosoptions 	COMPAT_30	# NetBSD 3.0 compatibility.
1221.1Sthorpejoptions 	COMPAT_43	# 4.3BSD compatibility.
1231.24Smattoptions 	COMPAT_LINUX	# Linux compatibility.
1241.1Sthorpej#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
1251.37Stsutsuioptions 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
1261.1Sthorpej
1271.1Sthorpej# Shared memory options
1281.1Sthorpej
1291.1Sthorpejoptions 	SYSVMSG		# System V-like message queues
1301.1Sthorpejoptions 	SYSVSEM		# System V-like semaphores
1311.1Sthorpejoptions 	SYSVSHM		# System V-like memory sharing
1321.1Sthorpej#options 	SHMMAXPGS=1024	# 1024 pages is the default
1331.29Schristosoptions 	P1003_1B_SEMAPHORE	# p1003.1b semaphore support
1341.1Sthorpej
1351.1Sthorpej# Device options
1361.1Sthorpej
1371.44Schristos#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
1381.3Slukem#options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
1391.1Sthorpej#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
1401.1Sthorpej
1411.39Stsutsui#options 	XSERVER			# required by Xserver on old pccons
1421.1Sthorpejoptions 	INSECURE		# disable kernel securelevel
1431.1Sthorpej
1441.1Sthorpej# Use the following to force the serial to always be the console
1451.1Sthorpej# device.  19200 is what the serial gets set up as by the firmware
1461.1Sthorpej# when it hasn't fallen back from PC.  If it has fallen back then
1471.1Sthorpej# the speed will be set at 9600.
1481.1Sthorpej#options 	COMCONSOLE,CONADDR=0x3f8,CONUNIT=0,CONSPEED=19200
1491.1Sthorpej
1501.1Sthorpej# Miscellaneous kernel options
1511.1Sthorpejoptions 	KTRACE		# system call tracing, a la ktrace(1)
1521.9Sprovosoptions 	SYSTRACE	# system call vetting via systrace(1)
1531.1Sthorpejoptions 	IRQSTATS	# manage IRQ statistics, XXX temp required
1541.44Schristosoptions 	LKM		# loadable kernel modules
1551.1Sthorpejoptions 	KMEMSTATS	# kernel memory statistics, XXX temp required
1561.7Slukemoptions 	USERCONF	# userconf(4) support
1571.37Stsutsui#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
1581.32Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
1591.1Sthorpej
1601.1Sthorpej# Development and Debugging options
1611.1Sthorpej
1621.1Sthorpej#options 	ARM700BUGTRACK	# track the ARM700 swi bug
1631.1Sthorpej#options 	PORTMASTER	# Enable PortMaster only options
1641.1Sthorpejoptions 	DIAGNOSTIC	# internal consistency checks
1651.1Sthorpej#options 	PMAP_DEBUG	# Enable pmap_debug_level code
1661.1Sthorpej#options 	IPKDB		# remote kernel debugging
1671.1Sthorpejoptions 	DDB		# in-kernel debugger
1681.44Schristosoptions 	SYMTAB_SPACE=440000 	# reserve symbol space for DDB
1691.8Smartin				# (needed because we boot netbsd.aout)
1701.1Sthorpej#options 	DDB_ONPANIC=0	# don't run DDB at panictime
1711.1Sthorpej#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1721.11Swiz#options 	KERNEL_DEBUG	# compile in kernel debugging capability
1731.1Sthorpej#makeoptions	DEBUG="-g"	# compile full symbol table
1741.1Sthorpej
1751.38Stsutsui#
1761.38Stsutsui# wscons options
1771.38Stsutsui#
1781.38Stsutsui# builtin terminal emulations
1791.38Stsutsui#options 	WSEMUL_SUN		# sun terminal emulation
1801.38Stsutsuioptions 	WSEMUL_VT100		# VT100 / VT220 emulation
1811.38Stsutsui# customization of console and kernel output - see dev/wscons/wsdisplayvar.h
1821.38Stsutsui#options 	WSDISPLAY_CUSTOM_OUTPUT	# color customization from wsconsctl(8)
1831.38Stsutsui#options 	WS_DEFAULT_FG=WSCOL_WHITE
1841.38Stsutsui#options 	WS_DEFAULT_BG=WSCOL_BLACK
1851.38Stsutsui#options 	WS_DEFAULT_COLATTR="(0)"
1861.38Stsutsui#options 	WS_DEFAULT_MONOATTR="(0)"
1871.38Stsutsuioptions 	WS_KERNEL_FG=WSCOL_GREEN
1881.38Stsutsui#options 	WS_KERNEL_BG=WSCOL_BLACK
1891.38Stsutsui#options 	WS_KERNEL_COLATTR=""
1901.38Stsutsui#options 	WS_KERNEL_MONOATTR=""
1911.38Stsutsui# customization of console border color
1921.38Stsutsui#options 	WSDISPLAY_CUSTOM_BORDER	# border customization from wsconsctl(8)
1931.38Stsutsui#options 	WSDISPLAY_BORDER_COLOR=WSCOL_BLUE	# default color
1941.38Stsutsui# compatibility to other console drivers
1951.38Stsutsuioptions 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
1961.38Stsutsuioptions 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
1971.38Stsutsuioptions 	WSDISPLAY_COMPAT_USL		# VT handling
1981.38Stsutsuioptions 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
1991.38Stsutsui# see dev/pckbc/wskbdmap_mfii.c for implemented layouts
2001.38Stsutsui#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
2011.38Stsutsui#options 	PCKBD_LAYOUT="(KB_US | KB_SWAPCTRLCAPS)"
2021.38Stsutsui# allocate a number of virtual screens at autoconfiguration time
2031.38Stsutsui#options 	WSDISPLAY_DEFAULTSCREENS=4
2041.38Stsutsui# use a large software cursor that doesn't blink
2051.38Stsutsui#options 	PCDISPLAY_SOFTCURSOR
2061.38Stsutsui# modify the screen type of the console; defaults to "80x25"
2071.38Stsutsui#options 	VGA_CONSOLE_SCREENTYPE="\"80x24\""
2081.38Stsutsui# the following enables some functions to get mouse console support.
2091.38Stsutsui# if you want a really secure system, it may be better not to enable them,
2101.38Stsutsui# see wsmoused(8), section SECURITY CONSIDERATIONS for more info.
2111.38Stsutsui#options 	WSDISPLAY_CHARFUNCS		# mouse console support
2121.38Stsutsui# console scrolling support.
2131.38Stsutsui#options 	WSDISPLAY_SCROLLSUPPORT
2141.38Stsutsui# enable VGA raster mode capable of displaying multilingual text on console
2151.38Stsutsui#options 	VGA_RASTERCONSOLE
2161.38Stsutsui
2171.1Sthorpejconfig		netbsd		root on ? type ?
2181.1Sthorpej
2191.1Sthorpej# The main bus device
2201.1Sthorpejmainbus0 at root
2211.1Sthorpej
2221.23Swiz# The boot CPU
2231.1Sthorpejcpu0 at mainbus?
2241.1Sthorpej
2251.1Sthorpej# Open Firmware devices
2261.1Sthorpejofbus*		at root
2271.1Sthorpejofbus*		at ofbus?
2281.1Sthorpej#ofdisk* 	at ofbus?
2291.1Sthorpej#ofnet*		at ofbus?	# don't use with cs0
2301.1Sthorpej#ofcons* 	at ofbus?	# don't use with pc0
2311.1Sthorpejofrtc*		at ofisa?
2321.1Sthorpejofrom*		at ofbus?
2331.1Sthorpej
2341.1Sthorpejofisa*		at ofbus?
2351.1Sthorpejofbus*		at ofisa?
2361.1Sthorpej
2371.1Sthorpej# IDE/ATA disk
2381.1Sthorpejwdc*		at ofisa?
2391.21Sbouyeratabus* 	at wdc? channel ?
2401.21Sbouyerwd*		at atabus? drive ?
2411.1Sthorpej
2421.21Sbouyeratapibus*	at atabus?
2431.1Sthorpejcd*		at atapibus? drive?
2441.1Sthorpejsd*		at atapibus? drive?
2451.1Sthorpej
2461.1Sthorpej# PCCONS@OFW
2471.38Stsutsui#ofisapc*	at ofbus?
2481.38Stsutsui#pc*		at ofisapc?
2491.1Sthorpej#options 	FRENCH_KBD
2501.1Sthorpej#options 	FINNISH_KBD
2511.1Sthorpej#options 	GERMAN_KBD
2521.1Sthorpej#options 	NORWEGIAN_KBD
2531.1Sthorpej
2541.1Sthorpej# PS/2 Mouse
2551.38Stsutsui#opms0		at spckbd? irq 12
2561.38Stsutsui
2571.38Stsutsui# wscons
2581.38Stsutsuipckbc*		at ofisa?
2591.38Stsutsuipckbd*		at pckbc?
2601.38Stsutsuipms*		at pckbc?
2611.38Stsutsuivga*		at ofbus?
2621.38Stsutsuiwsdisplay*	at vga?
2631.38Stsutsuiwskbd*		at pckbd? console ?
2641.38Stsutsuiwsmouse*	at pms? mux 0
2651.1Sthorpej
2661.1Sthorpej# CS8900 Ethernet@OFW
2671.1Sthorpejcs*		at ofisa?
2681.1Sthorpej
2691.1Sthorpej# Serial @OFW
2701.1Sthorpejcom*		at ofisa?
2711.1Sthorpej
2721.1Sthorpej# Parallel @OFW
2731.1Sthorpejlpt*		at ofisa?
2741.1Sthorpej
2751.1Sthorpej# Smart Card
2761.1Sthorpejofisascr*	at ofisa?
2771.1Sthorpejscr*		at ofisascr?
2781.1Sthorpej
2791.1Sthorpej# ESS Sound@OFW
2801.1Sthorpejess*		at ofisa?
2811.1Sthorpejaudio*		at ess?
2821.1Sthorpejopl*		at ess?
2831.1Sthorpejmidi*		at opl?
2841.1Sthorpej
2851.1Sthorpej# Joystick @OFW
2861.1Sthorpejjoy*		at ofisa?
2871.1Sthorpej
2881.1Sthorpejpseudo-device	loop	1		# network loopback
2891.1Sthorpejpseudo-device	bpfilter 8		# packet filter
2901.1Sthorpej#pseudo-device	sl	2		# CSLIP
2911.1Sthorpej#pseudo-device	ppp	2		# PPP
2921.1Sthorpej#pseudo-device	tun	2		# network tunneling over tty
2931.1Sthorpej#pseudo-device	ipfilter 1		# ip filter
2941.1Sthorpejpseudo-device	gif	4		# IPv[46] over IPv[46] tunnel (RFC1933)
2951.1Sthorpej#pseudo-device	faith	1		# IPv[46] tcp relay translation i/f
2961.1Sthorpej#pseudo-device	stf	1		# 6to4 IPv6 over IPv4 encapsulation
2971.1Sthorpej#pseudo-device	strip	4		# STarmode Radio IP (Metricon Ricochet)
2981.1Sthorpejpseudo-device	pty			# pseudo-terminals
2991.1Sthorpej#pseudo-device	tb	1		# tablet line discipline
3001.1Sthorpejpseudo-device	vnd	4		# disk-like interface to files
3011.47Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
3021.1Sthorpej#pseudo-device	ccd	2		# concatenated disk devices
3031.41Shannkenpseudo-device	fss	4		# file system snapshot device
3041.10Selric#pseudo-device	cgd	4		# cryptographic disk devices
3051.1Sthorpejpseudo-device	rnd			# /dev/random and /dev/urandom
3061.1Sthorpej
3071.1Sthorpej#pseudo-device	md	1		# Ramdisk driver
3081.1Sthorpej#pseudo-device	profiler 1		# fiq based profiling device
3091.1Sthorpejpseudo-device	sequencer 1		# MIDI sequencer
3101.1Sthorpejpseudo-device	openfirm		# /dev/openfirm
3111.1Sthorpej#pseudo-device	vcoda	4		# coda kernel <-> cachemanager
3121.6Slukempseudo-device	clockctl		# user control of clock subsystem
3131.38Stsutsuipseudo-device	wsmux			# mouse & keyboard multiplexor
3141.38Stsutsuipseudo-device	wsfont
3151.16Sraggepseudo-device	ksyms			# /dev/ksyms
3161.28Sitojun#pseudo-device	pf			# PF packet filter
3171.28Sitojun#pseudo-device	pflog			# PF log if
318