xref: /dragonfly/sys/config/LINT64 (revision a700a71b)
1745b8439SSascha Wildner#
2745b8439SSascha Wildner# X86_64_LINT -- config file for checking all the sources, tries to pull in
3745b8439SSascha Wildner#	as much of the source tree as it can.
4745b8439SSascha Wildner#
5745b8439SSascha Wildner# $FreeBSD: src/sys/i386/conf/LINT,v 1.749.2.144 2003/06/04 17:56:59 sam Exp $
6745b8439SSascha Wildner#
7745b8439SSascha Wildner# See the kernconf(5) manual page for more information on the format of
8745b8439SSascha Wildner# this file.
9745b8439SSascha Wildner#
10745b8439SSascha Wildner# NB: You probably don't want to try running a kernel built from this
11745b8439SSascha Wildner# file.  Instead, you should start from X86_64_GENERIC, and add options
12745b8439SSascha Wildner# from this file as required.
13745b8439SSascha Wildner#
14745b8439SSascha Wildner
15745b8439SSascha Wildner# These directives are mandatory.  The machine directive specifies the
16745b8439SSascha Wildner# platform and the machine_arch directive specifies the cpu architecture.
17745b8439SSascha Wildner#
18745b8439SSascha Wildnerplatform	pc64
19745b8439SSascha Wildnermachine		x86_64
20745b8439SSascha Wildnermachine_arch	x86_64
21745b8439SSascha Wildner
22745b8439SSascha Wildner#
23745b8439SSascha Wildner# This is the ``identification'' of the kernel.  Usually this should
24745b8439SSascha Wildner# be the same as the name of your kernel.
25745b8439SSascha Wildner#
26745b8439SSascha Wildnerident		X86_64_LINT
27745b8439SSascha Wildner
28745b8439SSascha Wildner#
29745b8439SSascha Wildner# The `maxusers' parameter controls the static sizing of a number of
30745b8439SSascha Wildner# internal system tables by a formula defined in subr_param.c.  Setting
31745b8439SSascha Wildner# maxusers to 0 will cause the system to auto-size based on physical
32745b8439SSascha Wildner# memory.
33745b8439SSascha Wildner#
34745b8439SSascha Wildnermaxusers	10
35745b8439SSascha Wildner
36745b8439SSascha Wildner#
37745b8439SSascha Wildner# The `makeoptions' parameter allows variables to be passed to the
38745b8439SSascha Wildner# generated Makefile in the build area.
39745b8439SSascha Wildner#
40745b8439SSascha Wildner# CONF_CFLAGS gives some extra compiler flags that are added to ${CFLAGS}
41745b8439SSascha Wildner# after most other flags.  Here we use it to inhibit use of non-optimal
42745b8439SSascha Wildner# gcc builtin functions (e.g., memcmp).
43745b8439SSascha Wildner#
44745b8439SSascha Wildner# DEBUG happens to be magic.
45745b8439SSascha Wildner# The following is equivalent to 'config -g KERNELNAME' and creates
46745b8439SSascha Wildner# 'kernel.debug' compiled with -g debugging as well as a normal
47745b8439SSascha Wildner# 'kernel'.  Use 'make install.debug' to install the debug kernel
48745b8439SSascha Wildner# but that isn't normally necessary as the debug symbols are not loaded
49745b8439SSascha Wildner# by the kernel and are not useful there anyway.
50745b8439SSascha Wildner#
51745b8439SSascha Wildner# KERNEL can be overridden so that you can change the default name of your
52745b8439SSascha Wildner# kernel.
53745b8439SSascha Wildner#
54745b8439SSascha Wildner# MODULES_OVERRIDE can be used to limit modules built to a specific list.
55745b8439SSascha Wildner#
56745b8439SSascha Wildner# INSTALLSTRIPPED can be set to cause installkernel to install stripped
57745b8439SSascha Wildner# kernels and modules rather than a kernel and modules with debug symbols.
58745b8439SSascha Wildner#
59745b8439SSascha Wildner# INSTALLSTRIPPEDMODULES can be set to allow a full debug kernel to be
60745b8439SSascha Wildner# installed, but to strip the installed modules.
61745b8439SSascha Wildner#
62745b8439SSascha Wildnermakeoptions	CONF_CFLAGS=-fno-builtin  #Don't allow use of memcmp, etc.
63745b8439SSascha Wildner#makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
64745b8439SSascha Wildner#makeoptions	KERNEL=foo		#Build kernel "foo" and install "/foo"
65745b8439SSascha Wildner# Only build Linux API modules and plus those parts of the sound system I need.
66745b8439SSascha Wildner#makeoptions	MODULES_OVERRIDE="linux sound/snd sound/pcm sound/driver/maestro3"
67745b8439SSascha Wildner#makeoptions	INSTALLSTRIPPED=1
68745b8439SSascha Wildner#makeoptions	INSTALLSTRIPPEDMODULES=1
69745b8439SSascha Wildner
70745b8439SSascha Wildner#
71745b8439SSascha Wildner# Certain applications can grow to be larger than the 128M limit
72745b8439SSascha Wildner# that DragonFly initially imposes.  Below are some options to
73745b8439SSascha Wildner# allow that limit to grow to 256MB, and can be increased further
74745b8439SSascha Wildner# with changing the parameters.  MAXDSIZ is the maximum that the
75745b8439SSascha Wildner# limit can be set to, and the DFLDSIZ is the default value for
76745b8439SSascha Wildner# the limit.  MAXSSIZ is the maximum that the stack limit can be
77745b8439SSascha Wildner# set to.  You might want to set the default lower than the max,
78745b8439SSascha Wildner# and explicitly set the maximum with a shell command for processes
79745b8439SSascha Wildner# that regularly exceed the limit like INND.
80745b8439SSascha Wildner#
81745b8439SSascha Wildneroptions 	MAXDSIZ="(256*1024*1024)"
82745b8439SSascha Wildneroptions 	MAXSSIZ="(256*1024*1024)"
83745b8439SSascha Wildneroptions 	DFLDSIZ="(256*1024*1024)"
84745b8439SSascha Wildner
85745b8439SSascha Wildner#
86745b8439SSascha Wildner# BLKDEV_IOSIZE sets the default block size used in user block
87745b8439SSascha Wildner# device I/O.  Note that this value will be overridden by the label
88745b8439SSascha Wildner# when specifying a block device from a label with a non-0
89745b8439SSascha Wildner# partition blocksize.  The default is PAGE_SIZE.
90745b8439SSascha Wildner#
91745b8439SSascha Wildneroptions 	BLKDEV_IOSIZE=8192
92745b8439SSascha Wildner
93745b8439SSascha Wildner# Options for the VM subsystem.
94745b8439SSascha Wildneroptions 	PQ_CACHESIZE=512	# color for 512k/16k cache
95745b8439SSascha Wildner
96745b8439SSascha Wildner# This allows you to actually store this configuration file into
97745b8439SSascha Wildner# the kernel binary itself, where it may be later read by saying:
98745b8439SSascha Wildner#    strings -n 3 /kernel | sed -n 's/^___//p' > MYKERNEL
99745b8439SSascha Wildner#
100745b8439SSascha Wildneroptions 	INCLUDE_CONFIG_FILE     # Include this file in kernel
101745b8439SSascha Wildner
102745b8439SSascha Wildner#
103745b8439SSascha Wildner# The root device and filesystem type can be compiled in;
104745b8439SSascha Wildner# this provides a fallback option if the root device cannot
105745b8439SSascha Wildner# be correctly guessed by the bootstrap code, or an override if
106745b8439SSascha Wildner# the RB_DFLTROOT flag (-r) is specified when booting the kernel.
107745b8439SSascha Wildner#
108745b8439SSascha Wildneroptions 	ROOTDEVNAME=\"ufs:da0s2e\"
109745b8439SSascha Wildner
110745b8439SSascha Wildner
111745b8439SSascha Wildner#####################################################################
112745b8439SSascha Wildner# SMP OPTIONS:
113745b8439SSascha Wildner#
114e93ca50aSSascha Wildner# SMP enables building of a Symmetric MultiProcessor Kernel. It will
115e93ca50aSSascha Wildner# boot on both SMP and UP boxes.
116745b8439SSascha Wildner#
117745b8439SSascha Wildner# Notes:
118745b8439SSascha Wildner#
119745b8439SSascha Wildner#  An SMP kernel will ONLY run on an Intel MP spec. qualified motherboard.
120745b8439SSascha Wildner#
121745b8439SSascha Wildner#  Check the 'Rogue SMP hardware' section to see if additional options
122745b8439SSascha Wildner#   are required by your hardware.
123745b8439SSascha Wildner#
124e93ca50aSSascha Wildner#options 	SMP			# Symmetric MultiProcessor Kernel
125745b8439SSascha Wildner
126745b8439SSascha Wildner
127745b8439SSascha Wildner#####################################################################
128745b8439SSascha Wildner# CPU OPTIONS
129745b8439SSascha Wildner
130745b8439SSascha Wildnercpu		HAMMER_CPU
131745b8439SSascha Wildner
132745b8439SSascha Wildner#
133745b8439SSascha Wildner# Options for CPU features.
134745b8439SSascha Wildner#
135745b8439SSascha Wildner# CPU_AMD64X2_INTR_SPAM tries to route HyperTransport EXTINT and NMI
136745b8439SSascha Wildner# messages to LINT0 on the local APIC when the BIOS has forgotten to
137745b8439SSascha Wildner# do that.  If this is not done on a multi-core cpu, EXTINT and NMI
138745b8439SSascha Wildner# get routed to the INTR/NMI pins on *BOTH* cores simultaneously, causing
139745b8439SSascha Wildner# two INTA ack cycles one of which will almost certainly result in a
140745b8439SSascha Wildner# spurious interrupt vector being presented.  This is often visible as
141745b8439SSascha Wildner# an unmaskable IRQ 7 which occurs for every normal interrupt that occurs
142745b8439SSascha Wildner# on a system.
143745b8439SSascha Wildner#
144745b8439SSascha Wildner# CPU_DISABLE_SSE disables SSE/MMX2 instructions support.
145745b8439SSascha Wildner#
146dbe005bbSSascha Wildner# CPU_ENABLE_EST enables support for Enhanced SpeedStep technology
147dbe005bbSSascha Wildner# found in Pentium(tm) M processors.
148dbe005bbSSascha Wildner#
149745b8439SSascha Wildneroptions		CPU_AMD64X2_INTR_SPAM
150745b8439SSascha Wildner#options 	CPU_DISABLE_SSE
151dbe005bbSSascha Wildneroptions		CPU_ENABLE_EST
152745b8439SSascha Wildner
153745b8439SSascha Wildner#####################################################################
154745b8439SSascha Wildner# COMPATIBILITY OPTIONS
155745b8439SSascha Wildner
156745b8439SSascha Wildner#
157745b8439SSascha Wildner# Implement system calls compatible with 4.3BSD and older versions of
158745b8439SSascha Wildner# FreeBSD.  You probably do NOT want to remove this as much current code
159745b8439SSascha Wildner# still relies on the 4.3 emulation.
160745b8439SSascha Wildner#
161745b8439SSascha Wildneroptions 	COMPAT_43
162745b8439SSascha Wildner
163745b8439SSascha Wildner#
164745b8439SSascha Wildner# These three options provide support for System V Interface
165745b8439SSascha Wildner# Definition-style interprocess communication, in the form of shared
166745b8439SSascha Wildner# memory, semaphores, and message queues, respectively.
167745b8439SSascha Wildner#
168745b8439SSascha Wildner# System V shared memory and tunable parameters
169745b8439SSascha Wildneroptions 	SYSVSHM		# include support for shared memory
170745b8439SSascha Wildneroptions 	SHMMAXPGS=1025	# max amount of shared memory pages (4k on i386)
171745b8439SSascha Wildneroptions 	SHMALL=1025	# max amount of shared memory (bytes)
172745b8439SSascha Wildneroptions 	SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)"
173745b8439SSascha Wildner				# max shared memory segment size (bytes)
174745b8439SSascha Wildneroptions 	SHMMIN=2	# min shared memory segment size (bytes)
175745b8439SSascha Wildneroptions 	SHMMNI=33	# max number of shared memory identifiers
176745b8439SSascha Wildneroptions 	SHMSEG=9	# max shared memory segments per process
177745b8439SSascha Wildner
178745b8439SSascha Wildner# System V semaphores and tunable parameters
179745b8439SSascha Wildneroptions 	SYSVSEM		# include support for semaphores
180745b8439SSascha Wildneroptions 	SEMMAP=31	# amount of entries in semaphore map
181745b8439SSascha Wildneroptions 	SEMMNI=11	# number of semaphore identifiers in the system
182745b8439SSascha Wildneroptions 	SEMMNS=61	# number of semaphores in the system
183745b8439SSascha Wildneroptions 	SEMMNU=31	# number of undo structures in the system
184745b8439SSascha Wildneroptions 	SEMMSL=61	# max number of semaphores per id
185745b8439SSascha Wildneroptions 	SEMOPM=101	# max number of operations per semop call
186745b8439SSascha Wildneroptions 	SEMUME=11	# max number of undo entries per process
187745b8439SSascha Wildner
188745b8439SSascha Wildner# System V message queues and tunable parameters
189745b8439SSascha Wildneroptions 	SYSVMSG		# include support for message queues
190745b8439SSascha Wildneroptions 	MSGMNB=2049	# max characters per message queue
191745b8439SSascha Wildneroptions 	MSGMNI=41	# max number of message queue identifiers
192745b8439SSascha Wildneroptions 	MSGSEG=2049	# max number of message segments in the system
193745b8439SSascha Wildneroptions 	MSGSSZ=16	# size of a message segment MUST be power of 2
194745b8439SSascha Wildneroptions 	MSGTQL=41	# max amount of messages in the system
195745b8439SSascha Wildner
196745b8439SSascha Wildner
197745b8439SSascha Wildner#####################################################################
198745b8439SSascha Wildner# DEBUGGING OPTIONS
199745b8439SSascha Wildner
200745b8439SSascha Wildner#
201745b8439SSascha Wildner# Enable the kernel debugger.
202745b8439SSascha Wildner#
203745b8439SSascha Wildneroptions 	DDB
204745b8439SSascha Wildner
205745b8439SSascha Wildner#
206745b8439SSascha Wildner# Print a stack trace on kernel panic.
207745b8439SSascha Wildner#
208745b8439SSascha Wildneroptions 	DDB_TRACE
209745b8439SSascha Wildner
210745b8439SSascha Wildner#
211745b8439SSascha Wildner# Don't drop into DDB for a panic. Intended for unattended operation
212745b8439SSascha Wildner# where you may want to drop to DDB from the console, but still want
213745b8439SSascha Wildner# the machine to recover from a panic
214745b8439SSascha Wildner#
215745b8439SSascha Wildneroptions 	DDB_UNATTENDED
216745b8439SSascha Wildner
217745b8439SSascha Wildner#
218745b8439SSascha Wildner# If using GDB remote mode to debug the kernel, there's a non-standard
219745b8439SSascha Wildner# extension to the remote protocol that can be used to use the serial
220745b8439SSascha Wildner# port as both the debugging port and the system console.  It's non-
221745b8439SSascha Wildner# standard and you're on your own if you enable it.  See also the
222745b8439SSascha Wildner# "remotechat" variables in the DragonFly specific version of gdb.
223745b8439SSascha Wildner#
224745b8439SSascha Wildneroptions 	GDB_REMOTE_CHAT
225745b8439SSascha Wildner
226745b8439SSascha Wildner#
227745b8439SSascha Wildner# KTRACE enables the system-call tracing facility ktrace(2).
228745b8439SSascha Wildner#
229745b8439SSascha Wildneroptions 	KTRACE			#kernel tracing
230745b8439SSascha Wildner
231745b8439SSascha Wildner#
232745b8439SSascha Wildner# The INVARIANTS option is used in a number of source files to enable
233745b8439SSascha Wildner# extra sanity checking of internal structures.  This support is not
234745b8439SSascha Wildner# enabled by default because of the extra time it would take to check
235745b8439SSascha Wildner# for these conditions, which can only occur as a result of
236745b8439SSascha Wildner# programming errors.
237745b8439SSascha Wildner#
238745b8439SSascha Wildneroptions 	INVARIANTS
239745b8439SSascha Wildner
240745b8439SSascha Wildner#
241745b8439SSascha Wildner# The DIAGNOSTIC option is used to enable extra debugging information
242745b8439SSascha Wildner# from some parts of the kernel.  As this makes everything more noisy,
243745b8439SSascha Wildner# it is disabled by default.
244745b8439SSascha Wildner#
245745b8439SSascha Wildneroptions 	DIAGNOSTIC
246745b8439SSascha Wildner
247745b8439SSascha Wildner#
248745b8439SSascha Wildner# PERFMON causes the driver for Pentium/Pentium Pro performance counters
249745b8439SSascha Wildner# to be compiled.  See perfmon(4) for more information.
250745b8439SSascha Wildner#
251745b8439SSascha Wildneroptions 	PERFMON
252745b8439SSascha Wildner
253745b8439SSascha Wildner
254745b8439SSascha Wildner#
255745b8439SSascha Wildner# This option let some drivers co-exist that can't co-exist in a running
256745b8439SSascha Wildner# system.  This is used to be able to compile all kernel code in one go for
257745b8439SSascha Wildner# quality assurance purposes (like this file, which the option takes it name
258745b8439SSascha Wildner# from.)
259745b8439SSascha Wildner#
260745b8439SSascha Wildneroptions 	COMPILING_LINT
261745b8439SSascha Wildner
262745b8439SSascha Wildner
263745b8439SSascha Wildner# XXX - this doesn't belong here.
264745b8439SSascha Wildner# Allow ordinary users to take the console - this is useful for X.
265745b8439SSascha Wildneroptions 	UCONSOLE
266745b8439SSascha Wildner
267745b8439SSascha Wildner
268745b8439SSascha Wildner#####################################################################
269745b8439SSascha Wildner# NETWORKING OPTIONS
270745b8439SSascha Wildner
271745b8439SSascha Wildner#
272745b8439SSascha Wildner# Protocol families:
273745b8439SSascha Wildner#  Only the INET (Internet) family is officially supported in DragonFly.
274745b8439SSascha Wildner#  Source code for the NS (Xerox Network Service) is provided for amusement
275745b8439SSascha Wildner#  value.
276745b8439SSascha Wildner#
277745b8439SSascha Wildneroptions 	INET			#Internet communications protocols
278745b8439SSascha Wildneroptions 	INET6			#IPv6 communications protocols
279745b8439SSascha Wildneroptions 	IPSEC			#IP security
280745b8439SSascha Wildneroptions 	IPSEC_ESP		#IP security (crypto; define w/ IPSEC)
281745b8439SSascha Wildneroptions 	IPSEC_DEBUG		#debug for IP security
282745b8439SSascha Wildner#
283745b8439SSascha Wildner# Set IPSEC_FILTERGIF to force packets coming through a gif tunnel
284745b8439SSascha Wildner# to be processed by any configured packet filtering (ipfw, ipf).
285745b8439SSascha Wildner# The default is that packets coming from a tunnel are _not_ processed;
286745b8439SSascha Wildner# they are assumed trusted.
287745b8439SSascha Wildner#
288745b8439SSascha Wildner# Note that enabling this can be problematic as there are no mechanisms
289745b8439SSascha Wildner# in place for distinguishing packets coming out of a tunnel (e.g. no
290745b8439SSascha Wildner# encX devices as found on openbsd).
291745b8439SSascha Wildner#
292745b8439SSascha Wildner#options 	IPSEC_FILTERGIF		#filter ipsec packets from a tunnel
293745b8439SSascha Wildner
294745b8439SSascha Wildner#
295745b8439SSascha Wildner# Experimental IPsec implementation that uses the kernel crypto
296745b8439SSascha Wildner# framework.  This cannot be configured together with IPSEC and
297745b8439SSascha Wildner# (currently) supports only IPv4.  To use this you must also
298745b8439SSascha Wildner# configure the crypto device (see below).  Note that with this
299745b8439SSascha Wildner# you get all the IPsec protocols (e.g. there is no FAST_IPSEC_ESP).
300745b8439SSascha Wildner# IPSEC_DEBUG is used, as above, to configure debugging support
301745b8439SSascha Wildner# within the IPsec protocols.
302745b8439SSascha Wildner#
303745b8439SSascha Wildner#options 	FAST_IPSEC		#new IPsec
304745b8439SSascha Wildner
305745b8439SSascha Wildneroptions 	IPX			#IPX/SPX communications protocols
306745b8439SSascha Wildneroptions 	IPXIP			#IPX in IP encapsulation (not available)
307745b8439SSascha Wildneroptions 	IPTUNNEL		#IP in IPX encapsulation (not available)
308745b8439SSascha Wildner
309745b8439SSascha Wildneroptions 	NCP			#NetWare Core protocol
310745b8439SSascha Wildner
311745b8439SSascha Wildneroptions 	MPLS			#Multi-Protocol Label Switching
312745b8439SSascha Wildner
313745b8439SSascha Wildneroptions 	NETATALK		#Appletalk communications protocols
314745b8439SSascha Wildner
3157902ca8cSSascha Wildner#
3167902ca8cSSascha Wildner# SMB/CIFS requester
3177902ca8cSSascha Wildner# NETSMB enables support for SMB protocol, it requires LIBMCHAIN and LIBICONV
3187902ca8cSSascha Wildner# options.
3197902ca8cSSascha Wildner# NETSMBCRYPTO enables support for encrypted passwords.
3207902ca8cSSascha Wildneroptions 	NETSMB			#SMB/CIFS requester
3217902ca8cSSascha Wildneroptions 	NETSMBCRYPTO		#encrypted password support for SMB
3227902ca8cSSascha Wildner
323745b8439SSascha Wildner# mchain library. It can be either loaded as KLD or compiled into kernel
324745b8439SSascha Wildneroptions 	LIBMCHAIN		#mbuf management library
325745b8439SSascha Wildner
326745b8439SSascha Wildner# netgraph(4). Enable the base netgraph code with the NETGRAPH option.
327745b8439SSascha Wildner# Individual node types can be enabled with the corresponding option
328745b8439SSascha Wildner# listed below; however, this is not strictly necessary as netgraph
329745b8439SSascha Wildner# will automatically load the corresponding KLD module if the node type
330745b8439SSascha Wildner# is not already compiled into the kernel. Each type below has a
331745b8439SSascha Wildner# corresponding man page, e.g., ng_async(4).
332745b8439SSascha Wildneroptions 	NETGRAPH		#netgraph(4) system
333745b8439SSascha Wildneroptions 	NETGRAPH_ASYNC
334745b8439SSascha Wildneroptions 	NETGRAPH_BPF
335745b8439SSascha Wildneroptions 	NETGRAPH_BRIDGE
336745b8439SSascha Wildneroptions 	NETGRAPH_CISCO
337745b8439SSascha Wildneroptions 	NETGRAPH_ECHO
338745b8439SSascha Wildneroptions		NETGRAPH_EIFACE
339745b8439SSascha Wildneroptions 	NETGRAPH_ETHER
340745b8439SSascha Wildneroptions 	NETGRAPH_FRAME_RELAY
341745b8439SSascha Wildneroptions 	NETGRAPH_HOLE
342745b8439SSascha Wildneroptions 	NETGRAPH_IFACE
343745b8439SSascha Wildneroptions 	NETGRAPH_KSOCKET
344745b8439SSascha Wildneroptions 	NETGRAPH_L2TP
345745b8439SSascha Wildneroptions 	NETGRAPH_LMI
346745b8439SSascha Wildner# MPPC compression requires proprietary files (not included)
347745b8439SSascha Wildner#options 	NETGRAPH_MPPC_COMPRESSION
348745b8439SSascha Wildneroptions 	NETGRAPH_MPPC_ENCRYPTION
349745b8439SSascha Wildneroptions 	NETGRAPH_ONE2MANY
350745b8439SSascha Wildneroptions 	NETGRAPH_PPP
351745b8439SSascha Wildneroptions 	NETGRAPH_PPPOE
352745b8439SSascha Wildneroptions 	NETGRAPH_PPTPGRE
353745b8439SSascha Wildneroptions 	NETGRAPH_RFC1490
354745b8439SSascha Wildneroptions 	NETGRAPH_SOCKET
355745b8439SSascha Wildneroptions 	NETGRAPH_TEE
356745b8439SSascha Wildneroptions 	NETGRAPH_TTY
357745b8439SSascha Wildneroptions 	NETGRAPH_UI
358745b8439SSascha Wildneroptions 	NETGRAPH_VJC
359745b8439SSascha Wildner
360745b8439SSascha Wildnerdevice		mn	# Munich32x/Falc54 Nx64kbit/sec cards.
361745b8439SSascha Wildner
362745b8439SSascha Wildner#
363745b8439SSascha Wildner# Network interfaces:
364745b8439SSascha Wildner#  The `loop' pseudo-device is MANDATORY when networking is enabled.
365745b8439SSascha Wildner#  The `ether' pseudo-device provides generic code to handle
366745b8439SSascha Wildner#  Ethernets; it is MANDATORY when a Ethernet device driver is
367745b8439SSascha Wildner#  configured.
368745b8439SSascha Wildner#  The `sppp' pseudo-device serves a similar role for certain types
369745b8439SSascha Wildner#  of synchronous PPP links (like `ar').
370745b8439SSascha Wildner#  The `sl' pseudo-device implements the Serial Line IP (SLIP) service.
371745b8439SSascha Wildner#  The `ppp' pseudo-device implements the Point-to-Point Protocol.
372745b8439SSascha Wildner#  The `bpf' pseudo-device enables the Berkeley Packet Filter.  Be
373745b8439SSascha Wildner#  aware of the legal and administrative consequences of enabling this
374745b8439SSascha Wildner#  option.  The number of devices determines the maximum number of
375745b8439SSascha Wildner#  simultaneous BPF clients programs runnable.
376745b8439SSascha Wildner#  The `disc' pseudo-device implements a minimal network interface,
377745b8439SSascha Wildner#  which throws away all packets sent and never receives any.  It is
378745b8439SSascha Wildner#  included for testing purposes.  This shows up as the 'ds' interface.
379745b8439SSascha Wildner#  The `tun' pseudo-device implements (user-)ppp and nos-tun
380745b8439SSascha Wildner#  The `gif' pseudo-device implements IPv6 over IP4 tunneling,
381745b8439SSascha Wildner#  IPv4 over IPv6 tunneling, IPv4 over IPv4 tunneling and
382745b8439SSascha Wildner#  IPv6 over IPv6 tunneling.
383745b8439SSascha Wildner#  The `gre' device implements two types of IP4 over IP4 tunneling:
384745b8439SSascha Wildner#  GRE and MOBILE, as specified in the RFC1701 and RFC2004.
385745b8439SSascha Wildner#  The `faith' pseudo-device captures packets sent to it and diverts them
386745b8439SSascha Wildner#  to the IPv4/IPv6 translation daemon.
387745b8439SSascha Wildner#  The `stf' device implements 6to4 encapsulation.
388745b8439SSascha Wildner#  The `ef' pseudo-device provides support for multiple ethernet frame types
389745b8439SSascha Wildner#  specified via ETHER_* options. See ef(4) for details.
390745b8439SSascha Wildner#
391745b8439SSascha Wildner# The PPP_BSDCOMP option enables support for compress(1) style entire
392745b8439SSascha Wildner# packet compression, the PPP_DEFLATE is for zlib/gzip style compression.
393745b8439SSascha Wildner# PPP_FILTER enables code for filtering the ppp data stream and selecting
394745b8439SSascha Wildner# events for resetting the demand dial activity timer - requires bpf.
395745b8439SSascha Wildner# See pppd(8) for more details.
396745b8439SSascha Wildner#
397745b8439SSascha Wildnerpseudo-device	ether			#Generic Ethernet
398745b8439SSascha Wildnerpseudo-device	vlan	1		#VLAN support
399745b8439SSascha Wildnerpseudo-device	bridge			#Bridging support
400745b8439SSascha Wildnerpseudo-device	sppp			#Generic Synchronous PPP
401745b8439SSascha Wildnerpseudo-device	loop			#Network loopback device
402745b8439SSascha Wildnerpseudo-device	bpf			#Berkeley packet filter
403745b8439SSascha Wildnerpseudo-device	disc			#Discard device (ds0, ds1, etc)
404745b8439SSascha Wildnerpseudo-device	tun			#Tunnel driver (ppp(8), nos-tun(8))
405745b8439SSascha Wildnerpseudo-device	sl	2		#Serial Line IP
406745b8439SSascha Wildnerpseudo-device	gre			#IP over IP tunneling
407745b8439SSascha Wildnerpseudo-device	ppp	2		#Point-to-point protocol
408745b8439SSascha Wildneroptions 	PPP_BSDCOMP		#PPP BSD-compress support
409745b8439SSascha Wildneroptions 	PPP_DEFLATE		#PPP zlib/deflate/gzip support
410745b8439SSascha Wildneroptions 	PPP_FILTER		#enable bpf filtering (needs bpf)
411745b8439SSascha Wildner
412745b8439SSascha Wildnerpseudo-device	ef			# Multiple ethernet frames support
413745b8439SSascha Wildneroptions 	ETHER_II		# enable Ethernet_II frame
414745b8439SSascha Wildneroptions 	ETHER_8023		# enable Ethernet_802.3 (Novell) frame
415745b8439SSascha Wildneroptions 	ETHER_8022		# enable Ethernet_802.2 frame
416745b8439SSascha Wildneroptions 	ETHER_SNAP		# enable Ethernet_802.2/SNAP frame
417745b8439SSascha Wildner
418745b8439SSascha Wildner# for IPv6
419745b8439SSascha Wildnerpseudo-device	gif			#IPv6 and IPv4 tunneling
420745b8439SSascha Wildnerpseudo-device	faith	1		#for IPv6 and IPv4 translation
421745b8439SSascha Wildnerpseudo-device	stf			#6to4 IPv6 over IPv4 encapsulation
422745b8439SSascha Wildner
423745b8439SSascha Wildner#
424745b8439SSascha Wildner# Internet family options:
425745b8439SSascha Wildner#
426745b8439SSascha Wildner# MROUTING enables the kernel multicast packet forwarder, which works
427745b8439SSascha Wildner# with mrouted(8).
428745b8439SSascha Wildner#
429745b8439SSascha Wildner# PIM enables Protocol Independent Multicast in the kernel.
430745b8439SSascha Wildner# Requires MROUTING enabled.
431745b8439SSascha Wildner#
432745b8439SSascha Wildner# IPFIREWALL enables support for IP firewall construction, in
433745b8439SSascha Wildner# conjunction with the `ipfw' program.  IPFIREWALL_VERBOSE sends
434745b8439SSascha Wildner# logged packets to the system logger.  IPFIREWALL_VERBOSE_LIMIT
435745b8439SSascha Wildner# limits the number of times a matching entry can be logged.
436745b8439SSascha Wildner#
437745b8439SSascha Wildner# WARNING:  IPFIREWALL defaults to a policy of "deny ip from any to any"
438745b8439SSascha Wildner# and if you do not add other rules during startup to allow access,
439745b8439SSascha Wildner# YOU WILL LOCK YOURSELF OUT.  It is suggested that you set firewall_type=open
440745b8439SSascha Wildner# in /etc/rc.conf when first enabling this feature, then refining the
441745b8439SSascha Wildner# firewall rules in /etc/rc.firewall after you've tested that the new kernel
442745b8439SSascha Wildner# feature works properly.
443745b8439SSascha Wildner#
444745b8439SSascha Wildner# IPFIREWALL_DEFAULT_TO_ACCEPT causes the default rule (at boot) to
445745b8439SSascha Wildner# allow everything.  Use with care, if a cracker can crash your
446745b8439SSascha Wildner# firewall machine, they can get to your protected machines.  However,
447745b8439SSascha Wildner# if you are using it as an as-needed filter for specific problems as
448745b8439SSascha Wildner# they arise, then this may be for you.  Changing the default to 'allow'
449745b8439SSascha Wildner# means that you won't get stuck if the kernel and /sbin/ipfw binary get
450745b8439SSascha Wildner# out of sync.
451745b8439SSascha Wildner#
452745b8439SSascha Wildner# IPDIVERT enables the divert IP sockets, used by ``ipfw divert''
453745b8439SSascha Wildner#
454745b8439SSascha Wildner# IPSTEALTH enables code to support stealth forwarding (i.e., forwarding
455745b8439SSascha Wildner# packets without touching the ttl).  This can be useful to hide firewalls
456745b8439SSascha Wildner# from traceroute and similar tools.
457745b8439SSascha Wildner#
458745b8439SSascha Wildner# TCPDEBUG is undocumented.
459745b8439SSascha Wildner#
460745b8439SSascha Wildneroptions 	MROUTING		# Multicast routing
461745b8439SSascha Wildneroptions 	PIM			# Protocol Independent Multicast
462745b8439SSascha Wildneroptions 	IPFIREWALL		#firewall
463745b8439SSascha Wildneroptions		IPFIREWALL_DEBUG	#debug prints
464745b8439SSascha Wildneroptions 	IPFIREWALL_VERBOSE	#enable logging to syslogd(8)
465745b8439SSascha Wildneroptions 	IPFIREWALL_FORWARD	#enable transparent proxy support
466745b8439SSascha Wildneroptions 	IPFIREWALL_VERBOSE_LIMIT=100	#limit verbosity
467745b8439SSascha Wildneroptions 	IPFIREWALL_DEFAULT_TO_ACCEPT	#allow everything by default
468745b8439SSascha Wildneroptions 	IPV6FIREWALL		#firewall for IPv6
469745b8439SSascha Wildneroptions 	IPV6FIREWALL_VERBOSE
470745b8439SSascha Wildneroptions 	IPV6FIREWALL_VERBOSE_LIMIT=100
471745b8439SSascha Wildneroptions 	IPV6FIREWALL_DEFAULT_TO_ACCEPT
472745b8439SSascha Wildneroptions 	IPDIVERT		#divert sockets
473745b8439SSascha Wildneroptions 	IPSTEALTH		#support for stealth forwarding
474745b8439SSascha Wildneroptions 	TCPDEBUG
475745b8439SSascha Wildner
476745b8439SSascha Wildnerdevice		pf
477745b8439SSascha Wildnerdevice		pflog
478745b8439SSascha Wildner
479745b8439SSascha Wildner#CARP
480745b8439SSascha Wildnerpseudo-device carp
481745b8439SSascha Wildneroptions CARP
482745b8439SSascha Wildner
483745b8439SSascha Wildner# The MBUF_STRESS_TEST option enables options which create
484745b8439SSascha Wildner# various random failures / extreme cases related to mbuf
485745b8439SSascha Wildner# functions.  See the mbuf(9) manpage for a list of available
486745b8439SSascha Wildner# test cases.
487745b8439SSascha Wildneroptions         MBUF_STRESS_TEST
488745b8439SSascha Wildner
489745b8439SSascha Wildner# Statically link in accept filters
490745b8439SSascha Wildneroptions                ACCEPT_FILTER_DATA
491745b8439SSascha Wildneroptions                ACCEPT_FILTER_HTTP
492745b8439SSascha Wildner
493745b8439SSascha Wildner# TCP_SIGNATURE adds support for RFC 2385 (TCP-MD5) digests. These are
494745b8439SSascha Wildner# carried in TCP option 19. This option is commonly used to protect
495745b8439SSascha Wildner# TCP sessions (e.g. BGP) where IPSEC is not available nor desirable.
496745b8439SSascha Wildner# This is enabled on a per-socket basis using the TCP_MD5SIG socket option.
497745b8439SSascha Wildner# This requires the use of 'device crypto', 'options IPSEC'
498745b8439SSascha Wildner# or 'device cryptodev'.
499745b8439SSascha Wildneroptions   TCP_SIGNATURE   #include support for RFC 2385
500745b8439SSascha Wildner
501745b8439SSascha Wildner#
502745b8439SSascha Wildner# TCP_DROP_SYNFIN adds support for ignoring TCP packets with SYN+FIN. This
503745b8439SSascha Wildner# prevents nmap et al. from identifying the TCP/IP stack, but breaks support
504745b8439SSascha Wildner# for RFC1644 extensions and is not recommended for web servers.
505745b8439SSascha Wildner#
506745b8439SSascha Wildneroptions 	TCP_DROP_SYNFIN		#drop TCP packets with SYN+FIN
507745b8439SSascha Wildner
508745b8439SSascha Wildner# ICMP_BANDLIM enables icmp error response bandwidth limiting.   You
509745b8439SSascha Wildner# typically want this option as it will help protect the machine from
510745b8439SSascha Wildner# D.O.S. packet attacks.
511745b8439SSascha Wildner#
512745b8439SSascha Wildneroptions 	ICMP_BANDLIM
513745b8439SSascha Wildner
514745b8439SSascha Wildner# DUMMYNET enables the "dummynet" bandwidth limiter. You need
515745b8439SSascha Wildner# IPFIREWALL as well. See the dummynet(4) and ipfw(8) manpages for more info.
516745b8439SSascha Wildner#
517745b8439SSascha Wildneroptions 	DUMMYNET
518745b8439SSascha Wildneroptions		DUMMYNET_DEBUG
519745b8439SSascha Wildner
520745b8439SSascha Wildner#
521745b8439SSascha Wildner# ATM (HARP version) options
522745b8439SSascha Wildner#
523745b8439SSascha Wildner# ATM_CORE includes the base ATM functionality code.  This must be included
524745b8439SSascha Wildner#	for ATM support.
525745b8439SSascha Wildner#
526745b8439SSascha Wildner# ATM_IP includes support for running IP over ATM.
527745b8439SSascha Wildner#
528745b8439SSascha Wildner# At least one (and usually only one) of the following signalling managers
529745b8439SSascha Wildner# must be included (note that all signalling managers include PVC support):
530745b8439SSascha Wildner# ATM_SIGPVC includes support for the PVC-only signalling manager `sigpvc'.
531745b8439SSascha Wildner# ATM_SPANS includes support for the `spans' signalling manager, which runs
532745b8439SSascha Wildner#	the FORE Systems's proprietary SPANS signalling protocol.
533745b8439SSascha Wildner# ATM_UNI includes support for the `uni30' and `uni31' signalling managers,
534745b8439SSascha Wildner#	which run the ATM Forum UNI 3.x signalling protocols.
535745b8439SSascha Wildner#
536745b8439SSascha Wildner# The `hea' driver provides support for the Efficient Networks, Inc.
537745b8439SSascha Wildner# ENI-155p ATM PCI Adapter.
538745b8439SSascha Wildner#
539745b8439SSascha Wildner# The `hfa' driver provides support for the FORE Systems, Inc.
540745b8439SSascha Wildner# PCA-200E ATM PCI Adapter.
541745b8439SSascha Wildner#
542745b8439SSascha Wildner#options 	ATM_CORE		#core ATM protocol family
543745b8439SSascha Wildner#options 	ATM_IP			#IP over ATM support
544745b8439SSascha Wildner#options 	ATM_SIGPVC		#SIGPVC signalling manager
545745b8439SSascha Wildner#options 	ATM_SPANS		#SPANS signalling manager
546745b8439SSascha Wildner#options 	ATM_UNI			#UNI signalling manager
547745b8439SSascha Wildner#device		hea			#Efficient ENI-155p ATM PCI
548745b8439SSascha Wildner#device		hfa			#FORE PCA-200E ATM PCI
549745b8439SSascha Wildner
550745b8439SSascha Wildner# DEVICE_POLLING adds support for mixed interrupt-polling handling
551745b8439SSascha Wildner# of network device drivers, which has significant benefits in terms
552745b8439SSascha Wildner# of robustness to overloads and responsivity, as well as permitting
553745b8439SSascha Wildner# accurate scheduling of the CPU time between kernel network processing
554745b8439SSascha Wildner# and other activities. The drawback is a moderate (up to 1/pollhz seconds)
555745b8439SSascha Wildner# potential increase in response times. See polling(4) for further details.
556745b8439SSascha Wildner#
557745b8439SSascha Wildneroptions         DEVICE_POLLING
558745b8439SSascha Wildner
559745b8439SSascha Wildner# IFPOLL_ENABLE adds hardware queues' based polling
560745b8439SSascha Wildneroptions		IFPOLL_ENABLE
561745b8439SSascha Wildner
562745b8439SSascha Wildner
563745b8439SSascha Wildner#####################################################################
564745b8439SSascha Wildner# FILESYSTEM OPTIONS
565745b8439SSascha Wildner
566745b8439SSascha Wildner#
567745b8439SSascha Wildner# Only the root, /usr, and /tmp filesystems need be statically
568745b8439SSascha Wildner# compiled; everything else will be automatically loaded at mount
569745b8439SSascha Wildner# time.  (Exception: the UFS family --- FFS, and MFS ---
570745b8439SSascha Wildner# cannot currently be demand-loaded.)  Some people still prefer
571745b8439SSascha Wildner# to statically compile other filesystems as well.
572745b8439SSascha Wildner#
573745b8439SSascha Wildner# NB: The PORTAL and UNION filesystems are known to be
574745b8439SSascha Wildner# buggy, and WILL panic your system if you attempt to do anything with
575745b8439SSascha Wildner# them.  They are included here as an incentive for some enterprising
576745b8439SSascha Wildner# soul to sit down and fix them.
577745b8439SSascha Wildner#
578745b8439SSascha Wildner
579745b8439SSascha Wildner# One of these is mandatory:
580745b8439SSascha Wildneroptions 	FFS			#Fast filesystem
581745b8439SSascha Wildneroptions 	MFS			#Memory filesystem
582745b8439SSascha Wildneroptions 	NFS			#Network filesystem
583745b8439SSascha Wildner
584745b8439SSascha Wildner# The rest are optional:
585745b8439SSascha Wildner#options 	NFS_NOSERVER		#Disable the NFS-server code.
586745b8439SSascha Wildneroptions 	CD9660			#ISO 9660 filesystem
587745b8439SSascha Wildneroptions 	FDESC			#File descriptor filesystem
588745b8439SSascha Wildneroptions 	HPFS			#OS/2 File system
589745b8439SSascha Wildneroptions 	MSDOSFS			#MS DOS filesystem
590745b8439SSascha Wildneroptions 	NTFS			#NT filesystem
591745b8439SSascha Wildneroptions 	NULLFS			#NULL filesystem
592745b8439SSascha Wildneroptions 	NWFS			#NetWare filesystem
593745b8439SSascha Wildneroptions 	PORTAL			#Portal filesystem
594745b8439SSascha Wildneroptions 	PROCFS			#Process filesystem
5957902ca8cSSascha Wildneroptions 	SMBFS			#SMB/CIFS filesystem
596745b8439SSascha Wildneroptions		UDF			#UDF filesystem
597745b8439SSascha Wildneroptions		HAMMER			#HAMMER filesystem
598745b8439SSascha Wildneroptions 	TMPFS			#Temporary filesystem
599745b8439SSascha Wildner
600745b8439SSascha Wildner# YYY-DR Till we rework the VOP methods for this filesystem
601745b8439SSascha Wildner#options 	UNION			#Union filesystem
602745b8439SSascha Wildner# The xFS_ROOT options REQUIRE the associated ``options xFS''
603745b8439SSascha Wildneroptions 	FFS_ROOT		#FFS usable as root device
604745b8439SSascha Wildneroptions 	NFS_ROOT		#NFS usable as root device
605745b8439SSascha Wildner
606745b8439SSascha Wildner# Soft updates is technique for improving UFS filesystem speed and
607745b8439SSascha Wildner# making abrupt shutdown less risky.
608745b8439SSascha Wildneroptions 	SOFTUPDATES
609745b8439SSascha Wildner
610745b8439SSascha Wildner# Directory hashing improves the speed of operations on very large
611745b8439SSascha Wildner# directories at the expense of some memory.
612745b8439SSascha Wildneroptions 	UFS_DIRHASH
613745b8439SSascha Wildner
614745b8439SSascha Wildner# Make space in the kernel for a root filesystem on a md device.
615745b8439SSascha Wildner# Define to the number of kilobytes to reserve for the filesystem.
616745b8439SSascha Wildneroptions 	MD_ROOT_SIZE=10
617745b8439SSascha Wildner
618745b8439SSascha Wildner# Make the md device a potential root device, either with preloaded
619745b8439SSascha Wildner# images of type mfs_root or md_root.
620745b8439SSascha Wildneroptions 	MD_ROOT
621745b8439SSascha Wildner
622745b8439SSascha Wildner# Specify double the default maximum size for malloc(9)-backed md devices.
623745b8439SSascha Wildneroptions 	MD_NSECT=40000
624745b8439SSascha Wildner
625745b8439SSascha Wildner# Allow this many swap-devices.
626745b8439SSascha Wildner#
627745b8439SSascha Wildner# In order to manage swap, the system must reserve bitmap space that
628745b8439SSascha Wildner# scales with the largest mounted swap device multiplied by NSWAPDEV,
629745b8439SSascha Wildner# regardless of whether other swap devices exist or not.  So it
630745b8439SSascha Wildner# is not a good idea to make this value too large.
631745b8439SSascha Wildneroptions 	NSWAPDEV=5
632745b8439SSascha Wildner
633745b8439SSascha Wildner# Disk quotas are supported when this option is enabled.
634745b8439SSascha Wildneroptions 	QUOTA			#enable disk quotas
635745b8439SSascha Wildner
636745b8439SSascha Wildner# If you are running a machine just as a fileserver for PC and MAC
637745b8439SSascha Wildner# users, using SAMBA or Netatalk, you may consider setting this option
638745b8439SSascha Wildner# and keeping all those users' directories on a filesystem that is
639745b8439SSascha Wildner# mounted with the suiddir option. This gives new files the same
640745b8439SSascha Wildner# ownership as the directory (similar to group). It's a security hole
641745b8439SSascha Wildner# if you let these users run programs, so confine it to file-servers
642745b8439SSascha Wildner# (but it'll save you lots of headaches in those cases). Root owned
643745b8439SSascha Wildner# directories are exempt and X bits are cleared. The suid bit must be
644745b8439SSascha Wildner# set on the directory as well; see chmod(1) PC owners can't see/set
645745b8439SSascha Wildner# ownerships so they keep getting their toes trodden on. This saves
646745b8439SSascha Wildner# you all the support calls as the filesystem it's used on will act as
647745b8439SSascha Wildner# they expect: "It's my dir so it must be my file".
648745b8439SSascha Wildner#
649745b8439SSascha Wildneroptions 	SUIDDIR
650745b8439SSascha Wildner
651745b8439SSascha Wildner# NFS options:
652745b8439SSascha Wildneroptions 	NFS_MINATTRTIMO=3	# VREG attrib cache timeout in sec
653745b8439SSascha Wildneroptions 	NFS_MAXATTRTIMO=60
654745b8439SSascha Wildneroptions 	NFS_MINDIRATTRTIMO=30	# VDIR attrib cache timeout in sec
655745b8439SSascha Wildneroptions 	NFS_MAXDIRATTRTIMO=60
656745b8439SSascha Wildneroptions 	NFS_GATHERDELAY=10	# Default write gather delay (msec)
657745b8439SSascha Wildneroptions 	NFS_UIDHASHSIZ=29	# Tune the size of nfssvc_sock with this
658745b8439SSascha Wildneroptions 	NFS_WDELAYHASHSIZ=16	# and with this
659745b8439SSascha Wildneroptions 	NFS_MUIDHASHSIZ=63	# Tune the size of nfsmount with this
660745b8439SSascha Wildneroptions 	NFS_DEBUG		# Enable NFS Debugging
661745b8439SSascha Wildner
662745b8439SSascha Wildner# MSDOSFS options:
663745b8439SSascha Wildneroptions		MSDOSFS_DEBUG		# Enable MSDOSFS Debugging
664745b8439SSascha Wildner
665745b8439SSascha Wildner#
666745b8439SSascha Wildner# Add support for the EXT2FS filesystem of Linux fame.  Be a bit
667745b8439SSascha Wildner# careful with this - the ext2fs code has a tendency to lag behind
668745b8439SSascha Wildner# changes and not be exercised very much, so mounting read/write could
669745b8439SSascha Wildner# be dangerous (and even mounting read only could result in panics.)
670745b8439SSascha Wildner#
671745b8439SSascha Wildneroptions 	EXT2FS
672745b8439SSascha Wildner
673745b8439SSascha Wildner# Optional character code conversion support with LIBICONV.
674745b8439SSascha Wildner# Each option requires their base file system and LIBICONV.
675745b8439SSascha Wildneroptions 	CD9660_ICONV
676745b8439SSascha Wildneroptions 	MSDOSFS_ICONV
677745b8439SSascha Wildneroptions 	NTFS_ICONV
678745b8439SSascha Wildner
679745b8439SSascha Wildner
680745b8439SSascha Wildner#####################################################################
681745b8439SSascha Wildner# POSIX P1003.1B
682745b8439SSascha Wildner
683745b8439SSascha Wildner# Real time extensions added in the 1993 Posix
684745b8439SSascha Wildner# P1003_1B: Infrastructure
685745b8439SSascha Wildner# _KPOSIX_PRIORITY_SCHEDULING: Build in _POSIX_PRIORITY_SCHEDULING
686745b8439SSascha Wildner# _KPOSIX_VERSION:             Version kernel is built for
687745b8439SSascha Wildner
688745b8439SSascha Wildneroptions 	P1003_1B
689745b8439SSascha Wildneroptions 	_KPOSIX_PRIORITY_SCHEDULING
690745b8439SSascha Wildneroptions 	_KPOSIX_VERSION=199309L
691745b8439SSascha Wildner
692745b8439SSascha Wildner
693745b8439SSascha Wildner#####################################################################
694745b8439SSascha Wildner# CLOCK OPTIONS
695745b8439SSascha Wildner
696745b8439SSascha Wildner# The granularity of operation is controlled by the kernel option HZ whose
697745b8439SSascha Wildner# default value (100) means a granularity of 10ms (1s/HZ).
698745b8439SSascha Wildner# Consider, however, that reducing the granularity too much might
699745b8439SSascha Wildner# cause excessive overhead in clock interrupt processing,
700745b8439SSascha Wildner# potentially causing ticks to be missed and thus actually reducing
701745b8439SSascha Wildner# the accuracy of operation.
702745b8439SSascha Wildner
703745b8439SSascha Wildneroptions 	HZ=100
704745b8439SSascha Wildner
705745b8439SSascha Wildner# The following options are used for debugging clock behavior only, and
706745b8439SSascha Wildner# should not be used for production systems.
707745b8439SSascha Wildner#
708745b8439SSascha Wildner# CLK_CALIBRATION_LOOP will run the clock calibration loop at startup
709745b8439SSascha Wildner# until the user presses a key.
710745b8439SSascha Wildner
711745b8439SSascha Wildner#options 	CLK_CALIBRATION_LOOP
712745b8439SSascha Wildner
713745b8439SSascha Wildner# The following two options measure the frequency of the corresponding
714745b8439SSascha Wildner# clock relative to the RTC (onboard mc146818a).
715745b8439SSascha Wildner
716745b8439SSascha Wildner#options 	CLK_USE_I8254_CALIBRATION
717745b8439SSascha Wildner#options 	CLK_USE_TSC_CALIBRATION
718745b8439SSascha Wildner
719745b8439SSascha Wildner
720745b8439SSascha Wildner#####################################################################
721745b8439SSascha Wildner# SCSI DEVICES
722745b8439SSascha Wildner
723745b8439SSascha Wildner# SCSI DEVICE CONFIGURATION
724745b8439SSascha Wildner
725745b8439SSascha Wildner# The SCSI subsystem consists of the `base' SCSI code, a number of
726745b8439SSascha Wildner# high-level SCSI device `type' drivers, and the low-level host-adapter
727745b8439SSascha Wildner# device drivers.  The host adapters are listed in the ISA and PCI
728745b8439SSascha Wildner# device configuration sections below.
729745b8439SSascha Wildner#
730745b8439SSascha Wildner# Beginning with FreeBSD 2.0.5 you can wire down your SCSI devices so
731745b8439SSascha Wildner# that a given bus, target, and LUN always come on line as the same
732745b8439SSascha Wildner# device unit.  In earlier versions the unit numbers were assigned
733745b8439SSascha Wildner# in the order that the devices were probed on the SCSI bus.  This
734745b8439SSascha Wildner# means that if you removed a disk drive, you may have had to rewrite
735745b8439SSascha Wildner# your /etc/fstab file, and also that you had to be careful when adding
736745b8439SSascha Wildner# a new disk as it may have been probed earlier and moved your device
737745b8439SSascha Wildner# configuration around.
738745b8439SSascha Wildner
739745b8439SSascha Wildner# This old behavior is maintained as the default behavior.  The unit
740745b8439SSascha Wildner# assignment begins with the first non-wired down unit for a device
741745b8439SSascha Wildner# type.  For example, if you wire a disk as "da3" then the first
742745b8439SSascha Wildner# non-wired disk will be assigned da4.
743745b8439SSascha Wildner
744745b8439SSascha Wildner# The syntax for wiring down devices is:
745745b8439SSascha Wildner
746745b8439SSascha Wildner# device	scbus0 at ahc0		# Single bus device
747745b8439SSascha Wildner# device	scbus1 at ahc1 bus 0	# Single bus device
748745b8439SSascha Wildner# device	scbus3 at ahc2 bus 0	# Twin bus device
749745b8439SSascha Wildner# device	scbus2 at ahc2 bus 1	# Twin bus device
750745b8439SSascha Wildner# device 	da0 at scbus0 target 0 unit 0
751745b8439SSascha Wildner# device	da1 at scbus3 target 1
752745b8439SSascha Wildner# device	da2 at scbus2 target 3
753745b8439SSascha Wildner# device	sa1 at scbus1 target 6
754745b8439SSascha Wildner# device	cd
755745b8439SSascha Wildner
756745b8439SSascha Wildner# "units" (SCSI logical unit number) that are not specified are
757745b8439SSascha Wildner# treated as if specified as LUN 0.
758745b8439SSascha Wildner
759745b8439SSascha Wildner# All SCSI devices allocate as many units as are required.
760745b8439SSascha Wildner
761745b8439SSascha Wildner# The "unknown" device (uk? in pre-2.0.5) is now part of the base SCSI
762745b8439SSascha Wildner# configuration and doesn't have to be explicitly configured.
763745b8439SSascha Wildner
764745b8439SSascha Wildnerdevice		scbus			#base SCSI code
765745b8439SSascha Wildnerdevice		ch			#SCSI media changers
766745b8439SSascha Wildnerdevice		da			#SCSI direct access devices (aka disks)
767745b8439SSascha Wildnerdevice		sa			#SCSI tapes
768745b8439SSascha Wildnerdevice		cd			#SCSI CD-ROMs
769745b8439SSascha Wildnerdevice		pass			#CAM passthrough driver
770745b8439SSascha Wildnerdevice		sg			#Passthrough device (linux scsi generic)
771745b8439SSascha Wildnerdevice		pt			#SCSI processor type
772745b8439SSascha Wildnerdevice		ses			#SCSI SES/SAF-TE driver
773745b8439SSascha Wildner
774745b8439SSascha Wildner# Options for device mapper
775745b8439SSascha Wildnerdevice		dm
776745b8439SSascha Wildnerdevice		dm_target_crypt
777745b8439SSascha Wildnerdevice		dm_target_linear
778745b8439SSascha Wildnerdevice		dm_target_striped
779745b8439SSascha Wildner
780745b8439SSascha Wildner# Options for iSCSI
781745b8439SSascha Wildnerdevice	        iscsi_initiator
782745b8439SSascha Wildneroptions		ISCSI_INITIATOR_DEBUG=8
783745b8439SSascha Wildner
784745b8439SSascha Wildner# CAM OPTIONS:
785745b8439SSascha Wildner# debugging options:
786745b8439SSascha Wildner# -- NOTE --  If you specify one of the bus/target/lun options, you must
787745b8439SSascha Wildner#             specify them all!
788745b8439SSascha Wildner# CAMDEBUG: When defined enables debugging macros
789745b8439SSascha Wildner# CAM_DEBUG_BUS:  Debug the given bus.  Use -1 to debug all busses.
790745b8439SSascha Wildner# CAM_DEBUG_TARGET:  Debug the given target.  Use -1 to debug all targets.
791745b8439SSascha Wildner# CAM_DEBUG_LUN:  Debug the given lun.  Use -1 to debug all luns.
792745b8439SSascha Wildner# CAM_DEBUG_FLAGS:  OR together CAM_DEBUG_INFO, CAM_DEBUG_TRACE,
793745b8439SSascha Wildner#                   CAM_DEBUG_SUBTRACE, and CAM_DEBUG_CDB
794745b8439SSascha Wildner#
795745b8439SSascha Wildner# CAM_MAX_HIGHPOWER: Maximum number of concurrent high power (start unit) cmds
796745b8439SSascha Wildner# SCSI_NO_SENSE_STRINGS: When defined disables sense descriptions
797745b8439SSascha Wildner# SCSI_NO_OP_STRINGS: When defined disables opcode descriptions
798745b8439SSascha Wildner# SCSI_DELAY: The number of MILLISECONDS to freeze the SIM (scsi adapter)
799745b8439SSascha Wildner#             queue after a bus reset, and the number of milliseconds to
800745b8439SSascha Wildner#             freeze the device queue after a bus device reset.  This
801745b8439SSascha Wildner#             can be changed at boot and runtime with the
802745b8439SSascha Wildner#             kern.cam.scsi_delay tunable/sysctl.
803745b8439SSascha Wildneroptions 	CAMDEBUG
804745b8439SSascha Wildneroptions 	CAM_DEBUG_BUS=-1
805745b8439SSascha Wildneroptions 	CAM_DEBUG_TARGET=-1
806745b8439SSascha Wildneroptions 	CAM_DEBUG_LUN=-1
807745b8439SSascha Wildneroptions 	CAM_DEBUG_FLAGS="CAM_DEBUG_INFO|CAM_DEBUG_TRACE|CAM_DEBUG_CDB"
808745b8439SSascha Wildneroptions 	CAM_MAX_HIGHPOWER=4
809745b8439SSascha Wildneroptions 	SCSI_NO_SENSE_STRINGS
810745b8439SSascha Wildneroptions 	SCSI_NO_OP_STRINGS
811745b8439SSascha Wildneroptions 	SCSI_DELAY=8000	# Be pessimistic about Joe SCSI device
812745b8439SSascha Wildner
813745b8439SSascha Wildner# Options for the CAM CDROM driver:
814745b8439SSascha Wildner# CHANGER_MIN_BUSY_SECONDS: Guaranteed minimum time quantum for a changer LUN
815745b8439SSascha Wildner# CHANGER_MAX_BUSY_SECONDS: Maximum time quantum per changer LUN, only
816745b8439SSascha Wildner#                           enforced if there is I/O waiting for another LUN
817745b8439SSascha Wildner# The compiled in defaults for these variables are 2 and 10 seconds,
818745b8439SSascha Wildner# respectively.
819745b8439SSascha Wildner#
820745b8439SSascha Wildner# These can also be changed on the fly with the following sysctl variables:
821745b8439SSascha Wildner# kern.cam.cd.changer.min_busy_seconds
822745b8439SSascha Wildner# kern.cam.cd.changer.max_busy_seconds
823745b8439SSascha Wildner#
824745b8439SSascha Wildneroptions 	CHANGER_MIN_BUSY_SECONDS=2
825745b8439SSascha Wildneroptions 	CHANGER_MAX_BUSY_SECONDS=10
826745b8439SSascha Wildner
827745b8439SSascha Wildner# Options for the CAM sequential access driver:
828745b8439SSascha Wildner# SA_IO_TIMEOUT: Timeout for read/write/wfm  operations, in minutes
829745b8439SSascha Wildner# SA_SPACE_TIMEOUT: Timeout for space operations, in minutes
830745b8439SSascha Wildner# SA_REWIND_TIMEOUT: Timeout for rewind operations, in minutes
831745b8439SSascha Wildner# SA_ERASE_TIMEOUT: Timeout for erase operations, in minutes
832745b8439SSascha Wildner# SA_1FM_AT_EOD: Default to model which only has a default one filemark at EOT.
833745b8439SSascha Wildneroptions 	SA_IO_TIMEOUT="(4)"
834745b8439SSascha Wildneroptions 	SA_SPACE_TIMEOUT="(60)"
835745b8439SSascha Wildneroptions 	SA_REWIND_TIMEOUT="(2*60)"
836745b8439SSascha Wildneroptions 	SA_ERASE_TIMEOUT="(4*60)"
837745b8439SSascha Wildneroptions 	SA_1FM_AT_EOD
838745b8439SSascha Wildner
839745b8439SSascha Wildner# Optional timeout for the CAM processor target (pt) device
840745b8439SSascha Wildner# This is specified in seconds.  The default is 60 seconds.
841745b8439SSascha Wildneroptions 	SCSI_PT_DEFAULT_TIMEOUT="60"
842745b8439SSascha Wildner
843745b8439SSascha Wildner# Optional enable of doing SES passthrough on other devices (e.g., disks)
844745b8439SSascha Wildner#
845745b8439SSascha Wildner# Normally disabled because a lot of newer SCSI disks report themselves
846745b8439SSascha Wildner# as having SES capabilities, but this can then clot up attempts to build
847745b8439SSascha Wildner# build a topology with the SES device that's on the box these drives
848745b8439SSascha Wildner# are in....
849745b8439SSascha Wildneroptions 	SES_ENABLE_PASSTHROUGH
850745b8439SSascha Wildner
851745b8439SSascha Wildner
852745b8439SSascha Wildner#####################################################################
853745b8439SSascha Wildner# MISCELLANEOUS DEVICES AND OPTIONS
854745b8439SSascha Wildner
855745b8439SSascha Wildner# The `pty' device usually turns out to be ``effectively mandatory'',
856745b8439SSascha Wildner# as it is required for `telnetd', `rlogind', `screen', `emacs', and
857745b8439SSascha Wildner# `xterm', among others.
858745b8439SSascha Wildner
859745b8439SSascha Wildnerpseudo-device	pty		#Pseudo ttys
860745b8439SSascha Wildnerpseudo-device	gzip		#Exec gzipped a.out's
861745b8439SSascha Wildnerpseudo-device	vn		#Vnode driver (turns a file into a device)
862745b8439SSascha Wildnerpseudo-device	md		#Memory/malloc disk
863745b8439SSascha Wildnerpseudo-device	snp		#Snoop device - to look at pty/vty/etc..
864745b8439SSascha Wildnerpseudo-device	ccd	4	#Concatenated disk driver
865745b8439SSascha Wildner
866745b8439SSascha Wildner# Configuring Vinum into the kernel is not necessary, since the kld
867745b8439SSascha Wildner# module gets started automatically when vinum(8) starts.  This
868745b8439SSascha Wildner# device is also untested.  Use at your own risk.
869745b8439SSascha Wildner#
870745b8439SSascha Wildner# The option VINUMDEBUG must match the value set in CFLAGS
871745b8439SSascha Wildner# in src/sbin/vinum/Makefile.  Failure to do so will result in
872745b8439SSascha Wildner# the following message from vinum(8):
873745b8439SSascha Wildner#
874745b8439SSascha Wildner# Can't get vinum config: Invalid argument
875745b8439SSascha Wildner#
876745b8439SSascha Wildner# see vinum(4) for more reasons not to use these options.
87710de45ebSSascha Wildnerpseudo-device	vinum		#Vinum concat/mirror/raid driver
878745b8439SSascha Wildner#options 	VINUMDEBUG	#enable Vinum debugging hooks
879745b8439SSascha Wildner
880745b8439SSascha Wildner# Kernel side iconv library
881745b8439SSascha Wildneroptions 	LIBICONV
882745b8439SSascha Wildner
883745b8439SSascha Wildner# Size of the kernel message buffer.  Should be N * pagesize.
884745b8439SSascha Wildneroptions 	MSGBUF_SIZE=40960
885745b8439SSascha Wildner
886745b8439SSascha Wildner
887745b8439SSascha Wildner#####################################################################
888745b8439SSascha Wildner# HARDWARE DEVICE CONFIGURATION
889745b8439SSascha Wildner
890745b8439SSascha Wildner# ISA devices:
891745b8439SSascha Wildner
892745b8439SSascha Wildner#
893745b8439SSascha Wildner# Mandatory ISA devices: isa
894745b8439SSascha Wildner#
895745b8439SSascha Wildnerdevice		isa
896745b8439SSascha Wildner
897745b8439SSascha Wildner#
898745b8439SSascha Wildner# Options for `isa':
899745b8439SSascha Wildner#
900745b8439SSascha Wildner# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A
901745b8439SSascha Wildner# interrupt controller.  This saves about 0.7-1.25 usec for each interrupt.
902745b8439SSascha Wildner# This option breaks suspend/resume on some portables.
903745b8439SSascha Wildner#
904745b8439SSascha Wildner# AUTO_EOI_2 enables the `automatic EOI' feature for the slave 8259A
905745b8439SSascha Wildner# interrupt controller.  This saves about 0.7-1.25 usec for each interrupt.
906745b8439SSascha Wildner# Automatic EOI is documented not to work for for the slave with the
907745b8439SSascha Wildner# original i8259A, but it works for some clones and some integrated
908745b8439SSascha Wildner# versions.
909745b8439SSascha Wildner#
910745b8439SSascha Wildner# MAXMEM specifies the amount of RAM on the machine; if this is not
911745b8439SSascha Wildner# specified, DragonFly will first read the amount of memory from the CMOS
912745b8439SSascha Wildner# RAM, so the amount of memory will initially be limited to 64MB or 16MB
913745b8439SSascha Wildner# depending on the BIOS.  If the BIOS reports 64MB, a memory probe will
914745b8439SSascha Wildner# then attempt to detect the installed amount of RAM.  If this probe
915745b8439SSascha Wildner# fails to detect >64MB RAM you will have to use the MAXMEM option.
916745b8439SSascha Wildner# The amount is in kilobytes, so for a machine with 128MB of RAM, it would
917745b8439SSascha Wildner# be 131072 (128 * 1024).
918745b8439SSascha Wildner#
919745b8439SSascha Wildner# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to
920745b8439SSascha Wildner# reset the CPU for reboot.  This is needed on some systems with broken
921745b8439SSascha Wildner# keyboard controllers.
922745b8439SSascha Wildner
923745b8439SSascha Wildneroptions 	AUTO_EOI_1
924745b8439SSascha Wildner#options 	AUTO_EOI_2
925745b8439SSascha Wildneroptions 	MAXMEM="(128*1024)"
926745b8439SSascha Wildner#options 	BROKEN_KEYBOARD_RESET
927745b8439SSascha Wildner
928745b8439SSascha Wildner# Enable support for the kernel PLL to use an external PPS signal,
929745b8439SSascha Wildner# under supervision of [x]ntpd(8)
930745b8439SSascha Wildner# More info in ntpd documentation: http://www.eecis.udel.edu/~ntp
931745b8439SSascha Wildner
932745b8439SSascha Wildneroptions 	PPS_SYNC
933745b8439SSascha Wildner
934745b8439SSascha Wildner# The keyboard controller; it controls the keyboard and the PS/2 mouse.
935745b8439SSascha Wildnerdevice		atkbdc0	at isa? port IO_KBD
936745b8439SSascha Wildner
937745b8439SSascha Wildner# The AT keyboard
938745b8439SSascha Wildnerdevice		atkbd0	at atkbdc? irq 1
939745b8439SSascha Wildner
940745b8439SSascha Wildner# Options for atkbd:
941745b8439SSascha Wildneroptions 	ATKBD_DFLT_KEYMAP	# specify the built-in keymap
942745b8439SSascha Wildnermakeoptions	ATKBD_DFLT_KEYMAP="jp.106"
943745b8439SSascha Wildner
944745b8439SSascha Wildner# These options are valid for other keyboard drivers as well.
945745b8439SSascha Wildneroptions 	KBD_DISABLE_KEYMAP_LOAD	# refuse to load a keymap
946745b8439SSascha Wildneroptions 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
947745b8439SSascha Wildner
948745b8439SSascha Wildner# `flags' for atkbd:
949745b8439SSascha Wildner#       0x01    Force detection of keyboard, else we always assume a keyboard
950745b8439SSascha Wildner#       0x02    Don't reset keyboard, useful for some newer ThinkPads
951745b8439SSascha Wildner#	0x03	Force detection and avoid reset, might help with certain
952745b8439SSascha Wildner#		dockingstations
953745b8439SSascha Wildner#       0x04    Old-style (XT) keyboard support, useful for older ThinkPads
954745b8439SSascha Wildner
955745b8439SSascha Wildner# PS/2 mouse
956745b8439SSascha Wildnerdevice		psm0	at atkbdc? irq 12
957745b8439SSascha Wildner
958745b8439SSascha Wildner# Options for psm:
959745b8439SSascha Wildneroptions 	PSM_HOOKRESUME		#hook the system resume event, useful
960745b8439SSascha Wildner					#for some laptops
961745b8439SSascha Wildneroptions 	PSM_RESETAFTERSUSPEND	#reset the device at the resume event
962745b8439SSascha Wildner
963745b8439SSascha Wildnerdevice		kbdmux			# keyboard multiplexer
964745b8439SSascha Wildner
965745b8439SSascha Wildner# The video card driver.
966745b8439SSascha Wildnerdevice		vga0	at isa?
967745b8439SSascha Wildner
968745b8439SSascha Wildner# Options for vga:
969745b8439SSascha Wildner# Try the following option if the mouse pointer is not drawn correctly
970745b8439SSascha Wildner# or font does not seem to be loaded properly.  May cause flicker on
971745b8439SSascha Wildner# some systems.
972745b8439SSascha Wildneroptions 	VGA_ALT_SEQACCESS
973745b8439SSascha Wildner
974745b8439SSascha Wildneroptions		VGA_DEBUG=2		# enable VGA debug output
975745b8439SSascha Wildner
976745b8439SSascha Wildner# If you experience problems switching back to 80x25 (or a derived mode),
977745b8439SSascha Wildner# the following option might help.
978745b8439SSascha Wildner#options	VGA_KEEP_POWERON_MODE	# use power-on settings for 80x25
979745b8439SSascha Wildner
980745b8439SSascha Wildner# If you can dispense with some vga driver features, you may want to
981745b8439SSascha Wildner# use the following options to save some memory.
982745b8439SSascha Wildner#options 	VGA_NO_FONT_LOADING	# don't save/load font
983745b8439SSascha Wildner#options 	VGA_NO_MODE_CHANGE	# don't change video modes
984745b8439SSascha Wildner
985745b8439SSascha Wildner# The following option probably won't work with the LCD displays.
986745b8439SSascha Wildneroptions 	VGA_WIDTH90		# support 90 column modes
987745b8439SSascha Wildner
988745b8439SSascha Wildner# Splash screen at start up!  Screen savers require this too.
989745b8439SSascha Wildnerpseudo-device	splash
990745b8439SSascha Wildner
991745b8439SSascha Wildner# The syscons console driver (sco color console compatible).
992745b8439SSascha Wildnerdevice		sc0	at isa?
993745b8439SSascha Wildneroptions 	MAXCONS=16		# number of virtual consoles
994745b8439SSascha Wildneroptions 	SC_ALT_MOUSE_IMAGE	# simplified mouse cursor in text mode
995745b8439SSascha Wildneroptions 	SC_DEBUG_LEVEL=5	# enable debug output
996745b8439SSascha Wildneroptions 	SC_DFLT_FONT		# compile font in
997745b8439SSascha Wildnermakeoptions	SC_DFLT_FONT=cp850
998745b8439SSascha Wildneroptions 	SC_DISABLE_DDBKEY	# disable `debug' key
999745b8439SSascha Wildneroptions 	SC_DISABLE_REBOOT	# disable reboot key sequence
1000745b8439SSascha Wildneroptions 	SC_HISTORY_SIZE=200	# number of history buffer lines
1001745b8439SSascha Wildneroptions 	SC_MOUSE_CHAR=0x3	# char code for text mode mouse cursor
1002745b8439SSascha Wildneroptions 	SC_PIXEL_MODE		# add support for the raster text mode
1003745b8439SSascha Wildner
1004745b8439SSascha Wildner# The following options will let you change the default colors of syscons.
1005745b8439SSascha Wildneroptions 	SC_NORM_ATTR="(FG_GREEN|BG_BLACK)"
1006745b8439SSascha Wildneroptions 	SC_NORM_REV_ATTR="(FG_YELLOW|BG_GREEN)"
1007745b8439SSascha Wildneroptions 	SC_KERNEL_CONS_ATTR="(FG_RED|BG_BLACK)"
1008745b8439SSascha Wildneroptions 	SC_KERNEL_CONS_REV_ATTR="(FG_BLACK|BG_RED)"
1009745b8439SSascha Wildner
1010745b8439SSascha Wildner# If you have a two button mouse, you may want to add the following option
1011745b8439SSascha Wildner# to use the right button of the mouse to paste text.
1012745b8439SSascha Wildneroptions 	SC_TWOBUTTON_MOUSE
1013745b8439SSascha Wildner
1014745b8439SSascha Wildner# You can selectively disable features in syscons.
1015745b8439SSascha Wildner#options 	SC_NO_CUTPASTE
1016745b8439SSascha Wildner#options 	SC_NO_FONT_LOADING
1017745b8439SSascha Wildner#options 	SC_NO_HISTORY
1018745b8439SSascha Wildner#options 	SC_NO_SYSMOUSE
1019745b8439SSascha Wildner
1020745b8439SSascha Wildner#
1021745b8439SSascha Wildner# Optional ISA devices:
1022745b8439SSascha Wildner#
1023745b8439SSascha Wildner
1024745b8439SSascha Wildner#
1025ad9f8794SSascha Wildner# SCSI host adapters: `aic' and `bt'
1026745b8439SSascha Wildner#
1027745b8439SSascha Wildner# adv: All Narrow SCSI bus AdvanSys controllers.
1028745b8439SSascha Wildner# adw: Second Generation AdvanSys controllers including the ADV940UW.
1029745b8439SSascha Wildner# ahc: Adaptec 274x/284x/294x
1030745b8439SSascha Wildner# aic: Adaptec 152x
1031745b8439SSascha Wildner# bt: Most Buslogic controllers
1032745b8439SSascha Wildner# ncv: NCR 53C500 based SCSI host adapters.
1033745b8439SSascha Wildner# nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters.
1034745b8439SSascha Wildner# stg: TMC 18C30, 18C50 based ISA/PC Card SCSI host adapters.
1035745b8439SSascha Wildner#
1036745b8439SSascha Wildner# Note that the order is important in order for Buslogic cards to be
1037745b8439SSascha Wildner# probed correctly.
1038745b8439SSascha Wildner#
1039745b8439SSascha Wildner
1040745b8439SSascha Wildnerdevice		bt0	at isa? port IO_BT0
1041745b8439SSascha Wildnerdevice		adv0	at isa?
1042745b8439SSascha Wildnerdevice		adw
1043745b8439SSascha Wildnerdevice		aic0	at isa?
1044745b8439SSascha Wildnerdevice		ncv
1045745b8439SSascha Wildnerdevice		nsp
1046745b8439SSascha Wildnerdevice		stg0	at isa? port 0x140 irq 11
1047745b8439SSascha Wildner
1048745b8439SSascha Wildner#
1049745b8439SSascha Wildner# Adaptec FSA RAID controllers, including integrated DELL controller,
1050745b8439SSascha Wildner# the Dell PERC 2/QC and the HP NetRAID-4M
1051745b8439SSascha Wildner#
1052745b8439SSascha Wildnerdevice		aac
1053745b8439SSascha Wildneroptions		AAC_DEBUG
1054745b8439SSascha Wildnerdevice		aacp	# SCSI Passthrough interface (optional, CAM required)
1055745b8439SSascha Wildner
1056745b8439SSascha Wildner#
1057745b8439SSascha Wildner# Compaq Smart RAID, Mylex DAC960 and AMI MegaRAID controllers.  Only
1058745b8439SSascha Wildner# one entry is needed; the code will find and configure all supported
1059745b8439SSascha Wildner# controllers.
1060745b8439SSascha Wildner#
1061745b8439SSascha Wildnerdevice		ida		# Compaq Smart RAID
1062745b8439SSascha Wildnerdevice		mlx		# Mylex DAC960
1063745b8439SSascha Wildnerdevice		amr		# AMI MegaRAID
1064745b8439SSascha Wildnerdevice		amrp		# SCSI Passthrough interface (optional, CAM req.)
1065745b8439SSascha Wildnerdevice		mfi		# LSI MegaRAID SAS
1066745b8439SSascha Wildnerdevice		mfip		# LSI MegaRAID SAS passthrough, requires CAM
1067745b8439SSascha Wildneroptions 	MFI_DEBUG
1068745b8439SSascha Wildner
1069745b8439SSascha Wildner#
1070745b8439SSascha Wildner# Areca RAID (CAM is required).
1071745b8439SSascha Wildner#
1072745b8439SSascha Wildnerdevice		arcmsr		# Areca SATA II RAID
1073745b8439SSascha Wildner
1074745b8439SSascha Wildner#
1075745b8439SSascha Wildner# Highpoint RocketRAID 182x.
1076745b8439SSascha Wildnerdevice		hptmv
1077745b8439SSascha Wildner
1078745b8439SSascha Wildner#
1079745b8439SSascha Wildner# Highpoint RocketRaid 3xxx series SATA RAID
1080745b8439SSascha Wildnerdevice		hptiop
1081745b8439SSascha Wildner
1082745b8439SSascha Wildner#
1083745b8439SSascha Wildner# 3ware ATA RAID
1084745b8439SSascha Wildner#
1085745b8439SSascha Wildnerdevice		twe		# 3ware ATA RAID
1086745b8439SSascha Wildnerdevice		twa		# 3ware 9000 series PATA/SATA RAID
1087745b8439SSascha Wildneroptions 	TWA_DEBUG=10	# enable debug messages
1088745b8439SSascha Wildnerdevice		tws		# 3ware 9750 series SATA/SAS RAID
1089745b8439SSascha Wildner
1090745b8439SSascha Wildner#
1091745b8439SSascha Wildner# Promise Supertrack SX6000
1092745b8439SSascha Wildner#
1093745b8439SSascha Wildner#device		pst
1094745b8439SSascha Wildner
1095745b8439SSascha Wildner#
1096745b8439SSascha Wildner# IBM ServeRAID
1097745b8439SSascha Wildner#
1098745b8439SSascha Wildnerdevice	ips
1099745b8439SSascha Wildner
1100745b8439SSascha Wildner#
1101745b8439SSascha Wildner# The 'ATA' driver supports all ATA and ATAPI devices.
1102745b8439SSascha Wildner# You only need one "device ata" for it to find all
1103745b8439SSascha Wildner# PCI ATA/ATAPI devices on modern machines.
1104745b8439SSascha Wildner#device		ata
1105745b8439SSascha Wildner#device		atadisk		# ATA disk drives
1106745b8439SSascha Wildner#device		atapicd		# ATAPI CDROM drives
1107745b8439SSascha Wildner#device		atapifd		# ATAPI floppy drives
1108745b8439SSascha Wildner#device		atapist		# ATAPI tape drives
1109745b8439SSascha Wildner#device		atapicam	# emulate ATAPI devices as SCSI ditto via CAM
1110745b8439SSascha Wildner				# needs CAM to be present (scbus & pass)
1111745b8439SSascha Wildner# AHCI driver, this will override NATA for AHCI devices,
1112745b8439SSascha Wildner# both drivers may be included.
1113745b8439SSascha Wildner#
1114745b8439SSascha Wildnerdevice		ahci
1115745b8439SSascha Wildner
1116745b8439SSascha Wildner# SiI3124/3132 driver
1117745b8439SSascha Wildner#
1118745b8439SSascha Wildnerdevice		sili
1119745b8439SSascha Wildner
1120745b8439SSascha Wildner# The 'NATA' set of drivers are set to replace the previous ATA drivers,
1121745b8439SSascha Wildner# and this set of drivers is mutually exclusive with the old ones. This means,
1122745b8439SSascha Wildner# you can't have both at the same time!
1123745b8439SSascha Wildnerdevice		nata
1124745b8439SSascha Wildnerdevice		natadisk	# ATA disk drives
1125745b8439SSascha Wildnerdevice		natapicd	# ATAPI CD/DVD drives
1126745b8439SSascha Wildnerdevice		natapifd	# ATAPI floppy drives
1127745b8439SSascha Wildnerdevice		natapist	# ATAPI tape drives
1128745b8439SSascha Wildnerdevice		natapicam	# ATAPI CAM layer emulation
1129745b8439SSascha Wildnerdevice		nataraid	# support for ATA software RAID controllers
1130745b8439SSascha Wildnerdevice		natausb		# ATA-over-USB support
1131745b8439SSascha Wildner
1132745b8439SSascha Wildner#The following options are valid on the ATA & NATA drivers:
1133745b8439SSascha Wildner#
1134745b8439SSascha Wildner# ATA_STATIC_ID:	controller numbering is static (like the old driver)
1135745b8439SSascha Wildner#			else the device numbers are dynamically allocated.
1136745b8439SSascha Wildneroptions 	ATA_STATIC_ID
1137745b8439SSascha Wildner
1138745b8439SSascha Wildner#
1139745b8439SSascha Wildner# For older non-PCI systems, these are the lines to use:
1140745b8439SSascha Wildner#device		ata0	at isa? port IO_WD1 irq 14
1141745b8439SSascha Wildner#device		ata1	at isa? port IO_WD2 irq 15
1142745b8439SSascha Wildner
1143745b8439SSascha Wildner#
1144745b8439SSascha Wildner# Standard floppy disk controllers: `fdc' and `fd'
1145745b8439SSascha Wildner#
1146745b8439SSascha Wildner#device		fdc0	at isa? port IO_FD1 irq 6 drq 2
1147745b8439SSascha Wildner#
1148745b8439SSascha Wildner# FDC_DEBUG enables floppy debugging.  Since the debug output is huge, you
1149745b8439SSascha Wildner# gotta turn it actually on by setting the variable fd_debug with DDB,
1150745b8439SSascha Wildner# however.
1151745b8439SSascha Wildner#options 	FDC_DEBUG
1152745b8439SSascha Wildner
1153745b8439SSascha Wildner#device		fd0	at fdc0 drive 0
1154745b8439SSascha Wildner#device		fd1	at fdc0 drive 1
1155745b8439SSascha Wildner
1156745b8439SSascha Wildner#
1157745b8439SSascha Wildner# Other standard PC hardware: `sio', etc.
1158745b8439SSascha Wildner#
1159745b8439SSascha Wildner# sio: serial ports (see sio(4))
1160745b8439SSascha Wildner
1161745b8439SSascha Wildnerdevice		sio0	at isa? port IO_COM1 flags 0x10 irq 4
1162745b8439SSascha Wildner
1163745b8439SSascha Wildner#
1164745b8439SSascha Wildner# `flags' for serial drivers that support consoles (only for sio now):
1165745b8439SSascha Wildner#	0x10	enable console support for this unit.  The other console flags
1166745b8439SSascha Wildner#		are ignored unless this is set.  Enabling console support does
1167745b8439SSascha Wildner#		not make the unit the preferred console - boot with -h or set
1168745b8439SSascha Wildner#		the 0x20 flag for that.  Currently, at most one unit can have
1169745b8439SSascha Wildner#		console support; the first one (in config file order) with
1170745b8439SSascha Wildner#		this flag set is preferred.  Setting this flag for sio0 gives
1171745b8439SSascha Wildner#		the old behaviour.
1172745b8439SSascha Wildner#	0x20	force this unit to be the console (unless there is another
1173745b8439SSascha Wildner#		higher priority console).  This replaces the COMCONSOLE option.
1174745b8439SSascha Wildner#	0x40	reserve this unit for low level console operations.  Do not
1175745b8439SSascha Wildner#		access the device in any normal way.
1176745b8439SSascha Wildner#	0x80	use this port for serial line gdb support in ddb.
1177745b8439SSascha Wildner#
1178745b8439SSascha Wildner# PnP `flags' (set via userconfig using pnp x flags y)
1179745b8439SSascha Wildner#	0x1	disable probing of this device.  Used to prevent your modem
1180745b8439SSascha Wildner#		from being attached as a PnP modem.
1181745b8439SSascha Wildner#
1182745b8439SSascha Wildner
1183745b8439SSascha Wildner# Options for serial drivers that support consoles (only for sio now):
1184745b8439SSascha Wildneroptions 	BREAK_TO_DEBUGGER	#a BREAK on a comconsole goes to
1185745b8439SSascha Wildner					#DDB, if available.
1186745b8439SSascha Wildneroptions 	CONSPEED=115200		# speed for serial console
1187745b8439SSascha Wildner					# (default 9600)
1188745b8439SSascha Wildner
1189745b8439SSascha Wildner# Solaris implements a new BREAK which is initiated by a character
1190745b8439SSascha Wildner# sequence CR ~ ^b which is similar to a familiar pattern used on
1191745b8439SSascha Wildner# Sun servers by the Remote Console.
1192745b8439SSascha Wildneroptions 	ALT_BREAK_TO_DEBUGGER
1193745b8439SSascha Wildner
1194745b8439SSascha Wildner# Options for sio:
1195745b8439SSascha Wildneroptions 	COM_ESP			#code for Hayes ESP
1196745b8439SSascha Wildneroptions 	COM_MULTIPORT		#code for some cards with shared IRQs
1197745b8439SSascha Wildner
1198745b8439SSascha Wildner# Other flags for sio that aren't documented in the man page.
1199745b8439SSascha Wildner#	0x20000	enable hardware RTS/CTS and larger FIFOs.  Only works for
1200745b8439SSascha Wildner#		ST16650A-compatible UARTs.
1201745b8439SSascha Wildner
1202745b8439SSascha Wildner#
1203ad9f8794SSascha Wildner# Network interfaces: `ed', `ep', `is', `lnc'
1204745b8439SSascha Wildner#
1205745b8439SSascha Wildner# cs: IBM Etherjet and other Crystal Semi CS89x0-based adapters
1206745b8439SSascha Wildner# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503
1207745b8439SSascha Wildner# ep: 3Com 3C509
1208745b8439SSascha Wildner# ex: Intel EtherExpress Pro/10 and other i82595-based adapters
1209745b8439SSascha Wildner# fe: Fujitsu MB86960A/MB86965A Ethernet
1210745b8439SSascha Wildner# lnc: Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, AMD Am7990 & Am79C960)
1211745b8439SSascha Wildner# sbsh: Granch SBNI16 SHDSL modem PCI adapters
1212745b8439SSascha Wildner# wi: Lucent WaveLAN/IEEE 802.11 PCMCIA adapters. Note: this supports both
1213745b8439SSascha Wildner#     the PCMCIA and ISA cards: the ISA card is really a PCMCIA to ISA
1214745b8439SSascha Wildner#     bridge with a PCMCIA adapter plugged into it.
1215745b8439SSascha Wildner# an: Aironet 4500/4800 802.11 wireless adapters. Supports the PCMCIA,
1216745b8439SSascha Wildner#     PCI and ISA varieties.
1217745b8439SSascha Wildner# xe: Xircom/Intel EtherExpress Pro100/16 PC Card ethernet controller.
1218745b8439SSascha Wildner#
1219745b8439SSascha Wildnerdevice cs0 at isa? port 0x300
1220745b8439SSascha Wildnerdevice ed0 at isa? port 0x280 irq 5 iomem 0xd8000
1221745b8439SSascha Wildnerdevice ep
1222745b8439SSascha Wildnerdevice ex
1223745b8439SSascha Wildnerdevice lnc0 at isa? port 0x280 irq 10 drq 0
1224745b8439SSascha Wildnerdevice sln
1225745b8439SSascha Wildnerdevice sn0 at isa? port 0x300 irq 10
1226745b8439SSascha Wildner
1227745b8439SSascha Wildner# Wlan support is mandatory for some wireless LAN devices.
1228745b8439SSascha Wildneroptions 	IEEE80211_DEBUG		#enable debugging msgs
1229745b8439SSascha Wildneroptions 	IEEE80211_AMPDU_AGE	#age frames in AMPDU reorder q's
1230745b8439SSascha Wildneroptions 	IEEE80211_SUPPORT_MESH	#enable 802.11s D3.0 support
1231745b8439SSascha Wildneroptions 	IEEE80211_SUPPORT_TDMA	#enable TDMA support
1232745b8439SSascha Wildnerdevice		wlan		# 802.11 support
1233745b8439SSascha Wildnerdevice		wlan_acl	# 802.11 MAC-based access control for AP
1234745b8439SSascha Wildnerdevice		wlan_ccmp	# 802.11 CCMP support
1235745b8439SSascha Wildnerdevice		wlan_tkip	# 802.11 TKIP support
1236745b8439SSascha Wildnerdevice		wlan_wep	# 802.11 WEP support
1237745b8439SSascha Wildnerdevice		wlan_xauth	# 802.11 WPA or 802.1x authentication for AP
1238745b8439SSascha Wildnerdevice		wlan_amrr	# 802.11 AMRR TX rate control algorithm
1239745b8439SSascha Wildnerdevice		an		# Aironet Communications 4500/4800
1240745b8439SSascha Wildnerdevice		ath		# Atheros AR521x
1241745b8439SSascha Wildneroptions 	AH_SUPPORT_AR5416
1242745b8439SSascha Wildnerdevice		ath_hal		# Atheros Hardware Access Layer
1243745b8439SSascha Wildner#device		ath_rate_amrr	# Atheros AMRR TX rate control algorithm
1244745b8439SSascha Wildner#device		ath_rate_onoe	# Atheros Onoe TX rate control algorithm
1245745b8439SSascha Wildnerdevice		ath_rate_sample	# Atheros Sample TX rate control algorithm
1246745b8439SSascha Wildneroptions		ATH_DEBUG	# turn on debugging output (see hw.ath.debug)
1247745b8439SSascha Wildneroptions		ATH_DIAGAPI	# diagnostic interface to the HAL
1248745b8439SSascha Wildneroptions		ATH_RXBUF=80	# number of RX buffers to allocate
1249745b8439SSascha Wildneroptions		ATH_TXBUF=400	# number of TX buffers to allocate
1250745b8439SSascha Wildner#device		iwl		# Intel PRO/Wireless 2100
1251745b8439SSascha Wildnerdevice		iwi		# Intel PRO/Wireless 2200BG/2915ABG
1252745b8439SSascha Wildnerdevice		iwn		# Intel WiFi Link 4965/1000/5000/5150/5300/6000/6050
1253745b8439SSascha Wildnerdevice		wi		# WaveLAN/IEEE, PRISM-II, Spectrum24 802.11DS
1254745b8439SSascha Wildner#device		rtw		# RealTek 8180
1255745b8439SSascha Wildner#device		acx		# TI ACX100/ACX111.
1256745b8439SSascha Wildnerdevice		xe		# Xircom PCMCIA
1257745b8439SSascha Wildnerdevice		ral		# Ralink Technology 802.11 wireless NIC
1258745b8439SSascha Wildnerdevice		wpi
1259745b8439SSascha Wildner
1260745b8439SSascha Wildner# IEEE 802.11 adapter firmware modules
1261745b8439SSascha Wildner
1262745b8439SSascha Wildner# iwifw:	Intel PRO/Wireless 2200BG/2225BG/2915ABG firmware
1263745b8439SSascha Wildner# iwnfw:	Intel WiFi Link 4965/1000/5000/5150/5300/6000/6050
1264745b8439SSascha Wildner# ralfw:	Ralink Technology RT25xx and RT26xx firmware
1265745b8439SSascha Wildner# wpifw:	Intel 3945ABG Wireless LAN Controller firmware
1266745b8439SSascha Wildner
1267745b8439SSascha Wildnerdevice		iwifw
1268745b8439SSascha Wildnerdevice		iwnfw
1269745b8439SSascha Wildnerdevice		ralfw
1270745b8439SSascha Wildnerdevice		wpifw
1271745b8439SSascha Wildner
1272745b8439SSascha Wildner# Bluetooth Protocols
1273745b8439SSascha Wildnerdevice		bluetooth
1274745b8439SSascha Wildner
1275745b8439SSascha Wildner#
1276745b8439SSascha Wildner# ATM related options
1277745b8439SSascha Wildner#
1278745b8439SSascha Wildner# The `en' device provides support for Efficient Networks (ENI)
1279745b8439SSascha Wildner# ENI-155 PCI midway cards, and the Adaptec 155Mbps PCI ATM cards (ANA-59x0).
1280745b8439SSascha Wildner#
1281745b8439SSascha Wildner# atm pseudo-device provides generic atm functions and is required for
1282745b8439SSascha Wildner# atm devices.
1283745b8439SSascha Wildner# NATM enables the netnatm protocol family that can be used to
1284745b8439SSascha Wildner# bypass TCP/IP.
1285745b8439SSascha Wildner#
1286745b8439SSascha Wildner# the current driver supports only PVC operations (no atm-arp, no multicast).
1287745b8439SSascha Wildner# for more details, please read the original documents at
1288745b8439SSascha Wildner# http://www.ccrc.wustl.edu/pub/chuck/tech/bsdatm/bsdatm.html
1289745b8439SSascha Wildner#
1290745b8439SSascha Wildnerpseudo-device	atm
1291745b8439SSascha Wildnerdevice		en
1292745b8439SSascha Wildneroptions 	NATM			#native ATM
1293745b8439SSascha Wildner
1294745b8439SSascha Wildner# Sound drivers
1295745b8439SSascha Wildner#
1296745b8439SSascha Wildner# The flags of the device tells the device a bit more info about the
1297745b8439SSascha Wildner# device that normally is obtained through the PnP interface.
1298745b8439SSascha Wildner#	bit  2..0   secondary DMA channel;
1299745b8439SSascha Wildner#	bit  4      set if the board uses two dma channels;
1300745b8439SSascha Wildner#	bit 15..8   board type, overrides autodetection; leave it
1301745b8439SSascha Wildner#		    zero if don't know what to put in (and you don't,
1302745b8439SSascha Wildner#		    since this is unsupported at the moment...).
1303745b8439SSascha Wildner#
1304745b8439SSascha Wildner# This driver will use the new PnP code if it's available. You might
1305745b8439SSascha Wildner# need PNPBIOS for ISA devices.
1306745b8439SSascha Wildner#
1307745b8439SSascha Wildner# If you have a GUS-MAX card and want to use the CS4231 codec on the
1308745b8439SSascha Wildner# card the drqs for the gus max must be 8 bit (1, 2, or 3).
1309745b8439SSascha Wildner#
1310745b8439SSascha Wildner# If you would like to use the full duplex option on the gus, then define
1311745b8439SSascha Wildner# flags to be the ``read dma channel''.
1312745b8439SSascha Wildner#
1313745b8439SSascha Wildner
1314745b8439SSascha Wildner# Basic sound card support:
1315745b8439SSascha Wildnerdevice		pcm
1316745b8439SSascha Wildner# For PnP/PCI sound cards:
1317745b8439SSascha Wildnerdevice		"snd_ad1816"
1318745b8439SSascha Wildnerdevice		"snd_als4000"
1319745b8439SSascha Wildnerdevice		"snd_atiixp"
1320745b8439SSascha Wildnerdevice		"snd_cmi"
1321745b8439SSascha Wildnerdevice		"snd_cs4281"
1322745b8439SSascha Wildnerdevice		"snd_csa"
1323745b8439SSascha Wildnerdevice		"snd_ds1"
1324745b8439SSascha Wildnerdevice		"snd_emu10k1"
1325745b8439SSascha Wildnerdevice		"snd_es137x"
1326745b8439SSascha Wildnerdevice		"snd_ess"
1327745b8439SSascha Wildnerdevice		"snd_fm801"
1328745b8439SSascha Wildnerdevice		"snd_hda"
1329745b8439SSascha Wildnerdevice		"snd_ich"
1330745b8439SSascha Wildnerdevice		"snd_maestro"
1331745b8439SSascha Wildnerdevice		"snd_maestro3"
1332745b8439SSascha Wildnerdevice		"snd_mss"
1333745b8439SSascha Wildnerdevice		"snd_neomagic"
1334745b8439SSascha Wildnerdevice		"snd_sb16"
1335745b8439SSascha Wildnerdevice		"snd_sb8"
1336745b8439SSascha Wildnerdevice		"snd_sbc"
1337745b8439SSascha Wildnerdevice		"snd_solo"
1338745b8439SSascha Wildnerdevice		"snd_t4dwave"
1339745b8439SSascha Wildnerdevice		"snd_via8233"
1340745b8439SSascha Wildnerdevice		"snd_via82c686"
1341745b8439SSascha Wildnerdevice		"snd_vibes"
1342745b8439SSascha Wildner# For non-pnp sound cards:
1343745b8439SSascha Wildnerdevice		pcm0 at isa? irq 10 drq 1 flags 0x0
1344745b8439SSascha Wildner# USB
1345745b8439SSascha Wildnerdevice		"snd_uaudio"
1346745b8439SSascha Wildner
1347745b8439SSascha Wildner#
1348745b8439SSascha Wildner# Miscellaneous hardware:
1349745b8439SSascha Wildner#
1350745b8439SSascha Wildner# bktr: Brooktree bt848/848a/849a/878/879 video capture and TV Tuner board
1351745b8439SSascha Wildner# joy: joystick
1352745b8439SSascha Wildner# rp: Comtrol Rocketport(ISA) - single card
1353745b8439SSascha Wildner# si: Specialix SI/XIO 4-32 port terminal multiplexor
1354745b8439SSascha Wildner# nmdm: nullmodem terminal driver (see nmdm(4))
1355745b8439SSascha Wildner
1356745b8439SSascha Wildner# Notes on the Comtrol Rocketport driver:
1357745b8439SSascha Wildner#
1358745b8439SSascha Wildner# The exact values used for rp0 depend on how many boards you have
1359745b8439SSascha Wildner# in the system.  The manufacturer's sample configs are listed as:
1360745b8439SSascha Wildner#
1361745b8439SSascha Wildner#   Comtrol Rocketport ISA single card
1362745b8439SSascha Wildner#               device  rp0     at isa? port 0x280
1363745b8439SSascha Wildner#
1364745b8439SSascha Wildner#   If instead you have two ISA cards, one installed at 0x100 and the
1365745b8439SSascha Wildner#   second installed at 0x180, then you should add the following to
1366745b8439SSascha Wildner#   your kernel configuration file:
1367745b8439SSascha Wildner#
1368745b8439SSascha Wildner#               device  rp0     at isa? port 0x100
1369745b8439SSascha Wildner#               device  rp1     at isa? port 0x180
1370745b8439SSascha Wildner#
1371745b8439SSascha Wildner#   For 4 ISA cards, it might be something like this:
1372745b8439SSascha Wildner#
1373745b8439SSascha Wildner#               device  rp0     at isa? port 0x180
1374745b8439SSascha Wildner#               device  rp1     at isa? port 0x100
1375745b8439SSascha Wildner#               device  rp2     at isa? port 0x340
1376745b8439SSascha Wildner#               device  rp3     at isa? port 0x240
1377745b8439SSascha Wildner#
1378745b8439SSascha Wildner#   And for PCI cards, you only need say:
1379745b8439SSascha Wildner#
1380745b8439SSascha Wildner#               device rp
1381745b8439SSascha Wildner
1382745b8439SSascha Wildner# Notes on the Specialix SI/XIO driver:
1383745b8439SSascha Wildner#  **This is NOT a Specialix supported Driver!**
1384745b8439SSascha Wildner#  The host card is memory, not IO mapped.
1385745b8439SSascha Wildner#  The Rev 1 host cards use a 64K chunk, on a 32K boundary.
1386745b8439SSascha Wildner#  The Rev 2 host cards use a 32K chunk, on a 32K boundary.
1387745b8439SSascha Wildner#  The cards can use an IRQ of 11, 12 or 15.
1388745b8439SSascha Wildner
1389745b8439SSascha Wildner# for the SoundBlaster 16 multicd - up to 4 devices
1390745b8439SSascha Wildnerdevice		joy0	at isa? port IO_GAME
1391745b8439SSascha Wildnerdevice		nrp
1392745b8439SSascha Wildner#device		rp0	at isa? port 0x280
1393745b8439SSascha Wildnerdevice		si0	at isa? iomem 0xd0000 irq 12
1394745b8439SSascha Wildner# nullmodem terminal driver
1395745b8439SSascha Wildnerdevice		nmdm
1396745b8439SSascha Wildner
1397745b8439SSascha Wildner# The `ahc' device provides support for the Adaptec 274X and 284X
1398745b8439SSascha Wildner# adapters.
1399745b8439SSascha Wildnerdevice		ahc
1400745b8439SSascha Wildner
1401745b8439SSascha Wildner# The aic7xxx driver will attempt to use memory mapped I/O for all PCI
1402745b8439SSascha Wildner# controllers that have it configured only if this option is set. Unfortunately,
1403745b8439SSascha Wildner# this doesn't work on some motherboards, which prevents it from being the
1404745b8439SSascha Wildner# default.
1405745b8439SSascha Wildneroptions 	AHC_ALLOW_MEMIO
1406745b8439SSascha Wildner
1407745b8439SSascha Wildner# The adw driver will attempt to use memory mapped I/O for all PCI
1408745b8439SSascha Wildner# controllers that have it configured only if this option is set.
1409745b8439SSascha Wildneroptions 	ADW_ALLOW_MEMIO
1410745b8439SSascha Wildner
1411745b8439SSascha Wildner#
1412745b8439SSascha Wildner# PCI devices & PCI options:
1413745b8439SSascha Wildner#
1414745b8439SSascha Wildner# The main PCI bus device is `pci'.  It provides auto-detection and
1415745b8439SSascha Wildner# configuration support for all devices on the PCI bus, using either
1416745b8439SSascha Wildner# configuration mode defined in the PCI specification.
1417745b8439SSascha Wildner
1418745b8439SSascha Wildnerdevice		pci
1419745b8439SSascha Wildner
1420745b8439SSascha Wildner# PCI options
1421745b8439SSascha Wildner#
1422745b8439SSascha Wildner#Enable pci resources left off by a "lazy" BIOS.
1423745b8439SSascha Wildner#
1424745b8439SSascha Wildneroptions 	COMPAT_OLDPCI	#FreeBSD 2.2 and 3.x compatibility shims
1425745b8439SSascha Wildner
1426745b8439SSascha Wildner# AGP GART support
1427745b8439SSascha Wildner#
1428745b8439SSascha Wildnerdevice		agp
1429745b8439SSascha Wildner
1430745b8439SSascha Wildner
1431745b8439SSascha Wildner# The `ahc' device provides support for the Adaptec 29/3940(U)(W)
1432745b8439SSascha Wildner# and motherboard based AIC7870/AIC7880 adapters.
1433745b8439SSascha Wildneroptions 	AHC_DEBUG
1434745b8439SSascha Wildneroptions 	AHC_DEBUG_OPTS=0xffffffff
1435745b8439SSascha Wildneroptions 	AHC_REG_PRETTY_PRINT
1436745b8439SSascha Wildneroptions 	AHC_TMODE_ENABLE
1437745b8439SSascha Wildner#
1438745b8439SSascha Wildner# The 'ahd' device provides support for the Adaptec 79xx Ultra320
1439745b8439SSascha Wildner# SCSI adapters. Options are documented in the ahd(4) manpage:
1440745b8439SSascha Wildneroptions 	AHD_DEBUG
1441745b8439SSascha Wildneroptions 	AHD_DEBUG_OPTS=0xffffffff
1442745b8439SSascha Wildneroptions 	AHD_REG_PRETTY_PRINT
1443745b8439SSascha Wildner#options 	AHD_TMODE_ENABLE=0xff
1444745b8439SSascha Wildner#
1445745b8439SSascha Wildner# The `amd' device provides support for the AMD 53C974 SCSI host
1446745b8439SSascha Wildner# adapter chip as found on devices such as the Tekram DC-390(T).
1447745b8439SSascha Wildner#
1448745b8439SSascha Wildner# The `bge' device provides support for gigabit ethernet adapters
1449745b8439SSascha Wildner# based on the Broadcom BCM570x family of controllers, including the
1450745b8439SSascha Wildner# 3Com 3c996-T, the Netgear GA302T, the SysKonnect SK-9D21 and SK-9D41,
1451745b8439SSascha Wildner# and the embedded gigE NICs on Dell PowerEdge 2550 servers.
1452745b8439SSascha Wildner#
1453745b8439SSascha Wildner# The `ncr' device provides support for the NCR 53C810 and 53C825
1454745b8439SSascha Wildner# self-contained SCSI host adapters.
1455745b8439SSascha Wildner#
1456745b8439SSascha Wildner# The `isp' device provides support for the Qlogic ISP 1020, 1040
1457745b8439SSascha Wildner# nd 1040B PCI SCSI host adapters, ISP 1240 Dual Ultra SCSI,
1458745b8439SSascha Wildner# ISP 1080 and 1280 (Dual) Ultra2, ISP 12160 Ultra3 SCSI, as well as
1459745b8439SSascha Wildner# the Qlogic ISP 2100 and ISP 2200 Fibre Channel Host Adapters.
1460745b8439SSascha Wildner#
1461745b8439SSascha Wildner# The `dc' device provides support for PCI fast ethernet adapters
1462745b8439SSascha Wildner# based on the DEC/Intel 21143 and various workalikes including:
1463745b8439SSascha Wildner# the ADMtek AL981 Comet and AN985 Centaur, the ASIX Electronics
1464745b8439SSascha Wildner# AX88140A and AX88141, the Davicom DM9100 and DM9102, the Lite-On
1465745b8439SSascha Wildner# 82c168 and 82c169 PNIC, the Lite-On/Macronix LC82C115 PNIC II
1466745b8439SSascha Wildner# and the Macronix 98713/98713A/98715/98715A/98725 PMAC. This driver
1467745b8439SSascha Wildner# replaces the old al, ax, dm, pn and mx drivers.  List of brands:
1468745b8439SSascha Wildner# Digital DE500-BA, Kingston KNE100TX, D-Link DFE-570TX, SOHOware SFA110,
1469745b8439SSascha Wildner# SVEC PN102-TX, CNet Pro110B, 120A, and 120B, Compex RL100-TX,
1470745b8439SSascha Wildner# LinkSys LNE100TX, LNE100TX V2.0, Jaton XpressNet, Alfa Inc GFC2204,
1471745b8439SSascha Wildner# KNE110TX.
1472745b8439SSascha Wildner#
1473745b8439SSascha Wildner# The `de' device provides support for the Digital Equipment DC21040
1474745b8439SSascha Wildner# self-contained Ethernet adapter.
1475745b8439SSascha Wildner#
1476745b8439SSascha Wildner# The `em' device provides support for the Intel Pro/1000 Family of Gigabit
1477745b8439SSascha Wildner# adapters (82542, 82543, 82544, 82540).
1478745b8439SSascha Wildner#
1479745b8439SSascha Wildner# The `et' device provides support for the Agere ET1310 10/100/1000 PCIe
1480745b8439SSascha Wildner# adapters.
1481745b8439SSascha Wildner#
1482745b8439SSascha Wildner# The `fxp' device provides support for the Intel EtherExpress Pro/100B
1483745b8439SSascha Wildner# PCI Fast Ethernet adapters.
1484745b8439SSascha Wildner#
1485745b8439SSascha Wildner# The 'lge' device provides support for PCI gigabit ethernet adapters
1486745b8439SSascha Wildner# based on the Level 1 LXT1001 NetCellerator chipset. This includes the
1487745b8439SSascha Wildner# D-Link DGE-500SX, SMC TigerCard 1000 (SMC9462SX), and some Addtron cards.
1488745b8439SSascha Wildner#
1489745b8439SSascha Wildner# The 'my' device provides support for the Myson MTD80X and MTD89X PCI
1490745b8439SSascha Wildner# Fast Ethernet adapters.
1491745b8439SSascha Wildner#
1492745b8439SSascha Wildner# The 'nge' device provides support for PCI gigabit ethernet adapters
1493745b8439SSascha Wildner# based on the National Semiconductor DP83820 and DP83821 chipset. This
1494745b8439SSascha Wildner# includes the SMC EZ Card 1000 (SMC9462TX), D-Link DGE-500T, Asante
1495745b8439SSascha Wildner# FriendlyNet GigaNIX 1000TA and 1000TPC, the Addtron AEG320T, the
1496745b8439SSascha Wildner# LinkSys EG1032 and EG1064, the Surecom EP-320G-TX and the Netgear GA622T.
1497745b8439SSascha Wildner#
1498745b8439SSascha Wildner# The 'pcn' device provides support for PCI fast ethernet adapters based
1499745b8439SSascha Wildner# on the AMD Am79c97x chipsets, including the PCnet/FAST, PCnet/FAST+,
1500745b8439SSascha Wildner# PCnet/PRO and PCnet/Home. These were previously handled by the lnc
1501745b8439SSascha Wildner# driver (and still will be if you leave this driver out of the kernel).
1502745b8439SSascha Wildner#
1503745b8439SSascha Wildner# Te 're' device provides support for PCI GigaBit ethernet adapters based
1504745b8439SSascha Wildner# on the RealTek 8169 chipset. It also supports the 8139C+ and is the
1505745b8439SSascha Wildner# preferred driver for that chip.
1506745b8439SSascha Wildner#
1507745b8439SSascha Wildner# The 'rl' device provides support for PCI fast ethernet adapters based
1508745b8439SSascha Wildner# on the RealTek 8129/8139 chipset. Note that the RealTek driver defaults
1509745b8439SSascha Wildner# to using programmed I/O to do register accesses because memory mapped
1510745b8439SSascha Wildner# mode seems to cause severe lockups on SMP hardware. This driver also
1511745b8439SSascha Wildner# supports the Accton EN1207D `Cheetah' adapter, which uses a chip called
1512745b8439SSascha Wildner# the MPX 5030/5038, which is either a RealTek in disguise or a RealTek
1513745b8439SSascha Wildner# workalike.  Note that the D-Link DFE-530TX+ uses the RealTek chipset
1514745b8439SSascha Wildner# and is supported by this driver, not the 'vr' driver.
1515745b8439SSascha Wildner#
1516745b8439SSascha Wildner# The 'sf' device provides support for Adaptec Duralink PCI fast
1517745b8439SSascha Wildner# ethernet adapters based on the Adaptec AIC-6915 "starfire" controller.
1518745b8439SSascha Wildner# This includes dual and quad port cards, as well as one 100baseFX card.
1519745b8439SSascha Wildner# Most of these are 64-bit PCI devices, except for one single port
1520745b8439SSascha Wildner# card which is 32-bit.
1521745b8439SSascha Wildner#
1522745b8439SSascha Wildner# The 'ste' device provides support for adapters based on the Sundance
1523745b8439SSascha Wildner# Technologies ST201 PCI fast ethernet controller. This includes the
1524745b8439SSascha Wildner# D-Link DFE-550TX.
1525745b8439SSascha Wildner#
1526745b8439SSascha Wildner# The 'sis' device provides support for adapters based on the Silicon
1527745b8439SSascha Wildner# Integrated Systems SiS 900 and SiS 7016 PCI fast ethernet controller
1528745b8439SSascha Wildner# chips.
1529745b8439SSascha Wildner#
1530745b8439SSascha Wildner# The 'sk' device provides support for the SysKonnect SK-984x series
1531745b8439SSascha Wildner# PCI gigabit ethernet NICs. This includes the SK-9841 and SK-9842
1532745b8439SSascha Wildner# single port cards (single mode and multimode fiber) and the
1533745b8439SSascha Wildner# SK-9843 and SK-9844 dual port cards (also single mode and multimode).
1534745b8439SSascha Wildner# The driver will autodetect the number of ports on the card and
1535745b8439SSascha Wildner# attach each one as a separate network interface.
1536745b8439SSascha Wildner#
1537745b8439SSascha Wildner# The 'ti' device provides support for PCI gigabit ethernet NICs based
1538745b8439SSascha Wildner# on the Alteon Networks Tigon 1 and Tigon 2 chipsets. This includes the
1539745b8439SSascha Wildner# Alteon AceNIC, the 3Com 3c985, the Netgear GA620 and various others.
1540745b8439SSascha Wildner# Note that you will probably want to bump up NMBCLUSTERS a lot to use
1541745b8439SSascha Wildner# this driver.
1542745b8439SSascha Wildner#
1543745b8439SSascha Wildner# The 'tl' device provides support for the Texas Instruments TNETE100
1544745b8439SSascha Wildner# series 'ThunderLAN' cards and integrated ethernet controllers. This
1545745b8439SSascha Wildner# includes several Compaq Netelligent 10/100 cards and the built-in
1546745b8439SSascha Wildner# ethernet controllers in several Compaq Prosignia, Proliant and
1547745b8439SSascha Wildner# Deskpro systems. It also supports several Olicom 10Mbps and 10/100
1548745b8439SSascha Wildner# boards.
1549745b8439SSascha Wildner#
1550745b8439SSascha Wildner# The `tx' device provides support for the SMC 9432 TX, BTX and FTX cards.
1551745b8439SSascha Wildner#
1552745b8439SSascha Wildner# The `txp' device provides support for the 3Com 3cR990 "Typhoon"
1553745b8439SSascha Wildner# 10/100 adapters.
1554745b8439SSascha Wildner#
1555745b8439SSascha Wildner# The `vr' device provides support for various fast ethernet adapters
1556745b8439SSascha Wildner# based on the VIA Technologies VT3043 `Rhine I' and VT86C100A `Rhine II'
1557745b8439SSascha Wildner# chips, including the D-Link DFE530TX (see 'rl' for DFE530TX+), the Hawking
1558745b8439SSascha Wildner# Technologies PN102TX, and the AOpen/Acer ALN-320.
1559745b8439SSascha Wildner#
1560745b8439SSascha Wildner# The `vx' device provides support for the 3Com 3C590 and 3C595
1561745b8439SSascha Wildner# early support
1562745b8439SSascha Wildner#
1563745b8439SSascha Wildner# The `wb' device provides support for various fast ethernet adapters
1564745b8439SSascha Wildner# based on the Winbond W89C840F chip. Note: this is not the same as
1565745b8439SSascha Wildner# the Winbond W89C940F, which is an NE2000 clone.
1566745b8439SSascha Wildner#
1567745b8439SSascha Wildner# The `xl' device provides support for the 3Com 3c900, 3c905 and
1568745b8439SSascha Wildner# 3c905B (Fast) Etherlink XL cards and integrated controllers. This
1569745b8439SSascha Wildner# includes the integrated 3c905B-TX chips in certain Dell Optiplex and
1570745b8439SSascha Wildner# Dell Precision desktop machines and the integrated 3c905-TX chips
1571745b8439SSascha Wildner# in Dell Latitude laptop docking stations.
1572745b8439SSascha Wildner#
1573745b8439SSascha Wildner# The 'bktr' device is a PCI video capture device using the Brooktree
1574745b8439SSascha Wildner# bt848/bt848a/bt849a/bt878/bt879 chipset. When used with a TV Tuner it forms a
1575745b8439SSascha Wildner# TV card, eg Miro PC/TV, Hauppauge WinCast/TV WinTV, VideoLogic Captivator,
1576745b8439SSascha Wildner# Intel Smart Video III, AverMedia, IMS Turbo, FlyVideo.
1577745b8439SSascha Wildner#
1578745b8439SSascha Wildner# options 	OVERRIDE_CARD=xxx
1579745b8439SSascha Wildner# options 	OVERRIDE_TUNER=xxx
1580745b8439SSascha Wildner# options 	OVERRIDE_MSP=1
1581745b8439SSascha Wildner# options 	OVERRIDE_DBX=1
1582745b8439SSascha Wildner# These options can be used to override the auto detection
1583745b8439SSascha Wildner# The current values for xxx are found in src/sys/dev/video/bktr/bktr_card.h
1584745b8439SSascha Wildner# Using sysctl(8) run-time overrides on a per-card basis can be made
1585745b8439SSascha Wildner#
1586745b8439SSascha Wildner# options 	BKTR_SYSTEM_DEFAULT=BROOKTREE_PAL
1587745b8439SSascha Wildner# or
1588745b8439SSascha Wildner# options 	BKTR_SYSTEM_DEFAULT=BROOKTREE_NTSC
1589745b8439SSascha Wildner# Specifes the default video capture mode.
1590745b8439SSascha Wildner# This is required for Dual Crystal (28&35Mhz) boards where PAL is used
1591745b8439SSascha Wildner# to prevent hangs during initialisation.  eg VideoLogic Captivator PCI.
1592745b8439SSascha Wildner#
1593745b8439SSascha Wildner# options 	BKTR_USE_PLL
1594745b8439SSascha Wildner# PAL or SECAM users who have a 28Mhz crystal (and no 35Mhz crystal)
1595745b8439SSascha Wildner# must enable PLL mode with this option. eg some new Bt878 cards.
1596745b8439SSascha Wildner#
1597745b8439SSascha Wildner# options 	BKTR_GPIO_ACCESS
1598745b8439SSascha Wildner# This enable IOCTLs which give user level access to the GPIO port.
1599745b8439SSascha Wildner#
1600745b8439SSascha Wildner# options 	BKTR_NO_MSP_RESET
1601745b8439SSascha Wildner# Prevents the MSP34xx reset. Good if you initialise the MSP in another OS first
1602745b8439SSascha Wildner#
1603745b8439SSascha Wildner# options 	BKTR_430_FX_MODE
1604745b8439SSascha Wildner# Switch Bt878/879 cards into Intel 430FX chipset compatibility mode.
1605745b8439SSascha Wildner#
1606745b8439SSascha Wildner# options 	BKTR_SIS_VIA_MODE
1607745b8439SSascha Wildner# Switch Bt878/879 cards into SIS/VIA chipset compatibility mode which is
1608745b8439SSascha Wildner# needed for some old SiS and VIA chipset motherboards.
1609745b8439SSascha Wildner# This also allows Bt878/879 chips to work on old OPTi (<1997) chipset
1610745b8439SSascha Wildner# motherboards and motherboards with bad or incomplete PCI 2.1 support.
1611745b8439SSascha Wildner# As a rough guess, old = before 1998
1612745b8439SSascha Wildner#
1613745b8439SSascha Wildner# options 	BKTR_NEW_MSP34XX_DRIVER
1614745b8439SSascha Wildner# Use new, more complete initialization scheme for the msp34* soundchip.
1615745b8439SSascha Wildner# Should fix stereo autodetection if the old driver does only output
1616745b8439SSascha Wildner# mono sound.
1617745b8439SSascha Wildner#
1618745b8439SSascha Wildner# options	BKTR_OVERRIDE_CARD=xxx
1619745b8439SSascha Wildner# options	BKTR_OVERRIDE_DBX=xxx
1620745b8439SSascha Wildner# options	BKTR_OVERRIDE_MSP=xxx
1621745b8439SSascha Wildner# options	BKTR_OVERRIDE_TUNER=xxx
1622745b8439SSascha Wildner# These options can be used to select a specific device, regardless of
1623745b8439SSascha Wildner# the autodetection and i2c device checks (see comments in bktr_card.c).
1624745b8439SSascha Wildner#
1625745b8439SSascha Wildnerdevice		ahc		# AHA2940 and onboard AIC7xxx devices
1626745b8439SSascha Wildnerdevice		ahd		# AIC79xx devices
1627745b8439SSascha Wildnerdevice		amd		# AMD 53C974 (Tekram DC-390(T))
1628745b8439SSascha Wildnerdevice		isp		# Qlogic family
1629745b8439SSascha Wildnerdevice		ispfw		# Firmware for QLogic HBAs
1630745b8439SSascha Wildnerdevice		mpt		# LSI '909 FC adapters
1631745b8439SSascha Wildnerdevice		mps		# LSI-Logic MPT-Fusion 2
1632745b8439SSascha Wildnerdevice		ncr		# NCR/Symbios Logic
1633745b8439SSascha Wildnerdevice		sym		# NCR/Symbios Logic (newer chipsets)
1634745b8439SSascha Wildnerdevice		trm		# Tekram DC395U/UW/F and DC315U
1635745b8439SSascha Wildner#
1636745b8439SSascha Wildner# Options for ISP
1637745b8439SSascha Wildner#
1638745b8439SSascha Wildner#	ISP_TARGET_MODE		-	enable target mode operation
1639745b8439SSascha Wildner#options 	ISP_TARGET_MODE=1
1640745b8439SSascha Wildner
1641745b8439SSascha Wildner# Options used in dev/sym/ (Symbios SCSI driver).
1642745b8439SSascha Wildner#options 	SYM_SETUP_LP_PROBE_MAP	#-Low Priority Probe Map (bits)
1643745b8439SSascha Wildner					# Allows the ncr to take precedence
1644745b8439SSascha Wildner					# 1 (1<<0) -> 810a, 860
1645745b8439SSascha Wildner					# 2 (1<<1) -> 825a, 875, 885, 895
1646745b8439SSascha Wildner					# 4 (1<<2) -> 895a, 896, 1510d
1647745b8439SSascha Wildner#options 	SYM_SETUP_SCSI_DIFF	#-HVD support for 825a, 875, 885
1648745b8439SSascha Wildner					# disabled:0 (default), enabled:1
1649745b8439SSascha Wildner#options 	SYM_SETUP_PCI_PARITY	#-PCI parity checking
1650745b8439SSascha Wildner					# disabled:0, enabled:1 (default)
1651745b8439SSascha Wildner#options 	SYM_SETUP_MAX_LUN	#-Number of LUNs supported
1652745b8439SSascha Wildner					# default:8, range:[1..64]
1653745b8439SSascha Wildner
1654745b8439SSascha Wildner
1655745b8439SSascha Wildner# MII bus support is required for some PCI 10/100 ethernet NICs,
1656745b8439SSascha Wildner# namely those which use MII-compliant transceivers or implement
1657745b8439SSascha Wildner# transceiver control interfaces that operate like an MII. Adding
1658745b8439SSascha Wildner# "device miibus0" to the kernel config pulls in support for
1659745b8439SSascha Wildner# the generic miibus API and all of the PHY drivers, including a
1660745b8439SSascha Wildner# generic one for PHYs that aren't specifically handled by an
1661745b8439SSascha Wildner# individual driver.
1662745b8439SSascha Wildnerdevice		miibus
1663745b8439SSascha Wildner
1664745b8439SSascha Wildner# PCI Ethernet NICs that use the common MII bus controller code.
1665745b8439SSascha Wildnerdevice		ae		# Attansic/Atheros L2 Fast Ethernet
1666745b8439SSascha Wildnerdevice		alc		# Atheros AR8131/AR8132
1667745b8439SSascha Wildnerdevice		ale		# Atheros AR8121/AR8113/AR8114
1668745b8439SSascha Wildnerdevice		age		# Attansic/Atheros L1 Gigabit Ethernet
1669745b8439SSascha Wildnerdevice		bce		# Broadcom NetXtreme II Gigabit Ethernet
1670745b8439SSascha Wildnerdevice		bfe		# Broadcom BCM440x 10/100 Ethernet
1671745b8439SSascha Wildnerdevice		dc		# DEC/Intel 21143 and various workalikes
1672745b8439SSascha Wildnerdevice		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
1673745b8439SSascha Wildnerdevice		my		# Myson Fast Ethernet (MTD80X, MTD89X)
1674745b8439SSascha Wildnerdevice		pcn		# AMD Am79C97x PCI 10/100 NICs
1675745b8439SSascha Wildnerdevice		re		# RealTek 8139C+/8169
1676745b8439SSascha Wildnerdevice		rl		# RealTek 8129/8139
1677745b8439SSascha Wildnerdevice		sbsh		# Granch SBNI16 SHDSL modem
1678745b8439SSascha Wildnerdevice		sf		# Adaptec AIC-6915 (``Starfire'')
1679745b8439SSascha Wildnerdevice		sis		# Silicon Integrated Systems SiS 900/SiS 7016
1680745b8439SSascha Wildnerdevice		ste		# Sundance ST201 (D-Link DFE-550TX)
1681745b8439SSascha Wildnerdevice		tl		# Texas Instruments ThunderLAN
1682745b8439SSascha Wildnerdevice		tx		# SMC EtherPower II (83c17x ``EPIC'')
1683745b8439SSascha Wildnerdevice		vge		# VIA 612x GigE
1684745b8439SSascha Wildnerdevice		vr		# VIA Rhine, Rhine II
1685745b8439SSascha Wildnerdevice		wb		# Winbond W89C840F
1686745b8439SSascha Wildnerdevice		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
1687745b8439SSascha Wildner
1688745b8439SSascha Wildner# PCI Ethernet NICs.
1689745b8439SSascha Wildnerdevice		de		# DEC/Intel DC21x4x (``Tulip'')
1690745b8439SSascha Wildnerdevice		txp		# 3Com 3cR990 (``Typhoon'')
1691745b8439SSascha Wildnerdevice		vx		# 3Com 3c590, 3c595 (``Vortex'')
1692745b8439SSascha Wildner
1693745b8439SSascha Wildner# Gigabit Ethernet NICs.
1694745b8439SSascha Wildnerdevice		bge		# Broadcom BCM570x (``Tigon III'')
1695745b8439SSascha Wildnerdevice		em		# Intel Pro/1000 (8254x,8257x)
1696745b8439SSascha Wildner				# Requires ig_hal
1697745b8439SSascha Wildnerdevice		emx		# Intel Pro/1000 (8257{1,2,3,4})
1698745b8439SSascha Wildner				# Requires ig_hal
1699745b8439SSascha Wildnerdevice		ig_hal		# Intel Pro/1000 hardware abstraction layer
1700745b8439SSascha Wildnerdevice		et		# Agere ET1310 10/100/1000 Ethernet
1701745b8439SSascha Wildnerdevice		lge		# Level 1 LXT1001 (``Mercury'')
1702745b8439SSascha Wildnerdevice		mxge		# Myricom Myri-10G 10GbE NIC
1703745b8439SSascha Wildnerdevice		nfe		# nVidia nForce2/3 MCP04/51/55 CK804
1704745b8439SSascha Wildnerdevice		nge		# NatSemi DP83820 and DP83821
1705745b8439SSascha Wildnerdevice		sk		# SysKonnect GEnesis, LinkSys EG1023, D-Link
1706745b8439SSascha Wildnerdevice		ti		# Alteon (``Tigon I'', ``Tigon II'')
1707745b8439SSascha Wildnerdevice		stge		# Sundance/Tamarack TC9021 Gigabit Ethernet
1708745b8439SSascha Wildnerdevice		msk		# Marvell/SysKonnect Yukon II Gigabit Ethernet
1709745b8439SSascha Wildnerdevice		jme		# JMicron Gigabit/Fast Ethernet
1710745b8439SSascha Wildner
1711745b8439SSascha Wildner# Brooktree driver has been ported to the new I2C framework. Thus,
1712745b8439SSascha Wildner# you'll need to have the following 3 lines in the kernel config.
1713745b8439SSascha Wildner#     device smbus
1714745b8439SSascha Wildner#     device iicbus
1715745b8439SSascha Wildner#     device iicbb
1716745b8439SSascha Wildner# The iic and smb devices are only needed if you want to control other
1717745b8439SSascha Wildner# I2C slaves connected to the external connector of some cards.
1718745b8439SSascha Wildner#
1719745b8439SSascha Wildnerdevice		bktr
1720745b8439SSascha Wildneroptions 	BKTR_NEW_MSP34XX_DRIVER
1721745b8439SSascha Wildner
1722745b8439SSascha Wildner# WinTV PVR-250/350 driver
1723745b8439SSascha Wildnerdevice		cxm
1724745b8439SSascha Wildner
1725745b8439SSascha Wildner#
1726745b8439SSascha Wildner# PCCARD/PCMCIA
1727745b8439SSascha Wildner#
1728745b8439SSascha Wildner# pccard: pccard slots
1729745b8439SSascha Wildner# cardbus/cbb: cardbus bridge
1730745b8439SSascha Wildnerdevice		pccard
1731745b8439SSascha Wildnerdevice		cardbus
1732745b8439SSascha Wildnerdevice		cbb
1733745b8439SSascha Wildner
1734745b8439SSascha Wildner# For older notebooks that signal a powerfail condition (external
1735745b8439SSascha Wildner# power supply dropped, or battery state low) by issuing an NMI:
1736745b8439SSascha Wildner
1737745b8439SSascha Wildneroptions 	POWERFAIL_NMI	# make it beep instead of panicing
1738745b8439SSascha Wildner
1739745b8439SSascha Wildner#
1740745b8439SSascha Wildner# MMC/SD
1741745b8439SSascha Wildner#
1742745b8439SSascha Wildner# mmc 		MMC/SD bus
1743745b8439SSascha Wildner# mmcsd		MMC/SD memory card
1744745b8439SSascha Wildner# sdhci		Generic PCI SD Host Controller
1745745b8439SSascha Wildner#
1746745b8439SSascha Wildnerdevice		mmc
1747745b8439SSascha Wildnerdevice		mmcsd
1748745b8439SSascha Wildnerdevice		sdhci
1749745b8439SSascha Wildner
1750745b8439SSascha Wildner#
1751745b8439SSascha Wildner# SMB bus
1752745b8439SSascha Wildner#
1753745b8439SSascha Wildner# System Management Bus support is provided by the 'smbus' device.
1754745b8439SSascha Wildner# Access to the SMBus device is via the 'smb' device (/dev/smb*),
1755745b8439SSascha Wildner# which is a child of the 'smbus' device.
1756745b8439SSascha Wildner#
1757745b8439SSascha Wildner# Supported devices:
1758745b8439SSascha Wildner# smb		standard io through /dev/smb*
1759745b8439SSascha Wildner#
1760745b8439SSascha Wildner# Supported SMB interfaces:
1761745b8439SSascha Wildner# iicsmb	I2C to SMB bridge with any iicbus interface
1762745b8439SSascha Wildner# bktr		brooktree848 I2C hardware interface
1763745b8439SSascha Wildner# intpm		Intel PIIX4 (82371AB, 82443MX) Power Management Unit
1764745b8439SSascha Wildner# alpm		Acer Aladdin-IV/V/Pro2 Power Management Unit
1765745b8439SSascha Wildner# ichsmb	Intel ICH SMBus controller chips (82801AA, 82801AB, 82801BA)
1766745b8439SSascha Wildner# viapm		VIA VT82C586B,596,686A and VT8233 SMBus controllers
1767745b8439SSascha Wildner# amdpm		AMD 756 Power Management Unit
1768745b8439SSascha Wildner# amdsmb	AMD 8111 SMBus 2.0 Controller
1769745b8439SSascha Wildner#
1770745b8439SSascha Wildnerdevice		smbus		# Bus support, required for smb below.
1771745b8439SSascha Wildner
1772745b8439SSascha Wildnerdevice		intpm
1773745b8439SSascha Wildnerdevice		alpm
1774745b8439SSascha Wildnerdevice		ichsmb
1775745b8439SSascha Wildnerdevice		viapm
1776745b8439SSascha Wildnerdevice		amdpm
1777745b8439SSascha Wildnerdevice		amdsmb
1778745b8439SSascha Wildner
1779745b8439SSascha Wildnerdevice		smb
1780745b8439SSascha Wildner
1781745b8439SSascha Wildner#
1782745b8439SSascha Wildner# I2C Bus
1783745b8439SSascha Wildner#
1784745b8439SSascha Wildner# Philips i2c bus support is provided by the `iicbus' device.
1785745b8439SSascha Wildner#
1786745b8439SSascha Wildner# Supported devices:
1787745b8439SSascha Wildner# ic	i2c network interface
1788745b8439SSascha Wildner# iic	i2c standard io
1789745b8439SSascha Wildner# iicsmb i2c to smb bridge. Allow i2c i/o with smb commands.
1790745b8439SSascha Wildner#
1791745b8439SSascha Wildner# Supported interfaces:
1792745b8439SSascha Wildner# pcf	Philips PCF8584 ISA-bus controller
1793745b8439SSascha Wildner# bktr	brooktree848 I2C software interface
1794745b8439SSascha Wildner#
1795745b8439SSascha Wildner# Other:
1796745b8439SSascha Wildner# iicbb	generic I2C bit-banging code (needed by lpbb, bktr)
1797745b8439SSascha Wildner#
1798745b8439SSascha Wildnerdevice		iicbus		# Bus support, required for ic/iic/iicsmb below.
1799745b8439SSascha Wildnerdevice		iicbb
1800745b8439SSascha Wildner
1801745b8439SSascha Wildnerdevice		ic
1802745b8439SSascha Wildnerdevice		iic
1803745b8439SSascha Wildnerdevice		iicsmb		# smb over i2c bridge
1804745b8439SSascha Wildner
1805745b8439SSascha Wildnerdevice		pcf0	at isa? port 0x320 irq 5
1806745b8439SSascha Wildner
1807745b8439SSascha Wildner# Intel Core and newer CPUs on-die digital thermal sensor support
1808745b8439SSascha Wildnerdevice		coretemp
1809745b8439SSascha Wildner
1810745b8439SSascha Wildner# AMD Family 0Fh, 10h and 11h temperature sensors
1811745b8439SSascha Wildnerdevice		kate
1812745b8439SSascha Wildnerdevice		km
1813745b8439SSascha Wildner
1814745b8439SSascha Wildner# ThinkPad Active Protection System accelerometer
1815745b8439SSascha Wildnerdevice		aps0	at isa? port 0x1600
1816745b8439SSascha Wildner
1817745b8439SSascha Wildner# HW monitoring devices lm(4), it(4) and nsclpcsio.
1818745b8439SSascha Wildnerdevice		lm0	at isa? port 0x290
1819745b8439SSascha Wildnerdevice		it0	at isa? port 0x290
1820745b8439SSascha Wildnerdevice		it1	at isa? port 0xc00
1821745b8439SSascha Wildnerdevice		it2	at isa? port 0xd00
1822745b8439SSascha Wildnerdevice		it3	at isa?	port 0x228
1823745b8439SSascha Wildnerdevice		nsclpcsio0 at isa? port 0x2e
1824745b8439SSascha Wildnerdevice		nsclpcsio1 at isa? port 0x4e
1825745b8439SSascha Wildnerdevice		wbsio0	at isa? port 0x2e
1826745b8439SSascha Wildnerdevice		wbsio1	at isa? port 0x4e
1827745b8439SSascha Wildnerdevice		lm#3	at wbsio?
1828745b8439SSascha Wildnerdevice		uguru0	at isa? port 0xe0	# ABIT uGuru
1829745b8439SSascha Wildner
1830745b8439SSascha Wildner#---------------------------------------------------------------------------
1831745b8439SSascha Wildner# ISDN4BSD
1832745b8439SSascha Wildner#
1833745b8439SSascha Wildner# See /usr/share/examples/isdn/ROADMAP for an introduction to isdn4bsd.
1834745b8439SSascha Wildner#
1835745b8439SSascha Wildner# i4b passive ISDN cards support contains the following hardware drivers:
1836745b8439SSascha Wildner#
1837745b8439SSascha Wildner#       isic  - Siemens/Infineon ISDN ISAC/HSCX/IPAC chipset driver
1838745b8439SSascha Wildner#       iwic  - Winbond W6692 PCI bus ISDN S/T interface controller
1839745b8439SSascha Wildner#       ifpi  - AVM Fritz!Card PCI driver
1840745b8439SSascha Wildner#       ifpi2 - AVM Fritz!Card PCI driver Version 2
1841745b8439SSascha Wildner#       ihfc  - Cologne Chip HFC ISA/ISA-PnP chipset driver
1842745b8439SSascha Wildner#       ifpnp - AVM Fritz!Card PnP driver
1843745b8439SSascha Wildner#       itjc  - Siemens ISAC / TJNet Tiger300/320 chipset
1844745b8439SSascha Wildner#
1845745b8439SSascha Wildner# i4b active ISDN cards support contains the following hardware drivers:
1846745b8439SSascha Wildner#
1847745b8439SSascha Wildner#       iavc  - AVM B1 PCI, AVM B1 ISA, AVM T1
1848745b8439SSascha Wildner#
1849745b8439SSascha Wildner# Note that the ``options'' (if given) and ``device'' lines must BOTH
1850745b8439SSascha Wildner# be uncommented to enable support for a given card !
1851745b8439SSascha Wildner#
1852745b8439SSascha Wildner# In addition to a hardware driver (and probably an option) the mandatory
1853745b8439SSascha Wildner# ISDN protocol stack devices and the mandatory support device must be
1854745b8439SSascha Wildner# enabled as well as one or more devices from the optional devices section.
1855745b8439SSascha Wildner#
1856745b8439SSascha Wildner#---------------------------------------------------------------------------
1857745b8439SSascha Wildner# isic driver (Siemens/Infineon chipsets)
1858745b8439SSascha Wildner#---------------------------------------------------------------------------
1859745b8439SSascha Wildner#
1860745b8439SSascha Wildner# ISA bus non-PnP Cards:
1861745b8439SSascha Wildner# ----------------------
1862745b8439SSascha Wildner#
1863745b8439SSascha Wildner# Teles S0/8 or Niccy 1008
1864745b8439SSascha Wildner#options 	TEL_S0_8
1865745b8439SSascha Wildner#device		isic0	at isa? iomem 0xd0000 irq 5 flags 1
1866745b8439SSascha Wildner#
1867745b8439SSascha Wildner# Teles S0/16 or Creatix ISDN-S0 or Niccy 1016
1868745b8439SSascha Wildner#options 	TEL_S0_16
1869745b8439SSascha Wildner#device		isic0	at isa? port 0xd80 iomem 0xd0000 irq 5 flags 2
1870745b8439SSascha Wildner#
1871745b8439SSascha Wildner# Teles S0/16.3
1872745b8439SSascha Wildner#options 	TEL_S0_16_3
1873745b8439SSascha Wildner#device		isic0	at isa? port 0xd80 irq 5 flags 3
1874745b8439SSascha Wildner#
1875745b8439SSascha Wildner# AVM A1 or AVM Fritz!Card
1876745b8439SSascha Wildner#options 	AVM_A1
1877745b8439SSascha Wildner#device		isic0	at isa? port 0x340 irq 5 flags 4
1878745b8439SSascha Wildner#
1879745b8439SSascha Wildner# USRobotics Sportster ISDN TA intern
1880745b8439SSascha Wildner#options 	USR_STI
1881745b8439SSascha Wildner#device		isic0	at isa? port 0x268 irq 5 flags 7
1882745b8439SSascha Wildner#
1883745b8439SSascha Wildner# ITK ix1 Micro ( < V.3, non-PnP version )
1884745b8439SSascha Wildner#options 	ITKIX1
1885745b8439SSascha Wildner#device		isic0	at isa? port 0x398 irq 10 flags 18
1886745b8439SSascha Wildner#
1887745b8439SSascha Wildner# ELSA PCC-16
1888745b8439SSascha Wildner#options 	ELSA_PCC16
1889745b8439SSascha Wildner#device		isic0	at isa? port 0x360 irq 10 flags 20
1890745b8439SSascha Wildner#
1891745b8439SSascha Wildner# ISA bus PnP Cards:
1892745b8439SSascha Wildner# ------------------
1893745b8439SSascha Wildner#
1894745b8439SSascha Wildner# Teles S0/16.3 PnP
1895745b8439SSascha Wildner#options 	TEL_S0_16_3_P
1896745b8439SSascha Wildner#device		isic
1897745b8439SSascha Wildner#
1898745b8439SSascha Wildner# Creatix ISDN-S0 P&P
1899745b8439SSascha Wildner#options 	CRTX_S0_P
1900745b8439SSascha Wildner#device		isic
1901745b8439SSascha Wildner#
1902745b8439SSascha Wildner# Dr. Neuhaus Niccy Go@
1903745b8439SSascha Wildner#options 	DRN_NGO
1904745b8439SSascha Wildner#device		isic
1905745b8439SSascha Wildner#
1906745b8439SSascha Wildner# Sedlbauer Win Speed
1907745b8439SSascha Wildner#options 	SEDLBAUER
1908745b8439SSascha Wildner#device		isic
1909745b8439SSascha Wildner#
1910745b8439SSascha Wildner# Dynalink IS64PH
1911745b8439SSascha Wildner#options 	DYNALINK
1912745b8439SSascha Wildner#device		isic
1913745b8439SSascha Wildner#
1914745b8439SSascha Wildner# ELSA QuickStep 1000pro ISA
1915745b8439SSascha Wildner#options 	ELSA_QS1ISA
1916745b8439SSascha Wildner#device		isic
1917745b8439SSascha Wildner#
1918745b8439SSascha Wildner# ITK ix1 Micro ( V.3, PnP version )
1919745b8439SSascha Wildner#options 	ITKIX1
1920745b8439SSascha Wildner#device		isic
1921745b8439SSascha Wildner#
1922745b8439SSascha Wildner# Siemens I-Surf 2.0
1923745b8439SSascha Wildner#options 	SIEMENS_ISURF2
1924745b8439SSascha Wildner#device		isic
1925745b8439SSascha Wildner#
1926745b8439SSascha Wildner# Asuscom ISDNlink 128K ISAC
1927745b8439SSascha Wildner#options 	ASUSCOM_IPAC
1928745b8439SSascha Wildner#device 	isic
1929745b8439SSascha Wildner#
1930745b8439SSascha Wildner# Eicon Diehl DIVA 2.0 and 2.02
1931745b8439SSascha Wildner#options       EICON_DIVA
1932745b8439SSascha Wildner#device 	isic
1933745b8439SSascha Wildner#
1934745b8439SSascha Wildner# Compaq Microcom 610
1935745b8439SSascha Wildner#options       COMPAQ_M610
1936745b8439SSascha Wildner#device 	isic
1937745b8439SSascha Wildner#
1938745b8439SSascha Wildner# PCI bus Cards:
1939745b8439SSascha Wildner# --------------
1940745b8439SSascha Wildner#
1941745b8439SSascha Wildner# ELSA MicroLink ISDN/PCI (same as ELSA QuickStep 1000pro PCI)
1942745b8439SSascha Wildner#options 	ELSA_QS1PCI
1943745b8439SSascha Wildner#device		isic
1944745b8439SSascha Wildner#
1945745b8439SSascha Wildner#---------------------------------------------------------------------------
1946745b8439SSascha Wildner#       ifpnp driver for AVM Fritz!Card ISA PnP
1947745b8439SSascha Wildner#---------------------------------------------------------------------------
1948745b8439SSascha Wildner#
1949745b8439SSascha Wildner# AVM Fritz!Card ISA PnP
1950745b8439SSascha Wildner#device ifpnp
1951745b8439SSascha Wildner#
1952745b8439SSascha Wildner#---------------------------------------------------------------------------
1953745b8439SSascha Wildner#       ihfc driver for Cologne Chip ISA chipsets (experimental!)
1954745b8439SSascha Wildner#---------------------------------------------------------------------------
1955745b8439SSascha Wildner#
1956745b8439SSascha Wildner# Teles 16.3c ISA PnP
1957745b8439SSascha Wildner# AcerISDN P10 ISA PnP
1958745b8439SSascha Wildner# TELEINT ISDN SPEED No.1
1959745b8439SSascha Wildner#device ihfc
1960745b8439SSascha Wildner#
1961745b8439SSascha Wildner#---------------------------------------------------------------------------
1962745b8439SSascha Wildner#       ifpi driver for AVM Fritz!Card PCI 1.0 (2.0 unsupported!)
1963745b8439SSascha Wildner#---------------------------------------------------------------------------
1964745b8439SSascha Wildner#
1965745b8439SSascha Wildner# AVM Fritz!Card PCI 1.0
1966745b8439SSascha Wildner#device  ifpi
1967745b8439SSascha Wildner#
1968745b8439SSascha Wildner#---------------------------------------------------------------------------
1969745b8439SSascha Wildner#       ifpi2 driver for AVM Fritz!Card PCI 2.0
1970745b8439SSascha Wildner#---------------------------------------------------------------------------
1971745b8439SSascha Wildner#
1972745b8439SSascha Wildner# AVM Fritz!Card PCI 2.0
1973745b8439SSascha Wildner#device  "ifpi2"
1974745b8439SSascha Wildner#
1975745b8439SSascha Wildner#---------------------------------------------------------------------------
1976745b8439SSascha Wildner#       iwic driver for Winbond W6692 chipset
1977745b8439SSascha Wildner#---------------------------------------------------------------------------
1978745b8439SSascha Wildner#
1979745b8439SSascha Wildner# ASUSCOM P-IN100-ST-D (and other Winbond W6692 based cards)
1980745b8439SSascha Wildner#device  iwic
1981745b8439SSascha Wildner#
1982745b8439SSascha Wildner#---------------------------------------------------------------------------
1983745b8439SSascha Wildner#       itjc driver for Siemens ISAC / TJNet Tiger300/320 chipset
1984745b8439SSascha Wildner#---------------------------------------------------------------------------
1985745b8439SSascha Wildner#
1986745b8439SSascha Wildner# Traverse Technologies NETjet-S
1987745b8439SSascha Wildner# Teles PCI-TJ
1988745b8439SSascha Wildner#device  itjc
1989745b8439SSascha Wildner#
1990745b8439SSascha Wildner#---------------------------------------------------------------------------
1991745b8439SSascha Wildner#       iavc driver (AVM active cards, needs i4bcapi driver!)
1992745b8439SSascha Wildner#---------------------------------------------------------------------------
1993745b8439SSascha Wildner#
1994745b8439SSascha Wildner#pseudo-device   "i4bcapi"	2
1995745b8439SSascha Wildner#
1996745b8439SSascha Wildner# AVM B1 PCI
1997745b8439SSascha Wildner#device          iavc0
1998745b8439SSascha Wildner#
1999745b8439SSascha Wildner# AVM B1 ISA bus (PnP mode not supported!)
2000745b8439SSascha Wildner#device  iavc0 at isa? port 0x150 irq 5
2001745b8439SSascha Wildner#
2002745b8439SSascha Wildner#
2003745b8439SSascha Wildner# ISDN Protocol Stack (mandatory)
2004745b8439SSascha Wildner# -------------------------------
2005745b8439SSascha Wildner#
2006745b8439SSascha Wildner# Q.921 / layer 2 - i4b passive cards D channel handling
2007745b8439SSascha Wildner#pseudo-device	"i4bq921"
2008745b8439SSascha Wildner#
2009745b8439SSascha Wildner# Q.931 / layer 3 - i4b passive cards D channel handling
2010745b8439SSascha Wildner#pseudo-device	"i4bq931"
2011745b8439SSascha Wildner#
2012745b8439SSascha Wildner# layer 4 - i4b common passive and active card handling
2013745b8439SSascha Wildner#pseudo-device	"i4b"
2014745b8439SSascha Wildner#
2015745b8439SSascha Wildner# ISDN devices
2016745b8439SSascha Wildner# ------------
2017745b8439SSascha Wildner#
2018745b8439SSascha Wildner# userland driver to do ISDN tracing (for passive cards only)
2019745b8439SSascha Wildner#pseudo-device	"i4btrc"	4
2020745b8439SSascha Wildner#
2021745b8439SSascha Wildner# userland driver to control the whole thing (mandatory)
2022745b8439SSascha Wildner#pseudo-device	"i4bctl"
2023745b8439SSascha Wildner#
2024745b8439SSascha Wildner# userland driver for access to raw B channel
2025745b8439SSascha Wildner#pseudo-device	"i4brbch"	4
2026745b8439SSascha Wildner#
2027745b8439SSascha Wildner# userland driver for telephony
2028745b8439SSascha Wildner#pseudo-device	"i4btel"	2
2029745b8439SSascha Wildner#
2030745b8439SSascha Wildner# network driver for IP over raw HDLC ISDN
2031745b8439SSascha Wildner#pseudo-device	"i4bipr"	4
2032745b8439SSascha Wildner# enable VJ header compression detection for ipr i/f
2033745b8439SSascha Wildner#options 	IPR_VJ
2034745b8439SSascha Wildner# enable logging of the first n IP packets to isdnd (n=32 here)
2035745b8439SSascha Wildner#options 	IPR_LOG=32
2036745b8439SSascha Wildner#
2037745b8439SSascha Wildner# network driver for sync PPP over ISDN - requires sppp
2038745b8439SSascha Wildner#pseudo-device	"i4bisppp"	4
2039745b8439SSascha Wildner
2040745b8439SSascha Wildner
2041745b8439SSascha Wildner# Parallel-Port Bus
2042745b8439SSascha Wildner#
2043745b8439SSascha Wildner# Parallel port bus support is provided by the `ppbus' device.
2044745b8439SSascha Wildner# Multiple devices may be attached to the parallel port, devices
2045745b8439SSascha Wildner# are automatically probed and attached when found.
2046745b8439SSascha Wildner#
2047745b8439SSascha Wildner# Supported devices:
2048745b8439SSascha Wildner# vpo	Iomega Zip Drive
2049745b8439SSascha Wildner#	Requires SCSI disk support ('scbus' and 'da'); the best
2050745b8439SSascha Wildner#	performance is achieved with ports in EPP 1.9 mode.
2051745b8439SSascha Wildner# lpt	Parallel Printer
2052745b8439SSascha Wildner# plip	Parallel network interface
2053745b8439SSascha Wildner# ppi	General-purpose I/O ("Geek Port") + IEEE1284 I/O
2054745b8439SSascha Wildner# pps	Pulse per second Timing Interface
2055745b8439SSascha Wildner# lpbb	Philips official parallel port I2C bit-banging interface
2056745b8439SSascha Wildner#
2057745b8439SSascha Wildner# Supported interfaces:
2058745b8439SSascha Wildner# ppc	ISA-bus parallel port interfaces.
2059745b8439SSascha Wildner#
2060745b8439SSascha Wildner
2061745b8439SSascha Wildneroptions 	PPC_PROBE_CHIPSET # Enable chipset specific detection
2062745b8439SSascha Wildner				  # (see flags in ppc(4))
2063745b8439SSascha Wildneroptions 	DEBUG_1284	# IEEE1284 signaling protocol debug
2064745b8439SSascha Wildneroptions 	PERIPH_1284	# Makes your computer act as a IEEE1284
2065745b8439SSascha Wildner				# compliant peripheral
2066745b8439SSascha Wildneroptions 	DONTPROBE_1284	# Avoid boot detection of PnP parallel devices
2067745b8439SSascha Wildneroptions 	VP0_DEBUG	# ZIP/ZIP+ debug
2068745b8439SSascha Wildneroptions 	LPT_DEBUG	# Printer driver debug
2069745b8439SSascha Wildneroptions 	PPC_DEBUG=2	# Parallel chipset level debug
2070745b8439SSascha Wildneroptions 	PLIP_DEBUG	# Parallel network IP interface debug
2071745b8439SSascha Wildneroptions 	PCFCLOCK_VERBOSE         # Verbose pcfclock driver
2072745b8439SSascha Wildneroptions 	PCFCLOCK_MAX_RETRIES=5   # Maximum read tries (default 10)
2073745b8439SSascha Wildner
2074745b8439SSascha Wildnerdevice		ppc0	at isa? irq 7
2075745b8439SSascha Wildnerdevice		ppbus
2076745b8439SSascha Wildnerdevice		vpo
2077745b8439SSascha Wildnerdevice		lpt
2078745b8439SSascha Wildnerdevice		plip
2079745b8439SSascha Wildnerdevice		ppi
2080745b8439SSascha Wildnerdevice		pps
2081745b8439SSascha Wildnerdevice		lpbb
2082745b8439SSascha Wildnerdevice		pcfclock
2083745b8439SSascha Wildner
2084745b8439SSascha Wildner# Kernel BOOTP support
2085745b8439SSascha Wildner
2086745b8439SSascha Wildneroptions 	BOOTP		# Use BOOTP to obtain IP address/hostname
2087745b8439SSascha Wildneroptions 	BOOTP_NFSROOT	# NFS mount root filesystem using BOOTP info
2088745b8439SSascha Wildneroptions 	BOOTP_NFSV3	# Use NFS v3 to NFS mount root
2089745b8439SSascha Wildneroptions 	BOOTP_COMPAT	# Workaround for broken bootp daemons.
2090745b8439SSascha Wildneroptions 	BOOTP_WIRED_TO=fxp0 # Use interface fxp0 for BOOTP
2091745b8439SSascha Wildner
2092745b8439SSascha Wildner#
2093745b8439SSascha Wildner# Add tie-ins for a hardware watchdog.  This only enable the hooks;
2094745b8439SSascha Wildner# the user must still supply the actual driver.
2095745b8439SSascha Wildner#
2096745b8439SSascha Wildneroptions 	HW_WDOG
2097745b8439SSascha Wildner
2098745b8439SSascha Wildner#
2099745b8439SSascha Wildner# Set the number of PV entries per process.  Increasing this can
2100745b8439SSascha Wildner# stop panics related to heavy use of shared memory. However, that can
2101745b8439SSascha Wildner# (combined with large amounts of physical memory) cause panics at
2102745b8439SSascha Wildner# boot time due the kernel running out of VM space.
2103745b8439SSascha Wildner#
2104745b8439SSascha Wildner# If you're tweaking this, you might also want to increase the sysctls
2105745b8439SSascha Wildner# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target".
2106745b8439SSascha Wildner#
2107745b8439SSascha Wildner# The value below is the one more than the default.
2108745b8439SSascha Wildner#
2109745b8439SSascha Wildneroptions 	PMAP_SHPGPERPROC=201
2110745b8439SSascha Wildner
2111745b8439SSascha Wildner#
2112745b8439SSascha Wildner# Disable swapping. This option removes all code which actually performs
2113745b8439SSascha Wildner# swapping, so it's not possible to turn it back on at run-time.
2114745b8439SSascha Wildner#
2115745b8439SSascha Wildner# This is sometimes usable for systems which don't have any swap space
2116745b8439SSascha Wildner# (see also sysctls "vm.defer_swapspace_pageouts" and
2117745b8439SSascha Wildner# "vm.disable_swapspace_pageouts")
2118745b8439SSascha Wildner#
2119745b8439SSascha Wildner#options 	NO_SWAPPING
2120745b8439SSascha Wildner
2121745b8439SSascha Wildner# Set the size of the buffer cache KVM reservation, in buffers.  This is
2122745b8439SSascha Wildner# scaled by approximately 16384 bytes.  The system will auto-size the buffer
2123745b8439SSascha Wildner# cache if this option is not specified.
2124745b8439SSascha Wildner#
2125745b8439SSascha Wildneroptions 	NBUF=512
2126745b8439SSascha Wildner
2127745b8439SSascha Wildner# Set the size of the mbuf KVM reservation, in clusters.  This is scaled
2128745b8439SSascha Wildner# by approximately 2048 bytes.  The system will auto-size the mbuf area
2129745b8439SSascha Wildner# to (512 + maxusers*16) if this option is not specified.
2130745b8439SSascha Wildner# maxusers is in turn computed at boot time depending on available memory
2131745b8439SSascha Wildner# or set to the value specified by "options MAXUSERS=x" (x=0 means
2132745b8439SSascha Wildner# autoscaling).
2133745b8439SSascha Wildner# So, to take advantage of autoscaling, you have to remove both
2134745b8439SSascha Wildner# NMBCLUSTERS and MAXUSERS (and NMBUFS) from your kernel config.
2135745b8439SSascha Wildner#
2136745b8439SSascha Wildneroptions 	NMBCLUSTERS=1024
2137745b8439SSascha Wildner
2138745b8439SSascha Wildner# Set the number of mbufs available in the system. Each mbuf
2139745b8439SSascha Wildner# consumes 256 bytes. The system will autosize this (to 4 times
2140745b8439SSascha Wildner# the number of NMBCLUSTERS, depending on other constraints)
2141745b8439SSascha Wildner# if this option is not specified.
2142745b8439SSascha Wildner#
2143745b8439SSascha Wildneroptions 	NMBUFS=4096
2144745b8439SSascha Wildner
2145745b8439SSascha Wildner# Tune the buffer cache maximum KVA reservation, in bytes.  The maximum is
2146745b8439SSascha Wildner# usually capped at 200 MB, effecting machines with > 1GB of ram.  Note
2147745b8439SSascha Wildner# that the buffer cache only really governs write buffering and disk block
2148745b8439SSascha Wildner# translations.  The VM page cache is our primary disk cache and is not
2149745b8439SSascha Wildner# effected by the size of the buffer cache.
2150745b8439SSascha Wildner#
2151745b8439SSascha Wildneroptions 	VM_BCACHE_SIZE_MAX="(100*1024*1024)"
2152745b8439SSascha Wildner
2153745b8439SSascha Wildner# Tune the swap zone KVA reservation, in bytes.  The default is typically
2154745b8439SSascha Wildner# 70 MB, giving the system the ability to manage a maximum of 28GB worth
2155745b8439SSascha Wildner# of swapped out data.
2156745b8439SSascha Wildner#
2157745b8439SSascha Wildneroptions 	VM_SWZONE_SIZE_MAX="(50*1024*1024)"
2158745b8439SSascha Wildner
2159745b8439SSascha Wildner#
2160745b8439SSascha Wildner# Enable extra debugging code for locks.  This stores the filename and
2161745b8439SSascha Wildner# line of whatever acquired the lock in the lock itself, and change a
2162745b8439SSascha Wildner# number of function calls to pass around the relevant data.  This is
2163745b8439SSascha Wildner# not at all useful unless you are debugging lock code.  Also note
2164745b8439SSascha Wildner# that it is likely to break e.g. fstat(1) unless you recompile your
2165745b8439SSascha Wildner# userland with -DDEBUG_LOCKS as well.
2166745b8439SSascha Wildner#
2167745b8439SSascha Wildneroptions 	DEBUG_LOCKS
2168745b8439SSascha Wildner
2169745b8439SSascha Wildner# Set the amount of time (in seconds) the system will wait before
2170745b8439SSascha Wildner# rebooting automatically when a kernel panic occurs.  If set to (-1),
2171745b8439SSascha Wildner# the system will wait indefinitely until a key is pressed on the
2172745b8439SSascha Wildner# console.
2173745b8439SSascha Wildneroptions 	PANIC_REBOOT_WAIT_TIME=16
2174745b8439SSascha Wildner
2175745b8439SSascha Wildner# Attempt to bypass the buffer cache and put data directly into the
2176745b8439SSascha Wildner# userland buffer for read operation when O_DIRECT flag is set on the
2177745b8439SSascha Wildner# file.  Both offset and length of the read operation must be
2178745b8439SSascha Wildner# multiples of the physical media sector size.
2179745b8439SSascha Wildner#
2180745b8439SSascha Wildneroptions		DIRECTIO
2181745b8439SSascha Wildner
2182745b8439SSascha Wildner# Specify a lower limit for the number of swap I/O buffers.  They are
2183745b8439SSascha Wildner# (among other things) used when bypassing the buffer cache due to
2184745b8439SSascha Wildner# DIRECTIO kernel option enabled and O_DIRECT flag set on file.
2185745b8439SSascha Wildner#
2186745b8439SSascha Wildner#options		NSWBUF_MIN=120
2187745b8439SSascha Wildner
2188745b8439SSascha Wildner# The 'asr' driver provides support for current DPT/Adaptec SCSI RAID
2189745b8439SSascha Wildner# controllers (SmartRAID V and VI and later).
2190745b8439SSascha Wildner# These controllers require the CAM infrastructure.
2191745b8439SSascha Wildner#
2192745b8439SSascha Wildnerdevice		asr
2193745b8439SSascha Wildner
2194745b8439SSascha Wildner# The 'dpt' driver provides support for DPT controllers (http://www.dpt.com/).
2195745b8439SSascha Wildner# These have hardware RAID-{0,1,5} support, and do multi-initiator I/O.
2196745b8439SSascha Wildner# The DPT controllers are commonly re-licensed under other brand-names -
2197745b8439SSascha Wildner# some controllers by Olivetti, Dec, HP, AT&T, SNI, AST, Alphatronic, NEC and
2198745b8439SSascha Wildner# Compaq are actually DPT controllers.
2199745b8439SSascha Wildner#
2200745b8439SSascha Wildner# See src/sys/dev/raid/dpt for debugging and other subtle options.
2201745b8439SSascha Wildner#   DPT_MEASURE_PERFORMANCE Enables a set of (semi)invasive metrics. Various
2202745b8439SSascha Wildner#                           instruments are enabled.  The tools in
2203745b8439SSascha Wildner#                           /usr/sbin/dpt_* assume these to be enabled.
2204745b8439SSascha Wildner#   DPT_HANDLE_TIMEOUTS     Normally device timeouts are handled by the DPT.
2205745b8439SSascha Wildner#                           If you ant the driver to handle timeouts, enable
2206745b8439SSascha Wildner#                           this option.  If your system is very busy, this
2207745b8439SSascha Wildner#                           option will create more trouble than solve.
2208745b8439SSascha Wildner#   DPT_TIMEOUT_FACTOR      Used to compute the excessive amount of time to
2209745b8439SSascha Wildner#                           wait when timing out with the above option.
2210745b8439SSascha Wildner#  DPT_DEBUG_xxxx           These are controllable from sys/dev/dpt/raid/dpt.h
2211745b8439SSascha Wildner#  DPT_LOST_IRQ             When enabled, will try, once per second, to catch
2212745b8439SSascha Wildner#                           any interrupt that got lost.  Seems to help in some
2213745b8439SSascha Wildner#                           DPT-firmware/Motherboard combinations.  Minimal
2214745b8439SSascha Wildner#                           cost, great benefit.
2215745b8439SSascha Wildner#  DPT_RESET_HBA            Make "reset" actually reset the controller
2216745b8439SSascha Wildner#                           instead of fudging it.  Only enable this if you
2217745b8439SSascha Wildner#			    are 100% certain you need it.
2218745b8439SSascha Wildner
2219745b8439SSascha Wildnerdevice		dpt
2220745b8439SSascha Wildner
2221745b8439SSascha Wildner# DPT options
2222745b8439SSascha Wildner#!CAM# options 	DPT_MEASURE_PERFORMANCE
2223745b8439SSascha Wildner#!CAM# options 	DPT_HANDLE_TIMEOUTS
2224745b8439SSascha Wildneroptions 	DPT_TIMEOUT_FACTOR=4
2225745b8439SSascha Wildneroptions 	DPT_LOST_IRQ
2226745b8439SSascha Wildneroptions 	DPT_RESET_HBA
2227745b8439SSascha Wildner
2228745b8439SSascha Wildner#
2229745b8439SSascha Wildner# Compaq "CISS" RAID controllers (SmartRAID 5* series)
2230745b8439SSascha Wildner# These controllers have a SCSI-like interface, and require the
2231745b8439SSascha Wildner# CAM infrastructure.
2232745b8439SSascha Wildner#
2233745b8439SSascha Wildnerdevice		ciss
2234745b8439SSascha Wildner
2235745b8439SSascha Wildner#
2236745b8439SSascha Wildner# Intel Integrated RAID controllers.
2237745b8439SSascha Wildner# This driver is supported and maintained by
2238745b8439SSascha Wildner# "Leubner, Achim" <Achim_Leubner@adaptec.com>.
2239745b8439SSascha Wildner#
2240745b8439SSascha Wildnerdevice          iir
2241745b8439SSascha Wildner
2242745b8439SSascha Wildner#
2243745b8439SSascha Wildner# Mylex AcceleRAID and eXtremeRAID controllers with v6 and later
2244745b8439SSascha Wildner# firmware.  These controllers have a SCSI-like interface, and require
2245745b8439SSascha Wildner# the CAM infrastructure.
2246745b8439SSascha Wildner#
2247745b8439SSascha Wildnerdevice          mly
2248745b8439SSascha Wildner
2249745b8439SSascha Wildner# USB support
2250745b8439SSascha Wildner# UHCI controller
2251745b8439SSascha Wildnerdevice		uhci
2252745b8439SSascha Wildner# OHCI controller
2253745b8439SSascha Wildnerdevice		ohci
2254745b8439SSascha Wildner# EHCI controller
2255745b8439SSascha Wildnerdevice 		ehci
2256745b8439SSascha Wildner# General USB code (mandatory for USB)
2257745b8439SSascha Wildnerdevice		usb
2258745b8439SSascha Wildner#
2259745b8439SSascha Wildner# USB Bluetooth
2260745b8439SSascha Wildnerdevice		ubt
2261745b8439SSascha Wildner# Fm Radio
2262745b8439SSascha Wildnerdevice		ufm
2263745b8439SSascha Wildner# Generic USB device driver
2264745b8439SSascha Wildnerdevice		ugen
2265745b8439SSascha Wildner# Human Interface Device (anything with buttons and dials)
2266745b8439SSascha Wildnerdevice		uhid
2267745b8439SSascha Wildner# USB keyboard
2268745b8439SSascha Wildnerdevice		ukbd
2269745b8439SSascha Wildner# USB printer
2270745b8439SSascha Wildnerdevice		ulpt
2271745b8439SSascha Wildner# USB Iomega Zip 100 Drive (Requires scbus and da)
2272745b8439SSascha Wildnerdevice		umass
2273745b8439SSascha Wildner# USB modem support
2274745b8439SSascha Wildnerdevice		umodem
2275745b8439SSascha Wildner# USB mouse
2276745b8439SSascha Wildnerdevice		ums
2277745b8439SSascha Wildner# USB Rio (MP3 Player)
2278745b8439SSascha Wildnerdevice		urio
2279745b8439SSascha Wildner# USB scanners
2280745b8439SSascha Wildnerdevice		uscanner
2281745b8439SSascha Wildner# USB com devices
2282745b8439SSascha Wildnerdevice		moscom
2283745b8439SSascha Wildnerdevice		uark
2284745b8439SSascha Wildnerdevice		ubsa
2285745b8439SSascha Wildnerdevice		uchcom
2286745b8439SSascha Wildnerdevice		ucom
2287745b8439SSascha Wildnerdevice		uftdi
2288745b8439SSascha Wildnerdevice		ugensa
2289745b8439SSascha Wildnerdevice		umct
2290745b8439SSascha Wildnerdevice		uplcom
2291745b8439SSascha Wildnerdevice		uslcom
2292745b8439SSascha Wildnerdevice		uticom
2293745b8439SSascha Wildnerdevice		uvisor
2294745b8439SSascha Wildnerdevice		uvscom
2295745b8439SSascha Wildner
2296745b8439SSascha Wildner#
2297745b8439SSascha Wildner# ADMtek USB ethernet. Supports the LinkSys USB100TX,
2298745b8439SSascha Wildner# the Billionton USB100, the Melco LU-ATX, the D-Link DSB-650TX
2299745b8439SSascha Wildner# and the SMC 2202USB. Also works with the ADMtek AN986 Pegasus
2300745b8439SSascha Wildner# eval board.
2301745b8439SSascha Wildnerdevice		aue
2302745b8439SSascha Wildner#
2303745b8439SSascha Wildner# ASIX Electronics AX88172 USB 2.0 ethernet driver. Used in the
2304745b8439SSascha Wildner# LinkSys USB200M and various other adapters.
2305745b8439SSascha Wildnerdevice		axe
2306745b8439SSascha Wildner#
2307745b8439SSascha Wildner# CATC USB-EL1201A USB ethernet. Supports the CATC Netmate
2308745b8439SSascha Wildner# and Netmate II, and the Belkin F5U111.
2309745b8439SSascha Wildnerdevice		cue
2310745b8439SSascha Wildner#
2311745b8439SSascha Wildner# Kawasaki LSI ethernet. Supports the LinkSys USB10T,
2312745b8439SSascha Wildner# Entrega USB-NET-E45, Peracom Ethernet Adapter, the
2313745b8439SSascha Wildner# 3Com 3c19250, the ADS Technologies USB-10BT, the ATen UC10T,
2314745b8439SSascha Wildner# the Netgear EA101, the D-Link DSB-650, the SMC 2102USB
2315745b8439SSascha Wildner# and 2104USB, and the Corega USB-T.
2316745b8439SSascha Wildnerdevice		kue
2317745b8439SSascha Wildner#
2318*a700a71bSSascha Wildner# USB CDC ethernet. Supports the LG P-500 smartphone.
2319*a700a71bSSascha Wildnerdevice		lgue
2320*a700a71bSSascha Wildner#
2321745b8439SSascha Wildner# RealTek 8150 based USB ethernet device:
2322745b8439SSascha Wildner#   Melco LUA-KTX
2323745b8439SSascha Wildner#   GREEN HOUSE GH-USB100B
2324745b8439SSascha Wildner#   Billionton ThumbLAN USBKR2-100B
2325745b8439SSascha Wildnerdevice		rue
2326745b8439SSascha Wildner
2327745b8439SSascha Wildner# USB wireless NICs, requires wlan_amrr
2328745b8439SSascha Wildner#
2329745b8439SSascha Wildner# Ralink Technology RT2501USB/RT2601USB
2330745b8439SSascha Wildner#device		rum
2331745b8439SSascha Wildner#
2332745b8439SSascha Wildner# Ralink Technology RT2500USB
2333745b8439SSascha Wildner#device		ural
2334745b8439SSascha Wildner
2335745b8439SSascha Wildner# debugging options for the USB subsystem
2336745b8439SSascha Wildner#
2337745b8439SSascha Wildneroptions 	USB_DEBUG
2338745b8439SSascha Wildner
2339745b8439SSascha Wildner# options for ukbd:
2340745b8439SSascha Wildneroptions 	UKBD_DFLT_KEYMAP	# specify the built-in keymap
2341745b8439SSascha Wildnermakeoptions	UKBD_DFLT_KEYMAP=it.iso
2342745b8439SSascha Wildner
2343745b8439SSascha Wildner# Firewire support
2344745b8439SSascha Wildnerdevice		firewire	# Firewire bus code
2345745b8439SSascha Wildnerdevice		sbp		# SCSI over Firewire (Requires scbus and da)
2346745b8439SSascha Wildnerdevice		fwe		# Ethernet over Firewire (non-standard!)
2347745b8439SSascha Wildner
2348745b8439SSascha Wildner# dcons support (Dumb Console Device)
2349745b8439SSascha Wildnerdevice		dcons			# dumb console driver
2350745b8439SSascha Wildnerdevice		dcons_crom		# FireWire attachment
2351745b8439SSascha Wildneroptions		DCONS_BUF_SIZE=16384	# buffer size
2352745b8439SSascha Wildneroptions		DCONS_POLL_HZ=100	# polling rate
2353745b8439SSascha Wildneroptions		DCONS_FORCE_CONSOLE=1	# force to be the primary console
2354745b8439SSascha Wildneroptions		DCONS_FORCE_GDB=1	# force to be the gdb device
2355745b8439SSascha Wildner
2356745b8439SSascha Wildner#####################################################################
2357745b8439SSascha Wildner# crypto subsystem
2358745b8439SSascha Wildner#
2359745b8439SSascha Wildner# This is a port of the openbsd crypto framework.  Include this when
2360745b8439SSascha Wildner# configuring IPsec and when you have a h/w crypto device to accelerate
2361745b8439SSascha Wildner# user applications that link to openssl.
2362745b8439SSascha Wildner#
2363745b8439SSascha Wildner# Drivers are ports from openbsd with some simple enhancements that have
2364745b8439SSascha Wildner# been fed back to openbsd (and hopefully will be included).
2365745b8439SSascha Wildner
2366745b8439SSascha Wildnerpseudo-device	crypto		# core crypto support
2367745b8439SSascha Wildnerpseudo-device	cryptodev	# /dev/crypto for access to h/w
2368745b8439SSascha Wildner
2369745b8439SSascha Wildnerdevice		rndtest		# FIPS 140-2 entropy tester
2370745b8439SSascha Wildner
2371745b8439SSascha Wildnerdevice		hifn		# Hifn 7951, 7781, etc.
2372745b8439SSascha Wildneroptions		HIFN_DEBUG	# enable debugging support: hw.hifn.debug
2373745b8439SSascha Wildner#options	HIFN_NO_RNG	# for devices without RNG
2374745b8439SSascha Wildneroptions		HIFN_RNDTEST	# enable rndtest support
2375745b8439SSascha Wildner
2376745b8439SSascha Wildnerdevice		ubsec		# Broadcom 5501, 5601, 58xx
2377745b8439SSascha Wildneroptions		UBSEC_DEBUG	# enable debugging support: hw.ubsec.debug
2378745b8439SSascha Wildner#options	UBSEC_NO_RNG	# for devices without RNG
2379745b8439SSascha Wildneroptions		UBSEC_RNDTEST	# enable rndtest support
2380745b8439SSascha Wildner
2381745b8439SSascha Wildnerdevice		aesni		# hardware crypto/RNG for AES-NI
2382745b8439SSascha Wildnerdevice		padlock		# hardware crypto/RNG for VIA C3/C7/Eden
2383745b8439SSascha Wildner
2384745b8439SSascha Wildner#
2385745b8439SSascha Wildner# ACPI support using the Intel ACPI Component Architecture reference
2386745b8439SSascha Wildner# implementation.
2387745b8439SSascha Wildner#
2388745b8439SSascha Wildner# ACPI_DEBUG enables the use of the debug.acpi.level and debug.acpi.layer
2389745b8439SSascha Wildner# kernel environment variables to select initial debugging levels for the
2390745b8439SSascha Wildner# Intel ACPICA code.
2391745b8439SSascha Wildner#
2392745b8439SSascha Wildner# Note that building ACPI into the kernel is deprecated; the module is
2393745b8439SSascha Wildner# normally loaded automatically by the loader.
2394745b8439SSascha Wildner
2395745b8439SSascha Wildnerdevice		acpi
2396745b8439SSascha Wildneroptions 	ACPI_DEBUG
2397745b8439SSascha Wildner
2398745b8439SSascha Wildner# ACPI Asus Extras (LCD backlight/brightness, video output, etc.)
2399745b8439SSascha Wildnerdevice		acpi_asus
2400745b8439SSascha Wildner
2401745b8439SSascha Wildner# ACPI Fujitsu Extras (Buttons)
2402745b8439SSascha Wildnerdevice		acpi_fujitsu
2403745b8439SSascha Wildner
2404745b8439SSascha Wildner# ACPI extras driver for HP laptops
2405745b8439SSascha Wildner#device		acpi_hp
2406745b8439SSascha Wildner
2407745b8439SSascha Wildner# ACPI Panasonic Extras (LCD backlight/brightness, video output, etc.)
2408745b8439SSascha Wildnerdevice		acpi_panasonic
2409745b8439SSascha Wildner
2410745b8439SSascha Wildner# ACPI Sony extra (LCD brightness)
2411745b8439SSascha Wildnerdevice		acpi_sony
2412745b8439SSascha Wildner
2413745b8439SSascha Wildner# ACPI extras driver for ThinkPad laptops
2414745b8439SSascha Wildnerdevice		acpi_thinkpad
2415745b8439SSascha Wildner
2416745b8439SSascha Wildner# ACPI Toshiba Extras (LCD backlight/brightness, video output, etc.)
2417745b8439SSascha Wildnerdevice		acpi_toshiba
2418745b8439SSascha Wildner
2419745b8439SSascha Wildner# ACPI Video Extensions (LCD backlight/brightness, video output, etc.)
2420745b8439SSascha Wildnerdevice		acpi_video
2421745b8439SSascha Wildner
2422745b8439SSascha Wildnerdevice		aibs		# ASUSTeK AI Booster (ACPI ASOC ATK0110)
2423745b8439SSascha Wildner
2424745b8439SSascha Wildner# DRM options:
2425745b8439SSascha Wildner# drm:		General DRM code
2426745b8439SSascha Wildner# i915drm:	Intel i830, i845, i915, i945, i965, G33/35
2427745b8439SSascha Wildner# mach64drm:	ATI Mach64 cards - Rage and 3D Rage series
2428745b8439SSascha Wildner# mgadrm:	AGP Matrox G200, G400, G450, G550
2429745b8439SSascha Wildner# r128drm:	ATI Rage 128 cards
2430745b8439SSascha Wildner# radeondrm:	ATI Radeon cards
2431745b8439SSascha Wildner# savagedrm:	Savage cards
2432745b8439SSascha Wildner# sisdrm:	Sis cards
2433745b8439SSascha Wildner# tdfxdrm:	3dfx Voodoo 3/4/5 and Banshee
2434745b8439SSascha Wildner#
2435745b8439SSascha Wildner# DRM_DEBUG:	include debug printfs, very slow
2436745b8439SSascha Wildner#
2437745b8439SSascha Wildner# DRM requires AGP in the kernel.
2438745b8439SSascha Wildner
2439745b8439SSascha Wildnerdevice		drm
2440745b8439SSascha Wildnerdevice		"i915drm"
2441745b8439SSascha Wildnerdevice		"mach64drm"
2442745b8439SSascha Wildnerdevice		mgadrm
2443745b8439SSascha Wildnerdevice		"r128drm"
2444745b8439SSascha Wildnerdevice		radeondrm
2445745b8439SSascha Wildnerdevice		savagedrm
2446745b8439SSascha Wildnerdevice		sisdrm
2447745b8439SSascha Wildnerdevice		tdfxdrm
2448745b8439SSascha Wildner
2449745b8439SSascha Wildneroptions 	DRM_DEBUG
2450745b8439SSascha Wildneroptions 	DRM_LINUX
2451745b8439SSascha Wildner
2452745b8439SSascha Wildner#
2453745b8439SSascha Wildner# Misc devices
2454745b8439SSascha Wildner#
2455745b8439SSascha Wildnerdevice		cmx		# Omnikey CardMan 4040 smartcard reader
2456745b8439SSascha Wildnerdevice		gpio		# Enable support for the gpio framework
2457745b8439SSascha Wildner
2458745b8439SSascha Wildner#
2459745b8439SSascha Wildner# Embedded system options:
2460745b8439SSascha Wildner#
2461745b8439SSascha Wildner# An embedded system might want to run something other than init.
2462745b8439SSascha Wildneroptions 	INIT_PATH="/sbin/init:/sbin/oinit"
2463745b8439SSascha Wildner
2464745b8439SSascha Wildner# Debug options
2465745b8439SSascha Wildneroptions 	BUS_DEBUG       # enable newbus debugging
2466745b8439SSascha Wildneroptions		RSS_DEBUG	# enable RSS (Receive Side Scaling) debugging
2467745b8439SSascha Wildner
2468745b8439SSascha Wildner# Record the program counter of the code interrupted by the statistics
2469745b8439SSascha Wildner# clock interrupt.  Use pctrack(8) to dump this information.
2470745b8439SSascha Wildneroptions		DEBUG_PCTRACK
2471745b8439SSascha Wildner
2472745b8439SSascha Wildner# More undocumented options for linting.
2473745b8439SSascha Wildner# Note that documenting these are not considered an affront.
2474745b8439SSascha Wildner
2475745b8439SSascha Wildner#options	ACPI_NO_SEMAPHORES
2476745b8439SSascha Wildneroptions 	AHC_DUMP_EEPROM
2477745b8439SSascha Wildner#options 	BKTR_ALLOC_PAGES=xxx
2478745b8439SSascha Wildneroptions 	CAM_DEBUG_DELAY
2479745b8439SSascha Wildneroptions 	CLUSTERDEBUG
2480745b8439SSascha Wildner#options 	COMPAT_LINUX
2481745b8439SSascha Wildneroptions 	COMPAT_SUNOS
2482745b8439SSascha Wildneroptions 	DEBUG
2483745b8439SSascha Wildneroptions 	DEBUG_CRIT_SECTIONS
2484745b8439SSascha Wildneroptions 	DEBUG_INTERRUPTS
2485745b8439SSascha Wildner#options 	DISABLE_PSE
2486745b8439SSascha Wildneroptions		BCE_DEBUG
2487745b8439SSascha Wildneroptions		EMX_RSS_DEBUG
2488745b8439SSascha Wildneroptions		JME_RSS_DEBUG
2489745b8439SSascha Wildner#options	ED_NO_MIIBUS
2490745b8439SSascha Wildneroptions 	ENABLE_ALART
2491745b8439SSascha Wildneroptions 	FB_DEBUG=2
2492745b8439SSascha Wildneroptions 	FB_INSTALL_CDEV
2493745b8439SSascha Wildner#options 	I4B_SMP_WORKAROUND
2494745b8439SSascha Wildneroptions 	I586_PMC_GUPROF=0x70000
2495745b8439SSascha Wildner#options	IEEE80211_DEBUG_REFCNT
2496745b8439SSascha Wildneroptions		IEEE80211_SUPPORT_SUPERG
2497745b8439SSascha Wildneroptions 	KBDIO_DEBUG=10
2498745b8439SSascha Wildneroptions 	KBD_MAXRETRY=4
2499745b8439SSascha Wildneroptions 	KBD_MAXWAIT=6
2500745b8439SSascha Wildneroptions 	KBD_RESETDELAY=201
2501745b8439SSascha Wildner#options 	KERN_TIMESTAMP
2502745b8439SSascha Wildneroptions 	KEY
2503745b8439SSascha Wildner#options 	LINPROCFS
2504745b8439SSascha Wildneroptions 	LOCKF_DEBUG
2505745b8439SSascha Wildneroptions 	LOUTB
2506745b8439SSascha Wildner#options	MAXFILES=xxx
2507745b8439SSascha Wildneroptions		MBUF_DEBUG
2508745b8439SSascha Wildneroptions 	NETATALKDEBUG
2509745b8439SSascha Wildneroptions 	PANIC_DEBUG
2510745b8439SSascha Wildneroptions 	PMAP_DEBUG
2511745b8439SSascha Wildneroptions 	PSM_DEBUG=4
2512745b8439SSascha Wildneroptions 	SCSI_NCR_DEBUG
2513745b8439SSascha Wildneroptions 	SCSI_NCR_MAX_SYNC=10000
2514745b8439SSascha Wildneroptions 	SCSI_NCR_MAX_WIDE=1
2515745b8439SSascha Wildneroptions 	SCSI_NCR_MYADDR=7
2516745b8439SSascha Wildneroptions 	SHOW_BUSYBUFS	# List buffers that prevent root unmount
2517745b8439SSascha Wildneroptions 	SI_DEBUG
2518603198e6SSascha Wildneroptions		SLAB_DEBUG
2519745b8439SSascha Wildneroptions 	SLIP_IFF_OPTS
2520745b8439SSascha Wildneroptions 	SOCKBUF_DEBUG
2521745b8439SSascha Wildneroptions		TDMA_BINTVAL_DEFAULT=5
2522745b8439SSascha Wildneroptions		TDMA_SLOTCNT_DEFAULT=2
2523745b8439SSascha Wildneroptions		TDMA_SLOTLEN_DEFAULT=10*1000
2524745b8439SSascha Wildneroptions		TDMA_TXRATE_11A_DEFAULT=2*24
2525745b8439SSascha Wildneroptions		TDMA_TXRATE_11B_DEFAULT=2*11
2526745b8439SSascha Wildneroptions		TDMA_TXRATE_11G_DEFAULT=2*24
2527745b8439SSascha Wildneroptions		TDMA_TXRATE_11NA_DEFAULT="(4|IEEE80211_RATE_MCS)"
2528745b8439SSascha Wildneroptions		TDMA_TXRATE_11NG_DEFAULT="(4|IEEE80211_RATE_MCS)"
2529745b8439SSascha Wildneroptions		TDMA_TXRATE_HALF_DEFAULT=2*12
2530745b8439SSascha Wildneroptions		TDMA_TXRATE_QUARTER_DEFAULT=2*6
2531745b8439SSascha Wildneroptions		TDMA_TXRATE_TURBO_DEFAULT=2*24
2532745b8439SSascha Wildner#options 	TIMER_FREQ="((14318182+6)/12)"
2533745b8439SSascha Wildneroptions 	VFS_BIO_DEBUG
2534603198e6SSascha Wildneroptions		VM_PAGE_DEBUG
2535745b8439SSascha Wildneroptions 	XBONEHACK
2536745b8439SSascha Wildner
2537745b8439SSascha Wildneroptions	KTR
2538243308a2SSascha Wildneroptions KTR_ALL
2539243308a2SSascha Wildneroptions	KTR_ENTRIES=1024
2540243308a2SSascha Wildneroptions	KTR_VERBOSE=1
2541745b8439SSascha Wildner#options KTR_CTXSW
2542243308a2SSascha Wildner#options KTR_DMCRYPT
2543745b8439SSascha Wildner#options KTR_ETHERNET
2544745b8439SSascha Wildner#options KTR_HAMMER
2545243308a2SSascha Wildner#options KTR_IFQ
2546745b8439SSascha Wildner#options KTR_IF_BGE
2547745b8439SSascha Wildner#options KTR_IF_EM
2548745b8439SSascha Wildner#options KTR_IF_EMX
2549745b8439SSascha Wildner#options KTR_IF_START
2550745b8439SSascha Wildner#options KTR_IPIQ
2551745b8439SSascha Wildner#options KTR_KERNENTRY
2552745b8439SSascha Wildner#options KTR_MEMORY
2553745b8439SSascha Wildner#options KTR_POLLING
2554745b8439SSascha Wildner#options KTR_SERIALIZER
2555745b8439SSascha Wildner#options KTR_SPIN_CONTENTION
2556745b8439SSascha Wildner#options KTR_TESTLOG
2557745b8439SSascha Wildner#options KTR_TOKENS
2558745b8439SSascha Wildner#options KTR_USB_MEMORY
2559745b8439SSascha Wildner
2560745b8439SSascha Wildner# ALTQ
2561745b8439SSascha Wildneroptions 	ALTQ		#alternate queueing
2562745b8439SSascha Wildneroptions 	ALTQ_CBQ	#class based queueing
2563745b8439SSascha Wildneroptions 	ALTQ_RED	#random early detection
2564745b8439SSascha Wildneroptions 	ALTQ_RIO	#triple red for diffserv (needs RED)
2565745b8439SSascha Wildneroptions 	ALTQ_HFSC	#hierarchical fair service curve
2566745b8439SSascha Wildneroptions 	ALTQ_PRIQ	#priority queue
2567745b8439SSascha Wildneroptions 	ALTQ_FAIRQ	#fair queue
2568745b8439SSascha Wildner#options 	ALTQ_NOPCC	#don't use processor cycle counter
2569745b8439SSascha Wildneroptions 	ALTQ_DEBUG	#for debugging
2570745b8439SSascha Wildner# you might want to set kernel timer to 1kHz if you use CBQ,
2571745b8439SSascha Wildner# especially with 100baseT
2572745b8439SSascha Wildner#options 	HZ=1000
2573745b8439SSascha Wildner
2574745b8439SSascha Wildner# SCTP
2575745b8439SSascha Wildneroptions		SCTP
2576745b8439SSascha Wildneroptions		SCTP_DEBUG
2577745b8439SSascha Wildneroptions		SCTP_USE_ADLER32
2578745b8439SSascha Wildneroptions		SCTP_HIGH_SPEED
2579745b8439SSascha Wildneroptions		SCTP_STAT_LOGGING
2580745b8439SSascha Wildneroptions		SCTP_CWND_LOGGING
2581745b8439SSascha Wildneroptions		SCTP_BLK_LOGGING
2582745b8439SSascha Wildneroptions		SCTP_STR_LOGGING
2583745b8439SSascha Wildneroptions		SCTP_FR_LOGGING
2584745b8439SSascha Wildneroptions		SCTP_MAP_LOGGING
2585745b8439SSascha Wildner
2586745b8439SSascha Wildner# DSCHED stuff
2587745b8439SSascha Wildneroptions		DSCHED_FQ
2588745b8439SSascha Wildner
2589745b8439SSascha Wildner# WATCHDOG
2590745b8439SSascha Wildneroptions		WATCHDOG_ENABLE		# Enable watchdog support framework
2591745b8439SSascha Wildneroptions		WDOG_DISABLE_ON_PANIC	# Automatically disable watchdogs on panic
2592745b8439SSascha Wildner
2593745b8439SSascha Wildner# LED
2594745b8439SSascha Wildneroptions		ERROR_LED_ON_PANIC	# If an error led is present, light it up on panic
2595