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