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