GENERIC revision 1.64
11.64Smanu# $NetBSD: GENERIC,v 1.64 2014/11/12 10:47:21 manu 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.63Sdhollandoptions COMPAT_09 # NetBSD 0.9, 481.63Sdhollandoptions COMPAT_10 # NetBSD 1.0, 491.63Sdhollandoptions COMPAT_11 # NetBSD 1.1, 501.63Sdhollandoptions COMPAT_12 # NetBSD 1.2, 511.63Sdhollandoptions COMPAT_13 # NetBSD 1.3, 521.63Sdhollandoptions COMPAT_14 # NetBSD 1.4, 531.63Sdhollandoptions COMPAT_15 # NetBSD 1.5, 541.63Sdhollandoptions COMPAT_16 # NetBSD 1.6, 551.63Sdhollandoptions COMPAT_20 # NetBSD 2.0, 561.63Sdhollandoptions COMPAT_30 # NetBSD 3.0, 571.63Sdhollandoptions COMPAT_40 # NetBSD 4.0, 581.63Sdhollandoptions COMPAT_50 # NetBSD 5.0, 591.63Sdhollandoptions COMPAT_60 # NetBSD 6.0, and 601.63Sdhollandoptions COMPAT_70 # NetBSD 7.0 binary compatibility. 611.1Sdrochner#options SYSVSHM # System V-style shared memory 621.1Sdrochner#options SYSVSEM # System V-style semaphores 631.1Sdrochner#options SYSVMSG # System V-style message queues 641.1Sdrochneroptions KTRACE # system call tracing support 651.1Sdrochner#options NKMEMCLUSTERS=1024 # 4K pages in kernel malloc pool 661.6Slukemoptions COMPAT_SUNOS 671.28Schristosoptions COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 681.1Sdrochner 691.1Sdrochner# Filesystems 701.1Sdrochner#file-system FFS # fast filesystem 711.1Sdrochner#file-system CD9660 # CD-ROM ISO-9660 filesystem 721.1Sdrochnerfile-system NFS # Network filesystem client 731.1Sdrochner#file-system UNION # Union filesystem (req. for FDESC) 741.1Sdrochner#file-system KERNFS # kernel data-structure filesystem 751.1Sdrochner#file-system FDESC # user file descriptor filesystem 761.1Sdrochner#file-system PROCFS # /proc filesystem 771.1Sdrochner#file-system MFS # Memory-based filesystem 781.36Schristosfile-system PTYFS # /dev/pts/N support 791.46Sjmmv#file-system TMPFS # Efficient memory file-system 801.40Sreinoud#file-system UDF # experimental - OSTA UDF CD/DVD file-system 811.1Sdrochner 821.1Sdrochner# Filesystem options 831.1Sdrochneroptions FIFO # POSIX fifo support (in all filesystems) 841.54Sbouyer#options QUOTA # legacy UFS quotas 851.54Sbouyer#options QUOTA2 # new, in-filesystem UFS quotas 861.1Sdrochner#options NFSSERVER # Network filesystem server 871.64Smanu#options UFS_EXTATTR # Extended attribute support for UFS1 881.64Smanu#options UFS_EXTATTR_AUTOSTART 891.64Smanu#options UFS_EXTATTR_AUTOCREATE=1024 901.1Sdrochner 911.1Sdrochner# Networking options 921.1Sdrochneroptions INET # Internet protocols 931.53Sjoerg#options GATEWAY # IP forwarding 941.6Slukem#options MROUTING # Multicast routing 951.27Smanu#options PIM # Protocol Independent Multicast 961.3Sabs#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 971.1Sdrochner 981.24Sabs#options ALTQ # Manipulate network interfaces' output queues 991.24Sabs#options ALTQ_BLUE # Stochastic Fair Blue 1001.24Sabs#options ALTQ_CBQ # Class-Based Queueing 1011.24Sabs#options ALTQ_CDNR # Diffserv Traffic Conditioner 1021.24Sabs#options ALTQ_FIFOQ # First-In First-Out Queue 1031.24Sabs#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 1041.24Sabs#options ALTQ_HFSC # Hierarchical Fair Service Curve 1051.24Sabs#options ALTQ_LOCALQ # Local queueing discipline 1061.24Sabs#options ALTQ_PRIQ # Priority Queueing 1071.24Sabs#options ALTQ_RED # Random Early Detection 1081.24Sabs#options ALTQ_RIO # RED with IN/OUT 1091.24Sabs#options ALTQ_WFQ # Weighted Fair Queueing 1101.24Sabs 1111.1Sdrochner# This option enables a different copyin/copyout that uses page 1121.1Sdrochner# mapping for large copies. 1131.1Sdrochner#options MAPPEDCOPY # different copyin/copyout for large copies 1141.1Sdrochner 1151.1Sdrochneroptions COMPAT_M68K4K # compat. with NetBSD/m68k4k binaries 1161.4Schsoptions COMPAT_AOUT_M68K # support for NetBSD a.out executables 1171.1Sdrochner 1181.1Sdrochner# Debugging options 1191.38Schs#options DIAGNOSTIC # Extra kernel sanity checks 1201.38Schs#options DEBUG # Enable misc. kernel debugging code 1211.1Sdrochneroptions DDB # Kernel Dynamic Debugger 1221.6Slukem#options KGDB 1231.1Sdrochnermakeoptions DEBUG="-g" # netbsd.gdb with full debugging symbols 1241.1Sdrochner 1251.6Slukemoptions NFS_BOOT_DHCP 1261.1Sdrochner 1271.1Sdrochnerconfig netbsd root on ? type ? 1281.1Sdrochner 1291.1Sdrochnermainbus0 at root # root "bus" 1301.1Sdrochner 1311.1Sdrochnerzsc* at mainbus0 1321.1Sdrochnerzstty* at zsc? channel ? 1331.1Sdrochner 1341.1Sdrochnerle* at mainbus0 # LANCE ethernet interfaces 1351.1Sdrochner 1361.50Stls# 1371.50Stls# accept filters 1381.50Stlspseudo-device accf_data # "dataready" accept filter 1391.50Stlspseudo-device accf_http # "httpready" accept filter 1401.50Stls 1411.58Schristospseudo-device pty # pseudo ptys 1421.42Scube#pseudo-device sl # SLIP network interfaces 1431.42Scube#pseudo-device ppp # PPP network interfaces 1441.8Smartin#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 1451.41Srpaulo#pseudo-device bpfilter # Berkeley packet filter 1461.43Sliamjfoy#pseudo-device carp # Common Address Redundancy Protocol 1471.5Satatat#pseudo-device bridge # simple inter-network bridging 1481.18Sperseant#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 1491.42Scube#pseudo-device vnd # vnode pseudo-disks 1501.32Shubertf#options VND_COMPRESSION # compressed vnd(4) 1511.58Schristos#pseudo-device ccd # concatenated disk devices 1521.58Schristos#pseudo-device cgd # cryptographic disk devices 1531.1Sdrochnerpseudo-device loop # loopback network interface 1541.1Sdrochner#pseudo-device ipfilter # IP Filter package 1551.12Slukempseudo-device clockctl # user control of clock subsystem 1561.19Sraggepseudo-device ksyms # /dev/ksyms 1571.23Sitojun#pseudo-device pf # PF packet filter 1581.23Sitojun#pseudo-device pflog # PF log if 1591.39Selad 1601.39Selad# Veriexec 1611.39Selad# 1621.39Selad# a pseudo device needed for veriexec 1631.59Schristos#pseudo-device veriexec 1641.39Selad# 1651.39Selad# Uncomment the fingerprint methods below that are desired. Note that 1661.39Selad# removing fingerprint methods will have almost no impact on the kernel 1671.39Selad# code size. 1681.39Selad# 1691.39Selad#options VERIFIED_EXEC_FP_RMD160 1701.39Selad#options VERIFIED_EXEC_FP_SHA256 1711.39Selad#options VERIFIED_EXEC_FP_SHA384 1721.39Selad#options VERIFIED_EXEC_FP_SHA512 1731.39Selad#options VERIFIED_EXEC_FP_SHA1 1741.39Selad#options VERIFIED_EXEC_FP_MD5 175