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