GENERIC revision 1.99
1#	$NetBSD: GENERIC,v 1.99 2012/03/10 21:51:56 joerg Exp $
2#
3# Generic Shark configuration.
4#
5
6include	"arch/shark/conf/std.shark"
7
8options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
9
10#ident		"GENERIC-$Revision: 1.99 $"
11
12# estimated number of users
13maxusers	32
14
15# Standard system options
16
17options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
18options 	HZ=64
19#options 	NTP		# NTP phase/frequency locked loop
20#options 	BOOT_QUIETLY	# twiddle instead of normal boot msg output
21
22# CPU options
23
24options 	CPU_SA110	# Support the SA110 core
25
26# Architecture options
27
28options 	SHARK		# We are a Shark
29options 	NSIO		# We are using the National Semi SuperIO
30makeoptions	CPUFLAGS="-march=armv4 -mtune=strongarm"
31
32# compatibility with old version of OFW, which may have incorrect
33# properties and/or may set up devices incorrectly.
34options 	COMPAT_OLD_OFW
35
36# FPA options
37
38#options 	ARMFPE		# ARM Ltd FPE
39
40# File systems
41
42file-system	FFS		# UFS
43#file-system	LFS		# log-structured file system
44file-system	MFS		# memory file system
45file-system	NFS		# Network file system
46#file-system 	ADOSFS		# AmigaDOS-compatible file system
47#file-system 	EXT2FS		# second extended file system (linux)
48#file-system	CD9660		# ISO 9660 + Rock Ridge file system
49file-system	MSDOSFS		# MS-DOS file system
50file-system	FDESC		# /dev/fd
51#file-system	FILECORE	# Acorn filecore file system
52file-system	KERNFS		# /kern
53file-system	NULLFS		# loopback file system
54#file-system 	OVERLAY		# overlay filesystem
55file-system	PROCFS		# /proc
56#file-system	UMAPFS		# NULLFS + uid and gid remapping
57#file-system	UNION		# union file system
58#file-system	CODA		# Coda file system (needs vcoda below)
59file-system	PTYFS		# /dev/pts/N support
60file-system	TMPFS		# Efficient memory file-system
61#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
62
63# File system options
64#options 	QUOTA		# legacy UFS quotas
65#options 	QUOTA2		# new, in-filesystem UFS quotas
66#options 	FFS_EI		# FFS Endian Independent support
67options 	WAPBL		# File system journaling support
68#options	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
69options 	NFSSERVER
70#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
71
72# Networking options
73
74#options 	GATEWAY		# packet forwarding
75options 	INET		# IP + ICMP + TCP + UDP
76options 	INET6		# IPV6
77#options 	IPSEC		# IP security
78#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
79#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
80#options 	IPSEC_DEBUG	# debug for IP security
81#options 	MROUTING	# IP multicast routing
82#options 	PIM		# Protocol Independent Multicast
83#options 	ISO,TPIP	# OSI
84#options 	EON		# OSI tunneling over IP
85#options 	NETATALK	# AppleTalk networking
86#options 	PFIL_HOOKS	# pfil(9) packet filter hooks (Required
87				# if you enable the pseudo-device ipl).
88
89#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
90#options 	PPP_DEFLATE	# Deflate compression support for PPP
91#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
92options 	NFS_BOOT_DHCP	# use NetBSD standard DHCP/NFS boot code
93#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
94
95#options 	ALTQ		# Manipulate network interfaces' output queues
96#options 	ALTQ_BLUE	# Stochastic Fair Blue
97#options 	ALTQ_CBQ	# Class-Based Queueing
98#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
99#options 	ALTQ_FIFOQ	# First-In First-Out Queue
100#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
101#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
102#options 	ALTQ_LOCALQ	# Local queueing discipline
103#options 	ALTQ_PRIQ	# Priority Queueing
104#options 	ALTQ_RED	# Random Early Detection
105#options 	ALTQ_RIO	# RED with IN/OUT
106#options 	ALTQ_WFQ	# Weighted Fair Queueing
107
108# Compatibility options
109
110#options 	COMPAT_09	# NetBSD 0.9 compatibility.
111#options 	COMPAT_10	# NetBSD 1.0 compatibility.
112#options 	COMPAT_11	# NetBSD 1.1 compatibility.
113options 	COMPAT_12	# NetBSD 1.2 compatibility.
114options 	COMPAT_13	# NetBSD 1.3 compatibility.
115options 	COMPAT_14	# NetBSD 1.4 compatibility.
116options 	COMPAT_15	# NetBSD 1.5 compatibility.
117options 	COMPAT_16	# NetBSD 1.6 compatibility.
118options 	COMPAT_20	# NetBSD 2.0 compatibility.
119options 	COMPAT_30	# NetBSD 3.0 compatibility.
120options 	COMPAT_40	# NetBSD 4.0 compatibility.
121options 	COMPAT_50	# NetBSD 5.0 compatibility.
122options 	COMPAT_43	# 4.3BSD compatibility.
123options 	COMPAT_LINUX	# Linux compatibility.
124#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
125options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
126
127# Shared memory options
128
129options 	SYSVMSG		# System V-like message queues
130options 	SYSVSEM		# System V-like semaphores
131options 	SYSVSHM		# System V-like memory sharing
132
133# Device options
134
135#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
136#options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
137#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
138
139options 	INSECURE		# disable kernel securelevel
140
141# Use the following to force the serial to always be the console
142# device.  19200 is what the serial gets set up as by the firmware
143# when it hasn't fallen back from PC.  If it has fallen back then
144# the speed will be set at 9600.
145#options 	COMCONSOLE,CONADDR=0x3f8,CONUNIT=0,CONSPEED=19200
146
147# Miscellaneous kernel options
148options 	KTRACE		# system call tracing, a la ktrace(1)
149options 	IRQSTATS	# manage IRQ statistics, XXX temp required
150options 	KMEMSTATS	# kernel memory statistics, XXX temp required
151options 	USERCONF	# userconf(4) support
152#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
153options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
154options 	MODULAR		# new style module(7) framework
155
156# Development and Debugging options
157
158#options 	ARM700BUGTRACK	# track the ARM700 swi bug
159#options 	PORTMASTER	# Enable PortMaster only options
160options 	DIAGNOSTIC	# internal consistency checks
161#options 	PMAP_DEBUG	# Enable pmap_debug_level code
162options 	DDB		# in-kernel debugger
163options 	SYMTAB_SPACE=450000 	# reserve symbol space for DDB
164				# (needed because we boot netbsd.aout)
165#options 	DDB_ONPANIC=0	# don't run DDB at panictime
166#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
167#options 	KERNEL_DEBUG	# compile in kernel debugging capability
168#makeoptions	DEBUG="-g"	# compile full symbol table
169
170#
171# wscons options
172#
173# builtin terminal emulations
174#options 	WSEMUL_SUN		# sun terminal emulation
175options 	WSEMUL_VT100		# VT100 / VT220 emulation
176# customization of console and kernel output - see dev/wscons/wsdisplayvar.h
177#options 	WSDISPLAY_CUSTOM_OUTPUT	# color customization from wsconsctl(8)
178#options 	WS_DEFAULT_FG=WSCOL_WHITE
179#options 	WS_DEFAULT_BG=WSCOL_BLACK
180#options 	WS_DEFAULT_COLATTR="(0)"
181#options 	WS_DEFAULT_MONOATTR="(0)"
182options 	WS_KERNEL_FG=WSCOL_GREEN
183#options 	WS_KERNEL_BG=WSCOL_BLACK
184#options 	WS_KERNEL_COLATTR=""
185#options 	WS_KERNEL_MONOATTR=""
186# customization of console border color
187#options 	WSDISPLAY_CUSTOM_BORDER	# border customization from wsconsctl(8)
188#options 	WSDISPLAY_BORDER_COLOR=WSCOL_BLUE	# default color
189# compatibility to other console drivers
190options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
191options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
192options 	WSDISPLAY_COMPAT_USL		# VT handling
193options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
194# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
195#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
196#options 	PCKBD_LAYOUT="(KB_US | KB_SWAPCTRLCAPS)"
197# allocate a number of virtual screens at autoconfiguration time
198#options 	WSDISPLAY_DEFAULTSCREENS=4
199# use a large software cursor that doesn't blink
200#options 	PCDISPLAY_SOFTCURSOR
201# modify the screen type of the console; defaults to "80x25"
202#options 	VGA_CONSOLE_SCREENTYPE="\"80x24\""
203# console scrolling support.
204#options 	WSDISPLAY_SCROLLSUPPORT
205# enable VGA raster mode capable of displaying multilingual text on console
206#options 	VGA_RASTERCONSOLE
207
208config		netbsd		root on ? type ?
209
210# The main bus device
211mainbus0 at root
212
213# The boot CPU
214cpu0 at mainbus?
215
216# Open Firmware devices
217ofbus*		at root
218ofbus*		at ofbus?
219#ofdisk* 	at ofbus?
220#ofnet*		at ofbus?	# don't use with cs0
221#ofcons* 	at ofbus?	# don't use with pc0
222ofrtc*		at ofisa?
223ofrom*		at ofbus?
224
225ofisa*		at ofbus?
226ofbus*		at ofisa?
227
228# IDE/ATA disk
229wdc*		at ofisa?
230atabus* 	at wdc? channel ?
231wd*		at atabus? drive ?
232
233atapibus*	at atabus?
234cd*		at atapibus? drive?
235sd*		at atapibus? drive?
236
237# PCCONS@OFW
238#ofisapc*	at ofbus?
239#pc*		at ofisapc?
240#options 	FRENCH_KBD
241#options 	FINNISH_KBD
242#options 	GERMAN_KBD
243#options 	NORWEGIAN_KBD
244
245# PS/2 Mouse
246#opms0		at spckbd? irq 12
247
248# wscons
249pckbc*		at ofisa?
250pckbd*		at pckbc?
251pms*		at pckbc?
252vga*		at ofbus?
253igsfb*		at ofbus?	# IGS CyberPro in rev. 5 sharks
254chipsfb*	at ofbus?	# C&T 65550 in rev. 4 and earlier
255wsdisplay*	at wsemuldisplaydev?
256wskbd*		at pckbd? console ?
257wsmouse*	at pms? mux 0
258
259# CS8900 Ethernet@OFW
260cs*		at ofisa?
261
262# Serial @OFW
263com*		at ofisa?
264
265# Parallel @OFW
266lpt*		at ofisa?
267
268# Smart Card
269ofisascr*	at ofisa?
270scr*		at ofisascr?
271
272# ESS Sound@OFW
273ess*		at ofisa?
274audio*		at ess?
275opl*		at ess?
276midi*		at opl?
277
278# Joystick @OFW
279joy*		at ofisa?
280
281# Pull in optional local configuration
282cinclude "arch/shark/conf/GENERIC.local"
283
284#
285# accept filters
286pseudo-device   accf_data		# "dataready" accept filter
287pseudo-device   accf_http		# "httpready" accept filter
288
289pseudo-device	loop	1		# network loopback
290pseudo-device	bpfilter		# packet filter
291#pseudo-device	carp			# Common Address Redundancy Protocol
292#pseudo-device	sl			# CSLIP
293#pseudo-device	ppp			# PPP
294#pseudo-device	tun			# network tunneling over tty
295#pseudo-device	ipfilter 1		# ip filter
296pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
297#pseudo-device	faith			# IPv[46] tcp relay translation i/f
298pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
299#pseudo-device	strip			# STarmode Radio IP (Metricon Ricochet)
300pseudo-device	pty			# pseudo-terminals
301pseudo-device	vnd			# disk-like interface to files
302#options 	VND_COMPRESSION		# compressed vnd(4)
303#pseudo-device	ccd	2		# concatenated disk devices
304pseudo-device	fss			# file system snapshot device
305#pseudo-device	cgd	4		# cryptographic disk devices
306
307#pseudo-device	md			# Ramdisk driver
308#pseudo-device	profiler 1		# fiq based profiling device
309pseudo-device	sequencer 1		# MIDI sequencer
310pseudo-device	openfirm		# /dev/openfirm
311#pseudo-device	vcoda	4		# coda kernel <-> cachemanager
312pseudo-device	clockctl		# user control of clock subsystem
313pseudo-device	wsmux			# mouse & keyboard multiplexor
314pseudo-device	wsfont
315pseudo-device	ksyms			# /dev/ksyms
316#pseudo-device	pf			# PF packet filter
317#pseudo-device	pflog			# PF log if
318
319# Veriexec
320#
321# a pseudo device needed for veriexec
322#pseudo-device	veriexec		1
323#
324# Uncomment the fingerprint methods below that are desired. Note that
325# removing fingerprint methods will have almost no impact on the kernel
326# code size.
327#
328#options VERIFIED_EXEC_FP_RMD160
329#options VERIFIED_EXEC_FP_SHA256
330#options VERIFIED_EXEC_FP_SHA384
331#options VERIFIED_EXEC_FP_SHA512
332#options VERIFIED_EXEC_FP_SHA1
333#options VERIFIED_EXEC_FP_MD5
334
335options PAX_MPROTECT=0			# PaX mprotect(2) restrictions
336#options PAX_SEGVGUARD=0			# PaX Segmentation fault guard
337options PAX_ASLR=0			# PaX Address Space Layout Randomization
338