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