GENERIC revision 1.103
11.103Sapb#	$NetBSD: GENERIC,v 1.103 2012/10/17 14:48:16 apb 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.103Sapb#ident		"GENERIC-$Revision: 1.103 $"
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.1Sthorpej#options 	BOOT_QUIETLY	# twiddle instead of normal boot msg output
211.1Sthorpej
221.1Sthorpej# CPU options
231.1Sthorpej
241.1Sthorpejoptions 	CPU_SA110	# Support the SA110 core
251.1Sthorpej
261.1Sthorpej# Architecture options
271.1Sthorpej
281.1Sthorpejoptions 	SHARK		# We are a Shark
291.1Sthorpejoptions 	NSIO		# We are using the National Semi SuperIO
301.20Suwemakeoptions	CPUFLAGS="-march=armv4 -mtune=strongarm"
311.1Sthorpej
321.1Sthorpej# compatibility with old version of OFW, which may have incorrect
331.1Sthorpej# properties and/or may set up devices incorrectly.
341.1Sthorpejoptions 	COMPAT_OLD_OFW
351.1Sthorpej
361.1Sthorpej# FPA options
371.1Sthorpej
381.1Sthorpej#options 	ARMFPE		# ARM Ltd FPE
391.1Sthorpej
401.1Sthorpej# File systems
411.1Sthorpej
421.1Sthorpejfile-system	FFS		# UFS
431.1Sthorpej#file-system	LFS		# log-structured file system
441.1Sthorpejfile-system	MFS		# memory file system
451.1Sthorpejfile-system	NFS		# Network file system
461.1Sthorpej#file-system 	ADOSFS		# AmigaDOS-compatible file system
471.1Sthorpej#file-system 	EXT2FS		# second extended file system (linux)
481.1Sthorpej#file-system	CD9660		# ISO 9660 + Rock Ridge file system
491.1Sthorpejfile-system	MSDOSFS		# MS-DOS file system
501.30Schristosfile-system	FDESC		# /dev/fd
511.1Sthorpej#file-system	FILECORE	# Acorn filecore file system
521.1Sthorpejfile-system	KERNFS		# /kern
531.24Smattfile-system	NULLFS		# loopback file system
541.1Sthorpej#file-system 	OVERLAY		# overlay filesystem
551.30Schristosfile-system	PROCFS		# /proc
561.100Smrgfile-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
571.1Sthorpej#file-system	UMAPFS		# NULLFS + uid and gid remapping
581.1Sthorpej#file-system	UNION		# union file system
591.1Sthorpej#file-system	CODA		# Coda file system (needs vcoda below)
601.51Schristosfile-system	PTYFS		# /dev/pts/N support
611.69Smattfile-system	TMPFS		# Efficient memory file-system
621.57Sreinoud#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
631.1Sthorpej
641.1Sthorpej# File system options
651.93Sbouyer#options 	QUOTA		# legacy UFS quotas
661.93Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
671.95Swiz#options 	FFS_EI		# FFS Endian Independent support
681.97Sdhollandoptions 	WAPBL		# File system journaling support
691.40Srumble#options	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
701.30Schristosoptions 	NFSSERVER
711.54Stsutsui#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
721.1Sthorpej
731.1Sthorpej# Networking options
741.1Sthorpej
751.1Sthorpej#options 	GATEWAY		# packet forwarding
761.1Sthorpejoptions 	INET		# IP + ICMP + TCP + UDP
771.1Sthorpejoptions 	INET6		# IPV6
781.1Sthorpej#options 	IPSEC		# IP security
791.1Sthorpej#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
801.46Stron#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
811.1Sthorpej#options 	IPSEC_DEBUG	# debug for IP security
821.1Sthorpej#options 	MROUTING	# IP multicast routing
831.34Smanu#options 	PIM		# Protocol Independent Multicast
841.1Sthorpej#options 	ISO,TPIP	# OSI
851.1Sthorpej#options 	EON		# OSI tunneling over IP
861.1Sthorpej#options 	NETATALK	# AppleTalk networking
871.1Sthorpej#options 	PFIL_HOOKS	# pfil(9) packet filter hooks (Required
881.1Sthorpej				# if you enable the pseudo-device ipl).
891.1Sthorpej
901.1Sthorpej#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
911.1Sthorpej#options 	PPP_DEFLATE	# Deflate compression support for PPP
921.1Sthorpej#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
931.1Sthorpejoptions 	NFS_BOOT_DHCP	# use NetBSD standard DHCP/NFS boot code
941.1Sthorpej#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
951.1Sthorpej
961.31Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
971.31Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
981.31Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
991.31Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1001.31Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1011.31Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1021.31Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1031.31Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1041.31Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1051.31Sabs#options 	ALTQ_RED	# Random Early Detection
1061.31Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1071.31Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1081.31Sabs
1091.1Sthorpej# Compatibility options
1101.1Sthorpej
1111.13Sperry#options 	COMPAT_09	# NetBSD 0.9 compatibility.
1121.13Sperry#options 	COMPAT_10	# NetBSD 1.0 compatibility.
1131.13Sperry#options 	COMPAT_11	# NetBSD 1.1 compatibility.
1141.13Sperryoptions 	COMPAT_12	# NetBSD 1.2 compatibility.
1151.13Sperryoptions 	COMPAT_13	# NetBSD 1.3 compatibility.
1161.13Sperryoptions 	COMPAT_14	# NetBSD 1.4 compatibility.
1171.13Sperryoptions 	COMPAT_15	# NetBSD 1.5 compatibility.
1181.13Sperryoptions 	COMPAT_16	# NetBSD 1.6 compatibility.
1191.29Schristosoptions 	COMPAT_20	# NetBSD 2.0 compatibility.
1201.50Schristosoptions 	COMPAT_30	# NetBSD 3.0 compatibility.
1211.79Stsutsuioptions 	COMPAT_40	# NetBSD 4.0 compatibility.
1221.90Sdhollandoptions 	COMPAT_50	# NetBSD 5.0 compatibility.
1231.103Sapboptions 	COMPAT_60	# NetBSD 6.0 compatibility.
1241.1Sthorpejoptions 	COMPAT_43	# 4.3BSD compatibility.
1251.24Smattoptions 	COMPAT_LINUX	# Linux compatibility.
1261.1Sthorpej#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
1271.37Stsutsuioptions 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
1281.1Sthorpej
1291.1Sthorpej# Shared memory options
1301.1Sthorpej
1311.1Sthorpejoptions 	SYSVMSG		# System V-like message queues
1321.1Sthorpejoptions 	SYSVSEM		# System V-like semaphores
1331.1Sthorpejoptions 	SYSVSHM		# System V-like memory sharing
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.1Sthorpejoptions 	INSECURE		# disable kernel securelevel
1421.1Sthorpej
1431.1Sthorpej# Use the following to force the serial to always be the console
1441.1Sthorpej# device.  19200 is what the serial gets set up as by the firmware
1451.1Sthorpej# when it hasn't fallen back from PC.  If it has fallen back then
1461.1Sthorpej# the speed will be set at 9600.
1471.1Sthorpej#options 	COMCONSOLE,CONADDR=0x3f8,CONUNIT=0,CONSPEED=19200
1481.1Sthorpej
1491.1Sthorpej# Miscellaneous kernel options
1501.1Sthorpejoptions 	KTRACE		# system call tracing, a la ktrace(1)
1511.1Sthorpejoptions 	IRQSTATS	# manage IRQ statistics, XXX temp required
1521.1Sthorpejoptions 	KMEMSTATS	# kernel memory statistics, XXX temp required
1531.7Slukemoptions 	USERCONF	# userconf(4) support
1541.37Stsutsui#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
1551.32Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
1561.92Stsutsuioptions 	MODULAR		# new style module(7) framework
1571.1Sthorpej
1581.1Sthorpej# Development and Debugging options
1591.1Sthorpej
1601.1Sthorpej#options 	ARM700BUGTRACK	# track the ARM700 swi bug
1611.1Sthorpej#options 	PORTMASTER	# Enable PortMaster only options
1621.75Schristosoptions 	DIAGNOSTIC	# internal consistency checks
1631.1Sthorpej#options 	PMAP_DEBUG	# Enable pmap_debug_level code
1641.1Sthorpejoptions 	DDB		# in-kernel debugger
1651.102Smattoptions 	SYMTAB_SPACE=600000 	# reserve symbol space for DDB
1661.8Smartin				# (needed because we boot netbsd.aout)
1671.1Sthorpej#options 	DDB_ONPANIC=0	# don't run DDB at panictime
1681.1Sthorpej#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1691.11Swiz#options 	KERNEL_DEBUG	# compile in kernel debugging capability
1701.1Sthorpej#makeoptions	DEBUG="-g"	# compile full symbol table
1711.1Sthorpej
1721.38Stsutsui#
1731.38Stsutsui# wscons options
1741.38Stsutsui#
1751.38Stsutsui# builtin terminal emulations
1761.38Stsutsui#options 	WSEMUL_SUN		# sun terminal emulation
1771.38Stsutsuioptions 	WSEMUL_VT100		# VT100 / VT220 emulation
1781.38Stsutsui# customization of console and kernel output - see dev/wscons/wsdisplayvar.h
1791.38Stsutsui#options 	WSDISPLAY_CUSTOM_OUTPUT	# color customization from wsconsctl(8)
1801.38Stsutsui#options 	WS_DEFAULT_FG=WSCOL_WHITE
1811.38Stsutsui#options 	WS_DEFAULT_BG=WSCOL_BLACK
1821.38Stsutsui#options 	WS_DEFAULT_COLATTR="(0)"
1831.38Stsutsui#options 	WS_DEFAULT_MONOATTR="(0)"
1841.38Stsutsuioptions 	WS_KERNEL_FG=WSCOL_GREEN
1851.38Stsutsui#options 	WS_KERNEL_BG=WSCOL_BLACK
1861.38Stsutsui#options 	WS_KERNEL_COLATTR=""
1871.38Stsutsui#options 	WS_KERNEL_MONOATTR=""
1881.38Stsutsui# customization of console border color
1891.38Stsutsui#options 	WSDISPLAY_CUSTOM_BORDER	# border customization from wsconsctl(8)
1901.38Stsutsui#options 	WSDISPLAY_BORDER_COLOR=WSCOL_BLUE	# default color
1911.38Stsutsui# compatibility to other console drivers
1921.38Stsutsuioptions 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
1931.38Stsutsuioptions 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
1941.101Sabsoptions 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1951.38Stsutsuioptions 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
1961.62Sdrochner# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
1971.38Stsutsui#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
1981.38Stsutsui#options 	PCKBD_LAYOUT="(KB_US | KB_SWAPCTRLCAPS)"
1991.38Stsutsui# allocate a number of virtual screens at autoconfiguration time
2001.38Stsutsui#options 	WSDISPLAY_DEFAULTSCREENS=4
2011.38Stsutsui# use a large software cursor that doesn't blink
2021.38Stsutsui#options 	PCDISPLAY_SOFTCURSOR
2031.38Stsutsui# modify the screen type of the console; defaults to "80x25"
2041.38Stsutsui#options 	VGA_CONSOLE_SCREENTYPE="\"80x24\""
2051.38Stsutsui# console scrolling support.
2061.38Stsutsui#options 	WSDISPLAY_SCROLLSUPPORT
2071.38Stsutsui# enable VGA raster mode capable of displaying multilingual text on console
2081.38Stsutsui#options 	VGA_RASTERCONSOLE
2091.38Stsutsui
2101.1Sthorpejconfig		netbsd		root on ? type ?
2111.1Sthorpej
2121.1Sthorpej# The main bus device
2131.1Sthorpejmainbus0 at root
2141.1Sthorpej
2151.23Swiz# The boot CPU
2161.1Sthorpejcpu0 at mainbus?
2171.1Sthorpej
2181.1Sthorpej# Open Firmware devices
2191.1Sthorpejofbus*		at root
2201.1Sthorpejofbus*		at ofbus?
2211.1Sthorpej#ofdisk* 	at ofbus?
2221.1Sthorpej#ofnet*		at ofbus?	# don't use with cs0
2231.1Sthorpej#ofcons* 	at ofbus?	# don't use with pc0
2241.1Sthorpejofrtc*		at ofisa?
2251.1Sthorpejofrom*		at ofbus?
2261.1Sthorpej
2271.1Sthorpejofisa*		at ofbus?
2281.1Sthorpejofbus*		at ofisa?
2291.1Sthorpej
2301.1Sthorpej# IDE/ATA disk
2311.1Sthorpejwdc*		at ofisa?
2321.21Sbouyeratabus* 	at wdc? channel ?
2331.21Sbouyerwd*		at atabus? drive ?
2341.1Sthorpej
2351.21Sbouyeratapibus*	at atabus?
2361.1Sthorpejcd*		at atapibus? drive?
2371.1Sthorpejsd*		at atapibus? drive?
2381.1Sthorpej
2391.1Sthorpej# PCCONS@OFW
2401.38Stsutsui#ofisapc*	at ofbus?
2411.38Stsutsui#pc*		at ofisapc?
2421.1Sthorpej#options 	FRENCH_KBD
2431.1Sthorpej#options 	FINNISH_KBD
2441.1Sthorpej#options 	GERMAN_KBD
2451.1Sthorpej#options 	NORWEGIAN_KBD
2461.1Sthorpej
2471.1Sthorpej# PS/2 Mouse
2481.38Stsutsui#opms0		at spckbd? irq 12
2491.38Stsutsui
2501.38Stsutsui# wscons
2511.38Stsutsuipckbc*		at ofisa?
2521.38Stsutsuipckbd*		at pckbc?
2531.38Stsutsuipms*		at pckbc?
2541.38Stsutsuivga*		at ofbus?
2551.94Smacallanigsfb*		at ofbus?	# IGS CyberPro in rev. 5 sharks
2561.94Smacallanchipsfb*	at ofbus?	# C&T 65550 in rev. 4 and earlier
2571.68Smacallanwsdisplay*	at wsemuldisplaydev?
2581.38Stsutsuiwskbd*		at pckbd? console ?
2591.38Stsutsuiwsmouse*	at pms? mux 0
2601.1Sthorpej
2611.1Sthorpej# CS8900 Ethernet@OFW
2621.1Sthorpejcs*		at ofisa?
2631.1Sthorpej
2641.1Sthorpej# Serial @OFW
2651.1Sthorpejcom*		at ofisa?
2661.1Sthorpej
2671.1Sthorpej# Parallel @OFW
2681.1Sthorpejlpt*		at ofisa?
2691.1Sthorpej
2701.1Sthorpej# Smart Card
2711.1Sthorpejofisascr*	at ofisa?
2721.1Sthorpejscr*		at ofisascr?
2731.1Sthorpej
2741.1Sthorpej# ESS Sound@OFW
2751.1Sthorpejess*		at ofisa?
2761.1Sthorpejaudio*		at ess?
2771.1Sthorpejopl*		at ess?
2781.1Sthorpejmidi*		at opl?
2791.1Sthorpej
2801.1Sthorpej# Joystick @OFW
2811.1Sthorpejjoy*		at ofisa?
2821.1Sthorpej
2831.77Sjmmv# Pull in optional local configuration
2841.78Sjmmvcinclude "arch/shark/conf/GENERIC.local"
2851.77Sjmmv
2861.81Stls#
2871.81Stls# accept filters
2881.81Stlspseudo-device   accf_data		# "dataready" accept filter
2891.81Stlspseudo-device   accf_http		# "httpready" accept filter
2901.81Stls
2911.1Sthorpejpseudo-device	loop	1		# network loopback
2921.58Srpaulopseudo-device	bpfilter		# packet filter
2931.63Sliamjfoy#pseudo-device	carp			# Common Address Redundancy Protocol
2941.59Scube#pseudo-device	sl			# CSLIP
2951.59Scube#pseudo-device	ppp			# PPP
2961.59Scube#pseudo-device	tun			# network tunneling over tty
2971.1Sthorpej#pseudo-device	ipfilter 1		# ip filter
2981.59Scubepseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
2991.59Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
3001.60Spavelpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
3011.59Scube#pseudo-device	strip			# STarmode Radio IP (Metricon Ricochet)
3021.1Sthorpejpseudo-device	pty			# pseudo-terminals
3031.59Scubepseudo-device	vnd			# disk-like interface to files
3041.47Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
3051.1Sthorpej#pseudo-device	ccd	2		# concatenated disk devices
3061.89Spookapseudo-device	fss			# file system snapshot device
3071.10Selric#pseudo-device	cgd	4		# cryptographic disk devices
3081.1Sthorpej
3091.91Shannken#pseudo-device	md			# Ramdisk driver
3101.1Sthorpej#pseudo-device	profiler 1		# fiq based profiling device
3111.1Sthorpejpseudo-device	sequencer 1		# MIDI sequencer
3121.1Sthorpejpseudo-device	openfirm		# /dev/openfirm
3131.1Sthorpej#pseudo-device	vcoda	4		# coda kernel <-> cachemanager
3141.6Slukempseudo-device	clockctl		# user control of clock subsystem
3151.38Stsutsuipseudo-device	wsmux			# mouse & keyboard multiplexor
3161.38Stsutsuipseudo-device	wsfont
3171.16Sraggepseudo-device	ksyms			# /dev/ksyms
3181.28Sitojun#pseudo-device	pf			# PF packet filter
3191.28Sitojun#pseudo-device	pflog			# PF log if
3201.100Smrgpseudo-device	putter			# for puffs and pud
3211.55Selad
3221.55Selad# Veriexec
3231.55Selad#
3241.55Selad# a pseudo device needed for veriexec
3251.55Selad#pseudo-device	veriexec		1
3261.55Selad#
3271.55Selad# Uncomment the fingerprint methods below that are desired. Note that
3281.55Selad# removing fingerprint methods will have almost no impact on the kernel
3291.55Selad# code size.
3301.55Selad#
3311.55Selad#options VERIFIED_EXEC_FP_RMD160
3321.55Selad#options VERIFIED_EXEC_FP_SHA256
3331.55Selad#options VERIFIED_EXEC_FP_SHA384
3341.55Selad#options VERIFIED_EXEC_FP_SHA512
3351.55Selad#options VERIFIED_EXEC_FP_SHA1
3361.55Selad#options VERIFIED_EXEC_FP_MD5
3371.75Schristos
3381.75Schristosoptions PAX_MPROTECT=0			# PaX mprotect(2) restrictions
3391.75Schristos#options PAX_SEGVGUARD=0			# PaX Segmentation fault guard
3401.75Schristosoptions PAX_ASLR=0			# PaX Address Space Layout Randomization
341