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