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