kernel: Add SLAB_DEBUG and VM_PAGE_DEBUG to the LINT* configs.
[dragonfly.git] / sys / config / LINT64
1 #
2 # X86_64_LINT -- config file for checking all the sources, tries to pull in
3 #       as much of the source tree as it can.
4 #
5 # $FreeBSD: src/sys/i386/conf/LINT,v 1.749.2.144 2003/06/04 17:56:59 sam Exp $
6 #
7 # See the kernconf(5) manual page for more information on the format of
8 # this file.
9 #
10 # NB: You probably don't want to try running a kernel built from this
11 # file.  Instead, you should start from X86_64_GENERIC, and add options
12 # from this file as required.
13 #
14
15 # These directives are mandatory.  The machine directive specifies the
16 # platform and the machine_arch directive specifies the cpu architecture.
17 #
18 platform        pc64
19 machine         x86_64
20 machine_arch    x86_64
21
22 #
23 # This is the ``identification'' of the kernel.  Usually this should
24 # be the same as the name of your kernel.
25 #
26 ident           X86_64_LINT
27
28 #
29 # The `maxusers' parameter controls the static sizing of a number of
30 # internal system tables by a formula defined in subr_param.c.  Setting
31 # maxusers to 0 will cause the system to auto-size based on physical
32 # memory.
33 #
34 maxusers        10
35
36 #
37 # The `makeoptions' parameter allows variables to be passed to the
38 # generated Makefile in the build area.
39 #
40 # CONF_CFLAGS gives some extra compiler flags that are added to ${CFLAGS}
41 # after most other flags.  Here we use it to inhibit use of non-optimal
42 # gcc builtin functions (e.g., memcmp).
43 #
44 # DEBUG happens to be magic.
45 # The following is equivalent to 'config -g KERNELNAME' and creates
46 # 'kernel.debug' compiled with -g debugging as well as a normal
47 # 'kernel'.  Use 'make install.debug' to install the debug kernel
48 # but that isn't normally necessary as the debug symbols are not loaded
49 # by the kernel and are not useful there anyway.
50 #
51 # KERNEL can be overridden so that you can change the default name of your
52 # kernel.
53 #
54 # MODULES_OVERRIDE can be used to limit modules built to a specific list.
55 #
56 # INSTALLSTRIPPED can be set to cause installkernel to install stripped
57 # kernels and modules rather than a kernel and modules with debug symbols.
58 #
59 # INSTALLSTRIPPEDMODULES can be set to allow a full debug kernel to be
60 # installed, but to strip the installed modules.
61 #
62 makeoptions     CONF_CFLAGS=-fno-builtin  #Don't allow use of memcmp, etc.
63 #makeoptions    DEBUG=-g                #Build kernel with gdb(1) debug symbols
64 #makeoptions    KERNEL=foo              #Build kernel "foo" and install "/foo"
65 # Only build Linux API modules and plus those parts of the sound system I need.
66 #makeoptions    MODULES_OVERRIDE="linux sound/snd sound/pcm sound/driver/maestro3"
67 #makeoptions    INSTALLSTRIPPED=1
68 #makeoptions    INSTALLSTRIPPEDMODULES=1
69
70 #
71 # Certain applications can grow to be larger than the 128M limit
72 # that DragonFly initially imposes.  Below are some options to
73 # allow that limit to grow to 256MB, and can be increased further
74 # with changing the parameters.  MAXDSIZ is the maximum that the
75 # limit can be set to, and the DFLDSIZ is the default value for
76 # the limit.  MAXSSIZ is the maximum that the stack limit can be
77 # set to.  You might want to set the default lower than the max,
78 # and explicitly set the maximum with a shell command for processes
79 # that regularly exceed the limit like INND.
80 #
81 options         MAXDSIZ="(256*1024*1024)"
82 options         MAXSSIZ="(256*1024*1024)"
83 options         DFLDSIZ="(256*1024*1024)"
84
85 #
86 # BLKDEV_IOSIZE sets the default block size used in user block
87 # device I/O.  Note that this value will be overridden by the label
88 # when specifying a block device from a label with a non-0
89 # partition blocksize.  The default is PAGE_SIZE.
90 #
91 options         BLKDEV_IOSIZE=8192
92
93 # Options for the VM subsystem.
94 options         PQ_CACHESIZE=512        # color for 512k/16k cache
95
96 # This allows you to actually store this configuration file into
97 # the kernel binary itself, where it may be later read by saying:
98 #    strings -n 3 /kernel | sed -n 's/^___//p' > MYKERNEL
99 #
100 options         INCLUDE_CONFIG_FILE     # Include this file in kernel
101
102 #
103 # The root device and filesystem type can be compiled in;
104 # this provides a fallback option if the root device cannot
105 # be correctly guessed by the bootstrap code, or an override if
106 # the RB_DFLTROOT flag (-r) is specified when booting the kernel.
107 #
108 options         ROOTDEVNAME=\"ufs:da0s2e\"
109
110 \f
111 #####################################################################
112 # SMP OPTIONS:
113 #
114 # SMP enables building of a Symmetric MultiProcessor Kernel.
115 #
116 # Notes:
117 #
118 #  An SMP kernel will ONLY run on an Intel MP spec. qualified motherboard.
119 #
120 #  Check the 'Rogue SMP hardware' section to see if additional options
121 #   are required by your hardware.
122 #
123
124 # SMP boxes with severely broken BIOSes which
125 # boot fine for non-SMP builds *might* work in SMP mode
126 # if you disable APIC_IO by setting the loader tunable
127 # hw.apic_io_enable to 0.
128 #
129 options         SMP                     # Symmetric MultiProcessor Kernel
130
131 #
132 # Rogue SMP hardware:
133 #
134
135 # Bridged PCI cards:
136 #
137 # The MP tables of most of the current generation MP motherboards
138 #  do NOT properly support bridged PCI cards.  To use one of these
139 #  cards you should refer to ???
140
141 \f
142 #####################################################################
143 # CPU OPTIONS
144
145 cpu             HAMMER_CPU
146
147 #
148 # Options for CPU features.
149 #
150 # CPU_AMD64X2_INTR_SPAM tries to route HyperTransport EXTINT and NMI
151 # messages to LINT0 on the local APIC when the BIOS has forgotten to
152 # do that.  If this is not done on a multi-core cpu, EXTINT and NMI
153 # get routed to the INTR/NMI pins on *BOTH* cores simultaneously, causing
154 # two INTA ack cycles one of which will almost certainly result in a
155 # spurious interrupt vector being presented.  This is often visible as
156 # an unmaskable IRQ 7 which occurs for every normal interrupt that occurs
157 # on a system.
158 #
159 # CPU_DISABLE_SSE disables SSE/MMX2 instructions support.
160 #
161 options         CPU_AMD64X2_INTR_SPAM
162 #options        CPU_DISABLE_SSE
163 \f
164 #####################################################################
165 # COMPATIBILITY OPTIONS
166
167 #
168 # Implement system calls compatible with 4.3BSD and older versions of
169 # FreeBSD.  You probably do NOT want to remove this as much current code
170 # still relies on the 4.3 emulation.
171 #
172 options         COMPAT_43
173
174 #
175 # These three options provide support for System V Interface
176 # Definition-style interprocess communication, in the form of shared
177 # memory, semaphores, and message queues, respectively.
178 #
179 # System V shared memory and tunable parameters
180 options         SYSVSHM         # include support for shared memory
181 options         SHMMAXPGS=1025  # max amount of shared memory pages (4k on i386)
182 options         SHMALL=1025     # max amount of shared memory (bytes)
183 options         SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)"
184                                 # max shared memory segment size (bytes)
185 options         SHMMIN=2        # min shared memory segment size (bytes)
186 options         SHMMNI=33       # max number of shared memory identifiers
187 options         SHMSEG=9        # max shared memory segments per process
188
189 # System V semaphores and tunable parameters
190 options         SYSVSEM         # include support for semaphores
191 options         SEMMAP=31       # amount of entries in semaphore map
192 options         SEMMNI=11       # number of semaphore identifiers in the system
193 options         SEMMNS=61       # number of semaphores in the system
194 options         SEMMNU=31       # number of undo structures in the system
195 options         SEMMSL=61       # max number of semaphores per id
196 options         SEMOPM=101      # max number of operations per semop call
197 options         SEMUME=11       # max number of undo entries per process
198
199 # System V message queues and tunable parameters
200 options         SYSVMSG         # include support for message queues
201 options         MSGMNB=2049     # max characters per message queue
202 options         MSGMNI=41       # max number of message queue identifiers
203 options         MSGSEG=2049     # max number of message segments in the system
204 options         MSGSSZ=16       # size of a message segment MUST be power of 2
205 options         MSGTQL=41       # max amount of messages in the system
206
207 \f
208 #####################################################################
209 # DEBUGGING OPTIONS
210
211 #
212 # Enable the kernel debugger.
213 #
214 options         DDB
215
216 #
217 # Print a stack trace on kernel panic.
218 #
219 options         DDB_TRACE
220
221 #
222 # Don't drop into DDB for a panic. Intended for unattended operation
223 # where you may want to drop to DDB from the console, but still want
224 # the machine to recover from a panic
225 #
226 options         DDB_UNATTENDED
227
228 #
229 # If using GDB remote mode to debug the kernel, there's a non-standard
230 # extension to the remote protocol that can be used to use the serial
231 # port as both the debugging port and the system console.  It's non-
232 # standard and you're on your own if you enable it.  See also the
233 # "remotechat" variables in the DragonFly specific version of gdb.
234 #
235 options         GDB_REMOTE_CHAT
236
237 #
238 # KTRACE enables the system-call tracing facility ktrace(2).
239 #
240 options         KTRACE                  #kernel tracing
241
242 #
243 # The INVARIANTS option is used in a number of source files to enable
244 # extra sanity checking of internal structures.  This support is not
245 # enabled by default because of the extra time it would take to check
246 # for these conditions, which can only occur as a result of
247 # programming errors.
248 #
249 options         INVARIANTS
250
251 #
252 # The DIAGNOSTIC option is used to enable extra debugging information
253 # from some parts of the kernel.  As this makes everything more noisy,
254 # it is disabled by default.
255 #
256 options         DIAGNOSTIC
257
258 #
259 # PERFMON causes the driver for Pentium/Pentium Pro performance counters
260 # to be compiled.  See perfmon(4) for more information.
261 #
262 options         PERFMON
263
264
265 #
266 # This option let some drivers co-exist that can't co-exist in a running
267 # system.  This is used to be able to compile all kernel code in one go for
268 # quality assurance purposes (like this file, which the option takes it name
269 # from.)
270 #
271 options         COMPILING_LINT
272
273
274 # XXX - this doesn't belong here.
275 # Allow ordinary users to take the console - this is useful for X.
276 options         UCONSOLE
277
278 \f
279 #####################################################################
280 # NETWORKING OPTIONS
281
282 #
283 # Protocol families:
284 #  Only the INET (Internet) family is officially supported in DragonFly.
285 #  Source code for the NS (Xerox Network Service) is provided for amusement
286 #  value.
287 #
288 options         INET                    #Internet communications protocols
289 options         INET6                   #IPv6 communications protocols
290 options         IPSEC                   #IP security
291 options         IPSEC_ESP               #IP security (crypto; define w/ IPSEC)
292 options         IPSEC_DEBUG             #debug for IP security
293 #
294 # Set IPSEC_FILTERGIF to force packets coming through a gif tunnel
295 # to be processed by any configured packet filtering (ipfw, ipf).
296 # The default is that packets coming from a tunnel are _not_ processed;
297 # they are assumed trusted.
298 #
299 # Note that enabling this can be problematic as there are no mechanisms
300 # in place for distinguishing packets coming out of a tunnel (e.g. no
301 # encX devices as found on openbsd).
302 #
303 #options        IPSEC_FILTERGIF         #filter ipsec packets from a tunnel
304
305 #
306 # Experimental IPsec implementation that uses the kernel crypto
307 # framework.  This cannot be configured together with IPSEC and
308 # (currently) supports only IPv4.  To use this you must also
309 # configure the crypto device (see below).  Note that with this
310 # you get all the IPsec protocols (e.g. there is no FAST_IPSEC_ESP).
311 # IPSEC_DEBUG is used, as above, to configure debugging support
312 # within the IPsec protocols.
313 #
314 #options        FAST_IPSEC              #new IPsec
315
316 options         IPX                     #IPX/SPX communications protocols
317 options         IPXIP                   #IPX in IP encapsulation (not available)
318 options         IPTUNNEL                #IP in IPX encapsulation (not available)
319
320 options         NCP                     #NetWare Core protocol
321
322 options         MPLS                    #Multi-Protocol Label Switching
323
324 options         NETATALK                #Appletalk communications protocols
325
326 # mchain library. It can be either loaded as KLD or compiled into kernel
327 options         LIBMCHAIN               #mbuf management library
328
329 # netgraph(4). Enable the base netgraph code with the NETGRAPH option.
330 # Individual node types can be enabled with the corresponding option
331 # listed below; however, this is not strictly necessary as netgraph
332 # will automatically load the corresponding KLD module if the node type
333 # is not already compiled into the kernel. Each type below has a
334 # corresponding man page, e.g., ng_async(4).
335 options         NETGRAPH                #netgraph(4) system
336 options         NETGRAPH_ASYNC
337 options         NETGRAPH_BPF
338 options         NETGRAPH_BRIDGE
339 options         NETGRAPH_CISCO
340 options         NETGRAPH_ECHO
341 options         NETGRAPH_EIFACE
342 options         NETGRAPH_ETHER
343 options         NETGRAPH_FRAME_RELAY
344 options         NETGRAPH_HOLE
345 options         NETGRAPH_IFACE
346 options         NETGRAPH_KSOCKET
347 options         NETGRAPH_L2TP
348 options         NETGRAPH_LMI
349 # MPPC compression requires proprietary files (not included)
350 #options        NETGRAPH_MPPC_COMPRESSION
351 options         NETGRAPH_MPPC_ENCRYPTION
352 options         NETGRAPH_ONE2MANY
353 options         NETGRAPH_PPP
354 options         NETGRAPH_PPPOE
355 options         NETGRAPH_PPTPGRE
356 options         NETGRAPH_RFC1490
357 options         NETGRAPH_SOCKET
358 options         NETGRAPH_TEE
359 options         NETGRAPH_TTY
360 options         NETGRAPH_UI
361 options         NETGRAPH_VJC
362
363 device          mn      # Munich32x/Falc54 Nx64kbit/sec cards.
364
365 #
366 # Network interfaces:
367 #  The `loop' pseudo-device is MANDATORY when networking is enabled.
368 #  The `ether' pseudo-device provides generic code to handle
369 #  Ethernets; it is MANDATORY when a Ethernet device driver is
370 #  configured.
371 #  The `sppp' pseudo-device serves a similar role for certain types
372 #  of synchronous PPP links (like `ar').
373 #  The `sl' pseudo-device implements the Serial Line IP (SLIP) service.
374 #  The `ppp' pseudo-device implements the Point-to-Point Protocol.
375 #  The `bpf' pseudo-device enables the Berkeley Packet Filter.  Be
376 #  aware of the legal and administrative consequences of enabling this
377 #  option.  The number of devices determines the maximum number of
378 #  simultaneous BPF clients programs runnable.
379 #  The `disc' pseudo-device implements a minimal network interface,
380 #  which throws away all packets sent and never receives any.  It is
381 #  included for testing purposes.  This shows up as the 'ds' interface.
382 #  The `tun' pseudo-device implements (user-)ppp and nos-tun
383 #  The `gif' pseudo-device implements IPv6 over IP4 tunneling,
384 #  IPv4 over IPv6 tunneling, IPv4 over IPv4 tunneling and
385 #  IPv6 over IPv6 tunneling.
386 #  The `gre' device implements two types of IP4 over IP4 tunneling:
387 #  GRE and MOBILE, as specified in the RFC1701 and RFC2004.
388 #  The `faith' pseudo-device captures packets sent to it and diverts them
389 #  to the IPv4/IPv6 translation daemon.
390 #  The `stf' device implements 6to4 encapsulation.
391 #  The `ef' pseudo-device provides support for multiple ethernet frame types
392 #  specified via ETHER_* options. See ef(4) for details.
393 #
394 # The PPP_BSDCOMP option enables support for compress(1) style entire
395 # packet compression, the PPP_DEFLATE is for zlib/gzip style compression.
396 # PPP_FILTER enables code for filtering the ppp data stream and selecting
397 # events for resetting the demand dial activity timer - requires bpf.
398 # See pppd(8) for more details.
399 #
400 pseudo-device   ether                   #Generic Ethernet
401 pseudo-device   vlan    1               #VLAN support
402 pseudo-device   bridge                  #Bridging support
403 pseudo-device   sppp                    #Generic Synchronous PPP
404 pseudo-device   loop                    #Network loopback device
405 pseudo-device   bpf                     #Berkeley packet filter
406 pseudo-device   disc                    #Discard device (ds0, ds1, etc)
407 pseudo-device   tun                     #Tunnel driver (ppp(8), nos-tun(8))
408 pseudo-device   sl      2               #Serial Line IP
409 pseudo-device   gre                     #IP over IP tunneling
410 pseudo-device   ppp     2               #Point-to-point protocol
411 options         PPP_BSDCOMP             #PPP BSD-compress support
412 options         PPP_DEFLATE             #PPP zlib/deflate/gzip support
413 options         PPP_FILTER              #enable bpf filtering (needs bpf)
414
415 pseudo-device   ef                      # Multiple ethernet frames support
416 options         ETHER_II                # enable Ethernet_II frame
417 options         ETHER_8023              # enable Ethernet_802.3 (Novell) frame
418 options         ETHER_8022              # enable Ethernet_802.2 frame
419 options         ETHER_SNAP              # enable Ethernet_802.2/SNAP frame
420
421 # for IPv6
422 pseudo-device   gif                     #IPv6 and IPv4 tunneling
423 pseudo-device   faith   1               #for IPv6 and IPv4 translation
424 pseudo-device   stf                     #6to4 IPv6 over IPv4 encapsulation
425
426 #
427 # Internet family options:
428 #
429 # MROUTING enables the kernel multicast packet forwarder, which works
430 # with mrouted(8).
431 #
432 # PIM enables Protocol Independent Multicast in the kernel.
433 # Requires MROUTING enabled.
434 #
435 # IPFIREWALL enables support for IP firewall construction, in
436 # conjunction with the `ipfw' program.  IPFIREWALL_VERBOSE sends
437 # logged packets to the system logger.  IPFIREWALL_VERBOSE_LIMIT
438 # limits the number of times a matching entry can be logged.
439 #
440 # WARNING:  IPFIREWALL defaults to a policy of "deny ip from any to any"
441 # and if you do not add other rules during startup to allow access,
442 # YOU WILL LOCK YOURSELF OUT.  It is suggested that you set firewall_type=open
443 # in /etc/rc.conf when first enabling this feature, then refining the
444 # firewall rules in /etc/rc.firewall after you've tested that the new kernel
445 # feature works properly.
446 #
447 # IPFIREWALL_DEFAULT_TO_ACCEPT causes the default rule (at boot) to
448 # allow everything.  Use with care, if a cracker can crash your
449 # firewall machine, they can get to your protected machines.  However,
450 # if you are using it as an as-needed filter for specific problems as
451 # they arise, then this may be for you.  Changing the default to 'allow'
452 # means that you won't get stuck if the kernel and /sbin/ipfw binary get
453 # out of sync.
454 #
455 # IPDIVERT enables the divert IP sockets, used by ``ipfw divert''
456 #
457 # IPSTEALTH enables code to support stealth forwarding (i.e., forwarding
458 # packets without touching the ttl).  This can be useful to hide firewalls
459 # from traceroute and similar tools.
460 #
461 # TCPDEBUG is undocumented.
462 #
463 options         MROUTING                # Multicast routing
464 options         PIM                     # Protocol Independent Multicast
465 options         IPFIREWALL              #firewall
466 options         IPFIREWALL_DEBUG        #debug prints
467 options         IPFIREWALL_VERBOSE      #enable logging to syslogd(8)
468 options         IPFIREWALL_FORWARD      #enable transparent proxy support
469 options         IPFIREWALL_VERBOSE_LIMIT=100    #limit verbosity
470 options         IPFIREWALL_DEFAULT_TO_ACCEPT    #allow everything by default
471 options         IPV6FIREWALL            #firewall for IPv6
472 options         IPV6FIREWALL_VERBOSE
473 options         IPV6FIREWALL_VERBOSE_LIMIT=100
474 options         IPV6FIREWALL_DEFAULT_TO_ACCEPT
475 options         IPDIVERT                #divert sockets
476 options         IPSTEALTH               #support for stealth forwarding
477 options         TCPDEBUG
478
479 device          pf
480 device          pflog
481
482 #CARP
483 pseudo-device carp
484 options CARP
485
486 # The MBUF_STRESS_TEST option enables options which create
487 # various random failures / extreme cases related to mbuf
488 # functions.  See the mbuf(9) manpage for a list of available
489 # test cases.
490 options         MBUF_STRESS_TEST
491
492 # Statically link in accept filters
493 options                ACCEPT_FILTER_DATA
494 options                ACCEPT_FILTER_HTTP
495
496 # TCP_SIGNATURE adds support for RFC 2385 (TCP-MD5) digests. These are
497 # carried in TCP option 19. This option is commonly used to protect
498 # TCP sessions (e.g. BGP) where IPSEC is not available nor desirable.
499 # This is enabled on a per-socket basis using the TCP_MD5SIG socket option.
500 # This requires the use of 'device crypto', 'options IPSEC'
501 # or 'device cryptodev'.
502 options   TCP_SIGNATURE   #include support for RFC 2385
503
504 #
505 # TCP_DROP_SYNFIN adds support for ignoring TCP packets with SYN+FIN. This
506 # prevents nmap et al. from identifying the TCP/IP stack, but breaks support
507 # for RFC1644 extensions and is not recommended for web servers.
508 #
509 options         TCP_DROP_SYNFIN         #drop TCP packets with SYN+FIN
510
511 # ICMP_BANDLIM enables icmp error response bandwidth limiting.   You
512 # typically want this option as it will help protect the machine from
513 # D.O.S. packet attacks.
514 #
515 options         ICMP_BANDLIM
516
517 # DUMMYNET enables the "dummynet" bandwidth limiter. You need
518 # IPFIREWALL as well. See the dummynet(4) and ipfw(8) manpages for more info.
519 #
520 options         DUMMYNET
521 options         DUMMYNET_DEBUG
522
523 #
524 # ATM (HARP version) options
525 #
526 # ATM_CORE includes the base ATM functionality code.  This must be included
527 #       for ATM support.
528 #
529 # ATM_IP includes support for running IP over ATM.
530 #
531 # At least one (and usually only one) of the following signalling managers
532 # must be included (note that all signalling managers include PVC support):
533 # ATM_SIGPVC includes support for the PVC-only signalling manager `sigpvc'.
534 # ATM_SPANS includes support for the `spans' signalling manager, which runs
535 #       the FORE Systems's proprietary SPANS signalling protocol.
536 # ATM_UNI includes support for the `uni30' and `uni31' signalling managers,
537 #       which run the ATM Forum UNI 3.x signalling protocols.
538 #
539 # The `hea' driver provides support for the Efficient Networks, Inc.
540 # ENI-155p ATM PCI Adapter.
541 #
542 # The `hfa' driver provides support for the FORE Systems, Inc.
543 # PCA-200E ATM PCI Adapter.
544 #
545 #options        ATM_CORE                #core ATM protocol family
546 #options        ATM_IP                  #IP over ATM support
547 #options        ATM_SIGPVC              #SIGPVC signalling manager
548 #options        ATM_SPANS               #SPANS signalling manager
549 #options        ATM_UNI                 #UNI signalling manager
550 #device         hea                     #Efficient ENI-155p ATM PCI
551 #device         hfa                     #FORE PCA-200E ATM PCI
552
553 # DEVICE_POLLING adds support for mixed interrupt-polling handling
554 # of network device drivers, which has significant benefits in terms
555 # of robustness to overloads and responsivity, as well as permitting
556 # accurate scheduling of the CPU time between kernel network processing
557 # and other activities. The drawback is a moderate (up to 1/pollhz seconds)
558 # potential increase in response times. See polling(4) for further details.
559 #
560 options         DEVICE_POLLING
561
562 # IFPOLL_ENABLE adds hardware queues' based polling
563 options         IFPOLL_ENABLE
564
565 \f
566 #####################################################################
567 # FILESYSTEM OPTIONS
568
569 #
570 # Only the root, /usr, and /tmp filesystems need be statically
571 # compiled; everything else will be automatically loaded at mount
572 # time.  (Exception: the UFS family --- FFS, and MFS ---
573 # cannot currently be demand-loaded.)  Some people still prefer
574 # to statically compile other filesystems as well.
575 #
576 # NB: The PORTAL and UNION filesystems are known to be
577 # buggy, and WILL panic your system if you attempt to do anything with
578 # them.  They are included here as an incentive for some enterprising
579 # soul to sit down and fix them.
580 #
581
582 # One of these is mandatory:
583 options         FFS                     #Fast filesystem
584 options         MFS                     #Memory filesystem
585 options         NFS                     #Network filesystem
586
587 # The rest are optional:
588 #options        NFS_NOSERVER            #Disable the NFS-server code.
589 options         CD9660                  #ISO 9660 filesystem
590 options         FDESC                   #File descriptor filesystem
591 options         HPFS                    #OS/2 File system
592 options         MSDOSFS                 #MS DOS filesystem
593 options         NTFS                    #NT filesystem
594 options         NULLFS                  #NULL filesystem
595 options         NWFS                    #NetWare filesystem
596 options         PORTAL                  #Portal filesystem
597 options         PROCFS                  #Process filesystem
598 options         UDF                     #UDF filesystem
599 options         HAMMER                  #HAMMER filesystem
600 options         TMPFS                   #Temporary filesystem
601
602 # YYY-DR Till we rework the VOP methods for this filesystem
603 #options        UNION                   #Union filesystem
604 # The xFS_ROOT options REQUIRE the associated ``options xFS''
605 options         FFS_ROOT                #FFS usable as root device
606 options         NFS_ROOT                #NFS usable as root device
607
608 # Soft updates is technique for improving UFS filesystem speed and
609 # making abrupt shutdown less risky.
610 options         SOFTUPDATES
611
612 # Directory hashing improves the speed of operations on very large
613 # directories at the expense of some memory.
614 options         UFS_DIRHASH
615
616 # Make space in the kernel for a root filesystem on a md device.
617 # Define to the number of kilobytes to reserve for the filesystem.
618 options         MD_ROOT_SIZE=10
619
620 # Make the md device a potential root device, either with preloaded
621 # images of type mfs_root or md_root.
622 options         MD_ROOT
623
624 # Specify double the default maximum size for malloc(9)-backed md devices.
625 options         MD_NSECT=40000
626
627 # Allow this many swap-devices.
628 #
629 # In order to manage swap, the system must reserve bitmap space that
630 # scales with the largest mounted swap device multiplied by NSWAPDEV,
631 # regardless of whether other swap devices exist or not.  So it
632 # is not a good idea to make this value too large.
633 options         NSWAPDEV=5
634
635 # Disk quotas are supported when this option is enabled.
636 options         QUOTA                   #enable disk quotas
637
638 # If you are running a machine just as a fileserver for PC and MAC
639 # users, using SAMBA or Netatalk, you may consider setting this option
640 # and keeping all those users' directories on a filesystem that is
641 # mounted with the suiddir option. This gives new files the same
642 # ownership as the directory (similar to group). It's a security hole
643 # if you let these users run programs, so confine it to file-servers
644 # (but it'll save you lots of headaches in those cases). Root owned
645 # directories are exempt and X bits are cleared. The suid bit must be
646 # set on the directory as well; see chmod(1) PC owners can't see/set
647 # ownerships so they keep getting their toes trodden on. This saves
648 # you all the support calls as the filesystem it's used on will act as
649 # they expect: "It's my dir so it must be my file".
650 #
651 options         SUIDDIR
652
653 # NFS options:
654 options         NFS_MINATTRTIMO=3       # VREG attrib cache timeout in sec
655 options         NFS_MAXATTRTIMO=60
656 options         NFS_MINDIRATTRTIMO=30   # VDIR attrib cache timeout in sec
657 options         NFS_MAXDIRATTRTIMO=60
658 options         NFS_GATHERDELAY=10      # Default write gather delay (msec)
659 options         NFS_UIDHASHSIZ=29       # Tune the size of nfssvc_sock with this
660 options         NFS_WDELAYHASHSIZ=16    # and with this
661 options         NFS_MUIDHASHSIZ=63      # Tune the size of nfsmount with this
662 options         NFS_DEBUG               # Enable NFS Debugging
663
664 # MSDOSFS options:
665 options         MSDOSFS_DEBUG           # Enable MSDOSFS Debugging
666
667 #
668 # Add support for the EXT2FS filesystem of Linux fame.  Be a bit
669 # careful with this - the ext2fs code has a tendency to lag behind
670 # changes and not be exercised very much, so mounting read/write could
671 # be dangerous (and even mounting read only could result in panics.)
672 #
673 options         EXT2FS
674
675 # Optional character code conversion support with LIBICONV.
676 # Each option requires their base file system and LIBICONV.
677 options         CD9660_ICONV
678 options         MSDOSFS_ICONV
679 options         NTFS_ICONV
680
681 \f
682 #####################################################################
683 # POSIX P1003.1B
684
685 # Real time extensions added in the 1993 Posix
686 # P1003_1B: Infrastructure
687 # _KPOSIX_PRIORITY_SCHEDULING: Build in _POSIX_PRIORITY_SCHEDULING
688 # _KPOSIX_VERSION:             Version kernel is built for
689
690 options         P1003_1B
691 options         _KPOSIX_PRIORITY_SCHEDULING
692 options         _KPOSIX_VERSION=199309L
693
694 \f
695 #####################################################################
696 # CLOCK OPTIONS
697
698 # The granularity of operation is controlled by the kernel option HZ whose
699 # default value (100) means a granularity of 10ms (1s/HZ).
700 # Consider, however, that reducing the granularity too much might
701 # cause excessive overhead in clock interrupt processing,
702 # potentially causing ticks to be missed and thus actually reducing
703 # the accuracy of operation.
704
705 options         HZ=100
706
707 # The following options are used for debugging clock behavior only, and
708 # should not be used for production systems.
709 #
710 # CLK_CALIBRATION_LOOP will run the clock calibration loop at startup
711 # until the user presses a key.
712
713 #options        CLK_CALIBRATION_LOOP
714
715 # The following two options measure the frequency of the corresponding
716 # clock relative to the RTC (onboard mc146818a).
717
718 #options        CLK_USE_I8254_CALIBRATION
719 #options        CLK_USE_TSC_CALIBRATION
720
721 \f
722 #####################################################################
723 # SCSI DEVICES
724
725 # SCSI DEVICE CONFIGURATION
726
727 # The SCSI subsystem consists of the `base' SCSI code, a number of
728 # high-level SCSI device `type' drivers, and the low-level host-adapter
729 # device drivers.  The host adapters are listed in the ISA and PCI
730 # device configuration sections below.
731 #
732 # Beginning with FreeBSD 2.0.5 you can wire down your SCSI devices so
733 # that a given bus, target, and LUN always come on line as the same
734 # device unit.  In earlier versions the unit numbers were assigned
735 # in the order that the devices were probed on the SCSI bus.  This
736 # means that if you removed a disk drive, you may have had to rewrite
737 # your /etc/fstab file, and also that you had to be careful when adding
738 # a new disk as it may have been probed earlier and moved your device
739 # configuration around.
740
741 # This old behavior is maintained as the default behavior.  The unit
742 # assignment begins with the first non-wired down unit for a device
743 # type.  For example, if you wire a disk as "da3" then the first
744 # non-wired disk will be assigned da4.
745
746 # The syntax for wiring down devices is:
747
748 # device        scbus0 at ahc0          # Single bus device
749 # device        scbus1 at ahc1 bus 0    # Single bus device
750 # device        scbus3 at ahc2 bus 0    # Twin bus device
751 # device        scbus2 at ahc2 bus 1    # Twin bus device
752 # device        da0 at scbus0 target 0 unit 0
753 # device        da1 at scbus3 target 1
754 # device        da2 at scbus2 target 3
755 # device        sa1 at scbus1 target 6
756 # device        cd
757
758 # "units" (SCSI logical unit number) that are not specified are
759 # treated as if specified as LUN 0.
760
761 # All SCSI devices allocate as many units as are required.
762
763 # The "unknown" device (uk? in pre-2.0.5) is now part of the base SCSI
764 # configuration and doesn't have to be explicitly configured.
765
766 device          scbus                   #base SCSI code
767 device          ch                      #SCSI media changers
768 device          da                      #SCSI direct access devices (aka disks)
769 device          sa                      #SCSI tapes
770 device          cd                      #SCSI CD-ROMs
771 device          pass                    #CAM passthrough driver
772 device          sg                      #Passthrough device (linux scsi generic)
773 device          pt                      #SCSI processor type
774 device          ses                     #SCSI SES/SAF-TE driver
775
776 # Options for device mapper
777 device          dm
778 device          dm_target_crypt
779 device          dm_target_linear
780 device          dm_target_striped
781
782 # Options for iSCSI
783 device          iscsi_initiator
784 options         ISCSI_INITIATOR_DEBUG=8
785
786 # CAM OPTIONS:
787 # debugging options:
788 # -- NOTE --  If you specify one of the bus/target/lun options, you must
789 #             specify them all!
790 # CAMDEBUG: When defined enables debugging macros
791 # CAM_DEBUG_BUS:  Debug the given bus.  Use -1 to debug all busses.
792 # CAM_DEBUG_TARGET:  Debug the given target.  Use -1 to debug all targets.
793 # CAM_DEBUG_LUN:  Debug the given lun.  Use -1 to debug all luns.
794 # CAM_DEBUG_FLAGS:  OR together CAM_DEBUG_INFO, CAM_DEBUG_TRACE,
795 #                   CAM_DEBUG_SUBTRACE, and CAM_DEBUG_CDB
796 #
797 # CAM_MAX_HIGHPOWER: Maximum number of concurrent high power (start unit) cmds
798 # SCSI_NO_SENSE_STRINGS: When defined disables sense descriptions
799 # SCSI_NO_OP_STRINGS: When defined disables opcode descriptions
800 # SCSI_DELAY: The number of MILLISECONDS to freeze the SIM (scsi adapter)
801 #             queue after a bus reset, and the number of milliseconds to
802 #             freeze the device queue after a bus device reset.  This
803 #             can be changed at boot and runtime with the
804 #             kern.cam.scsi_delay tunable/sysctl.
805 options         CAMDEBUG
806 options         CAM_DEBUG_BUS=-1
807 options         CAM_DEBUG_TARGET=-1
808 options         CAM_DEBUG_LUN=-1
809 options         CAM_DEBUG_FLAGS="CAM_DEBUG_INFO|CAM_DEBUG_TRACE|CAM_DEBUG_CDB"
810 options         CAM_MAX_HIGHPOWER=4
811 options         SCSI_NO_SENSE_STRINGS
812 options         SCSI_NO_OP_STRINGS
813 options         SCSI_DELAY=8000 # Be pessimistic about Joe SCSI device
814
815 # Options for the CAM CDROM driver:
816 # CHANGER_MIN_BUSY_SECONDS: Guaranteed minimum time quantum for a changer LUN
817 # CHANGER_MAX_BUSY_SECONDS: Maximum time quantum per changer LUN, only
818 #                           enforced if there is I/O waiting for another LUN
819 # The compiled in defaults for these variables are 2 and 10 seconds,
820 # respectively.
821 #
822 # These can also be changed on the fly with the following sysctl variables:
823 # kern.cam.cd.changer.min_busy_seconds
824 # kern.cam.cd.changer.max_busy_seconds
825 #
826 options         CHANGER_MIN_BUSY_SECONDS=2
827 options         CHANGER_MAX_BUSY_SECONDS=10
828
829 # Options for the CAM sequential access driver:
830 # SA_IO_TIMEOUT: Timeout for read/write/wfm  operations, in minutes
831 # SA_SPACE_TIMEOUT: Timeout for space operations, in minutes
832 # SA_REWIND_TIMEOUT: Timeout for rewind operations, in minutes
833 # SA_ERASE_TIMEOUT: Timeout for erase operations, in minutes
834 # SA_1FM_AT_EOD: Default to model which only has a default one filemark at EOT.
835 options         SA_IO_TIMEOUT="(4)"
836 options         SA_SPACE_TIMEOUT="(60)"
837 options         SA_REWIND_TIMEOUT="(2*60)"
838 options         SA_ERASE_TIMEOUT="(4*60)"
839 options         SA_1FM_AT_EOD
840
841 # Optional timeout for the CAM processor target (pt) device
842 # This is specified in seconds.  The default is 60 seconds.
843 options         SCSI_PT_DEFAULT_TIMEOUT="60"
844
845 # Optional enable of doing SES passthrough on other devices (e.g., disks)
846 #
847 # Normally disabled because a lot of newer SCSI disks report themselves
848 # as having SES capabilities, but this can then clot up attempts to build
849 # build a topology with the SES device that's on the box these drives
850 # are in....
851 options         SES_ENABLE_PASSTHROUGH
852
853 \f
854 #####################################################################
855 # MISCELLANEOUS DEVICES AND OPTIONS
856
857 # The `pty' device usually turns out to be ``effectively mandatory'',
858 # as it is required for `telnetd', `rlogind', `screen', `emacs', and
859 # `xterm', among others.
860
861 pseudo-device   pty             #Pseudo ttys
862 pseudo-device   gzip            #Exec gzipped a.out's
863 pseudo-device   vn              #Vnode driver (turns a file into a device)
864 pseudo-device   md              #Memory/malloc disk
865 pseudo-device   snp             #Snoop device - to look at pty/vty/etc..
866 pseudo-device   ccd     4       #Concatenated disk driver
867
868 # Configuring Vinum into the kernel is not necessary, since the kld
869 # module gets started automatically when vinum(8) starts.  This
870 # device is also untested.  Use at your own risk.
871 #
872 # The option VINUMDEBUG must match the value set in CFLAGS
873 # in src/sbin/vinum/Makefile.  Failure to do so will result in
874 # the following message from vinum(8):
875 #
876 # Can't get vinum config: Invalid argument
877 #
878 # see vinum(4) for more reasons not to use these options.
879 #pseudo-device  vinum           #Vinum concat/mirror/raid driver
880 #options        VINUMDEBUG      #enable Vinum debugging hooks
881
882 # Kernel side iconv library
883 options         LIBICONV
884
885 # Size of the kernel message buffer.  Should be N * pagesize.
886 options         MSGBUF_SIZE=40960
887
888 \f
889 #####################################################################
890 # HARDWARE DEVICE CONFIGURATION
891
892 # ISA devices:
893
894 #
895 # Mandatory ISA devices: isa
896 #
897 device          isa
898
899 #
900 # Options for `isa':
901 #
902 # AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A
903 # interrupt controller.  This saves about 0.7-1.25 usec for each interrupt.
904 # This option breaks suspend/resume on some portables.
905 #
906 # AUTO_EOI_2 enables the `automatic EOI' feature for the slave 8259A
907 # interrupt controller.  This saves about 0.7-1.25 usec for each interrupt.
908 # Automatic EOI is documented not to work for for the slave with the
909 # original i8259A, but it works for some clones and some integrated
910 # versions.
911 #
912 # MAXMEM specifies the amount of RAM on the machine; if this is not
913 # specified, DragonFly will first read the amount of memory from the CMOS
914 # RAM, so the amount of memory will initially be limited to 64MB or 16MB
915 # depending on the BIOS.  If the BIOS reports 64MB, a memory probe will
916 # then attempt to detect the installed amount of RAM.  If this probe
917 # fails to detect >64MB RAM you will have to use the MAXMEM option.
918 # The amount is in kilobytes, so for a machine with 128MB of RAM, it would
919 # be 131072 (128 * 1024).
920 #
921 # BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to
922 # reset the CPU for reboot.  This is needed on some systems with broken
923 # keyboard controllers.
924
925 options         AUTO_EOI_1
926 #options        AUTO_EOI_2
927 options         MAXMEM="(128*1024)"
928 #options        BROKEN_KEYBOARD_RESET
929
930 # Enable support for the kernel PLL to use an external PPS signal,
931 # under supervision of [x]ntpd(8)
932 # More info in ntpd documentation: http://www.eecis.udel.edu/~ntp
933
934 options         PPS_SYNC
935
936 # The keyboard controller; it controls the keyboard and the PS/2 mouse.
937 device          atkbdc0 at isa? port IO_KBD
938
939 # The AT keyboard
940 device          atkbd0  at atkbdc? irq 1
941
942 # Options for atkbd:
943 options         ATKBD_DFLT_KEYMAP       # specify the built-in keymap
944 makeoptions     ATKBD_DFLT_KEYMAP="jp.106"
945
946 # These options are valid for other keyboard drivers as well.
947 options         KBD_DISABLE_KEYMAP_LOAD # refuse to load a keymap
948 options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
949
950 # `flags' for atkbd:
951 #       0x01    Force detection of keyboard, else we always assume a keyboard
952 #       0x02    Don't reset keyboard, useful for some newer ThinkPads
953 #       0x03    Force detection and avoid reset, might help with certain
954 #               dockingstations
955 #       0x04    Old-style (XT) keyboard support, useful for older ThinkPads
956
957 # PS/2 mouse
958 device          psm0    at atkbdc? irq 12
959
960 # Options for psm:
961 options         PSM_HOOKRESUME          #hook the system resume event, useful
962                                         #for some laptops
963 options         PSM_RESETAFTERSUSPEND   #reset the device at the resume event
964
965 device          kbdmux                  # keyboard multiplexer
966
967 # The video card driver.
968 device          vga0    at isa?
969
970 # Options for vga:
971 # Try the following option if the mouse pointer is not drawn correctly
972 # or font does not seem to be loaded properly.  May cause flicker on
973 # some systems.
974 options         VGA_ALT_SEQACCESS
975
976 options         VGA_DEBUG=2             # enable VGA debug output
977
978 # If you experience problems switching back to 80x25 (or a derived mode),
979 # the following option might help.
980 #options        VGA_KEEP_POWERON_MODE   # use power-on settings for 80x25
981
982 # If you can dispense with some vga driver features, you may want to
983 # use the following options to save some memory.
984 #options        VGA_NO_FONT_LOADING     # don't save/load font
985 #options        VGA_NO_MODE_CHANGE      # don't change video modes
986
987 # The following option probably won't work with the LCD displays.
988 options         VGA_WIDTH90             # support 90 column modes
989
990 # Splash screen at start up!  Screen savers require this too.
991 pseudo-device   splash
992
993 # The syscons console driver (sco color console compatible).
994 device          sc0     at isa?
995 options         MAXCONS=16              # number of virtual consoles
996 options         SC_ALT_MOUSE_IMAGE      # simplified mouse cursor in text mode
997 options         SC_DEBUG_LEVEL=5        # enable debug output
998 options         SC_DFLT_FONT            # compile font in
999 makeoptions     SC_DFLT_FONT=cp850
1000 options         SC_DISABLE_DDBKEY       # disable `debug' key
1001 options         SC_DISABLE_REBOOT       # disable reboot key sequence
1002 options         SC_HISTORY_SIZE=200     # number of history buffer lines
1003 options         SC_MOUSE_CHAR=0x3       # char code for text mode mouse cursor
1004 options         SC_PIXEL_MODE           # add support for the raster text mode
1005
1006 # The following options will let you change the default colors of syscons.
1007 options         SC_NORM_ATTR="(FG_GREEN|BG_BLACK)"
1008 options         SC_NORM_REV_ATTR="(FG_YELLOW|BG_GREEN)"
1009 options         SC_KERNEL_CONS_ATTR="(FG_RED|BG_BLACK)"
1010 options         SC_KERNEL_CONS_REV_ATTR="(FG_BLACK|BG_RED)"
1011
1012 # If you have a two button mouse, you may want to add the following option
1013 # to use the right button of the mouse to paste text.
1014 options         SC_TWOBUTTON_MOUSE
1015
1016 # You can selectively disable features in syscons.
1017 #options        SC_NO_CUTPASTE
1018 #options        SC_NO_FONT_LOADING
1019 #options        SC_NO_HISTORY
1020 #options        SC_NO_SYSMOUSE
1021
1022 #
1023 # Optional ISA devices:
1024 #
1025
1026 #
1027 # SCSI host adapters: `aha', `aic', `bt'
1028 #
1029 # adv: All Narrow SCSI bus AdvanSys controllers.
1030 # adw: Second Generation AdvanSys controllers including the ADV940UW.
1031 # aha: Adaptec 154x
1032 # ahc: Adaptec 274x/284x/294x
1033 # aic: Adaptec 152x
1034 # bt: Most Buslogic controllers
1035 # ncv: NCR 53C500 based SCSI host adapters.
1036 # nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters.
1037 # stg: TMC 18C30, 18C50 based ISA/PC Card SCSI host adapters.
1038 #
1039 # Note that the order is important in order for Buslogic cards to be
1040 # probed correctly.
1041 #
1042
1043 device          bt0     at isa? port IO_BT0
1044 device          adv0    at isa?
1045 device          adw
1046 device          aha0    at isa?
1047 device          aic0    at isa?
1048 device          ncv
1049 device          nsp
1050 device          stg0    at isa? port 0x140 irq 11
1051
1052 #
1053 # Adaptec FSA RAID controllers, including integrated DELL controller,
1054 # the Dell PERC 2/QC and the HP NetRAID-4M
1055 #
1056 device          aac
1057 options         AAC_DEBUG
1058 device          aacp    # SCSI Passthrough interface (optional, CAM required)
1059
1060 #
1061 # Compaq Smart RAID, Mylex DAC960 and AMI MegaRAID controllers.  Only
1062 # one entry is needed; the code will find and configure all supported
1063 # controllers.
1064 #
1065 device          ida             # Compaq Smart RAID
1066 device          mlx             # Mylex DAC960
1067 device          amr             # AMI MegaRAID
1068 device          amrp            # SCSI Passthrough interface (optional, CAM req.)
1069 device          mfi             # LSI MegaRAID SAS
1070 device          mfip            # LSI MegaRAID SAS passthrough, requires CAM
1071 options         MFI_DEBUG
1072
1073 #
1074 # Areca RAID (CAM is required).
1075 #
1076 device          arcmsr          # Areca SATA II RAID
1077
1078 #
1079 # Highpoint RocketRAID 182x.
1080 device          hptmv
1081
1082 #
1083 # Highpoint RocketRaid 3xxx series SATA RAID
1084 device          hptiop
1085
1086 #
1087 # 3ware ATA RAID
1088 #
1089 device          twe             # 3ware ATA RAID
1090 device          twa             # 3ware 9000 series PATA/SATA RAID
1091 options         TWA_DEBUG=10    # enable debug messages
1092 device          tws             # 3ware 9750 series SATA/SAS RAID
1093
1094 #
1095 # Promise Supertrack SX6000
1096 #
1097 #device         pst
1098
1099 #
1100 # IBM ServeRAID
1101 #
1102 device  ips
1103
1104 #
1105 # The 'ATA' driver supports all ATA and ATAPI devices.
1106 # You only need one "device ata" for it to find all
1107 # PCI ATA/ATAPI devices on modern machines.
1108 #device         ata
1109 #device         atadisk         # ATA disk drives
1110 #device         atapicd         # ATAPI CDROM drives
1111 #device         atapifd         # ATAPI floppy drives
1112 #device         atapist         # ATAPI tape drives
1113 #device         atapicam        # emulate ATAPI devices as SCSI ditto via CAM
1114                                 # needs CAM to be present (scbus & pass)
1115 # AHCI driver, this will override NATA for AHCI devices,
1116 # both drivers may be included.
1117 #
1118 device          ahci
1119
1120 # SiI3124/3132 driver
1121 #
1122 device          sili
1123
1124 # The 'NATA' set of drivers are set to replace the previous ATA drivers,
1125 # and this set of drivers is mutually exclusive with the old ones. This means,
1126 # you can't have both at the same time!
1127 device          nata
1128 device          natadisk        # ATA disk drives
1129 device          natapicd        # ATAPI CD/DVD drives
1130 device          natapifd        # ATAPI floppy drives
1131 device          natapist        # ATAPI tape drives
1132 device          natapicam       # ATAPI CAM layer emulation
1133 device          nataraid        # support for ATA software RAID controllers
1134 device          natausb         # ATA-over-USB support
1135
1136 #The following options are valid on the ATA & NATA drivers:
1137 #
1138 # ATA_STATIC_ID:        controller numbering is static (like the old driver)
1139 #                       else the device numbers are dynamically allocated.
1140 options         ATA_STATIC_ID
1141
1142 #
1143 # For older non-PCI systems, these are the lines to use:
1144 #device         ata0    at isa? port IO_WD1 irq 14
1145 #device         ata1    at isa? port IO_WD2 irq 15
1146
1147 #
1148 # Standard floppy disk controllers: `fdc' and `fd'
1149 #
1150 #device         fdc0    at isa? port IO_FD1 irq 6 drq 2
1151 #
1152 # FDC_DEBUG enables floppy debugging.  Since the debug output is huge, you
1153 # gotta turn it actually on by setting the variable fd_debug with DDB,
1154 # however.
1155 #options        FDC_DEBUG
1156
1157 #device         fd0     at fdc0 drive 0
1158 #device         fd1     at fdc0 drive 1
1159
1160 #
1161 # Other standard PC hardware: `sio', etc.
1162 #
1163 # sio: serial ports (see sio(4))
1164
1165 device          sio0    at isa? port IO_COM1 flags 0x10 irq 4
1166
1167 #
1168 # `flags' for serial drivers that support consoles (only for sio now):
1169 #       0x10    enable console support for this unit.  The other console flags
1170 #               are ignored unless this is set.  Enabling console support does
1171 #               not make the unit the preferred console - boot with -h or set
1172 #               the 0x20 flag for that.  Currently, at most one unit can have
1173 #               console support; the first one (in config file order) with
1174 #               this flag set is preferred.  Setting this flag for sio0 gives
1175 #               the old behaviour.
1176 #       0x20    force this unit to be the console (unless there is another
1177 #               higher priority console).  This replaces the COMCONSOLE option.
1178 #       0x40    reserve this unit for low level console operations.  Do not
1179 #               access the device in any normal way.
1180 #       0x80    use this port for serial line gdb support in ddb.
1181 #
1182 # PnP `flags' (set via userconfig using pnp x flags y)
1183 #       0x1     disable probing of this device.  Used to prevent your modem
1184 #               from being attached as a PnP modem.
1185 #
1186
1187 # Options for serial drivers that support consoles (only for sio now):
1188 options         BREAK_TO_DEBUGGER       #a BREAK on a comconsole goes to
1189                                         #DDB, if available.
1190 options         CONSPEED=115200         # speed for serial console
1191                                         # (default 9600)
1192
1193 # Solaris implements a new BREAK which is initiated by a character
1194 # sequence CR ~ ^b which is similar to a familiar pattern used on
1195 # Sun servers by the Remote Console.
1196 options         ALT_BREAK_TO_DEBUGGER
1197
1198 # Options for sio:
1199 options         COM_ESP                 #code for Hayes ESP
1200 options         COM_MULTIPORT           #code for some cards with shared IRQs
1201
1202 # Other flags for sio that aren't documented in the man page.
1203 #       0x20000 enable hardware RTS/CTS and larger FIFOs.  Only works for
1204 #               ST16650A-compatible UARTs.
1205
1206 #
1207 # Network interfaces: `ed', `ep', `ie', `is', `lnc'
1208 #
1209 # cs: IBM Etherjet and other Crystal Semi CS89x0-based adapters
1210 # ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503
1211 # ep: 3Com 3C509
1212 # ex: Intel EtherExpress Pro/10 and other i82595-based adapters
1213 # fe: Fujitsu MB86960A/MB86965A Ethernet
1214 # ie: AT&T StarLAN 10 and EN100; 3Com 3C507; unknown NI5210; Intel EtherExpress
1215 # lnc: Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, AMD Am7990 & Am79C960)
1216 # sbsh: Granch SBNI16 SHDSL modem PCI adapters
1217 # wi: Lucent WaveLAN/IEEE 802.11 PCMCIA adapters. Note: this supports both
1218 #     the PCMCIA and ISA cards: the ISA card is really a PCMCIA to ISA
1219 #     bridge with a PCMCIA adapter plugged into it.
1220 # an: Aironet 4500/4800 802.11 wireless adapters. Supports the PCMCIA,
1221 #     PCI and ISA varieties.
1222 # xe: Xircom/Intel EtherExpress Pro100/16 PC Card ethernet controller.
1223 #
1224 device cs0 at isa? port 0x300
1225 device ed0 at isa? port 0x280 irq 5 iomem 0xd8000
1226 device ep
1227 device ex
1228 device ie0 at isa? port 0x300 irq 5 iomem 0xd0000
1229 device ie1 at isa? port 0x360 irq 7 iomem 0xd0000
1230 device lnc0 at isa? port 0x280 irq 10 drq 0
1231 device sln
1232 device sn0 at isa? port 0x300 irq 10
1233
1234 # Wlan support is mandatory for some wireless LAN devices.
1235 options         IEEE80211_DEBUG         #enable debugging msgs
1236 options         IEEE80211_AMPDU_AGE     #age frames in AMPDU reorder q's
1237 options         IEEE80211_SUPPORT_MESH  #enable 802.11s D3.0 support
1238 options         IEEE80211_SUPPORT_TDMA  #enable TDMA support
1239 device          wlan            # 802.11 support
1240 device          wlan_acl        # 802.11 MAC-based access control for AP
1241 device          wlan_ccmp       # 802.11 CCMP support
1242 device          wlan_tkip       # 802.11 TKIP support
1243 device          wlan_wep        # 802.11 WEP support
1244 device          wlan_xauth      # 802.11 WPA or 802.1x authentication for AP
1245 device          wlan_amrr       # 802.11 AMRR TX rate control algorithm
1246 device          an              # Aironet Communications 4500/4800
1247 device          ath             # Atheros AR521x
1248 options         AH_SUPPORT_AR5416
1249 device          ath_hal         # Atheros Hardware Access Layer
1250 #device         ath_rate_amrr   # Atheros AMRR TX rate control algorithm
1251 #device         ath_rate_onoe   # Atheros Onoe TX rate control algorithm
1252 device          ath_rate_sample # Atheros Sample TX rate control algorithm
1253 options         ATH_DEBUG       # turn on debugging output (see hw.ath.debug)
1254 options         ATH_DIAGAPI     # diagnostic interface to the HAL
1255 options         ATH_RXBUF=80    # number of RX buffers to allocate
1256 options         ATH_TXBUF=400   # number of TX buffers to allocate
1257 #device         iwl             # Intel PRO/Wireless 2100
1258 device          iwi             # Intel PRO/Wireless 2200BG/2915ABG
1259 device          iwn             # Intel WiFi Link 4965/1000/5000/5150/5300/6000/6050
1260 device          wi              # WaveLAN/IEEE, PRISM-II, Spectrum24 802.11DS
1261 #device         rtw             # RealTek 8180
1262 #device         acx             # TI ACX100/ACX111.
1263 device          xe              # Xircom PCMCIA
1264 device          ral             # Ralink Technology 802.11 wireless NIC
1265 device          wpi
1266
1267 # IEEE 802.11 adapter firmware modules
1268
1269 # iwifw:        Intel PRO/Wireless 2200BG/2225BG/2915ABG firmware
1270 # iwnfw:        Intel WiFi Link 4965/1000/5000/5150/5300/6000/6050
1271 # ralfw:        Ralink Technology RT25xx and RT26xx firmware
1272 # wpifw:        Intel 3945ABG Wireless LAN Controller firmware
1273
1274 device          iwifw
1275 device          iwnfw
1276 device          ralfw
1277 device          wpifw
1278
1279 # Bluetooth Protocols
1280 device          bluetooth
1281
1282 #
1283 # ATM related options
1284 #
1285 # The `en' device provides support for Efficient Networks (ENI)
1286 # ENI-155 PCI midway cards, and the Adaptec 155Mbps PCI ATM cards (ANA-59x0).
1287 #
1288 # atm pseudo-device provides generic atm functions and is required for
1289 # atm devices.
1290 # NATM enables the netnatm protocol family that can be used to
1291 # bypass TCP/IP.
1292 #
1293 # the current driver supports only PVC operations (no atm-arp, no multicast).
1294 # for more details, please read the original documents at
1295 # http://www.ccrc.wustl.edu/pub/chuck/tech/bsdatm/bsdatm.html
1296 #
1297 pseudo-device   atm
1298 device          en
1299 options         NATM                    #native ATM
1300
1301 # Sound drivers
1302 #
1303 # The flags of the device tells the device a bit more info about the
1304 # device that normally is obtained through the PnP interface.
1305 #       bit  2..0   secondary DMA channel;
1306 #       bit  4      set if the board uses two dma channels;
1307 #       bit 15..8   board type, overrides autodetection; leave it
1308 #                   zero if don't know what to put in (and you don't,
1309 #                   since this is unsupported at the moment...).
1310 #
1311 # This driver will use the new PnP code if it's available. You might
1312 # need PNPBIOS for ISA devices.
1313 #
1314 # If you have a GUS-MAX card and want to use the CS4231 codec on the
1315 # card the drqs for the gus max must be 8 bit (1, 2, or 3).
1316 #
1317 # If you would like to use the full duplex option on the gus, then define
1318 # flags to be the ``read dma channel''.
1319 #
1320
1321 # Basic sound card support:
1322 device          pcm
1323 # For PnP/PCI sound cards:
1324 device          "snd_ad1816"
1325 device          "snd_als4000"
1326 device          "snd_atiixp"
1327 device          "snd_cmi"
1328 device          "snd_cs4281"
1329 device          "snd_csa"
1330 device          "snd_ds1"
1331 device          "snd_emu10k1"
1332 device          "snd_es137x"
1333 device          "snd_ess"
1334 device          "snd_fm801"
1335 device          "snd_hda"
1336 device          "snd_ich"
1337 device          "snd_maestro"
1338 device          "snd_maestro3"
1339 device          "snd_mss"
1340 device          "snd_neomagic"
1341 device          "snd_sb16"
1342 device          "snd_sb8"
1343 device          "snd_sbc"
1344 device          "snd_solo"
1345 device          "snd_t4dwave"
1346 device          "snd_via8233"
1347 device          "snd_via82c686"
1348 device          "snd_vibes"
1349 # For non-pnp sound cards:
1350 device          pcm0 at isa? irq 10 drq 1 flags 0x0
1351 # USB
1352 device          "snd_uaudio"
1353
1354 #
1355 # Miscellaneous hardware:
1356 #
1357 # bktr: Brooktree bt848/848a/849a/878/879 video capture and TV Tuner board
1358 # joy: joystick
1359 # rp: Comtrol Rocketport(ISA) - single card
1360 # si: Specialix SI/XIO 4-32 port terminal multiplexor
1361 # nmdm: nullmodem terminal driver (see nmdm(4))
1362
1363 # Notes on the Comtrol Rocketport driver:
1364 #
1365 # The exact values used for rp0 depend on how many boards you have
1366 # in the system.  The manufacturer's sample configs are listed as:
1367 #
1368 #   Comtrol Rocketport ISA single card
1369 #               device  rp0     at isa? port 0x280
1370 #
1371 #   If instead you have two ISA cards, one installed at 0x100 and the
1372 #   second installed at 0x180, then you should add the following to
1373 #   your kernel configuration file:
1374 #
1375 #               device  rp0     at isa? port 0x100
1376 #               device  rp1     at isa? port 0x180
1377 #
1378 #   For 4 ISA cards, it might be something like this:
1379 #
1380 #               device  rp0     at isa? port 0x180
1381 #               device  rp1     at isa? port 0x100
1382 #               device  rp2     at isa? port 0x340
1383 #               device  rp3     at isa? port 0x240
1384 #
1385 #   And for PCI cards, you only need say:
1386 #
1387 #               device rp
1388
1389 # Notes on the Specialix SI/XIO driver:
1390 #  **This is NOT a Specialix supported Driver!**
1391 #  The host card is memory, not IO mapped.
1392 #  The Rev 1 host cards use a 64K chunk, on a 32K boundary.
1393 #  The Rev 2 host cards use a 32K chunk, on a 32K boundary.
1394 #  The cards can use an IRQ of 11, 12 or 15.
1395
1396 # for the SoundBlaster 16 multicd - up to 4 devices
1397 device          joy0    at isa? port IO_GAME
1398 device          nrp
1399 #device         rp0     at isa? port 0x280
1400 device          si0     at isa? iomem 0xd0000 irq 12
1401 # nullmodem terminal driver
1402 device          nmdm
1403
1404 # The `ahc' device provides support for the Adaptec 274X and 284X
1405 # adapters.
1406 device          ahc
1407
1408 # The aic7xxx driver will attempt to use memory mapped I/O for all PCI
1409 # controllers that have it configured only if this option is set. Unfortunately,
1410 # this doesn't work on some motherboards, which prevents it from being the
1411 # default.
1412 options         AHC_ALLOW_MEMIO
1413
1414 # The adw driver will attempt to use memory mapped I/O for all PCI
1415 # controllers that have it configured only if this option is set.
1416 options         ADW_ALLOW_MEMIO
1417
1418 #
1419 # PCI devices & PCI options:
1420 #
1421 # The main PCI bus device is `pci'.  It provides auto-detection and
1422 # configuration support for all devices on the PCI bus, using either
1423 # configuration mode defined in the PCI specification.
1424
1425 device          pci
1426
1427 # PCI options
1428 #
1429 #Enable pci resources left off by a "lazy" BIOS.
1430 #
1431 options         COMPAT_OLDPCI   #FreeBSD 2.2 and 3.x compatibility shims
1432
1433 # AGP GART support
1434 #
1435 device          agp
1436
1437
1438 # The `ahc' device provides support for the Adaptec 29/3940(U)(W)
1439 # and motherboard based AIC7870/AIC7880 adapters.
1440 options         AHC_DEBUG
1441 options         AHC_DEBUG_OPTS=0xffffffff
1442 options         AHC_REG_PRETTY_PRINT
1443 options         AHC_TMODE_ENABLE
1444 #
1445 # The 'ahd' device provides support for the Adaptec 79xx Ultra320
1446 # SCSI adapters. Options are documented in the ahd(4) manpage:
1447 options         AHD_DEBUG
1448 options         AHD_DEBUG_OPTS=0xffffffff
1449 options         AHD_REG_PRETTY_PRINT
1450 #options        AHD_TMODE_ENABLE=0xff
1451 #
1452 # The `amd' device provides support for the AMD 53C974 SCSI host
1453 # adapter chip as found on devices such as the Tekram DC-390(T).
1454 #
1455 # The `bge' device provides support for gigabit ethernet adapters
1456 # based on the Broadcom BCM570x family of controllers, including the
1457 # 3Com 3c996-T, the Netgear GA302T, the SysKonnect SK-9D21 and SK-9D41,
1458 # and the embedded gigE NICs on Dell PowerEdge 2550 servers.
1459 #
1460 # The `ncr' device provides support for the NCR 53C810 and 53C825
1461 # self-contained SCSI host adapters.
1462 #
1463 # The `isp' device provides support for the Qlogic ISP 1020, 1040
1464 # nd 1040B PCI SCSI host adapters, ISP 1240 Dual Ultra SCSI,
1465 # ISP 1080 and 1280 (Dual) Ultra2, ISP 12160 Ultra3 SCSI, as well as
1466 # the Qlogic ISP 2100 and ISP 2200 Fibre Channel Host Adapters.
1467 #
1468 # The `dc' device provides support for PCI fast ethernet adapters
1469 # based on the DEC/Intel 21143 and various workalikes including:
1470 # the ADMtek AL981 Comet and AN985 Centaur, the ASIX Electronics
1471 # AX88140A and AX88141, the Davicom DM9100 and DM9102, the Lite-On
1472 # 82c168 and 82c169 PNIC, the Lite-On/Macronix LC82C115 PNIC II
1473 # and the Macronix 98713/98713A/98715/98715A/98725 PMAC. This driver
1474 # replaces the old al, ax, dm, pn and mx drivers.  List of brands:
1475 # Digital DE500-BA, Kingston KNE100TX, D-Link DFE-570TX, SOHOware SFA110,
1476 # SVEC PN102-TX, CNet Pro110B, 120A, and 120B, Compex RL100-TX,
1477 # LinkSys LNE100TX, LNE100TX V2.0, Jaton XpressNet, Alfa Inc GFC2204,
1478 # KNE110TX.
1479 #
1480 # The `de' device provides support for the Digital Equipment DC21040
1481 # self-contained Ethernet adapter.
1482 #
1483 # The `em' device provides support for the Intel Pro/1000 Family of Gigabit
1484 # adapters (82542, 82543, 82544, 82540).
1485 #
1486 # The `et' device provides support for the Agere ET1310 10/100/1000 PCIe
1487 # adapters.
1488 #
1489 # The `fxp' device provides support for the Intel EtherExpress Pro/100B
1490 # PCI Fast Ethernet adapters.
1491 #
1492 # The 'lge' device provides support for PCI gigabit ethernet adapters
1493 # based on the Level 1 LXT1001 NetCellerator chipset. This includes the
1494 # D-Link DGE-500SX, SMC TigerCard 1000 (SMC9462SX), and some Addtron cards.
1495 #
1496 # The 'my' device provides support for the Myson MTD80X and MTD89X PCI
1497 # Fast Ethernet adapters.
1498 #
1499 # The 'nge' device provides support for PCI gigabit ethernet adapters
1500 # based on the National Semiconductor DP83820 and DP83821 chipset. This
1501 # includes the SMC EZ Card 1000 (SMC9462TX), D-Link DGE-500T, Asante
1502 # FriendlyNet GigaNIX 1000TA and 1000TPC, the Addtron AEG320T, the
1503 # LinkSys EG1032 and EG1064, the Surecom EP-320G-TX and the Netgear GA622T.
1504 #
1505 # The 'pcn' device provides support for PCI fast ethernet adapters based
1506 # on the AMD Am79c97x chipsets, including the PCnet/FAST, PCnet/FAST+,
1507 # PCnet/PRO and PCnet/Home. These were previously handled by the lnc
1508 # driver (and still will be if you leave this driver out of the kernel).
1509 #
1510 # Te 're' device provides support for PCI GigaBit ethernet adapters based
1511 # on the RealTek 8169 chipset. It also supports the 8139C+ and is the
1512 # preferred driver for that chip.
1513 #
1514 # The 'rl' device provides support for PCI fast ethernet adapters based
1515 # on the RealTek 8129/8139 chipset. Note that the RealTek driver defaults
1516 # to using programmed I/O to do register accesses because memory mapped
1517 # mode seems to cause severe lockups on SMP hardware. This driver also
1518 # supports the Accton EN1207D `Cheetah' adapter, which uses a chip called
1519 # the MPX 5030/5038, which is either a RealTek in disguise or a RealTek
1520 # workalike.  Note that the D-Link DFE-530TX+ uses the RealTek chipset
1521 # and is supported by this driver, not the 'vr' driver.
1522 #
1523 # The 'sf' device provides support for Adaptec Duralink PCI fast
1524 # ethernet adapters based on the Adaptec AIC-6915 "starfire" controller.
1525 # This includes dual and quad port cards, as well as one 100baseFX card.
1526 # Most of these are 64-bit PCI devices, except for one single port
1527 # card which is 32-bit.
1528 #
1529 # The 'ste' device provides support for adapters based on the Sundance
1530 # Technologies ST201 PCI fast ethernet controller. This includes the
1531 # D-Link DFE-550TX.
1532 #
1533 # The 'sis' device provides support for adapters based on the Silicon
1534 # Integrated Systems SiS 900 and SiS 7016 PCI fast ethernet controller
1535 # chips.
1536 #
1537 # The 'sk' device provides support for the SysKonnect SK-984x series
1538 # PCI gigabit ethernet NICs. This includes the SK-9841 and SK-9842
1539 # single port cards (single mode and multimode fiber) and the
1540 # SK-9843 and SK-9844 dual port cards (also single mode and multimode).
1541 # The driver will autodetect the number of ports on the card and
1542 # attach each one as a separate network interface.
1543 #
1544 # The 'ti' device provides support for PCI gigabit ethernet NICs based
1545 # on the Alteon Networks Tigon 1 and Tigon 2 chipsets. This includes the
1546 # Alteon AceNIC, the 3Com 3c985, the Netgear GA620 and various others.
1547 # Note that you will probably want to bump up NMBCLUSTERS a lot to use
1548 # this driver.
1549 #
1550 # The 'tl' device provides support for the Texas Instruments TNETE100
1551 # series 'ThunderLAN' cards and integrated ethernet controllers. This
1552 # includes several Compaq Netelligent 10/100 cards and the built-in
1553 # ethernet controllers in several Compaq Prosignia, Proliant and
1554 # Deskpro systems. It also supports several Olicom 10Mbps and 10/100
1555 # boards.
1556 #
1557 # The `tx' device provides support for the SMC 9432 TX, BTX and FTX cards.
1558 #
1559 # The `txp' device provides support for the 3Com 3cR990 "Typhoon"
1560 # 10/100 adapters.
1561 #
1562 # The `vr' device provides support for various fast ethernet adapters
1563 # based on the VIA Technologies VT3043 `Rhine I' and VT86C100A `Rhine II'
1564 # chips, including the D-Link DFE530TX (see 'rl' for DFE530TX+), the Hawking
1565 # Technologies PN102TX, and the AOpen/Acer ALN-320.
1566 #
1567 # The `vx' device provides support for the 3Com 3C590 and 3C595
1568 # early support
1569 #
1570 # The `wb' device provides support for various fast ethernet adapters
1571 # based on the Winbond W89C840F chip. Note: this is not the same as
1572 # the Winbond W89C940F, which is an NE2000 clone.
1573 #
1574 # The `xl' device provides support for the 3Com 3c900, 3c905 and
1575 # 3c905B (Fast) Etherlink XL cards and integrated controllers. This
1576 # includes the integrated 3c905B-TX chips in certain Dell Optiplex and
1577 # Dell Precision desktop machines and the integrated 3c905-TX chips
1578 # in Dell Latitude laptop docking stations.
1579 #
1580 # The 'bktr' device is a PCI video capture device using the Brooktree
1581 # bt848/bt848a/bt849a/bt878/bt879 chipset. When used with a TV Tuner it forms a
1582 # TV card, eg Miro PC/TV, Hauppauge WinCast/TV WinTV, VideoLogic Captivator,
1583 # Intel Smart Video III, AverMedia, IMS Turbo, FlyVideo.
1584 #
1585 # options       OVERRIDE_CARD=xxx
1586 # options       OVERRIDE_TUNER=xxx
1587 # options       OVERRIDE_MSP=1
1588 # options       OVERRIDE_DBX=1
1589 # These options can be used to override the auto detection
1590 # The current values for xxx are found in src/sys/dev/video/bktr/bktr_card.h
1591 # Using sysctl(8) run-time overrides on a per-card basis can be made
1592 #
1593 # options       BKTR_SYSTEM_DEFAULT=BROOKTREE_PAL
1594 # or
1595 # options       BKTR_SYSTEM_DEFAULT=BROOKTREE_NTSC
1596 # Specifes the default video capture mode.
1597 # This is required for Dual Crystal (28&35Mhz) boards where PAL is used
1598 # to prevent hangs during initialisation.  eg VideoLogic Captivator PCI.
1599 #
1600 # options       BKTR_USE_PLL
1601 # PAL or SECAM users who have a 28Mhz crystal (and no 35Mhz crystal)
1602 # must enable PLL mode with this option. eg some new Bt878 cards.
1603 #
1604 # options       BKTR_GPIO_ACCESS
1605 # This enable IOCTLs which give user level access to the GPIO port.
1606 #
1607 # options       BKTR_NO_MSP_RESET
1608 # Prevents the MSP34xx reset. Good if you initialise the MSP in another OS first
1609 #
1610 # options       BKTR_430_FX_MODE
1611 # Switch Bt878/879 cards into Intel 430FX chipset compatibility mode.
1612 #
1613 # options       BKTR_SIS_VIA_MODE
1614 # Switch Bt878/879 cards into SIS/VIA chipset compatibility mode which is
1615 # needed for some old SiS and VIA chipset motherboards.
1616 # This also allows Bt878/879 chips to work on old OPTi (<1997) chipset
1617 # motherboards and motherboards with bad or incomplete PCI 2.1 support.
1618 # As a rough guess, old = before 1998
1619 #
1620 # options       BKTR_NEW_MSP34XX_DRIVER
1621 # Use new, more complete initialization scheme for the msp34* soundchip.
1622 # Should fix stereo autodetection if the old driver does only output
1623 # mono sound.
1624 #
1625 # options       BKTR_OVERRIDE_CARD=xxx
1626 # options       BKTR_OVERRIDE_DBX=xxx
1627 # options       BKTR_OVERRIDE_MSP=xxx
1628 # options       BKTR_OVERRIDE_TUNER=xxx
1629 # These options can be used to select a specific device, regardless of
1630 # the autodetection and i2c device checks (see comments in bktr_card.c).
1631 #
1632 device          ahc             # AHA2940 and onboard AIC7xxx devices
1633 device          ahd             # AIC79xx devices
1634 device          amd             # AMD 53C974 (Tekram DC-390(T))
1635 device          isp             # Qlogic family
1636 device          ispfw           # Firmware for QLogic HBAs
1637 device          mpt             # LSI '909 FC adapters
1638 device          mps             # LSI-Logic MPT-Fusion 2
1639 device          ncr             # NCR/Symbios Logic
1640 device          sym             # NCR/Symbios Logic (newer chipsets)
1641 device          trm             # Tekram DC395U/UW/F and DC315U
1642 #
1643 # Options for ISP
1644 #
1645 #       ISP_TARGET_MODE         -       enable target mode operation
1646 #options        ISP_TARGET_MODE=1
1647
1648 # Options used in dev/sym/ (Symbios SCSI driver).
1649 #options        SYM_SETUP_LP_PROBE_MAP  #-Low Priority Probe Map (bits)
1650                                         # Allows the ncr to take precedence
1651                                         # 1 (1<<0) -> 810a, 860
1652                                         # 2 (1<<1) -> 825a, 875, 885, 895
1653                                         # 4 (1<<2) -> 895a, 896, 1510d
1654 #options        SYM_SETUP_SCSI_DIFF     #-HVD support for 825a, 875, 885
1655                                         # disabled:0 (default), enabled:1
1656 #options        SYM_SETUP_PCI_PARITY    #-PCI parity checking
1657                                         # disabled:0, enabled:1 (default)
1658 #options        SYM_SETUP_MAX_LUN       #-Number of LUNs supported
1659                                         # default:8, range:[1..64]
1660
1661
1662 # MII bus support is required for some PCI 10/100 ethernet NICs,
1663 # namely those which use MII-compliant transceivers or implement
1664 # transceiver control interfaces that operate like an MII. Adding
1665 # "device miibus0" to the kernel config pulls in support for
1666 # the generic miibus API and all of the PHY drivers, including a
1667 # generic one for PHYs that aren't specifically handled by an
1668 # individual driver.
1669 device          miibus
1670
1671 # PCI Ethernet NICs that use the common MII bus controller code.
1672 device          ae              # Attansic/Atheros L2 Fast Ethernet
1673 device          alc             # Atheros AR8131/AR8132
1674 device          ale             # Atheros AR8121/AR8113/AR8114
1675 device          age             # Attansic/Atheros L1 Gigabit Ethernet
1676 device          bce             # Broadcom NetXtreme II Gigabit Ethernet
1677 device          bfe             # Broadcom BCM440x 10/100 Ethernet
1678 device          dc              # DEC/Intel 21143 and various workalikes
1679 device          fxp             # Intel EtherExpress PRO/100B (82557, 82558)
1680 device          my              # Myson Fast Ethernet (MTD80X, MTD89X)
1681 device          pcn             # AMD Am79C97x PCI 10/100 NICs
1682 device          re              # RealTek 8139C+/8169
1683 device          rl              # RealTek 8129/8139
1684 device          sbsh            # Granch SBNI16 SHDSL modem
1685 device          sf              # Adaptec AIC-6915 (``Starfire'')
1686 device          sis             # Silicon Integrated Systems SiS 900/SiS 7016
1687 device          ste             # Sundance ST201 (D-Link DFE-550TX)
1688 device          tl              # Texas Instruments ThunderLAN
1689 device          tx              # SMC EtherPower II (83c17x ``EPIC'')
1690 device          vge             # VIA 612x GigE
1691 device          vr              # VIA Rhine, Rhine II
1692 device          wb              # Winbond W89C840F
1693 device          xl              # 3Com 3c90x (``Boomerang'', ``Cyclone'')
1694
1695 # PCI Ethernet NICs.
1696 device          de              # DEC/Intel DC21x4x (``Tulip'')
1697 device          txp             # 3Com 3cR990 (``Typhoon'')
1698 device          vx              # 3Com 3c590, 3c595 (``Vortex'')
1699
1700 # Gigabit Ethernet NICs.
1701 device          bge             # Broadcom BCM570x (``Tigon III'')
1702 device          em              # Intel Pro/1000 (8254x,8257x)
1703                                 # Requires ig_hal
1704 device          emx             # Intel Pro/1000 (8257{1,2,3,4})
1705                                 # Requires ig_hal
1706 device          ig_hal          # Intel Pro/1000 hardware abstraction layer
1707 device          et              # Agere ET1310 10/100/1000 Ethernet
1708 device          lge             # Level 1 LXT1001 (``Mercury'')
1709 device          mxge            # Myricom Myri-10G 10GbE NIC
1710 device          nfe             # nVidia nForce2/3 MCP04/51/55 CK804
1711 device          nge             # NatSemi DP83820 and DP83821
1712 device          sk              # SysKonnect GEnesis, LinkSys EG1023, D-Link
1713 device          ti              # Alteon (``Tigon I'', ``Tigon II'')
1714 device          stge            # Sundance/Tamarack TC9021 Gigabit Ethernet
1715 device          msk             # Marvell/SysKonnect Yukon II Gigabit Ethernet
1716 device          jme             # JMicron Gigabit/Fast Ethernet
1717
1718 # Brooktree driver has been ported to the new I2C framework. Thus,
1719 # you'll need to have the following 3 lines in the kernel config.
1720 #     device smbus
1721 #     device iicbus
1722 #     device iicbb
1723 # The iic and smb devices are only needed if you want to control other
1724 # I2C slaves connected to the external connector of some cards.
1725 #
1726 device          bktr
1727 options         BKTR_NEW_MSP34XX_DRIVER
1728
1729 # WinTV PVR-250/350 driver
1730 device          cxm
1731
1732 #
1733 # PCCARD/PCMCIA
1734 #
1735 # pccard: pccard slots
1736 # cardbus/cbb: cardbus bridge
1737 device          pccard
1738 device          cardbus
1739 device          cbb
1740
1741 # For older notebooks that signal a powerfail condition (external
1742 # power supply dropped, or battery state low) by issuing an NMI:
1743
1744 options         POWERFAIL_NMI   # make it beep instead of panicing
1745
1746 #
1747 # MMC/SD
1748 #
1749 # mmc           MMC/SD bus
1750 # mmcsd         MMC/SD memory card
1751 # sdhci         Generic PCI SD Host Controller
1752 #
1753 device          mmc
1754 device          mmcsd
1755 device          sdhci
1756
1757 #
1758 # SMB bus
1759 #
1760 # System Management Bus support is provided by the 'smbus' device.
1761 # Access to the SMBus device is via the 'smb' device (/dev/smb*),
1762 # which is a child of the 'smbus' device.
1763 #
1764 # Supported devices:
1765 # smb           standard io through /dev/smb*
1766 #
1767 # Supported SMB interfaces:
1768 # iicsmb        I2C to SMB bridge with any iicbus interface
1769 # bktr          brooktree848 I2C hardware interface
1770 # intpm         Intel PIIX4 (82371AB, 82443MX) Power Management Unit
1771 # alpm          Acer Aladdin-IV/V/Pro2 Power Management Unit
1772 # ichsmb        Intel ICH SMBus controller chips (82801AA, 82801AB, 82801BA)
1773 # viapm         VIA VT82C586B,596,686A and VT8233 SMBus controllers
1774 # amdpm         AMD 756 Power Management Unit
1775 # amdsmb        AMD 8111 SMBus 2.0 Controller
1776 #
1777 device          smbus           # Bus support, required for smb below.
1778
1779 device          intpm
1780 device          alpm
1781 device          ichsmb
1782 device          viapm
1783 device          amdpm
1784 device          amdsmb
1785
1786 device          smb
1787
1788 #
1789 # I2C Bus
1790 #
1791 # Philips i2c bus support is provided by the `iicbus' device.
1792 #
1793 # Supported devices:
1794 # ic    i2c network interface
1795 # iic   i2c standard io
1796 # iicsmb i2c to smb bridge. Allow i2c i/o with smb commands.
1797 #
1798 # Supported interfaces:
1799 # pcf   Philips PCF8584 ISA-bus controller
1800 # bktr  brooktree848 I2C software interface
1801 #
1802 # Other:
1803 # iicbb generic I2C bit-banging code (needed by lpbb, bktr)
1804 #
1805 device          iicbus          # Bus support, required for ic/iic/iicsmb below.
1806 device          iicbb
1807
1808 device          ic
1809 device          iic
1810 device          iicsmb          # smb over i2c bridge
1811
1812 device          pcf0    at isa? port 0x320 irq 5
1813
1814 # Intel Core and newer CPUs on-die digital thermal sensor support
1815 device          coretemp
1816
1817 # AMD Family 0Fh, 10h and 11h temperature sensors
1818 device          kate
1819 device          km
1820
1821 # ThinkPad Active Protection System accelerometer
1822 device          aps0    at isa? port 0x1600
1823
1824 # HW monitoring devices lm(4), it(4) and nsclpcsio.
1825 device          lm0     at isa? port 0x290
1826 device          it0     at isa? port 0x290
1827 device          it1     at isa? port 0xc00
1828 device          it2     at isa? port 0xd00
1829 device          it3     at isa? port 0x228
1830 device          nsclpcsio0 at isa? port 0x2e
1831 device          nsclpcsio1 at isa? port 0x4e
1832 device          wbsio0  at isa? port 0x2e
1833 device          wbsio1  at isa? port 0x4e
1834 device          lm#3    at wbsio?
1835 device          uguru0  at isa? port 0xe0       # ABIT uGuru
1836
1837 #---------------------------------------------------------------------------
1838 # ISDN4BSD
1839 #
1840 # See /usr/share/examples/isdn/ROADMAP for an introduction to isdn4bsd.
1841 #
1842 # i4b passive ISDN cards support contains the following hardware drivers:
1843 #
1844 #       isic  - Siemens/Infineon ISDN ISAC/HSCX/IPAC chipset driver
1845 #       iwic  - Winbond W6692 PCI bus ISDN S/T interface controller
1846 #       ifpi  - AVM Fritz!Card PCI driver
1847 #       ifpi2 - AVM Fritz!Card PCI driver Version 2
1848 #       ihfc  - Cologne Chip HFC ISA/ISA-PnP chipset driver
1849 #       ifpnp - AVM Fritz!Card PnP driver
1850 #       itjc  - Siemens ISAC / TJNet Tiger300/320 chipset
1851 #
1852 # i4b active ISDN cards support contains the following hardware drivers:
1853 #
1854 #       iavc  - AVM B1 PCI, AVM B1 ISA, AVM T1
1855 #
1856 # Note that the ``options'' (if given) and ``device'' lines must BOTH
1857 # be uncommented to enable support for a given card !
1858 #
1859 # In addition to a hardware driver (and probably an option) the mandatory
1860 # ISDN protocol stack devices and the mandatory support device must be
1861 # enabled as well as one or more devices from the optional devices section.
1862 #
1863 #---------------------------------------------------------------------------
1864 # isic driver (Siemens/Infineon chipsets)
1865 #---------------------------------------------------------------------------
1866 #
1867 # ISA bus non-PnP Cards:
1868 # ----------------------
1869 #
1870 # Teles S0/8 or Niccy 1008
1871 #options        TEL_S0_8
1872 #device         isic0   at isa? iomem 0xd0000 irq 5 flags 1
1873 #
1874 # Teles S0/16 or Creatix ISDN-S0 or Niccy 1016
1875 #options        TEL_S0_16
1876 #device         isic0   at isa? port 0xd80 iomem 0xd0000 irq 5 flags 2
1877 #
1878 # Teles S0/16.3
1879 #options        TEL_S0_16_3
1880 #device         isic0   at isa? port 0xd80 irq 5 flags 3
1881 #
1882 # AVM A1 or AVM Fritz!Card
1883 #options        AVM_A1
1884 #device         isic0   at isa? port 0x340 irq 5 flags 4
1885 #
1886 # USRobotics Sportster ISDN TA intern
1887 #options        USR_STI
1888 #device         isic0   at isa? port 0x268 irq 5 flags 7
1889 #
1890 # ITK ix1 Micro ( < V.3, non-PnP version )
1891 #options        ITKIX1
1892 #device         isic0   at isa? port 0x398 irq 10 flags 18
1893 #
1894 # ELSA PCC-16
1895 #options        ELSA_PCC16
1896 #device         isic0   at isa? port 0x360 irq 10 flags 20
1897 #
1898 # ISA bus PnP Cards:
1899 # ------------------
1900 #
1901 # Teles S0/16.3 PnP
1902 #options        TEL_S0_16_3_P
1903 #device         isic
1904 #
1905 # Creatix ISDN-S0 P&P
1906 #options        CRTX_S0_P
1907 #device         isic
1908 #
1909 # Dr. Neuhaus Niccy Go@
1910 #options        DRN_NGO
1911 #device         isic
1912 #
1913 # Sedlbauer Win Speed
1914 #options        SEDLBAUER
1915 #device         isic
1916 #
1917 # Dynalink IS64PH
1918 #options        DYNALINK
1919 #device         isic
1920 #
1921 # ELSA QuickStep 1000pro ISA
1922 #options        ELSA_QS1ISA
1923 #device         isic
1924 #
1925 # ITK ix1 Micro ( V.3, PnP version )
1926 #options        ITKIX1
1927 #device         isic
1928 #
1929 # Siemens I-Surf 2.0
1930 #options        SIEMENS_ISURF2
1931 #device         isic
1932 #
1933 # Asuscom ISDNlink 128K ISAC
1934 #options        ASUSCOM_IPAC
1935 #device         isic
1936 #
1937 # Eicon Diehl DIVA 2.0 and 2.02
1938 #options       EICON_DIVA
1939 #device         isic
1940 #
1941 # Compaq Microcom 610
1942 #options       COMPAQ_M610
1943 #device         isic
1944 #
1945 # PCI bus Cards:
1946 # --------------
1947 #
1948 # ELSA MicroLink ISDN/PCI (same as ELSA QuickStep 1000pro PCI)
1949 #options        ELSA_QS1PCI
1950 #device         isic
1951 #
1952 #---------------------------------------------------------------------------
1953 #       ifpnp driver for AVM Fritz!Card ISA PnP
1954 #---------------------------------------------------------------------------
1955 #
1956 # AVM Fritz!Card ISA PnP
1957 #device ifpnp
1958 #
1959 #---------------------------------------------------------------------------
1960 #       ihfc driver for Cologne Chip ISA chipsets (experimental!)
1961 #---------------------------------------------------------------------------
1962 #
1963 # Teles 16.3c ISA PnP
1964 # AcerISDN P10 ISA PnP
1965 # TELEINT ISDN SPEED No.1
1966 #device ihfc
1967 #
1968 #---------------------------------------------------------------------------
1969 #       ifpi driver for AVM Fritz!Card PCI 1.0 (2.0 unsupported!)
1970 #---------------------------------------------------------------------------
1971 #
1972 # AVM Fritz!Card PCI 1.0
1973 #device  ifpi
1974 #
1975 #---------------------------------------------------------------------------
1976 #       ifpi2 driver for AVM Fritz!Card PCI 2.0
1977 #---------------------------------------------------------------------------
1978 #
1979 # AVM Fritz!Card PCI 2.0
1980 #device  "ifpi2"
1981 #
1982 #---------------------------------------------------------------------------
1983 #       iwic driver for Winbond W6692 chipset
1984 #---------------------------------------------------------------------------
1985 #
1986 # ASUSCOM P-IN100-ST-D (and other Winbond W6692 based cards)
1987 #device  iwic
1988 #
1989 #---------------------------------------------------------------------------
1990 #       itjc driver for Siemens ISAC / TJNet Tiger300/320 chipset
1991 #---------------------------------------------------------------------------
1992 #
1993 # Traverse Technologies NETjet-S
1994 # Teles PCI-TJ
1995 #device  itjc
1996 #
1997 #---------------------------------------------------------------------------
1998 #       iavc driver (AVM active cards, needs i4bcapi driver!)
1999 #---------------------------------------------------------------------------
2000 #
2001 #pseudo-device   "i4bcapi"      2
2002 #
2003 # AVM B1 PCI
2004 #device          iavc0
2005 #
2006 # AVM B1 ISA bus (PnP mode not supported!)
2007 #device  iavc0 at isa? port 0x150 irq 5
2008 #
2009 #
2010 # ISDN Protocol Stack (mandatory)
2011 # -------------------------------
2012 #
2013 # Q.921 / layer 2 - i4b passive cards D channel handling
2014 #pseudo-device  "i4bq921"
2015 #
2016 # Q.931 / layer 3 - i4b passive cards D channel handling
2017 #pseudo-device  "i4bq931"
2018 #
2019 # layer 4 - i4b common passive and active card handling
2020 #pseudo-device  "i4b"
2021 #
2022 # ISDN devices
2023 # ------------
2024 #
2025 # userland driver to do ISDN tracing (for passive cards only)
2026 #pseudo-device  "i4btrc"        4
2027 #
2028 # userland driver to control the whole thing (mandatory)
2029 #pseudo-device  "i4bctl"
2030 #
2031 # userland driver for access to raw B channel
2032 #pseudo-device  "i4brbch"       4
2033 #
2034 # userland driver for telephony
2035 #pseudo-device  "i4btel"        2
2036 #
2037 # network driver for IP over raw HDLC ISDN
2038 #pseudo-device  "i4bipr"        4
2039 # enable VJ header compression detection for ipr i/f
2040 #options        IPR_VJ
2041 # enable logging of the first n IP packets to isdnd (n=32 here)
2042 #options        IPR_LOG=32
2043 #
2044 # network driver for sync PPP over ISDN - requires sppp
2045 #pseudo-device  "i4bisppp"      4
2046
2047
2048 # Parallel-Port Bus
2049 #
2050 # Parallel port bus support is provided by the `ppbus' device.
2051 # Multiple devices may be attached to the parallel port, devices
2052 # are automatically probed and attached when found.
2053 #
2054 # Supported devices:
2055 # vpo   Iomega Zip Drive
2056 #       Requires SCSI disk support ('scbus' and 'da'); the best
2057 #       performance is achieved with ports in EPP 1.9 mode.
2058 # lpt   Parallel Printer
2059 # plip  Parallel network interface
2060 # ppi   General-purpose I/O ("Geek Port") + IEEE1284 I/O
2061 # pps   Pulse per second Timing Interface
2062 # lpbb  Philips official parallel port I2C bit-banging interface
2063 #
2064 # Supported interfaces:
2065 # ppc   ISA-bus parallel port interfaces.
2066 #
2067
2068 options         PPC_PROBE_CHIPSET # Enable chipset specific detection
2069                                   # (see flags in ppc(4))
2070 options         DEBUG_1284      # IEEE1284 signaling protocol debug
2071 options         PERIPH_1284     # Makes your computer act as a IEEE1284
2072                                 # compliant peripheral
2073 options         DONTPROBE_1284  # Avoid boot detection of PnP parallel devices
2074 options         VP0_DEBUG       # ZIP/ZIP+ debug
2075 options         LPT_DEBUG       # Printer driver debug
2076 options         PPC_DEBUG=2     # Parallel chipset level debug
2077 options         PLIP_DEBUG      # Parallel network IP interface debug
2078 options         PCFCLOCK_VERBOSE         # Verbose pcfclock driver
2079 options         PCFCLOCK_MAX_RETRIES=5   # Maximum read tries (default 10)
2080
2081 device          ppc0    at isa? irq 7
2082 device          ppbus
2083 device          vpo
2084 device          lpt
2085 device          plip
2086 device          ppi
2087 device          pps
2088 device          lpbb
2089 device          pcfclock
2090
2091 # Kernel BOOTP support
2092
2093 options         BOOTP           # Use BOOTP to obtain IP address/hostname
2094 options         BOOTP_NFSROOT   # NFS mount root filesystem using BOOTP info
2095 options         BOOTP_NFSV3     # Use NFS v3 to NFS mount root
2096 options         BOOTP_COMPAT    # Workaround for broken bootp daemons.
2097 options         BOOTP_WIRED_TO=fxp0 # Use interface fxp0 for BOOTP
2098
2099 #
2100 # Add tie-ins for a hardware watchdog.  This only enable the hooks;
2101 # the user must still supply the actual driver.
2102 #
2103 options         HW_WDOG
2104
2105 #
2106 # Set the number of PV entries per process.  Increasing this can
2107 # stop panics related to heavy use of shared memory. However, that can
2108 # (combined with large amounts of physical memory) cause panics at
2109 # boot time due the kernel running out of VM space.
2110 #
2111 # If you're tweaking this, you might also want to increase the sysctls
2112 # "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target".
2113 #
2114 # The value below is the one more than the default.
2115 #
2116 options         PMAP_SHPGPERPROC=201
2117
2118 #
2119 # Disable swapping. This option removes all code which actually performs
2120 # swapping, so it's not possible to turn it back on at run-time.
2121 #
2122 # This is sometimes usable for systems which don't have any swap space
2123 # (see also sysctls "vm.defer_swapspace_pageouts" and
2124 # "vm.disable_swapspace_pageouts")
2125 #
2126 #options        NO_SWAPPING
2127
2128 # Set the size of the buffer cache KVM reservation, in buffers.  This is
2129 # scaled by approximately 16384 bytes.  The system will auto-size the buffer
2130 # cache if this option is not specified.
2131 #
2132 options         NBUF=512
2133
2134 # Set the size of the mbuf KVM reservation, in clusters.  This is scaled
2135 # by approximately 2048 bytes.  The system will auto-size the mbuf area
2136 # to (512 + maxusers*16) if this option is not specified.
2137 # maxusers is in turn computed at boot time depending on available memory
2138 # or set to the value specified by "options MAXUSERS=x" (x=0 means
2139 # autoscaling).
2140 # So, to take advantage of autoscaling, you have to remove both
2141 # NMBCLUSTERS and MAXUSERS (and NMBUFS) from your kernel config.
2142 #
2143 options         NMBCLUSTERS=1024
2144
2145 # Set the number of mbufs available in the system. Each mbuf
2146 # consumes 256 bytes. The system will autosize this (to 4 times
2147 # the number of NMBCLUSTERS, depending on other constraints)
2148 # if this option is not specified.
2149 #
2150 options         NMBUFS=4096
2151
2152 # Tune the buffer cache maximum KVA reservation, in bytes.  The maximum is
2153 # usually capped at 200 MB, effecting machines with > 1GB of ram.  Note
2154 # that the buffer cache only really governs write buffering and disk block
2155 # translations.  The VM page cache is our primary disk cache and is not
2156 # effected by the size of the buffer cache.
2157 #
2158 options         VM_BCACHE_SIZE_MAX="(100*1024*1024)"
2159
2160 # Tune the swap zone KVA reservation, in bytes.  The default is typically
2161 # 70 MB, giving the system the ability to manage a maximum of 28GB worth
2162 # of swapped out data.
2163 #
2164 options         VM_SWZONE_SIZE_MAX="(50*1024*1024)"
2165
2166 #
2167 # Enable extra debugging code for locks.  This stores the filename and
2168 # line of whatever acquired the lock in the lock itself, and change a
2169 # number of function calls to pass around the relevant data.  This is
2170 # not at all useful unless you are debugging lock code.  Also note
2171 # that it is likely to break e.g. fstat(1) unless you recompile your
2172 # userland with -DDEBUG_LOCKS as well.
2173 #
2174 options         DEBUG_LOCKS
2175
2176 # Set the amount of time (in seconds) the system will wait before
2177 # rebooting automatically when a kernel panic occurs.  If set to (-1),
2178 # the system will wait indefinitely until a key is pressed on the
2179 # console.
2180 options         PANIC_REBOOT_WAIT_TIME=16
2181
2182 # Attempt to bypass the buffer cache and put data directly into the
2183 # userland buffer for read operation when O_DIRECT flag is set on the
2184 # file.  Both offset and length of the read operation must be
2185 # multiples of the physical media sector size.
2186 #
2187 options         DIRECTIO
2188
2189 # Specify a lower limit for the number of swap I/O buffers.  They are
2190 # (among other things) used when bypassing the buffer cache due to
2191 # DIRECTIO kernel option enabled and O_DIRECT flag set on file.
2192 #
2193 #options                NSWBUF_MIN=120
2194
2195 # The 'asr' driver provides support for current DPT/Adaptec SCSI RAID
2196 # controllers (SmartRAID V and VI and later).
2197 # These controllers require the CAM infrastructure.
2198 #
2199 device          asr
2200
2201 # The 'dpt' driver provides support for DPT controllers (http://www.dpt.com/).
2202 # These have hardware RAID-{0,1,5} support, and do multi-initiator I/O.
2203 # The DPT controllers are commonly re-licensed under other brand-names -
2204 # some controllers by Olivetti, Dec, HP, AT&T, SNI, AST, Alphatronic, NEC and
2205 # Compaq are actually DPT controllers.
2206 #
2207 # See src/sys/dev/raid/dpt for debugging and other subtle options.
2208 #   DPT_MEASURE_PERFORMANCE Enables a set of (semi)invasive metrics. Various
2209 #                           instruments are enabled.  The tools in
2210 #                           /usr/sbin/dpt_* assume these to be enabled.
2211 #   DPT_HANDLE_TIMEOUTS     Normally device timeouts are handled by the DPT.
2212 #                           If you ant the driver to handle timeouts, enable
2213 #                           this option.  If your system is very busy, this
2214 #                           option will create more trouble than solve.
2215 #   DPT_TIMEOUT_FACTOR      Used to compute the excessive amount of time to
2216 #                           wait when timing out with the above option.
2217 #  DPT_DEBUG_xxxx           These are controllable from sys/dev/dpt/raid/dpt.h
2218 #  DPT_LOST_IRQ             When enabled, will try, once per second, to catch
2219 #                           any interrupt that got lost.  Seems to help in some
2220 #                           DPT-firmware/Motherboard combinations.  Minimal
2221 #                           cost, great benefit.
2222 #  DPT_RESET_HBA            Make "reset" actually reset the controller
2223 #                           instead of fudging it.  Only enable this if you
2224 #                           are 100% certain you need it.
2225
2226 device          dpt
2227
2228 # DPT options
2229 #!CAM# options  DPT_MEASURE_PERFORMANCE
2230 #!CAM# options  DPT_HANDLE_TIMEOUTS
2231 options         DPT_TIMEOUT_FACTOR=4
2232 options         DPT_LOST_IRQ
2233 options         DPT_RESET_HBA
2234
2235 #
2236 # Compaq "CISS" RAID controllers (SmartRAID 5* series)
2237 # These controllers have a SCSI-like interface, and require the
2238 # CAM infrastructure.
2239 #
2240 device          ciss
2241
2242 #
2243 # Intel Integrated RAID controllers.
2244 # This driver is supported and maintained by
2245 # "Leubner, Achim" <Achim_Leubner@adaptec.com>.
2246 #
2247 device          iir
2248
2249 #
2250 # Mylex AcceleRAID and eXtremeRAID controllers with v6 and later
2251 # firmware.  These controllers have a SCSI-like interface, and require
2252 # the CAM infrastructure.
2253 #
2254 device          mly
2255
2256 # USB support
2257 # UHCI controller
2258 device          uhci
2259 # OHCI controller
2260 device          ohci
2261 # EHCI controller
2262 device          ehci
2263 # General USB code (mandatory for USB)
2264 device          usb
2265 #
2266 # USB Bluetooth
2267 device          ubt
2268 # Fm Radio
2269 device          ufm
2270 # Generic USB device driver
2271 device          ugen
2272 # Human Interface Device (anything with buttons and dials)
2273 device          uhid
2274 # USB keyboard
2275 device          ukbd
2276 # USB printer
2277 device          ulpt
2278 # USB Iomega Zip 100 Drive (Requires scbus and da)
2279 device          umass
2280 # USB modem support
2281 device          umodem
2282 # USB mouse
2283 device          ums
2284 # USB Rio (MP3 Player)
2285 device          urio
2286 # USB scanners
2287 device          uscanner
2288 # USB com devices
2289 device          moscom
2290 device          uark
2291 device          ubsa
2292 device          uchcom
2293 device          ucom
2294 device          uftdi
2295 device          ugensa
2296 device          umct
2297 device          uplcom
2298 device          uslcom
2299 device          uticom
2300 device          uvisor
2301 device          uvscom
2302
2303 #
2304 # ADMtek USB ethernet. Supports the LinkSys USB100TX,
2305 # the Billionton USB100, the Melco LU-ATX, the D-Link DSB-650TX
2306 # and the SMC 2202USB. Also works with the ADMtek AN986 Pegasus
2307 # eval board.
2308 device          aue
2309 #
2310 # ASIX Electronics AX88172 USB 2.0 ethernet driver. Used in the
2311 # LinkSys USB200M and various other adapters.
2312 device          axe
2313 #
2314 # CATC USB-EL1201A USB ethernet. Supports the CATC Netmate
2315 # and Netmate II, and the Belkin F5U111.
2316 device          cue
2317 #
2318 # Kawasaki LSI ethernet. Supports the LinkSys USB10T,
2319 # Entrega USB-NET-E45, Peracom Ethernet Adapter, the
2320 # 3Com 3c19250, the ADS Technologies USB-10BT, the ATen UC10T,
2321 # the Netgear EA101, the D-Link DSB-650, the SMC 2102USB
2322 # and 2104USB, and the Corega USB-T.
2323 device          kue
2324 #
2325 # RealTek 8150 based USB ethernet device:
2326 #   Melco LUA-KTX
2327 #   GREEN HOUSE GH-USB100B
2328 #   Billionton ThumbLAN USBKR2-100B
2329 device          rue
2330
2331 # USB wireless NICs, requires wlan_amrr
2332 #
2333 # Ralink Technology RT2501USB/RT2601USB
2334 #device         rum
2335 #
2336 # Ralink Technology RT2500USB
2337 #device         ural
2338
2339 # debugging options for the USB subsystem
2340 #
2341 options         USB_DEBUG
2342
2343 # options for ukbd:
2344 options         UKBD_DFLT_KEYMAP        # specify the built-in keymap
2345 makeoptions     UKBD_DFLT_KEYMAP=it.iso
2346
2347 # Firewire support
2348 device          firewire        # Firewire bus code
2349 device          sbp             # SCSI over Firewire (Requires scbus and da)
2350 device          fwe             # Ethernet over Firewire (non-standard!)
2351
2352 # dcons support (Dumb Console Device)
2353 device          dcons                   # dumb console driver
2354 device          dcons_crom              # FireWire attachment
2355 options         DCONS_BUF_SIZE=16384    # buffer size
2356 options         DCONS_POLL_HZ=100       # polling rate
2357 options         DCONS_FORCE_CONSOLE=1   # force to be the primary console
2358 options         DCONS_FORCE_GDB=1       # force to be the gdb device
2359
2360 #####################################################################
2361 # crypto subsystem
2362 #
2363 # This is a port of the openbsd crypto framework.  Include this when
2364 # configuring IPsec and when you have a h/w crypto device to accelerate
2365 # user applications that link to openssl.
2366 #
2367 # Drivers are ports from openbsd with some simple enhancements that have
2368 # been fed back to openbsd (and hopefully will be included).
2369
2370 pseudo-device   crypto          # core crypto support
2371 pseudo-device   cryptodev       # /dev/crypto for access to h/w
2372
2373 device          rndtest         # FIPS 140-2 entropy tester
2374
2375 device          hifn            # Hifn 7951, 7781, etc.
2376 options         HIFN_DEBUG      # enable debugging support: hw.hifn.debug
2377 #options        HIFN_NO_RNG     # for devices without RNG
2378 options         HIFN_RNDTEST    # enable rndtest support
2379
2380 device          ubsec           # Broadcom 5501, 5601, 58xx
2381 options         UBSEC_DEBUG     # enable debugging support: hw.ubsec.debug
2382 #options        UBSEC_NO_RNG    # for devices without RNG
2383 options         UBSEC_RNDTEST   # enable rndtest support
2384
2385 device          aesni           # hardware crypto/RNG for AES-NI
2386 device          padlock         # hardware crypto/RNG for VIA C3/C7/Eden
2387
2388 #
2389 # ACPI support using the Intel ACPI Component Architecture reference
2390 # implementation.
2391 #
2392 # ACPI_DEBUG enables the use of the debug.acpi.level and debug.acpi.layer
2393 # kernel environment variables to select initial debugging levels for the
2394 # Intel ACPICA code.
2395 #
2396 # Note that building ACPI into the kernel is deprecated; the module is
2397 # normally loaded automatically by the loader.
2398
2399 device          acpi
2400 options         ACPI_DEBUG
2401
2402 # ACPI Asus Extras (LCD backlight/brightness, video output, etc.)
2403 device          acpi_asus
2404
2405 # ACPI Fujitsu Extras (Buttons)
2406 device          acpi_fujitsu
2407
2408 # ACPI extras driver for HP laptops
2409 #device         acpi_hp
2410
2411 # ACPI Panasonic Extras (LCD backlight/brightness, video output, etc.)
2412 device          acpi_panasonic
2413
2414 # ACPI Sony extra (LCD brightness)
2415 device          acpi_sony
2416
2417 # ACPI extras driver for ThinkPad laptops
2418 device          acpi_thinkpad
2419
2420 # ACPI Toshiba Extras (LCD backlight/brightness, video output, etc.)
2421 device          acpi_toshiba
2422
2423 # ACPI Video Extensions (LCD backlight/brightness, video output, etc.)
2424 device          acpi_video
2425
2426 device          aibs            # ASUSTeK AI Booster (ACPI ASOC ATK0110)
2427
2428 # DRM options:
2429 # drm:          General DRM code
2430 # i915drm:      Intel i830, i845, i915, i945, i965, G33/35
2431 # mach64drm:    ATI Mach64 cards - Rage and 3D Rage series
2432 # mgadrm:       AGP Matrox G200, G400, G450, G550
2433 # r128drm:      ATI Rage 128 cards
2434 # radeondrm:    ATI Radeon cards
2435 # savagedrm:    Savage cards
2436 # sisdrm:       Sis cards
2437 # tdfxdrm:      3dfx Voodoo 3/4/5 and Banshee
2438 #
2439 # DRM_DEBUG:    include debug printfs, very slow
2440 #
2441 # DRM requires AGP in the kernel.
2442
2443 device          drm
2444 device          "i915drm"
2445 device          "mach64drm"
2446 device          mgadrm
2447 device          "r128drm"
2448 device          radeondrm
2449 device          savagedrm
2450 device          sisdrm
2451 device          tdfxdrm
2452
2453 options         DRM_DEBUG
2454 options         DRM_LINUX
2455
2456 #
2457 # Misc devices
2458 #
2459 device          cmx             # Omnikey CardMan 4040 smartcard reader
2460 device          gpio            # Enable support for the gpio framework
2461
2462 #
2463 # Embedded system options:
2464 #
2465 # An embedded system might want to run something other than init.
2466 options         INIT_PATH="/sbin/init:/sbin/oinit"
2467
2468 # Debug options
2469 options         BUS_DEBUG       # enable newbus debugging
2470 options         RSS_DEBUG       # enable RSS (Receive Side Scaling) debugging
2471
2472 # Record the program counter of the code interrupted by the statistics
2473 # clock interrupt.  Use pctrack(8) to dump this information.
2474 options         DEBUG_PCTRACK
2475
2476 # More undocumented options for linting.
2477 # Note that documenting these are not considered an affront.
2478
2479 #options        ACPI_NO_SEMAPHORES
2480 options         AHC_DUMP_EEPROM
2481 #options        BKTR_ALLOC_PAGES=xxx
2482 options         CAM_DEBUG_DELAY
2483 options         CLUSTERDEBUG
2484 #options        COMPAT_LINUX
2485 options         COMPAT_SUNOS
2486 options         DEBUG
2487 options         DEBUG_CRIT_SECTIONS
2488 options         DEBUG_INTERRUPTS
2489 #options        DISABLE_PSE
2490 options         BCE_DEBUG
2491 options         BCE_NVRAM_WRITE_SUPPORT
2492 options         EMX_RSS_DEBUG
2493 options         JME_RSS_DEBUG
2494 #options        ED_NO_MIIBUS
2495 options         ENABLE_ALART
2496 options         FB_DEBUG=2
2497 options         FB_INSTALL_CDEV
2498 #options        I4B_SMP_WORKAROUND
2499 options         I586_PMC_GUPROF=0x70000
2500 #options        IEEE80211_DEBUG_REFCNT
2501 options         IEEE80211_SUPPORT_SUPERG
2502 options         KBDIO_DEBUG=10
2503 options         KBD_MAXRETRY=4
2504 options         KBD_MAXWAIT=6
2505 options         KBD_RESETDELAY=201
2506 #options        KERN_TIMESTAMP
2507 options         KEY
2508 #options        LINPROCFS
2509 options         LOCKF_DEBUG
2510 options         LOUTB
2511 #options        MAXFILES=xxx
2512 options         MBUF_DEBUG
2513 options         NETATALKDEBUG
2514 options         PANIC_DEBUG
2515 options         PMAP_DEBUG
2516 options         PSM_DEBUG=4
2517 options         SCSI_NCR_DEBUG
2518 options         SCSI_NCR_MAX_SYNC=10000
2519 options         SCSI_NCR_MAX_WIDE=1
2520 options         SCSI_NCR_MYADDR=7
2521 options         SHOW_BUSYBUFS   # List buffers that prevent root unmount
2522 options         SI_DEBUG
2523 options         SLAB_DEBUG
2524 options         SLIP_IFF_OPTS
2525 options         SOCKBUF_DEBUG
2526 options         TDMA_BINTVAL_DEFAULT=5
2527 options         TDMA_SLOTCNT_DEFAULT=2
2528 options         TDMA_SLOTLEN_DEFAULT=10*1000
2529 options         TDMA_TXRATE_11A_DEFAULT=2*24
2530 options         TDMA_TXRATE_11B_DEFAULT=2*11
2531 options         TDMA_TXRATE_11G_DEFAULT=2*24
2532 options         TDMA_TXRATE_11NA_DEFAULT="(4|IEEE80211_RATE_MCS)"
2533 options         TDMA_TXRATE_11NG_DEFAULT="(4|IEEE80211_RATE_MCS)"
2534 options         TDMA_TXRATE_HALF_DEFAULT=2*12
2535 options         TDMA_TXRATE_QUARTER_DEFAULT=2*6
2536 options         TDMA_TXRATE_TURBO_DEFAULT=2*24
2537 #options        TIMER_FREQ="((14318182+6)/12)"
2538 options         VFS_BIO_DEBUG
2539 options         VM_PAGE_DEBUG
2540 options         XBONEHACK
2541
2542 options KTR
2543 #options KTR_CTXSW
2544 #options KTR_ETHERNET
2545 #options KTR_HAMMER
2546 #options KTR_IF_BGE
2547 #options KTR_IF_EM
2548 #options KTR_IF_EMX
2549 #options KTR_IF_START
2550 #options KTR_IFQ
2551 #options KTR_IPIQ
2552 #options KTR_KERNENTRY
2553 #options KTR_MEMORY
2554 #options KTR_POLLING
2555 #options KTR_SERIALIZER
2556 #options KTR_SPIN_CONTENTION
2557 #options KTR_TESTLOG
2558 #options KTR_TOKENS
2559 #options KTR_USB_MEMORY
2560 options KTR_ALL
2561 options KTR_ENTRIES=1024
2562 options KTR_VERBOSE=1
2563
2564 # ALTQ
2565 options         ALTQ            #alternate queueing
2566 options         ALTQ_CBQ        #class based queueing
2567 options         ALTQ_RED        #random early detection
2568 options         ALTQ_RIO        #triple red for diffserv (needs RED)
2569 options         ALTQ_HFSC       #hierarchical fair service curve
2570 options         ALTQ_PRIQ       #priority queue
2571 options         ALTQ_FAIRQ      #fair queue
2572 #options        ALTQ_NOPCC      #don't use processor cycle counter
2573 options         ALTQ_DEBUG      #for debugging
2574 # you might want to set kernel timer to 1kHz if you use CBQ,
2575 # especially with 100baseT
2576 #options        HZ=1000
2577
2578 # SCTP
2579 options         SCTP
2580 options         SCTP_DEBUG
2581 options         SCTP_USE_ADLER32
2582 options         SCTP_HIGH_SPEED
2583 options         SCTP_STAT_LOGGING
2584 options         SCTP_CWND_LOGGING
2585 options         SCTP_BLK_LOGGING
2586 options         SCTP_STR_LOGGING
2587 options         SCTP_FR_LOGGING
2588 options         SCTP_MAP_LOGGING
2589
2590 # DSCHED stuff
2591 options         DSCHED_FQ
2592
2593 # WATCHDOG
2594 options         WATCHDOG_ENABLE         # Enable watchdog support framework
2595 options         WDOG_DISABLE_ON_PANIC   # Automatically disable watchdogs on panic
2596
2597 # LED
2598 options         ERROR_LED_ON_PANIC      # If an error led is present, light it up on panic