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