GENERIC revision 1.61
11.61Stsutsui# $NetBSD: GENERIC,v 1.61 2014/07/05 09:21:14 tsutsui Exp $
21.1Sdrochner#
31.7Sgmcgarry# GENERIC machine description file
41.7Sgmcgarry# 
51.7Sgmcgarry# This machine description file is used to generate the default NetBSD
61.7Sgmcgarry# kernel.  The generic kernel does not include all options, subsystems
71.7Sgmcgarry# and device drivers, but should be useful for most applications.
81.1Sdrochner#
91.7Sgmcgarry# The machine description file can be customised for your specific
101.7Sgmcgarry# machine to reduce the kernel size and improve its performance.
111.7Sgmcgarry#
121.7Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8)
131.7Sgmcgarry# man page.
141.7Sgmcgarry#
151.7Sgmcgarry# For further information on hardware support for this architecture, see
161.7Sgmcgarry# the intro(4) man page.  For further information about kernel options
171.7Sgmcgarry# for this architecture, see the options(4) man page.  For an explanation
181.7Sgmcgarry# of each device driver in this file see the section 4 man page for the
191.7Sgmcgarry# device.
201.1Sdrochner
211.7Sgmcgarryinclude 	"arch/cesfic/conf/std.cesfic"
221.11Satatat
231.11Satatatoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241.1Sdrochner
251.61Stsutsuimakeoptions	COPTS="-O2 -fno-reorder-blocks"	# see share/mk/sys.mk
261.61Stsutsui
271.1Sdrochner# Need to set locally
281.1Sdrochnermaxusers	32
291.1Sdrochner
301.6Slukem#options 	LEDEBUG
311.1Sdrochner
321.6Slukemoptions 	FPSP
331.9Sjdolecek
341.1Sdrochner# Standard system options
351.13Slukemoptions 	USERCONF	# userconf(4) support
361.9Sjdolecek#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
371.26Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
381.16Sjunyoung
391.17Swiz# Enable experimental buffer queue strategy for better responsiveness under 
401.16Sjunyoung# high disk I/O load. Use it with caution - it's not proven to be stable yet.
411.30Stsutsui#options 	BUFQ_READPRIO
421.30Stsutsui#options 	BUFQ_PRIOCSCAN
431.9Sjdolecek
441.3Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
451.1Sdrochneroptions 	COMPAT_43	# compatibility with 4.3BSD interfaces
461.1Sdrochneroptions 	COMPAT_44	# compatibility with 4.4BSD binaries
471.1Sdrochneroptions 	COMPAT_09	# compatibility with NetBSD 0.9
481.1Sdrochneroptions 	COMPAT_10	# compatibility with NetBSD 1.0
491.1Sdrochneroptions 	COMPAT_11	# compatibility with NetBSD 1.1
501.1Sdrochneroptions 	COMPAT_12	# compatibility with NetBSD 1.2
511.1Sdrochneroptions 	COMPAT_13	# compatibility with NetBSD 1.3
521.20Scloptions 	COMPAT_14	# compatibility with NetBSD 1.4
531.20Scloptions 	COMPAT_15	# compatibility with NetBSD 1.5
541.20Scloptions 	COMPAT_16	# compatibility with NetBSD 1.6
551.29Ssimonboptions 	COMPAT_20	# compatibility with NetBSD 2.0
561.35Schristosoptions 	COMPAT_30	# NetBSD 3.0 compatibility.
571.49Stsutsuioptions 	COMPAT_40	# NetBSD 4.0 compatibility.
581.52Smrgoptions 	COMPAT_50	# NetBSD 5.0 compatibility.
591.57Sapboptions 	COMPAT_60	# NetBSD 6.0 compatibility.
601.1Sdrochner#options 	SYSVSHM		# System V-style shared memory
611.1Sdrochner#options 	SYSVSEM		# System V-style semaphores
621.1Sdrochner#options 	SYSVMSG		# System V-style message queues
631.1Sdrochneroptions 	KTRACE		# system call tracing support
641.1Sdrochner#options 	NKMEMCLUSTERS=1024	# 4K pages in kernel malloc pool
651.6Slukemoptions 	COMPAT_SUNOS
661.28Schristosoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
671.1Sdrochner
681.1Sdrochner# Filesystems
691.1Sdrochner#file-system 	FFS		# fast filesystem
701.1Sdrochner#file-system 	CD9660		# CD-ROM ISO-9660 filesystem
711.1Sdrochnerfile-system 	NFS		# Network filesystem client
721.1Sdrochner#file-system 	UNION		# Union filesystem (req. for FDESC)
731.1Sdrochner#file-system 	KERNFS		# kernel data-structure filesystem
741.1Sdrochner#file-system 	FDESC		# user file descriptor filesystem
751.1Sdrochner#file-system 	PROCFS		# /proc filesystem
761.1Sdrochner#file-system 	MFS		# Memory-based filesystem
771.36Schristosfile-system	PTYFS		# /dev/pts/N support
781.46Sjmmv#file-system	TMPFS		# Efficient memory file-system
791.40Sreinoud#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
801.1Sdrochner
811.1Sdrochner# Filesystem options
821.1Sdrochneroptions 	FIFO		# POSIX fifo support (in all filesystems)
831.54Sbouyer#options 	QUOTA		# legacy UFS quotas
841.54Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
851.1Sdrochner#options 	NFSSERVER	# Network filesystem server
861.1Sdrochner
871.1Sdrochner# Networking options
881.1Sdrochneroptions 	INET		# Internet protocols
891.53Sjoerg#options 	GATEWAY		# IP forwarding
901.6Slukem#options 	MROUTING	# Multicast routing
911.27Smanu#options 	PIM		# Protocol Independent Multicast
921.3Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
931.1Sdrochner
941.24Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
951.24Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
961.24Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
971.24Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
981.24Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
991.24Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1001.24Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1011.24Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1021.24Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1031.24Sabs#options 	ALTQ_RED	# Random Early Detection
1041.24Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1051.24Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1061.24Sabs
1071.1Sdrochner# This option enables a different copyin/copyout that uses page
1081.1Sdrochner# mapping for large copies.
1091.1Sdrochner#options 	MAPPEDCOPY	# different copyin/copyout for large copies
1101.1Sdrochner
1111.1Sdrochneroptions 	COMPAT_M68K4K	# compat. with NetBSD/m68k4k binaries
1121.4Schsoptions 	COMPAT_AOUT_M68K # support for NetBSD a.out executables
1131.1Sdrochner
1141.1Sdrochner# Debugging options
1151.38Schs#options 	DIAGNOSTIC	# Extra kernel sanity checks
1161.38Schs#options 	DEBUG		# Enable misc. kernel debugging code
1171.1Sdrochneroptions 	DDB		# Kernel Dynamic Debugger
1181.6Slukem#options 	KGDB
1191.1Sdrochnermakeoptions	DEBUG="-g"	# netbsd.gdb with full debugging symbols
1201.1Sdrochner
1211.6Slukemoptions 	NFS_BOOT_DHCP
1221.1Sdrochner
1231.1Sdrochnerconfig		netbsd root on ? type ?
1241.1Sdrochner
1251.1Sdrochnermainbus0	at root		# root "bus"
1261.1Sdrochner
1271.1Sdrochnerzsc*		at mainbus0
1281.1Sdrochnerzstty*		at zsc? channel ?
1291.1Sdrochner
1301.1Sdrochnerle*		at mainbus0		# LANCE ethernet interfaces
1311.1Sdrochner
1321.50Stls#
1331.50Stls# accept filters
1341.50Stlspseudo-device   accf_data		# "dataready" accept filter
1351.50Stlspseudo-device   accf_http		# "httpready" accept filter
1361.50Stls
1371.58Schristospseudo-device	pty			# pseudo ptys
1381.42Scube#pseudo-device	sl			# SLIP network interfaces
1391.42Scube#pseudo-device	ppp			# PPP network interfaces
1401.8Smartin#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
1411.41Srpaulo#pseudo-device	bpfilter		# Berkeley packet filter
1421.43Sliamjfoy#pseudo-device	carp			# Common Address Redundancy Protocol
1431.5Satatat#pseudo-device	bridge			# simple inter-network bridging
1441.18Sperseant#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
1451.42Scube#pseudo-device	vnd			# vnode pseudo-disks
1461.32Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
1471.58Schristos#pseudo-device	ccd			# concatenated disk devices
1481.58Schristos#pseudo-device	cgd			# cryptographic disk devices
1491.1Sdrochnerpseudo-device	loop			# loopback network interface
1501.1Sdrochner#pseudo-device	ipfilter 		# IP Filter package
1511.12Slukempseudo-device	clockctl		# user control of clock subsystem
1521.19Sraggepseudo-device	ksyms			# /dev/ksyms
1531.23Sitojun#pseudo-device	pf			# PF packet filter
1541.23Sitojun#pseudo-device	pflog			# PF log if
1551.39Selad
1561.39Selad# Veriexec
1571.39Selad#
1581.39Selad# a pseudo device needed for veriexec
1591.59Schristos#pseudo-device	veriexec
1601.39Selad#
1611.39Selad# Uncomment the fingerprint methods below that are desired. Note that
1621.39Selad# removing fingerprint methods will have almost no impact on the kernel
1631.39Selad# code size.
1641.39Selad#
1651.39Selad#options VERIFIED_EXEC_FP_RMD160
1661.39Selad#options VERIFIED_EXEC_FP_SHA256
1671.39Selad#options VERIFIED_EXEC_FP_SHA384
1681.39Selad#options VERIFIED_EXEC_FP_SHA512
1691.39Selad#options VERIFIED_EXEC_FP_SHA1
1701.39Selad#options VERIFIED_EXEC_FP_MD5
171