GENERIC revision 1.61
1# $NetBSD: GENERIC,v 1.61 2014/07/05 09:21:14 tsutsui 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	# compatibility with NetBSD 0.9
48options 	COMPAT_10	# compatibility with NetBSD 1.0
49options 	COMPAT_11	# compatibility with NetBSD 1.1
50options 	COMPAT_12	# compatibility with NetBSD 1.2
51options 	COMPAT_13	# compatibility with NetBSD 1.3
52options 	COMPAT_14	# compatibility with NetBSD 1.4
53options 	COMPAT_15	# compatibility with NetBSD 1.5
54options 	COMPAT_16	# compatibility with NetBSD 1.6
55options 	COMPAT_20	# compatibility with NetBSD 2.0
56options 	COMPAT_30	# NetBSD 3.0 compatibility.
57options 	COMPAT_40	# NetBSD 4.0 compatibility.
58options 	COMPAT_50	# NetBSD 5.0 compatibility.
59options 	COMPAT_60	# NetBSD 6.0 compatibility.
60#options 	SYSVSHM		# System V-style shared memory
61#options 	SYSVSEM		# System V-style semaphores
62#options 	SYSVMSG		# System V-style message queues
63options 	KTRACE		# system call tracing support
64#options 	NKMEMCLUSTERS=1024	# 4K pages in kernel malloc pool
65options 	COMPAT_SUNOS
66options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
67
68# Filesystems
69#file-system 	FFS		# fast filesystem
70#file-system 	CD9660		# CD-ROM ISO-9660 filesystem
71file-system 	NFS		# Network filesystem client
72#file-system 	UNION		# Union filesystem (req. for FDESC)
73#file-system 	KERNFS		# kernel data-structure filesystem
74#file-system 	FDESC		# user file descriptor filesystem
75#file-system 	PROCFS		# /proc filesystem
76#file-system 	MFS		# Memory-based filesystem
77file-system	PTYFS		# /dev/pts/N support
78#file-system	TMPFS		# Efficient memory file-system
79#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
80
81# Filesystem options
82options 	FIFO		# POSIX fifo support (in all filesystems)
83#options 	QUOTA		# legacy UFS quotas
84#options 	QUOTA2		# new, in-filesystem UFS quotas
85#options 	NFSSERVER	# Network filesystem server
86
87# Networking options
88options 	INET		# Internet protocols
89#options 	GATEWAY		# IP forwarding
90#options 	MROUTING	# Multicast routing
91#options 	PIM		# Protocol Independent Multicast
92#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
93
94#options 	ALTQ		# Manipulate network interfaces' output queues
95#options 	ALTQ_BLUE	# Stochastic Fair Blue
96#options 	ALTQ_CBQ	# Class-Based Queueing
97#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
98#options 	ALTQ_FIFOQ	# First-In First-Out Queue
99#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
100#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
101#options 	ALTQ_LOCALQ	# Local queueing discipline
102#options 	ALTQ_PRIQ	# Priority Queueing
103#options 	ALTQ_RED	# Random Early Detection
104#options 	ALTQ_RIO	# RED with IN/OUT
105#options 	ALTQ_WFQ	# Weighted Fair Queueing
106
107# This option enables a different copyin/copyout that uses page
108# mapping for large copies.
109#options 	MAPPEDCOPY	# different copyin/copyout for large copies
110
111options 	COMPAT_M68K4K	# compat. with NetBSD/m68k4k binaries
112options 	COMPAT_AOUT_M68K # support for NetBSD a.out executables
113
114# Debugging options
115#options 	DIAGNOSTIC	# Extra kernel sanity checks
116#options 	DEBUG		# Enable misc. kernel debugging code
117options 	DDB		# Kernel Dynamic Debugger
118#options 	KGDB
119makeoptions	DEBUG="-g"	# netbsd.gdb with full debugging symbols
120
121options 	NFS_BOOT_DHCP
122
123config		netbsd root on ? type ?
124
125mainbus0	at root		# root "bus"
126
127zsc*		at mainbus0
128zstty*		at zsc? channel ?
129
130le*		at mainbus0		# LANCE ethernet interfaces
131
132#
133# accept filters
134pseudo-device   accf_data		# "dataready" accept filter
135pseudo-device   accf_http		# "httpready" accept filter
136
137pseudo-device	pty			# pseudo ptys
138#pseudo-device	sl			# SLIP network interfaces
139#pseudo-device	ppp			# PPP network interfaces
140#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
141#pseudo-device	bpfilter		# Berkeley packet filter
142#pseudo-device	carp			# Common Address Redundancy Protocol
143#pseudo-device	bridge			# simple inter-network bridging
144#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
145#pseudo-device	vnd			# vnode pseudo-disks
146#options 	VND_COMPRESSION		# compressed vnd(4)
147#pseudo-device	ccd			# concatenated disk devices
148#pseudo-device	cgd			# cryptographic disk devices
149pseudo-device	loop			# loopback network interface
150#pseudo-device	ipfilter 		# IP Filter package
151pseudo-device	clockctl		# user control of clock subsystem
152pseudo-device	ksyms			# /dev/ksyms
153#pseudo-device	pf			# PF packet filter
154#pseudo-device	pflog			# PF log if
155
156# Veriexec
157#
158# a pseudo device needed for veriexec
159#pseudo-device	veriexec
160#
161# Uncomment the fingerprint methods below that are desired. Note that
162# removing fingerprint methods will have almost no impact on the kernel
163# code size.
164#
165#options VERIFIED_EXEC_FP_RMD160
166#options VERIFIED_EXEC_FP_SHA256
167#options VERIFIED_EXEC_FP_SHA384
168#options VERIFIED_EXEC_FP_SHA512
169#options VERIFIED_EXEC_FP_SHA1
170#options VERIFIED_EXEC_FP_MD5
171