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