FreeBSD/Linux Kernel Cross Reference
sys/conf/NOTES
1 # $FreeBSD: releng/5.1/sys/conf/NOTES 115010 2003-05-15 02:10:30Z jmallett $
2 #
3 # NOTES -- Lines that can be cut/pasted into kernel and hints configs.
4 #
5 # Lines that begin with 'device', 'options', 'machine', 'ident', 'maxusers',
6 # 'makeoptions', 'hints', etc. go into the kernel configuration that you
7 # run config(8) with.
8 #
9 # Lines that begin with 'hint.' are NOT for config(8), they go into your
10 # hints file. See /boot/device.hints and/or the 'hints' config(8) directive.
11 #
12 # Please use ``make LINT'' to create an old-style LINT file if you want to
13 # do kernel test-builds.
14 #
15 # This file contains machine independent kernel configuration notes. For
16 # machine dependent notes, look in /sys/<arch>/conf/NOTES.
17 #
18
19 #
20 # NOTES conventions and style guide:
21 #
22 # Large block comments should begin and end with a line containing only a
23 # comment character.
24 #
25 # To describe a particular object, a block comment (if it exists) should
26 # come first. Next should come device, options, and hints lines in that
27 # order. All device and option lines must be described by a comment that
28 # doesn't just expand the device or option name. Use only a concise
29 # comment on the same line if possible. Very detailed descriptions of
30 # devices and subsystems belong in manpages.
31 #
32 # A space followed by a tab separates 'option' from an option name. Two
33 # spaces followed by a tab separate 'device' from a device name. Comments
34 # after an option or device should use one space after the comment character.
35 # To comment out a negative option that disables code and thus should not be
36 # enabled for LINT builds, precede 'option' with "#!".
37 #
38
39 #
40 # This is the ``identification'' of the kernel. Usually this should
41 # be the same as the name of your kernel.
42 #
43 ident LINT
44
45 #
46 # The `maxusers' parameter controls the static sizing of a number of
47 # internal system tables by a formula defined in subr_param.c.
48 # Omitting this parameter or setting it to 0 will cause the system to
49 # auto-size based on physical memory.
50 #
51 maxusers 10
52
53 #
54 # The `makeoptions' parameter allows variables to be passed to the
55 # generated Makefile in the build area.
56 #
57 # CONF_CFLAGS gives some extra compiler flags that are added to ${CFLAGS}
58 # after most other flags. Here we use it to inhibit use of non-optimal
59 # gcc builtin functions (e.g., memcmp).
60 #
61 # DEBUG happens to be magic.
62 # The following is equivalent to 'config -g KERNELNAME' and creates
63 # 'kernel.debug' compiled with -g debugging as well as a normal
64 # 'kernel'. Use 'make install.debug' to install the debug kernel
65 # but that isn't normally necessary as the debug symbols are not loaded
66 # by the kernel and are not useful there anyway.
67 #
68 # KERNEL can be overridden so that you can change the default name of your
69 # kernel.
70 #
71 # MODULES_OVERRIDE can be used to limit modules built to a specific list.
72 #
73 makeoptions CONF_CFLAGS=-fno-builtin #Don't allow use of memcmp, etc.
74 #makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
75 #makeoptions KERNEL=foo #Build kernel "foo" and install "/foo"
76 # Only build Linux API modules and plus those parts of the sound system I need.
77 #makeoptions MODULES_OVERRIDE="linux sound/snd sound/pcm sound/driver/maestro3"
78 makeoptions DESTDIR=/tmp
79
80
81 #
82 # Certain applications can grow to be larger than the 512M limit
83 # that FreeBSD initially imposes. Below are some options to
84 # allow that limit to grow to 1GB, and can be increased further
85 # with changing the parameters. MAXDSIZ is the maximum that the
86 # limit can be set to, and the DFLDSIZ is the default value for
87 # the limit. MAXSSIZ is the maximum that the stack limit can be
88 # set to. You might want to set the default lower than the max,
89 # and explicitly set the maximum with a shell command for processes
90 # that regularly exceed the limit like INND.
91 #
92 options MAXDSIZ=(1024UL*1024*1024)
93 options MAXSSIZ=(128UL*1024*1024)
94 options DFLDSIZ=(1024UL*1024*1024)
95
96 #
97 # BLKDEV_IOSIZE sets the default block size used in user block
98 # device I/O. Note that this value will be overriden by the label
99 # when specifying a block device from a label with a non-0
100 # partition blocksize. The default is PAGE_SIZE.
101 #
102 options BLKDEV_IOSIZE=8192
103
104 # Options for the VM subsystem
105 options PQ_CACHESIZE=512 # color for 512k/16k cache
106 # Deprecated options supported for backwards compatibility
107 #options PQ_NOOPT # No coloring
108 #options PQ_LARGECACHE # color for 512k/16k cache
109 #options PQ_HUGECACHE # color for 1024k/16k cache
110 #options PQ_MEDIUMCACHE # color for 256k/16k cache
111 #options PQ_NORMALCACHE # color for 64k/16k cache
112
113 # This allows you to actually store this configuration file into
114 # the kernel binary itself, where it may be later read by saying:
115 # strings -n 3 /boot/kernel/kernel | sed -n 's/^___//p' > MYKERNEL
116 #
117 options INCLUDE_CONFIG_FILE # Include this file in kernel
118
119 options GEOM_AES # Don't use, use GEOM_BDE
120 options GEOM_APPLE # Apple partitioning
121 options GEOM_BDE # Disk encryption.
122 options GEOM_BSD # BSD disklabels
123 options GEOM_GPT # GPT partitioning
124 options GEOM_MBR # DOS/MBR partitioning
125 options GEOM_PC98 # NEC PC9800 partitioning
126 options GEOM_SUNLABEL # Sun/Solaris partitioning
127 options GEOM_VOL # Volume names from UFS superblock
128
129 #
130 # The root device and filesystem type can be compiled in;
131 # this provides a fallback option if the root device cannot
132 # be correctly guessed by the bootstrap code, or an override if
133 # the RB_DFLTROOT flag (-r) is specified when booting the kernel.
134 #
135 options ROOTDEVNAME=\"ufs:da0s2e\"
136
137
138 #####################################################################
139 # Scheduler options:
140 #
141 # Specifying one of SCHED_4BSD or SCHED_ULE is mandatory. These options
142 # select which scheduler is compiled in.
143 #
144 # SCHED_4BSD is the historical, proven, BSD scheduler. It has a global run
145 # queue and no cpu affinity which makes it suboptimal for SMP. It has very
146 # good interactivity and priority selection.
147 #
148 # SCHED_ULE is a new experimental scheduler that has been designed for SMP,
149 # but will work just fine on UP too. Users of this scheduler should expect
150 # some hicups and be prepaired to provide feedback.
151 #
152 options SCHED_4BSD
153 #options SCHED_ULE
154
155 #####################################################################
156 # SMP OPTIONS:
157 #
158 # SMP enables building of a Symmetric MultiProcessor Kernel.
159
160 # Mandatory:
161 options SMP # Symmetric MultiProcessor Kernel
162
163 # ADAPTIVE_MUTEXES changes the behavior of blocking mutexes to spin
164 # if the thread that currently owns the mutex is executing on another
165 # CPU.
166 options ADAPTIVE_MUTEXES
167
168 # SMP Debugging Options:
169 #
170 # MUTEX_DEBUG enables various extra assertions in the mutex code.
171 # WITNESS enables the witness code which detects deadlocks and cycles
172 # during locking operations.
173 # WITNESS_DDB causes the witness code to drop into the kernel debugger if
174 # a lock heirarchy violation occurs or if locks are held when going to
175 # sleep.
176 # WITNESS_SKIPSPIN disables the witness checks on spin mutexes.
177 options MUTEX_DEBUG
178 options WITNESS
179 options WITNESS_DDB
180 options WITNESS_SKIPSPIN
181
182 #
183 # MUTEX_PROFILING - Profiling mutual exclusion locks (mutexes). This
184 # records four numbers for each acquisition point (identified by
185 # source file name and line number): longest time held, total time held,
186 # number of non-recursive acquisitions, and average time held. Measurements
187 # are made and stored in nanoseconds (using nanotime(9)), but are presented
188 # in microseconds, which should be sufficient for the locks which actually
189 # want this (those that are held long and / or often). The MUTEX_PROFILING
190 # option has the following sysctl namespace for controlling and viewing its
191 # operation:
192 #
193 # debug.mutex.prof.enable - enable / disable profiling
194 # debug.mutex.prof.acquisitions - number of mutex acquisitions held
195 # debug.mutex.prof.records - number of acquisition points recorded
196 # debug.mutex.prof.maxrecords - max number of acquisition points
197 # debug.mutex.prof.rejected - number of rejections (due to full table)
198 # debug.mutex.prof.hashsize - hash size
199 # debug.mutex.prof.collisions - number of hash collisions
200 # debug.mutex.prof.stats - profiling statistics
201 #
202 options MUTEX_PROFILING
203
204
205 #####################################################################
206 # COMPATIBILITY OPTIONS
207
208 #
209 # Implement system calls compatible with 4.3BSD and older versions of
210 # FreeBSD. You probably do NOT want to remove this as much current code
211 # still relies on the 4.3 emulation. Note that some architectures that
212 # are supported by FreeBSD do not include support for certain important
213 # aspects of this compatibility option, namely those related to the
214 # signal delivery mechanism.
215 #
216 options COMPAT_43
217
218 #
219 # Be compatible with SunOS. The COMPAT_43 option above pulls in most
220 # (all?) of the changes that this option turns on.
221 #
222 options COMPAT_SUNOS
223
224 # Enable FreeBSD4 compatibility syscalls
225 options COMPAT_FREEBSD4
226
227 #
228 # These three options provide support for System V Interface
229 # Definition-style interprocess communication, in the form of shared
230 # memory, semaphores, and message queues, respectively.
231 #
232 options SYSVSHM
233 options SYSVSEM
234 options SYSVMSG
235
236
237 #####################################################################
238 # DEBUGGING OPTIONS
239
240 #
241 # Enable the kernel debugger.
242 #
243 options DDB
244
245 #
246 # Use direct symbol lookup routines for ddb instead of the kernel linker
247 # ones, so that symbols (mostly) work before the kernel linker has been
248 # initialized. This is not the default because it breaks ddb's lookup of
249 # symbols in loaded modules.
250 #
251 #!options DDB_NOKLDSYM
252
253 #
254 # Print a stack trace of the current thread out on the console for a panic.
255 #
256 options DDB_TRACE
257
258 #
259 # Don't drop into DDB for a panic. Intended for unattended operation
260 # where you may want to drop to DDB from the console, but still want
261 # the machine to recover from a panic
262 #
263 options DDB_UNATTENDED
264
265 #
266 # If using GDB remote mode to debug the kernel, there's a non-standard
267 # extension to the remote protocol that can be used to use the serial
268 # port as both the debugging port and the system console. It's non-
269 # standard and you're on your own if you enable it. See also the
270 # "remotechat" variables in the FreeBSD specific version of gdb.
271 #
272 options GDB_REMOTE_CHAT
273
274 #
275 # KTRACE enables the system-call tracing facility ktrace(2). To be more
276 # SMP-friendly, KTRACE uses a worker thread to process most trace events
277 # asynchronously to the thread generating the event. This requires a
278 # pre-allocated store of objects representing trace events. The
279 # KTRACE_REQUEST_POOL option specifies the initial size of this store.
280 # The size of the pool can be adjusted both at boottime and runtime via
281 # the kern.ktrace_request_pool tunable and sysctl.
282 #
283 options KTRACE #kernel tracing
284 options KTRACE_REQUEST_POOL=101
285
286 #
287 # KTR is a kernel tracing mechanism imported from BSD/OS. Currently it
288 # has no userland interface aside from a few sysctl's. It is enabled with
289 # the KTR option. KTR_ENTRIES defines the number of entries in the circular
290 # trace buffer. KTR_COMPILE defines the mask of events to compile into the
291 # kernel as defined by the KTR_* constants in <sys/ktr.h>. KTR_MASK defines the
292 # initial value of the ktr_mask variable which determines at runtime what
293 # events to trace. KTR_CPUMASK determines which CPU's log events, with
294 # bit X corresponding to cpu X. KTR_VERBOSE enables dumping of KTR events
295 # to the console by default. This functionality can be toggled via the
296 # debug.ktr_verbose sysctl and defaults to off if KTR_VERBOSE is not defined.
297 #
298 options KTR
299 options KTR_ENTRIES=1024
300 options KTR_COMPILE=(KTR_INTR|KTR_PROC)
301 options KTR_MASK=KTR_INTR
302 options KTR_CPUMASK=0x3
303 options KTR_VERBOSE
304
305 #
306 # The INVARIANTS option is used in a number of source files to enable
307 # extra sanity checking of internal structures. This support is not
308 # enabled by default because of the extra time it would take to check
309 # for these conditions, which can only occur as a result of
310 # programming errors.
311 #
312 options INVARIANTS
313
314 #
315 # The INVARIANT_SUPPORT option makes us compile in support for
316 # verifying some of the internal structures. It is a prerequisite for
317 # 'INVARIANTS', as enabling 'INVARIANTS' will make these functions be
318 # called. The intent is that you can set 'INVARIANTS' for single
319 # source files (by changing the source file or specifying it on the
320 # command line) if you have 'INVARIANT_SUPPORT' enabled. Also, if you
321 # wish to build a kernel module with 'INVARIANTS', then adding
322 # 'INVARIANT_SUPPORT' to your kernel will provide all the necessary
323 # infrastructure without the added overhead.
324 #
325 options INVARIANT_SUPPORT
326
327 #
328 # The DIAGNOSTIC option is used to enable extra debugging information
329 # from some parts of the kernel. As this makes everything more noisy,
330 # it is disabled by default.
331 #
332 options DIAGNOSTIC
333
334 #
335 # REGRESSION causes optional kernel interfaces necessary only for regression
336 # testing to be enabled. These interfaces may consitute security risks
337 # when enabled, as they permit processes to easily modify aspects of the
338 # run-time environment to reproduce unlikely or unusual (possibly normally
339 # impossible) scenarios.
340 #
341 options REGRESSION
342
343 #
344 # RESTARTABLE_PANICS allows one to continue from a panic as if it were
345 # a call to the debugger via the Debugger() function instead. It is only
346 # useful if a kernel debugger is present. To restart from a panic, reset
347 # the panicstr variable to NULL and continue execution. This option is
348 # for development use only and should NOT be used in production systems
349 # to "workaround" a panic.
350 #
351 #options RESTARTABLE_PANICS
352
353 #
354 # This option let some drivers co-exist that can't co-exist in a running
355 # system. This is used to be able to compile all kernel code in one go for
356 # quality assurance purposes (like this file, which the option takes it name
357 # from.)
358 #
359 options COMPILING_LINT
360
361
362 #####################################################################
363 # NETWORKING OPTIONS
364
365 #
366 # Protocol families:
367 # Only the INET (Internet) family is officially supported in FreeBSD.
368 #
369 options INET #Internet communications protocols
370 options INET6 #IPv6 communications protocols
371 options IPSEC #IP security
372 options IPSEC_ESP #IP security (crypto; define w/ IPSEC)
373 options IPSEC_DEBUG #debug for IP security
374 #
375 # Set IPSEC_FILTERGIF to force packets coming through a gif tunnel
376 # to be processed by any configured packet filtering (ipfw, ipf).
377 # The default is that packets coming from a tunnel are _not_ processed;
378 # they are assumed trusted.
379 #
380 # Note that enabling this can be problematic as there are no mechanisms
381 # in place for distinguishing packets coming out of a tunnel (e.g. no
382 # encX devices as found on openbsd).
383 #
384 #options IPSEC_FILTERGIF #filter ipsec packets from a tunnel
385
386 #options FAST_IPSEC #new IPsec (cannot define w/ IPSEC)
387
388 options IPX #IPX/SPX communications protocols
389 options IPXIP #IPX in IP encapsulation (not available)
390
391 #options NCP #NetWare Core protocol
392
393 options NETATALK #Appletalk communications protocols
394 options NETATALKDEBUG #Appletalk debugging
395
396 #
397 # SMB/CIFS requester
398 # NETSMB enables support for SMB protocol, it requires LIBMCHAIN and LIBICONV
399 # options.
400 # NETSMBCRYPTO enables support for encrypted passwords.
401 options NETSMB #SMB/CIFS requester
402 options NETSMBCRYPTO #encrypted password support for SMB
403
404 # mchain library. It can be either loaded as KLD or compiled into kernel
405 options LIBMCHAIN
406
407 # netgraph(4). Enable the base netgraph code with the NETGRAPH option.
408 # Individual node types can be enabled with the corresponding option
409 # listed below; however, this is not strictly necessary as netgraph
410 # will automatically load the corresponding KLD module if the node type
411 # is not already compiled into the kernel. Each type below has a
412 # corresponding man page, e.g., ng_async(8).
413 options NETGRAPH #netgraph(4) system
414 options NETGRAPH_ASYNC
415 options NETGRAPH_BPF
416 options NETGRAPH_BRIDGE
417 options NETGRAPH_CISCO
418 options NETGRAPH_ECHO
419 options NETGRAPH_ETHER
420 options NETGRAPH_FRAME_RELAY
421 options NETGRAPH_GIF
422 options NETGRAPH_GIF_DEMUX
423 options NETGRAPH_HOLE
424 options NETGRAPH_IFACE
425 options NETGRAPH_IP_INPUT
426 options NETGRAPH_KSOCKET
427 options NETGRAPH_L2TP
428 options NETGRAPH_LMI
429 # MPPC compression requires proprietary files (not included)
430 #options NETGRAPH_MPPC_COMPRESSION
431 options NETGRAPH_MPPC_ENCRYPTION
432 options NETGRAPH_ONE2MANY
433 options NETGRAPH_PPP
434 options NETGRAPH_PPPOE
435 options NETGRAPH_PPTPGRE
436 options NETGRAPH_RFC1490
437 options NETGRAPH_SOCKET
438 options NETGRAPH_SPLIT
439 options NETGRAPH_TEE
440 options NETGRAPH_TTY
441 options NETGRAPH_UI
442 options NETGRAPH_VJC
443
444 device mn # Munich32x/Falc54 Nx64kbit/sec cards.
445 device lmc # tulip based LanMedia WAN cards
446 device musycc # LMC/SBE LMC1504 quad T1/E1
447
448 #
449 # Network interfaces:
450 # The `loop' device is MANDATORY when networking is enabled.
451 # The `ether' device provides generic code to handle
452 # Ethernets; it is MANDATORY when an Ethernet device driver is
453 # configured or token-ring is enabled.
454 # The 'wlan' device provides generic code to support 802.11
455 # drivers, including host AP mode; it is MANDATORY for the wi
456 # driver and will eventually be required by all 802.11 drivers.
457 # The `fddi' device provides generic code to support FDDI.
458 # The `arcnet' device provides generic code to support Arcnet.
459 # The `sppp' device serves a similar role for certain types
460 # of synchronous PPP links (like `cx', `ar').
461 # The `sl' device implements the Serial Line IP (SLIP) service.
462 # The `ppp' device implements the Point-to-Point Protocol.
463 # The `bpf' device enables the Berkeley Packet Filter. Be
464 # aware of the legal and administrative consequences of enabling this
465 # option. The number of devices determines the maximum number of
466 # simultaneous BPF clients programs runnable.
467 # The `disc' device implements a minimal network interface,
468 # which throws away all packets sent and never receives any. It is
469 # included for testing purposes. This shows up as the `ds' interface.
470 # The `tap' device is a pty-like virtual Ethernet interface
471 # The `tun' device implements (user-)ppp and nos-tun
472 # The `gif' device implements IPv6 over IP4 tunneling,
473 # IPv4 over IPv6 tunneling, IPv4 over IPv4 tunneling and
474 # IPv6 over IPv6 tunneling.
475 # The `gre' device implements two types of IP4 over IP4 tunneling:
476 # GRE and MOBILE, as specified in the RFC1701 and RFC2004.
477 # The XBONEHACK option allows the same pair of addresses to be configured on
478 # multiple gif interfaces.
479 # The `faith' device captures packets sent to it and diverts them
480 # to the IPv4/IPv6 translation daemon.
481 # The `stf' device implements 6to4 encapsulation.
482 # The `ef' device provides support for multiple ethernet frame types
483 # specified via ETHER_* options. See ef(4) for details.
484 #
485 # The PPP_BSDCOMP option enables support for compress(1) style entire
486 # packet compression, the PPP_DEFLATE is for zlib/gzip style compression.
487 # PPP_FILTER enables code for filtering the ppp data stream and selecting
488 # events for resetting the demand dial activity timer - requires bpf.
489 # See pppd(8) for more details.
490 #
491 device ether #Generic Ethernet
492 device vlan #VLAN support
493 device wlan #802.11 support
494 device token #Generic TokenRing
495 device fddi #Generic FDDI
496 device arcnet #Generic Arcnet
497 device sppp #Generic Synchronous PPP
498 device loop #Network loopback device
499 device bpf #Berkeley packet filter
500 device disc #Discard device (ds0, ds1, etc)
501 device tap #Virtual Ethernet driver
502 device tun #Tunnel driver (ppp(8), nos-tun(8))
503 device sl #Serial Line IP
504 device gre #IP over IP tunneling
505 device ppp #Point-to-point protocol
506 options PPP_BSDCOMP #PPP BSD-compress support
507 options PPP_DEFLATE #PPP zlib/deflate/gzip support
508 options PPP_FILTER #enable bpf filtering (needs bpf)
509
510 device ef # Multiple ethernet frames support
511 options ETHER_II # enable Ethernet_II frame
512 options ETHER_8023 # enable Ethernet_802.3 (Novell) frame
513 options ETHER_8022 # enable Ethernet_802.2 frame
514 options ETHER_SNAP # enable Ethernet_802.2/SNAP frame
515
516 # for IPv6
517 device gif #IPv6 and IPv4 tunneling
518 options XBONEHACK
519 device faith #for IPv6 and IPv4 translation
520 device stf #6to4 IPv6 over IPv4 encapsulation
521
522 #
523 # Internet family options:
524 #
525 # MROUTING enables the kernel multicast packet forwarder, which works
526 # with mrouted(8).
527 #
528 # IPFIREWALL enables support for IP firewall construction, in
529 # conjunction with the `ipfw' program. IPFIREWALL_VERBOSE sends
530 # logged packets to the system logger. IPFIREWALL_VERBOSE_LIMIT
531 # limits the number of times a matching entry can be logged.
532 #
533 # WARNING: IPFIREWALL defaults to a policy of "deny ip from any to any"
534 # and if you do not add other rules during startup to allow access,
535 # YOU WILL LOCK YOURSELF OUT. It is suggested that you set firewall_type=open
536 # in /etc/rc.conf when first enabling this feature, then refining the
537 # firewall rules in /etc/rc.firewall after you've tested that the new kernel
538 # feature works properly.
539 #
540 # IPFIREWALL_DEFAULT_TO_ACCEPT causes the default rule (at boot) to
541 # allow everything. Use with care, if a cracker can crash your
542 # firewall machine, they can get to your protected machines. However,
543 # if you are using it as an as-needed filter for specific problems as
544 # they arise, then this may be for you. Changing the default to 'allow'
545 # means that you won't get stuck if the kernel and /sbin/ipfw binary get
546 # out of sync.
547 #
548 # IPDIVERT enables the divert IP sockets, used by ``ipfw divert''
549 #
550 # IPSTEALTH enables code to support stealth forwarding (i.e., forwarding
551 # packets without touching the ttl). This can be useful to hide firewalls
552 # from traceroute and similar tools.
553 #
554 # PFIL_HOOKS enables an abtraction layer which is meant to be used in
555 # network code where filtering is required. See the pfil(9) man page.
556 # This option is a subset of the IPFILTER option.
557 #
558 # TCPDEBUG enables code which keeps traces of the TCP state machine
559 # for sockets with the SO_DEBUG option set, which can then be examined
560 # using the trpt(8) utility.
561 #
562 options MROUTING # Multicast routing
563 options IPFIREWALL #firewall
564 options IPFIREWALL_VERBOSE #enable logging to syslogd(8)
565 options IPFIREWALL_FORWARD #enable transparent proxy support
566 options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity
567 options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default
568 options IPV6FIREWALL #firewall for IPv6
569 options IPV6FIREWALL_VERBOSE
570 options IPV6FIREWALL_VERBOSE_LIMIT=100
571 options IPV6FIREWALL_DEFAULT_TO_ACCEPT
572 options IPDIVERT #divert sockets
573 options IPFILTER #ipfilter support
574 options IPFILTER_LOG #ipfilter logging
575 options IPFILTER_DEFAULT_BLOCK #block all packets by default
576 options IPSTEALTH #support for stealth forwarding
577 options PFIL_HOOKS
578 options TCPDEBUG
579
580 # The MBUF_STRESS_TEST option enables options which create
581 # various random failures / extreme cases related to mbuf
582 # functions. See the mbuf(9) manpage for a list of available
583 # test cases.
584 options MBUF_STRESS_TEST
585
586 # RANDOM_IP_ID causes the ID field in IP packets to be randomized
587 # instead of incremented by 1 with each packet generated. This
588 # option closes a minor information leak which allows remote
589 # observers to determine the rate of packet generation on the
590 # machine by watching the counter.
591 options RANDOM_IP_ID
592
593 # Statically Link in accept filters
594 options ACCEPT_FILTER_DATA
595 options ACCEPT_FILTER_HTTP
596
597 # TCP_DROP_SYNFIN adds support for ignoring TCP packets with SYN+FIN. This
598 # prevents nmap et al. from identifying the TCP/IP stack, but breaks support
599 # for RFC1644 extensions and is not recommended for web servers.
600 #
601 options TCP_DROP_SYNFIN #drop TCP packets with SYN+FIN
602
603 # DUMMYNET enables the "dummynet" bandwidth limiter. You need
604 # IPFIREWALL as well. See the dummynet(4) and ipfw(8) manpages for more info.
605 # When you run DUMMYNET it is advisable to also have "options HZ=1000"
606 # to achieve a smoother scheduling of the traffic.
607 #
608 # BRIDGE enables bridging between ethernet cards -- see bridge(4).
609 # You can use IPFIREWALL and DUMMYNET together with bridging.
610 #
611 options DUMMYNET
612 options BRIDGE
613
614 # Zero copy sockets support. This enables "zero copy" for sending and
615 # receving data via a socket. The send side works for any type of NIC,
616 # the receive side only works for NICs that support MTUs greater than the
617 # page size of your architecture and that support header splitting. See
618 # zero_copy(9) for more details.
619 options ZERO_COPY_SOCKETS
620
621 #
622 # ATM (HARP version) options
623 #
624 # ATM_CORE includes the base ATM functionality code. This must be included
625 # for ATM support.
626 #
627 # ATM_IP includes support for running IP over ATM.
628 #
629 # At least one (and usually only one) of the following signalling managers
630 # must be included (note that all signalling managers include PVC support):
631 # ATM_SIGPVC includes support for the PVC-only signalling manager `sigpvc'.
632 # ATM_SPANS includes support for the `spans' signalling manager, which runs
633 # the FORE Systems's proprietary SPANS signalling protocol.
634 # ATM_UNI includes support for the `uni30' and `uni31' signalling managers,
635 # which run the ATM Forum UNI 3.x signalling protocols.
636 #
637 # The `hea' driver provides support for the Efficient Networks, Inc.
638 # ENI-155p ATM PCI Adapter.
639 #
640 # The `hfa' driver provides support for the FORE Systems, Inc.
641 # PCA-200E ATM PCI Adapter.
642 #
643 options ATM_CORE #core ATM protocol family
644 options ATM_IP #IP over ATM support
645 options ATM_SIGPVC #SIGPVC signalling manager
646 options ATM_SPANS #SPANS signalling manager
647 options ATM_UNI #UNI signalling manager
648
649 device hea #Efficient ENI-155p ATM PCI
650 device hfa #FORE PCA-200E ATM PCI
651
652
653 #####################################################################
654 # FILESYSTEM OPTIONS
655
656 #
657 # Only the root, /usr, and /tmp filesystems need be statically
658 # compiled; everything else will be automatically loaded at mount
659 # time. (Exception: the UFS family--- FFS --- cannot
660 # currently be demand-loaded.) Some people still prefer to statically
661 # compile other filesystems as well.
662 #
663 # NB: The NULL, PORTAL, UMAP and UNION filesystems are known to be
664 # buggy, and WILL panic your system if you attempt to do anything with
665 # them. They are included here as an incentive for some enterprising
666 # soul to sit down and fix them.
667 #
668
669 # One of these is mandatory:
670 options FFS #Fast filesystem
671 options NFSCLIENT #Network File System
672 options NFSSERVER #Network File System
673
674 # The rest are optional:
675 options CD9660 #ISO 9660 filesystem
676 options FDESCFS #File descriptor filesystem
677 options HPFS #OS/2 File system
678 options MSDOSFS #MS DOS File System (FAT, FAT32)
679 options NTFS #NT File System
680 options NULLFS #NULL filesystem
681 #options NWFS #NetWare filesystem
682 options PORTALFS #Portal filesystem
683 options PROCFS #Process filesystem (requires PSEUDOFS)
684 options PSEUDOFS #Pseudo-filesystem framework
685 options SMBFS #SMB/CIFS filesystem
686 options UDF #Universal Disk Format
687 options UMAPFS #UID map filesystem
688 options UNIONFS #Union filesystem
689 # The xFS_ROOT options REQUIRE the associated ``options xFS''
690 options NFS_ROOT #NFS usable as root device
691
692 # Soft updates is a technique for improving filesystem speed and
693 # making abrupt shutdown less risky.
694 #
695 options SOFTUPDATES
696
697 # Extended attributes allow additional data to be associated with files,
698 # and is used for ACLs, Capabilities, and MAC labels.
699 # See src/sys/ufs/ufs/README.extattr for more information.
700 options UFS_EXTATTR
701 options UFS_EXTATTR_AUTOSTART
702
703 # Access Control List support for UFS filesystems. The current ACL
704 # implementation requires extended attribute support, UFS_EXTATTR,
705 # for the underlying filesystem.
706 # See src/sys/ufs/ufs/README.acls for more information.
707 options UFS_ACL
708
709 # Directory hashing improves the speed of operations on very large
710 # directories at the expense of some memory.
711 options UFS_DIRHASH
712
713 # Make space in the kernel for a root filesystem on a md device.
714 # Define to the number of kilobytes to reserve for the filesystem.
715 options MD_ROOT_SIZE=10
716
717 # Make the md device a potential root device, either with preloaded
718 # images of type mfs_root or md_root.
719 options MD_ROOT
720
721 # Allow this many swap-devices.
722 #
723 # In order to manage swap, the system must reserve bitmap space that
724 # scales with the largest mounted swap device multiplied by NSWAPDEV,
725 # irregardless of whether other swap devices exist or not. So it
726 # is not a good idea to make this value too large.
727 options NSWAPDEV=5
728
729 # Disk quotas are supported when this option is enabled.
730 options QUOTA #enable disk quotas
731
732 # If you are running a machine just as a fileserver for PC and MAC
733 # users, using SAMBA or Netatalk, you may consider setting this option
734 # and keeping all those users' directories on a filesystem that is
735 # mounted with the suiddir option. This gives new files the same
736 # ownership as the directory (similar to group). It's a security hole
737 # if you let these users run programs, so confine it to file-servers
738 # (but it'll save you lots of headaches in those cases). Root owned
739 # directories are exempt and X bits are cleared. The suid bit must be
740 # set on the directory as well; see chmod(1) PC owners can't see/set
741 # ownerships so they keep getting their toes trodden on. This saves
742 # you all the support calls as the filesystem it's used on will act as
743 # they expect: "It's my dir so it must be my file".
744 #
745 options SUIDDIR
746
747 # NFS options:
748 options NFS_MINATTRTIMO=3 # VREG attrib cache timeout in sec
749 options NFS_MAXATTRTIMO=60
750 options NFS_MINDIRATTRTIMO=30 # VDIR attrib cache timeout in sec
751 options NFS_MAXDIRATTRTIMO=60
752 options NFS_GATHERDELAY=10 # Default write gather delay (msec)
753 options NFS_WDELAYHASHSIZ=16 # and with this
754 options NFS_DEBUG # Enable NFS Debugging
755
756 # Coda stuff:
757 options CODA #CODA filesystem.
758 device vcoda 4 #coda minicache <-> venus comm.
759
760 #
761 # Add support for the EXT2FS filesystem of Linux fame. Be a bit
762 # careful with this - the ext2fs code has a tendency to lag behind
763 # changes and not be exercised very much, so mounting read/write could
764 # be dangerous (and even mounting read only could result in panics.)
765 #
766 options EXT2FS
767
768 # Use real implementations of the aio_* system calls. There are numerous
769 # stability and security issues in the current aio code that make it
770 # unsuitable for inclusion on machines with untrusted local users.
771 options VFS_AIO
772
773 # Cryptographically secure random number generator; /dev/[u]random
774 device random
775
776
777 #####################################################################
778 # POSIX P1003.1B
779
780 # Real time extensions added in the 1993 Posix
781 # _KPOSIX_PRIORITY_SCHEDULING: Build in _POSIX_PRIORITY_SCHEDULING
782
783 options _KPOSIX_PRIORITY_SCHEDULING
784 # p1003_1b_semaphores are very experimental,
785 # user should be ready to assist in debugging if problems arise.
786 options P1003_1B_SEMAPHORES
787
788
789 #####################################################################
790 # SECURITY POLICY PARAMETERS
791
792 # Support for Mandatory Access Control (MAC):
793 options MAC
794 options MAC_BIBA
795 options MAC_BSDEXTENDED
796 options MAC_DEBUG
797 options MAC_IFOFF
798 options MAC_LOMAC
799 options MAC_MLS
800 options MAC_NONE
801 options MAC_PARTITION
802 options MAC_PORTACL
803 options MAC_SEEOTHERUIDS
804 options MAC_TEST
805
806
807 #####################################################################
808 # CLOCK OPTIONS
809
810 # The granularity of operation is controlled by the kernel option HZ whose
811 # default value (100) means a granularity of 10ms (1s/HZ).
812 # Some subsystems, such as DUMMYNET, might benefit from a smaller
813 # granularity such as 1ms or less, for a smoother scheduling of packets.
814 # Consider, however, that reducing the granularity too much might
815 # cause excessive overhead in clock interrupt processing,
816 # potentially causing ticks to be missed and thus actually reducing
817 # the accuracy of operation.
818
819 options HZ=100
820
821 # If you see the "calcru: negative time of %ld usec for pid %d (%s)\n"
822 # message you probably have some broken sw/hw which disables interrupts
823 # for too long. You can make the system more resistant to this by
824 # choosing a high value for NTIMECOUNTER. The default is 5, there
825 # is no upper limit but more than a couple of hundred are not productive.
826
827 options NTIMECOUNTER=20
828
829 # Enable support for the kernel PLL to use an external PPS signal,
830 # under supervision of [x]ntpd(8)
831 # More info in ntpd documentation: http://www.eecis.udel.edu/~ntp
832
833 options PPS_SYNC
834
835
836 #####################################################################
837 # SCSI DEVICES
838
839 # SCSI DEVICE CONFIGURATION
840
841 # The SCSI subsystem consists of the `base' SCSI code, a number of
842 # high-level SCSI device `type' drivers, and the low-level host-adapter
843 # device drivers. The host adapters are listed in the ISA and PCI
844 # device configuration sections below.
845 #
846 # Beginning with FreeBSD 2.0.5 you can wire down your SCSI devices so
847 # that a given bus, target, and LUN always come on line as the same
848 # device unit. In earlier versions the unit numbers were assigned
849 # in the order that the devices were probed on the SCSI bus. This
850 # means that if you removed a disk drive, you may have had to rewrite
851 # your /etc/fstab file, and also that you had to be careful when adding
852 # a new disk as it may have been probed earlier and moved your device
853 # configuration around.
854
855 # This old behavior is maintained as the default behavior. The unit
856 # assignment begins with the first non-wired down unit for a device
857 # type. For example, if you wire a disk as "da3" then the first
858 # non-wired disk will be assigned da4.
859
860 # The syntax for wiring down devices is:
861
862 hint.scbus.0.at="ahc0"
863 hint.scbus.1.at="ahc1"
864 hint.scbus.1.bus="0"
865 hint.scbus.3.at="ahc2"
866 hint.scbus.3.bus="0"
867 hint.scbus.2.at="ahc2"
868 hint.scbus.2.bus="1"
869 hint.da.0.at="scbus0"
870 hint.da.0.target="0"
871 hint.da.0.unit="0"
872 hint.da.1.at="scbus3"
873 hint.da.1.target="1"
874 hint.da.2.at="scbus2"
875 hint.da.2.target="3"
876 hint.sa.1.at="scbus1"
877 hint.sa.1.target="6"
878
879 # "units" (SCSI logical unit number) that are not specified are
880 # treated as if specified as LUN 0.
881
882 # All SCSI devices allocate as many units as are required.
883
884 # The ch driver drives SCSI Media Changer ("jukebox") devices.
885 #
886 # The da driver drives SCSI Direct Access ("disk") and Optical Media
887 # ("WORM") devices.
888 #
889 # The sa driver drives SCSI Sequential Access ("tape") devices.
890 #
891 # The cd driver drives SCSI Read Only Direct Access ("cd") devices.
892 #
893 # The ses driver drives SCSI Envinronment Services ("ses") and
894 # SAF-TE ("SCSI Accessable Fault-Tolerant Enclosure") devices.
895 #
896 # The pt driver drives SCSI Processor devices.
897 #
898 #
899 # Target Mode support is provided here but also requires that a SIM
900 # (SCSI Host Adapter Driver) provide support as well.
901 #
902 # The targ driver provides target mode support as a Processor type device.
903 # It exists to give the minimal context necessary to respond to Inquiry
904 # commands. There is a sample user application that shows how the rest
905 # of the command support might be done in /usr/share/examples/scsi_target.
906 #
907 # The targbh driver provides target mode support and exists to respond
908 # to incoming commands that do not otherwise have a logical unit assigned
909 # to them.
910 #
911 # The "unknown" device (uk? in pre-2.0.5) is now part of the base SCSI
912 # configuration as the "pass" driver.
913
914 device scbus #base SCSI code
915 device ch #SCSI media changers
916 device da #SCSI direct access devices (aka disks)
917 device sa #SCSI tapes
918 device cd #SCSI CD-ROMs
919 device ses #SCSI Environmental Services (and SAF-TE)
920 device pt #SCSI processor
921 device targ #SCSI Target Mode Code
922 device targbh #SCSI Target Mode Blackhole Device
923 device pass #CAM passthrough driver
924
925 # CAM OPTIONS:
926 # debugging options:
927 # -- NOTE -- If you specify one of the bus/target/lun options, you must
928 # specify them all!
929 # CAMDEBUG: When defined enables debugging macros
930 # CAM_DEBUG_BUS: Debug the given bus. Use -1 to debug all busses.
931 # CAM_DEBUG_TARGET: Debug the given target. Use -1 to debug all targets.
932 # CAM_DEBUG_LUN: Debug the given lun. Use -1 to debug all luns.
933 # CAM_DEBUG_FLAGS: OR together CAM_DEBUG_INFO, CAM_DEBUG_TRACE,
934 # CAM_DEBUG_SUBTRACE, and CAM_DEBUG_CDB
935 #
936 # CAM_MAX_HIGHPOWER: Maximum number of concurrent high power (start unit) cmds
937 # CAM_NEW_TRAN_CODE: this is the new transport layer code that will be switched
938 # to soon
939 # SCSI_NO_SENSE_STRINGS: When defined disables sense descriptions
940 # SCSI_NO_OP_STRINGS: When defined disables opcode descriptions
941 # SCSI_DELAY: The number of MILLISECONDS to freeze the SIM (scsi adapter)
942 # queue after a bus reset, and the number of milliseconds to
943 # freeze the device queue after a bus device reset. This
944 # can be changed at boot and runtime with the
945 # kern.cam.scsi_delay tunable/sysctl.
946 options CAMDEBUG
947 options CAM_DEBUG_BUS=-1
948 options CAM_DEBUG_TARGET=-1
949 options CAM_DEBUG_LUN=-1
950 options CAM_DEBUG_FLAGS=(CAM_DEBUG_INFO|CAM_DEBUG_TRACE|CAM_DEBUG_CDB)
951 options CAM_MAX_HIGHPOWER=4
952 options SCSI_NO_SENSE_STRINGS
953 options SCSI_NO_OP_STRINGS
954 options SCSI_DELAY=8000 # Be pessimistic about Joe SCSI device
955
956 # Options for the CAM CDROM driver:
957 # CHANGER_MIN_BUSY_SECONDS: Guaranteed minimum time quantum for a changer LUN
958 # CHANGER_MAX_BUSY_SECONDS: Maximum time quantum per changer LUN, only
959 # enforced if there is I/O waiting for another LUN
960 # The compiled in defaults for these variables are 2 and 10 seconds,
961 # respectively.
962 #
963 # These can also be changed on the fly with the following sysctl variables:
964 # kern.cam.cd.changer.min_busy_seconds
965 # kern.cam.cd.changer.max_busy_seconds
966 #
967 options CHANGER_MIN_BUSY_SECONDS=2
968 options CHANGER_MAX_BUSY_SECONDS=10
969
970 # Options for the CAM sequential access driver:
971 # SA_IO_TIMEOUT: Timeout for read/write/wfm operations, in minutes
972 # SA_SPACE_TIMEOUT: Timeout for space operations, in minutes
973 # SA_REWIND_TIMEOUT: Timeout for rewind operations, in minutes
974 # SA_ERASE_TIMEOUT: Timeout for erase operations, in minutes
975 # SA_1FM_AT_EOD: Default to model which only has a default one filemark at EOT.
976 options SA_IO_TIMEOUT=4
977 options SA_SPACE_TIMEOUT=60
978 options SA_REWIND_TIMEOUT=(2*60)
979 options SA_ERASE_TIMEOUT=(4*60)
980 options SA_1FM_AT_EOD
981
982 # Optional timeout for the CAM processor target (pt) device
983 # This is specified in seconds. The default is 60 seconds.
984 options SCSI_PT_DEFAULT_TIMEOUT=60
985
986 # Optional enable of doing SES passthrough on other devices (e.g., disks)
987 #
988 # Normally disabled because a lot of newer SCSI disks report themselves
989 # as having SES capabilities, but this can then clot up attempts to build
990 # build a topology with the SES device that's on the box these drives
991 # are in....
992 options SES_ENABLE_PASSTHROUGH
993
994
995 #####################################################################
996 # MISCELLANEOUS DEVICES AND OPTIONS
997
998 # The `pty' device usually turns out to be ``effectively mandatory'',
999 # as it is required for `telnetd', `rlogind', `screen', `emacs', and
1000 # `xterm', among others.
1001
1002 device pty #Pseudo ttys
1003 device nmdm #back-to-back tty devices
1004 device md #Memory/malloc disk
1005 device snp #Snoop device - to look at pty/vty/etc..
1006 device ccd #Concatenated disk driver
1007
1008 # Configuring Vinum into the kernel is not necessary, since the kld
1009 # module gets started automatically when vinum(8) starts. This
1010 # device is also untested. Use at your own risk.
1011 #
1012 # The option VINUMDEBUG must match the value set in CFLAGS
1013 # in src/sbin/vinum/Makefile. Failure to do so will result in
1014 # the following message from vinum(8):
1015 #
1016 # Can't get vinum config: Invalid argument
1017 #
1018 # see vinum(4) for more reasons not to use these options.
1019 device vinum #Vinum concat/mirror/raid driver
1020 options VINUMDEBUG #enable Vinum debugging hooks
1021
1022 # RAIDframe device. RAID_AUTOCONFIG allows RAIDframe to search all of the
1023 # disk devices in the system looking for components that it recognizes (already
1024 # configured once before) and auto-configured them into arrays.
1025 device raidframe
1026 options RAID_AUTOCONFIG
1027
1028 # Kernel side iconv library
1029 options LIBICONV
1030
1031 # Size of the kernel message buffer. Should be N * pagesize.
1032 options MSGBUF_SIZE=40960
1033
1034 # Maximum size of a tty or pty input buffer.
1035 options TTYHOG=8193
1036
1037
1038 #####################################################################
1039 # HARDWARE DEVICE CONFIGURATION
1040
1041 # For ISA the required hints are listed.
1042 # EISA, MCA, PCI and pccard are self identifying buses, so no hints
1043 # are needed.
1044
1045 #
1046 # Mandatory devices:
1047 #
1048
1049 # The keyboard controller; it controls the keyboard and the PS/2 mouse.
1050 device atkbdc
1051 hint.atkbdc.0.at="isa"
1052 hint.atkbdc.0.port="0x060"
1053
1054 # The AT keyboard
1055 device atkbd
1056 hint.atkbd.0.at="atkbdc"
1057 hint.atkbd.0.irq="1"
1058
1059 # Options for atkbd:
1060 options ATKBD_DFLT_KEYMAP # specify the built-in keymap
1061 makeoptions ATKBD_DFLT_KEYMAP=jp.106
1062
1063 # These options are valid for other keyboard drivers as well.
1064 options KBD_DISABLE_KEYMAP_LOAD # refuse to load a keymap
1065 options KBD_INSTALL_CDEV # install a CDEV entry in /dev
1066
1067 # `flags' for atkbd:
1068 # 0x01 Force detection of keyboard, else we always assume a keyboard
1069 # 0x02 Don't reset keyboard, useful for some newer ThinkPads
1070 # 0x03 Force detection and avoid reset, might help with certain
1071 # dockingstations
1072 # 0x04 Old-style (XT) keyboard support, useful for older ThinkPads
1073
1074 # PS/2 mouse
1075 device psm
1076 hint.psm.0.at="atkbdc"
1077 hint.psm.0.irq="12"
1078
1079 # Options for psm:
1080 options PSM_HOOKRESUME #hook the system resume event, useful
1081 #for some laptops
1082 options PSM_RESETAFTERSUSPEND #reset the device at the resume event
1083
1084 # Video card driver for VGA adapters.
1085 device vga
1086 hint.vga.0.at="isa"
1087
1088 # Options for vga:
1089 # Try the following option if the mouse pointer is not drawn correctly
1090 # or font does not seem to be loaded properly. May cause flicker on
1091 # some systems.
1092 options VGA_ALT_SEQACCESS
1093
1094 # If you can dispense with some vga driver features, you may want to
1095 # use the following options to save some memory.
1096 #options VGA_NO_FONT_LOADING # don't save/load font
1097 #options VGA_NO_MODE_CHANGE # don't change video modes
1098
1099 # Older video cards may require this option for proper operation.
1100 options VGA_SLOW_IOACCESS # do byte-wide i/o's to TS and GDC regs
1101
1102 # The following option probably won't work with the LCD displays.
1103 options VGA_WIDTH90 # support 90 column modes
1104
1105 options FB_DEBUG # Frame buffer debugging
1106
1107 device splash # Splash screen and screen saver support
1108
1109 # Various screen savers.
1110 device blank_saver
1111 device daemon_saver
1112 device fade_saver
1113 device fire_saver
1114 device green_saver
1115 device logo_saver
1116 device rain_saver
1117 device star_saver
1118 device warp_saver
1119
1120 # The syscons console driver (sco color console compatible).
1121 device sc
1122 hint.sc.0.at="isa"
1123 options MAXCONS=16 # number of virtual consoles
1124 options SC_ALT_MOUSE_IMAGE # simplified mouse cursor in text mode
1125 options SC_DFLT_FONT # compile font in
1126 makeoptions SC_DFLT_FONT=cp850
1127 options SC_DISABLE_DDBKEY # disable `debug' key
1128 options SC_DISABLE_REBOOT # disable reboot key sequence
1129 options SC_HISTORY_SIZE=200 # number of history buffer lines
1130 options SC_MOUSE_CHAR=0x3 # char code for text mode mouse cursor
1131 options SC_PIXEL_MODE # add support for the raster text mode
1132
1133 # The following options will let you change the default colors of syscons.
1134 options SC_NORM_ATTR=(FG_GREEN|BG_BLACK)
1135 options SC_NORM_REV_ATTR=(FG_YELLOW|BG_GREEN)
1136 options SC_KERNEL_CONS_ATTR=(FG_RED|BG_BLACK)
1137 options SC_KERNEL_CONS_REV_ATTR=(FG_BLACK|BG_RED)
1138
1139 # The following options will let you change the default behaviour of
1140 # cut-n-paste feature
1141 options SC_CUT_SPACES2TABS # convert leading spaces into tabs
1142 options SC_CUT_SEPCHARS=\"x09\" # set of characters that delimit words
1143 # (default is single space - \"x20\")
1144
1145 # If you have a two button mouse, you may want to add the following option
1146 # to use the right button of the mouse to paste text.
1147 options SC_TWOBUTTON_MOUSE
1148
1149 # You can selectively disable features in syscons.
1150 options SC_NO_CUTPASTE
1151 options SC_NO_FONT_LOADING
1152 options SC_NO_HISTORY
1153 options SC_NO_SYSMOUSE
1154 options SC_NO_SUSPEND_VTYSWITCH
1155
1156 # `flags' for sc
1157 # 0x80 Put the video card in the VESA 800x600 dots, 16 color mode
1158 # 0x100 Probe for a keyboard device periodically if one is not present
1159
1160 #
1161 # Optional devices:
1162 #
1163
1164 #
1165 # SCSI host adapters:
1166 #
1167 # adv: All Narrow SCSI bus AdvanSys controllers.
1168 # adw: Second Generation AdvanSys controllers including the ADV940UW.
1169 # aha: Adaptec 154x/1535/1640
1170 # ahb: Adaptec 174x EISA controllers
1171 # ahc: Adaptec 274x/284x/2910/293x/294x/394x/3950x/3960x/398X/4944/
1172 # 19160x/29160x, aic7770/aic78xx
1173 # ahd: Adaptec 29320/39320 Controllers.
1174 # aic: Adaptec 6260/6360, APA-1460 (PC Card), NEC PC9801-100 (C-BUS)
1175 # amd: Support for the AMD 53C974 SCSI host adapter chip as found on devices
1176 # such as the Tekram DC-390(T).
1177 # bt: Most Buslogic controllers: including BT-445, BT-54x, BT-64x, BT-74x,
1178 # BT-75x, BT-946, BT-948, BT-956, BT-958, SDC3211B, SDC3211F, SDC3222F
1179 # isp: Qlogic ISP 1020, 1040 and 1040B PCI SCSI host adapters,
1180 # ISP 1240 Dual Ultra SCSI, ISP 1080 and 1280 (Dual) Ultra2,
1181 # ISP 12160 Ultra3 SCSI,
1182 # Qlogic ISP 2100 and ISP 2200 1Gb Fibre Channel host adapters.
1183 # Qlogic ISP 2300 and ISP 2312 2Gb Fibre Channel host adapters.
1184 # ispfw: Firmware module for Qlogic host adapters
1185 # mpt: LSI-Logic MPT/Fusion 53c1020 or 53c1030 Ultra4
1186 # or FC9x9 Fibre Channel host adapters.
1187 # ncr: NCR 53C810, 53C825 self-contained SCSI host adapters.
1188 # sym: Symbios/Logic 53C8XX family of PCI-SCSI I/O processors:
1189 # 53C810, 53C810A, 53C815, 53C825, 53C825A, 53C860, 53C875,
1190 # 53C876, 53C885, 53C895, 53C895A, 53C896, 53C897, 53C1510D,
1191 # 53C1010-33, 53C1010-66.
1192 # trm: Tekram DC395U/UW/F DC315U adapters.
1193 # wds: WD7000
1194
1195 #
1196 # Note that the order is important in order for Buslogic ISA/EISA cards to be
1197 # probed correctly.
1198 #
1199 device bt
1200 hint.bt.0.at="isa"
1201 hint.bt.0.port="0x330"
1202 device adv
1203 hint.adv.0.at="isa"
1204 device adw
1205 device aha
1206 hint.aha.0.at="isa"
1207 device aic
1208 hint.aic.0.at="isa"
1209 device ahb
1210 device ahc
1211 device ahd
1212 device amd
1213 device isp
1214 hint.isp.0.disable="1"
1215 hint.isp.0.role="3"
1216 hint.isp.0.prefer_iomap="1"
1217 hint.isp.0.prefer_memmap="1"
1218 hint.isp.0.fwload_disable="1"
1219 hint.isp.0.ignore_nvram="1"
1220 hint.isp.0.fullduplex="1"
1221 hint.isp.0.topology="lport"
1222 hint.isp.0.topology="nport"
1223 hint.isp.0.topology="lport-only"
1224 hint.isp.0.topology="nport-only"
1225 # we can't get u_int64_t types, nor can we get strings if it's got
1226 # a leading 0x, hence this silly dodge.
1227 hint.isp.0.portwnn="w50000000aaaa0000"
1228 hint.isp.0.nodewnn="w50000000aaaa0001"
1229 device ispfw
1230 device mpt
1231 device ncr
1232 device sym
1233 device trm
1234 device wds
1235 hint.wds.0.at="isa"
1236 hint.wds.0.port="0x350"
1237 hint.wds.0.irq="11"
1238 hint.wds.0.drq="6"
1239
1240 # The aic7xxx driver will attempt to use memory mapped I/O for all PCI
1241 # controllers that have it configured only if this option is set. Unfortunately,
1242 # this doesn't work on some motherboards, which prevents it from being the
1243 # default.
1244 options AHC_ALLOW_MEMIO
1245
1246 # Dump the contents of the ahc controller configuration PROM.
1247 options AHC_DUMP_EEPROM
1248
1249 # Bitmap of units to enable targetmode operations.
1250 options AHC_TMODE_ENABLE
1251
1252 # Compile in aic79xx debugging code.
1253 options AHD_DEBUG
1254
1255 # Aic79xx driver debugging options.
1256 # See the ahd(4) manpage
1257 options AHD_DEBUG_OPTS=0xFFFFFFFF
1258
1259 # Print human-readable register definitions when debugging
1260 options AHD_REG_PRETTY_PRINT
1261
1262 # The adw driver will attempt to use memory mapped I/O for all PCI
1263 # controllers that have it configured only if this option is set.
1264 options ADW_ALLOW_MEMIO
1265
1266 # Options used in dev/isp/ (Qlogic SCSI/FC driver).
1267 #
1268 # ISP_TARGET_MODE - enable target mode operation
1269 #
1270 options ISP_TARGET_MODE=1
1271
1272 # Options used in dev/sym/ (Symbios SCSI driver).
1273 #options SYM_SETUP_LP_PROBE_MAP #-Low Priority Probe Map (bits)
1274 # Allows the ncr to take precedence
1275 # 1 (1<<0) -> 810a, 860
1276 # 2 (1<<1) -> 825a, 875, 885, 895
1277 # 4 (1<<2) -> 895a, 896, 1510d
1278 #options SYM_SETUP_SCSI_DIFF #-HVD support for 825a, 875, 885
1279 # disabled:0 (default), enabled:1
1280 #options SYM_SETUP_PCI_PARITY #-PCI parity checking
1281 # disabled:0, enabled:1 (default)
1282 #options SYM_SETUP_MAX_LUN #-Number of LUNs supported
1283 # default:8, range:[1..64]
1284
1285 # The 'asr' driver provides support for current DPT/Adaptec SCSI RAID
1286 # controllers (SmartRAID V and VI and later).
1287 # These controllers require the CAM infrastructure.
1288 #
1289 device asr
1290
1291 # The 'dpt' driver provides support for old DPT controllers (http://www.dpt.com/).
1292 # These have hardware RAID-{0,1,5} support, and do multi-initiator I/O.
1293 # The DPT controllers are commonly re-licensed under other brand-names -
1294 # some controllers by Olivetti, Dec, HP, AT&T, SNI, AST, Alphatronic, NEC and
1295 # Compaq are actually DPT controllers.
1296 #
1297 # See src/sys/dev/dpt for debugging and other subtle options.
1298 # DPT_MEASURE_PERFORMANCE Enables a set of (semi)invasive metrics. Various
1299 # instruments are enabled. The tools in
1300 # /usr/sbin/dpt_* assume these to be enabled.
1301 # DPT_HANDLE_TIMEOUTS Normally device timeouts are handled by the DPT.
1302 # If you ant the driver to handle timeouts, enable
1303 # this option. If your system is very busy, this
1304 # option will create more trouble than solve.
1305 # DPT_TIMEOUT_FACTOR Used to compute the excessive amount of time to
1306 # wait when timing out with the above option.
1307 # DPT_DEBUG_xxxx These are controllable from sys/dev/dpt/dpt.h
1308 # DPT_LOST_IRQ When enabled, will try, once per second, to catch
1309 # any interrupt that got lost. Seems to help in some
1310 # DPT-firmware/Motherboard combinations. Minimal
1311 # cost, great benefit.
1312 # DPT_RESET_HBA Make "reset" actually reset the controller
1313 # instead of fudging it. Only enable this if you
1314 # are 100% certain you need it.
1315
1316 device dpt
1317
1318 # DPT options
1319 #!CAM# options DPT_MEASURE_PERFORMANCE
1320 #!CAM# options DPT_HANDLE_TIMEOUTS
1321 options DPT_TIMEOUT_FACTOR=4
1322 options DPT_LOST_IRQ
1323 options DPT_RESET_HBA
1324 options DPT_ALLOW_MEMIO
1325
1326 #
1327 # Compaq "CISS" RAID controllers (SmartRAID 5* series)
1328 # These controllers have a SCSI-like interface, and require the
1329 # CAM infrastructure.
1330 #
1331 device ciss
1332
1333 #
1334 # Intel Integrated RAID controllers.
1335 # This driver was developed and is maintained by Intel. Contacts
1336 # at Intel for this driver are
1337 # "Kannanthanam, Boji T" <boji.t.kannanthanam@intel.com> and
1338 # "Leubner, Achim" <achim.leubner@intel.com>.
1339 #
1340 device iir
1341
1342 #
1343 # Mylex AcceleRAID and eXtremeRAID controllers with v6 and later
1344 # firmware. These controllers have a SCSI-like interface, and require
1345 # the CAM infrastructure.
1346 #
1347 device mly
1348
1349 #
1350 # Compaq Smart RAID, Mylex DAC960 and AMI MegaRAID controllers. Only
1351 # one entry is needed; the code will find and configure all supported
1352 # controllers.
1353 #
1354 device ida # Compaq Smart RAID
1355 device mlx # Mylex DAC960
1356 device amr # AMI MegaRAID
1357
1358 #
1359 # 3ware ATA RAID
1360 #
1361 device twe # 3ware ATA RAID
1362
1363 #
1364 # The 'ATA' driver supports all ATA and ATAPI devices, including PC Card
1365 # devices. You only need one "device ata" for it to find all
1366 # PCI and PC Card ATA/ATAPI devices on modern machines.
1367 device ata
1368 device atadisk # ATA disk drives
1369 device atapicd # ATAPI CDROM drives
1370 device atapifd # ATAPI floppy drives
1371 device atapist # ATAPI tape drives
1372 device atapicam # emulate ATAPI devices as SCSI ditto via CAM
1373 # needs CAM to be present (scbus & pass)
1374 #
1375 # For older non-PCI, non-PnPBIOS systems, these are the hints lines to add:
1376 hint.ata.0.at="isa"
1377 hint.ata.0.port="0x1f0"
1378 hint.ata.0.irq="14"
1379 hint.ata.1.at="isa"
1380 hint.ata.1.port="0x170"
1381 hint.ata.1.irq="15"
1382
1383 #
1384 # The following options are valid on the ATA driver:
1385 #
1386 # ATA_STATIC_ID: controller numbering is static ie depends on location
1387 # else the device numbers are dynamically allocated.
1388
1389 options ATA_STATIC_ID
1390
1391 #
1392 # Standard floppy disk controllers and floppy tapes, supports
1393 # the Y-E DATA External FDD (PC Card)
1394 #
1395 device fdc
1396 hint.fdc.0.at="isa"
1397 hint.fdc.0.port="0x3F0"
1398 hint.fdc.0.irq="6"
1399 hint.fdc.0.drq="2"
1400 #
1401 # FDC_DEBUG enables floppy debugging. Since the debug output is huge, you
1402 # gotta turn it actually on by setting the variable fd_debug with DDB,
1403 # however.
1404 options FDC_DEBUG
1405 #
1406 # Activate this line if you happen to have an Insight floppy tape.
1407 # Probing them proved to be dangerous for people with floppy disks only,
1408 # so it's "hidden" behind a flag:
1409 #hint.fdc.0.flags="1"
1410
1411 # Specify floppy devices
1412 hint.fd.0.at="fdc0"
1413 hint.fd.0.drive="0"
1414 hint.fd.1.at="fdc0"
1415 hint.fd.1.drive="1"
1416
1417 #
1418 # sio: serial ports (see sio(4)), including support for various
1419 # PC Card devices, such as Modem and NICs (see etc/defaults/pccard.conf)
1420
1421 device sio
1422 hint.sio.0.at="isa"
1423 hint.sio.0.port="0x3F8"
1424 hint.sio.0.flags="0x10"
1425 hint.sio.0.irq="4"
1426
1427 #
1428 # `flags' for serial drivers that support consoles (only for sio now):
1429 # 0x10 enable console support for this unit. The other console flags
1430 # are ignored unless this is set. Enabling console support does
1431 # not make the unit the preferred console - boot with -h or set
1432 # the 0x20 flag for that. Currently, at most one unit can have
1433 # console support; the first one (in config file order) with
1434 # this flag set is preferred. Setting this flag for sio0 gives
1435 # the old behaviour.
1436 # 0x20 force this unit to be the console (unless there is another
1437 # higher priority console). This replaces the COMCONSOLE option.
1438 # 0x40 reserve this unit for low level console operations. Do not
1439 # access the device in any normal way.
1440 # 0x80 use this port for serial line gdb support in ddb.
1441 #
1442 # PnP `flags'
1443 # 0x1 disable probing of this device. Used to prevent your modem
1444 # from being attached as a PnP modem.
1445 #
1446
1447 # Options for serial drivers that support consoles (only for sio now):
1448 options BREAK_TO_DEBUGGER #a BREAK on a comconsole goes to
1449 #DDB, if available.
1450 options CONSPEED=115200 # speed for serial console
1451 # (default 9600)
1452
1453 # Solaris implements a new BREAK which is initiated by a character
1454 # sequence CR ~ ^b which is similar to a familiar pattern used on
1455 # Sun servers by the Remote Console.
1456 options ALT_BREAK_TO_DEBUGGER
1457
1458 # Options for sio:
1459 options COM_ESP #code for Hayes ESP
1460 options COM_MULTIPORT #code for some cards with shared IRQs
1461
1462 # Other flags for sio that aren't documented in the man page.
1463 # 0x20000 enable hardware RTS/CTS and larger FIFOs. Only works for
1464 # ST16650A-compatible UARTs.
1465
1466 # PCI Universal Communications driver
1467 # Supports various single and multi port PCI serial cards. Maybe later
1468 # also the parallel ports on combination serial/parallel cards. New cards
1469 # can be added in src/sys/dev/puc/pucdata.c.
1470 #
1471 # If the PUC_FASTINTR option is used the driver will try to use fast
1472 # interrupts. The card must then be the only user of that interrupt.
1473 # Interrupts cannot be shared when using PUC_FASTINTR.
1474 device puc
1475 options PUC_FASTINTR
1476
1477 #
1478 # Network interfaces:
1479 #
1480 # MII bus support is required for some PCI 10/100 ethernet NICs,
1481 # namely those which use MII-compliant transceivers or implement
1482 # tranceiver control interfaces that operate like an MII. Adding
1483 # "device miibus0" to the kernel config pulls in support for
1484 # the generic miibus API and all of the PHY drivers, including a
1485 # generic one for PHYs that aren't specifically handled by an
1486 # individual driver.
1487 device miibus
1488
1489 # an: Aironet 4500/4800 802.11 wireless adapters. Supports the PCMCIA,
1490 # PCI and ISA varieties.
1491 # awi: Support for IEEE 802.11 PC Card devices using the AMD Am79C930 and
1492 # Harris (Intersil) Chipset with PCnetMobile firmware by AMD.
1493 # bge: Support for gigabit ethernet adapters based on the Broadcom
1494 # BCM570x family of controllers, including the 3Com 3c996-T,
1495 # the Netgear GA302T, the SysKonnect SK-9D21 and SK-9D41, and
1496 # the embedded gigE NICs on Dell PowerEdge 2550 servers.
1497 # cm: Arcnet SMC COM90c26 / SMC COM90c56
1498 # (and SMC COM90c66 in '56 compatibility mode) adapters.
1499 # cnw: Xircom CNW/Netware Airsurfer PC Card adapter
1500 # cs: IBM Etherjet and other Crystal Semi CS89x0-based adapters
1501 # dc: Support for PCI fast ethernet adapters based on the DEC/Intel 21143
1502 # and various workalikes including:
1503 # the ADMtek AL981 Comet and AN985 Centaur, the ASIX Electronics
1504 # AX88140A and AX88141, the Davicom DM9100 and DM9102, the Lite-On
1505 # 82c168 and 82c169 PNIC, the Lite-On/Macronix LC82C115 PNIC II
1506 # and the Macronix 98713/98713A/98715/98715A/98725 PMAC. This driver
1507 # replaces the old al, ax, dm, pn and mx drivers. List of brands:
1508 # Digital DE500-BA, Kingston KNE100TX, D-Link DFE-570TX, SOHOware SFA110,
1509 # SVEC PN102-TX, CNet Pro110B, 120A, and 120B, Compex RL100-TX,
1510 # LinkSys LNE100TX, LNE100TX V2.0, Jaton XpressNet, Alfa Inc GFC2204,
1511 # KNE110TX.
1512 # de: Digital Equipment DC21040
1513 # em: Intel Pro/1000 Gigabit Ethernet 82542, 82543, 82544 based adapters.
1514 # ep: 3Com 3C509, 3C529, 3C556, 3C562D, 3C563D, 3C572, 3C574X, 3C579, 3C589
1515 # and PC Card devices using these chipsets.
1516 # ex: Intel EtherExpress Pro/10 and other i82595-based adapters,
1517 # Olicom Ethernet PC Card devices.
1518 # fe: Fujitsu MB86960A/MB86965A Ethernet
1519 # fea: DEC DEFEA EISA FDDI adapter
1520 # fpa: Support for the Digital DEFPA PCI FDDI. `device fddi' is also needed.
1521 # fxp: Intel EtherExpress Pro/100B
1522 # (hint of prefer_iomap can be done to prefer I/O instead of Mem mapping)
1523 # gx: Intel Pro/1000 Gigabit Ethernet (82542, 82543-F, 82543-T)
1524 # lge: Support for PCI gigabit ethernet adapters based on the Level 1
1525 # LXT1001 NetCellerator chipset. This includes the D-Link DGE-500SX,
1526 # SMC TigerCard 1000 (SMC9462SX), and some Addtron cards.
1527 # my: Myson Fast Ethernet (MTD80X, MTD89X)
1528 # nge: Support for PCI gigabit ethernet adapters based on the National
1529 # Semiconductor DP83820 and DP83821 chipset. This includes the
1530 # SMC EZ Card 1000 (SMC9462TX), D-Link DGE-500T, Asante FriendlyNet
1531 # GigaNIX 1000TA and 1000TPC, the Addtron AEG320T, the LinkSys
1532 # EG1032 and EG1064, the Surecom EP-320G-TX and the Netgear GA622T.
1533 # pcn: Support for PCI fast ethernet adapters based on the AMD Am79c97x
1534 # chipsets, including the PCnet/FAST, PCnet/FAST+, PCnet/PRO and
1535 # PCnet/Home. These were previously handled by the lnc driver (and
1536 # still will be if you leave this driver out of the kernel).
1537 # rl: Support for PCI fast ethernet adapters based on the RealTek 8129/8139
1538 # chipset. Note that the RealTek driver defaults to using programmed
1539 # I/O to do register accesses because memory mapped mode seems to cause
1540 # severe lockups on SMP hardware. This driver also supports the
1541 # Accton EN1207D `Cheetah' adapter, which uses a chip called
1542 # the MPX 5030/5038, which is either a RealTek in disguise or a
1543 # RealTek workalike. Note that the D-Link DFE-530TX+ uses the RealTek
1544 # chipset and is supported by this driver, not the 'vr' driver.
1545 # sf: Support for Adaptec Duralink PCI fast ethernet adapters based on the
1546 # Adaptec AIC-6915 "starfire" controller.
1547 # This includes dual and quad port cards, as well as one 100baseFX card.
1548 # Most of these are 64-bit PCI devices, except for one single port
1549 # card which is 32-bit.
1550 # sis: Support for NICs based on the Silicon Integrated Systems SiS 900,
1551 # SiS 7016 and NS DP83815 PCI fast ethernet controller chips.
1552 # sbsh: Support for Granch SBNI16 SHDSL modem PCI adapters
1553 # sk: Support for the SysKonnect SK-984x series PCI gigabit ethernet NICs.
1554 # This includes the SK-9841 and SK-9842 single port cards (single mode
1555 # and multimode fiber) and the SK-9843 and SK-9844 dual port cards
1556 # (also single mode and multimode).
1557 # The driver will autodetect the number of ports on the card and
1558 # attach each one as a separate network interface.
1559 # sn: Support for ISA and PC Card Ethernet devices using the
1560 # SMC91C90/92/94/95 chips.
1561 # ste: Sundance Technologies ST201 PCI fast ethernet controller, includes
1562 # the D-Link DFE-550TX.
1563 # ti: Support for PCI gigabit ethernet NICs based on the Alteon Networks
1564 # Tigon 1 and Tigon 2 chipsets. This includes the Alteon AceNIC, the
1565 # 3Com 3c985, the Netgear GA620 and various others. Note that you will
1566 # probably want to bump up NMBCLUSTERS a lot to use this driver.
1567 # tl: Support for the Texas Instruments TNETE100 series 'ThunderLAN'
1568 # cards and integrated ethernet controllers. This includes several
1569 # Compaq Netelligent 10/100 cards and the built-in ethernet controllers
1570 # in several Compaq Prosignia, Proliant and Deskpro systems. It also
1571 # supports several Olicom 10Mbps and 10/100 boards.
1572 # tx: SMC 9432 TX, BTX and FTX cards. (SMC EtherPower II serie)
1573 # txp: Support for 3Com 3cR990 cards with the "Typhoon" chipset
1574 # vr: Support for various fast ethernet adapters based on the VIA
1575 # Technologies VT3043 `Rhine I' and VT86C100A `Rhine II' chips,
1576 # including the D-Link DFE530TX (see 'rl' for DFE530TX+), the Hawking
1577 # Technologies PN102TX, and the AOpen/Acer ALN-320.
1578 # vx: 3Com 3C590 and 3C595
1579 # wb: Support for fast ethernet adapters based on the Winbond W89C840F chip.
1580 # Note: this is not the same as the Winbond W89C940F, which is a
1581 # NE2000 clone.
1582 # wi: Lucent WaveLAN/IEEE 802.11 PCMCIA adapters. Note: this supports both
1583 # the PCMCIA and ISA cards: the ISA card is really a PCMCIA to ISA
1584 # bridge with a PCMCIA adapter plugged into it.
1585 # xe: Xircom/Intel EtherExpress Pro100/16 PC Card ethernet controller,
1586 # Accton Fast EtherCard-16, Compaq Netelligent 10/100 PC Card,
1587 # Toshiba 10/100 Ethernet PC Card, Xircom 16-bit Ethernet + Modem 56
1588 # xl: Support for the 3Com 3c900, 3c905, 3c905B and 3c905C (Fast)
1589 # Etherlink XL cards and integrated controllers. This includes the
1590 # integrated 3c905B-TX chips in certain Dell Optiplex and Dell
1591 # Precision desktop machines and the integrated 3c905-TX chips
1592 # in Dell Latitude laptop docking stations.
1593 # Also supported: 3Com 3c980(C)-TX, 3Com 3cSOHO100-TX, 3Com 3c450-TX
1594
1595 # Order for ISA/EISA devices is important here
1596
1597 device cm
1598 hint.cm.0.at="isa"
1599 hint.cm.0.port="0x2e0"
1600 hint.cm.0.irq="9"
1601 hint.cm.0.maddr="0xdc000"
1602 device cs
1603 hint.cs.0.at="isa"
1604 hint.cs.0.port="0x300"
1605 device ep
1606 device ex
1607 device fe
1608 hint.fe.0.at="isa"
1609 hint.fe.0.port="0x300"
1610 device fea
1611 device sn
1612 hint.sn.0.at="isa"
1613 hint.sn.0.port="0x300"
1614 hint.sn.0.irq="10"
1615 device an
1616 device awi
1617 device cnw
1618 device wi
1619 device xe
1620
1621 # PCI Ethernet NICs that use the common MII bus controller code.
1622 device dc # DEC/Intel 21143 and various workalikes
1623 device fxp # Intel EtherExpress PRO/100B (82557, 82558)
1624 hint.fxp.0.prefer_iomap="0"
1625 device my # Myson Fast Ethernet (MTD80X, MTD89X)
1626 device rl # RealTek 8129/8139
1627 device pcn # AMD Am79C97x PCI 10/100 NICs
1628 device sf # Adaptec AIC-6915 (``Starfire'')
1629 device sbsh # Granch SBNI16 SHDSL modem
1630 device sis # Silicon Integrated Systems SiS 900/SiS 7016
1631 device ste # Sundance ST201 (D-Link DFE-550TX)
1632 device tl # Texas Instruments ThunderLAN
1633 device tx # SMC EtherPower II (83c170 ``EPIC'')
1634 device vr # VIA Rhine, Rhine II
1635 device wb # Winbond W89C840F
1636 device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'')
1637
1638 # PCI Ethernet NICs.
1639 device de # DEC/Intel DC21x4x (``Tulip'')
1640 device txp # 3Com 3cR990 (``Typhoon'')
1641 device vx # 3Com 3c590, 3c595 (``Vortex'')
1642
1643 # PCI Gigabit & FDDI NICs.
1644 device bge
1645 device gx
1646 device lge
1647 device nge
1648 device sk
1649 device ti
1650 device fpa
1651
1652 # Use "private" jumbo buffers allocated exclusively for the ti(4) driver.
1653 # This option is incompatible with the TI_JUMBO_HDRSPLIT option below.
1654 #options TI_PRIVATE_JUMBOS
1655 # Turn on the header splitting option for the ti(4) driver firmware. This
1656 # only works for Tigon II chips, and has no effect for Tigon I chips.
1657 options TI_JUMBO_HDRSPLIT
1658
1659 # These two options allow manipulating the mbuf cluster size and mbuf size,
1660 # respectively. Be very careful with NIC driver modules when changing
1661 # these from their default values, because that can potentially cause a
1662 # mismatch between the mbuf size assumed by the kernel and the mbuf size
1663 # assumed by a module. The only driver that currently has the ability to
1664 # detect a mismatch is ti(4).
1665 options MCLSHIFT=12 # mbuf cluster shift in bits, 12 == 4KB
1666 options MSIZE=512 # mbuf size in bytes
1667
1668 #
1669 # ATM related options (Cranor version)
1670 # (note: this driver cannot be used with the HARP ATM stack)
1671 #
1672 # The `en' device provides support for Efficient Networks (ENI)
1673 # ENI-155 PCI midway cards, and the Adaptec 155Mbps PCI ATM cards (ANA-59x0).
1674 #
1675 # atm device provides generic atm functions and is required for
1676 # atm devices.
1677 # NATM enables the netnatm protocol family that can be used to
1678 # bypass TCP/IP.
1679 #
1680 # the current driver supports only PVC operations (no atm-arp, no multicast).
1681 # for more details, please read the original documents at
1682 # http://www.ccrc.wustl.edu/pub/chuck/tech/bsdatm/bsdatm.html
1683 #
1684 device atm
1685 device en
1686 options NATM #native ATM
1687
1688 #
1689 # Audio drivers: `pcm', `sbc', `gusc'
1690 #
1691 # pcm: PCM audio through various sound cards.
1692 #
1693 # This has support for a large number of new audio cards, based on
1694 # CS423x, OPTi931, Yamaha OPL-SAx, and also for SB16, GusPnP.
1695 # For more information about this driver and supported cards,
1696 # see the pcm.4 man page.
1697 #
1698 # The flags of the device tells the device a bit more info about the
1699 # device that normally is obtained through the PnP interface.
1700 # bit 2..0 secondary DMA channel;
1701 # bit 4 set if the board uses two dma channels;
1702 # bit 15..8 board type, overrides autodetection; leave it
1703 # zero if don't know what to put in (and you don't,
1704 # since this is unsupported at the moment...).
1705 #
1706 # Supported cards include:
1707 # Creative SoundBlaster ISA PnP/non-PnP
1708 # Supports ESS and Avance ISA chips as well.
1709 # Gravis UltraSound ISA PnP/non-PnP
1710 # Crystal Semiconductor CS461x/428x PCI
1711 # Neomagic 256AV (ac97)
1712 # Most of the more common ISA/PnP sb/mss/ess compatable cards.
1713
1714 device pcm
1715
1716 # For non-pnp sound cards with no bridge drivers only:
1717 hint.pcm.0.at="isa"
1718 hint.pcm.0.irq="10"
1719 hint.pcm.0.drq="1"
1720 hint.pcm.0.flags="0x0"
1721
1722 #
1723 # midi: MIDI interfaces and synthesizers
1724 #
1725
1726 device midi
1727
1728 # For non-pnp sound cards with no bridge drivers:
1729 hint.midi.0.at="isa"
1730 hint.midi.0.irq="5"
1731 hint.midi.0.flags="0x0"
1732
1733 # For serial ports (this example configures port 2):
1734 # TODO: implement generic tty-midi interface so that we can use
1735 # other uarts.
1736 hint.midi.0.at="isa"
1737 hint.midi.0.port="0x2F8"
1738 hint.midi.0.irq="3"
1739
1740 #
1741 # seq: MIDI sequencer
1742 #
1743
1744 device seq
1745
1746 # The bridge drivers for sound cards. These can be separately configured
1747 # for providing services to the likes of new-midi.
1748 # When used with 'device pcm' they also provide pcm sound services.
1749 #
1750 # sbc: Creative SoundBlaster ISA PnP/non-PnP
1751 # Supports ESS and Avance ISA chips as well.
1752 # gusc: Gravis UltraSound ISA PnP/non-PnP
1753 # csa: Crystal Semiconductor CS461x/428x PCI
1754
1755 # For non-PnP cards:
1756 device sbc
1757 hint.sbc.0.at="isa"
1758 hint.sbc.0.port="0x220"
1759 hint.sbc.0.irq="5"
1760 hint.sbc.0.drq="1"
1761 hint.sbc.0.flags="0x15"
1762 device gusc
1763 hint.gusc.0.at="isa"
1764 hint.gusc.0.port="0x220"
1765 hint.gusc.0.irq="5"
1766 hint.gusc.0.drq="1"
1767 hint.gusc.0.flags="0x13"
1768
1769 #
1770 # Miscellaneous hardware:
1771 #
1772 # scd: Sony CD-ROM using proprietary (non-ATAPI) interface
1773 # mcd: Mitsumi CD-ROM using proprietary (non-ATAPI) interface
1774 # meteor: Matrox Meteor video capture board
1775 # bktr: Brooktree bt848/848a/849a/878/879 video capture and TV Tuner board
1776 # cy: Cyclades serial driver
1777 # joy: joystick (including IO DATA PCJOY PC Card joystick)
1778 # rc: RISCom/8 multiport card
1779 # rp: Comtrol Rocketport(ISA/PCI) - single card
1780 # si: Specialix SI/XIO 4-32 port terminal multiplexor
1781 # nmdm: nullmodem terminal driver (see nmdm(4))
1782
1783 # Notes on the Comtrol Rocketport driver:
1784 #
1785 # The exact values used for rp0 depend on how many boards you have
1786 # in the system. The manufacturer's sample configs are listed as:
1787 #
1788 # device rp # core driver support
1789 #
1790 # Comtrol Rocketport ISA single card
1791 # hint.rp.0.at="isa"
1792 # hint.rp.0.port="0x280"
1793 #
1794 # If instead you have two ISA cards, one installed at 0x100 and the
1795 # second installed at 0x180, then you should add the following to
1796 # your kernel probe hints:
1797 # hint.rp.0.at="isa"
1798 # hint.rp.0.port="0x100"
1799 # hint.rp.1.at="isa"
1800 # hint.rp.1.port="0x180"
1801 #
1802 # For 4 ISA cards, it might be something like this:
1803 # hint.rp.0.at="isa"
1804 # hint.rp.0.port="0x180"
1805 # hint.rp.1.at="isa"
1806 # hint.rp.1.port="0x100"
1807 # hint.rp.2.at="isa"
1808 # hint.rp.2.port="0x340"
1809 # hint.rp.3.at="isa"
1810 # hint.rp.3.port="0x240"
1811 #
1812 # For PCI cards, you need no hints.
1813
1814 # Mitsumi CD-ROM
1815 device mcd
1816 hint.mcd.0.at="isa"
1817 hint.mcd.0.port="0x300"
1818 # for the Sony CDU31/33A CDROM
1819 device scd
1820 hint.scd.0.at="isa"
1821 hint.scd.0.port="0x230"
1822 device joy # PnP aware, hints for nonpnp only
1823 hint.joy.0.at="isa"
1824 hint.joy.0.port="0x201"
1825 device rc
1826 hint.rc.0.at="isa"
1827 hint.rc.0.port="0x220"
1828 hint.rc.0.irq="12"
1829 device rp
1830 hint.rp.0.at="isa"
1831 hint.rp.0.port="0x280"
1832 device si
1833 options SI_DEBUG
1834 hint.si.0.at="isa"
1835 hint.si.0.maddr="0xd0000"
1836 hint.si.0.irq="12"
1837 device nmdm
1838
1839 #
1840 # The `meteor' device is a PCI video capture board. It can also have the
1841 # following options:
1842 # options METEOR_ALLOC_PAGES=xxx preallocate kernel pages for data entry
1843 # figure (ROWS*COLUMN*BYTES_PER_PIXEL*FRAME+PAGE_SIZE-1)/PAGE_SIZE
1844 # options METEOR_DEALLOC_PAGES remove all allocated pages on close(2)
1845 # options METEOR_DEALLOC_ABOVE=xxx remove all allocated pages above the
1846 # specified amount. If this value is below the allocated amount no action
1847 # taken
1848 # options METEOR_SYSTEM_DEFAULT={METEOR_PAL|METEOR_NTSC|METEOR_SECAM}, used
1849 # for initialization of fps routine when a signal is not present.
1850 #
1851 # The 'bktr' device is a PCI video capture device using the Brooktree
1852 # bt848/bt848a/bt849a/bt878/bt879 chipset. When used with a TV Tuner it forms a
1853 # TV card, eg Miro PC/TV, Hauppauge WinCast/TV WinTV, VideoLogic Captivator,
1854 # Intel Smart Video III, AverMedia, IMS Turbo, FlyVideo.
1855 #
1856 # options OVERRIDE_CARD=xxx
1857 # options OVERRIDE_TUNER=xxx
1858 # options OVERRIDE_MSP=1
1859 # options OVERRIDE_DBX=1
1860 # These options can be used to override the auto detection
1861 # The current values for xxx are found in src/sys/dev/bktr/bktr_card.h
1862 # Using sysctl(8) run-time overrides on a per-card basis can be made
1863 #
1864 # options BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_PAL
1865 # or
1866 # options BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_NTSC
1867 # Specifes the default video capture mode.
1868 # This is required for Dual Crystal (28&35Mhz) boards where PAL is used
1869 # to prevent hangs during initialisation. eg VideoLogic Captivator PCI.
1870 #
1871 # options BKTR_USE_PLL
1872 # PAL or SECAM users who have a 28Mhz crystal (and no 35Mhz crystal)
1873 # must enable PLL mode with this option. eg some new Bt878 cards.
1874 #
1875 # options BKTR_GPIO_ACCESS
1876 # This enable IOCTLs which give user level access to the GPIO port.
1877 #
1878 # options BKTR_NO_MSP_RESET
1879 # Prevents the MSP34xx reset. Good if you initialise the MSP in another OS first
1880 #
1881 # options BKTR_430_FX_MODE
1882 # Switch Bt878/879 cards into Intel 430FX chipset compatibility mode.
1883 #
1884 # options BKTR_SIS_VIA_MODE
1885 # Switch Bt878/879 cards into SIS/VIA chipset compatibility mode which is
1886 # needed for some old SiS and VIA chipset motherboards.
1887 # This also allows Bt878/879 chips to work on old OPTi (<1997) chipset
1888 # motherboards and motherboards with bad or incomplete PCI 2.1 support.
1889 # As a rough guess, old = before 1998
1890 #
1891
1892 device meteor 1
1893
1894 #
1895 # options BKTR_USE_FREEBSD_SMBUS
1896 # Compile with FreeBSD SMBus implementation
1897 #
1898 # Brooktree driver has been ported to the new I2C framework. Thus,
1899 # you'll need to have the following 3 lines in the kernel config.
1900 # device smbus
1901 # device iicbus
1902 # device iicbb
1903 # device iicsmb
1904 # The iic and smb devices are only needed if you want to control other
1905 # I2C slaves connected to the external connector of some cards.
1906 #
1907 device bktr
1908
1909 #
1910 # PC Card/PCMCIA
1911 # (OLDCARD)
1912 #
1913 # card: pccard slots
1914 # pcic: isa/pccard bridge
1915 #device pcic
1916 #hint.pcic.0.at="isa"
1917 #hint.pcic.1.at="isa"
1918 #device card 1
1919
1920 #
1921 # PC Card/PCMCIA and Cardbus
1922 # (NEWCARD)
1923 #
1924 # Note that NEWCARD and OLDCARD are incompatible. Do not use both at the same
1925 # time.
1926 #
1927 # pccbb: pci/cardbus bridge implementing YENTA interface
1928 # pccard: pccard slots
1929 # cardbus: cardbus slots
1930 device cbb
1931 device pccard
1932 device cardbus
1933 #device pcic ISA attachment currently busted
1934 #hint.pcic.0.at="isa"
1935 #hint.pcic.1.at="isa"
1936
1937 #
1938 # SMB bus
1939 #
1940 # System Management Bus support is provided by the 'smbus' device.
1941 # Access to the SMBus device is via the 'smb' device (/dev/smb*),
1942 # which is a child of the 'smbus' device.
1943 #
1944 # Supported devices:
1945 # smb standard io through /dev/smb*
1946 #
1947 # Supported SMB interfaces:
1948 # iicsmb I2C to SMB bridge with any iicbus interface
1949 # bktr brooktree848 I2C hardware interface
1950 # intpm Intel PIIX4 (82371AB, 82443MX) Power Management Unit
1951 # alpm Acer Aladdin-IV/V/Pro2 Power Management Unit
1952 # ichsmb Intel ICH SMBus controller chips (82801AA, 82801AB, 82801BA)
1953 # viapm VIA VT82C586B/596B/686A and VT8233 Power Management Unit
1954 # amdpm AMD 756 Power Management Unit
1955 # nfpm NVIDIA nForce Power Management Unit
1956 #
1957 device smbus # Bus support, required for smb below.
1958
1959 device intpm
1960 device alpm
1961 device ichsmb
1962 device viapm
1963 device amdpm
1964 device nfpm
1965
1966 device smb
1967
1968 #
1969 # I2C Bus
1970 #
1971 # Philips i2c bus support is provided by the `iicbus' device.
1972 #
1973 # Supported devices:
1974 # ic i2c network interface
1975 # iic i2c standard io
1976 # iicsmb i2c to smb bridge. Allow i2c i/o with smb commands.
1977 #
1978 # Supported interfaces:
1979 # bktr brooktree848 I2C software interface
1980 #
1981 # Other:
1982 # iicbb generic I2C bit-banging code (needed by lpbb, bktr)
1983 #
1984 device iicbus # Bus support, required for ic/iic/iicsmb below.
1985 device iicbb
1986
1987 device ic
1988 device iic
1989 device iicsmb # smb over i2c bridge
1990
1991 # Parallel-Port Bus
1992 #
1993 # Parallel port bus support is provided by the `ppbus' device.
1994 # Multiple devices may be attached to the parallel port, devices
1995 # are automatically probed and attached when found.
1996 #
1997 # Supported devices:
1998 # vpo Iomega Zip Drive
1999 # Requires SCSI disk support ('scbus' and 'da'), best
2000 # performance is achieved with ports in EPP 1.9 mode.
2001 # lpt Parallel Printer
2002 # plip Parallel network interface
2003 # ppi General-purpose I/O ("Geek Port") + IEEE1284 I/O
2004 # pps Pulse per second Timing Interface
2005 # lpbb Philips official parallel port I2C bit-banging interface
2006 #
2007 # Supported interfaces:
2008 # ppc ISA-bus parallel port interfaces.
2009 #
2010
2011 options PPC_PROBE_CHIPSET # Enable chipset specific detection
2012 # (see flags in ppc(4))
2013 options DEBUG_1284 # IEEE1284 signaling protocol debug
2014 options PERIPH_1284 # Makes your computer act as an IEEE1284
2015 # compliant peripheral
2016 options DONTPROBE_1284 # Avoid boot detection of PnP parallel devices
2017 options VP0_DEBUG # ZIP/ZIP+ debug
2018 options LPT_DEBUG # Printer driver debug
2019 options PPC_DEBUG # Parallel chipset level debug
2020 options PLIP_DEBUG # Parallel network IP interface debug
2021 options PCFCLOCK_VERBOSE # Verbose pcfclock driver
2022 options PCFCLOCK_MAX_RETRIES=5 # Maximum read tries (default 10)
2023
2024 device ppc
2025 hint.ppc.0.at="isa"
2026 hint.ppc.0.irq="7"
2027 device ppbus
2028 device vpo
2029 device lpt
2030 device plip
2031 device ppi
2032 device pps
2033 device lpbb
2034 device pcfclock
2035
2036 # Kernel BOOTP support
2037
2038 options BOOTP # Use BOOTP to obtain IP address/hostname
2039 # Requires NFSCLIENT and NFS_ROOT
2040 options BOOTP_NFSROOT # NFS mount root filesystem using BOOTP info
2041 options BOOTP_NFSV3 # Use NFS v3 to NFS mount root
2042 options BOOTP_COMPAT # Workaround for broken bootp daemons.
2043 options BOOTP_WIRED_TO=fxp0 # Use interface fxp0 for BOOTP
2044
2045 #
2046 # Add tie-ins for a hardware watchdog. This only enable the hooks;
2047 # the user must still supply the actual driver.
2048 #
2049 options HW_WDOG
2050
2051 #
2052 # Disable swapping of upages and stack pages. This option removes all
2053 # code which actually performs swapping, so it's not possible to turn
2054 # it back on at run-time.
2055 #
2056 # This is sometimes usable for systems which don't have any swap space
2057 # (see also sysctls "vm.defer_swapspace_pageouts" and
2058 # "vm.disable_swapspace_pageouts")
2059 #
2060 #options NO_SWAPPING
2061
2062 # Set the number of sf_bufs to allocate. sf_bufs are virtual buffers
2063 # for sendfile(2) that are used to map file VM pages, and normally
2064 # default to a quantity that is roughly 16*MAXUSERS+512. You would
2065 # typically want about 4 of these for each simultaneous file send.
2066 #
2067 options NSFBUFS=1024
2068
2069 #
2070 # Enable extra debugging code for locks. This stores the filename and
2071 # line of whatever acquired the lock in the lock itself, and change a
2072 # number of function calls to pass around the relevant data. This is
2073 # not at all useful unless you are debugging lock code. Also note
2074 # that it is likely to break e.g. fstat(1) unless you recompile your
2075 # userland with -DDEBUG_LOCKS as well.
2076 #
2077 options DEBUG_LOCKS
2078
2079
2080 #####################################################################
2081 # USB support
2082 # UHCI controller
2083 device uhci
2084 # OHCI controller
2085 device ohci
2086 # EHCI controller
2087 device ehci
2088 # General USB code (mandatory for USB)
2089 device usb
2090 #
2091 # USB Double Bulk Pipe devices
2092 device udbp
2093 # Generic USB device driver
2094 device ugen
2095 # Human Interface Device (anything with buttons and dials)
2096 device uhid
2097 # USB keyboard
2098 device ukbd
2099 # USB printer
2100 device ulpt
2101 # USB Iomega Zip 100 Drive (Requires scbus and da)
2102 device umass
2103 # USB modem support
2104 device umodem
2105 # USB mouse
2106 device ums
2107 # Diamond Rio 500 Mp3 player
2108 device urio
2109 # USB scanners
2110 device uscanner
2111 # USB serial support
2112 device ucom
2113 # USB support for serial adapters based on the FT8U100AX and FT8U232AM
2114 device uftdi
2115 # USB support for Prolific PL-2303 serial adapters
2116 device uplcom
2117 # USB support for Belkin F5U103 and compatible serial adapters
2118 device ubsa
2119 # USB serial support for DDI pocket's PHS
2120 device uvscom
2121 # USB Visor and Palm devices
2122 device uvisor
2123
2124 # USB Fm Radio
2125 device ufm
2126 #
2127 # ADMtek USB ethernet. Supports the LinkSys USB100TX,
2128 # the Billionton USB100, the Melco LU-ATX, the D-Link DSB-650TX
2129 # and the SMC 2202USB. Also works with the ADMtek AN986 Pegasus
2130 # eval board.
2131 device aue
2132 #
2133 # CATC USB-EL1201A USB ethernet. Supports the CATC Netmate
2134 # and Netmate II, and the Belkin F5U111.
2135 device cue
2136 #
2137 # Kawasaki LSI ethernet. Supports the LinkSys USB10T,
2138 # Entrega USB-NET-E45, Peracom Ethernet Adapter, the
2139 # 3Com 3c19250, the ADS Technologies USB-10BT, the ATen UC10T,
2140 # the Netgear EA101, the D-Link DSB-650, the SMC 2102USB
2141 # and 2104USB, and the Corega USB-T.
2142 device kue
2143 #
2144 # RealTek RTL8150 USB to fast ethernet. Supports the Melco LUA-KTX
2145 # and the GREEN HOUSE GH-USB100B.
2146 device rue
2147
2148 # debugging options for the USB subsystem
2149 #
2150 options USB_DEBUG
2151
2152 # options for ukbd:
2153 options UKBD_DFLT_KEYMAP # specify the built-in keymap
2154 makeoptions UKBD_DFLT_KEYMAP=it.iso
2155
2156 # options for uvscom:
2157 options UVSCOM_DEFAULT_OPKTSIZE=8 # default output packet size
2158
2159 #####################################################################
2160 # Firewire support
2161
2162 device firewire # Firewire bus code
2163 device sbp # SCSI over Firewire (Requires scbus and da)
2164 device fwe # Ethernet over Firewire (non-standard!)
2165
2166 #####################################################################
2167 # crypto subsystem
2168 #
2169 # This is a port of the openbsd crypto framework. Include this when
2170 # configuring FAST_IPSEC and when you have a h/w crypto device to accelerate
2171 # user applications that link to openssl.
2172 #
2173 # Drivers are ports from openbsd with some simple enhancements that have
2174 # been fed back to openbsd.
2175
2176 device crypto # core crypto support
2177 device cryptodev # /dev/crypto for access to h/w
2178
2179 device rndtest # FIPS 140-2 entropy tester
2180
2181 device hifn # Hifn 7951, 7781, etc.
2182 options HIFN_DEBUG # enable debugging support: hw.hifn.debug
2183 options HIFN_RNDTEST # enable rndtest support
2184
2185 device ubsec # Broadcom 5501, 5601, 58xx
2186 options UBSEC_DEBUG # enable debugging support: hw.ubsec.debug
2187 options UBSEC_RNDTEST # enable rndtest support
2188
2189 #####################################################################
2190
2191
2192 #
2193 # Embedded system options:
2194 #
2195 # An embedded system might want to run something other than init.
2196 options INIT_PATH=/sbin/init:/stand/sysinstall
2197
2198 # Debug options
2199 options BUS_DEBUG # enable newbus debugging
2200 options DEBUG_VFS_LOCKS # enable vfs lock debugging
2201
2202 #####################################################################
2203 # SYSV IPC KERNEL PARAMETERS
2204 #
2205 # Maximum number of entries in a semaphore map.
2206 options SEMMAP=31
2207
2208 # Maximum number of System V semaphores that can be used on the system at
2209 # one time.
2210 options SEMMNI=11
2211
2212 # Total number of semaphores system wide
2213 options SEMMNS=61
2214
2215 # Total number of undo structures in system
2216 options SEMMNU=31
2217
2218 # Maximum number of System V semaphores that can be used by a single process
2219 # at one time.
2220 options SEMMSL=61
2221
2222 # Maximum number of operations that can be outstanding on a single System V
2223 # semaphore at one time.
2224 options SEMOPM=101
2225
2226 # Maximum number of undo operations that can be outstanding on a single
2227 # System V semaphore at one time.
2228 options SEMUME=11
2229
2230 # Maximum number of shared memory pages system wide.
2231 options SHMALL=1025
2232
2233 # Maximum size, in bytes, of a single System V shared memory region.
2234 options SHMMAX=(SHMMAXPGS*PAGE_SIZE+1)
2235 options SHMMAXPGS=1025
2236
2237 # Minimum size, in bytes, of a single System V shared memory region.
2238 options SHMMIN=2
2239
2240 # Maximum number of shared memory regions that can be used on the system
2241 # at one time.
2242 options SHMMNI=33
2243
2244 # Maximum number of System V shared memory regions that can be attached to
2245 # a single process at one time.
2246 options SHMSEG=9
2247
2248 # Set the amount of time (in seconds) the system will wait before
2249 # rebooting automatically when a kernel panic occurs. If set to (-1),
2250 # the system will wait indefinitely until a key is pressed on the
2251 # console.
2252 options PANIC_REBOOT_WAIT_TIME=16
2253
2254 # Attempt to bypass the buffer cache and put data directly into the
2255 # userland buffer for read operation when O_DIRECT flag is set on the
2256 # file. Both offset and length of the read operation must be
2257 # multiples of the physical media sector size.
2258 #
2259 #options DIRECTIO
2260
2261 # Specify a lower limit for the number of swap I/O buffers. They are
2262 # (among other things) used when bypassing the buffer cache due to
2263 # DIRECTIO kernel option enabled and O_DIRECT flag set on file.
2264 #
2265 #options NSWBUF_MIN=120
2266
2267 #####################################################################
2268
2269 # More undocumented options for linting.
2270 # Note that documenting these are not considered an affront.
2271
2272 options CAM_DEBUG_DELAY
2273
2274 # VFS cluster debugging.
2275 options CLUSTERDEBUG
2276
2277 options DEBUG
2278
2279 # Kernel filelock debugging.
2280 options LOCKF_DEBUG
2281
2282 # System V compatible message queues
2283 # Please note that the values provided here are used to test kernel
2284 # building. The defaults in the sources provide almost the same numbers.
2285 # MSGSSZ must be a power of 2 between 8 and 1024.
2286 options MSGMNB=2049 # Max number of chars in queue
2287 options MSGMNI=41 # Max number of message queue identifiers
2288 options MSGSEG=2049 # Max number of message segments
2289 options MSGSSZ=16 # Size of a message segment
2290 options MSGTQL=41 # Max number of messages in system
2291
2292 options NBUF=512 # Number of buffer headers
2293
2294 options NMBCLUSTERS=1024 # Number of mbuf clusters
2295
2296 options SCSI_NCR_DEBUG
2297 options SCSI_NCR_MAX_SYNC=10000
2298 options SCSI_NCR_MAX_WIDE=1
2299 options SCSI_NCR_MYADDR=7
2300
2301 options SC_DEBUG_LEVEL=5 # Syscons debug level
2302 options SC_RENDER_DEBUG # syscons rendering debugging
2303
2304 options SHOW_BUSYBUFS # List buffers that prevent root unmount
2305 options SLIP_IFF_OPTS
2306 options VFS_BIO_DEBUG # VFS buffer I/O debugging
2307
2308 options KSTACK_MAX_PAGES=32 # Maximum pages to give the kernel stack
2309
2310 # Yet more undocumented options for linting.
2311 options AAC_DEBUG
2312 options ACD_DEBUG
2313 options ACPI_MAX_THREADS=1
2314 #!options ACPI_NO_SEMAPHORES
2315 # Broken:
2316 ##options ASR_MEASURE_PERFORMANCE
2317 options AST_DEBUG
2318 options ATAPI_DEBUG
2319 options ATA_DEBUG
2320 # BKTR_ALLOC_PAGES has no effect except to cause warnings, and
2321 # BROOKTREE_ALLOC_PAGES hasn't actually been superseded by it, since the
2322 # driver still mostly spells this option BROOKTREE_ALLOC_PAGES.
2323 ##options BKTR_ALLOC_PAGES=(217*4+1)
2324 options BROOKTREE_ALLOC_PAGES=(217*4+1)
2325 options MAXFILES=999
2326 # METEOR_TEST_VIDEO has no effect since meteor is broken.
2327 options METEOR_TEST_VIDEO
2328 options NDEVFSINO=1025
2329 options NDEVFSOVERFLOW=32769
2330
2331 # Yet more undocumented options for linting.
2332 options VGA_DEBUG
Cache object: 3c9c0dbb8f745473d4fc7d36a35fb83c
|