GENERIC revision 1.65
1# $NetBSD: GENERIC,v 1.65 2014/11/16 16:01:40 manu Exp $
2#
3# GENERIC machine description file
4# 
5# This machine description file is used to generate the default NetBSD
6# kernel.  The generic kernel does not include all options, subsystems
7# and device drivers, but should be useful for most applications.
8#
9# The machine description file can be customised for your specific
10# machine to reduce the kernel size and improve its performance.
11#
12# For further information on compiling NetBSD kernels, see the config(8)
13# man page.
14#
15# For further information on hardware support for this architecture, see
16# the intro(4) man page.  For further information about kernel options
17# for this architecture, see the options(4) man page.  For an explanation
18# of each device driver in this file see the section 4 man page for the
19# device.
20
21include 	"arch/cesfic/conf/std.cesfic"
22
23options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
24
25makeoptions	COPTS="-O2 -fno-reorder-blocks"	# see share/mk/sys.mk
26
27# Need to set locally
28maxusers	32
29
30#options 	LEDEBUG
31
32options 	FPSP
33
34# Standard system options
35options 	USERCONF	# userconf(4) support
36#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
37options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
38
39# Enable experimental buffer queue strategy for better responsiveness under 
40# high disk I/O load. Use it with caution - it's not proven to be stable yet.
41#options 	BUFQ_READPRIO
42#options 	BUFQ_PRIOCSCAN
43
44#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
45options 	COMPAT_43	# compatibility with 4.3BSD interfaces
46options 	COMPAT_44	# compatibility with 4.4BSD binaries
47options 	COMPAT_09	# NetBSD 0.9,
48options 	COMPAT_10	# NetBSD 1.0,
49options 	COMPAT_11	# NetBSD 1.1,
50options 	COMPAT_12	# NetBSD 1.2,
51options 	COMPAT_13	# NetBSD 1.3,
52options 	COMPAT_14	# NetBSD 1.4,
53options 	COMPAT_15	# NetBSD 1.5,
54options 	COMPAT_16	# NetBSD 1.6,
55options 	COMPAT_20	# NetBSD 2.0,
56options 	COMPAT_30	# NetBSD 3.0,
57options 	COMPAT_40	# NetBSD 4.0,
58options 	COMPAT_50	# NetBSD 5.0,
59options 	COMPAT_60	# NetBSD 6.0, and
60options 	COMPAT_70	# NetBSD 7.0 binary compatibility.
61#options 	SYSVSHM		# System V-style shared memory
62#options 	SYSVSEM		# System V-style semaphores
63#options 	SYSVMSG		# System V-style message queues
64options 	KTRACE		# system call tracing support
65#options 	NKMEMCLUSTERS=1024	# 4K pages in kernel malloc pool
66options 	COMPAT_SUNOS
67options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
68
69# Filesystems
70#file-system 	FFS		# fast filesystem
71#file-system 	CD9660		# CD-ROM ISO-9660 filesystem
72file-system 	NFS		# Network filesystem client
73#file-system 	UNION		# Union filesystem (req. for FDESC)
74#file-system 	KERNFS		# kernel data-structure filesystem
75#file-system 	FDESC		# user file descriptor filesystem
76#file-system 	PROCFS		# /proc filesystem
77#file-system 	MFS		# Memory-based filesystem
78file-system	PTYFS		# /dev/pts/N support
79#file-system	TMPFS		# Efficient memory file-system
80#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
81
82# Filesystem options
83options 	FIFO		# POSIX fifo support (in all filesystems)
84#options 	QUOTA		# legacy UFS quotas
85#options 	QUOTA2		# new, in-filesystem UFS quotas
86#options 	NFSSERVER	# Network filesystem server
87#options 	UFS_EXTATTR	# Extended attribute support for UFS1
88
89# Networking options
90options 	INET		# Internet protocols
91#options 	GATEWAY		# IP forwarding
92#options 	MROUTING	# Multicast routing
93#options 	PIM		# Protocol Independent Multicast
94#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
95
96#options 	ALTQ		# Manipulate network interfaces' output queues
97#options 	ALTQ_BLUE	# Stochastic Fair Blue
98#options 	ALTQ_CBQ	# Class-Based Queueing
99#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
100#options 	ALTQ_FIFOQ	# First-In First-Out Queue
101#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
102#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
103#options 	ALTQ_LOCALQ	# Local queueing discipline
104#options 	ALTQ_PRIQ	# Priority Queueing
105#options 	ALTQ_RED	# Random Early Detection
106#options 	ALTQ_RIO	# RED with IN/OUT
107#options 	ALTQ_WFQ	# Weighted Fair Queueing
108
109# This option enables a different copyin/copyout that uses page
110# mapping for large copies.
111#options 	MAPPEDCOPY	# different copyin/copyout for large copies
112
113options 	COMPAT_M68K4K	# compat. with NetBSD/m68k4k binaries
114options 	COMPAT_AOUT_M68K # support for NetBSD a.out executables
115
116# Debugging options
117#options 	DIAGNOSTIC	# Extra kernel sanity checks
118#options 	DEBUG		# Enable misc. kernel debugging code
119options 	DDB		# Kernel Dynamic Debugger
120#options 	KGDB
121makeoptions	DEBUG="-g"	# netbsd.gdb with full debugging symbols
122
123options 	NFS_BOOT_DHCP
124
125config		netbsd root on ? type ?
126
127mainbus0	at root		# root "bus"
128
129zsc*		at mainbus0
130zstty*		at zsc? channel ?
131
132le*		at mainbus0		# LANCE ethernet interfaces
133
134#
135# accept filters
136pseudo-device   accf_data		# "dataready" accept filter
137pseudo-device   accf_http		# "httpready" accept filter
138
139pseudo-device	pty			# pseudo ptys
140#pseudo-device	sl			# SLIP network interfaces
141#pseudo-device	ppp			# PPP network interfaces
142#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
143#pseudo-device	bpfilter		# Berkeley packet filter
144#pseudo-device	carp			# Common Address Redundancy Protocol
145#pseudo-device	bridge			# simple inter-network bridging
146#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
147#pseudo-device	vnd			# vnode pseudo-disks
148#options 	VND_COMPRESSION		# compressed vnd(4)
149#pseudo-device	ccd			# concatenated disk devices
150#pseudo-device	cgd			# cryptographic disk devices
151pseudo-device	loop			# loopback network interface
152#pseudo-device	ipfilter 		# IP Filter package
153pseudo-device	clockctl		# user control of clock subsystem
154pseudo-device	ksyms			# /dev/ksyms
155#pseudo-device	pf			# PF packet filter
156#pseudo-device	pflog			# PF log if
157
158# Veriexec
159#
160# a pseudo device needed for veriexec
161#pseudo-device	veriexec
162#
163# Uncomment the fingerprint methods below that are desired. Note that
164# removing fingerprint methods will have almost no impact on the kernel
165# code size.
166#
167#options VERIFIED_EXEC_FP_RMD160
168#options VERIFIED_EXEC_FP_SHA256
169#options VERIFIED_EXEC_FP_SHA384
170#options VERIFIED_EXEC_FP_SHA512
171#options VERIFIED_EXEC_FP_SHA1
172#options VERIFIED_EXEC_FP_MD5
173