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