GENERIC revision 1.19 1 # $NetBSD: GENERIC,v 1.19 2011/12/18 05:49:31 dholland 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/rs6000/conf/std.rs6000"
22
23 options INCLUDE_CONFIG_FILE # embed config file in kernel binary
24
25 #makeoptions COPTS="-O2 -mno-powerpc -mno-power" # wheeee
26
27 #ident "GENERIC-$Revision: 1.19 $"
28
29 maxusers 32
30
31 # Platform support
32
33 options PIC_IOCC
34
35 # Standard system options
36
37 options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
38 options NTP # NTP phase/frequency locked loop
39
40 options KTRACE # system call tracing via ktrace(1)
41
42 options SYSVMSG # System V-like message queues
43 options SYSVSEM # System V-like semaphores
44 #options SEMMNI=10 # number of semaphore identifiers
45 #options SEMMNS=60 # number of semaphores in system
46 #options SEMUME=10 # max number of undo entries per process
47 #options SEMMNU=30 # number of undo structures in system
48 options SYSVSHM # System V-like memory sharing
49 options P1003_1B_SEMAPHORE # p1003.1b semaphore support
50
51
52 options USERCONF # userconf(4) support
53 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
54 options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
55
56 # Enable experimental buffer queue strategy for better responsiveness under
57 # high disk I/O load. Use it with caution - it's not proven to be stable yet.
58 #options BUFQ_READPRIO
59 #options BUFQ_PRIOCSCAN
60
61 # Diagnostic/debugging support options
62 #options DIAGNOSTIC # cheap kernel consistency checks
63 options DEBUG # expensive debugging checks/support
64 options PMAPDEBUG
65 #options KMEMSTATS # kernel memory statistics (vmstat -m)
66 options DDB # in-kernel debugger
67 #options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
68 #makeoptions DEBUG="-g"
69
70 # Compatibility options
71 #options COMPAT_13 # NetBSD 1.3,
72 #options COMPAT_14 # NetBSD 1.4,
73 #options COMPAT_15 # NetBSD 1.5,
74 #options COMPAT_16 # NetBSD 1.6,
75 #options COMPAT_20 # NetBSD 2.0,
76 #options COMPAT_30 # NetBSD 3.0,
77 #options COMPAT_40 # NetBSD 4.0 compatibility.
78 options COMPAT_50 # NetBSD 5.0 compatibility.
79 options COMPAT_43 # and 4.3BSD
80 #options COMPAT_LINUX # Linux binary compatibility
81 #options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
82 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
83
84 # File systems
85 file-system FFS # UFS
86 file-system EXT2FS # second extended file system (linux)
87 #file-system LFS # log-structured file system
88 file-system MFS # memory file system
89 file-system NFS # Network File System client
90 #file-system NTFS # Windows/NT file system (experimental)
91 file-system CD9660 # ISO 9660 + Rock Ridge file system
92 file-system MSDOSFS # MS-DOS file system
93 #file-system FDESC # /dev/fd
94 file-system KERNFS # /kern
95 file-system NULLFS # loopback file system
96 #file-system OVERLAY # overlay file system
97 file-system PROCFS # /proc
98 #file-system UMAPFS # NULLFS + uid and gid remapping
99 file-system UNION # union file system
100 #file-system CODA # Coda File System; also needs vcoda (below)
101 file-system PTYFS # /dev/pts/N support
102 file-system TMPFS # Efficient memory file-system
103 #file-system UDF # experimental - OSTA UDF CD/DVD file-system
104
105 # File system options
106 options QUOTA # legacy UFS quotas
107 options QUOTA2 # new, in-filesystem UFS quotas
108 #options FFS_EI # FFS Endian Independent support
109 options WAPBL # File system journaling support
110 #options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
111 options NFSSERVER # Network File System server
112 #options FFS_NO_SNAPSHOT # No FFS snapshot support
113 #options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
114 # immutable) behave as system flags.
115
116 # Networking options
117 #options GATEWAY # packet forwarding
118 options INET # IP + ICMP + TCP + UDP
119 options INET6 # IPv6
120 #options IPSEC # IP security
121 #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
122 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
123 #options IPSEC_DEBUG # debug for IP security
124 #options MROUTING # IP multicast routing
125 #options PIM # Protocol Independent Multicast
126 #options NETATALK # AppleTalk networking protocols
127 options PPP_BSDCOMP # BSD-Compress compression support for PPP
128 options PPP_DEFLATE # Deflate compression support for PPP
129 options PPP_FILTER # Active filter support for PPP (requires bpf)
130 options PFIL_HOOKS # pfil(9) packet filter hooks
131 options IPFILTER_LOG # ipmon(8) log support
132 options IPFILTER_COMPAT # Compat for IP-Filter
133 #options IPFILTER_DEFAULT_BLOCK # block all packets by default
134 #options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
135
136 #options ALTQ # Manipulate network interfaces' output queues
137 #options ALTQ_BLUE # Stochastic Fair Blue
138 #options ALTQ_CBQ # Class-Based Queueing
139 #options ALTQ_CDNR # Diffserv Traffic Conditioner
140 #options ALTQ_FIFOQ # First-In First-Out Queue
141 #options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
142 #options ALTQ_HFSC # Hierarchical Fair Service Curve
143 #options ALTQ_LOCALQ # Local queueing discipline
144 #options ALTQ_PRIQ # Priority Queueing
145 #options ALTQ_RED # Random Early Detection
146 #options ALTQ_RIO # RED with IN/OUT
147 #options ALTQ_WFQ # Weighted Fair Queueing
148
149 # These options enable verbose messages for several subsystems.
150 # Warning, these may compile large string tables into the kernel!
151 #options MIIVERBOSE # verbose PHY autoconfig messages
152 options SCSIVERBOSE # human readable SCSI error messages
153 options MCAVERBOSE # verbose MCA device autoconfig messages
154
155 #options NFS_BOOT_BOOTP
156 options NFS_BOOT_BOOTPARAM
157 options NFS_BOOT_DHCP
158
159 #
160 # wscons options
161 #
162 # builtin terminal emulations
163 options WSEMUL_VT100 # VT100 / VT220 emulation
164 # different kernel output - see dev/wscons/wsdisplayvar.h
165 options WS_KERNEL_FG=WSCOL_GREEN
166 #options WS_KERNEL_BG=WSCOL_BLACK
167 # see dev/pckbport/wskbdmap_mfii.c for implemented layouts
168 #options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
169 # allocate a number of virtual screens at autoconfiguration time
170 #options WSDISPLAY_DEFAULTSCREENS=4
171 # use a large software cursor that doesn't blink
172 options PCDISPLAY_SOFTCURSOR
173
174 # Kernel root file system and dump configuration.
175 config netbsd root on ? type ?
176 #config netbsd root on tlp0 type nfs
177 #config netbsd root on pcn0 type nfs
178
179
180 #
181 # Device configuration
182 #
183
184 mainbus0 at root
185 cpu0 at mainbus0
186 mca0 at mainbus0
187
188 com* at mca? slot ?
189
190 # I/O Planar
191 ioplanar* at mca? slot ?
192
193 # I/O Planar devices
194 com* at ioplanar?
195
196 # Basic Bus Support
197
198 # SCSI devices
199 #sd* at scsibus? target ? lun ? # SCSI disk drives
200 #st* at scsibus? target ? lun ? # SCSI tape drives
201 #cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
202 #ch* at scsibus? target ? lun ? # SCSI autochangers
203 #ss* at scsibus? target ? lun ? # SCSI scanners
204 #uk* at scsibus? target ? lun ? # SCSI unknown
205
206 # Pull in optional local configuration
207 cinclude "arch/rs6000/conf/GENERIC.local"
208
209 # Pseudo-Devices
210
211 # Not yet ready -- prep lacks generic soft interrupts
212 #pseudo-device crypto # /dev/crypto device
213 #pseudo-device swcrypto # software crypto implementation
214
215 # disk/mass storage pseudo-devices
216 #pseudo-device ccd 4 # concatenated/striped disk devices
217 #pseudo-device cgd 4 # cryptographic disk devices
218 #pseudo-device raid 8 # RAIDframe disk driver
219 #options RAID_AUTOCONFIG # auto-configuration of RAID components
220 # Options to enable various other RAIDframe RAID types.
221 # options RF_INCLUDE_EVENODD=1
222 # options RF_INCLUDE_RAID5_RS=1
223 # options RF_INCLUDE_PARITYLOGGING=1
224 # options RF_INCLUDE_CHAINDECLUSTER=1
225 # options RF_INCLUDE_INTERDECLUSTER=1
226 # options RF_INCLUDE_PARITY_DECLUSTERING=1
227 # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
228 pseudo-device fss # file system snapshot device
229 pseudo-device md # memory disk device (ramdisk)
230 pseudo-device vnd # disk-like interface to files
231 #options VND_COMPRESSION # compressed vnd(4)
232
233 # network pseudo-devices
234 pseudo-device loop # network loopback
235 pseudo-device bpfilter # Berkeley packet filter
236 #pseudo-device carp # Common Address Redundancy Protocol
237 pseudo-device ipfilter # IP filter (firewall) and NAT
238 pseudo-device ppp # Point-to-Point Protocol
239 pseudo-device pppoe # PPP over Ethernet (RFC 2516)
240 #pseudo-device sl # Serial Line IP
241 pseudo-device strip # Starmode Radio IP (Metricom)
242 pseudo-device tun # network tunneling over tty
243 pseudo-device tap # virtual Ethernet
244 pseudo-device gre # generic L3 over IP tunnel
245 pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
246 #pseudo-device faith # IPv[46] tcp relay translation i/f
247 pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
248 pseudo-device vlan # IEEE 802.1q encapsulation
249 pseudo-device bridge # simple inter-network bridging
250 #options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
251
252 #
253 # accept filters
254 pseudo-device accf_data # "dataready" accept filter
255 pseudo-device accf_http # "httpready" accept filter
256
257 # miscellaneous pseudo-devices
258 pseudo-device pty # pseudo-terminals
259 #pseudo-device sequencer 1 # MIDI sequencer
260 #options RND_COM # use "com" randomness as well
261 pseudo-device clockctl # user control of clock subsystem
262 pseudo-device ksyms # /dev/ksyms
263 #pseudo-device pf # PF packet filter
264 #pseudo-device pflog # PF log if
265
266 # a pseudo device needed for Coda # also needs CODA (above)
267 #pseudo-device vcoda 4 # coda minicache <-> venus comm.
268
269 # wscons pseudo-devices
270 pseudo-device wsmux # mouse & keyboard multiplexor
271 pseudo-device wsfont
272
273 # Veriexec
274 #options VERIFIED_EXEC
275 #
276 # a pseudo device needed for veriexec
277 #pseudo-device veriexec 1
278 #
279 # Uncomment the fingerprint methods below that are desired. Note that
280 # removing fingerprint methods will have almost no impact on the kernel
281 # code size.
282 #
283 #options VERIFIED_EXEC_FP_RMD160
284 #options VERIFIED_EXEC_FP_SHA256
285 #options VERIFIED_EXEC_FP_SHA384
286 #options VERIFIED_EXEC_FP_SHA512
287 #options VERIFIED_EXEC_FP_SHA1
288 #options VERIFIED_EXEC_FP_MD5
289