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