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