GENERIC revision 1.70
11.70Smaxv# $NetBSD: GENERIC,v 1.70 2018/08/01 20:04:10 maxv 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.69Ssevan# Alternate buffer queue strategies for better responsiveness under high 401.69Ssevan# disk I/O load. 411.30Stsutsui#options BUFQ_READPRIO 421.30Stsutsui#options BUFQ_PRIOCSCAN 431.9Sjdolecek 441.68Smrginclude "conf/compat_netbsd09.config" 451.68Smrg 461.1Sdrochner#options SYSVSHM # System V-style shared memory 471.1Sdrochner#options SYSVSEM # System V-style semaphores 481.1Sdrochner#options SYSVMSG # System V-style message queues 491.1Sdrochneroptions KTRACE # system call tracing support 501.1Sdrochner#options NKMEMCLUSTERS=1024 # 4K pages in kernel malloc pool 511.6Slukemoptions COMPAT_SUNOS 521.1Sdrochner 531.1Sdrochner# Filesystems 541.1Sdrochner#file-system FFS # fast filesystem 551.1Sdrochner#file-system CD9660 # CD-ROM ISO-9660 filesystem 561.1Sdrochnerfile-system NFS # Network filesystem client 571.1Sdrochner#file-system UNION # Union filesystem (req. for FDESC) 581.1Sdrochner#file-system KERNFS # kernel data-structure filesystem 591.1Sdrochner#file-system FDESC # user file descriptor filesystem 601.1Sdrochner#file-system PROCFS # /proc filesystem 611.1Sdrochner#file-system MFS # Memory-based filesystem 621.36Schristosfile-system PTYFS # /dev/pts/N support 631.46Sjmmv#file-system TMPFS # Efficient memory file-system 641.40Sreinoud#file-system UDF # experimental - OSTA UDF CD/DVD file-system 651.1Sdrochner 661.1Sdrochner# Filesystem options 671.1Sdrochneroptions FIFO # POSIX fifo support (in all filesystems) 681.54Sbouyer#options QUOTA # legacy UFS quotas 691.54Sbouyer#options QUOTA2 # new, in-filesystem UFS quotas 701.1Sdrochner#options NFSSERVER # Network filesystem server 711.64Smanu#options UFS_EXTATTR # Extended attribute support for UFS1 721.1Sdrochner 731.1Sdrochner# Networking options 741.1Sdrochneroptions INET # Internet protocols 751.53Sjoerg#options GATEWAY # IP forwarding 761.6Slukem#options MROUTING # Multicast routing 771.27Smanu#options PIM # Protocol Independent Multicast 781.3Sabs#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 791.1Sdrochner 801.24Sabs#options ALTQ # Manipulate network interfaces' output queues 811.24Sabs#options ALTQ_BLUE # Stochastic Fair Blue 821.24Sabs#options ALTQ_CBQ # Class-Based Queueing 831.24Sabs#options ALTQ_CDNR # Diffserv Traffic Conditioner 841.24Sabs#options ALTQ_FIFOQ # First-In First-Out Queue 851.24Sabs#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 861.24Sabs#options ALTQ_HFSC # Hierarchical Fair Service Curve 871.24Sabs#options ALTQ_LOCALQ # Local queueing discipline 881.24Sabs#options ALTQ_PRIQ # Priority Queueing 891.24Sabs#options ALTQ_RED # Random Early Detection 901.24Sabs#options ALTQ_RIO # RED with IN/OUT 911.24Sabs#options ALTQ_WFQ # Weighted Fair Queueing 921.24Sabs 931.1Sdrochner# This option enables a different copyin/copyout that uses page 941.1Sdrochner# mapping for large copies. 951.1Sdrochner#options MAPPEDCOPY # different copyin/copyout for large copies 961.1Sdrochner 971.1Sdrochneroptions COMPAT_M68K4K # compat. with NetBSD/m68k4k binaries 981.4Schsoptions COMPAT_AOUT_M68K # support for NetBSD a.out executables 991.1Sdrochner 1001.1Sdrochner# Debugging options 1011.38Schs#options DIAGNOSTIC # Extra kernel sanity checks 1021.38Schs#options DEBUG # Enable misc. kernel debugging code 1031.1Sdrochneroptions DDB # Kernel Dynamic Debugger 1041.6Slukem#options KGDB 1051.1Sdrochnermakeoptions DEBUG="-g" # netbsd.gdb with full debugging symbols 1061.1Sdrochner 1071.6Slukemoptions NFS_BOOT_DHCP 1081.1Sdrochner 1091.1Sdrochnerconfig netbsd root on ? type ? 1101.1Sdrochner 1111.1Sdrochnermainbus0 at root # root "bus" 1121.1Sdrochner 1131.1Sdrochnerzsc* at mainbus0 1141.1Sdrochnerzstty* at zsc? channel ? 1151.1Sdrochner 1161.1Sdrochnerle* at mainbus0 # LANCE ethernet interfaces 1171.1Sdrochner 1181.50Stls# 1191.50Stls# accept filters 1201.50Stlspseudo-device accf_data # "dataready" accept filter 1211.50Stlspseudo-device accf_http # "httpready" accept filter 1221.50Stls 1231.58Schristospseudo-device pty # pseudo ptys 1241.42Scube#pseudo-device sl # SLIP network interfaces 1251.42Scube#pseudo-device ppp # PPP network interfaces 1261.8Smartin#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 1271.41Srpaulo#pseudo-device bpfilter # Berkeley packet filter 1281.43Sliamjfoy#pseudo-device carp # Common Address Redundancy Protocol 1291.5Satatat#pseudo-device bridge # simple inter-network bridging 1301.18Sperseant#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 1311.42Scube#pseudo-device vnd # vnode pseudo-disks 1321.32Shubertf#options VND_COMPRESSION # compressed vnd(4) 1331.58Schristos#pseudo-device ccd # concatenated disk devices 1341.58Schristos#pseudo-device cgd # cryptographic disk devices 1351.1Sdrochnerpseudo-device loop # loopback network interface 1361.70Smaxv#pseudo-device npf # NPF packet filter 1371.12Slukempseudo-device clockctl # user control of clock subsystem 1381.19Sraggepseudo-device ksyms # /dev/ksyms 1391.39Selad 1401.39Selad# Veriexec 1411.39Selad# 1421.39Selad# a pseudo device needed for veriexec 1431.59Schristos#pseudo-device veriexec 1441.39Selad# 1451.39Selad# Uncomment the fingerprint methods below that are desired. Note that 1461.39Selad# removing fingerprint methods will have almost no impact on the kernel 1471.39Selad# code size. 1481.39Selad# 1491.39Selad#options VERIFIED_EXEC_FP_SHA256 1501.39Selad#options VERIFIED_EXEC_FP_SHA384 1511.39Selad#options VERIFIED_EXEC_FP_SHA512 152