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