NOTES revision 96885
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# This file contains machine independent kernel configuration notes.  For
15# machine dependent notes, look in /sys/<arch>/conf/NOTES.
16#
17# $FreeBSD: head/sys/conf/NOTES 96885 2002-05-19 00:11:08Z rwatson $
18#
19
20#
21# This is the ``identification'' of the kernel.  Usually this should
22# be the same as the name of your kernel.
23#
24ident		LINT
25
26#
27# The `maxusers' parameter controls the static sizing of a number of
28# internal system tables by a formula defined in subr_param.c.  Setting
29# maxusers to 0 will cause the system to auto-size based on physical 
30# memory.
31#
32maxusers	10
33
34#
35# We want LINT to cover profiling as well
36profile 	2
37
38#
39# The `makeoptions' parameter allows variables to be passed to the
40# generated Makefile in the build area.
41#
42# CONF_CFLAGS gives some extra compiler flags that are added to ${CFLAGS}
43# after most other flags.  Here we use it to inhibit use of non-optimal
44# gcc builtin functions (e.g., memcmp).
45#
46# DEBUG happens to be magic.
47# The following is equivalent to 'config -g KERNELNAME' and creates
48# 'kernel.debug' compiled with -g debugging as well as a normal
49# 'kernel'.  Use 'make install.debug' to install the debug kernel
50# but that isn't normally necessary as the debug symbols are not loaded
51# by the kernel and are not useful there anyway.
52#
53# KERNEL can be overridden so that you can change the default name of your
54# kernel.
55#
56# MODULES_OVERRIDE can be used to limit modules built to a specific list.
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# Only build Linux API modules and plus those parts of the sound system I need.
62#makeoptions	MODULES_OVERRIDE="linux sound/snd sound/pcm sound/driver/maestro3"
63
64#
65# Certain applications can grow to be larger than the 512M limit
66# that FreeBSD initially imposes.  Below are some options to
67# allow that limit to grow to 1GB, and can be increased further
68# with changing the parameters.  MAXDSIZ is the maximum that the
69# limit can be set to, and the DFLDSIZ is the default value for
70# the limit.  MAXSSIZ is the maximum that the stack limit can be
71# set to.  You might want to set the default lower than the max, 
72# and explicitly set the maximum with a shell command for processes
73# that regularly exceed the limit like INND.
74#
75options 	MAXDSIZ="(1024UL*1024*1024)"
76options 	MAXSSIZ="(128UL*1024*1024)"
77options 	DFLDSIZ="(1024UL*1024*1024)"
78
79#
80# BLKDEV_IOSIZE sets the default block size used in user block
81# device I/O.  Note that this value will be overriden by the label
82# when specifying a block device from a label with a non-0
83# partition blocksize.  The default is PAGE_SIZE.
84#
85options 	BLKDEV_IOSIZE=8192
86
87# Options for the VM subsystem
88options 	PQ_CACHESIZE=512	# color for 512k/16k cache
89options 	KSTACK_PAGES=3		# number of stack pages per process
90# Deprecated options supported for backwards compatibility
91#options 	PQ_NOOPT		# No coloring
92#options 	PQ_LARGECACHE		# color for 512k/16k cache
93#options 	PQ_HUGECACHE		# color for 1024k/16k cache
94#options 	PQ_MEDIUMCACHE		# color for 256k/16k cache
95#options 	PQ_NORMALCACHE		# color for 64k/16k cache
96
97# This allows you to actually store this configuration file into
98# the kernel binary itself, where it may be later read by saying:
99#    strings -n 3 /boot/kernel/kernel | sed -n 's/^___//p' > MYKERNEL
100#
101options 	INCLUDE_CONFIG_FILE     # Include this file in kernel
102
103options	GEOM				# Use the GEOMetry system for
104					# disk-I/O transformations.
105
106#
107# The root device and filesystem type can be compiled in;
108# this provides a fallback option if the root device cannot
109# be correctly guessed by the bootstrap code, or an override if
110# the RB_DFLTROOT flag (-r) is specified when booting the kernel.
111#
112options 	ROOTDEVNAME=\"ufs:da0s2e\"
113
114
115#####################################################################
116# SMP OPTIONS:
117#
118# SMP enables building of a Symmetric MultiProcessor Kernel.
119
120# Mandatory:
121options 	SMP			# Symmetric MultiProcessor Kernel
122
123# SMP Debugging Options:
124#
125# MUTEX_DEBUG enables various extra assertions in the mutex code.
126# WITNESS enables the witness code which detects deadlocks and cycles
127#         during locking operations.
128# WITNESS_DDB causes the witness code to drop into the kernel debugger if
129#	  a lock heirarchy violation occurs or if locks are held when going to
130#	  sleep.
131# WITNESS_SKIPSPIN disables the witness checks on spin mutexes.
132options 	MUTEX_DEBUG
133options 	WITNESS
134options 	WITNESS_DDB
135options 	WITNESS_SKIPSPIN
136
137#
138# MUTEX_PROFILING - Profiling mutual exclusion locks (mutexes).  This
139# records four numbers for each acquisition point (identified by
140# source file name and line number): longest time held, total time held,
141# number of non-recursive acquisitions, and average time held. Measurements
142# are made and stored in nanoseconds (using nanotime(9)), but are presented
143# in microseconds, which should be sufficient for the locks which actually
144# want this (those that are held long and / or often).  The MUTEX_PROFILING
145# option has the following sysctl namespace for controlling and viewing its
146# operation:
147#
148#  debug.mutex.prof.enable - enable / disable profiling
149#  debug.mutex.prof.acquisitions - number of mutex acquisitions held
150#  debug.mutex.prof.records - number of acquisition points recorded
151#  debug.mutex.prof.maxrecords - max number of acquisition points
152#  debug.mutex.prof.rejected - number of rejections (due to full table)
153#  debug.mutex.prof.hashsize - hash size
154#  debug.mutex.prof.collisions - number of hash collisions
155#  debug.mutex.prof.stats - profiling statistics
156#
157options		MUTEX_PROFILING
158
159
160#####################################################################
161# COMPATIBILITY OPTIONS                                             
162
163#
164# Implement system calls compatible with 4.3BSD and older versions of
165# FreeBSD.  You probably do NOT want to remove this as much current code
166# still relies on the 4.3 emulation.
167#
168options 	COMPAT_43
169
170#
171# These three options provide support for System V Interface
172# Definition-style interprocess communication, in the form of shared
173# memory, semaphores, and message queues, respectively.
174#
175options 	SYSVSHM
176options 	SYSVSEM
177options 	SYSVMSG
178
179
180#####################################################################
181# DEBUGGING OPTIONS
182
183#
184# Enable the kernel debugger.
185#
186options 	DDB
187
188#
189# Use direct symbol lookup routines for ddb instead of the kernel linker
190# ones, so that symbols (mostly) work before the kernel linker has been
191# initialized.  This is not the default because it breaks ddb's lookup of
192# symbols in loaded modules.
193#
194#!options 	DDB_NOKLDSYM
195
196#
197# Don't drop into DDB for a panic. Intended for unattended operation
198# where you may want to drop to DDB from the console, but still want
199# the machine to recover from a panic
200#
201options 	DDB_UNATTENDED
202
203#
204# If using GDB remote mode to debug the kernel, there's a non-standard
205# extension to the remote protocol that can be used to use the serial
206# port as both the debugging port and the system console.  It's non-
207# standard and you're on your own if you enable it.  See also the
208# "remotechat" variables in the FreeBSD specific version of gdb.
209#
210options 	GDB_REMOTE_CHAT
211
212#
213# KTRACE enables the system-call tracing facility ktrace(2).
214#
215options 	KTRACE			#kernel tracing
216
217#
218# KTR is a kernel tracing mechanism imported from BSD/OS.  Currently it
219# has no userland interface aside from a few sysctl's.  It is enabled with
220# the KTR option.  KTR_ENTRIES defines the number of entries in the circular
221# trace buffer.  KTR_COMPILE defines the mask of events to compile into the
222# kernel as defined by the KTR_* constants in <sys/ktr.h>.  KTR_MASK defines the
223# initial value of the ktr_mask variable which determines at runtime what
224# events to trace.  KTR_CPUMASK determines which CPU's log events, with
225# bit X corresponding to cpu X.  KTR_VERBOSE enables dumping of KTR events
226# to the console by default.  This functionality can be toggled via the
227# debug.ktr_verbose sysctl and defaults to off if KTR_VERBOSE is not defined.
228#
229options 	KTR
230options 	KTR_ENTRIES=1024
231options 	KTR_COMPILE="(KTR_INTR|KTR_PROC)"
232options 	KTR_MASK=KTR_INTR
233options 	KTR_CPUMASK=0x3
234options 	KTR_VERBOSE
235
236#
237# The INVARIANTS option is used in a number of source files to enable
238# extra sanity checking of internal structures.  This support is not
239# enabled by default because of the extra time it would take to check
240# for these conditions, which can only occur as a result of
241# programming errors.
242#
243options 	INVARIANTS
244
245#
246# The INVARIANT_SUPPORT option makes us compile in support for
247# verifying some of the internal structures.  It is a prerequisite for
248# 'INVARIANTS', as enabling 'INVARIANTS' will make these functions be
249# called.  The intent is that you can set 'INVARIANTS' for single
250# source files (by changing the source file or specifying it on the
251# command line) if you have 'INVARIANT_SUPPORT' enabled.  Also, if you
252# wish to build a kernel module with 'INVARIANTS', then adding
253# 'INVARIANT_SUPPORT' to your kernel will provide all the necessary
254# infrastructure without the added overhead.
255#
256options 	INVARIANT_SUPPORT
257
258#
259# The DIAGNOSTIC option is used to enable extra debugging information
260# from some parts of the kernel.  As this makes everything more noisy,
261# it is disabled by default.
262#
263options 	DIAGNOSTIC
264
265#
266# REGRESSION causes optional kernel interfaces necessary only for regression
267# testing to be enabled.  These interfaces may consitute security risks
268# when enabled, as they permit processes to easily modify aspects of the
269# run-time environment to reproduce unlikely or unusual (possibly normally
270# impossible) scenarios.
271#
272options 	REGRESSION
273
274#
275# RESTARTABLE_PANICS allows one to continue from a panic as if it were
276# a call to the debugger via the Debugger() function instead.  It is only
277# useful if a kernel debugger is present.  To restart from a panic, reset
278# the panicstr variable to NULL and continue execution.  This option is
279# for development use only and should NOT be used in production systems
280# to "workaround" a panic.
281#
282#options 	RESTARTABLE_PANICS
283
284#
285# This option let some drivers co-exist that can't co-exist in a running
286# system.  This is used to be able to compile all kernel code in one go for
287# quality assurance purposes (like this file, which the option takes it name
288# from.)
289#
290options 	COMPILING_LINT
291
292
293#####################################################################
294# NETWORKING OPTIONS
295
296#
297# Protocol families:
298#  Only the INET (Internet) family is officially supported in FreeBSD.
299#  Source code for the NS (Xerox Network Service) is provided for amusement
300#  value.
301#
302options 	INET			#Internet communications protocols
303options 	INET6			#IPv6 communications protocols
304options 	IPSEC			#IP security
305options 	IPSEC_ESP		#IP security (crypto; define w/ IPSEC)
306options 	IPSEC_DEBUG		#debug for IP security
307
308options 	IPX			#IPX/SPX communications protocols
309options 	IPXIP			#IPX in IP encapsulation (not available)
310options 	IPTUNNEL		#IP in IPX encapsulation (not available)
311
312#options 	NCP			#NetWare Core protocol
313
314options 	NETATALK		#Appletalk communications protocols
315options 	NETATALKDEBUG		#Appletalk debugging
316
317# These are currently broken but are shipped due to interest.
318#options 	NS			#Xerox NS protocols
319#options 	NSIP			#XNS over IP
320
321#
322# SMB/CIFS requester
323# NETSMB enables support for SMB protocol, it requires LIBMCHAIN and LIBICONV
324# options.
325# NETSMBCRYPTO enables support for encrypted passwords.
326options 	NETSMB			#SMB/CIFS requester
327options 	NETSMBCRYPTO		#encrypted password support for SMB
328
329# mchain library. It can be either loaded as KLD or compiled into kernel
330options 	LIBMCHAIN
331
332# netgraph(4). Enable the base netgraph code with the NETGRAPH option.
333# Individual node types can be enabled with the corresponding option
334# listed below; however, this is not strictly necessary as netgraph
335# will automatically load the corresponding KLD module if the node type
336# is not already compiled into the kernel. Each type below has a
337# corresponding man page, e.g., ng_async(8).
338options 	NETGRAPH		#netgraph(4) system
339options 	NETGRAPH_ASYNC
340options 	NETGRAPH_BPF
341options 	NETGRAPH_CISCO
342options 	NETGRAPH_ECHO
343options 	NETGRAPH_ETHER
344options 	NETGRAPH_FRAME_RELAY
345options 	NETGRAPH_GIF
346options 	NETGRAPH_GIF_DEMUX
347options 	NETGRAPH_HOLE
348options 	NETGRAPH_IFACE
349options 	NETGRAPH_IP_INPUT
350options 	NETGRAPH_KSOCKET
351options 	NETGRAPH_LMI
352# MPPC compression requires proprietary files (not included)
353#options 	NETGRAPH_MPPC_COMPRESSION
354options 	NETGRAPH_MPPC_ENCRYPTION
355options 	NETGRAPH_ONE2MANY
356options 	NETGRAPH_PPP
357options 	NETGRAPH_PPPOE
358options 	NETGRAPH_PPTPGRE
359options 	NETGRAPH_RFC1490
360options 	NETGRAPH_SOCKET
361options 	NETGRAPH_SPLIT
362options 	NETGRAPH_TEE
363options 	NETGRAPH_TTY
364options 	NETGRAPH_UI
365options 	NETGRAPH_VJC
366
367device		mn	# Munich32x/Falc54 Nx64kbit/sec cards.
368device		lmc	# tulip based LanMedia WAN cards
369device		musycc	# LMC/SBE LMC1504 quad T1/E1
370
371#
372# Network interfaces:
373#  The `loop' device is MANDATORY when networking is enabled.
374#  The `ether' device provides generic code to handle
375#  Ethernets; it is MANDATORY when a Ethernet device driver is
376#  configured or token-ring is enabled.
377#  The `fddi' device provides generic code to support FDDI.
378#  The `arcnet' device provides generic code to support Arcnet.
379#  The `sppp' device serves a similar role for certain types
380#  of synchronous PPP links (like `cx', `ar').
381#  The `sl' device implements the Serial Line IP (SLIP) service.
382#  The `ppp' device implements the Point-to-Point Protocol.
383#  The `bpf' device enables the Berkeley Packet Filter.  Be
384#  aware of the legal and administrative consequences of enabling this
385#  option.  The number of devices determines the maximum number of
386#  simultaneous BPF clients programs runnable.
387#  The `disc' device implements a minimal network interface,
388#  which throws away all packets sent and never receives any.  It is
389#  included for testing purposes.  This shows up as the `ds' interface.
390#  The `tap' device is a pty-like virtual Ethernet interface
391#  The `tun' device implements (user-)ppp and nos-tun
392#  The `gif' device implements IPv6 over IP4 tunneling,
393#  IPv4 over IPv6 tunneling, IPv4 over IPv4 tunneling and
394#  IPv6 over IPv6 tunneling.
395#  The XBONEHACK option allows the same pair of addresses to be configured on
396#  multiple gif interfaces.
397#  The `faith' device captures packets sent to it and diverts them
398#  to the IPv4/IPv6 translation daemon.
399#  The `stf' device implements 6to4 encapsulation.
400#  The `ef' device provides support for multiple ethernet frame types
401#  specified via ETHER_* options. See ef(4) for details.
402#
403# The PPP_BSDCOMP option enables support for compress(1) style entire
404# packet compression, the PPP_DEFLATE is for zlib/gzip style compression.
405# PPP_FILTER enables code for filtering the ppp data stream and selecting
406# events for resetting the demand dial activity timer - requires bpf.
407# See pppd(8) for more details.
408#
409device		ether			#Generic Ethernet
410device		vlan			#VLAN support
411device		token			#Generic TokenRing
412device		fddi			#Generic FDDI
413device		arcnet			#Generic Arcnet
414device		sppp			#Generic Synchronous PPP
415device		loop	1		#Network loopback device
416device		bpf			#Berkeley packet filter
417device		disc			#Discard device (ds0, ds1, etc)
418device		tap			#Virtual Ethernet driver
419device		tun			#Tunnel driver (ppp(8), nos-tun(8))
420device		sl			#Serial Line IP
421device		ppp	2		#Point-to-point protocol
422options 	PPP_BSDCOMP		#PPP BSD-compress support
423options 	PPP_DEFLATE		#PPP zlib/deflate/gzip support
424options 	PPP_FILTER		#enable bpf filtering (needs bpf)
425
426device		ef			# Multiple ethernet frames support
427options 	ETHER_II		# enable Ethernet_II frame
428options 	ETHER_8023		# enable Ethernet_802.3 (Novell) frame
429options 	ETHER_8022		# enable Ethernet_802.2 frame
430options 	ETHER_SNAP		# enable Ethernet_802.2/SNAP frame
431
432# for IPv6
433device		gif			#IPv6 and IPv4 tunneling
434options 	XBONEHACK
435device		faith			#for IPv6 and IPv4 translation
436device		stf			#6to4 IPv6 over IPv4 encapsulation
437
438#
439# Internet family options:
440#
441# MROUTING enables the kernel multicast packet forwarder, which works
442# with mrouted(8).
443#
444# IPFIREWALL enables support for IP firewall construction, in
445# conjunction with the `ipfw' program.  IPFIREWALL_VERBOSE sends
446# logged packets to the system logger.  IPFIREWALL_VERBOSE_LIMIT
447# limits the number of times a matching entry can be logged.
448#
449# WARNING:  IPFIREWALL defaults to a policy of "deny ip from any to any"
450# and if you do not add other rules during startup to allow access,
451# YOU WILL LOCK YOURSELF OUT.  It is suggested that you set firewall_type=open
452# in /etc/rc.conf when first enabling this feature, then refining the
453# firewall rules in /etc/rc.firewall after you've tested that the new kernel
454# feature works properly.
455#
456# IPFIREWALL_DEFAULT_TO_ACCEPT causes the default rule (at boot) to
457# allow everything.  Use with care, if a cracker can crash your
458# firewall machine, they can get to your protected machines.  However,
459# if you are using it as an as-needed filter for specific problems as
460# they arise, then this may be for you.  Changing the default to 'allow'
461# means that you won't get stuck if the kernel and /sbin/ipfw binary get
462# out of sync.
463#
464# IPDIVERT enables the divert IP sockets, used by ``ipfw divert''
465#
466# IPSTEALTH enables code to support stealth forwarding (i.e., forwarding
467# packets without touching the ttl).  This can be useful to hide firewalls
468# from traceroute and similar tools.
469#
470# PFIL_HOOKS enables an abtraction layer which is meant to be used in
471# network code where filtering is required.  See the pfil(9) man page.
472# This option is a subset of the IPFILTER option.
473#
474# TCPDEBUG enables code which keeps traces of the TCP state machine
475# for sockets with the SO_DEBUG option set, which can then be examined
476# using the trpt(8) utility.
477#
478options 	MROUTING		# Multicast routing
479options 	IPFIREWALL		#firewall
480options 	IPFIREWALL_VERBOSE	#enable logging to syslogd(8)
481options 	IPFIREWALL_FORWARD	#enable transparent proxy support
482options 	IPFIREWALL_VERBOSE_LIMIT=100	#limit verbosity
483options 	IPFIREWALL_DEFAULT_TO_ACCEPT	#allow everything by default
484options 	IPV6FIREWALL		#firewall for IPv6
485options 	IPV6FIREWALL_VERBOSE
486options 	IPV6FIREWALL_VERBOSE_LIMIT=100
487options 	IPV6FIREWALL_DEFAULT_TO_ACCEPT
488options 	IPDIVERT		#divert sockets
489options 	IPFILTER		#ipfilter support
490options 	IPFILTER_LOG		#ipfilter logging
491options 	IPFILTER_DEFAULT_BLOCK	#block all packets by default
492options 	IPSTEALTH		#support for stealth forwarding
493options 	PFIL_HOOKS
494options 	TCPDEBUG
495
496# RANDOM_IP_ID causes the ID field in IP packets to be randomized
497# instead of incremented by 1 with each packet generated.  This
498# option closes a minor information leak which allows remote
499# observers to determine the rate of packet generation on the
500# machine by watching the counter.
501options 	RANDOM_IP_ID
502
503# Statically Link in accept filters
504options 	ACCEPT_FILTER_DATA
505options 	ACCEPT_FILTER_HTTP
506
507# TCP_DROP_SYNFIN adds support for ignoring TCP packets with SYN+FIN. This
508# prevents nmap et al. from identifying the TCP/IP stack, but breaks support
509# for RFC1644 extensions and is not recommended for web servers.
510#
511options 	TCP_DROP_SYNFIN		#drop TCP packets with SYN+FIN
512
513# DUMMYNET enables the "dummynet" bandwidth limiter. You need
514# IPFIREWALL as well. See the dummynet(4) and ipfw(8) manpages for more info.
515# When you run DUMMYNET it is advisable to also have "options HZ=1000"
516# to achieve a smoother scheduling of the traffic.
517#
518# BRIDGE enables bridging between ethernet cards -- see bridge(4).
519# You can use IPFIREWALL and DUMMYNET together with bridging.
520#
521options 	DUMMYNET
522options 	BRIDGE
523
524#
525# ATM (HARP version) options
526#
527# ATM_CORE includes the base ATM functionality code.  This must be included
528#	for ATM support.
529#
530# ATM_IP includes support for running IP over ATM.
531#
532# At least one (and usually only one) of the following signalling managers
533# must be included (note that all signalling managers include PVC support):
534# ATM_SIGPVC includes support for the PVC-only signalling manager `sigpvc'.
535# ATM_SPANS includes support for the `spans' signalling manager, which runs
536#	the FORE Systems's proprietary SPANS signalling protocol.
537# ATM_UNI includes support for the `uni30' and `uni31' signalling managers,
538#	which run the ATM Forum UNI 3.x signalling protocols.
539#
540# The `hea' driver provides support for the Efficient Networks, Inc.
541# ENI-155p ATM PCI Adapter.
542#
543# The `hfa' driver provides support for the FORE Systems, Inc.
544# PCA-200E ATM PCI Adapter.
545#
546options 	ATM_CORE		#core ATM protocol family
547options 	ATM_IP			#IP over ATM support
548options 	ATM_SIGPVC		#SIGPVC signalling manager
549options 	ATM_SPANS		#SPANS signalling manager
550options 	ATM_UNI			#UNI signalling manager
551# Broken:
552##device	hea			#Efficient ENI-155p ATM PCI
553device		hfa			#FORE PCA-200E ATM PCI
554
555
556#####################################################################
557# FILESYSTEM OPTIONS
558
559#
560# Only the root, /usr, and /tmp filesystems need be statically
561# compiled; everything else will be automatically loaded at mount
562# time.  (Exception: the UFS family--- FFS --- cannot
563# currently be demand-loaded.)  Some people still prefer to statically
564# compile other filesystems as well.
565#
566# NB: The NULL, PORTAL, UMAP and UNION filesystems are known to be
567# buggy, and WILL panic your system if you attempt to do anything with
568# them.  They are included here as an incentive for some enterprising
569# soul to sit down and fix them.
570#
571
572# One of these is mandatory:
573options 	FFS			#Fast filesystem
574options 	NFSCLIENT		#Network File System
575options 	NFSSERVER		#Network File System
576
577# The rest are optional:
578options 	CD9660			#ISO 9660 filesystem
579options 	FDESCFS			#File descriptor filesystem
580options 	HPFS			#OS/2 File system
581options 	MSDOSFS			#MS DOS File System (FAT, FAT32)
582options 	NTFS			#NT File System
583options 	NULLFS			#NULL filesystem
584#options 	NWFS			#NetWare filesystem
585options 	PORTALFS		#Portal filesystem
586options 	PROCFS			#Process filesystem (requires PSEUDOFS)
587options 	PSEUDOFS		#Pseudo-filesystem framework
588options 	SMBFS			#SMB/CIFS filesystem
589options		UDF			#Universal Disk Format
590options 	UMAPFS			#UID map filesystem
591options 	UNIONFS			#Union filesystem
592# options 	NODEVFS			#disable devices filesystem
593# The xFS_ROOT options REQUIRE the associated ``options xFS''
594options 	NFS_ROOT		#NFS usable as root device
595
596# Soft updates is a technique for improving filesystem speed and
597# making abrupt shutdown less risky.
598#
599options 	SOFTUPDATES
600
601# Extended attributes allow additional data to be associated with files,
602# and is used for ACLs, Capabilities, and MAC labels.
603# See src/sys/ufs/ufs/README.extattr for more information.
604options 	UFS_EXTATTR
605options 	UFS_EXTATTR_AUTOSTART
606
607# Access Control List support for UFS filesystems.  The current ACL
608# implementation requires extended attribute support, UFS_EXTATTR,
609# for the underlying filesystem.
610# See src/sys/ufs/ufs/README.acls for more information.
611options 	UFS_ACL
612
613# Directory hashing improves the speed of operations on very large
614# directories at the expense of some memory.
615options 	UFS_DIRHASH
616
617# Make space in the kernel for a root filesystem on a md device.
618# Define to the number of kilobytes to reserve for the filesystem.
619options 	MD_ROOT_SIZE=10
620
621# Make the md device a potential root device, either with preloaded
622# images of type mfs_root or md_root.
623options 	MD_ROOT
624
625# Allow this many swap-devices.
626#
627# In order to manage swap, the system must reserve bitmap space that
628# scales with the largest mounted swap device multiplied by NSWAPDEV, 
629# irregardless of whether other swap devices exist or not.  So it
630# is not a good idea to make this value too large.
631options 	NSWAPDEV=5
632
633# Disk quotas are supported when this option is enabled.
634options 	QUOTA			#enable disk quotas
635
636# If you are running a machine just as a fileserver for PC and MAC
637# users, using SAMBA or Netatalk, you may consider setting this option
638# and keeping all those users' directories on a filesystem that is
639# mounted with the suiddir option. This gives new files the same
640# ownership as the directory (similar to group). It's a security hole
641# if you let these users run programs, so confine it to file-servers
642# (but it'll save you lots of headaches in those cases). Root owned
643# directories are exempt and X bits are cleared. The suid bit must be
644# set on the directory as well; see chmod(1) PC owners can't see/set
645# ownerships so they keep getting their toes trodden on. This saves
646# you all the support calls as the filesystem it's used on will act as
647# they expect: "It's my dir so it must be my file".
648#
649options 	SUIDDIR
650
651# NFS options:
652options 	NFS_MINATTRTIMO=3	# VREG attrib cache timeout in sec
653options 	NFS_MAXATTRTIMO=60
654options 	NFS_MINDIRATTRTIMO=30	# VDIR attrib cache timeout in sec
655options 	NFS_MAXDIRATTRTIMO=60
656options 	NFS_GATHERDELAY=10	# Default write gather delay (msec)
657options 	NFS_WDELAYHASHSIZ=16	# and with this
658options 	NFS_DEBUG		# Enable NFS Debugging
659
660# Coda stuff:
661options 	CODA			#CODA filesystem.
662device		vcoda	4		#coda minicache <-> venus comm.
663
664#
665# Add support for the EXT2FS filesystem of Linux fame.  Be a bit
666# careful with this - the ext2fs code has a tendency to lag behind
667# changes and not be exercised very much, so mounting read/write could
668# be dangerous (and even mounting read only could result in panics.)
669#
670options 	EXT2FS
671
672# Use real implementations of the aio_* system calls.  There are numerous
673# stability and security issues in the current aio code that make it
674# unsuitable for inclusion on machines with untrusted local users.
675options 	VFS_AIO
676
677# Enable the code UFS IO optimization through the VM system.  This allows
678# use VM operations instead of copying operations when possible.
679# 
680# Even with this enabled, actual use of the code is still controlled by the
681# sysctl vfs.ioopt.  0 gives no optimization, 1 gives normal (use VM
682# operations if a request happens to fit), 2 gives agressive optimization
683# (the operations are split to do as much as possible through the VM system.)
684#
685# Enabling this will probably not give an overall speedup except for
686# special workloads.
687options 	ENABLE_VFS_IOOPT
688
689# Cryptographically secure random number generator; /dev/[u]random
690device		random
691
692
693#####################################################################
694# POSIX P1003.1B
695
696# Real time extensions added in the 1993 Posix
697# P1003_1B: Infrastructure
698# _KPOSIX_PRIORITY_SCHEDULING: Build in _POSIX_PRIORITY_SCHEDULING
699# _KPOSIX_VERSION:             Version kernel is built for
700
701options 	P1003_1B
702options 	_KPOSIX_PRIORITY_SCHEDULING
703options 	_KPOSIX_VERSION=199309L
704
705
706#####################################################################
707# CLOCK OPTIONS
708
709# The granularity of operation is controlled by the kernel option HZ whose
710# default value (100) means a granularity of 10ms (1s/HZ).
711# Some subsystems, such as DUMMYNET, might benefit from a smaller
712# granularity such as 1ms or less, for a smoother scheduling of packets.
713# Consider, however, that reducing the granularity too much might
714# cause excessive overhead in clock interrupt processing,
715# potentially causing ticks to be missed and thus actually reducing
716# the accuracy of operation.
717
718options 	HZ=100
719
720
721#####################################################################
722# SCSI DEVICES
723
724# SCSI DEVICE CONFIGURATION
725
726# The SCSI subsystem consists of the `base' SCSI code, a number of
727# high-level SCSI device `type' drivers, and the low-level host-adapter
728# device drivers.  The host adapters are listed in the ISA and PCI
729# device configuration sections below.
730#
731# Beginning with FreeBSD 2.0.5 you can wire down your SCSI devices so
732# that a given bus, target, and LUN always come on line as the same
733# device unit.  In earlier versions the unit numbers were assigned
734# in the order that the devices were probed on the SCSI bus.  This
735# means that if you removed a disk drive, you may have had to rewrite
736# your /etc/fstab file, and also that you had to be careful when adding
737# a new disk as it may have been probed earlier and moved your device
738# configuration around.
739
740# This old behavior is maintained as the default behavior.  The unit
741# assignment begins with the first non-wired down unit for a device
742# type.  For example, if you wire a disk as "da3" then the first
743# non-wired disk will be assigned da4.
744
745# The syntax for wiring down devices is:
746
747hint.scbus.0.at="ahc0"
748hint.scbus.1.at="ahc1"
749hint.scbus.1.bus="0"
750hint.scbus.3.at="ahc2"
751hint.scbus.3.bus="0"
752hint.scbus.2.at="ahc2"
753hint.scbus.2.bus="1"
754hint.da.0.at="scbus0"
755hint.da.0.target="0"
756hint.da.0.unit="0"
757hint.da.1.at="scbus3"
758hint.da.1.target="1"
759hint.da.2.at="scbus2"
760hint.da.2.target="3"
761hint.sa.1.at="scbus1"
762hint.sa.1.target="6"
763
764# "units" (SCSI logical unit number) that are not specified are
765# treated as if specified as LUN 0.
766
767# All SCSI devices allocate as many units as are required.
768
769# The ch driver drives SCSI Media Changer ("jukebox") devices.
770#
771# The da driver drives SCSI Direct Access ("disk") and Optical Media
772# ("WORM") devices.
773#
774# The sa driver drives SCSI Sequential Access ("tape") devices.
775#
776# The cd driver drives SCSI Read Only Direct Access ("cd") devices.
777#
778# The ses driver drives SCSI Envinronment Services ("ses") and
779# SAF-TE ("SCSI Accessable Fault-Tolerant Enclosure") devices.
780#
781# The pt driver drives SCSI Processor devices.
782#
783# 
784# Target Mode support is provided here but also requires that a SIM
785# (SCSI Host Adapter Driver) provide support as well.
786#
787# The targ driver provides target mode support as a Processor type device.
788# It exists to give the minimal context necessary to respond to Inquiry
789# commands. There is a sample user application that shows how the rest
790# of the command support might be done in /usr/share/examples/scsi_target.
791#
792# The targbh driver provides target mode support and exists to respond
793# to incoming commands that do not otherwise have a logical unit assigned
794# to them.
795# 
796# The "unknown" device (uk? in pre-2.0.5) is now part of the base SCSI
797# configuration as the "pass" driver.
798
799device		scbus		#base SCSI code
800device		ch		#SCSI media changers
801device		da		#SCSI direct access devices (aka disks)
802device		sa		#SCSI tapes
803device		cd		#SCSI CD-ROMs
804device		ses		#SCSI Environmental Services (and SAF-TE)
805device		pt		#SCSI processor 
806device		targ		#SCSI Target Mode Code
807device		targbh		#SCSI Target Mode Blackhole Device
808device		pass		#CAM passthrough driver
809
810# CAM OPTIONS:
811# debugging options:
812# -- NOTE --  If you specify one of the bus/target/lun options, you must
813#             specify them all!
814# CAMDEBUG: When defined enables debugging macros
815# CAM_DEBUG_BUS:  Debug the given bus.  Use -1 to debug all busses.
816# CAM_DEBUG_TARGET:  Debug the given target.  Use -1 to debug all targets.
817# CAM_DEBUG_LUN:  Debug the given lun.  Use -1 to debug all luns.
818# CAM_DEBUG_FLAGS:  OR together CAM_DEBUG_INFO, CAM_DEBUG_TRACE,
819#                   CAM_DEBUG_SUBTRACE, and CAM_DEBUG_CDB
820#
821# CAM_MAX_HIGHPOWER: Maximum number of concurrent high power (start unit) cmds
822# CAM_NEW_TRAN_CODE: this is the new transport layer code that will be switched
823#			to soon
824# SCSI_NO_SENSE_STRINGS: When defined disables sense descriptions
825# SCSI_NO_OP_STRINGS: When defined disables opcode descriptions
826# SCSI_DELAY: The number of MILLISECONDS to freeze the SIM (scsi adapter)
827#             queue after a bus reset, and the number of milliseconds to
828#             freeze the device queue after a bus device reset.
829options 	CAMDEBUG
830options 	CAM_DEBUG_BUS=-1
831options 	CAM_DEBUG_TARGET=-1
832options 	CAM_DEBUG_LUN=-1
833options 	CAM_DEBUG_FLAGS="CAM_DEBUG_INFO|CAM_DEBUG_TRACE|CAM_DEBUG_CDB"
834options 	CAM_MAX_HIGHPOWER=4
835options 	SCSI_NO_SENSE_STRINGS
836options 	SCSI_NO_OP_STRINGS
837options 	SCSI_DELAY=8000	# Be pessimistic about Joe SCSI device
838
839# Options for the CAM CDROM driver:
840# CHANGER_MIN_BUSY_SECONDS: Guaranteed minimum time quantum for a changer LUN
841# CHANGER_MAX_BUSY_SECONDS: Maximum time quantum per changer LUN, only
842#                           enforced if there is I/O waiting for another LUN
843# The compiled in defaults for these variables are 2 and 10 seconds,
844# respectively.
845#
846# These can also be changed on the fly with the following sysctl variables:
847# kern.cam.cd.changer.min_busy_seconds
848# kern.cam.cd.changer.max_busy_seconds
849#
850options 	CHANGER_MIN_BUSY_SECONDS=2
851options 	CHANGER_MAX_BUSY_SECONDS=10
852
853# Options for the CAM sequential access driver:
854# SA_IO_TIMEOUT: Timeout for read/write/wfm  operations, in minutes
855# SA_SPACE_TIMEOUT: Timeout for space operations, in minutes
856# SA_REWIND_TIMEOUT: Timeout for rewind operations, in minutes
857# SA_ERASE_TIMEOUT: Timeout for erase operations, in minutes
858# SA_1FM_AT_EOD: Default to model which only has a default one filemark at EOT.
859options 	SA_IO_TIMEOUT="(4)"
860options 	SA_SPACE_TIMEOUT="(60)"
861options 	SA_REWIND_TIMEOUT="(2*60)"
862options 	SA_ERASE_TIMEOUT="(4*60)"
863options 	SA_1FM_AT_EOD
864
865# Optional timeout for the CAM processor target (pt) device
866# This is specified in seconds.  The default is 60 seconds.
867options 	SCSI_PT_DEFAULT_TIMEOUT="60"
868
869# Optional enable of doing SES passthrough on other devices (e.g., disks)
870#
871# Normally disabled because a lot of newer SCSI disks report themselves
872# as having SES capabilities, but this can then clot up attempts to build
873# build a topology with the SES device that's on the box these drives
874# are in....
875options 	SES_ENABLE_PASSTHROUGH
876
877
878#####################################################################
879# MISCELLANEOUS DEVICES AND OPTIONS
880
881# The `pty' device usually turns out to be ``effectively mandatory'',
882# as it is required for `telnetd', `rlogind', `screen', `emacs', and
883# `xterm', among others.
884
885device		pty		#Pseudo ttys
886device		nmdm		#back-to-back tty devices
887device		md		#Memory/malloc disk
888device		snp		#Snoop device - to look at pty/vty/etc..
889device		ccd		#Concatenated disk driver
890
891# Configuring Vinum into the kernel is not necessary, since the kld
892# module gets started automatically when vinum(8) starts.  This
893# device is also untested.  Use at your own risk.
894#
895# The option VINUMDEBUG must match the value set in CFLAGS
896# in src/sbin/vinum/Makefile.  Failure to do so will result in
897# the following message from vinum(8):
898#
899# Can't get vinum config: Invalid argument
900#
901# see vinum(4) for more reasons not to use these options.
902device		vinum		#Vinum concat/mirror/raid driver
903options 	VINUMDEBUG	#enable Vinum debugging hooks
904
905# Kernel side iconv library
906options 	LIBICONV
907
908# Size of the kernel message buffer.  Should be N * pagesize.
909options 	MSGBUF_SIZE=40960
910
911
912#####################################################################
913# HARDWARE BUS CONFIGURATION
914
915#
916# ISA bus
917#
918
919options 	COMPAT_OLDISA	#Use ISA shims and glue for old drivers
920
921# Enable support for the kernel PLL to use an external PPS signal,
922# under supervision of [x]ntpd(8)
923# More info in ntpd documentation: http://www.eecis.udel.edu/~ntp
924
925options 	PPS_SYNC
926
927# If you see the "calcru: negative time of %ld usec for pid %d (%s)\n"
928# message you probably have some broken sw/hw which disables interrupts
929# for too long.  You can make the system more resistant to this by
930# choosing a high value for NTIMECOUNTER.  The default is 5, there
931# is no upper limit but more than a couple of hundred are not productive.
932
933options 	NTIMECOUNTER=20
934
935# 
936# EISA bus
937#
938
939# By default, only 10 EISA slots are probed, since the slot numbers
940# above clash with the configuration address space of the PCI subsystem,
941# and the EISA probe is not very smart about this.  This is sufficient
942# for most machines, but in particular the HP NetServer LC series comes
943# with an onboard AIC7770 dual-channel SCSI controller on EISA slot #11,
944# thus you need to bump this figure to 12 for them.
945options 	EISA_SLOTS=12
946
947#
948# PCI bus & PCI options:
949#
950
951
952#####################################################################
953# HARDWARE DEVICE CONFIGURATION
954
955# For ISA the required hints are listed.
956# EISA, MCA, PCI and pccard are self identifying buses, so no hints
957# are needed.
958
959#
960# Mandatory devices:
961#
962
963# The keyboard controller; it controls the keyboard and the PS/2 mouse.
964device		atkbdc	1
965hint.atkbdc.0.at="isa"
966hint.atkbdc.0.port="0x060"
967
968# The AT keyboard
969device		atkbd
970hint.atkbd.0.at="atkbdc"
971hint.atkbd.0.irq="1"
972
973# Options for atkbd:
974options 	ATKBD_DFLT_KEYMAP	# specify the built-in keymap
975makeoptions	ATKBD_DFLT_KEYMAP="jp.106"
976
977# These options are valid for other keyboard drivers as well.
978options 	KBD_DISABLE_KEYMAP_LOAD	# refuse to load a keymap
979options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
980
981# `flags' for atkbd:
982#       0x01    Force detection of keyboard, else we always assume a keyboard
983#       0x02    Don't reset keyboard, useful for some newer ThinkPads
984#	0x03	Force detection and avoid reset, might help with certain
985#		dockingstations
986#       0x04    Old-style (XT) keyboard support, useful for older ThinkPads
987
988# PS/2 mouse
989device		psm
990hint.psm.0.at="atkbdc"
991hint.psm.0.irq="12"
992
993# Options for psm:
994options 	PSM_HOOKRESUME		#hook the system resume event, useful
995					#for some laptops
996options 	PSM_RESETAFTERSUSPEND	#reset the device at the resume event
997
998# The video card driver.
999device		vga
1000hint.vga.0.at="isa"
1001
1002# Options for vga:
1003# Try the following option if the mouse pointer is not drawn correctly
1004# or font does not seem to be loaded properly.  May cause flicker on
1005# some systems.
1006options 	VGA_ALT_SEQACCESS
1007
1008# If you can dispense with some vga driver features, you may want to
1009# use the following options to save some memory.
1010#options 	VGA_NO_FONT_LOADING	# don't save/load font
1011#options 	VGA_NO_MODE_CHANGE	# don't change video modes
1012
1013# Older video cards may require this option for proper operation.
1014options 	VGA_SLOW_IOACCESS	# do byte-wide i/o's to TS and GDC regs
1015
1016# The following option probably won't work with the LCD displays.
1017options 	VGA_WIDTH90		# support 90 column modes
1018
1019options 	FB_DEBUG		# Frame buffer debugging
1020options 	FB_INSTALL_CDEV		# install a CDEV entry in /dev
1021
1022# Splash screen at start up!  Screen savers require this too.
1023device		splash
1024
1025# Various screen savers.
1026device		apm_saver		# Requires APM
1027device		blank_saver
1028device		daemon_saver
1029device		fade_saver
1030device		fire_saver
1031device		green_saver
1032device		logo_saver
1033device		rain_saver
1034device		star_saver
1035device		warp_saver
1036
1037# The syscons console driver (sco color console compatible).
1038device		sc	1
1039hint.sc.0.at="isa"
1040options 	MAXCONS=16		# number of virtual consoles
1041options 	SC_ALT_MOUSE_IMAGE	# simplified mouse cursor in text mode
1042options 	SC_DFLT_FONT		# compile font in
1043makeoptions	SC_DFLT_FONT=cp850
1044options 	SC_DISABLE_DDBKEY	# disable `debug' key
1045options 	SC_DISABLE_REBOOT	# disable reboot key sequence
1046options 	SC_HISTORY_SIZE=200	# number of history buffer lines
1047options 	SC_MOUSE_CHAR=0x3	# char code for text mode mouse cursor
1048options 	SC_PIXEL_MODE		# add support for the raster text mode
1049
1050# The following options will let you change the default colors of syscons.
1051options 	SC_NORM_ATTR="(FG_GREEN|BG_BLACK)"
1052options 	SC_NORM_REV_ATTR="(FG_YELLOW|BG_GREEN)"
1053options 	SC_KERNEL_CONS_ATTR="(FG_RED|BG_BLACK)"
1054options 	SC_KERNEL_CONS_REV_ATTR="(FG_BLACK|BG_RED)"
1055
1056# The following options will let you change the default behaviour of
1057# cut-n-paste feature
1058options 	SC_CUT_SPACES2TABS	# convert leading spaces into tabs
1059options 	SC_CUT_SEPCHARS="\x20"	# set of characters that delimit words
1060					# (default is single space - "\x20")
1061
1062# If you have a two button mouse, you may want to add the following option
1063# to use the right button of the mouse to paste text.
1064options 	SC_TWOBUTTON_MOUSE
1065
1066# You can selectively disable features in syscons.
1067options 	SC_NO_CUTPASTE
1068options 	SC_NO_FONT_LOADING
1069options 	SC_NO_HISTORY
1070options 	SC_NO_SYSMOUSE
1071
1072# `flags' for sc
1073#	0x80	Put the video card in the VESA 800x600 dots, 16 color mode
1074#	0x100	Probe for a keyboard device periodically if one is not present
1075
1076#
1077# ACPI support using the Intel ACPI Component Architecture reference
1078# implementation.
1079#
1080# ACPI_DEBUG enables the use of the debug.acpi.level and debug.acpi.layer
1081# kernel environment variables to select initial debugging levels for the
1082# Intel ACPICA code.  (Note that the Intel code must also have USE_DEBUGGER
1083# defined when it is built).
1084#
1085# Note that building ACPI into the kernel is deprecated; the module is
1086# normally loaded automatically by the loader.
1087#
1088device		acpica
1089options 	ACPI_DEBUG
1090
1091#
1092# Optional devices:
1093#
1094
1095# DRM options:
1096# gammadrm:  3Dlabs Oxygen GMX 2000
1097# mgadrm:    AGP Matrox G200, G400, G450, G550
1098# tdfxdrm:   3dfx Voodoo 3/4/5 and Banshee
1099# r128drm:   AGP ATI Rage 128
1100# radeondrm: AGP ATI Radeon, including 7200 and 7500
1101# DRM_LINUX: include linux compatibility, requires COMPAT_LINUX
1102# DRM_DEBUG: inlcude debugging code, very slow
1103#
1104# mga, r128, and radeon require AGP in the kernel
1105
1106device		gammadrm
1107device		mgadrm
1108device		"r128drm"
1109device		radeondrm
1110device		tdfxdrm
1111
1112options 	DRM_DEBUG
1113options 	DRM_LINUX
1114
1115# 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support. This will create
1116# the /dev/3dfx0 device to work with glide implementations. This should get
1117# linked to /dev/3dfx and /dev/voodoo. Note that this is not the same as
1118# the tdfx DRI module from XFree86 and is completely unrelated.
1119#
1120# To enable Linuxulator support, one must also include COMPAT_LINUX in the
1121# config as well, or you will not have the dependencies. The other option
1122# is to load both as modules.
1123
1124device 		tdfx			# Enable 3Dfx Voodoo support
1125options 	TDFX_LINUX		# Enable Linuxulator support
1126
1127#
1128# SCSI host adapters:
1129#
1130# adv: All Narrow SCSI bus AdvanSys controllers.
1131# adw: Second Generation AdvanSys controllers including the ADV940UW.
1132# aha: Adaptec 154x/1535/1640
1133# ahb: Adaptec 174x EISA controllers
1134# ahc: Adaptec 274x/284x/2910/293x/294x/394x/3950x/3960x/398X/4944/
1135#      19160x/29160x, aic7770/aic78xx
1136# aic: Adaptec 6260/6360, APA-1460 (PC Card), NEC PC9801-100 (C-BUS)
1137# amd: Support for the AMD 53C974 SCSI host adapter chip as found on devices
1138#      such as the Tekram DC-390(T).
1139# bt:  Most Buslogic controllers: including BT-445, BT-54x, BT-64x, BT-74x,
1140#      BT-75x, BT-946, BT-948, BT-956, BT-958, SDC3211B, SDC3211F, SDC3222F
1141# isp: Qlogic ISP 1020, 1040 and 1040B PCI SCSI host adapters,
1142#      ISP 1240 Dual Ultra SCSI, ISP 1080 and 1280 (Dual) Ultra2,
1143#      ISP 12160 Ultra3 SCSI,
1144#      Qlogic ISP 2100 and ISP 2200 1Gb Fibre Channel host adapters.
1145#      Qlogic ISP 2300 and ISP 2312 2Gb Fibre Channel host adapters.
1146# ispfw: Firmware module for Qlogic host adapters
1147# ncr: NCR 53C810, 53C825 self-contained SCSI host adapters.
1148# ncv: NCR 53C500 based SCSI host adapters.
1149# nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters.
1150# stg: TMC 18C30, 18C50 based SCSI host adapters.
1151# sym: Symbios/Logic 53C8XX family of PCI-SCSI I/O processors:
1152#      53C810, 53C810A, 53C815, 53C825,  53C825A, 53C860, 53C875, 
1153#      53C876, 53C885,  53C895, 53C895A, 53C896,  53C897, 53C1510D, 
1154#      53C1010-33, 53C1010-66.
1155# wds: WD7000
1156
1157#
1158# Note that the order is important in order for Buslogic ISA/EISA cards to be
1159# probed correctly.
1160#
1161device		bt
1162hint.bt.0.at="isa"
1163hint.bt.0.port="0x330"
1164device		adv
1165hint.adv.0.at="isa"
1166device		adw
1167device		aha
1168hint.aha.0.at="isa"
1169device		aic
1170hint.aic.0.at="isa"
1171device		ahb
1172device		ahc
1173device		amd
1174device		isp
1175hint.isp.0.disable="1"
1176hint.isp.0.role="3"
1177hint.isp.0.prefer_iomap="1"
1178hint.isp.0.prefer_memmap="1"
1179hint.isp.0.fwload_disable="1"
1180hint.isp.0.ignore_nvram="1"
1181hint.isp.0.fullduplex="1"
1182hint.isp.0.topology="lport"
1183hint.isp.0.topology="nport"
1184hint.isp.0.topology="lport-only"
1185hint.isp.0.topology="nport-only"
1186# we can't get u_int64_t types, nor can we get strings if it's got
1187# a leading 0x, hence this silly dodge.
1188hint.isp.0.portwnn="w50000000aaaa0000"
1189hint.isp.0.nodewnn="w50000000aaaa0001"
1190device		ispfw
1191device		ncr
1192device		ncv
1193device		nsp
1194device		sym
1195device		stg
1196hint.stg.0.at="isa"
1197hint.stg.0.port="0x140"
1198hint.stg.0.port="11"
1199device		wds
1200hint.wds.0.at="isa"
1201hint.wds.0.port="0x350"
1202hint.wds.0.irq="11"
1203hint.wds.0.drq="6"
1204
1205# The aic7xxx driver will attempt to use memory mapped I/O for all PCI
1206# controllers that have it configured only if this option is set. Unfortunately,
1207# this doesn't work on some motherboards, which prevents it from being the
1208# default.
1209options 	AHC_ALLOW_MEMIO
1210
1211# Enable diagnostic sequencer code.
1212options 	AHC_DEBUG_SEQUENCER
1213
1214# Dump the contents of the ahc controller configuration PROM.
1215options 	AHC_DUMP_EEPROM
1216
1217# Bitmap of units to enable targetmode operations.
1218options 	AHC_TMODE_ENABLE
1219
1220# The adw driver will attempt to use memory mapped I/O for all PCI
1221# controllers that have it configured only if this option is set.
1222options 	ADW_ALLOW_MEMIO
1223
1224# Options used in dev/isp/ (Qlogic SCSI/FC driver).
1225#
1226#	ISP_TARGET_MODE		-	enable target mode operation
1227#
1228#options 	ISP_TARGET_MODE=1
1229
1230# Options used in dev/sym/ (Symbios SCSI driver).
1231#options 	SYM_SETUP_LP_PROBE_MAP	#-Low Priority Probe Map (bits)
1232					# Allows the ncr to take precedence
1233					# 1 (1<<0) -> 810a, 860
1234					# 2 (1<<1) -> 825a, 875, 885, 895
1235					# 4 (1<<2) -> 895a, 896, 1510d 
1236#options 	SYM_SETUP_SCSI_DIFF	#-HVD support for 825a, 875, 885
1237					# disabled:0 (default), enabled:1
1238#options 	SYM_SETUP_PCI_PARITY	#-PCI parity checking
1239					# disabled:0, enabled:1 (default)
1240#options 	SYM_SETUP_MAX_LUN	#-Number of LUNs supported
1241					# default:8, range:[1..64]
1242
1243# The 'asr' driver provides support for current DPT/Adaptec SCSI RAID
1244# controllers (SmartRAID V and VI and later).
1245# These controllers require the CAM infrastructure.
1246#
1247device		asr
1248
1249# The 'dpt' driver provides support for old DPT controllers (http://www.dpt.com/).
1250# These have hardware RAID-{0,1,5} support, and do multi-initiator I/O.
1251# The DPT controllers are commonly re-licensed under other brand-names -
1252# some controllers by Olivetti, Dec, HP, AT&T, SNI, AST, Alphatronic, NEC and
1253# Compaq are actually DPT controllers.
1254#
1255# See src/sys/dev/dpt for debugging and other subtle options.
1256#   DPT_MEASURE_PERFORMANCE Enables a set of (semi)invasive metrics. Various
1257#                           instruments are enabled.  The tools in
1258#                           /usr/sbin/dpt_* assume these to be enabled.
1259#   DPT_HANDLE_TIMEOUTS     Normally device timeouts are handled by the DPT.
1260#                           If you ant the driver to handle timeouts, enable
1261#                           this option.  If your system is very busy, this
1262#                           option will create more trouble than solve.
1263#   DPT_TIMEOUT_FACTOR      Used to compute the excessive amount of time to
1264#                           wait when timing out with the above option.
1265#  DPT_DEBUG_xxxx           These are controllable from sys/dev/dpt/dpt.h
1266#  DPT_LOST_IRQ             When enabled, will try, once per second, to catch
1267#                           any interrupt that got lost.  Seems to help in some
1268#                           DPT-firmware/Motherboard combinations.  Minimal
1269#                           cost, great benefit.
1270#  DPT_RESET_HBA            Make "reset" actually reset the controller
1271#                           instead of fudging it.  Only enable this if you
1272#			    are 100% certain you need it.
1273
1274device		dpt
1275
1276# DPT options
1277#!CAM# options 	DPT_MEASURE_PERFORMANCE
1278#!CAM# options 	DPT_HANDLE_TIMEOUTS
1279options 	DPT_TIMEOUT_FACTOR=4
1280options 	DPT_LOST_IRQ
1281options 	DPT_RESET_HBA
1282options 	DPT_ALLOW_MEMIO
1283
1284#
1285# Compaq "CISS" RAID controllers (SmartRAID 5* series)
1286# These controllers have a SCSI-like interface, and require the
1287# CAM infrastructure.
1288#
1289device		ciss
1290
1291#
1292# Intel Integrated RAID controllers.
1293# This driver was developed and is maintained by Intel.  Contacts
1294# at Intel for this driver are
1295# "Kannanthanam, Boji T" <boji.t.kannanthanam@intel.com> and
1296# "Leubner, Achim" <achim.leubner@intel.com>.
1297#
1298device		iir
1299
1300#
1301# Mylex AcceleRAID and eXtremeRAID controllers with v6 and later
1302# firmware.  These controllers have a SCSI-like interface, and require
1303# the CAM infrastructure.
1304#
1305device		mly
1306
1307#
1308# Adaptec FSA RAID controllers, including integrated DELL controllers,
1309# the Dell PERC 2/QC and the HP NetRAID-4M
1310#
1311# AAC_COMPAT_LINUX	Include code to support Linux-binary management
1312#			utilities (requires Linux compatibility
1313#			support).
1314#
1315device		aac
1316device		aacp	# SCSI Passthrough interface (optional, CAM required)
1317
1318#
1319# Compaq Smart RAID, Mylex DAC960 and AMI MegaRAID controllers.  Only
1320# one entry is needed; the code will find and configure all supported
1321# controllers.
1322#
1323device		ida		# Compaq Smart RAID
1324device		mlx		# Mylex DAC960
1325device		amr		# AMI MegaRAID
1326
1327#
1328# 3ware ATA RAID
1329#
1330device		twe		# 3ware ATA RAID
1331
1332#
1333# The 'ATA' driver supports all ATA and ATAPI devices, including PC Card
1334# devices. You only need one "device ata" for it to find all
1335# PCI and PC Card ATA/ATAPI devices on modern machines.
1336device		ata
1337device		atadisk		# ATA disk drives
1338device		atapicd		# ATAPI CDROM drives
1339device		atapifd		# ATAPI floppy drives
1340device		atapist		# ATAPI tape drives
1341
1342#
1343# For older non-PCI, non-PnPBIOS systems, these are the hints lines to add:
1344hint.ata.0.at="isa"
1345hint.ata.0.port="0x1f0"
1346hint.ata.0.irq="14"
1347hint.ata.1.at="isa"
1348hint.ata.1.port="0x170"
1349hint.ata.1.irq="15"
1350
1351#
1352# The following options are valid on the ATA driver:
1353#
1354# ATA_STATIC_ID:	controller numbering is static ie depends on location
1355#			else the device numbers are dynamically allocated.
1356
1357options 	ATA_STATIC_ID
1358
1359#
1360# Standard floppy disk controllers and floppy tapes, supports
1361# the Y-E DATA External FDD (PC Card)
1362#
1363device		fdc
1364hint.fdc.0.at="isa"
1365hint.fdc.0.port="0x3F0"
1366hint.fdc.0.irq="6"
1367hint.fdc.0.drq="2"
1368#
1369# FDC_DEBUG enables floppy debugging.  Since the debug output is huge, you
1370# gotta turn it actually on by setting the variable fd_debug with DDB,
1371# however.
1372options 	FDC_DEBUG
1373#
1374# Activate this line if you happen to have an Insight floppy tape.
1375# Probing them proved to be dangerous for people with floppy disks only,
1376# so it's "hidden" behind a flag:
1377#hint.fdc.0.flags="1"
1378
1379# Specify floppy devices
1380hint.fd.0.at="fdc0"
1381hint.fd.0.drive="0"
1382hint.fd.1.at="fdc0"
1383hint.fd.1.drive="1"
1384
1385#
1386# sio: serial ports (see sio(4)), including support for various
1387#      PC Card devices, such as Modem and NICs (see etc/defaults/pccard.conf)
1388
1389device		sio
1390hint.sio.0.at="isa"
1391hint.sio.0.port="0x3F8"
1392hint.sio.0.flags="0x10"
1393hint.sio.0.irq="4"
1394
1395#
1396# `flags' for serial drivers that support consoles (only for sio now):
1397#	0x10	enable console support for this unit.  The other console flags
1398#		are ignored unless this is set.  Enabling console support does
1399#		not make the unit the preferred console - boot with -h or set
1400#		the 0x20 flag for that.  Currently, at most one unit can have
1401#		console support; the first one (in config file order) with
1402#		this flag set is preferred.  Setting this flag for sio0 gives
1403#		the old behaviour.
1404#	0x20	force this unit to be the console (unless there is another
1405#		higher priority console).  This replaces the COMCONSOLE option.
1406#	0x40	reserve this unit for low level console operations.  Do not
1407#		access the device in any normal way.
1408#	0x80	use this port for serial line gdb support in ddb.
1409#
1410# PnP `flags'
1411#	0x1	disable probing of this device.  Used to prevent your modem
1412#		from being attached as a PnP modem.
1413#
1414
1415# Options for serial drivers that support consoles (only for sio now):
1416options 	BREAK_TO_DEBUGGER	#a BREAK on a comconsole goes to
1417					#DDB, if available.
1418options 	CONSPEED=115200		# speed for serial console
1419					# (default 9600)
1420
1421# Solaris implements a new BREAK which is initiated by a character
1422# sequence CR ~ ^b which is similar to a familiar pattern used on
1423# Sun servers by the Remote Console.
1424options 	ALT_BREAK_TO_DEBUGGER
1425
1426# Options for sio:
1427options 	COM_ESP			#code for Hayes ESP
1428options 	COM_MULTIPORT		#code for some cards with shared IRQs
1429
1430# Other flags for sio that aren't documented in the man page.
1431#	0x20000	enable hardware RTS/CTS and larger FIFOs.  Only works for
1432#		ST16650A-compatible UARTs.
1433
1434# PCI Universal Communications driver
1435# Supports various single and multi port PCI serial cards. Maybe later
1436# also the parallel ports on combination serial/parallel cards. New cards
1437# can be added in src/sys/dev/puc/pucdata.c.
1438#
1439# If the PUC_FASTINTR option is used the driver will try to use fast
1440# interrupts. The card must then be the only user of that interrupt.
1441# Interrupts cannot be shared when using PUC_FASTINTR.
1442device		puc
1443options 	PUC_FASTINTR
1444
1445#
1446# Network interfaces:
1447#
1448# MII bus support is required for some PCI 10/100 ethernet NICs,
1449# namely those which use MII-compliant transceivers or implement
1450# tranceiver control interfaces that operate like an MII. Adding
1451# "device miibus0" to the kernel config pulls in support for
1452# the generic miibus API and all of the PHY drivers, including a
1453# generic one for PHYs that aren't specifically handled by an
1454# individual driver.
1455device		miibus
1456
1457# an:   Aironet 4500/4800 802.11 wireless adapters. Supports the PCMCIA,
1458#       PCI and ISA varieties.
1459# ar:   Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver
1460#       (requires sppp)
1461# awi:  Support for IEEE 802.11 PC Card devices using the AMD Am79C930 and
1462#       Harris (Intersil) Chipset with PCnetMobile firmware by AMD.
1463# bge:	Support for gigabit ethernet adapters based on the Broadcom
1464#	BCM570x family of controllers, including the 3Com 3c996-T,
1465#	the Netgear GA302T, the SysKonnect SK-9D21 and SK-9D41, and
1466#	the embedded gigE NICs on Dell PowerEdge 2550 servers.
1467# cm:	Arcnet SMC COM90c26 / SMC COM90c56
1468#	(and SMC COM90c66 in '56 compatibility mode) adapters.
1469# cnw:  Xircom CNW/Netware Airsurfer PC Card adapter
1470# cs:   IBM Etherjet and other Crystal Semi CS89x0-based adapters
1471# dc:   Support for PCI fast ethernet adapters based on the DEC/Intel 21143
1472#       and various workalikes including:
1473#       the ADMtek AL981 Comet and AN985 Centaur, the ASIX Electronics
1474#       AX88140A and AX88141, the Davicom DM9100 and DM9102, the Lite-On
1475#       82c168 and 82c169 PNIC, the Lite-On/Macronix LC82C115 PNIC II
1476#       and the Macronix 98713/98713A/98715/98715A/98725 PMAC. This driver
1477#       replaces the old al, ax, dm, pn and mx drivers.  List of brands:
1478#       Digital DE500-BA, Kingston KNE100TX, D-Link DFE-570TX, SOHOware SFA110, 
1479#       SVEC PN102-TX, CNet Pro110B, 120A, and 120B, Compex RL100-TX, 
1480#       LinkSys LNE100TX, LNE100TX V2.0, Jaton XpressNet, Alfa Inc GFC2204,
1481#       KNE110TX.
1482# de:   Digital Equipment DC21040
1483# ed:   Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503
1484#       HP PC Lan+, various PC Card devices (refer to etc/defauls/pccard.conf)
1485#       (requires miibus)
1486# em:   Intel Pro/1000 Gigabit Ethernet 82542, 82543, 82544 based adapters.
1487# ep:   3Com 3C509, 3C529, 3C556, 3C562D, 3C563D, 3C572, 3C574X, 3C579, 3C589
1488#       and PC Card devices using these chipsets.
1489# ex:   Intel EtherExpress Pro/10 and other i82595-based adapters,
1490#       Olicom Ethernet PC Card devices.
1491# fe:   Fujitsu MB86960A/MB86965A Ethernet
1492# fea:  DEC DEFEA EISA FDDI adapter
1493# fpa:  Support for the Digital DEFPA PCI FDDI. `device fddi' is also needed.
1494# fxp:  Intel EtherExpress Pro/100B
1495#	(hint of prefer_iomap can be done to prefer I/O instead of Mem mapping)
1496# gx:   Intel Pro/1000 Gigabit Ethernet (82542, 82543-F, 82543-T)
1497# lge:	Support for PCI gigabit ethernet adapters based on the Level 1
1498#	LXT1001 NetCellerator chipset. This includes the D-Link DGE-500SX,
1499#	SMC TigerCard 1000 (SMC9462SX), and some Addtron cards.
1500# lnc:  Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, AMD Am7990 and
1501#       Am79C960)
1502# nge:	Support for PCI gigabit ethernet adapters based on the National
1503#	Semiconductor DP83820 and DP83821 chipset. This includes the
1504#	SMC EZ Card 1000 (SMC9462TX), D-Link DGE-500T, Asante FriendlyNet
1505#	GigaNIX 1000TA and 1000TPC, the Addtron AEG320T, the LinkSys
1506#	EG1032 and EG1064, the Surecom EP-320G-TX and the Netgear GA622T.
1507# pcn:	Support for PCI fast ethernet adapters based on the AMD Am79c97x
1508#	chipsets, including the PCnet/FAST, PCnet/FAST+, PCnet/PRO and
1509#	PCnet/Home. These were previously handled by the lnc driver (and
1510#	still will be if you leave this driver out of the kernel).
1511# rl:   Support for PCI fast ethernet adapters based on the RealTek 8129/8139
1512#       chipset.  Note that the RealTek driver defaults to using programmed
1513#       I/O to do register accesses because memory mapped mode seems to cause
1514#       severe lockups on SMP hardware.  This driver also supports the
1515#       Accton EN1207D `Cheetah' adapter, which uses a chip called
1516#       the MPX 5030/5038, which is either a RealTek in disguise or a
1517#       RealTek workalike.  Note that the D-Link DFE-530TX+ uses the RealTek
1518#       chipset and is supported by this driver, not the 'vr' driver.
1519# sf:   Support for Adaptec Duralink PCI fast ethernet adapters based on the
1520#       Adaptec AIC-6915 "starfire" controller.
1521#       This includes dual and quad port cards, as well as one 100baseFX card.
1522#       Most of these are 64-bit PCI devices, except for one single port
1523#       card which is 32-bit.
1524# sis:  Support for NICs based on the Silicon Integrated Systems SiS 900,
1525#       SiS 7016 and NS DP83815 PCI fast ethernet controller chips.
1526# sk:   Support for the SysKonnect SK-984x series PCI gigabit ethernet NICs.
1527#       This includes the SK-9841 and SK-9842 single port cards (single mode
1528#       and multimode fiber) and the SK-9843 and SK-9844 dual port cards
1529#       (also single mode and multimode).
1530#       The driver will autodetect the number of ports on the card and
1531#       attach each one as a separate network interface.
1532# sn:   Support for ISA and PC Card Ethernet devices using the
1533#       SMC91C90/92/94/95 chips.
1534# sr:   RISCom/N2 hdlc sync 1/2 port V.35/X.21 serial driver (requires sppp)
1535# ste:  Sundance Technologies ST201 PCI fast ethernet controller, includes
1536#       the D-Link DFE-550TX.
1537# ti:   Support for PCI gigabit ethernet NICs based on the Alteon Networks
1538#       Tigon 1 and Tigon 2 chipsets.  This includes the Alteon AceNIC, the
1539#       3Com 3c985, the Netgear GA620 and various others.  Note that you will
1540#       probably want to bump up NMBCLUSTERS a lot to use this driver.
1541# tl:   Support for the Texas Instruments TNETE100 series 'ThunderLAN'
1542#       cards and integrated ethernet controllers.  This includes several
1543#       Compaq Netelligent 10/100 cards and the built-in ethernet controllers
1544#       in several Compaq Prosignia, Proliant and Deskpro systems.  It also
1545#       supports several Olicom 10Mbps and 10/100 boards.
1546# tx:   SMC 9432 TX, BTX and FTX cards. (SMC EtherPower II serie)
1547# txp:	Support for 3Com 3cR990 cards with the "Typhoon" chipset
1548# vr:   Support for various fast ethernet adapters based on the VIA
1549#       Technologies VT3043 `Rhine I' and VT86C100A `Rhine II' chips,
1550#       including the D-Link DFE530TX (see 'rl' for DFE530TX+), the Hawking 
1551#       Technologies PN102TX, and the AOpen/Acer ALN-320.
1552# vx:   3Com 3C590 and 3C595
1553# wb:   Support for fast ethernet adapters based on the Winbond W89C840F chip.
1554#       Note: this is not the same as the Winbond W89C940F, which is a
1555#       NE2000 clone.
1556# wi:   Lucent WaveLAN/IEEE 802.11 PCMCIA adapters. Note: this supports both
1557#       the PCMCIA and ISA cards: the ISA card is really a PCMCIA to ISA
1558#       bridge with a PCMCIA adapter plugged into it.
1559# wl:   Lucent Wavelan (ISA card only).
1560# xe:   Xircom/Intel EtherExpress Pro100/16 PC Card ethernet controller,
1561#       Accton Fast EtherCard-16, Compaq Netelligent 10/100 PC Card,
1562#       Toshiba 10/100 Ethernet PC Card, Xircom 16-bit Ethernet + Modem 56
1563# xl:   Support for the 3Com 3c900, 3c905, 3c905B and 3c905C (Fast)
1564#       Etherlink XL cards and integrated controllers.  This includes the
1565#       integrated 3c905B-TX chips in certain Dell Optiplex and Dell
1566#       Precision desktop machines and the integrated 3c905-TX chips
1567#       in Dell Latitude laptop docking stations.
1568#       Also supported: 3Com 3c980(C)-TX, 3Com 3cSOHO100-TX, 3Com 3c450-TX
1569
1570# Order for ISA/EISA devices is important here
1571
1572device		ar	1
1573hint.ar.0.at="isa"
1574hint.ar.0.port="0x300"
1575hint.ar.0.irq="10"
1576hint.ar.0.maddr="0xd0000"
1577device		cm
1578hint.cm.0.at="isa"
1579hint.cm.0.port="0x2e0"
1580hint.cm.0.irq="9"
1581hint.cm.0.maddr="0xdc000"
1582device		cs
1583hint.cs.0.at="isa"
1584hint.cs.0.port="0x300"
1585device		ed
1586#options 	ED_NO_MIIBUS		# Disable ed miibus support
1587hint.ed.0.at="isa"
1588hint.ed.0.port="0x280"
1589hint.ed.0.irq="5"
1590hint.ed.0.maddr="0xd8000"
1591device		ep
1592device		ex
1593device		fe	1
1594hint.fe.0.at="isa"
1595hint.fe.0.port="0x300"
1596device		fea
1597device		lnc	1
1598hint.lnc.0.at="isa"
1599hint.lnc.0.port="0x280"
1600hint.lnc.0.irq="10"
1601hint.lnc.0.drq="0"
1602device		sr	1
1603hint.sr.0.at="isa"
1604hint.sr.0.port="0x300"
1605hint.sr.0.irq="5"
1606hint.sr.0.maddr="0xd0000"
1607device		sn
1608hint.sn.0.at="isa"
1609hint.sn.0.port="0x300"
1610hint.sn.0.irq="10"
1611device		an
1612device		awi
1613device		cnw
1614device		wi
1615options 	WLCACHE		# enables the signal-strength cache
1616options 	WLDEBUG		# enables verbose debugging output
1617device		wl	1
1618hint.wl.0.at="isa"
1619hint.wl.0.port="0x300"
1620device		xe
1621
1622# PCI Ethernet NICs that use the common MII bus controller code.
1623device		dc		# DEC/Intel 21143 and various workalikes
1624device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
1625hint.fxp.0.prefer_iomap="0"
1626device		rl		# RealTek 8129/8139
1627device		pcn		# AMD Am79C97x PCI 10/100 NICs
1628device		sf		# Adaptec AIC-6915 (``Starfire'')
1629device		sis		# Silicon Integrated Systems SiS 900/SiS 7016
1630device		ste		# Sundance ST201 (D-Link DFE-550TX)
1631device		tl		# Texas Instruments ThunderLAN
1632device		tx		# SMC EtherPower II (83c170 ``EPIC'')
1633device		vr		# VIA Rhine, Rhine II
1634device		wb		# Winbond W89C840F
1635device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
1636
1637# PCI Ethernet NICs.
1638device		de		# DEC/Intel DC21x4x (``Tulip'')
1639device		txp		# 3Com 3cR990 (``Typhoon'')
1640device		vx		# 3Com 3c590, 3c595 (``Vortex'')
1641device		my		# Myson controllers
1642
1643# PCI Gigabit & FDDI NICs.
1644device		bge
1645device		gx
1646device		lge
1647device		nge
1648device		sk
1649device		ti
1650device		fpa	1
1651
1652#
1653# ATM related options (Cranor version)
1654# (note: this driver cannot be used with the HARP ATM stack)
1655#
1656# The `en' device provides support for Efficient Networks (ENI)
1657# ENI-155 PCI midway cards, and the Adaptec 155Mbps PCI ATM cards (ANA-59x0).
1658#
1659# atm device provides generic atm functions and is required for
1660# atm devices.
1661# NATM enables the netnatm protocol family that can be used to
1662# bypass TCP/IP.
1663#
1664# the current driver supports only PVC operations (no atm-arp, no multicast).
1665# for more details, please read the original documents at
1666# http://www.ccrc.wustl.edu/pub/chuck/tech/bsdatm/bsdatm.html
1667#
1668device		atm
1669device		en
1670options 	NATM			#native ATM
1671
1672#
1673# Audio drivers: `pcm', `sbc', `gusc'
1674#
1675# pcm: PCM audio through various sound cards.
1676#
1677# This has support for a large number of new audio cards, based on
1678# CS423x, OPTi931, Yamaha OPL-SAx, and also for SB16, GusPnP.
1679# For more information about this driver and supported cards,
1680# see the pcm.4 man page.
1681#
1682# The flags of the device tells the device a bit more info about the
1683# device that normally is obtained through the PnP interface.
1684#	bit  2..0   secondary DMA channel;
1685#	bit  4      set if the board uses two dma channels;
1686#	bit 15..8   board type, overrides autodetection; leave it
1687#		    zero if don't know what to put in (and you don't,
1688#		    since this is unsupported at the moment...).
1689#
1690# Supported cards include:
1691# Creative SoundBlaster ISA PnP/non-PnP
1692# Supports ESS and Avance ISA chips as well.
1693# Gravis UltraSound ISA PnP/non-PnP
1694# Crystal Semiconductor CS461x/428x PCI
1695# Neomagic 256AV (ac97)
1696# Most of the more common ISA/PnP sb/mss/ess compatable cards.
1697
1698device		pcm
1699
1700# For non-pnp sound cards with no bridge drivers only:
1701hint.pcm.0.at="isa"
1702hint.pcm.0.irq="10"
1703hint.pcm.0.drq="1"
1704hint.pcm.0.flags="0x0"
1705
1706#
1707# midi: MIDI interfaces and synthesizers
1708#
1709
1710device		midi
1711
1712# For non-pnp sound cards with no bridge drivers:
1713hint.midi.0.at="isa"
1714hint.midi.0.irq="5"
1715hint.midi.0.flags="0x0"
1716
1717# For serial ports (this example configures port 2):
1718# TODO: implement generic tty-midi interface so that we can use
1719#	other uarts.
1720hint.midi.0.at="isa"
1721hint.midi.0.port="0x2F8"
1722hint.midi.0.irq="3"
1723
1724#
1725# seq: MIDI sequencer
1726#
1727
1728device		seq
1729
1730# The bridge drivers for sound cards.  These can be separately configured
1731# for providing services to the likes of new-midi.
1732# When used with 'device pcm' they also provide pcm sound services.
1733#
1734# sbc:  Creative SoundBlaster ISA PnP/non-PnP
1735#	Supports ESS and Avance ISA chips as well.
1736# gusc: Gravis UltraSound ISA PnP/non-PnP
1737# csa:  Crystal Semiconductor CS461x/428x PCI
1738
1739# For non-PnP cards:
1740device		sbc
1741hint.sbc.0.at="isa"
1742hint.sbc.0.port="0x220"
1743hint.sbc.0.irq="5"
1744hint.sbc.0.drq="1"
1745hint.sbc.0.flags="0x15"
1746device		gusc
1747hint.gusc.0.at="isa"
1748hint.gusc.0.port="0x220"
1749hint.gusc.0.irq="5"
1750hint.gusc.0.drq="1"
1751hint.gusc.0.flags="0x13"
1752
1753#
1754# Miscellaneous hardware:
1755#
1756# meteor: Matrox Meteor video capture board
1757# bktr: Brooktree bt848/848a/849a/878/879 video capture and TV Tuner board
1758# cy: Cyclades serial driver
1759# dgb: Digiboard PC/Xi and PC/Xe series driver (ALPHA QUALITY!)
1760# digi: Digiboard driver
1761# joy: joystick (including IO DATA PCJOY PC Card joystick)
1762# rp: Comtrol Rocketport(ISA/PCI) - single card
1763# si: Specialix SI/XIO 4-32 port terminal multiplexor
1764# nmdm: nullmodem terminal driver (see nmdm(4))
1765
1766# Notes on the Digiboard driver:
1767#
1768# The following flag values have special meanings in dgb:
1769#	0x01 - alternate layout of pins
1770#	0x02 - use the windowed PC/Xe in 64K mode
1771
1772# Notes on the Comtrol Rocketport driver:
1773#
1774# The exact values used for rp0 depend on how many boards you have
1775# in the system.  The manufacturer's sample configs are listed as:
1776#
1777#               device  rp	# core driver support
1778#
1779#   Comtrol Rocketport ISA single card
1780#		hints.rp.0.at="isa"
1781#		hints.rp.0.port="0x280"
1782#
1783#   If instead you have two ISA cards, one installed at 0x100 and the
1784#   second installed at 0x180, then you should add the following to
1785#   your kernel probe hints:
1786#		hints.rp.0.at="isa"
1787#		hints.rp.0.port="0x100"
1788#		hints.rp.1.at="isa"
1789#		hints.rp.1.port="0x180"
1790#
1791#   For 4 ISA cards, it might be something like this:
1792#		hints.rp.0.at="isa"
1793#		hints.rp.0.port="0x180"
1794#		hints.rp.1.at="isa"
1795#		hints.rp.1.port="0x100"
1796#		hints.rp.2.at="isa"
1797#		hints.rp.2.port="0x340"
1798#		hints.rp.3.at="isa"
1799#		hints.rp.3.port="0x240"
1800#
1801#   For PCI cards, you need no hints.
1802
1803device		joy			# PnP aware, hints for nonpnp only
1804hint.joy.0.at="isa"
1805hint.joy.0.port="0x201"
1806device		cy	1
1807options 	CY_PCI_FASTINTR		# Use with cy_pci unless irq is shared
1808hint.cy.0.at="isa"
1809hint.cy.0.irq="10"
1810hint.cy.0.maddr="0xd4000"
1811hint.cy.0.msize="0x2000"
1812device		dgb	1
1813options 	NDGBPORTS=16		# Defaults to 16*NDGB
1814hint.dgb.0.at="isa"
1815hint.dgb.0.port="0x220"
1816hint.dgb.0.maddr="0xfc000"
1817device		digi
1818hint.digi.0.at="isa"
1819hint.digi.0.port="0x104"
1820hint.digi.0.maddr="0xd0000"
1821# BIOS & FEP/OS components of device digi.
1822device		digi_CX
1823device		digi_CX_PCI
1824device		digi_EPCX
1825device		digi_EPCX_PCI
1826device		digi_Xe
1827device		digi_Xem
1828device		digi_Xr
1829device		rp
1830hint.rp.0.at="isa"
1831hint.rp.0.port="0x280"
1832device		si
1833options 	SI_DEBUG
1834hint.si.0.at="isa"
1835hint.si.0.maddr="0xd0000"
1836hint.si.0.irq="12"
1837device		nmdm
1838# HOT1 Xilinx 6200 card (http://www.vcc.com/)
1839device		xrpu
1840
1841#
1842# The `meteor' device is a PCI video capture board. It can also have the
1843# following options:
1844#   options METEOR_ALLOC_PAGES=xxx	preallocate kernel pages for data entry
1845#	figure (ROWS*COLUMN*BYTES_PER_PIXEL*FRAME+PAGE_SIZE-1)/PAGE_SIZE
1846#   options METEOR_DEALLOC_PAGES	remove all allocated pages on close(2)
1847#   options METEOR_DEALLOC_ABOVE=xxx	remove all allocated pages above the
1848#	specified amount. If this value is below the allocated amount no action
1849#	taken
1850#   options METEOR_SYSTEM_DEFAULT={METEOR_PAL|METEOR_NTSC|METEOR_SECAM}, used
1851#	for initialization of fps routine when a signal is not present.
1852#
1853# The 'bktr' device is a PCI video capture device using the Brooktree
1854# bt848/bt848a/bt849a/bt878/bt879 chipset. When used with a TV Tuner it forms a
1855# TV card, eg Miro PC/TV, Hauppauge WinCast/TV WinTV, VideoLogic Captivator,
1856# Intel Smart Video III, AverMedia, IMS Turbo, FlyVideo.
1857#
1858# options 	OVERRIDE_CARD=xxx
1859# options 	OVERRIDE_TUNER=xxx
1860# options 	OVERRIDE_MSP=1
1861# options 	OVERRIDE_DBX=1
1862# These options can be used to override the auto detection
1863# The current values for xxx are found in src/sys/dev/bktr/bktr_card.h
1864# Using sysctl(8) run-time overrides on a per-card basis can be made
1865#
1866# options 	BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_PAL
1867# or
1868# options 	BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_NTSC
1869# Specifes the default video capture mode.
1870# This is required for Dual Crystal (28&35Mhz) boards where PAL is used
1871# to prevent hangs during initialisation.  eg VideoLogic Captivator PCI.
1872#
1873# options 	BKTR_USE_PLL
1874# PAL or SECAM users who have a 28Mhz crystal (and no 35Mhz crystal)
1875# must enable PLL mode with this option. eg some new Bt878 cards.
1876#
1877# options 	BKTR_GPIO_ACCESS
1878# This enable IOCTLs which give user level access to the GPIO port.
1879#
1880# options 	BKTR_NO_MSP_RESET
1881# Prevents the MSP34xx reset. Good if you initialise the MSP in another OS first
1882#
1883# options 	BKTR_430_FX_MODE
1884# Switch Bt878/879 cards into Intel 430FX chipset compatibility mode.
1885#
1886# options 	BKTR_SIS_VIA_MODE
1887# Switch Bt878/879 cards into SIS/VIA chipset compatibility mode which is
1888# needed for some old SiS and VIA chipset motherboards.
1889# This also allows Bt878/879 chips to work on old OPTi (<1997) chipset
1890# motherboards and motherboards with bad or incomplete PCI 2.1 support.
1891# As a rough guess, old = before 1998
1892#
1893
1894device		meteor	1
1895
1896#
1897# options	BKTR_USE_FREEBSD_SMBUS
1898# Compile with FreeBSD SMBus implementation
1899#
1900# Brooktree driver has been ported to the new I2C framework. Thus,
1901# you'll need to have the following 3 lines in the kernel config.
1902#     device smbus
1903#     device iicbus
1904#     device iicbb
1905#     device iicsmb
1906# The iic and smb devices are only needed if you want to control other
1907# I2C slaves connected to the external connector of some cards.
1908#
1909device		bktr	1
1910
1911#
1912# PC Card/PCMCIA
1913# (OLDCARD)
1914#
1915# card: pccard slots
1916# pcic: isa/pccard bridge
1917device		pcic
1918hint.pcic.0.at="isa"
1919hint.pcic.1.at="isa"
1920device		card
1921
1922#
1923# PC Card/PCMCIA and Cardbus
1924# (NEWCARD)
1925#
1926# Note that NEWCARD and OLDCARD are incompatible.  Do not use both at the same
1927# time.
1928#
1929# pccbb: isa/pccard and pci/cardbus bridge
1930# pccard: pccard slots
1931# cardbus: cardbus slots
1932#device		pccbb
1933#device		pccard
1934#device		cardbus
1935
1936#
1937# SMB bus
1938#
1939# System Management Bus support is provided by the 'smbus' device.
1940# Access to the SMBus device is via the 'smb' device (/dev/smb*),
1941# which is a child of the 'smbus' device.
1942#
1943# Supported devices:
1944# smb		standard io through /dev/smb*
1945#
1946# Supported SMB interfaces:
1947# iicsmb	I2C to SMB bridge with any iicbus interface
1948# bktr		brooktree848 I2C hardware interface
1949# intpm		Intel PIIX4 (82371AB, 82443MX) Power Management Unit
1950# alpm		Acer Aladdin-IV/V/Pro2 Power Management Unit
1951# ichsmb	Intel ICH SMBus controller chips (82801AA, 82801AB, 82801BA)
1952# viapm		VIA VT82C586B/596B/686A and VT8233 Power Management Unit 
1953#
1954device		smbus		# Bus support, required for smb below.
1955
1956device		intpm
1957device		alpm
1958device		ichsmb
1959device		viapm
1960
1961device		smb
1962
1963#
1964# I2C Bus
1965#
1966# Philips i2c bus support is provided by the `iicbus' device.
1967#
1968# Supported devices:
1969# ic	i2c network interface
1970# iic	i2c standard io
1971# iicsmb i2c to smb bridge. Allow i2c i/o with smb commands.
1972#
1973# Supported interfaces:
1974# bktr	brooktree848 I2C software interface
1975#
1976# Other:
1977# iicbb	generic I2C bit-banging code (needed by lpbb, bktr)
1978#
1979device		iicbus		# Bus support, required for ic/iic/iicsmb below.
1980device		iicbb
1981
1982device		ic
1983device		iic
1984device		iicsmb		# smb over i2c bridge
1985
1986# Parallel-Port Bus
1987#
1988# Parallel port bus support is provided by the `ppbus' device.
1989# Multiple devices may be attached to the parallel port, devices
1990# are automatically probed and attached when found.
1991#
1992# Supported devices:
1993# vpo	Iomega Zip Drive
1994#	Requires SCSI disk support ('scbus' and 'da'), best
1995#	performance is achieved with ports in EPP 1.9 mode.
1996# lpt	Parallel Printer
1997# plip	Parallel network interface
1998# ppi	General-purpose I/O ("Geek Port") + IEEE1284 I/O
1999# pps	Pulse per second Timing Interface
2000# lpbb	Philips official parallel port I2C bit-banging interface
2001#
2002# Supported interfaces:
2003# ppc	ISA-bus parallel port interfaces.
2004#
2005
2006options 	PPC_PROBE_CHIPSET # Enable chipset specific detection
2007				  # (see flags in ppc(4))
2008options 	DEBUG_1284	# IEEE1284 signaling protocol debug
2009options 	PERIPH_1284	# Makes your computer act as a IEEE1284
2010				# compliant peripheral
2011options 	DONTPROBE_1284	# Avoid boot detection of PnP parallel devices
2012options 	VP0_DEBUG	# ZIP/ZIP+ debug
2013options 	LPT_DEBUG	# Printer driver debug
2014options 	PPC_DEBUG	# Parallel chipset level debug
2015options 	PLIP_DEBUG	# Parallel network IP interface debug
2016options 	PCFCLOCK_VERBOSE         # Verbose pcfclock driver
2017options 	PCFCLOCK_MAX_RETRIES=5   # Maximum read tries (default 10)
2018
2019device		ppc
2020hint.ppc.0.at="isa"
2021hint.ppc.0.irq="7"
2022device		ppbus
2023device		vpo
2024device		lpt
2025device		plip
2026device		ppi
2027device		pps
2028device		lpbb
2029device		pcfclock
2030
2031# Kernel BOOTP support
2032
2033options 	BOOTP		# Use BOOTP to obtain IP address/hostname
2034				# Requires NFSCLIENT and NFS_ROOT
2035options 	BOOTP_NFSROOT	# NFS mount root filesystem using BOOTP info
2036options 	BOOTP_NFSV3	# Use NFS v3 to NFS mount root
2037options 	BOOTP_COMPAT	# Workaround for broken bootp daemons.
2038options 	BOOTP_WIRED_TO=fxp0 # Use interface fxp0 for BOOTP
2039
2040#
2041# Add tie-ins for a hardware watchdog.  This only enable the hooks;
2042# the user must still supply the actual driver.
2043#
2044options 	HW_WDOG
2045
2046#
2047# Disable swapping. This option removes all code which actually performs
2048# swapping, so it's not possible to turn it back on at run-time.
2049#
2050# This is sometimes usable for systems which don't have any swap space
2051# (see also sysctls "vm.defer_swapspace_pageouts" and
2052# "vm.disable_swapspace_pageouts")
2053#
2054#options 	NO_SWAPPING
2055
2056# Set the number of sf_bufs to allocate. sf_bufs are virtual buffers
2057# for sendfile(2) that are used to map file VM pages, and normally
2058# default to a quantity that is roughly 16*MAXUSERS+512. You would
2059# typically want about 4 of these for each simultaneous file send.
2060#
2061options 	NSFBUFS=1024
2062
2063#
2064# Enable extra debugging code for locks.  This stores the filename and
2065# line of whatever acquired the lock in the lock itself, and change a
2066# number of function calls to pass around the relevant data.  This is
2067# not at all useful unless you are debugging lock code.  Also note
2068# that it is likely to break e.g. fstat(1) unless you recompile your
2069# userland with -DDEBUG_LOCKS as well.
2070#
2071options 	DEBUG_LOCKS
2072
2073
2074#####################################################################
2075# USB support
2076# UHCI controller
2077device		uhci
2078# OHCI controller
2079device		ohci
2080# General USB code (mandatory for USB)
2081device		usb
2082#
2083# USB Double Bulk Pipe devices
2084device		udbp
2085# Generic USB device driver
2086device		ugen
2087# Human Interface Device (anything with buttons and dials)
2088device		uhid
2089# USB keyboard
2090device		ukbd
2091# USB printer
2092device		ulpt
2093# USB Iomega Zip 100 Drive (Requires scbus and da)
2094device		umass
2095# USB modem support
2096device		umodem
2097# USB mouse
2098device		ums
2099# Diamond Rio 500 Mp3 player
2100device		urio
2101# USB scanners
2102device		uscanner
2103# USB serial support
2104device		ucom
2105device		uplcom
2106# USB serial support for DDI pocket's PHS
2107device		uvscom
2108# USB Fm Radio
2109device		ufm
2110#
2111# ADMtek USB ethernet. Supports the LinkSys USB100TX,
2112# the Billionton USB100, the Melco LU-ATX, the D-Link DSB-650TX
2113# and the SMC 2202USB. Also works with the ADMtek AN986 Pegasus
2114# eval board.
2115device		aue
2116#
2117# CATC USB-EL1201A USB ethernet. Supports the CATC Netmate
2118# and Netmate II, and the Belkin F5U111.
2119device		cue
2120#
2121# Kawasaki LSI ethernet. Supports the LinkSys USB10T,
2122# Entrega USB-NET-E45, Peracom Ethernet Adapter, the
2123# 3Com 3c19250, the ADS Technologies USB-10BT, the ATen UC10T,
2124# the Netgear EA101, the D-Link DSB-650, the SMC 2102USB
2125# and 2104USB, and the Corega USB-T.
2126device		kue
2127
2128# debugging options for the USB subsystem
2129#
2130options 	UHCI_DEBUG
2131options 	OHCI_DEBUG
2132options 	USB_DEBUG
2133
2134options 	UGEN_DEBUG
2135options 	UHID_DEBUG
2136options 	UHUB_DEBUG
2137options 	UKBD_DEBUG
2138options 	ULPT_DEBUG
2139options 	UMASS_DEBUG
2140options 	UMS_DEBUG
2141options 	URIO_DEBUG
2142
2143# options for ukbd:
2144options 	UKBD_DFLT_KEYMAP	# specify the built-in keymap
2145makeoptions	UKBD_DFLT_KEYMAP=it.iso
2146
2147#
2148# Embedded system options:
2149#
2150# An embedded system might want to run something other than init.
2151options 	INIT_PATH="/sbin/init:/stand/sysinstall"
2152
2153# Debug options
2154options 	BUS_DEBUG	# enable newbus debugging
2155options 	DEBUG_VFS_LOCKS	# enable vfs lock debugging
2156options 	NPX_DEBUG	# enable npx debugging (FPU/math emu)
2157
2158#####################################################################
2159# SYSV IPC KERNEL PARAMETERS
2160#
2161# Maximum number of entries in a semaphore map.
2162options 	SEMMAP=31
2163
2164# Maximum number of System V semaphores that can be used on the system at
2165# one time. 
2166options 	SEMMNI=11
2167
2168# Total number of semaphores system wide
2169options 	SEMMNS=61
2170
2171# Total number of undo structures in system
2172options 	SEMMNU=31
2173
2174# Maximum number of System V semaphores that can be used by a single process
2175# at one time. 
2176options 	SEMMSL=61
2177
2178# Maximum number of operations that can be outstanding on a single System V
2179# semaphore at one time. 
2180options 	SEMOPM=101
2181
2182# Maximum number of undo operations that can be outstanding on a single
2183# System V semaphore at one time. 
2184options 	SEMUME=11
2185
2186# Maximum number of shared memory pages system wide.
2187options 	SHMALL=1025
2188
2189# Maximum size, in bytes, of a single System V shared memory region. 
2190options 	SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)"
2191options 	SHMMAXPGS=1025
2192
2193# Minimum size, in bytes, of a single System V shared memory region. 
2194options 	SHMMIN=2
2195
2196# Maximum number of shared memory regions that can be used on the system
2197# at one time. 
2198options 	SHMMNI=33
2199
2200# Maximum number of System V shared memory regions that can be attached to
2201# a single process at one time. 
2202options 	SHMSEG=9
2203
2204# Set the amount of time (in seconds) the system will wait before
2205# rebooting automatically when a kernel panic occurs.  If set to (-1),
2206# the system will wait indefinitely until a key is pressed on the
2207# console.
2208options 	PANIC_REBOOT_WAIT_TIME=16
2209
2210#####################################################################
2211
2212# More undocumented options for linting.
2213# Note that documenting these are not considered an affront.
2214
2215options 	CAM_DEBUG_DELAY
2216
2217# VFS cluster debugging.
2218options 	CLUSTERDEBUG
2219
2220options 	DEBUG
2221
2222# Kernel filelock debugging.
2223options 	LOCKF_DEBUG
2224
2225# System V compatible message queues
2226# Please note that the values provided here are used to test kernel
2227# building.  The defaults in the sources provide almost the same numbers.
2228# MSGSSZ must be a power of 2 between 8 and 1024.
2229options 	MSGMNB=2049	# Max number of chars in queue
2230options 	MSGMNI=41	# Max number of message queue identifiers
2231options 	MSGSEG=2049	# Max number of message segments
2232options 	MSGSSZ=16	# Size of a message segment
2233options 	MSGTQL=41	# Max number of messages in system
2234
2235options 	NBUF=512	# Number of buffer headers
2236
2237options 	NMBCLUSTERS=1024	# Number of mbuf clusters
2238
2239options 	SCSI_NCR_DEBUG
2240options 	SCSI_NCR_MAX_SYNC=10000
2241options 	SCSI_NCR_MAX_WIDE=1
2242options 	SCSI_NCR_MYADDR=7
2243
2244options 	SC_DEBUG_LEVEL=5	# Syscons debug level
2245options 	SC_RENDER_DEBUG	# syscons rendering debugging
2246
2247options 	SHOW_BUSYBUFS	# List buffers that prevent root unmount
2248options 	SLIP_IFF_OPTS
2249options 	VFS_BIO_DEBUG	# VFS buffer I/O debugging
2250
2251# Yet more undocumented options for linting.
2252options 	AAC_DEBUG
2253options 	ACD_DEBUG
2254options 	ACPI_MAX_THREADS=1
2255#!options 	ACPI_NO_SEMAPHORES
2256# Broken:
2257##options 	ASR_MEASURE_PERFORMANCE
2258options 	AST_DEBUG
2259options 	ATAPI_DEBUG
2260options 	ATA_DEBUG
2261# BKTR_ALLOC_PAGES has no effect except to cause warnings, and
2262# BROOKTREE_ALLOC_PAGES hasn't actually been superseded by it, since the
2263# driver still mostly spells this option BROOKTREE_ALLOC_PAGES.
2264##options 	BKTR_ALLOC_PAGES="(217*4+1)"
2265options 	BROOKTREE_ALLOC_PAGES="(217*4+1)"
2266# Broken:
2267##options 	CAPABILITIES
2268options 	MAXFILES=999
2269# METEOR_TEST_VIDEO has no effect since meteor is broken.
2270options 	METEOR_TEST_VIDEO
2271options 	NDEVFSINO=1025
2272options 	NDEVFSOVERFLOW=32769
2273options 	NETGRAPH_BRIDGE
2274# SIMOS is broken since it is alpha-only but not ifdefed.
2275##options 	SIMOS
2276
2277# Yet more undocumented options for linting.
2278options 	VGA_DEBUG
2279