GENERIC revision 1.135
11.135Sskrll#	$NetBSD: GENERIC,v 1.135 2020/04/18 11:00:42 skrll 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.135Sskrll#ident		"GENERIC-$Revision: 1.135 $"
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# File systems
371.1Sthorpej
381.1Sthorpejfile-system	FFS		# UFS
391.1Sthorpej#file-system	LFS		# log-structured file system
401.1Sthorpejfile-system	MFS		# memory file system
411.1Sthorpejfile-system	NFS		# Network file system
421.1Sthorpej#file-system 	ADOSFS		# AmigaDOS-compatible file system
431.1Sthorpej#file-system 	EXT2FS		# second extended file system (linux)
441.1Sthorpej#file-system	CD9660		# ISO 9660 + Rock Ridge file system
451.1Sthorpejfile-system	MSDOSFS		# MS-DOS file system
461.30Schristosfile-system	FDESC		# /dev/fd
471.1Sthorpej#file-system	FILECORE	# Acorn filecore file system
481.1Sthorpejfile-system	KERNFS		# /kern
491.24Smattfile-system	NULLFS		# loopback file system
501.1Sthorpej#file-system 	OVERLAY		# overlay filesystem
511.30Schristosfile-system	PROCFS		# /proc
521.100Smrgfile-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
531.1Sthorpej#file-system	UMAPFS		# NULLFS + uid and gid remapping
541.1Sthorpej#file-system	UNION		# union file system
551.1Sthorpej#file-system	CODA		# Coda file system (needs vcoda below)
561.51Schristosfile-system	PTYFS		# /dev/pts/N support
571.69Smattfile-system	TMPFS		# Efficient memory file-system
581.57Sreinoud#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
591.1Sthorpej
601.1Sthorpej# File system options
611.93Sbouyer#options 	QUOTA		# legacy UFS quotas
621.93Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
631.95Swiz#options 	FFS_EI		# FFS Endian Independent support
641.97Sdhollandoptions 	WAPBL		# File system journaling support
651.40Srumble#options	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
661.30Schristosoptions 	NFSSERVER
671.54Stsutsui#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
681.120Smanu#options 	UFS_EXTATTR	# Extended attribute support for UFS1
691.1Sthorpej
701.1Sthorpej# Networking options
711.1Sthorpej
721.1Sthorpej#options 	GATEWAY		# packet forwarding
731.1Sthorpejoptions 	INET		# IP + ICMP + TCP + UDP
741.1Sthorpejoptions 	INET6		# IPV6
751.1Sthorpej#options 	IPSEC		# IP security
761.1Sthorpej#options 	IPSEC_DEBUG	# debug for IP security
771.1Sthorpej#options 	MROUTING	# IP multicast routing
781.34Smanu#options 	PIM		# Protocol Independent Multicast
791.1Sthorpej#options 	NETATALK	# AppleTalk networking
801.1Sthorpej				# if you enable the pseudo-device ipl).
811.1Sthorpej
821.1Sthorpej#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
831.1Sthorpej#options 	PPP_DEFLATE	# Deflate compression support for PPP
841.1Sthorpej#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
851.1Sthorpejoptions 	NFS_BOOT_DHCP	# use NetBSD standard DHCP/NFS boot code
861.1Sthorpej#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
871.1Sthorpej
881.31Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
891.31Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
901.31Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
911.31Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
921.31Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
931.31Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
941.31Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
951.31Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
961.31Sabs#options 	ALTQ_PRIQ	# Priority Queueing
971.31Sabs#options 	ALTQ_RED	# Random Early Detection
981.31Sabs#options 	ALTQ_RIO	# RED with IN/OUT
991.31Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1001.31Sabs
1011.1Sthorpej# Compatibility options
1021.1Sthorpej
1031.130Smrginclude 	"conf/compat_netbsd12.config"
1041.130Smrgoptions 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
1051.130Smrg
1061.24Smattoptions 	COMPAT_LINUX	# Linux compatibility.
1071.1Sthorpej
1081.1Sthorpej# Shared memory options
1091.1Sthorpej
1101.1Sthorpejoptions 	SYSVMSG		# System V-like message queues
1111.1Sthorpejoptions 	SYSVSEM		# System V-like semaphores
1121.1Sthorpejoptions 	SYSVSHM		# System V-like memory sharing
1131.1Sthorpej
1141.1Sthorpej# Device options
1151.1Sthorpej
1161.44Schristos#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
1171.3Slukem#options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
1181.1Sthorpej#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
1191.1Sthorpej
1201.1Sthorpejoptions 	INSECURE		# disable kernel securelevel
1211.1Sthorpej
1221.1Sthorpej# Use the following to force the serial to always be the console
1231.1Sthorpej# device.  19200 is what the serial gets set up as by the firmware
1241.1Sthorpej# when it hasn't fallen back from PC.  If it has fallen back then
1251.1Sthorpej# the speed will be set at 9600.
1261.1Sthorpej#options 	COMCONSOLE,CONADDR=0x3f8,CONUNIT=0,CONSPEED=19200
1271.1Sthorpej
1281.1Sthorpej# Miscellaneous kernel options
1291.1Sthorpejoptions 	KTRACE		# system call tracing, a la ktrace(1)
1301.1Sthorpejoptions 	IRQSTATS	# manage IRQ statistics, XXX temp required
1311.7Slukemoptions 	USERCONF	# userconf(4) support
1321.37Stsutsui#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
1331.32Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
1341.92Stsutsuioptions 	MODULAR		# new style module(7) framework
1351.119Sjnemethoptions 	MODULAR_DEFAULT_AUTOLOAD
1361.1Sthorpej
1371.133Ssevan# Alternate buffer queue strategies for better responsiveness under high
1381.133Ssevan# disk I/O load.
1391.133Ssevan#options 	BUFQ_READPRIO
1401.133Ssevanoptions 	BUFQ_PRIOCSCAN
1411.133Ssevan
1421.1Sthorpej# Development and Debugging options
1431.1Sthorpej
1441.1Sthorpej#options 	ARM700BUGTRACK	# track the ARM700 swi bug
1451.1Sthorpej#options 	PORTMASTER	# Enable PortMaster only options
1461.75Schristosoptions 	DIAGNOSTIC	# internal consistency checks
1471.135Sskrll#options 	UVMHIST		# kernhist for uvm/pmap subsystems
1481.1Sthorpejoptions 	DDB		# in-kernel debugger
1491.117Sjoergmakeoptions	COPY_SYMTAB=1 	# reserve symbol space for DDB
1501.8Smartin				# (needed because we boot netbsd.aout)
1511.1Sthorpej#options 	DDB_ONPANIC=0	# don't run DDB at panictime
1521.1Sthorpej#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
1531.11Swiz#options 	KERNEL_DEBUG	# compile in kernel debugging capability
1541.1Sthorpej#makeoptions	DEBUG="-g"	# compile full symbol table
1551.1Sthorpej
1561.38Stsutsui#
1571.38Stsutsui# wscons options
1581.38Stsutsui#
1591.38Stsutsui# builtin terminal emulations
1601.38Stsutsui#options 	WSEMUL_SUN		# sun terminal emulation
1611.38Stsutsuioptions 	WSEMUL_VT100		# VT100 / VT220 emulation
1621.38Stsutsui# customization of console and kernel output - see dev/wscons/wsdisplayvar.h
1631.38Stsutsui#options 	WSDISPLAY_CUSTOM_OUTPUT	# color customization from wsconsctl(8)
1641.38Stsutsui#options 	WS_DEFAULT_FG=WSCOL_WHITE
1651.38Stsutsui#options 	WS_DEFAULT_BG=WSCOL_BLACK
1661.38Stsutsui#options 	WS_DEFAULT_COLATTR="(0)"
1671.38Stsutsui#options 	WS_DEFAULT_MONOATTR="(0)"
1681.38Stsutsuioptions 	WS_KERNEL_FG=WSCOL_GREEN
1691.38Stsutsui#options 	WS_KERNEL_BG=WSCOL_BLACK
1701.38Stsutsui#options 	WS_KERNEL_COLATTR=""
1711.38Stsutsui#options 	WS_KERNEL_MONOATTR=""
1721.38Stsutsui# customization of console border color
1731.38Stsutsui#options 	WSDISPLAY_CUSTOM_BORDER	# border customization from wsconsctl(8)
1741.38Stsutsui#options 	WSDISPLAY_BORDER_COLOR=WSCOL_BLUE	# default color
1751.38Stsutsui# compatibility to other console drivers
1761.38Stsutsuioptions 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
1771.38Stsutsuioptions 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
1781.101Sabsoptions 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1791.38Stsutsuioptions 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
1801.62Sdrochner# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
1811.38Stsutsui#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
1821.38Stsutsui#options 	PCKBD_LAYOUT="(KB_US | KB_SWAPCTRLCAPS)"
1831.38Stsutsui# allocate a number of virtual screens at autoconfiguration time
1841.38Stsutsui#options 	WSDISPLAY_DEFAULTSCREENS=4
1851.38Stsutsui# use a large software cursor that doesn't blink
1861.38Stsutsui#options 	PCDISPLAY_SOFTCURSOR
1871.38Stsutsui# modify the screen type of the console; defaults to "80x25"
1881.38Stsutsui#options 	VGA_CONSOLE_SCREENTYPE="\"80x24\""
1891.38Stsutsui# console scrolling support.
1901.38Stsutsui#options 	WSDISPLAY_SCROLLSUPPORT
1911.38Stsutsui# enable VGA raster mode capable of displaying multilingual text on console
1921.38Stsutsui#options 	VGA_RASTERCONSOLE
1931.38Stsutsui
1941.1Sthorpejconfig		netbsd		root on ? type ?
1951.1Sthorpej
1961.1Sthorpej# The main bus device
1971.1Sthorpejmainbus0 at root
1981.1Sthorpej
1991.23Swiz# The boot CPU
2001.1Sthorpejcpu0 at mainbus?
2011.1Sthorpej
2021.1Sthorpej# Open Firmware devices
2031.1Sthorpejofbus*		at root
2041.1Sthorpejofbus*		at ofbus?
2051.1Sthorpej#ofdisk* 	at ofbus?
2061.1Sthorpej#ofnet*		at ofbus?	# don't use with cs0
2071.1Sthorpej#ofcons* 	at ofbus?	# don't use with pc0
2081.1Sthorpejofrtc*		at ofisa?
2091.1Sthorpejofrom*		at ofbus?
2101.1Sthorpej
2111.1Sthorpejofisa*		at ofbus?
2121.1Sthorpejofbus*		at ofisa?
2131.1Sthorpej
2141.1Sthorpej# IDE/ATA disk
2151.1Sthorpejwdc*		at ofisa?
2161.21Sbouyeratabus* 	at wdc? channel ?
2171.21Sbouyerwd*		at atabus? drive ?
2181.1Sthorpej
2191.21Sbouyeratapibus*	at atabus?
2201.1Sthorpejcd*		at atapibus? drive?
2211.1Sthorpejsd*		at atapibus? drive?
2221.1Sthorpej
2231.1Sthorpej# PCCONS@OFW
2241.38Stsutsui#ofisapc*	at ofbus?
2251.38Stsutsui#pc*		at ofisapc?
2261.1Sthorpej#options 	FRENCH_KBD
2271.1Sthorpej#options 	FINNISH_KBD
2281.1Sthorpej#options 	GERMAN_KBD
2291.1Sthorpej#options 	NORWEGIAN_KBD
2301.1Sthorpej
2311.1Sthorpej# PS/2 Mouse
2321.38Stsutsui#opms0		at spckbd? irq 12
2331.38Stsutsui
2341.38Stsutsui# wscons
2351.38Stsutsuipckbc*		at ofisa?
2361.38Stsutsuipckbd*		at pckbc?
2371.38Stsutsuipms*		at pckbc?
2381.38Stsutsuivga*		at ofbus?
2391.94Smacallanigsfb*		at ofbus?	# IGS CyberPro in rev. 5 sharks
2401.94Smacallanchipsfb*	at ofbus?	# C&T 65550 in rev. 4 and earlier
2411.68Smacallanwsdisplay*	at wsemuldisplaydev?
2421.38Stsutsuiwskbd*		at pckbd? console ?
2431.38Stsutsuiwsmouse*	at pms? mux 0
2441.1Sthorpej
2451.1Sthorpej# CS8900 Ethernet@OFW
2461.1Sthorpejcs*		at ofisa?
2471.1Sthorpej
2481.1Sthorpej# Serial @OFW
2491.1Sthorpejcom*		at ofisa?
2501.1Sthorpej
2511.1Sthorpej# Parallel @OFW
2521.1Sthorpejlpt*		at ofisa?
2531.1Sthorpej
2541.1Sthorpej# Smart Card
2551.1Sthorpejofisascr*	at ofisa?
2561.1Sthorpejscr*		at ofisascr?
2571.1Sthorpej
2581.1Sthorpej# ESS Sound@OFW
2591.1Sthorpejess*		at ofisa?
2601.1Sthorpejaudio*		at ess?
2611.1Sthorpejopl*		at ess?
2621.1Sthorpejmidi*		at opl?
2631.1Sthorpej
2641.126Schristosspkr*		at audio?		# PC speaker (synthesized)
2651.124Snat
2661.1Sthorpej# Joystick @OFW
2671.1Sthorpejjoy*		at ofisa?
2681.1Sthorpej
2691.127Sjakllsch# PCI @OFW
2701.127Sjakllsch#vlpci*		at ofbus?
2711.127Sjakllsch#pci*		at vlpci?
2721.127Sjakllsch
2731.77Sjmmv# Pull in optional local configuration
2741.78Sjmmvcinclude "arch/shark/conf/GENERIC.local"
2751.77Sjmmv
2761.81Stls#
2771.81Stls# accept filters
2781.81Stlspseudo-device   accf_data		# "dataready" accept filter
2791.81Stlspseudo-device   accf_http		# "httpready" accept filter
2801.81Stls
2811.107Schristospseudo-device	loop			# network loopback
2821.58Srpaulopseudo-device	bpfilter		# packet filter
2831.133Ssevanpseudo-device	carp			# Common Address Redundancy Protocol
2841.59Scube#pseudo-device	sl			# CSLIP
2851.59Scube#pseudo-device	ppp			# PPP
2861.59Scube#pseudo-device	tun			# network tunneling over tty
2871.131Smaxv#pseudo-device	npf			# NPF packet filter
2881.59Scubepseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
2891.59Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
2901.60Spavelpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
2911.1Sthorpejpseudo-device	pty			# pseudo-terminals
2921.59Scubepseudo-device	vnd			# disk-like interface to files
2931.47Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
2941.107Schristos#pseudo-device	ccd			# concatenated disk devices
2951.89Spookapseudo-device	fss			# file system snapshot device
2961.107Schristos#pseudo-device	cgd			# cryptographic disk devices
2971.1Sthorpej
2981.91Shannken#pseudo-device	md			# Ramdisk driver
2991.1Sthorpej#pseudo-device	profiler 1		# fiq based profiling device
3001.109Schristospseudo-device	sequencer		# MIDI sequencer
3011.1Sthorpejpseudo-device	openfirm		# /dev/openfirm
3021.108Schristos#pseudo-device	vcoda			# coda kernel <-> cachemanager
3031.6Slukempseudo-device	clockctl		# user control of clock subsystem
3041.132Sisakipseudo-device	drvctl			# user control of drive subsystem
3051.38Stsutsuipseudo-device	wsmux			# mouse & keyboard multiplexor
3061.38Stsutsuipseudo-device	wsfont
3071.16Sraggepseudo-device	ksyms			# /dev/ksyms
3081.100Smrgpseudo-device	putter			# for puffs and pud
3091.55Selad
3101.133Ssevaninclude "dev/veriexec.config"
3111.75Schristos
3121.75Schristosoptions PAX_MPROTECT=0			# PaX mprotect(2) restrictions
3131.75Schristosoptions PAX_ASLR=0			# PaX Address Space Layout Randomization
314