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