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