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