GENERIC revision 1.63 1 1.63 dholland # $NetBSD: GENERIC,v 1.63 2014/08/23 20:26:57 dholland 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.1 drochner
88 1.1 drochner # Networking options
89 1.1 drochner options INET # Internet protocols
90 1.53 joerg #options GATEWAY # IP forwarding
91 1.6 lukem #options MROUTING # Multicast routing
92 1.27 manu #options PIM # Protocol Independent Multicast
93 1.3 abs #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
94 1.1 drochner
95 1.24 abs #options ALTQ # Manipulate network interfaces' output queues
96 1.24 abs #options ALTQ_BLUE # Stochastic Fair Blue
97 1.24 abs #options ALTQ_CBQ # Class-Based Queueing
98 1.24 abs #options ALTQ_CDNR # Diffserv Traffic Conditioner
99 1.24 abs #options ALTQ_FIFOQ # First-In First-Out Queue
100 1.24 abs #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
101 1.24 abs #options ALTQ_HFSC # Hierarchical Fair Service Curve
102 1.24 abs #options ALTQ_LOCALQ # Local queueing discipline
103 1.24 abs #options ALTQ_PRIQ # Priority Queueing
104 1.24 abs #options ALTQ_RED # Random Early Detection
105 1.24 abs #options ALTQ_RIO # RED with IN/OUT
106 1.24 abs #options ALTQ_WFQ # Weighted Fair Queueing
107 1.24 abs
108 1.1 drochner # This option enables a different copyin/copyout that uses page
109 1.1 drochner # mapping for large copies.
110 1.1 drochner #options MAPPEDCOPY # different copyin/copyout for large copies
111 1.1 drochner
112 1.1 drochner options COMPAT_M68K4K # compat. with NetBSD/m68k4k binaries
113 1.4 chs options COMPAT_AOUT_M68K # support for NetBSD a.out executables
114 1.1 drochner
115 1.1 drochner # Debugging options
116 1.38 chs #options DIAGNOSTIC # Extra kernel sanity checks
117 1.38 chs #options DEBUG # Enable misc. kernel debugging code
118 1.1 drochner options DDB # Kernel Dynamic Debugger
119 1.6 lukem #options KGDB
120 1.1 drochner makeoptions DEBUG="-g" # netbsd.gdb with full debugging symbols
121 1.1 drochner
122 1.6 lukem options NFS_BOOT_DHCP
123 1.1 drochner
124 1.1 drochner config netbsd root on ? type ?
125 1.1 drochner
126 1.1 drochner mainbus0 at root # root "bus"
127 1.1 drochner
128 1.1 drochner zsc* at mainbus0
129 1.1 drochner zstty* at zsc? channel ?
130 1.1 drochner
131 1.1 drochner le* at mainbus0 # LANCE ethernet interfaces
132 1.1 drochner
133 1.50 tls #
134 1.50 tls # accept filters
135 1.50 tls pseudo-device accf_data # "dataready" accept filter
136 1.50 tls pseudo-device accf_http # "httpready" accept filter
137 1.50 tls
138 1.58 christos pseudo-device pty # pseudo ptys
139 1.42 cube #pseudo-device sl # SLIP network interfaces
140 1.42 cube #pseudo-device ppp # PPP network interfaces
141 1.8 martin #pseudo-device pppoe # PPP over Ethernet (RFC 2516)
142 1.41 rpaulo #pseudo-device bpfilter # Berkeley packet filter
143 1.43 liamjfoy #pseudo-device carp # Common Address Redundancy Protocol
144 1.5 atatat #pseudo-device bridge # simple inter-network bridging
145 1.18 perseant #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
146 1.42 cube #pseudo-device vnd # vnode pseudo-disks
147 1.32 hubertf #options VND_COMPRESSION # compressed vnd(4)
148 1.58 christos #pseudo-device ccd # concatenated disk devices
149 1.58 christos #pseudo-device cgd # cryptographic disk devices
150 1.1 drochner pseudo-device loop # loopback network interface
151 1.1 drochner #pseudo-device ipfilter # IP Filter package
152 1.12 lukem pseudo-device clockctl # user control of clock subsystem
153 1.19 ragge pseudo-device ksyms # /dev/ksyms
154 1.23 itojun #pseudo-device pf # PF packet filter
155 1.23 itojun #pseudo-device pflog # PF log if
156 1.39 elad
157 1.39 elad # Veriexec
158 1.39 elad #
159 1.39 elad # a pseudo device needed for veriexec
160 1.59 christos #pseudo-device veriexec
161 1.39 elad #
162 1.39 elad # Uncomment the fingerprint methods below that are desired. Note that
163 1.39 elad # removing fingerprint methods will have almost no impact on the kernel
164 1.39 elad # code size.
165 1.39 elad #
166 1.39 elad #options VERIFIED_EXEC_FP_RMD160
167 1.39 elad #options VERIFIED_EXEC_FP_SHA256
168 1.39 elad #options VERIFIED_EXEC_FP_SHA384
169 1.39 elad #options VERIFIED_EXEC_FP_SHA512
170 1.39 elad #options VERIFIED_EXEC_FP_SHA1
171 1.39 elad #options VERIFIED_EXEC_FP_MD5
172