xref: /freebsd/sys/conf/NOTES (revision 1b6c2589164a3a7b2f62d4c28c2ffa1be860959e)
1#
2# NOTES -- Lines that can be cut/pasted into kernel and hints configs.
3#
4# Lines that begin with 'device', 'options', 'machine', 'ident', 'maxusers',
5# 'makeoptions', 'hints' etc go into the kernel configuration that you
6# run config(8) with.
7#
8# Lines that begin with 'hints.' are NOT for config(8), they go into your
9# hints file.  See /boot/device.hints and/or the 'hints' config(8) directive.
10#
11# Please use ``make LINT'' to create an old-style LINT file if you want to
12# do kernel test-builds.
13#
14# $FreeBSD$
15#
16
17#
18# This directive is mandatory; it defines the architecture to be
19# configured for; in this case, the 386 family based IBM-PC and
20# compatibles.
21#
22machine		i386
23
24#
25# This is the ``identification'' of the kernel.  Usually this should
26# be the same as the name of your kernel.
27#
28ident		LINT
29
30#
31# The `maxusers' parameter controls the static sizing of a number of
32# internal system tables by a formula defined in subr_param.c.
33#
34maxusers	10
35
36#
37# We want LINT to cover profiling as well
38profile 	2
39
40#
41# The `makeoptions' parameter allows variables to be passed to the
42# generated Makefile in the build area.
43#
44# CONF_CFLAGS gives some extra compiler flags that are added to ${CFLAGS}
45# after most other flags.  Here we use it to inhibit use of non-optimal
46# gcc builtin functions (e.g., memcmp).
47#
48# DEBUG happens to be magic.
49# The following is equivalent to 'config -g KERNELNAME' and creates
50# 'kernel.debug' compiled with -g debugging as well as a normal
51# 'kernel'.  Use 'make install.debug' to install the debug kernel
52# but that isn't normally necessary as the debug symbols are not loaded
53# by the kernel and are not useful there anyway.
54#
55# KERNEL can be overridden so that you can change the default name of your
56# kernel.
57#
58# MODULES_OVERRIDE can be used to limit modules built to a specific list.
59#
60makeoptions	CONF_CFLAGS=-fno-builtin  #Don't allow use of memcmp, etc.
61#makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
62#makeoptions	KERNEL=foo		#Build kernel "foo" and install "/foo"
63# Only build Linux API modules and plus those parts of the sound system I need.
64#makeoptions	MODULES_OVERRIDE="linux sound/snd sound/pcm sound/driver/maestro3"
65
66#
67# Certain applications can grow to be larger than the 512M limit
68# that FreeBSD initially imposes.  Below are some options to
69# allow that limit to grow to 1GB, and can be increased further
70# with changing the parameters.  MAXDSIZ is the maximum that the
71# limit can be set to, and the DFLDSIZ is the default value for
72# the limit.  MAXSSIZ is the maximum that the stack limit can be
73# set to.  You might want to set the default lower than the max,
74# and explicitly set the maximum with a shell command for processes
75# that regularly exceed the limit like INND.
76#
77options 	MAXDSIZ="(1024UL*1024*1024)"
78options 	MAXSSIZ="(128UL*1024*1024)"
79options 	DFLDSIZ="(1024UL*1024*1024)"
80
81#
82# BLKDEV_IOSIZE sets the default block size used in user block
83# device I/O.  Note that this value will be overriden by the label
84# when specifying a block device from a label with a non-0
85# partition blocksize.  The default is PAGE_SIZE.
86#
87options 	BLKDEV_IOSIZE=8192
88
89# Options for the VM subsystem
90options 	PQ_CACHESIZE=512	# color for 512k/16k cache
91options 	KSTACK_PAGES=3		# number of 4k stack pages per process
92# Deprecated options supported for backwards compatibility
93#options 	PQ_NOOPT		# No coloring
94#options 	PQ_LARGECACHE		# color for 512k/16k cache
95#options 	PQ_HUGECACHE		# color for 1024k/16k cache
96#options 	PQ_MEDIUMCACHE		# color for 256k/16k cache
97#options 	PQ_NORMALCACHE		# color for 64k/16k cache
98
99# This allows you to actually store this configuration file into
100# the kernel binary itself, where it may be later read by saying:
101#    strings -n 3 /boot/kernel/kernel | sed -n 's/^___//p' > MYKERNEL
102#
103options 	INCLUDE_CONFIG_FILE     # Include this file in kernel
104
105#
106# The root device and filesystem type can be compiled in;
107# this provides a fallback option if the root device cannot
108# be correctly guesst by the bootstrap code, or an override if
109# the RB_DFLTROOT flag (-r) is specified when booting the kernel.
110#
111options 	ROOTDEVNAME=\"ufs:da0s2e\"
112
113
114#####################################################################
115# SMP OPTIONS:
116#
117# SMP enables building of a Symmetric MultiProcessor Kernel.
118# APIC_IO enables the use of the IO APIC for Symmetric I/O.
119#
120# Notes:
121#
122#  An SMP kernel will ONLY run on an Intel MP spec. qualified motherboard.
123#
124#  Be sure to disable 'cpu I386_CPU' && 'cpu I486_CPU' for SMP kernels.
125#
126#  Check the 'Rogue SMP hardware' section to see if additional options
127#   are required by your hardware.
128#
129
130# Mandatory:
131options 	SMP			# Symmetric MultiProcessor Kernel
132options 	APIC_IO			# Symmetric (APIC) I/O
133
134#
135# Rogue SMP hardware:
136#
137
138# Bridged PCI cards:
139#
140# The MP tables of most of the current generation MP motherboards
141#  do NOT properly support bridged PCI cards.  To use one of these
142#  cards you should refer to ???
143
144# SMP Debugging Options:
145#
146# MUTEX_DEBUG enables various extra assertions in the mutex code.
147# WITNESS enables the mutex witness code which detects deadlocks and cycles
148#         during locking operations.
149# WITNESS_DDB causes the witness code to drop into the kernel debugger if
150#	  a lock heirarchy violation occurs or if locks are held when going to
151#	  sleep.
152# WITNESS_SKIPSPIN disables the witness checks on spin mutexes.
153options 	MUTEX_DEBUG
154options 	WITNESS
155options 	WITNESS_DDB
156options 	WITNESS_SKIPSPIN
157
158
159#####################################################################
160# CPU OPTIONS
161
162#
163# You must specify at least one CPU (the one you intend to run on);
164# deleting the specification for CPUs you don't need to use may make
165# parts of the system run faster.
166# I386_CPU is mutually exclusive with the other CPU types.
167#
168#cpu		I386_CPU
169cpu		I486_CPU
170cpu		I586_CPU		# aka Pentium(tm)
171cpu		I686_CPU		# aka Pentium Pro(tm)
172
173#
174# Options for CPU features.
175#
176# CPU_BLUELIGHTNING_FPU_OP_CACHE enables FPU operand cache on IBM
177# BlueLightning CPU.  It works only with Cyrix FPU, and this option
178# should not be used with Intel FPU.
179#
180# CPU_BLUELIGHTNING_3X enables triple-clock mode on IBM Blue Lightning
181# CPU if CPU supports it. The default is double-clock mode on
182# BlueLightning CPU box.
183#
184# CPU_BTB_EN enables branch target buffer on Cyrix 5x86 (NOTE 1).
185#
186# CPU_DIRECT_MAPPED_CACHE sets L1 cache of Cyrix 486DLC CPU in direct
187# mapped mode.  Default is 2-way set associative mode.
188#
189# CPU_CYRIX_NO_LOCK enables weak locking for the entire address space
190# of Cyrix 6x86 and 6x86MX CPUs by setting the NO_LOCK bit of CCR1.
191# Otherwise, the NO_LOCK bit of CCR1 is cleared.  (NOTE 3)
192#
193# CPU_DISABLE_5X86_LSSER disables load store serialize (i.e. enables
194# reorder).  This option should not be used if you use memory mapped
195# I/O device(s).
196#
197# CPU_ENABLE_SSE enables SSE/MMX2 instructions support.
198#
199# CPU_FASTER_5X86_FPU enables faster FPU exception handler.
200#
201# CPU_I486_ON_386 enables CPU cache on i486 based CPU upgrade products
202# for i386 machines.
203#
204# CPU_IORT defines I/O clock delay time (NOTE 1).  Default values of
205# I/O clock delay time on Cyrix 5x86 and 6x86 are 0 and 7,respectively
206# (no clock delay).
207#
208# CPU_L2_LATENCY specifed the L2 cache latency value.  This option is used
209# only when CPU_PPRO2CELERON is defined and Mendocino Celeron is detected.
210# The default value is 5.
211#
212# CPU_LOOP_EN prevents flushing the prefetch buffer if the destination
213# of a jump is already present in the prefetch buffer on Cyrix 5x86(NOTE
214# 1).
215#
216# CPU_PPRO2CELERON enables L2 cache of Mendocino Celeron CPUs.  This option
217# is useful when you use Socket 8 to Socket 370 converter, because most Pentium
218# Pro BIOSs do not enable L2 cache of Mendocino Celeron CPUs.
219#
220# CPU_RSTK_EN enables return stack on Cyrix 5x86 (NOTE 1).
221#
222# CPU_SUSP_HLT enables suspend on HALT.  If this option is set, CPU
223# enters suspend mode following execution of HALT instruction.
224#
225# CPU_UPGRADE_HW_CACHE eliminates unneeded cache flush instruction(s).
226#
227# CPU_WT_ALLOC enables write allocation on Cyrix 6x86/6x86MX and AMD
228# K5/K6/K6-2 cpus.
229#
230# CYRIX_CACHE_WORKS enables CPU cache on Cyrix 486 CPUs with cache
231# flush at hold state.
232#
233# CYRIX_CACHE_REALLY_WORKS enables (1) CPU cache on Cyrix 486 CPUs
234# without cache flush at hold state, and (2) write-back CPU cache on
235# Cyrix 6x86 whose revision < 2.7 (NOTE 2).
236#
237# NO_F00F_HACK disables the hack that prevents Pentiums (and ONLY
238# Pentiums) from locking up when a LOCK CMPXCHG8B instruction is
239# executed.  This option is only needed if I586_CPU is also defined,
240# and should be included for any non-Pentium CPU that defines it.
241#
242# NO_MEMORY_HOLE is an optimisation for systems with AMD K6 processors
243# which indicates that the 15-16MB range is *definitely* not being
244# occupied by an ISA memory hole.
245#
246# NOTE 1: The options, CPU_BTB_EN, CPU_LOOP_EN, CPU_IORT,
247# CPU_LOOP_EN and CPU_RSTK_EN should not be used because of CPU bugs.
248# These options may crash your system.
249#
250# NOTE 2: If CYRIX_CACHE_REALLY_WORKS is not set, CPU cache is enabled
251# in write-through mode when revision < 2.7.  If revision of Cyrix
252# 6x86 >= 2.7, CPU cache is always enabled in write-back mode.
253#
254# NOTE 3: This option may cause failures for software that requires
255# locked cycles in order to operate correctly.
256#
257options 	CPU_BLUELIGHTNING_FPU_OP_CACHE
258options 	CPU_BLUELIGHTNING_3X
259options 	CPU_BTB_EN
260options 	CPU_DIRECT_MAPPED_CACHE
261options 	CPU_DISABLE_5X86_LSSER
262options 	CPU_ENABLE_SSE
263options 	CPU_FASTER_5X86_FPU
264options 	CPU_I486_ON_386
265options 	CPU_IORT
266options 	CPU_L2_LATENCY=5
267options 	CPU_LOOP_EN
268options 	CPU_PPRO2CELERON
269options 	CPU_RSTK_EN
270options 	CPU_SUSP_HLT
271options 	CPU_UPGRADE_HW_CACHE
272options 	CPU_WT_ALLOC
273options 	CYRIX_CACHE_WORKS
274options 	CYRIX_CACHE_REALLY_WORKS
275#options 	NO_F00F_HACK
276
277#
278# A math emulator is mandatory if you wish to run on hardware which
279# does not have a floating-point processor.  Pick either the original,
280# bogus (but freely-distributable) math emulator, or a much more
281# fully-featured but GPL-licensed emulator taken from Linux.
282#
283options 	MATH_EMULATE		#Support for x87 emulation
284# Don't enable both of these in a real config.
285options 	GPL_MATH_EMULATE	#Support for x87 emulation via
286					#new math emulator
287
288
289#####################################################################
290# COMPATIBILITY OPTIONS
291
292#
293# Implement system calls compatible with 4.3BSD and older versions of
294# FreeBSD.  You probably do NOT want to remove this as much current code
295# still relies on the 4.3 emulation.
296#
297options 	COMPAT_43
298
299#
300# These three options provide support for System V Interface
301# Definition-style interprocess communication, in the form of shared
302# memory, semaphores, and message queues, respectively.
303#
304options 	SYSVSHM
305options 	SYSVSEM
306options 	SYSVMSG
307
308
309#####################################################################
310# DEBUGGING OPTIONS
311
312#
313# Enable the kernel debugger.
314#
315options 	DDB
316
317#
318# Don't drop into DDB for a panic. Intended for unattended operation
319# where you may want to drop to DDB from the console, but still want
320# the machine to recover from a panic
321#
322options 	DDB_UNATTENDED
323
324#
325# If using GDB remote mode to debug the kernel, there's a non-standard
326# extension to the remote protocol that can be used to use the serial
327# port as both the debugging port and the system console.  It's non-
328# standard and you're on your own if you enable it.  See also the
329# "remotechat" variables in the FreeBSD specific version of gdb.
330#
331options 	GDB_REMOTE_CHAT
332
333#
334# KTRACE enables the system-call tracing facility ktrace(2).
335#
336options 	KTRACE			#kernel tracing
337
338#
339# KTR is a kernel tracing mechanism imported from BSD/OS.  Currently it
340# has no userland interface aside from a few sysctl's.  It is enabled with
341# the KTR option.  The KTR_EXTEND option causes trace events to be generated
342# as a string from snprintf rather than as a string and up to 5 argument
343# pointers.  KTR_ENTRIES defines the number of entries in the circular trace
344# buffer.  KTR_COMPILE defines the mask of events to compile into the kernel
345# as defined by the KTR_* constants in <sys/ktr.h>.  KTR_MASK defines the
346# initial value of the ktr_mask variable which determines at runtime what
347# events to trace.  KTR_CPUMASK determines which CPU's log events, with
348# bit X corresponding to cpu X.  KTR_VERBOSE enables dumping of KTR events
349# to the console by default.  This functionality can be toggled via the
350# debug.ktr_verbose sysctl and defaults to off if KTR_VERBOSE is not defined.
351#
352options 	KTR
353options 	KTR_EXTEND
354options 	KTR_ENTRIES=1024
355options 	KTR_COMPILE="(KTR_INTR|KTR_PROC)"
356options 	KTR_MASK=KTR_INTR
357options 	KTR_CPUMASK=0x3
358options 	KTR_VERBOSE
359
360#
361# The INVARIANTS option is used in a number of source files to enable
362# extra sanity checking of internal structures.  This support is not
363# enabled by default because of the extra time it would take to check
364# for these conditions, which can only occur as a result of
365# programming errors.
366#
367options 	INVARIANTS
368
369#
370# The INVARIANT_SUPPORT option makes us compile in support for
371# verifying some of the internal structures.  It is a prerequisite for
372# 'INVARIANTS', as enabling 'INVARIANTS' will make these functions be
373# called.  The intent is that you can set 'INVARIANTS' for single
374# source files (by changing the source file or specifying it on the
375# command line) if you have 'INVARIANT_SUPPORT' enabled.  Also, if you
376# wish to build a kernel module with 'INVARIANTS', then adding
377# 'INVARIANT_SUPPORT' to your kernel will provide all the necessary
378# infrastructure without the added overhead.
379#
380options 	INVARIANT_SUPPORT
381
382#
383# The DIAGNOSTIC option is used to enable extra debugging information
384# from some parts of the kernel.  As this makes everything more noisy,
385# it is disabled by default.
386#
387options 	DIAGNOSTIC
388
389#
390# REGRESSION causes optional kernel interfaces necessary only for regression
391# testing to be enabled.  These interfaces may consitute security risks
392# when enabled, as they permit processes to easily modify aspects of the
393# run-time environment to reproduce unlikely or unusual (possibly normally
394# impossible) scenarios.
395#
396options 	REGRESSION
397
398#
399# RESTARTABLE_PANICS allows one to continue from a panic as if it were
400# a call to the debugger via the Debugger() function instead.  It is only
401# useful if a kernel debugger is present.  To restart from a panic, reset
402# the panicstr variable to NULL and continue execution.  This option is
403# for development use only and should NOT be used in production systems
404# to "workaround" a panic.
405#
406#options 	RESTARTABLE_PANICS
407
408#
409# PERFMON causes the driver for Pentium/Pentium Pro performance counters
410# to be compiled.  See perfmon(4) for more information.
411#
412options 	PERFMON
413
414
415#
416# This option let some drivers co-exist that can't co-exist in a running
417# system.  This is used to be able to compile all kernel code in one go for
418# quality assurance purposes (like this file, which the option takes it name
419# from.)
420#
421options 	COMPILING_LINT
422
423
424# XXX - this doesn't belong here.
425# Allow ordinary users to take the console - this is useful for X.
426options 	UCONSOLE
427
428# XXX - this doesn't belong here either
429#options 	USERCONFIG		#boot -c editor
430#options 	INTRO_USERCONFIG	#imply -c and show intro screen
431#options 	VISUAL_USERCONFIG	#visual boot -c editor
432
433#####################################################################
434# NETWORKING OPTIONS
435
436#
437# Protocol families:
438#  Only the INET (Internet) family is officially supported in FreeBSD.
439#  Source code for the NS (Xerox Network Service) is provided for amusement
440#  value.
441#
442options 	INET			#Internet communications protocols
443options 	INET6			#IPv6 communications protocols
444options 	IPSEC			#IP security
445options 	IPSEC_ESP		#IP security (crypto; define w/ IPSEC)
446options 	IPSEC_DEBUG		#debug for IP security
447
448options 	IPX			#IPX/SPX communications protocols
449options 	IPXIP			#IPX in IP encapsulation (not available)
450options 	IPTUNNEL		#IP in IPX encapsulation (not available)
451
452#options 	NCP			#NetWare Core protocol
453
454options 	NETATALK		#Appletalk communications protocols
455options 	NETATALKDEBUG		#Appletalk debugging
456
457# These are currently broken but are shipped due to interest.
458#options 	NS			#Xerox NS protocols
459#options 	NSIP			#XNS over IP
460
461# mchain library. It can be either loaded as KLD or compiled into kernel
462options 	LIBMCHAIN
463
464# netgraph(4). Enable the base netgraph code with the NETGRAPH option.
465# Individual node types can be enabled with the corresponding option
466# listed below; however, this is not strictly necessary as netgraph
467# will automatically load the corresponding KLD module if the node type
468# is not already compiled into the kernel. Each type below has a
469# corresponding man page, e.g., ng_async(8).
470options 	NETGRAPH		#netgraph(4) system
471options 	NETGRAPH_ASYNC
472options 	NETGRAPH_BPF
473options 	NETGRAPH_CISCO
474options 	NETGRAPH_ECHO
475options 	NETGRAPH_ETHER
476options 	NETGRAPH_FRAME_RELAY
477options 	NETGRAPH_GIF
478options 	NETGRAPH_GIF_DEMUX
479options 	NETGRAPH_HOLE
480options 	NETGRAPH_IFACE
481options 	NETGRAPH_IP_INPUT
482options 	NETGRAPH_KSOCKET
483options 	NETGRAPH_LMI
484# MPPC compression requires proprietary files (not included)
485#options 	NETGRAPH_MPPC_COMPRESSION
486options 	NETGRAPH_MPPC_ENCRYPTION
487options 	NETGRAPH_ONE2MANY
488options 	NETGRAPH_PPP
489options 	NETGRAPH_PPPOE
490options 	NETGRAPH_PPTPGRE
491options 	NETGRAPH_RFC1490
492options 	NETGRAPH_SOCKET
493options 	NETGRAPH_SPLIT
494options 	NETGRAPH_TEE
495options 	NETGRAPH_TTY
496options 	NETGRAPH_UI
497options 	NETGRAPH_VJC
498
499device		mn	# Munich32x/Falc54 Nx64kbit/sec cards.
500device		lmc	# tulip based LanMedia WAN cards
501device		musycc	# LMC/SBE LMC1504 quad T1/E1
502
503#
504# Network interfaces:
505#  The `loop' device is MANDATORY when networking is enabled.
506#  The `ether' device provides generic code to handle
507#  Ethernets; it is MANDATORY when a Ethernet device driver is
508#  configured or token-ring is enabled.
509#  The `fddi' device provides generic code to support FDDI.
510#  The `sppp' device serves a similar role for certain types
511#  of synchronous PPP links (like `cx', `ar').
512#  The `sl' device implements the Serial Line IP (SLIP) service.
513#  The `ppp' device implements the Point-to-Point Protocol.
514#  The `bpf' device enables the Berkeley Packet Filter.  Be
515#  aware of the legal and administrative consequences of enabling this
516#  option.  The number of devices determines the maximum number of
517#  simultaneous BPF clients programs runnable.
518#  The `disc' device implements a minimal network interface,
519#  which throws away all packets sent and never receives any.  It is
520#  included for testing purposes.  This shows up as the `ds' interface.
521#  The `tap' device is a pty-like virtual Ethernet interface
522#  The `tun' device implements (user-)ppp and nos-tun
523#  The `gif' device implements IPv6 over IP4 tunneling,
524#  IPv4 over IPv6 tunneling, IPv4 over IPv4 tunneling and
525#  IPv6 over IPv6 tunneling.
526#  The XBONEHACK option allows the same pair of addresses to be configured on
527#  multiple gif interfaces.
528#  The `faith' device captures packets sent to it and diverts them
529#  to the IPv4/IPv6 translation daemon.
530#  The `stf' device implements 6to4 encapsulation.
531#  The `ef' device provides support for multiple ethernet frame types
532#  specified via ETHER_* options. See ef(4) for details.
533#
534# The PPP_BSDCOMP option enables support for compress(1) style entire
535# packet compression, the PPP_DEFLATE is for zlib/gzip style compression.
536# PPP_FILTER enables code for filtering the ppp data stream and selecting
537# events for resetting the demand dial activity timer - requires bpf.
538# See pppd(8) for more details.
539#
540device		ether			#Generic Ethernet
541device		vlan			#VLAN support
542device		token			#Generic TokenRing
543device		fddi			#Generic FDDI
544device		sppp			#Generic Synchronous PPP
545device		loop	1		#Network loopback device
546device		bpf			#Berkeley packet filter
547device		disc			#Discard device (ds0, ds1, etc)
548device		tap			#Virtual Ethernet driver
549device		tun			#Tunnel driver (ppp(8), nos-tun(8))
550device		sl			#Serial Line IP
551device		ppp	2		#Point-to-point protocol
552options 	PPP_BSDCOMP		#PPP BSD-compress support
553options 	PPP_DEFLATE		#PPP zlib/deflate/gzip support
554options 	PPP_FILTER		#enable bpf filtering (needs bpf)
555
556device		ef			# Multiple ethernet frames support
557options 	ETHER_II		# enable Ethernet_II frame
558options 	ETHER_8023		# enable Ethernet_802.3 (Novell) frame
559options 	ETHER_8022		# enable Ethernet_802.2 frame
560options 	ETHER_SNAP		# enable Ethernet_802.2/SNAP frame
561
562# for IPv6
563device		gif			#IPv6 and IPv4 tunneling
564options 	XBONEHACK
565device		faith			#for IPv6 and IPv4 translation
566device		stf			#6to4 IPv6 over IPv4 encapsulation
567
568#
569# Internet family options:
570#
571# MROUTING enables the kernel multicast packet forwarder, which works
572# with mrouted(8).
573#
574# IPFIREWALL enables support for IP firewall construction, in
575# conjunction with the `ipfw' program.  IPFIREWALL_VERBOSE sends
576# logged packets to the system logger.  IPFIREWALL_VERBOSE_LIMIT
577# limits the number of times a matching entry can be logged.
578#
579# WARNING:  IPFIREWALL defaults to a policy of "deny ip from any to any"
580# and if you do not add other rules during startup to allow access,
581# YOU WILL LOCK YOURSELF OUT.  It is suggested that you set firewall_type=open
582# in /etc/rc.conf when first enabling this feature, then refining the
583# firewall rules in /etc/rc.firewall after you've tested that the new kernel
584# feature works properly.
585#
586# IPFIREWALL_DEFAULT_TO_ACCEPT causes the default rule (at boot) to
587# allow everything.  Use with care, if a cracker can crash your
588# firewall machine, they can get to your protected machines.  However,
589# if you are using it as an as-needed filter for specific problems as
590# they arise, then this may be for you.  Changing the default to 'allow'
591# means that you won't get stuck if the kernel and /sbin/ipfw binary get
592# out of sync.
593#
594# IPDIVERT enables the divert IP sockets, used by ``ipfw divert''
595#
596# IPSTEALTH enables code to support stealth forwarding (i.e., forwarding
597# packets without touching the ttl).  This can be useful to hide firewalls
598# from traceroute and similar tools.
599#
600# TCPDEBUG enables code which keeps traces of the TCP state machine
601# for sockets with the SO_DEBUG option set, which can then be examined
602# using the trpt(8) utility.
603#
604options 	MROUTING		# Multicast routing
605options 	IPFIREWALL		#firewall
606options 	IPFIREWALL_VERBOSE	#enable logging to syslogd(8)
607options 	IPFIREWALL_FORWARD	#enable transparent proxy support
608options 	IPFIREWALL_VERBOSE_LIMIT=100	#limit verbosity
609options 	IPFIREWALL_DEFAULT_TO_ACCEPT	#allow everything by default
610options 	IPV6FIREWALL		#firewall for IPv6
611options 	IPV6FIREWALL_VERBOSE
612options 	IPV6FIREWALL_VERBOSE_LIMIT=100
613options 	IPV6FIREWALL_DEFAULT_TO_ACCEPT
614options 	IPDIVERT		#divert sockets
615options 	IPFILTER		#ipfilter support
616options 	IPFILTER_LOG		#ipfilter logging
617options 	IPFILTER_DEFAULT_BLOCK	#block all packets by default
618options 	IPSTEALTH		#support for stealth forwarding
619options 	TCPDEBUG
620
621# RANDOM_IP_ID causes the ID field in IP packets to be randomized
622# instead of incremented by 1 with each packet generated.  This
623# option closes a minor information leak which allows remote
624# observers to determine the rate of packet generation on the
625# machine by watching the counter.
626options 	RANDOM_IP_ID
627
628# Statically Link in accept filters
629options 	ACCEPT_FILTER_DATA
630options 	ACCEPT_FILTER_HTTP
631
632# TCP_DROP_SYNFIN adds support for ignoring TCP packets with SYN+FIN. This
633# prevents nmap et al. from identifying the TCP/IP stack, but breaks support
634# for RFC1644 extensions and is not recommended for web servers.
635#
636options 	TCP_DROP_SYNFIN		#drop TCP packets with SYN+FIN
637
638# DUMMYNET enables the "dummynet" bandwidth limiter. You need
639# IPFIREWALL as well. See the dummynet(4) manpage for more info.
640# BRIDGE enables bridging between ethernet cards -- see bridge(4).
641# You can use IPFIREWALL and dummynet together with bridging.
642options 	DUMMYNET
643options 	BRIDGE
644
645#
646# ATM (HARP version) options
647#
648# ATM_CORE includes the base ATM functionality code.  This must be included
649#	for ATM support.
650#
651# ATM_IP includes support for running IP over ATM.
652#
653# At least one (and usually only one) of the following signalling managers
654# must be included (note that all signalling managers include PVC support):
655# ATM_SIGPVC includes support for the PVC-only signalling manager `sigpvc'.
656# ATM_SPANS includes support for the `spans' signalling manager, which runs
657#	the FORE Systems's proprietary SPANS signalling protocol.
658# ATM_UNI includes support for the `uni30' and `uni31' signalling managers,
659#	which run the ATM Forum UNI 3.x signalling protocols.
660#
661# The `hea' driver provides support for the Efficient Networks, Inc.
662# ENI-155p ATM PCI Adapter.
663#
664# The `hfa' driver provides support for the FORE Systems, Inc.
665# PCA-200E ATM PCI Adapter.
666#
667options 	ATM_CORE		#core ATM protocol family
668options 	ATM_IP			#IP over ATM support
669options 	ATM_SIGPVC		#SIGPVC signalling manager
670options 	ATM_SPANS		#SPANS signalling manager
671options 	ATM_UNI			#UNI signalling manager
672device		hea			#Efficient ENI-155p ATM PCI
673device		hfa			#FORE PCA-200E ATM PCI
674
675
676#####################################################################
677# FILESYSTEM OPTIONS
678
679#
680# Only the root, /usr, and /tmp filesystems need be statically
681# compiled; everything else will be automatically loaded at mount
682# time.  (Exception: the UFS family--- FFS --- cannot
683# currently be demand-loaded.)  Some people still prefer to statically
684# compile other filesystems as well.
685#
686# NB: The NULL, PORTAL, UMAP and UNION filesystems are known to be
687# buggy, and WILL panic your system if you attempt to do anything with
688# them.  They are included here as an incentive for some enterprising
689# soul to sit down and fix them.
690#
691
692# One of these is mandatory:
693options 	FFS			#Fast filesystem
694options 	NFSCLIENT		#Network File System
695options 	NFSSERVER		#Network File System
696
697# The rest are optional:
698#options 	NFS_NOSERVER		#Disable the NFS-server code.
699options 	CD9660			#ISO 9660 filesystem
700options 	FDESCFS			#File descriptor filesystem
701options 	HPFS			#OS/2 File system
702options 	MSDOSFS			#MS DOS File System (FAT, FAT32)
703options 	NTFS			#NT File System
704options 	NULLFS			#NULL filesystem
705#options 	NWFS			#NetWare filesystem
706options 	PORTALFS		#Portal filesystem
707options 	PROCFS			#Process filesystem
708options 	PSEUDOFS		#Pseudo-filesystem framework
709options 	UMAPFS			#UID map filesystem
710options 	UNIONFS			#Union filesystem
711# options 	NODEVFS			#disable devices filesystem
712# The xFS_ROOT options REQUIRE the associated ``options xFS''
713options 	NFS_ROOT		#NFS usable as root device
714# This code enables IFS, an FFS which exports inodes as the namespace.
715# You can find details in src/sys/ufs/ifs/README .
716options 	IFS
717
718# Soft updates is a technique for improving file system speed and
719# making abrupt shutdown less risky.
720#
721options 	SOFTUPDATES
722
723# Extended attributes allow additional data to be associated with files,
724# and is used for ACLs, Capabilities, and MAC labels.
725# See src/sys/ufs/ufs/README.extattr for more information.
726options 	UFS_EXTATTR
727options 	UFS_EXTATTR_AUTOSTART
728
729# Access Control List support for UFS filesystems.  The current ACL
730# implementation requires extended attribute support, UFS_EXTATTR,
731# for the underlying filesystem.
732# See src/sys/ufs/ufs/README.acls for more information.
733options 	UFS_ACL
734
735# Directory hashing improves the speed of operations on very large
736# directories at the expense of some memory.
737options 	UFS_DIRHASH
738
739# Make space in the kernel for a root filesystem on a md device.
740# Define to the number of kilobytes to reserve for the filesystem.
741options 	MD_ROOT_SIZE=10
742
743# Make the md device a potential root device, either with preloaded
744# images of type mfs_root or md_root.
745options 	MD_ROOT
746
747# Allow this many swap-devices.
748#
749# In order to manage swap, the system must reserve bitmap space that
750# scales with the largest mounted swap device multiplied by NSWAPDEV,
751# irregardless of whether other swap devices exist or not.  So it
752# is not a good idea to make this value too large.
753options 	NSWAPDEV=5
754
755# Disk quotas are supported when this option is enabled.
756options 	QUOTA			#enable disk quotas
757
758# If you are running a machine just as a fileserver for PC and MAC
759# users, using SAMBA or Netatalk, you may consider setting this option
760# and keeping all those users' directories on a filesystem that is
761# mounted with the suiddir option. This gives new files the same
762# ownership as the directory (similar to group). It's a security hole
763# if you let these users run programs, so confine it to file-servers
764# (but it'll save you lots of headaches in those cases). Root owned
765# directories are exempt and X bits are cleared. The suid bit must be
766# set on the directory as well; see chmod(1) PC owners can't see/set
767# ownerships so they keep getting their toes trodden on. This saves
768# you all the support calls as the filesystem it's used on will act as
769# they expect: "It's my dir so it must be my file".
770#
771options 	SUIDDIR
772
773# NFS options:
774options 	NFS_MINATTRTIMO=3	# VREG attrib cache timeout in sec
775options 	NFS_MAXATTRTIMO=60
776options 	NFS_MINDIRATTRTIMO=30	# VDIR attrib cache timeout in sec
777options 	NFS_MAXDIRATTRTIMO=60
778options 	NFS_GATHERDELAY=10	# Default write gather delay (msec)
779options 	NFS_UIDHASHSIZ=29	# Tune the size of nfssvc_sock with this
780options 	NFS_WDELAYHASHSIZ=16	# and with this
781options 	NFS_MUIDHASHSIZ=63	# Tune the size of nfsmount with this
782options 	NFS_DEBUG		# Enable NFS Debugging
783
784# Coda stuff:
785options 	CODA			#CODA filesystem.
786device		vcoda	4		#coda minicache <-> venus comm.
787
788#
789# Add support for the EXT2FS filesystem of Linux fame.  Be a bit
790# careful with this - the ext2fs code has a tendency to lag behind
791# changes and not be exercised very much, so mounting read/write could
792# be dangerous (and even mounting read only could result in panics.)
793#
794options 	EXT2FS
795
796# Use real implementations of the aio_* system calls.  There are numerous
797# stability issues in the current aio code that make it unsuitable for
798# inclusion on shell boxes.
799options 	VFS_AIO
800
801# Enable the code UFS IO optimization through the VM system.  This allows
802# use VM operations instead of copying operations when possible.
803#
804# Even with this enabled, actual use of the code is still controlled by the
805# sysctl vfs.ioopt.  0 gives no optimization, 1 gives normal (use VM
806# operations if a request happens to fit), 2 gives agressive optimization
807# (the operations are split to do as much as possible through the VM system.)
808#
809# Enabling this will probably not give an overall speedup except for
810# special workloads.
811options 	ENABLE_VFS_IOOPT
812
813# Cryptographically secure random number generator; /dev/[u]random
814device		random
815
816
817#####################################################################
818# POSIX P1003.1B
819
820# Real time extensions added in the 1993 Posix
821# P1003_1B: Infrastructure
822# _KPOSIX_PRIORITY_SCHEDULING: Build in _POSIX_PRIORITY_SCHEDULING
823# _KPOSIX_VERSION:             Version kernel is built for
824
825options 	P1003_1B
826options 	_KPOSIX_PRIORITY_SCHEDULING
827options 	_KPOSIX_VERSION=199309L
828
829
830#####################################################################
831# CLOCK OPTIONS
832
833# The granularity of operation is controlled by the kernel option HZ whose
834# default value (100) means a granularity of 10ms.  For an accurate simulation
835# of high data rates it might be necessary to reduce the timer granularity to
836# 1ms or less.  Consider, however, that some interfaces using programmed I/O
837# may require a considerable time to output packets.  So, reducing the
838# granularity too much might actually cause ticks to be missed thus reducing
839# the accuracy of operation.
840
841options 	HZ=100
842
843# Other clock options
844
845options 	CLK_CALIBRATION_LOOP
846options 	CLK_USE_I8254_CALIBRATION
847options 	CLK_USE_TSC_CALIBRATION
848
849
850#####################################################################
851# SCSI DEVICES
852
853# SCSI DEVICE CONFIGURATION
854
855# The SCSI subsystem consists of the `base' SCSI code, a number of
856# high-level SCSI device `type' drivers, and the low-level host-adapter
857# device drivers.  The host adapters are listed in the ISA and PCI
858# device configuration sections below.
859#
860# Beginning with FreeBSD 2.0.5 you can wire down your SCSI devices so
861# that a given bus, target, and LUN always come on line as the same
862# device unit.  In earlier versions the unit numbers were assigned
863# in the order that the devices were probed on the SCSI bus.  This
864# means that if you removed a disk drive, you may have had to rewrite
865# your /etc/fstab file, and also that you had to be careful when adding
866# a new disk as it may have been probed earlier and moved your device
867# configuration around.
868
869# This old behavior is maintained as the default behavior.  The unit
870# assignment begins with the first non-wired down unit for a device
871# type.  For example, if you wire a disk as "da3" then the first
872# non-wired disk will be assigned da4.
873
874# The syntax for wiring down devices is:
875
876hint.scbus.0.at="ahc0"
877hint.scbus.1.at="ahc1"
878hint.scbus.1.bus="0"
879hint.scbus.3.at="ahc2"
880hint.scbus.3.bus="0"
881hint.scbus.2.at="ahc2"
882hint.scbus.2.bus="1"
883hint.da.0.at="scbus0"
884hint.da.0.target="0"
885hint.da.0.unit="0"
886hint.da.1.at="scbus3"
887hint.da.1.target="1"
888hint.da.2.at="scbus2"
889hint.da.2.target="3"
890hint.sa.1.at="scbus1"
891hint.sa.1.target="6"
892
893# "units" (SCSI logical unit number) that are not specified are
894# treated as if specified as LUN 0.
895
896# All SCSI devices allocate as many units as are required.
897
898# The ch driver drives SCSI Media Changer ("jukebox") devices.
899#
900# The da driver drives SCSI Direct Access ("disk") and Optical Media
901# ("WORM") devices.
902#
903# The sa driver drives SCSI Sequential Access ("tape") devices.
904#
905# The cd driver drives SCSI Read Only Direct Access ("cd") devices.
906#
907# The ses driver drives SCSI Envinronment Services ("ses") and
908# SAF-TE ("SCSI Accessable Fault-Tolerant Enclosure") devices.
909#
910# The pt driver drives SCSI Processor devices.
911#
912#
913# Target Mode support is provided here but also requires that a SIM
914# (SCSI Host Adapter Driver) provide support as well.
915#
916# The targ driver provides target mode support as a Processor type device.
917# It exists to give the minimal context necessary to respond to Inquiry
918# commands. There is a sample user application that shows how the rest
919# of the command support might be done in /usr/share/examples/scsi_target.
920#
921# The targbh driver provides target mode support and exists to respond
922# to incoming commands that do not otherwise have a logical unit assigned
923# to them.
924#
925# The "unknown" device (uk? in pre-2.0.5) is now part of the base SCSI
926# configuration as the "pass" driver.
927
928device		scbus		#base SCSI code
929device		ch		#SCSI media changers
930device		da		#SCSI direct access devices (aka disks)
931device		sa		#SCSI tapes
932device		cd		#SCSI CD-ROMs
933device		ses		#SCSI Environmental Services (and SAF-TE)
934device		pt		#SCSI processor
935device		targ		#SCSI Target Mode Code
936device		targbh		#SCSI Target Mode Blackhole Device
937device		pass		#CAM passthrough driver
938
939# CAM OPTIONS:
940# debugging options:
941# -- NOTE --  If you specify one of the bus/target/lun options, you must
942#             specify them all!
943# CAMDEBUG: When defined enables debugging macros
944# CAM_DEBUG_BUS:  Debug the given bus.  Use -1 to debug all busses.
945# CAM_DEBUG_TARGET:  Debug the given target.  Use -1 to debug all targets.
946# CAM_DEBUG_LUN:  Debug the given lun.  Use -1 to debug all luns.
947# CAM_DEBUG_FLAGS:  OR together CAM_DEBUG_INFO, CAM_DEBUG_TRACE,
948#                   CAM_DEBUG_SUBTRACE, and CAM_DEBUG_CDB
949#
950# CAM_MAX_HIGHPOWER: Maximum number of concurrent high power (start unit) cmds
951# CAM_NEW_TRAN_CODE: this is the new transport layer code that will be switched
952#			to soon
953# SCSI_NO_SENSE_STRINGS: When defined disables sense descriptions
954# SCSI_NO_OP_STRINGS: When defined disables opcode descriptions
955# SCSI_DELAY: The number of MILLISECONDS to freeze the SIM (scsi adapter)
956#             queue after a bus reset, and the number of milliseconds to
957#             freeze the device queue after a bus device reset.
958options 	CAMDEBUG
959options 	CAM_DEBUG_BUS=-1
960options 	CAM_DEBUG_TARGET=-1
961options 	CAM_DEBUG_LUN=-1
962options 	CAM_DEBUG_FLAGS="CAM_DEBUG_INFO|CAM_DEBUG_TRACE|CAM_DEBUG_CDB"
963options 	CAM_MAX_HIGHPOWER=4
964options 	SCSI_NO_SENSE_STRINGS
965options 	SCSI_NO_OP_STRINGS
966options 	SCSI_DELAY=8000	# Be pessimistic about Joe SCSI device
967
968# Options for the CAM CDROM driver:
969# CHANGER_MIN_BUSY_SECONDS: Guaranteed minimum time quantum for a changer LUN
970# CHANGER_MAX_BUSY_SECONDS: Maximum time quantum per changer LUN, only
971#                           enforced if there is I/O waiting for another LUN
972# The compiled in defaults for these variables are 2 and 10 seconds,
973# respectively.
974#
975# These can also be changed on the fly with the following sysctl variables:
976# kern.cam.cd.changer.min_busy_seconds
977# kern.cam.cd.changer.max_busy_seconds
978#
979options 	CHANGER_MIN_BUSY_SECONDS=2
980options 	CHANGER_MAX_BUSY_SECONDS=10
981
982# Options for the CAM sequential access driver:
983# SA_IO_TIMEOUT: Timeout for read/write/wfm  operations, in minutes
984# SA_SPACE_TIMEOUT: Timeout for space operations, in minutes
985# SA_REWIND_TIMEOUT: Timeout for rewind operations, in minutes
986# SA_ERASE_TIMEOUT: Timeout for erase operations, in minutes
987# SA_1FM_AT_EOD: Default to model which only has a default one filemark at EOT.
988options 	SA_IO_TIMEOUT="(4)"
989options 	SA_SPACE_TIMEOUT="(60)"
990options 	SA_REWIND_TIMEOUT="(2*60)"
991options 	SA_ERASE_TIMEOUT="(4*60)"
992options 	SA_1FM_AT_EOD
993
994# Optional timeout for the CAM processor target (pt) device
995# This is specified in seconds.  The default is 60 seconds.
996options 	SCSI_PT_DEFAULT_TIMEOUT="60"
997
998# Optional enable of doing SES passthrough on other devices (e.g., disks)
999#
1000# Normally disabled because a lot of newer SCSI disks report themselves
1001# as having SES capabilities, but this can then clot up attempts to build
1002# build a topology with the SES device that's on the box these drives
1003# are in....
1004options 	SES_ENABLE_PASSTHROUGH
1005
1006
1007#####################################################################
1008# MISCELLANEOUS DEVICES AND OPTIONS
1009
1010# The `pty' device usually turns out to be ``effectively mandatory'',
1011# as it is required for `telnetd', `rlogind', `screen', `emacs', and
1012# `xterm', among others.
1013
1014device		pty		#Pseudo ttys
1015device		speaker		#Play IBM BASIC-style noises out your speaker
1016device		gzip		#Exec gzipped a.out's
1017device		md		#Memory/malloc disk
1018device		snp		#Snoop device - to look at pty/vty/etc..
1019device		ccd		#Concatenated disk driver
1020
1021# Configuring Vinum into the kernel is not necessary, since the kld
1022# module gets started automatically when vinum(8) starts.  This
1023# device is also untested.  Use at your own risk.
1024#
1025# The option VINUMDEBUG must match the value set in CFLAGS
1026# in src/sbin/vinum/Makefile.  Failure to do so will result in
1027# the following message from vinum(8):
1028#
1029# Can't get vinum config: Invalid argument
1030#
1031# see vinum(4) for more reasons not to use these options.
1032device		vinum		#Vinum concat/mirror/raid driver
1033options 	VINUMDEBUG	#enable Vinum debugging hooks
1034
1035# Kernel side iconv library
1036options 	LIBICONV
1037
1038# Size of the kernel message buffer.  Should be N * pagesize.
1039options 	MSGBUF_SIZE=40960
1040
1041
1042#####################################################################
1043# HARDWARE BUS CONFIGURATION
1044
1045# ISA, EISA, MCA and PCI bus:
1046
1047#
1048# Mandatory ISA devices: isa, npx
1049#
1050device		isa
1051
1052#
1053# Options for `isa':
1054#
1055# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A
1056# interrupt controller.  This saves about 0.7-1.25 usec for each interrupt.
1057# This option breaks suspend/resume on some portables.
1058#
1059# AUTO_EOI_2 enables the `automatic EOI' feature for the slave 8259A
1060# interrupt controller.  This saves about 0.7-1.25 usec for each interrupt.
1061# Automatic EOI is documented not to work for for the slave with the
1062# original i8259A, but it works for some clones and some integrated
1063# versions.
1064#
1065# MAXMEM specifies the amount of RAM on the machine; if this is not
1066# specified, FreeBSD will first read the amount of memory from the CMOS
1067# RAM, so the amount of memory will initially be limited to 64MB or 16MB
1068# depending on the BIOS.  If the BIOS reports 64MB, a memory probe will
1069# then attempt to detect the installed amount of RAM.  If this probe
1070# fails to detect >64MB RAM you will have to use the MAXMEM option.
1071# The amount is in kilobytes, so for a machine with 128MB of RAM, it would
1072# be 131072 (128 * 1024).
1073#
1074# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to
1075# reset the CPU for reboot.  This is needed on some systems with broken
1076# keyboard controllers.
1077
1078options 	COMPAT_OLDISA	#Use ISA shims and glue for old drivers
1079options 	AUTO_EOI_1
1080#options 	AUTO_EOI_2
1081
1082options 	MAXMEM="(128*1024)"
1083#options 	BROKEN_KEYBOARD_RESET
1084
1085# Enable support for the kernel PLL to use an external PPS signal,
1086# under supervision of [x]ntpd(8)
1087# More info in ntpd documentation: http://www.eecis.udel.edu/~ntp
1088
1089options 	PPS_SYNC
1090
1091# If you see the "calcru: negative time of %ld usec for pid %d (%s)\n"
1092# message you probably have some broken sw/hw which disables interrupts
1093# for too long.  You can make the system more resistant to this by
1094# choosing a high value for NTIMECOUNTER.  The default is 5, there
1095# is no upper limit but more than a couple of hundred are not productive.
1096# A better strategy may be to sysctl -w kern.timecounter.method=1
1097
1098options 	NTIMECOUNTER=20
1099
1100#
1101# EISA bus
1102#
1103# The EISA bus device is `eisa'.  It provides auto-detection and
1104# configuration support for all devices on the EISA bus.
1105
1106device		eisa
1107
1108# By default, only 10 EISA slots are probed, since the slot numbers
1109# above clash with the configuration address space of the PCI subsystem,
1110# and the EISA probe is not very smart about this.  This is sufficient
1111# for most machines, but in particular the HP NetServer LC series comes
1112# with an onboard AIC7770 dual-channel SCSI controller on EISA slot #11,
1113# thus you need to bump this figure to 12 for them.
1114options 	EISA_SLOTS=12
1115
1116#
1117# MCA bus:
1118#
1119# The MCA bus device is `mca'.  It provides auto-detection and
1120# configuration support for all devices on the MCA bus.
1121# No hints are required for MCA.
1122
1123device		mca
1124
1125#
1126# PCI bus & PCI options:
1127#
1128# The main PCI bus device is `pci'.  It provides auto-detection and
1129# configuration support for all devices on the PCI bus, using either
1130# configuration mode defined in the PCI specification.
1131
1132device		pci
1133
1134#
1135# AGP GART support
1136device		agp
1137
1138# PCI options
1139#
1140#Enable pci resources left off by a "lazy" BIOS:
1141options 	PCI_ENABLE_IO_MODES
1142#options 	PCI_QUIET	#quiets PCI code on chipset settings
1143
1144
1145#####################################################################
1146# HARDWARE DEVICE CONFIGURATION
1147
1148# EISA support is available for some device, so they can be auto-probed.
1149# MicroChannel (MCA) support is available for some devices.
1150# For ISA the required hints are listed.
1151# EISA, MCA, PCI and pccard are self identifying buses, so no hints
1152# are needed.
1153
1154#
1155# Mandatory devices:
1156#
1157
1158# The keyboard controller; it controls the keyboard and the PS/2 mouse.
1159device		atkbdc	1
1160hint.atkbdc.0.at="isa"
1161hint.atkbdc.0.port="0x060"
1162
1163# The AT keyboard
1164device		atkbd
1165hint.atkbd.0.at="atkbdc"
1166hint.atkbd.0.irq="1"
1167
1168# Options for atkbd:
1169options 	ATKBD_DFLT_KEYMAP	# specify the built-in keymap
1170makeoptions	ATKBD_DFLT_KEYMAP="jp.106"
1171
1172# These options are valid for other keyboard drivers as well.
1173options 	KBD_DISABLE_KEYMAP_LOAD	# refuse to load a keymap
1174options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
1175
1176# `flags' for atkbd:
1177#       0x01    Force detection of keyboard, else we always assume a keyboard
1178#       0x02    Don't reset keyboard, useful for some newer ThinkPads
1179#       0x04    Old-style (XT) keyboard support, useful for older ThinkPads
1180
1181# PS/2 mouse
1182device		psm
1183hint.psm.0.at="atkbdc"
1184hint.psm.0.irq="12"
1185
1186# Options for psm:
1187options 	PSM_HOOKRESUME		#hook the system resume event, useful
1188					#for some laptops
1189options 	PSM_RESETAFTERSUSPEND	#reset the device at the resume event
1190
1191# The video card driver.
1192device		vga
1193hint.vga.0.at="isa"
1194
1195# Options for vga:
1196# Try the following option if the mouse pointer is not drawn correctly
1197# or font does not seem to be loaded properly.  May cause flicker on
1198# some systems.
1199options 	VGA_ALT_SEQACCESS
1200
1201# If you can dispense with some vga driver features, you may want to
1202# use the following options to save some memory.
1203#options 	VGA_NO_FONT_LOADING	# don't save/load font
1204#options 	VGA_NO_MODE_CHANGE	# don't change video modes
1205
1206# Older video cards may require this option for proper operation.
1207options 	VGA_SLOW_IOACCESS	# do byte-wide i/o's to TS and GDC regs
1208
1209# The following option probably won't work with the LCD displays.
1210options 	VGA_WIDTH90		# support 90 column modes
1211
1212# To include support for VESA video modes
1213options 	VESA
1214
1215options 	FB_DEBUG		# Frame buffer debugging
1216options 	FB_INSTALL_CDEV		# install a CDEV entry in /dev
1217
1218# Splash screen at start up!  Screen savers require this too.
1219device		splash
1220
1221# Various screen savers.
1222device		apm_saver		# Requires APM
1223device		blank_saver
1224device		daemon_saver
1225device		fade_saver
1226device		fire_saver
1227device		green_saver
1228device		logo_saver
1229device		rain_saver
1230device		star_saver
1231device		warp_saver
1232
1233# The pcvt console driver (vt220 compatible).
1234device		vt
1235hint.vt.0.at="isa"
1236options 	XSERVER			# support for running an X server on vt
1237options 	FAT_CURSOR		# start with block cursor
1238# This PCVT option is for keyboards such as those used on really old ThinkPads
1239options 	PCVT_SCANSET=2
1240# Other PCVT options are documented in pcvt(4).
1241options 	PCVT_24LINESDEF
1242options 	PCVT_CTRL_ALT_DEL
1243options 	PCVT_META_ESC
1244options 	PCVT_NSCREENS=9
1245options 	PCVT_PRETTYSCRNS
1246options 	PCVT_SCREENSAVER
1247options 	PCVT_USEKBDSEC
1248options 	PCVT_VT220KEYB
1249options 	PCVT_GREENSAVER
1250
1251# The syscons console driver (sco color console compatible).
1252device		sc	1
1253hint.sc.0.at="isa"
1254options 	MAXCONS=16		# number of virtual consoles
1255options 	SC_ALT_MOUSE_IMAGE	# simplified mouse cursor in text mode
1256options 	SC_DFLT_FONT		# compile font in
1257makeoptions	SC_DFLT_FONT=cp850
1258options 	SC_DISABLE_DDBKEY	# disable `debug' key
1259options 	SC_DISABLE_REBOOT	# disable reboot key sequence
1260options 	SC_HISTORY_SIZE=200	# number of history buffer lines
1261options 	SC_MOUSE_CHAR=0x3	# char code for text mode mouse cursor
1262options 	SC_PIXEL_MODE		# add support for the raster text mode
1263
1264# The following options will let you change the default colors of syscons.
1265options 	SC_NORM_ATTR="(FG_GREEN|BG_BLACK)"
1266options 	SC_NORM_REV_ATTR="(FG_YELLOW|BG_GREEN)"
1267options 	SC_KERNEL_CONS_ATTR="(FG_RED|BG_BLACK)"
1268options 	SC_KERNEL_CONS_REV_ATTR="(FG_BLACK|BG_RED)"
1269
1270# The following options will let you change the default behaviour of
1271# cut-n-paste feature
1272options 	SC_CUT_SPACES2TABS	# convert leading spaces into tabs
1273options 	SC_CUT_SEPCHARS="\x20"	# set of characters that delimit words
1274					# (default is single space - "\x20")
1275
1276# If you have a two button mouse, you may want to add the following option
1277# to use the right button of the mouse to paste text.
1278options 	SC_TWOBUTTON_MOUSE
1279
1280# You can selectively disable features in syscons.
1281options 	SC_NO_CUTPASTE
1282options 	SC_NO_FONT_LOADING
1283options 	SC_NO_HISTORY
1284options 	SC_NO_SYSMOUSE
1285
1286# `flags' for sc
1287#	0x80	Put the video card in the VESA 800x600 dots, 16 color mode
1288#	0x100	Probe for a keyboard device periodically if one is not present
1289
1290# 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support. This will create
1291# the /dev/3dfx0 device to work with glide implementations. This should get
1292# linked to /dev/3dfx and /dev/voodoo. Note that this is not the same as
1293# the tdfx DRI module from XFree86 and is completely unrelated.
1294#
1295# To enable Linuxulator support, one must also include COMPAT_LINUX in the
1296# config as well, or you will not have the dependencies. The other option
1297# is to load both as modules.
1298
1299device 		tdfx			# Enable 3Dfx Voodoo support
1300options 	TDFX_LINUX		# Enable Linuxulator support
1301
1302#
1303# The Numeric Processing eXtension driver.  In addition to this, you
1304# may configure a math emulator (see above).  If your machine has a
1305# hardware FPU and the kernel configuration includes the npx device
1306# *and* a math emulator compiled into the kernel, the hardware FPU
1307# will be used, unless it is found to be broken or unless "flags" to
1308# npx0 includes "0x08", which requests preference for the emulator.
1309device		npx
1310hint.npx.0.at="nexus"
1311hint.npx.0.port="0x0F0"
1312hint.npx.0.flags="0x0"
1313hint.npx.0.irq="13"
1314
1315#
1316# `flags' for npx0:
1317#	0x01	don't use the npx registers to optimize bcopy.
1318#	0x02	don't use the npx registers to optimize bzero.
1319#	0x04	don't use the npx registers to optimize copyin or copyout.
1320#	0x08	use emulator even if hardware FPU is available.
1321# The npx registers are normally used to optimize copying and zeroing when
1322# all of the following conditions are satisfied:
1323#	I586_CPU is an option
1324#	the cpu is an i586 (perhaps not a Pentium)
1325#	the probe for npx0 succeeds
1326#	INT 16 exception handling works.
1327# Then copying and zeroing using the npx registers is normally 30-100% faster.
1328# The flags can be used to control cases where it doesn't work or is slower.
1329# Setting them at boot time using userconfig works right (the optimizations
1330# are not used until later in the bootstrap when npx0 is attached).
1331# Flag 0x08 automatically disables the i586 optimized routines.
1332#
1333
1334#
1335# ACPI support using the Intel ACPI Component Architecture reference
1336# implementation.
1337#
1338# ACPI_DEBUG enables the use of the debug.acpi.level and debug.acpi.layer
1339# kernel environment variables to select initial debugging levels for the
1340# Intel ACPICA code.  (Note that the Intel code must also have USE_DEBUGGER
1341# defined when it is built).
1342#
1343# Note that building ACPI into the kernel is deprecated; the module is
1344# normally loaded automatically by the loader.
1345#
1346device		acpica
1347options 	ACPI_DEBUG
1348
1349#
1350# Optional devices:
1351#
1352
1353#
1354# SCSI host adapters:
1355#
1356# adv: All Narrow SCSI bus AdvanSys controllers.
1357# adw: Second Generation AdvanSys controllers including the ADV940UW.
1358# aha: Adaptec 154x/1535/1640
1359# ahb: Adaptec 174x EISA controllers
1360# ahc: Adaptec 274x/284x/2910/293x/294x/394x/3950x/3960x/398X/4944/
1361#      19160x/29160x, aic7770/aic78xx
1362# aic: Adaptec 6260/6360, APA-1460 (PC Card), NEC PC9801-100 (C-BUS)
1363# amd: Support for the AMD 53C974 SCSI host adapter chip as found on devices
1364#      such as the Tekram DC-390(T).
1365# bt:  Most Buslogic controllers: including BT-445, BT-54x, BT-64x, BT-74x,
1366#      BT-75x, BT-946, BT-948, BT-956, BT-958, SDC3211B, SDC3211F, SDC3222F
1367# isp: Qlogic ISP 1020, 1040 and 1040B PCI SCSI host adapters,
1368#      ISP 1240 Dual Ultra SCSI, ISP 1080 and 1280 (Dual) Ultra2,
1369#      ISP 12160 Ultra3 SCSI,
1370#      Qlogic ISP 2100 and ISP 2200 1Gb Fibre Channel host adapters.
1371#      Qlogic ISP 2300 and ISP 2312 2Gb Fibre Channel host adapters.
1372# ispfw: Firmware module for Qlogic host adapters
1373# ncr: NCR 53C810, 53C825 self-contained SCSI host adapters.
1374# ncv: NCR 53C500 based SCSI host adapters.
1375# nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters.
1376# sym: Symbios/Logic 53C8XX family of PCI-SCSI I/O processors:
1377#      53C810, 53C810A, 53C815, 53C825,  53C825A, 53C860, 53C875,
1378#      53C876, 53C885,  53C895, 53C895A, 53C896,  53C897, 53C1510D,
1379#      53C1010-33, 53C1010-66.
1380# stg: TMC 18C30, 18C50 based SCSI host adapters.
1381# wds: WD7000
1382
1383#
1384# Note that the order is important in order for Buslogic ISA/EISA cards to be
1385# probed correctly.
1386#
1387device		bt
1388hint.bt.0.at="isa"
1389hint.bt.0.port="0x330"
1390device		adv
1391hint.adv.0.at="isa"
1392device		adw
1393device		aha
1394hint.aha.0.at="isa"
1395device		aic
1396hint.aic.0.at="isa"
1397device		ahb
1398device		ahc
1399device		amd
1400device		isp
1401hint.isp.0.disable="1"
1402hint.isp.0.role="3"
1403hint.isp.0.prefer_iomap="1"
1404hint.isp.0.prefer_memmap="1"
1405hint.isp.0.fwload_disable="1"
1406hint.isp.0.ignore_nvram="1"
1407hint.isp.0.fullduplex="1"
1408hint.isp.0.topology="lport"
1409hint.isp.0.topology="nport"
1410hint.isp.0.topology="lport-only"
1411hint.isp.0.topology="nport-only"
1412# we can't get u_int64_t types, nor can we get strings if it's got
1413# a leading 0x, hence this silly dodge.
1414hint.isp.0.portwnn="w50000000aaaa0000"
1415hint.isp.0.nodewnn="w50000000aaaa0001"
1416device		ispfw
1417device		ncr
1418device		ncv
1419device		nsp
1420device		sym
1421device		stg
1422hint.stg.0.at="isa"
1423hint.stg.0.port="0x140"
1424hint.stg.0.port="11"
1425device		wds
1426hint.wds.0.at="isa"
1427hint.wds.0.port="0x350"
1428hint.wds.0.irq="11"
1429hint.wds.0.drq="6"
1430
1431# The aic7xxx driver will attempt to use memory mapped I/O for all PCI
1432# controllers that have it configured only if this option is set. Unfortunately,
1433# this doesn't work on some motherboards, which prevents it from being the
1434# default.
1435options 	AHC_ALLOW_MEMIO
1436
1437# Enable diagnostic sequencer code.
1438options 	AHC_DEBUG_SEQUENCER
1439
1440# Dump the contents of the ahc controller configuration PROM.
1441options 	AHC_DUMP_EEPROM
1442
1443# Bitmap of units to enable targetmode operations.
1444options 	AHC_TMODE_ENABLE
1445
1446# The adw driver will attempt to use memory mapped I/O for all PCI
1447# controllers that have it configured only if this option is set.
1448options 	ADW_ALLOW_MEMIO
1449
1450# Options used in dev/isp/ (Qlogic SCSI/FC driver).
1451#
1452#	ISP_TARGET_MODE		-	enable target mode operation
1453#
1454#options 	ISP_TARGET_MODE=1
1455
1456# Options used in dev/sym/ (Symbios SCSI driver).
1457#options 	SYM_SETUP_LP_PROBE_MAP	#-Low Priority Probe Map (bits)
1458					# Allows the ncr to take precedence
1459					# 1 (1<<0) -> 810a, 860
1460					# 2 (1<<1) -> 825a, 875, 885, 895
1461					# 4 (1<<2) -> 895a, 896, 1510d
1462#options 	SYM_SETUP_SCSI_DIFF	#-HVD support for 825a, 875, 885
1463					# disabled:0 (default), enabled:1
1464#options 	SYM_SETUP_PCI_PARITY	#-PCI parity checking
1465					# disabled:0, enabled:1 (default)
1466#options 	SYM_SETUP_MAX_LUN	#-Number of LUNs supported
1467					# default:8, range:[1..64]
1468
1469# The 'asr' driver provides support for current DPT/Adaptec SCSI RAID
1470# controllers (SmartRAID V and VI and later).
1471# These controllers require the CAM infrastructure.
1472#
1473device		asr
1474
1475# The 'dpt' driver provides support for old DPT controllers (http://www.dpt.com/).
1476# These have hardware RAID-{0,1,5} support, and do multi-initiator I/O.
1477# The DPT controllers are commonly re-licensed under other brand-names -
1478# some controllers by Olivetti, Dec, HP, AT&T, SNI, AST, Alphatronic, NEC and
1479# Compaq are actually DPT controllers.
1480#
1481# See src/sys/dev/dpt for debugging and other subtle options.
1482#   DPT_MEASURE_PERFORMANCE Enables a set of (semi)invasive metrics. Various
1483#                           instruments are enabled.  The tools in
1484#                           /usr/sbin/dpt_* assume these to be enabled.
1485#   DPT_HANDLE_TIMEOUTS     Normally device timeouts are handled by the DPT.
1486#                           If you ant the driver to handle timeouts, enable
1487#                           this option.  If your system is very busy, this
1488#                           option will create more trouble than solve.
1489#   DPT_TIMEOUT_FACTOR      Used to compute the excessive amount of time to
1490#                           wait when timing out with the above option.
1491#  DPT_DEBUG_xxxx           These are controllable from sys/dev/dpt/dpt.h
1492#  DPT_LOST_IRQ             When enabled, will try, once per second, to catch
1493#                           any interrupt that got lost.  Seems to help in some
1494#                           DPT-firmware/Motherboard combinations.  Minimal
1495#                           cost, great benefit.
1496#  DPT_RESET_HBA            Make "reset" actually reset the controller
1497#                           instead of fudging it.  Only enable this if you
1498#			    are 100% certain you need it.
1499
1500device		dpt
1501
1502# DPT options
1503#!CAM# options 	DPT_MEASURE_PERFORMANCE
1504#!CAM# options 	DPT_HANDLE_TIMEOUTS
1505options 	DPT_TIMEOUT_FACTOR=4
1506options 	DPT_LOST_IRQ
1507options 	DPT_RESET_HBA
1508options 	DPT_ALLOW_MEMIO
1509
1510#
1511# Mylex AcceleRAID and eXtremeRAID controllers with v6 and later
1512# firmware.  These controllers have a SCSI-like interface, and require
1513# the CAM infrastructure.
1514#
1515device		mly
1516
1517#
1518# Adaptec FSA RAID controllers, including integrated DELL controllers,
1519# the Dell PERC 2/QC and the HP NetRAID-4M
1520#
1521# AAC_COMPAT_LINUX	Include code to support Linux-binary management
1522#			utilities (requires Linux compatibility
1523#			support).
1524#
1525device		aac
1526
1527#
1528# Compaq Smart RAID, Mylex DAC960 and AMI MegaRAID controllers.  Only
1529# one entry is needed; the code will find and configure all supported
1530# controllers.
1531#
1532device		ida		# Compaq Smart RAID
1533device		mlx		# Mylex DAC960
1534device		amr		# AMI MegaRAID
1535
1536#
1537# 3ware ATA RAID
1538#
1539device		twe		# 3ware ATA RAID
1540
1541#
1542# The 'ATA' driver supports all ATA and ATAPI devices, including PC Card
1543# devices. You only need one "device ata" for it to find all
1544# PCI and PC Card ATA/ATAPI devices on modern machines.
1545device		ata
1546device		atadisk		# ATA disk drives
1547device		atapicd		# ATAPI CDROM drives
1548device		atapifd		# ATAPI floppy drives
1549device		atapist		# ATAPI tape drives
1550
1551#
1552# For older non-PCI, non-PnPBIOS systems, these are the hints lines to add:
1553hint.ata.0.at="isa"
1554hint.ata.0.port="0x1f0"
1555hint.ata.0.irq="14"
1556hint.ata.1.at="isa"
1557hint.ata.1.port="0x170"
1558hint.ata.1.irq="15"
1559
1560#
1561# The following options are valid on the ATA driver:
1562#
1563# ATA_STATIC_ID:	controller numbering is static ie depends on location
1564#			else the device numbers are dynamically allocated.
1565
1566options 	ATA_STATIC_ID
1567
1568#
1569# Standard floppy disk controllers and floppy tapes, supports
1570# the Y-E DATA External FDD (PC Card)
1571#
1572device		fdc
1573hint.fdc.0.at="isa"
1574hint.fdc.0.port="0x3F0"
1575hint.fdc.0.irq="6"
1576hint.fdc.0.drq="2"
1577#
1578# FDC_DEBUG enables floppy debugging.  Since the debug output is huge, you
1579# gotta turn it actually on by setting the variable fd_debug with DDB,
1580# however.
1581options 	FDC_DEBUG
1582#
1583# Activate this line if you happen to have an Insight floppy tape.
1584# Probing them proved to be dangerous for people with floppy disks only,
1585# so it's "hidden" behind a flag:
1586#hint.fdc.0.flags="1"
1587
1588# Specify floppy devices
1589hint.fd.0.at="fdc0"
1590hint.fd.0.drive="0"
1591hint.fd.1.at="fdc0"
1592hint.fd.1.drive="1"
1593
1594# M-systems DiskOnchip products see src/sys/contrib/dev/fla/README
1595device		fla
1596hint.fla.0.at="isa"
1597
1598#
1599# Other standard PC hardware:
1600#
1601# mse: Logitech and ATI InPort bus mouse ports
1602# sio: serial ports (see sio(4)), including support for various
1603#      PC Card devices, such as Modem and NICs (see etc/defaults/pccard.conf)
1604
1605device		mse
1606hint.mse.0.at="isa"
1607hint.mse.0.port="0x23c"
1608hint.mse.0.irq="5"
1609
1610device		sio
1611hint.sio.0.at="isa"
1612hint.sio.0.port="0x3F8"
1613hint.sio.0.flags="0x10"
1614hint.sio.0.irq="4"
1615
1616#
1617# `flags' for serial drivers that support consoles (only for sio now):
1618#	0x10	enable console support for this unit.  The other console flags
1619#		are ignored unless this is set.  Enabling console support does
1620#		not make the unit the preferred console - boot with -h or set
1621#		the 0x20 flag for that.  Currently, at most one unit can have
1622#		console support; the first one (in config file order) with
1623#		this flag set is preferred.  Setting this flag for sio0 gives
1624#		the old behaviour.
1625#	0x20	force this unit to be the console (unless there is another
1626#		higher priority console).  This replaces the COMCONSOLE option.
1627#	0x40	reserve this unit for low level console operations.  Do not
1628#		access the device in any normal way.
1629#	0x80	use this port for serial line gdb support in ddb.
1630#
1631# PnP `flags' (set via userconfig using pnp x flags y)
1632#	0x1	disable probing of this device.  Used to prevent your modem
1633#		from being attached as a PnP modem.
1634#
1635
1636# Options for serial drivers that support consoles (only for sio now):
1637options 	BREAK_TO_DEBUGGER	#a BREAK on a comconsole goes to
1638					#DDB, if available.
1639options 	CONSPEED=115200		# speed for serial console
1640					# (default 9600)
1641
1642# Solaris implements a new BREAK which is initiated by a character
1643# sequence CR ~ ^b which is similar to a familiar pattern used on
1644# Sun servers by the Remote Console.
1645options 	ALT_BREAK_TO_DEBUGGER
1646
1647# Options for sio:
1648options 	COM_ESP			#code for Hayes ESP
1649options 	COM_MULTIPORT		#code for some cards with shared IRQs
1650
1651# Other flags for sio that aren't documented in the man page.
1652#	0x20000	enable hardware RTS/CTS and larger FIFOs.  Only works for
1653#		ST16650A-compatible UARTs.
1654
1655#
1656# Network interfaces:
1657#
1658# MII bus support is required for some PCI 10/100 ethernet NICs,
1659# namely those which use MII-compliant transceivers or implement
1660# tranceiver control interfaces that operate like an MII. Adding
1661# "device miibus0" to the kernel config pulls in support for
1662# the generic miibus API and all of the PHY drivers, including a
1663# generic one for PHYs that aren't specifically handled by an
1664# individual driver.
1665device		miibus
1666
1667# an:   Aironet 4500/4800 802.11 wireless adapters. Supports the PCMCIA,
1668#       PCI and ISA varieties.
1669# ar:   Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver
1670#       (requires sppp)
1671# awi:  Support for IEEE 802.11 PC Card devices using the AMD Am79C930 and
1672#       Harris (Intersil) Chipset with PCnetMobile firmware by AMD.
1673# bge:	Support for gigabit ethernet adapters based on the Broadcom
1674#	BCM570x familiy of controllers, including the 3Com 3c996-T,
1675#	the SysKonnect SK-9D21 and SK-9D41, and the embedded gigE NICs
1676#	on Dell PowerEdge 2550 servers.
1677# cnw:  Xircom CNW/Netware Airsurfer PC Card adapter
1678# cs:   IBM Etherjet and other Crystal Semi CS89x0-based adapters
1679# cx:   Cronyx/Sigma multiport sync/async (with Cisco or PPP framing)
1680# dc:   Support for PCI fast ethernet adapters based on the DEC/Intel 21143
1681#       and various workalikes including:
1682#       the ADMtek AL981 Comet and AN985 Centaur, the ASIX Electronics
1683#       AX88140A and AX88141, the Davicom DM9100 and DM9102, the Lite-On
1684#       82c168 and 82c169 PNIC, the Lite-On/Macronix LC82C115 PNIC II
1685#       and the Macronix 98713/98713A/98715/98715A/98725 PMAC. This driver
1686#       replaces the old al, ax, dm, pn and mx drivers.  List of brands:
1687#       Digital DE500-BA, Kingston KNE100TX, D-Link DFE-570TX, SOHOware SFA110,
1688#       SVEC PN102-TX, CNet Pro110B, 120A, and 120B, Compex RL100-TX,
1689#       LinkSys LNE100TX, LNE100TX V2.0, Jaton XpressNet, Alfa Inc GFC2204,
1690#       KNE110TX.
1691# de:   Digital Equipment DC21040
1692# ed:   Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503
1693#       HP PC Lan+, various PC Card devices (refer to etc/defauls/pccard.conf)
1694#       (requires miibus)
1695# el:   3Com 3C501 (slow!)
1696# ep:   3Com 3C509, 3C529, 3C556, 3C562D, 3C563D, 3C572, 3C574X, 3C579, 3C589
1697#       and PC Card devices using these chipsets.
1698# ex:   Intel EtherExpress Pro/10 and other i82595-based adapters,
1699#       Olicom Ethernet PC Card devices.
1700# fe:   Fujitsu MB86960A/MB86965A Ethernet
1701# fea:  DEC DEFEA EISA FDDI adapter
1702# fpa:  Support for the Digital DEFPA PCI FDDI. `device fddi' is also needed.
1703# fxp:  Intel EtherExpress Pro/100B
1704#	(hint of prefer_iomap can be done to prefer I/O instead of Mem mapping)
1705# gx:   Intel Pro/1000 Gigabit Ethernet (82542, 82543-F, 82543-T)
1706# ie:   AT&T StarLAN 10 and EN100; 3Com 3C507; unknown NI5210;
1707#       Intel EtherExpress
1708# le:   Digital Equipment EtherWorks 2 and EtherWorks 3 (DEPCA, DE100,
1709#       DE101, DE200, DE201, DE202, DE203, DE204, DE205, DE422)
1710# lnc:  Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, AMD Am7990 and
1711#       Am79C960)
1712# lge:	Support for PCI gigabit ethernet adapters based on the Level 1
1713#	LXT1001 NetCellerator chipset. This includes the D-Link DGE-500SX,
1714#	SMC TigerCard 1000 (SMC9462SX), and some Addtron cards.
1715# nge:	Support for PCI gigabit ethernet adapters based on the National
1716#	Semiconductor DP83820 and DP83821 chipset. This includes the
1717#	SMC EZ Card 1000 (SMC9462TX), D-Link DGE-500T, Asante FriendlyNet
1718#	GigaNIX 1000TA and 1000TPC, the Addtron AEG320T, the LinkSys
1719#	EG1032 and EG1064, the Surecom EP-320G-TX and the Netgear GA622T.
1720# oltr: Olicom ISA token-ring adapters OC-3115, OC-3117, OC-3118 and OC-3133
1721#       (no hints needed).
1722#       Olicom PCI token-ring adapters OC-3136, OC-3137, OC-3139, OC-3140,
1723#       OC-3141, OC-3540, OC-3250
1724# rdp:  RealTek RTL 8002-based pocket ethernet adapters
1725# pcn:	Support for PCI fast ethernet adapters based on the AMD Am79c97x
1726#	chipsets, including the PCnet/FAST, PCnet/FAST+, PCnet/PRO and
1727#	PCnet/Home. These were previously handled by the lnc driver (and
1728#	still will be if you leave this driver out of the kernel).
1729# rl:   Support for PCI fast ethernet adapters based on the RealTek 8129/8139
1730#       chipset.  Note that the RealTek driver defaults to using programmed
1731#       I/O to do register accesses because memory mapped mode seems to cause
1732#       severe lockups on SMP hardware.  This driver also supports the
1733#       Accton EN1207D `Cheetah' adapter, which uses a chip called
1734#       the MPX 5030/5038, which is either a RealTek in disguise or a
1735#       RealTek workalike.  Note that the D-Link DFE-530TX+ uses the RealTek
1736#       chipset and is supported by this driver, not the 'vr' driver.
1737# sf:   Support for Adaptec Duralink PCI fast ethernet adapters based on the
1738#       Adaptec AIC-6915 "starfire" controller.
1739#       This includes dual and quad port cards, as well as one 100baseFX card.
1740#       Most of these are 64-bit PCI devices, except for one single port
1741#       card which is 32-bit.
1742# sis:  Support for NICs based on the Silicon Integrated Systems SiS 900,
1743#       SiS 7016 and NS DP83815 PCI fast ethernet controller chips.
1744# sk:   Support for the SysKonnect SK-984x series PCI gigabit ethernet NICs.
1745#       This includes the SK-9841 and SK-9842 single port cards (single mode
1746#       and multimode fiber) and the SK-9843 and SK-9844 dual port cards
1747#       (also single mode and multimode).
1748#       The driver will autodetect the number of ports on the card and
1749#       attach each one as a separate network interface.
1750# sn:   Support for ISA and PC Card Ethernet devices using the
1751#       SMC91C90/92/94/95 chips.
1752# sr:   RISCom/N2 hdlc sync 1/2 port V.35/X.21 serial driver (requires sppp)
1753# ste:  Sundance Technologies ST201 PCI fast ethernet controller, includes
1754#       the D-Link DFE-550TX.
1755# ti:   Support for PCI gigabit ethernet NICs based on the Alteon Networks
1756#       Tigon 1 and Tigon 2 chipsets.  This includes the Alteon AceNIC, the
1757#       3Com 3c985, the Netgear GA620 and various others.  Note that you will
1758#       probably want to bump up NMBCLUSTERS a lot to use this driver.
1759# tl:   Support for the Texas Instruments TNETE100 series 'ThunderLAN'
1760#       cards and integrated ethernet controllers.  This includes several
1761#       Compaq Netelligent 10/100 cards and the built-in ethernet controllers
1762#       in several Compaq Prosignia, Proliant and Deskpro systems.  It also
1763#       supports several Olicom 10Mbps and 10/100 boards.
1764# tx:   SMC 9432 TX, BTX and FTX cards. (SMC EtherPower II serie)
1765# txp:	Support for 3Com 3cR990 cards with the "Typhoon" chipset
1766# vr:   Support for various fast ethernet adapters based on the VIA
1767#       Technologies VT3043 `Rhine I' and VT86C100A `Rhine II' chips,
1768#       including the D-Link DFE530TX (see 'rl' for DFE530TX+), the Hawking
1769#       Technologies PN102TX, and the AOpen/Acer ALN-320.
1770# vx:   3Com 3C590 and 3C595
1771# wb:   Support for fast ethernet adapters based on the Winbond W89C840F chip.
1772#       Note: this is not the same as the Winbond W89C940F, which is a
1773#       NE2000 clone.
1774# wl:   Lucent Wavelan (ISA card only).
1775# wi:   Lucent WaveLAN/IEEE 802.11 PCMCIA adapters. Note: this supports both
1776#       the PCMCIA and ISA cards: the ISA card is really a PCMCIA to ISA
1777#       bridge with a PCMCIA adapter plugged into it.
1778# xe:   Xircom/Intel EtherExpress Pro100/16 PC Card ethernet controller,
1779#       Accton Fast EtherCard-16, Compaq Netelligent 10/100 PC Card,
1780#       Toshiba 10/100 Ethernet PC Card, Xircom 16-bit Ethernet + Modem 56
1781# xl:   Support for the 3Com 3c900, 3c905, 3c905B and 3c905C (Fast)
1782#       Etherlink XL cards and integrated controllers.  This includes the
1783#       integrated 3c905B-TX chips in certain Dell Optiplex and Dell
1784#       Precision desktop machines and the integrated 3c905-TX chips
1785#       in Dell Latitude laptop docking stations.
1786#       Also supported: 3Com 3c980(C)-TX, 3Com 3cSOHO100-TX, 3Com 3c450-TX
1787
1788# Order for ISA/EISA devices is important here
1789
1790device		ar	1
1791hint.ar.0.at="isa"
1792hint.ar.0.port="0x300"
1793hint.ar.0.irq="10"
1794hint.ar.0.maddr="0xd0000"
1795device		cs
1796hint.cs.0.at="isa"
1797hint.cs.0.port="0x300"
1798device		cx	1
1799hint.cx.0.at="isa"
1800hint.cx.0.port="0x240"
1801hint.cx.0.irq="15"
1802hint.cx.0.drq="7"
1803device		ed
1804#options 	ED_NO_MIIBUS		# Disable ed miibus support
1805hint.ed.0.at="isa"
1806hint.ed.0.port="0x280"
1807hint.ed.0.irq="5"
1808hint.ed.0.maddr="0xd8000"
1809device		el	1
1810hint.el.0.at="isa"
1811hint.el.0.port="0x300"
1812hint.el.0.irq="9"
1813device		ep
1814device		ex
1815device		fe	1
1816hint.fe.0.at="isa"
1817hint.fe.0.port="0x300"
1818device		fea
1819device		ie	2
1820hint.ie.0.at="isa"
1821hint.ie.0.port="0x300"
1822hint.ie.0.irq="5"
1823hint.ie.0.maddr="0xd0000"
1824hint.ie.1.at="isa"
1825hint.ie.1.port="0x360"
1826hint.ie.1.irq="7"
1827hint.ie.1.maddr="0xd0000"
1828device		le	1
1829hint.le.0.at="isa"
1830hint.le.0.port="0x300"
1831hint.le.0.irq="5"
1832hint.le.0.maddr="0xd0000"
1833device		lnc	1
1834hint.lnc.0.at="isa"
1835hint.lnc.0.port="0x280"
1836hint.lnc.0.irq="10"
1837hint.lnc.0.drq="0"
1838device		rdp	1
1839hint.rdp.0.at="isa"
1840hint.rdp.0.port="0x378"
1841hint.rdp.0.irq="7"
1842hint.rdp.0.flags="2"
1843device		sr	1
1844hint.sr.0.at="isa"
1845hint.sr.0.port="0x300"
1846hint.sr.0.irq="5"
1847hint.sr.0.maddr="0xd0000"
1848device		sn
1849hint.sn.0.at="isa"
1850hint.sn.0.port="0x300"
1851hint.sn.0.irq="10"
1852device		an
1853device		awi
1854device		cnw
1855device		wi
1856options 	WLCACHE		# enables the signal-strength cache
1857options 	WLDEBUG		# enables verbose debugging output
1858device		wl	1
1859hint.wl.0.at="isa"
1860hint.wl.0.port="0x300"
1861device		xe
1862
1863device		oltr
1864options 	OLTR_NO_BULLSEYE_MAC
1865options 	OLTR_NO_HAWKEYE_MAC
1866options 	OLTR_NO_TMS_MAC
1867hint.oltr.0.at="isa"
1868
1869# PCI Ethernet NICs that use the common MII bus controller code.
1870device		dc		# DEC/Intel 21143 and various workalikes
1871device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
1872hint.fxp.0.prefer_iomap="0"
1873device		rl		# RealTek 8129/8139
1874device		pcn		# AMD Am79C97x PCI 10/100 NICs
1875device		sf		# Adaptec AIC-6915 (``Starfire'')
1876device		sis		# Silicon Integrated Systems SiS 900/SiS 7016
1877device		ste		# Sundance ST201 (D-Link DFE-550TX)
1878device		tl		# Texas Instruments ThunderLAN
1879device		tx		# SMC EtherPower II (83c170 ``EPIC'')
1880device		vr		# VIA Rhine, Rhine II
1881device		wb		# Winbond W89C840F
1882device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
1883
1884# PCI Ethernet NICs.
1885device		de		# DEC/Intel DC21x4x (``Tulip'')
1886device		txp		# 3Com 3cR990 (``Typhoon'')
1887device		vx		# 3Com 3c590, 3c595 (``Vortex'')
1888
1889# PCI Gigabit & FDDI NICs.
1890device		bge
1891device		gx
1892device		lge
1893device		nge
1894device		sk
1895device		ti
1896device		fpa	1
1897
1898#
1899# ATM related options (Cranor version)
1900# (note: this driver cannot be used with the HARP ATM stack)
1901#
1902# The `en' device provides support for Efficient Networks (ENI)
1903# ENI-155 PCI midway cards, and the Adaptec 155Mbps PCI ATM cards (ANA-59x0).
1904#
1905# atm device provides generic atm functions and is required for
1906# atm devices.
1907# NATM enables the netnatm protocol family that can be used to
1908# bypass TCP/IP.
1909#
1910# the current driver supports only PVC operations (no atm-arp, no multicast).
1911# for more details, please read the original documents at
1912# http://www.ccrc.wustl.edu/pub/chuck/tech/bsdatm/bsdatm.html
1913#
1914device		atm
1915device		en
1916options 	NATM			#native ATM
1917
1918#
1919# Audio drivers: `pcm', `sbc', `gusc', `pca'
1920#
1921# pcm: PCM audio through various sound cards.
1922#
1923# This has support for a large number of new audio cards, based on
1924# CS423x, OPTi931, Yamaha OPL-SAx, and also for SB16, GusPnP.
1925# For more information about this driver and supported cards,
1926# see the pcm.4 man page.
1927#
1928# The flags of the device tells the device a bit more info about the
1929# device that normally is obtained through the PnP interface.
1930#	bit  2..0   secondary DMA channel;
1931#	bit  4      set if the board uses two dma channels;
1932#	bit 15..8   board type, overrides autodetection; leave it
1933#		    zero if don't know what to put in (and you don't,
1934#		    since this is unsupported at the moment...).
1935#
1936# This driver will use the new PnP code if it's available.
1937#
1938# pca: PCM audio through your PC speaker
1939#
1940# Supported cards include:
1941# Creative SoundBlaster ISA PnP/non-PnP
1942# Supports ESS and Avance ISA chips as well.
1943# Gravis UltraSound ISA PnP/non-PnP
1944# Crystal Semiconductor CS461x/428x PCI
1945# Neomagic 256AV (ac97)
1946# Most of the more common ISA/PnP sb/mss/ess compatable cards.
1947
1948device		pcm
1949
1950# For non-pnp sound cards with no bridge drivers only:
1951hint.pcm.0.at="isa"
1952hint.pcm.0.irq="10"
1953hint.pcm.0.drq="1"
1954hint.pcm.0.flags="0x0"
1955
1956# For PnP/PCI sound cards, no hints are required.
1957
1958#
1959# midi: MIDI interfaces and synthesizers
1960#
1961
1962device		midi
1963
1964# For non-pnp sound cards with no bridge drivers:
1965hint.midi.0.at="isa"
1966hint.midi.0.irq="5"
1967hint.midi.0.flags="0x0"
1968
1969# For serial ports (this example configures port 2):
1970# TODO: implement generic tty-midi interface so that we can use
1971#	other uarts.
1972hint.midi.0.at="isa"
1973hint.midi.0.port="0x2F8"
1974hint.midi.0.irq="3"
1975
1976#
1977# seq: MIDI sequencer
1978#
1979
1980device		seq
1981
1982# The bridge drivers for sound cards.  These can be separately configured
1983# for providing services to the likes of new-midi.
1984# When used with 'device pcm' they also provide pcm sound services.
1985#
1986# sbc:  Creative SoundBlaster ISA PnP/non-PnP
1987#	Supports ESS and Avance ISA chips as well.
1988# gusc: Gravis UltraSound ISA PnP/non-PnP
1989# csa:  Crystal Semiconductor CS461x/428x PCI
1990
1991# For non-PnP cards:
1992device		sbc
1993hint.sbc.0.at="isa"
1994hint.sbc.0.port="0x220"
1995hint.sbc.0.irq="5"
1996hint.sbc.0.drq="1"
1997hint.sbc.0.flags="0x15"
1998device		gusc
1999hint.gusc.0.at="isa"
2000hint.gusc.0.port="0x220"
2001hint.gusc.0.irq="5"
2002hint.gusc.0.drq="1"
2003hint.gusc.0.flags="0x13"
2004
2005device		pca
2006hint.pca.0.at="isa"
2007hint.pca.0.port="0x040"
2008
2009#
2010# Miscellaneous hardware:
2011#
2012# mcd: Mitsumi CD-ROM using proprietary (non-ATAPI) interface
2013# scd: Sony CD-ROM using proprietary (non-ATAPI) interface
2014# matcd: Matsushita/Panasonic CD-ROM using proprietary (non-ATAPI) interface
2015# wt: Wangtek and Archive QIC-02/QIC-36 tape drives
2016# ctx: Cortex-I frame grabber
2017# apm: Laptop Advanced Power Management (experimental)
2018# pmtimer: Timer device driver for power management events (APM or ACPI)
2019# spigot: The Creative Labs Video Spigot video-acquisition board
2020# meteor: Matrox Meteor video capture board
2021# bktr: Brooktree bt848/848a/849a/878/879 video capture and TV Tuner board
2022# cy: Cyclades serial driver
2023# dgb: Digiboard PC/Xi and PC/Xe series driver (ALPHA QUALITY!)
2024# digi: Digiboard driver
2025# gp:  National Instruments AT-GPIB and AT-GPIB/TNT board, PCMCIA-GPIB
2026# asc: GI1904-based hand scanners, e.g. the Trust Amiscan Grey
2027# gsc: Genius GS-4500 hand scanner.
2028# joy: joystick (including IO DATA PCJOY PC Card joystick)
2029# The LOUTB option specifies a slower outb() for debugging purposes.
2030# rc: RISCom/8 multiport card
2031# rp: Comtrol Rocketport(ISA) - single card
2032# tw: TW-523 power line interface for use with X-10 home control products
2033# si: Specialix SI/XIO 4-32 port terminal multiplexor
2034# spic: Sony Programmable I/O controller (VAIO notebooks)
2035# stl: Stallion EasyIO and EasyConnection 8/32 (cd1400 based)
2036# stli: Stallion EasyConnection 8/64, ONboard, Brumby (intelligent)
2037# nmdm: nullmodem terminal driver (see nmdm(4))
2038
2039# Notes on APM
2040#  The flags takes the following meaning for apm0:
2041#    0x0020  Statclock is broken.
2042#  If apm is omitted, some systems require sysctl -w kern.timecounter.method=1
2043#  for correct timekeeping.
2044
2045# Notes on the spigot:
2046#  The video spigot is at 0xad6.  This port address can not be changed.
2047#  The irq values may only be 10, 11, or 15
2048#  I/O memory is an 8kb region.  Possible values are:
2049#    0a0000, 0a2000, ..., 0fffff, f00000, f02000, ..., ffffff
2050#    The start address must be on an even boundary.
2051#  Add the following option if you want to allow non-root users to be able
2052#  to access the spigot.  This option is not secure because it allows users
2053#  direct access to the I/O page.
2054#  	options SPIGOT_UNSECURE
2055
2056# Notes on the Comtrol Rocketport driver:
2057#
2058# The exact values used for rp0 depend on how many boards you have
2059# in the system.  The manufacturer's sample configs are listed as:
2060#
2061#               device  rp	# core driver support
2062#
2063#   Comtrol Rocketport ISA single card
2064#		hints.rp.0.at="isa"
2065#		hints.rp.0.port="0x280"
2066#
2067#   If instead you have two ISA cards, one installed at 0x100 and the
2068#   second installed at 0x180, then you should add the following to
2069#   your kernel probe hints:
2070#		hints.rp.0.at="isa"
2071#		hints.rp.0.port="0x100"
2072#		hints.rp.1.at="isa"
2073#		hints.rp.1.port="0x180"
2074#
2075#   For 4 ISA cards, it might be something like this:
2076#		hints.rp.0.at="isa"
2077#		hints.rp.0.port="0x180"
2078#		hints.rp.1.at="isa"
2079#		hints.rp.1.port="0x100"
2080#		hints.rp.2.at="isa"
2081#		hints.rp.2.port="0x340"
2082#		hints.rp.3.at="isa"
2083#		hints.rp.3.port="0x240"
2084#
2085#   And for PCI cards, you need no hints.
2086
2087# Notes on the Digiboard driver:
2088#
2089# The following flag values have special meanings in dgb:
2090#	0x01 - alternate layout of pins
2091#	0x02 - use the windowed PC/Xe in 64K mode
2092
2093# Notes on the Specialix SI/XIO driver:
2094#  The host card is memory, not IO mapped.
2095#  The Rev 1 host cards use a 64K chunk, on a 32K boundary.
2096#  The Rev 2 host cards use a 32K chunk, on a 32K boundary.
2097#  The cards can use an IRQ of 11, 12 or 15.
2098
2099# Notes on the Sony Programmable I/O controller
2100#  This is a temporary driver that should someday be replaced by something
2101#  that hooks into the ACPI layer. The device is hooked to the PIIX4's
2102#  General Device 10 decoder, which means you have to fiddle with PCI
2103#  registers to map it in, even though it is otherwise treated here as
2104#  an ISA device. At the moment, the driver polls, although the device
2105#  is capable of generating interrupts. It largely undocumented.
2106#  The port location in the hint is where you WANT the device to be
2107#  mapped. 0x10a0 seems to be traditional. At the moment the jogdial
2108#  is the only thing truly supported, but aparently a fair percentage
2109#  of the Vaio extra features are controlled by this device.
2110
2111# Notes on the Stallion stl and stli drivers:
2112#  See src/i386/isa/README.stl for complete instructions.
2113#  This is version 0.0.5alpha, unsupported by Stallion.
2114#  The stl driver has a secondary IO port hard coded at 0x280.  You need
2115#     to change src/i386/isa/stallion.c if you reconfigure this on the boards.
2116#  The "flags" and "msize" settings on the stli driver depend on the board:
2117#	EasyConnection 8/64 ISA:     flags 23         msize 0x1000
2118#	EasyConnection 8/64 EISA:    flags 24         msize 0x10000
2119#	EasyConnection 8/64 MCA:     flags 25         msize 0x1000
2120#	ONboard ISA:                 flags 4          msize 0x10000
2121#	ONboard EISA:                flags 7          msize 0x10000
2122#	ONboard MCA:                 flags 3          msize 0x10000
2123#	Brumby:                      flags 2          msize 0x4000
2124#	Stallion:                    flags 1          msize 0x10000
2125
2126device		mcd	1
2127hint.mcd.0.at="isa"
2128hint.mcd.0.port="0x300"
2129hint.mcd.0.irq="10"
2130# for the Sony CDU31/33A CDROM
2131device		scd	1
2132hint.scd.0.at="isa"
2133hint.scd.0.port="0x230"
2134# for the SoundBlaster 16 multicd - up to 4 devices
2135device		matcd	1
2136hint.matcd.0.at="isa"
2137hint.matcd.0.port="0x230"
2138device		wt	1
2139hint.wt.0.at="isa"
2140hint.wt.0.port="0x300"
2141hint.wt.0.irq="5"
2142hint.wt.0.drq="1"
2143device		ctx	1
2144hint.ctx.0.at="isa"
2145hint.ctx.0.port="0x230"
2146hint.ctx.0.maddr="0xd0000"
2147device		spigot	1
2148hint.spigot.0.at="isa"
2149hint.spigot.0.port="0xad6"
2150hint.spigot.0.irq="15"
2151hint.spigot.0.maddr="0xee000"
2152device		apm
2153hint.apm.0.flags="0x20"
2154device		pmtimer			# Adjust system timer at wakeup time
2155hint.pmtimer.0.at="isa"
2156device		gp
2157hint.gp.0.at="isa"
2158hint.gp.0.port="0x2c0"
2159device		gsc	1
2160hint.gsc.0.at="isa"
2161hint.gsc.0.port="0x270"
2162hint.gsc.0.drq="3"
2163device		joy			# PnP aware, hints for nonpnp only
2164hint.joy.0.at="isa"
2165hint.joy.0.port="0x201"
2166device		cy	1
2167options 	CY_PCI_FASTINTR		# Use with cy_pci unless irq is shared
2168hint.cy.0.at="isa"
2169hint.cy.0.irq="10"
2170hint.cy.0.maddr="0xd4000"
2171hint.cy.0.msize="0x2000"
2172device		dgb	1
2173options 	NDGBPORTS=16		# Defaults to 16*NDGB
2174hint.dgb.0.at="isa"
2175hint.dgb.0.port="0x220"
2176hint.dgb.0.maddr="0xfc000"
2177device		digi
2178hint.digi.0.at="isa"
2179hint.digi.0.port="0x104"
2180hint.digi.0.maddr="0xd0000"
2181# BIOS & FEP/OS components of device digi.  Normally left as modules
2182device		digi_CX
2183device		digi_CX_PCI
2184device		digi_EPCX
2185device		digi_EPCX_PCI
2186device		digi_Xe
2187device		digi_Xem
2188device		digi_Xr
2189device		rc	1
2190hint.rc.0.at="isa"
2191hint.rc.0.port="0x220"
2192hint.rc.0.irq="12"
2193device		rp
2194hint.rp.0.at="isa"
2195hint.rp.0.port="0x280"
2196# the port and irq for tw0 are fictitious
2197device		tw	1
2198hint.tw.0.at="isa"
2199hint.tw.0.port="0x380"
2200hint.tw.0.irq="11"
2201device		si
2202options 	SI_DEBUG
2203hint.si.0.at="isa"
2204hint.si.0.maddr="0xd0000"
2205hint.si.0.irq="12"
2206device		asc	1
2207hint.asc.0.at="isa"
2208hint.asc.0.port="0x3EB"
2209hint.asc.0.drq="3"
2210hint.asc.0.irq="10"
2211device		spic
2212hint.spic.0.at="isa"
2213hint.spic.0.port="0x10a0"
2214device		stl
2215hint.stl.0.at="isa"
2216hint.stl.0.port="0x2a0"
2217hint.stl.0.irq="10"
2218device		stli
2219hint.stli.0.at="isa"
2220hint.stli.0.port="0x2a0"
2221hint.stli.0.maddr="0xcc000"
2222hint.stli.0.flags="23"
2223hint.stli.0.msize="0x1000"
2224# You are unlikely to have the hardware for loran <phk@FreeBSD.org>
2225device		loran
2226hint.loran.0.at="isa"
2227hint.loran.0.irq="5"
2228# HOT1 Xilinx 6200 card (http://www.vcc.com/)
2229device		xrpu
2230# nullmodem terminal driver
2231device		nmdm
2232
2233#
2234# The `meteor' device is a PCI video capture board. It can also have the
2235# following options:
2236#   options METEOR_ALLOC_PAGES=xxx	preallocate kernel pages for data entry
2237#	figure (ROWS*COLUMN*BYTES_PER_PIXEL*FRAME+PAGE_SIZE-1)/PAGE_SIZE
2238#   options METEOR_DEALLOC_PAGES	remove all allocated pages on close(2)
2239#   options METEOR_DEALLOC_ABOVE=xxx	remove all allocated pages above the
2240#	specified amount. If this value is below the allocated amount no action
2241#	taken
2242#   options METEOR_SYSTEM_DEFAULT={METEOR_PAL|METEOR_NTSC|METEOR_SECAM}, used
2243#	for initialization of fps routine when a signal is not present.
2244#
2245# The 'bktr' device is a PCI video capture device using the Brooktree
2246# bt848/bt848a/bt849a/bt878/bt879 chipset. When used with a TV Tuner it forms a
2247# TV card, eg Miro PC/TV, Hauppauge WinCast/TV WinTV, VideoLogic Captivator,
2248# Intel Smart Video III, AverMedia, IMS Turbo, FlyVideo.
2249#
2250# options 	OVERRIDE_CARD=xxx
2251# options 	OVERRIDE_TUNER=xxx
2252# options 	OVERRIDE_MSP=1
2253# options 	OVERRIDE_DBX=1
2254# These options can be used to override the auto detection
2255# The current values for xxx are found in src/sys/dev/bktr/bktr_card.h
2256# Using sysctl(8) run-time overrides on a per-card basis can be made
2257#
2258# options 	BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_PAL
2259# or
2260# options 	BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_NTSC
2261# Specifes the default video capture mode.
2262# This is required for Dual Crystal (28&35Mhz) boards where PAL is used
2263# to prevent hangs during initialisation.  eg VideoLogic Captivator PCI.
2264#
2265# options 	BKTR_USE_PLL
2266# PAL or SECAM users who have a 28Mhz crystal (and no 35Mhz crystal)
2267# must enable PLL mode with this option. eg some new Bt878 cards.
2268#
2269# options 	BKTR_GPIO_ACCESS
2270# This enable IOCTLs which give user level access to the GPIO port.
2271#
2272# options 	BKTR_NO_MSP_RESET
2273# Prevents the MSP34xx reset. Good if you initialise the MSP in another OS first
2274#
2275# options 	BKTR_430_FX_MODE
2276# Switch Bt878/879 cards into Intel 430FX chipset compatibility mode.
2277#
2278# options 	BKTR_SIS_VIA_MODE
2279# Switch Bt878/879 cards into SIS/VIA chipset compatibility mode which is
2280# needed for some old SiS and VIA chipset motherboards.
2281# This also allows Bt878/879 chips to work on old OPTi (<1997) chipset
2282# motherboards and motherboards with bad or incomplete PCI 2.1 support.
2283# As a rough guess, old = before 1998
2284#
2285
2286device		meteor	1
2287
2288# Brooktree driver has been ported to the new I2C framework. Thus,
2289# you'll need to have the following 3 lines in the kernel config.
2290#     device smbus
2291#     device iicbus
2292#     device iicbb
2293# The iic and smb devices are only needed if you want to control other
2294# I2C slaves connected to the external connector of some cards.
2295#
2296device		bktr	1
2297
2298#
2299# PC Card/PCMCIA
2300# (OLDCARD)
2301#
2302# card: pccard slots
2303# pcic: isa/pccard bridge
2304device		pcic
2305hint.pcic.0.at="isa"
2306hint.pcic.1.at="isa"
2307device		card
2308
2309#
2310# PC Card/PCMCIA and Cardbus
2311# (NEWCARD)
2312#
2313# Note that NEWCARD and OLDCARD are incompatible.  Do not use both at the same
2314# time.
2315#
2316# pccbb: isa/pccard and pci/cardbus bridge
2317# pccard: pccard slots
2318# cardbus: cardbus slots
2319#device		pccbb
2320#device		pccard
2321#device		cardbus
2322
2323# You may need to reset all pccards after resuming
2324options 	PCIC_RESUME_RESET	# reset after resume
2325
2326#
2327# Laptop/Notebook options:
2328#
2329# See also:
2330#  apm under `Miscellaneous hardware'
2331# above.
2332
2333# For older notebooks that signal a powerfail condition (external
2334# power supply dropped, or battery state low) by issuing an NMI:
2335
2336options 	POWERFAIL_NMI	# make it beep instead of panicing
2337
2338#
2339# SMB bus
2340#
2341# System Management Bus support is provided by the 'smbus' device.
2342# Access to the SMBus device is via the 'smb' device (/dev/smb*),
2343# which is a child of the 'smbus' device.
2344#
2345# Supported devices:
2346# smb		standard io through /dev/smb*
2347#
2348# Supported SMB interfaces:
2349# iicsmb	I2C to SMB bridge with any iicbus interface
2350# bktr		brooktree848 I2C hardware interface
2351# intpm		Intel PIIX4 Power Management Unit
2352# alpm		Acer Aladdin-IV/V/Pro2 Power Management Unit
2353# ichsmb	Intel ICH SMBus controller chips (82801AA, 82801AB, 82801BA)
2354#
2355device		smbus		# Bus support, required for smb below.
2356
2357device		intpm
2358device		alpm
2359device		ichsmb
2360
2361device		smb
2362
2363#
2364# I2C Bus
2365#
2366# Philips i2c bus support is provided by the `iicbus' device.
2367#
2368# Supported devices:
2369# ic	i2c network interface
2370# iic	i2c standard io
2371# iicsmb i2c to smb bridge. Allow i2c i/o with smb commands.
2372#
2373# Supported interfaces:
2374# pcf	Philips PCF8584 ISA-bus controller
2375# bktr	brooktree848 I2C software interface
2376#
2377# Other:
2378# iicbb	generic I2C bit-banging code (needed by lpbb, bktr)
2379#
2380device		iicbus		# Bus support, required for ic/iic/iicsmb below.
2381device		iicbb
2382
2383device		ic
2384device		iic
2385device		iicsmb		# smb over i2c bridge
2386
2387device		pcf
2388hint.pcf.0.at="isa"
2389hint.pcf.0.port="0x320"
2390hint.pcf.0.irq="5"
2391
2392#---------------------------------------------------------------------------
2393# ISDN4BSD
2394#
2395# See /usr/share/examples/isdn/ROADMAP for an introduction to isdn4bsd.
2396#
2397# i4b passive ISDN cards support contains the following hardware drivers:
2398#
2399#	isic  - Siemens/Infineon ISDN ISAC/HSCX/IPAC chipset driver
2400#	iwic  - Winbond W6692 PCI bus ISDN S/T interface controller
2401#	ifpi  - AVM Fritz!Card PCI driver
2402#	ihfc  - Cologne Chip HFC ISA/ISA-PnP chipset driver
2403#	ifpnp - AVM Fritz!Card PnP driver
2404#	itjc  - Siemens ISAC / TJNet Tiger300/320 chipset
2405#
2406# i4b active ISDN cards support contains the following hardware drivers:
2407#
2408#	iavc  - AVM B1 PCI, AVM B1 ISA, AVM T1
2409#
2410# Note that the ``options'' (if given) and ``device'' lines must BOTH
2411# be uncommented to enable support for a given card !
2412#
2413# In addition to a hardware driver (and probably an option) the mandatory
2414# ISDN protocol stack devices and the mandatory support device must be
2415# enabled as well as one or more devices from the optional devices section.
2416#
2417#---------------------------------------------------------------------------
2418#	isic driver (Siemens/Infineon chipsets)
2419#
2420device	isic
2421#
2422# ISA bus non-PnP Cards:
2423# ----------------------
2424#
2425# Teles S0/8 or Niccy 1008
2426options 	TEL_S0_8
2427hint.isic.0.at="isa"
2428hint.isic.0.maddr="0xd0000"
2429hint.isic.0.irq="5"
2430hint.isic.0.flags="1"
2431#
2432# Teles S0/16 or Creatix ISDN-S0 or Niccy 1016
2433options 	TEL_S0_16
2434hint.isic.0.at="isa"
2435hint.isic.0.port="0xd80"
2436hint.isic.0.maddr="0xd0000"
2437hint.isic.0.irq="5"
2438hint.isic.0.flags="2"
2439#
2440# Teles S0/16.3
2441options 	TEL_S0_16_3
2442hint.isic.0.at="isa"
2443hint.isic.0.port="0xd80"
2444hint.isic.0.irq="5"
2445hint.isic.0.flags="3"
2446#
2447# AVM A1 or AVM Fritz!Card
2448options 	AVM_A1
2449hint.isic.0.at="isa"
2450hint.isic.0.port="0x340"
2451hint.isic.0.irq="5"
2452hint.isic.0.flags="4"
2453#
2454# USRobotics Sportster ISDN TA intern
2455options 	USR_STI
2456hint.isic.0.at="isa"
2457hint.isic.0.port="0x268"
2458hint.isic.0.irq="5"
2459hint.isic.0.flags="7"
2460#
2461# ITK ix1 Micro ( < V.3, non-PnP version )
2462options 	ITKIX1
2463hint.isic.0.at="isa"
2464hint.isic.0.port="0x398"
2465hint.isic.0.irq="10"
2466hint.isic.0.flags="18"
2467#
2468# ELSA PCC-16
2469options 	ELSA_PCC16
2470hint.isic.0.at="isa"
2471hint.isic.0.port="0x360"
2472hint.isic.0.irq="10"
2473hint.isic.0.flags="20"
2474#
2475# ISA bus PnP Cards:
2476# ------------------
2477#
2478# Teles S0/16.3 PnP
2479options 	TEL_S0_16_3_P
2480#
2481# Creatix ISDN-S0 P&P
2482options 	CRTX_S0_P
2483#
2484# Dr. Neuhaus Niccy Go@
2485options 	DRN_NGO
2486#
2487# Sedlbauer Win Speed
2488options 	SEDLBAUER
2489#
2490# Dynalink IS64PH
2491options 	DYNALINK
2492#
2493# ELSA QuickStep 1000pro ISA
2494options 	ELSA_QS1ISA
2495#
2496# Siemens I-Surf 2.0
2497options 	SIEMENS_ISURF2
2498#
2499# Asuscom ISDNlink 128K ISA
2500options 	ASUSCOM_IPAC
2501#
2502# Eicon Diehl DIVA 2.0 and 2.02
2503options 	EICON_DIVA
2504#
2505# Compaq Microcom 610 ISDN card (Compaq series PSB2222I)
2506options 	COMPAQ_M610
2507#
2508# PCI bus Cards:
2509# --------------
2510#
2511# ELSA MicroLink ISDN/PCI (same as ELSA QuickStep 1000pro PCI)
2512options 	ELSA_QS1PCI
2513#
2514#
2515#---------------------------------------------------------------------------
2516#	ifpnp driver for AVM Fritz!Card PnP
2517#
2518# AVM Fritz!Card PnP
2519device ifpnp
2520#
2521#---------------------------------------------------------------------------
2522#	ihfc driver for Cologne Chip ISA chipsets (experimental!)
2523#
2524# Teles 16.3c ISA PnP
2525# AcerISDN P10 ISA PnP
2526# TELEINT ISDN SPEED No.1
2527device ihfc
2528#
2529#---------------------------------------------------------------------------
2530#	ifpi driver for AVM Fritz!Card PCI
2531#
2532# AVM Fritz!Card PCI
2533device  ifpi
2534#
2535#---------------------------------------------------------------------------
2536#	iwic driver for Winbond W6692 chipset
2537#
2538# ASUSCOM P-IN100-ST-D (and other Winbond W6692 based cards)
2539device  iwic
2540#
2541#---------------------------------------------------------------------------
2542#	itjc driver for Simens ISAC / TJNet Tiger300/320 chipset
2543#
2544# Traverse Technologies NETjet-S
2545# Teles PCI-TJ
2546device  itjc
2547#
2548#---------------------------------------------------------------------------
2549#	iavc driver (AVM active cards, needs i4bcapi driver!)
2550#
2551device	iavc
2552#
2553# AVM B1 ISA bus (PnP mode not supported!)
2554# ----------------------------------------
2555hint.iavc.0.at="isa"
2556hint.iavc.0.port="0x150"
2557hint.iavc.0.irq="5"
2558#
2559#---------------------------------------------------------------------------
2560#	ISDN Protocol Stack - mandatory for all hardware drivers
2561#
2562# Q.921 / layer 2 - i4b passive cards D channel handling
2563device		"i4bq921"
2564#
2565# Q.931 / layer 3 - i4b passive cards D channel handling
2566device		"i4bq931"
2567#
2568# layer 4 - i4b common passive and active card handling
2569device		"i4b"
2570#
2571#---------------------------------------------------------------------------
2572#	ISDN devices - mandatory for all hardware drivers
2573#
2574# userland driver to do ISDN tracing (for passive cards only)
2575device		"i4btrc"	4
2576#
2577# userland driver to control the whole thing
2578device		"i4bctl"
2579#
2580#---------------------------------------------------------------------------
2581#	ISDN devices - optional
2582#
2583# userland driver for access to raw B channel
2584device		"i4brbch"	4
2585#
2586# userland driver for telephony
2587device		"i4btel"	2
2588#
2589# network driver for IP over raw HDLC ISDN
2590device		"i4bipr"	4
2591# enable VJ header compression detection for ipr i/f
2592options 	IPR_VJ
2593# enable logging of the first n IP packets to isdnd (n=32 here)
2594options 	IPR_LOG=32
2595#
2596# network driver for sync PPP over ISDN; requires an equivalent
2597# number of sppp device to be configured
2598device		"i4bisppp"	4
2599#
2600# B-channel interface to the netgraph subsystem
2601device		"i4bing"	2
2602#
2603# CAPI driver needed for active ISDN cards (see iavc driver above)
2604device		"i4bcapi"
2605#
2606#---------------------------------------------------------------------------
2607
2608# Parallel-Port Bus
2609#
2610# Parallel port bus support is provided by the `ppbus' device.
2611# Multiple devices may be attached to the parallel port, devices
2612# are automatically probed and attached when found.
2613#
2614# Supported devices:
2615# vpo	Iomega Zip Drive
2616#	Requires SCSI disk support ('scbus' and 'da'), best
2617#	performance is achieved with ports in EPP 1.9 mode.
2618# lpt	Parallel Printer
2619# plip	Parallel network interface
2620# ppi	General-purpose I/O ("Geek Port") + IEEE1284 I/O
2621# pps	Pulse per second Timing Interface
2622# lpbb	Philips official parallel port I2C bit-banging interface
2623#
2624# Supported interfaces:
2625# ppc	ISA-bus parallel port interfaces.
2626#
2627
2628options 	PPC_PROBE_CHIPSET # Enable chipset specific detection
2629				  # (see flags in ppc(4))
2630options 	DEBUG_1284	# IEEE1284 signaling protocol debug
2631options 	PERIPH_1284	# Makes your computer act as a IEEE1284
2632				# compliant peripheral
2633options 	DONTPROBE_1284	# Avoid boot detection of PnP parallel devices
2634options 	VP0_DEBUG	# ZIP/ZIP+ debug
2635options 	LPT_DEBUG	# Printer driver debug
2636options 	PPC_DEBUG	# Parallel chipset level debug
2637options 	PLIP_DEBUG	# Parallel network IP interface debug
2638options 	PCFCLOCK_VERBOSE         # Verbose pcfclock driver
2639options 	PCFCLOCK_MAX_RETRIES=5   # Maximum read tries (default 10)
2640
2641device		ppc
2642hint.ppc.0.at="isa"
2643hint.ppc.0.irq="7"
2644device		ppbus
2645device		vpo
2646device		lpt
2647device		plip
2648device		ppi
2649device		pps
2650device		lpbb
2651device		pcfclock
2652
2653# Kernel BOOTP support
2654
2655options 	BOOTP		# Use BOOTP to obtain IP address/hostname
2656options 	BOOTP_NFSROOT	# NFS mount root filesystem using BOOTP info
2657options 	BOOTP_NFSV3	# Use NFS v3 to NFS mount root
2658options 	BOOTP_COMPAT	# Workaround for broken bootp daemons.
2659options 	BOOTP_WIRED_TO=fxp0 # Use interface fxp0 for BOOTP
2660
2661#
2662# Add tie-ins for a hardware watchdog.  This only enable the hooks;
2663# the user must still supply the actual driver.
2664#
2665options 	HW_WDOG
2666
2667#
2668# Set the number of PV entries per process.  Increasing this can
2669# stop panics related to heavy use of shared memory. However, that can
2670# (combined with large amounts of physical memory) cause panics at
2671# boot time due the kernel running out of VM space.
2672#
2673# If you're tweaking this, you might also want to increase the sysctls
2674# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target".
2675#
2676# The value below is the one more than the default.
2677#
2678options 	PMAP_SHPGPERPROC=201
2679
2680#
2681# Change the size of the kernel virtual address space.  Due to
2682# constraints in loader(8) on i386, this must be a multiple of 4.
2683# 256 = 1 GB of kernel address space.  Increasing this also causes
2684# a reduction of the address space in user processes.  512 splits
2685# the 4GB cpu address space in half (2GB user, 2GB kernel).
2686#
2687options 	KVA_PAGES=260
2688
2689#
2690# Disable swapping. This option removes all code which actually performs
2691# swapping, so it's not possible to turn it back on at run-time.
2692#
2693# This is sometimes usable for systems which don't have any swap space
2694# (see also sysctls "vm.defer_swapspace_pageouts" and
2695# "vm.disable_swapspace_pageouts")
2696#
2697#options 	NO_SWAPPING
2698
2699# Set the number of sf_bufs to allocate. sf_bufs are virtual buffers
2700# for sendfile(2) that are used to map file VM pages, and normally
2701# default to a quantity that is roughly 16*MAXUSERS+512. You would
2702# typically want about 4 of these for each simultaneous file send.
2703#
2704options 	NSFBUFS=1024
2705
2706#
2707# Enable extra debugging code for locks.  This stores the filename and
2708# line of whatever acquired the lock in the lock itself, and change a
2709# number of function calls to pass around the relevant data.  This is
2710# not at all useful unless you are debugging lock code.  Also note
2711# that it is likely to break e.g. fstat(1) unless you recompile your
2712# userland with -DDEBUG_LOCKS as well.
2713#
2714options 	DEBUG_LOCKS
2715
2716
2717#####################################################################
2718# ABI Emulation
2719
2720# Enable iBCS2 runtime support for SCO and ISC binaries
2721options 	IBCS2
2722
2723# Emulate spx device for client side of SVR3 local X interface
2724options 	SPX_HACK
2725
2726# Enable Linux ABI emulation
2727options 	COMPAT_LINUX
2728
2729# Enable the linux-like proc filesystem support (requires COMPAT_LINUX
2730# and PSEUDOFS)
2731options 	LINPROCFS
2732
2733# Linux debugging
2734options 	DEBUG_LINUX
2735
2736#
2737# SysVR4 ABI emulation
2738#
2739# The svr4 ABI emulator can be statically compiled into the kernel or loaded as
2740# a KLD module.
2741# The STREAMS network emulation code can also be compiled statically or as a
2742# module.  If loaded as a module, it must be loaded before the svr4 module
2743# (the /usr/sbin/svr4 script does this for you).  If compiling statically,
2744# the `streams' device must be configured into any kernel which also
2745# specifies COMPAT_SVR4.  It is possible to have a statically-configured
2746# STREAMS device and a dynamically loadable svr4 emulator;  the /usr/sbin/svr4
2747# script understands that it doesn't need to load the `streams' module under
2748# those circumstances.
2749# Caveat:  At this time, `options KTRACE' is required for the svr4 emulator
2750# (whether static or dynamic).
2751#
2752options 	COMPAT_SVR4	# build emulator statically
2753options 	DEBUG_SVR4	# enable verbose debugging
2754device		streams		# STREAMS network driver (required for svr4).
2755
2756
2757#####################################################################
2758# USB support
2759# UHCI controller
2760device		uhci
2761# OHCI controller
2762device		ohci
2763# General USB code (mandatory for USB)
2764device		usb
2765#
2766# USB Double Bulk Pipe devices
2767device		udbp
2768# Generic USB device driver
2769device		ugen
2770# Human Interface Device (anything with buttons and dials)
2771device		uhid
2772# USB keyboard
2773device		ukbd
2774# USB printer
2775device		ulpt
2776# USB Iomega Zip 100 Drive (Requires scbus and da)
2777device		umass
2778# USB modem support
2779device		umodem
2780# USB mouse
2781device		ums
2782# Diamond Rio 500 Mp3 player
2783device		urio
2784# USB scanners
2785device		uscanner
2786#
2787# ADMtek USB ethernet. Supports the LinkSys USB100TX,
2788# the Billionton USB100, the Melco LU-ATX, the D-Link DSB-650TX
2789# and the SMC 2202USB. Also works with the ADMtek AN986 Pegasus
2790# eval board.
2791device		aue
2792#
2793# CATC USB-EL1201A USB ethernet. Supports the CATC Netmate
2794# and Netmate II, and the Belkin F5U111.
2795device		cue
2796#
2797# Kawasaki LSI ethernet. Supports the LinkSys USB10T,
2798# Entrega USB-NET-E45, Peracom Ethernet Adapter, the
2799# 3Com 3c19250, the ADS Technologies USB-10BT, the ATen UC10T,
2800# the Netgear EA101, the D-Link DSB-650, the SMC 2102USB
2801# and 2104USB, and the Corega USB-T.
2802device		kue
2803
2804# debugging options for the USB subsystem
2805#
2806options 	UHCI_DEBUG
2807options 	OHCI_DEBUG
2808options 	USB_DEBUG
2809
2810options 	UGEN_DEBUG
2811options 	UHID_DEBUG
2812options 	UHUB_DEBUG
2813options 	UKBD_DEBUG
2814options 	ULPT_DEBUG
2815options 	UMASS_DEBUG
2816options 	UMS_DEBUG
2817options 	URIO_DEBUG
2818
2819# options for ukbd:
2820options 	UKBD_DFLT_KEYMAP	# specify the built-in keymap
2821makeoptions	UKBD_DFLT_KEYMAP=it.iso
2822
2823#
2824# Embedded system options:
2825#
2826# An embedded system might want to run something other than init.
2827options 	INIT_PATH="/sbin/init:/stand/sysinstall"
2828
2829# Debug options
2830options 	BUS_DEBUG	# enable newbus debugging
2831options 	DEBUG_VFS_LOCKS	# enable vfs lock debugging
2832options 	NPX_DEBUG	# enable npx debugging (FPU/math emu)
2833
2834#####################################################################
2835# SYSV IPC KERNEL PARAMETERS
2836#
2837# Maximum number of entries in a semaphore map.
2838options 	SEMMAP=31
2839
2840# Maximum number of System V semaphores that can be used on the system at
2841# one time.
2842options 	SEMMNI=11
2843
2844# Total number of semaphores system wide
2845options 	SEMMNS=61
2846
2847# Total number of undo structures in system
2848options 	SEMMNU=31
2849
2850# Maximum number of System V semaphores that can be used by a single process
2851# at one time.
2852options 	SEMMSL=61
2853
2854# Maximum number of operations that can be outstanding on a single System V
2855# semaphore at one time.
2856options 	SEMOPM=101
2857
2858# Maximum number of undo operations that can be outstanding on a single
2859# System V semaphore at one time.
2860options 	SEMUME=11
2861
2862# Maximum number of shared memory pages system wide.
2863options 	SHMALL=1025
2864
2865# Maximum size, in bytes, of a single System V shared memory region.
2866options 	SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)"
2867options 	SHMMAXPGS=1025
2868
2869# Minimum size, in bytes, of a single System V shared memory region.
2870options 	SHMMIN=2
2871
2872# Maximum number of shared memory regions that can be used on the system
2873# at one time.
2874options 	SHMMNI=33
2875
2876# Maximum number of System V shared memory regions that can be attached to
2877# a single process at one time.
2878options 	SHMSEG=9
2879
2880# Set the amount of time (in seconds) the system will wait before
2881# rebooting automatically when a kernel panic occurs.  If set to (-1),
2882# the system will wait indefinitely until a key is pressed on the
2883# console.
2884options 	PANIC_REBOOT_WAIT_TIME=16
2885
2886#####################################################################
2887
2888# More undocumented options for linting.
2889# Note that documenting these are not considered an affront.
2890
2891options 	CAM_DEBUG_DELAY
2892
2893# VFS cluster debugging.
2894options 	CLUSTERDEBUG
2895
2896options 	DEBUG
2897
2898# PECOFF module (Win32 Execution Format)
2899options 	PECOFF_SUPPORT
2900options 	PECOFF_DEBUG
2901
2902# Disable the 4 MByte PSE CPU feature.
2903#options 	DISABLE_PSE
2904
2905options 	ENABLE_ALART
2906options 	I4B_SMP_WORKAROUND
2907options 	I586_PMC_GUPROF=0x70000
2908options 	KBDIO_DEBUG=2
2909options 	KBD_MAXRETRY=4
2910options 	KBD_MAXWAIT=6
2911options 	KBD_RESETDELAY=201
2912
2913# Enable the PF_KEY Key Management API.
2914options 	KEY
2915
2916# Kernel filelock debugging.
2917options 	LOCKF_DEBUG
2918
2919# System V compatible message queues
2920# Please note that the values provided here are used to test kernel
2921# building.  The defaults in the sources provide almost the same numbers.
2922# MSGSSZ must be a power of 2 between 8 and 1024.
2923options 	MSGMNB=2049	# Max number of chars in queue
2924options 	MSGMNI=41	# Max number of message queue identifiers
2925options 	MSGSEG=2049	# Max number of message segments
2926options 	MSGSSZ=16	# Size of a message segment
2927options 	MSGTQL=41	# Max number of messages in system
2928
2929options 	NBUF=512	# Number of buffer headers
2930
2931options 	NMBCLUSTERS=1024	# Number of mbuf clusters
2932
2933options 	PSM_DEBUG=1
2934
2935options 	SCSI_NCR_DEBUG
2936options 	SCSI_NCR_MAX_SYNC=10000
2937options 	SCSI_NCR_MAX_WIDE=1
2938options 	SCSI_NCR_MYADDR=7
2939
2940options 	SC_DEBUG_LEVEL=5	# Syscons debug level
2941options 	SC_RENDER_DEBUG	# syscons rendering debugging
2942
2943options 	SHOW_BUSYBUFS	# List buffers that prevent root unmount
2944options 	SIMPLELOCK_DEBUG
2945options 	SLIP_IFF_OPTS
2946options 	TIMER_FREQ="((14318182+6)/12)"
2947options 	VFS_BIO_DEBUG	# VFS buffer I/O debugging
2948
2949options 	VM_KMEM_SIZE
2950options 	VM_KMEM_SIZE_MAX
2951options 	VM_KMEM_SIZE_SCALE
2952