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