NOTES revision 47343
1#
2# LINT -- config file for checking all the sources, tries to pull in
3#	as much of the source tree as it can.
4#
5#	$Id: LINT,v 1.600 1999/05/20 10:08:37 hm Exp $
6#
7# NB: You probably don't want to try running a kernel built from this
8# file.  Instead, you should start from GENERIC, and add options from
9# this file as required.
10#
11
12#
13# This directive is mandatory; it defines the architecture to be
14# configured for; in this case, the 386 family based IBM-PC and
15# compatibles.
16#
17machine		i386
18
19# 
20# This is the ``identification'' of the kernel.  Usually this should
21# be the same as the name of your kernel.
22#
23ident		LINT
24
25#
26# The `maxusers' parameter controls the static sizing of a number of
27# internal system tables by a complicated formula defined in param.c.
28#
29maxusers	10
30
31#
32# The `makeoptions' parameter allows variables to be passed to the
33# generated Makefile in the build area.  DEBUG happens to be magic.
34# The following is equivalent to 'config -g KERNELNAME' and creates
35# 'kernel.debug' compiled with -g debugging as well as a normal
36# 'kernel'.  Use 'make install.debug' to install the debug kernel
37# but that isn't normally necessary as the debug symbols are not loaded
38# by the kernel and are not useful there anyway.
39#
40# KERNEL can be overridden so that you can change the default name of your
41# kernel.
42#
43#makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
44#makeoptions	KERNEL=foo		#Build kernel "foo" and install "/foo"
45
46#
47# Certain applications can grow to be larger than the 128M limit
48# that FreeBSD initially imposes.  Below are some options to
49# allow that limit to grow to 256MB, and can be increased further
50# with changing the parameters.  MAXDSIZ is the maximum that the
51# limit can be set to, and the DFLDSIZ is the default value for
52# the limit.  You might want to set the default lower than the
53# max, and explicitly set the maximum with a shell command for processes
54# that regularly exceed the limit like INND.
55#
56options		MAXDSIZ="(256*1024*1024)"
57options		DFLDSIZ="(256*1024*1024)"
58
59# When this is set, be extra conservative in various parts of the kernel
60# and choose functionality over speed (on the widest variety of systems).
61options		FAILSAFE
62
63# Options for the VM subsystem
64#options	PQ_NOOPT		# No coloring
65options		PQ_LARGECACHE		# color for 512k/16k cache
66#options	PQ_HUGECACHE		# color for 1024k/16k cache
67
68# This allows you to actually store this configuration file into
69# the kernel binary itself, where it may be later read by saying:
70#    strings -aout -n 3 /kernel | grep ^___ | sed -e 's/^___//' > MYKERNEL
71#
72options         INCLUDE_CONFIG_FILE     # Include this file in kernel
73
74
75#####################################################################
76# SMP OPTIONS:
77#
78# SMP enables building of a Symmetric MultiProcessor Kernel.
79# APIC_IO enables the use of the IO APIC for Symmetric I/O.
80# NCPU sets the number of CPUs, defaults to 2.
81# NBUS sets the number of busses, defaults to 4.
82# NAPIC sets the number of IO APICs on the motherboard, defaults to 1.
83# NINTR sets the total number of INTs provided by the motherboard.
84#
85# Notes:
86#
87#  An SMP kernel will ONLY run on an Intel MP spec. qualified motherboard.
88#
89#  Be sure to disable 'cpu I386_CPU' && 'cpu I486_CPU' for SMP kernels.
90#
91#  Check the 'Rogue SMP hardware' section to see if additional options
92#   are required by your hardware.
93#
94
95# Mandatory:
96options		SMP			# Symmetric MultiProcessor Kernel
97options		APIC_IO			# Symmetric (APIC) I/O
98
99# Optional, these are the defaults plus 1:
100options		NCPU=5			# number of CPUs
101options		NBUS=5			# number of busses
102options		NAPIC=2			# number of IO APICs
103options		NINTR=25		# number of INTs
104
105#
106# Rogue SMP hardware:
107#
108
109# Bridged PCI cards:
110#
111# The MP tables of most of the current generation MP motherboards
112#  do NOT properly support bridged PCI cards.  To use one of these
113#  cards you should refer to ???
114
115
116#####################################################################
117# CPU OPTIONS
118
119#
120# You must specify at least one CPU (the one you intend to run on);
121# deleting the specification for CPUs you don't need to use may make
122# parts of the system run faster.  This is especially true removing
123# I386_CPU.
124#
125cpu		I386_CPU
126cpu		I486_CPU
127cpu		I586_CPU		# aka Pentium(tm)
128cpu		I686_CPU		# aka Pentium Pro(tm)
129
130#
131# Options for CPU features.
132#
133# CPU_BLUELIGHTNING_FPU_OP_CACHE enables FPU operand cache on IBM
134# BlueLightning CPU.  It works only with Cyrix FPU, and this option
135# should not be used with Intel FPU.
136#
137# CPU_BLUELIGHTNING_3X enables triple-clock mode on IBM Blue Lightning 
138# CPU if CPU supports it. The default is double-clock mode on
139# BlueLightning CPU box.  
140#
141# CPU_BTB_EN enables branch target buffer on Cyrix 5x86 (NOTE 1).
142#
143# CPU_DIRECT_MAPPED_CACHE sets L1 cache of Cyrix 486DLC CPU in direct
144# mapped mode.  Default is 2-way set associative mode.
145#
146# CPU_CYRIX_NO_LOCK enables weak locking for the entire address space
147# of Cyrix 6x86 and 6x86MX CPUs.  If this option is not set and
148# FAILESAFE is defined, NO_LOCK bit of CCR1 is cleared.  (NOTE 3)
149#
150# CPU_DISABLE_5X86_LSSER disables load store serialize (i.e. enables
151# reorder).  This option should not be used if you use memory mapped
152# I/O device(s). 
153#
154# CPU_FASTER_5X86_FPU enables faster FPU exception handler.
155#
156# CPU_I486_ON_386 enables CPU cache on i486 based CPU upgrade products
157# for i386 machines. 
158#
159# CPU_IORT defines I/O clock delay time (NOTE 1).  Default vaules of
160# I/O clock delay time on Cyrix 5x86 and 6x86 are 0 and 7,respectively
161# (no clock delay).
162#
163# CPU_LOOP_EN prevents flushing the prefetch buffer if the destination
164# of a jump is already present in the prefetch buffer on Cyrix 5x86(NOTE
165# 1). 
166#
167# CPU_RSTK_EN enables return stack on Cyrix 5x86 (NOTE 1).
168#
169# CPU_SUSP_HLT enables suspend on HALT.  If this option is set, CPU
170# enters suspend mode following execution of HALT instruction.
171#
172# CPU_WT_ALLOC enables write allocation on Cyrix 6x86/6x86MX and AMD
173# K5/K6/K6-2 cpus.
174#
175# CYRIX_CACHE_WORKS enables CPU cache on Cyrix 486 CPUs with cache
176# flush at hold state.
177#
178# CYRIX_CACHE_REALLY_WORKS enables (1) CPU cache on Cyrix 486 CPUs
179# without cache flush at hold state, and (2) write-back CPU cache on
180# Cyrix 6x86 whose revision < 2.7 (NOTE 2).
181#
182# NO_F00F_HACK disables the hack that prevents Pentiums (and ONLY
183# Pentiums) from locking up when a LOCK CMPXCHG8B instruction is
184# executed.  This should be included for ALL kernels that won't run
185# on a Pentium.
186#
187# NO_MEMORY_HOLE is an optimisation for systems with AMD K6 processors
188# which indicates that the 15-16MB range is *definitely* not being 
189# occupied by an ISA memory hole.
190#
191# NOTE 1: The options, CPU_BTB_EN, CPU_LOOP_EN, CPU_IORT,
192# CPU_LOOP_ENand CPU_RSTK_EN should not be used becasue of CPU bugs.
193# These options may crash your system. 
194#
195# NOTE 2: If CYRIX_CACHE_REALLY_WORKS is not set, CPU cache is enabled
196# in write-through mode when revision < 2.7.  If revision of Cyrix
197# 6x86 >= 2.7, CPU cache is always enabled in write-back mode.
198#
199# NOTE 3: This option may cause failures for software that requires
200# locked cycles in order to operate correctly.
201#
202options		CPU_BLUELIGHTNING_FPU_OP_CACHE
203options		CPU_BLUELIGHTNING_3X
204options		CPU_BTB_EN
205options		CPU_DIRECT_MAPPED_CACHE
206options		CPU_DISABLE_5X86_LSSER
207options		CPU_FASTER_5X86_FPU
208options		CPU_I486_ON_386
209options		CPU_IORT
210options		CPU_LOOP_EN
211options		CPU_RSTK_EN
212options		CPU_SUSP_HLT
213options		CPU_WT_ALLOC
214options		CYRIX_CACHE_WORKS
215options		CYRIX_CACHE_REALLY_WORKS
216#options	NO_F00F_HACK
217
218#
219# A math emulator is mandatory if you wish to run on hardware which
220# does not have a floating-point processor.  Pick either the original,
221# bogus (but freely-distributable) math emulator, or a much more
222# fully-featured but GPL-licensed emulator taken from Linux.
223#
224options		MATH_EMULATE		#Support for x87 emulation
225# Don't enable both of these in a real config.
226options		GPL_MATH_EMULATE	#Support for x87 emulation via
227					#new math emulator 
228
229
230#####################################################################
231# COMPATIBILITY OPTIONS                                             
232
233#
234# Implement system calls compatible with 4.3BSD and older versions of
235# FreeBSD.  You probably do NOT want to remove this as much current code
236# still relies on the 4.3 emulation.
237#
238options		COMPAT_43
239
240#
241# Allow user-mode programs to manipulate their local descriptor tables.
242# This option is required for the WINE Windows(tm) emulator, and is
243# not used by anything else (that we know of).
244#
245options		USER_LDT		#allow user-level control of i386 ldt
246
247#
248# These three options provide support for System V Interface
249# Definition-style interprocess communication, in the form of shared
250# memory, semaphores, and message queues, respectively.
251#
252options		SYSVSHM
253options		SYSVSEM
254options		SYSVMSG
255
256#
257# This option includes a MD5 routine in the kernel, this is used for
258# various authentication and privacy uses.
259#
260options		MD5
261
262#
263# Allow processes to switch to vm86 mode, as well as enabling direct
264# user-mode access to the I/O port space.  This option is necessary for 
265# the doscmd emulator to run and the VESA modes in syscons to be available.
266#
267options		VM86
268
269
270#####################################################################
271# DEBUGGING OPTIONS
272
273#
274# Enable the kernel debugger.
275#
276options		DDB
277
278#
279# Don't drop into DDB for a panic. Intended for unattended operation
280# where you may want to drop to DDB from the console, but still want
281# the machine to recover from a panic
282#
283options		DDB_UNATTENDED
284
285#
286# If using GDB remote mode to debug the kernel, there's a non-standard
287# extension to the remote protocol that can be used to use the serial
288# port as both the debugging port and the system console.  It's non-
289# standard and you're on your own if you enable it.  See also the
290# "remotechat" variables in the FreeBSD specific version of gdb.
291#
292options		GDB_REMOTE_CHAT
293
294# 
295# KTRACE enables the system-call tracing facility ktrace(2).
296#
297options		KTRACE			#kernel tracing
298
299#
300# The INVARIANTS option is used in a number of source files to enable
301# extra sanity checking of internal structures.  This support is not
302# enabled by default because of the extra time it would take to check
303# for these conditions, which can only occur as a result of
304# programming errors.
305#
306options		INVARIANTS
307
308#
309# The INVARIANT_SUPPORT option makes us compile in support for
310# verifying some of the internal structures.  It is a prerequisite for
311# 'INVARIANTS', as enabling 'INVARIANTS' will make these functions be
312# called.  The intent is that you can set 'INVARIANTS' for single
313# source files (by changing the source file or specifying it on the
314# command line) if you have 'INVARIANT_SUPPORT' enabled.
315#
316options		INVARIANT_SUPPORT
317
318#
319# The DIAGNOSTIC option is used to enable extra debugging information
320# from some parts of the kernel.  As this makes everything more noisy,
321# it is disabled by default.
322#
323options		DIAGNOSTIC
324
325#
326# PERFMON causes the driver for Pentium/Pentium Pro performance counters
327# to be compiled.  See perfmon(4) for more information.
328#
329options		PERFMON
330
331
332#
333# This option let some drivers co-exist that can't co-exist in a running
334# system.  This is used to be able to compile all kernel code in one go for
335# quality assurance purposes (like this file, which the option takes it name
336# from.)
337#
338options COMPILING_LINT
339
340
341# XXX - this doesn't belong here.
342# Allow ordinary users to take the console - this is useful for X.
343options		UCONSOLE
344
345# XXX - this doesn't belong here either
346options		USERCONFIG		#boot -c editor
347options		INTRO_USERCONFIG	#imply -c and show intro screen
348options		VISUAL_USERCONFIG	#visual boot -c editor
349
350# XXX - neither does this
351options		ROOTDEVNAME=\"da0s2e\"
352
353#####################################################################
354# NETWORKING OPTIONS
355
356#
357# Protocol families:
358#  Only the INET (Internet) family is officially supported in FreeBSD.
359#  Source code for the NS (Xerox Network Service) is provided for amusement
360#  value.
361#
362options		INET			#Internet communications protocols
363
364options		IPX			#IPX/SPX communications protocols
365options		IPXIP			#IPX in IP encapsulation (not available)
366options		IPTUNNEL		#IP in IPX encapsulation (not available)
367
368options		NETATALK		#Appletalk communications protocols
369
370# These are currently broken but are shipped due to interest.
371#options		NS			#Xerox NS protocols
372
373# These are currently broken and are no longer shipped due to lack
374# of interest.
375#options		CCITT			#X.25 network layer
376#options		ISO
377#options		TPIP			#ISO TP class 4 over IP
378#options		TPCONS			#ISO TP class 0 over X.25
379#options		LLC			#X.25 link layer for Ethernets
380#options		HDLC			#X.25 link layer for serial lines
381#options		EON			#ISO CLNP over IP
382#options		NSIP			#XNS over IP
383
384#
385# Network interfaces:
386#  The `loop' pseudo-device is MANDATORY when networking is enabled.
387#  The `ether' pseudo-device provides generic code to handle
388#  Ethernets; it is MANDATORY when a Ethernet device driver is
389#  configured or token-ring is enabled.
390#  The 'fddi' pseudo-device provides generic code to support FDDI.
391#  The `sppp' pseudo-device serves a similar role for certain types
392#  of synchronous PPP links (like `cx', `ar').
393#  The `sl' pseudo-device implements the Serial Line IP (SLIP) service.
394#  The `ppp' pseudo-device implements the Point-to-Point Protocol.
395#  The `bpfilter' pseudo-device enables the Berkeley Packet Filter.  Be
396#  aware of the legal and administrative consequences of enabling this
397#  option.  The number of devices determines the maximum number of
398#  simultaneous BPF clients programs runnable.
399#  The `disc' pseudo-device implements a minimal network interface,
400#  which throws away all packets sent and never receives any.  It is
401#  included for testing purposes.
402#  The `tun' pseudo-device implements (user-)ppp and nos-tun
403#  The `streams' pseudo-device implements SysVR4 STREAMS emulation.
404#
405# The PPP_BSDCOMP option enables support for compress(1) style entire
406# packet compression, the PPP_DEFLATE is for zlib/gzip style compression.
407# PPP_FILTER enables code for filtering the ppp data stream and selecting
408# events for resetting the demand dial activity timer - requires bpfilter.
409# See pppd(8) for more details.
410#
411pseudo-device	ether			#Generic Ethernet
412pseudo-device	token			#Generic TokenRing
413pseudo-device	fddi			#Generic FDDI
414pseudo-device	sppp			#Generic Synchronous PPP
415pseudo-device	loop			#Network loopback device
416pseudo-device	bpfilter 4		#Berkeley packet filter
417pseudo-device	disc			#Discard device
418pseudo-device	tun	1		#Tunnel driver (ppp(8), nos-tun(8))
419pseudo-device	sl	2		#Serial Line IP
420pseudo-device	ppp	2		#Point-to-point protocol
421pseudo-device	streams
422options PPP_BSDCOMP			#PPP BSD-compress support
423options PPP_DEFLATE			#PPP zlib/deflate/gzip support
424options PPP_FILTER			#enable bpf filtering (needs bpfilter)
425
426#
427# Internet family options:
428#
429# TCP_COMPAT_42 causes the TCP code to emulate certain bugs present in
430# 4.2BSD.  This option should not be used unless you have a 4.2BSD
431# machine and TCP connections fail.
432#
433# MROUTING enables the kernel multicast packet forwarder, which works
434# with mrouted(8).
435#
436# IPFIREWALL enables support for IP firewall construction, in
437# conjunction with the `ipfw' program.  IPFIREWALL_VERBOSE sends
438# logged packets to the system logger.  IPFIREWALL_VERBOSE_LIMIT
439# limits the number of times a matching entry can be logged.
440#
441# WARNING:  IPFIREWALL defaults to a policy of "deny ip from any to any"
442# and if you do not add other rules during startup to allow access,
443# YOU WILL LOCK YOURSELF OUT.  It is suggested that you set firewall=open
444# in /etc/rc.conf when first enabling this feature, then refining the
445# firewall rules in /etc/rc.firewall after you've tested that the new kernel
446# feature works properly.
447#
448# IPFIREWALL_DEFAULT_TO_ACCEPT causes the default rule (at boot) to
449# allow everything.  Use with care, if a cracker can crash your
450# firewall machine, they can get to your protected machines.  However,
451# if you are using it as an as-needed filter for specific problems as
452# they arise, then this may be for you.  Changing the default to 'allow'
453# means that you won't get stuck if the kernel and /sbin/ipfw binary get
454# out of sync.
455#
456# IPDIVERT enables the divert IP sockets, used by ``ipfw divert''
457#
458# IPFILTER enables Darren Reed's ipfilter package.
459# IPFILTER_LOG enables ipfilter's logging.
460# IPFILTER_LKM enables LKM support for an ipfilter module (untested).
461#
462# IPSTEALTH enables code to support stealth forwarding (i.e., forwarding
463# packets without touching the ttl).  This can be useful to hide firewalls
464# from traceroute and similar tools.
465#
466# TCPDEBUG is undocumented.
467#
468options		TCP_COMPAT_42		#emulate 4.2BSD TCP bugs
469options		MROUTING		# Multicast routing
470options         IPFIREWALL              #firewall
471options         IPFIREWALL_VERBOSE      #print information about
472					# dropped packets
473options         IPFIREWALL_FORWARD      #enable transparent proxy support
474options		IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity
475options		IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default
476options		IPDIVERT		#divert sockets
477options		IPFILTER		#kernel ipfilter support
478options		IPFILTER_LOG		#ipfilter logging
479#options	IPFILTER_LKM		#kernel support for ip_fil.o LKM
480options		IPSTEALTH		#support for stealth forwarding
481options		TCPDEBUG
482
483# ICMP_BANDLIM enables icmp error response bandwidth limiting.   You
484# typically want this option as it will help protect the machine from
485# D.O.S. packet attacks.
486#
487options         ICMP_BANDLIM
488
489# DUMMYNET enables the "dummynet" bandwidth limiter. You need
490# IPFIREWALL as well. See the dummynet(4) manpage for more info.
491# BRIDGE enables bridging between ethernet cards -- see bridge(4).
492# You can use IPFIREWALL and dummynet together with bridging.
493options	DUMMYNET
494options	BRIDGE
495
496#
497# ATM (HARP version) options
498#
499# ATM_CORE includes the base ATM functionality code.  This must be included
500#	for ATM support.
501#
502# ATM_IP includes support for running IP over ATM.
503#
504# At least one (and usually only one) of the following signalling managers 
505# must be included (note that all signalling managers include PVC support):
506# ATM_SIGPVC includes support for the PVC-only signalling manager `sigpvc'.
507# ATM_SPANS includes support for the `spans' signalling manager, which runs
508#	the FORE Systems's proprietary SPANS signalling protocol. 
509# ATM_UNI includes support for the `uni30' and `uni31' signalling managers, 
510#	which run the ATM Forum UNI 3.x signalling protocols.
511#
512# The `hea' driver provides support for the Efficient Networks, Inc.
513# ENI-155p ATM PCI Adapter.
514#
515# The `hfa' driver provides support for the FORE Systems, Inc.
516# PCA-200E ATM PCI Adapter.
517#
518options		ATM_CORE		#core ATM protocol family
519options		ATM_IP			#IP over ATM support
520options		ATM_SIGPVC		#SIGPVC signalling manager
521options		ATM_SPANS		#SPANS signalling manager
522options		ATM_UNI			#UNI signalling manager
523device		hea0			#Efficient ENI-155p ATM PCI
524device		hfa0			#FORE PCA-200E ATM PCI
525
526
527#####################################################################
528# FILESYSTEM OPTIONS
529
530#
531# Only the root, /usr, and /tmp filesystems need be statically
532# compiled; everything else will be automatically loaded at mount
533# time.  (Exception: the UFS family---FFS, and MFS --- cannot
534# currently be demand-loaded.)  Some people still prefer to statically
535# compile other filesystems as well.
536#
537# NB: The NULL, PORTAL, UMAP and UNION filesystems are known to be
538# buggy, and WILL panic your system if you attempt to do anything with
539# them.  They are included here as an incentive for some enterprising
540# soul to sit down and fix them.
541#
542
543# One of these is mandatory:
544options		FFS			#Fast filesystem
545options		MFS			#Memory File System
546options		NFS			#Network File System
547
548# The rest are optional:
549# options	NFS_NOSERVER		#Disable the NFS-server code.
550options		CD9660			#ISO 9660 filesystem
551options		FDESC			#File descriptor filesystem
552options		KERNFS			#Kernel filesystem
553options		MSDOSFS			#MS DOS File System
554options		NTFS			#NT File System
555options		NULLFS			#NULL filesystem
556options		PORTAL			#Portal filesystem
557options		PROCFS			#Process filesystem
558options		UMAPFS			#UID map filesystem
559options		UNION			#Union filesystem
560# The xFS_ROOT options REQUIRE the associated ``options xFS''
561options		CD9660_ROOT		#CD-ROM usable as root device
562options		FFS_ROOT		#FFS usable as root device
563options		MFS_ROOT		#MFS usable as root device
564options		NFS_ROOT		#NFS usable as root device
565# This code is still experimental (e.g. doesn't handle disk slices well).
566# Also, 'options MFS' is currently incompatible with DEVFS.
567options		DEVFS			#devices filesystem
568
569# Soft updates is technique for improving file system speed and
570# making abrupt shutdown less risky.  It is not enabled by default due
571# to copyright restraints on the code that implement it.
572#
573# Read ../../ufs/ffs/README.softupdates to learn what you need to
574# do to enable this.  ../../../contrib/sys/softupdates/README gives
575# more details on how they actually work.
576#
577#options		SOFTUPDATES
578
579# Make space in the kernel for a MFS root filesystem.  Define to the number
580# of kilobytes to reserve for the filesystem.
581options		MFS_ROOT_SIZE=10
582# Allows MFS filesystems to be exported via nfs
583options		EXPORTMFS
584
585# Allow this many swap-devices.
586options		NSWAPDEV=20
587
588# Disk quotas are supported when this option is enabled.
589options		QUOTA			#enable disk quotas
590
591# Add more checking code to various filesystems
592#options		NULLFS_DIAGNOSTIC
593#options		KERNFS_DIAGNOSTIC
594#options		UMAPFS_DIAGNOSTIC
595#options		UNION_DIAGNOSTIC
596
597# In particular multi-session CD-Rs might require a huge amount of
598# time in order to "settle".  If we are about mounting them as the
599# root f/s, we gotta wait a little.
600#
601# The number is supposed to be in seconds.
602options		CD9660_ROOTDELAY=20
603
604# If you are running a machine just as a fileserver for PC and MAC
605# users, using SAMBA or Netatalk, you may consider setting this option
606# and keeping all those users' directories on a filesystem that is
607# mounted with the suiddir option. This gives new files the same
608# ownership as the directory (similiar to group). It's a security hole
609# if you let these users run programs, so confine it to file-servers
610# (but it'll save you lots of headaches in those cases). Root owned
611# directories are exempt and X bits are cleared. The suid bit must be
612# set on the directory as well; see chmod(1) PC owners can't see/set
613# ownerships so they keep getting their toes trodden on. This saves
614# you all the support calls as the filesystem it's used on will act as
615# they expect: "It's my dir so it must be my file".
616#
617options		SUIDDIR
618
619
620# Add some error checking code to the null_bypass routine
621# in the NULL filesystem
622#options		SAFETY
623
624
625# NFS options:
626options		NFS_MINATTRTIMO=3	# VREG attrib cache timeout in sec
627options		NFS_MAXATTRTIMO=60
628options		NFS_MINDIRATTRTIMO=30	# VDIR attrib cache timeout in sec
629options		NFS_MAXDIRATTRTIMO=60
630options		NFS_GATHERDELAY=10	# Default write gather delay (msec)
631options		NFS_UIDHASHSIZ=29	# Tune the size of nfssvc_sock with this
632options		NFS_WDELAYHASHSIZ=16	# and with this
633options		NFS_MUIDHASHSIZ=63	# Tune the size of nfsmount with this
634options		NFS_DEBUG		# Enable NFS Debugging
635
636# Coda stuff:
637options		CODA			#CODA filesystem.
638pseudo-device	vcoda	4		#coda minicache <-> venus comm.
639
640#
641# Add support for the EXT2FS filesystem of Linux fame.  Be a bit
642# careful with this - the ext2fs code has a tendency to lag behind
643# changes and not be exercised very much, so mounting read/write could
644# be dangerous (and even mounting read only could result in panics.)
645#
646options		EXT2FS
647
648
649
650#####################################################################
651# POSIX P1003.1B
652
653# Real time extensions added int the 1993 Posix
654# P1003_1B: Infrastructure
655# _KPOSIX_PRIORITY_SCHEDULING: Build in _POSIX_PRIORITY_SCHEDULING
656# _KPOSIX_VERSION:             Version kernel is built for
657
658options		P1003_1B
659options		_KPOSIX_PRIORITY_SCHEDULING
660options		_KPOSIX_VERSION=199309L
661
662
663#####################################################################
664# SCSI DEVICES
665
666# SCSI DEVICE CONFIGURATION
667
668# The SCSI subsystem consists of the `base' SCSI code, a number of
669# high-level SCSI device `type' drivers, and the low-level host-adapter
670# device drivers.  The host adapters are listed in the ISA and PCI
671# device configuration sections below.
672#
673# Beginning with FreeBSD 2.0.5 you can wire down your SCSI devices so
674# that a given bus, target, and LUN always come on line as the same
675# device unit.  In earlier versions the unit numbers were assigned
676# in the order that the devices were probed on the SCSI bus.  This
677# means that if you removed a disk drive, you may have had to rewrite
678# your /etc/fstab file, and also that you had to be careful when adding
679# a new disk as it may have been probed earlier and moved your device
680# configuration around.
681
682# This old behavior is maintained as the default behavior.  The unit
683# assignment begins with the first non-wired down unit for a device
684# type.  For example, if you wire a disk as "da3" then the first
685# non-wired disk will be assigned da4.
686
687# The syntax for wiring down devices is:
688
689# controller	scbus0 at ahc0		# Single bus device
690# controller	scbus1 at ahc1 bus 0	# Single bus device
691# controller	scbus3 at ahc2 bus 0	# Twin bus device
692# controller	scbus2 at ahc2 bus 1	# Twin bus device
693# disk 		da0 at scbus0 target 0 unit 0
694# disk		da1 at scbus3 target 1
695# disk		da2 at scbus2 target 3
696# tape		st1 at scbus1 target 6
697# device	cd0 at scbus?
698
699# "units" (SCSI logical unit number) that are not specified are
700# treated as if specified as LUN 0.
701
702# All SCSI devices allocate as many units as are required.
703
704# The "unknown" device (uk? in pre-2.0.5) is now part of the base SCSI
705# configuration and doesn't have to be explicitly configured.
706
707controller	scbus0	#base SCSI code
708device		ch0	#SCSI media changers
709device		da0	#SCSI direct access devices (aka disks)
710device		sa0	#SCSI tapes
711device		cd0	#SCSI CD-ROMs
712#device		od0	#SCSI optical disk
713device		pass0	#CAM passthrough driver
714
715# The previous devices (ch, da, st, cd) are recognized by config.
716# config doesn't (and shouldn't) know about these newer ones,
717# so we have to specify that they are on a SCSI bus with the "at scbus?"
718# clause.
719
720device pt0 at scbus?	# SCSI processor type
721device sctarg0 at scbus? # SCSI target
722
723# CAM OPTIONS:
724# debugging options:
725# -- NOTE --  If you specify one of the bus/target/lun options, you must
726#             specify them all!
727# CAMDEBUG: When defined enables debugging macros
728# CAM_DEBUG_BUS:  Debug the given bus.  Use -1 to debug all busses.
729# CAM_DEBUG_TARGET:  Debug the given target.  Use -1 to debug all targets.
730# CAM_DEBUG_LUN:  Debug the given lun.  Use -1 to debug all luns.
731# CAM_DEBUG_FLAGS:  OR together CAM_DEBUG_INFO, CAM_DEBUG_TRACE,
732#                   CAM_DEBUG_SUBTRACE, and CAM_DEBUG_CDB
733# 
734# CAM_MAX_HIGHPOWER: Maximum number of concurrent high power (start unit) cmds
735# SCSI_NO_SENSE_STRINGS: When defined disables sense descriptions
736# SCSI_NO_OP_STRINGS: When defined disables opcode descriptions
737# SCSI_REPORT_GEOMETRY: Always report disk geometry at boot up instead
738#                       of only when booting verbosely.
739# SCSI_DELAY: The number of MILLISECONDS to freeze the SIM (scsi adapter)
740#             queue after a bus reset, and the number of milliseconds to
741#             freeze the device queue after a bus device reset.
742options		CAMDEBUG
743options		CAM_DEBUG_BUS=-1
744options		CAM_DEBUG_TARGET=-1
745options		CAM_DEBUG_LUN=-1
746options		CAM_DEBUG_FLAGS="CAM_DEBUG_INFO|CAM_DEBUG_TRACE|CAM_DEBUG_CDB"
747options		CAM_MAX_HIGHPOWER=4
748options		SCSI_NO_SENSE_STRINGS
749options		SCSI_NO_OP_STRINGS
750options		SCSI_REPORT_GEOMETRY
751options		SCSI_DELAY=8000	# Be pessimistic about Joe SCSI device
752
753# Options for the CAM CDROM driver:
754# CHANGER_MIN_BUSY_SECONDS: Guaranteed minimum time quantum for a changer LUN
755# CHANGER_MAX_BUSY_SECONDS: Maximum time quantum per changer LUN, only
756#                           enforced if there is I/O waiting for another LUN
757# The compiled in defaults for these variables are 2 and 10 seconds,
758# respectively.
759#
760# These can also be changed on the fly with the following sysctl variables:
761# kern.cam.cd.changer.min_busy_seconds
762# kern.cam.cd.changer.max_busy_seconds
763#
764options		CHANGER_MIN_BUSY_SECONDS=2
765options		CHANGER_MAX_BUSY_SECONDS=10
766
767# Options for the CAM sequential access driver:
768# SA_SPACE_TIMEOUT: Timeout for space operations, in minutes
769# SA_REWIND_TIMEOUT: Timeout for rewind operations, in minutes
770# SA_ERASE_TIMEOUT: Timeout for erase operations, in minutes
771options		SA_SPACE_TIMEOUT="(60)"
772options		SA_REWIND_TIMEOUT="(2*60)"
773options		SA_ERASE_TIMEOUT="(4*60)"
774
775
776#####################################################################
777# MISCELLANEOUS DEVICES AND OPTIONS
778
779# The `pty' device usually turns out to be ``effectively mandatory'',
780# as it is required for `telnetd', `rlogind', `screen', `emacs', and
781# `xterm', among others.
782
783pseudo-device	pty	16	#Pseudo ttys - can go as high as 256
784pseudo-device	speaker		#Play IBM BASIC-style noises out your speaker
785pseudo-device	gzip		#Exec gzipped a.out's
786pseudo-device	vn		#Vnode driver (turns a file into a device)
787pseudo-device	snp	3	#Snoop device - to look at pty/vty/etc..
788pseudo-device	ccd	4	#Concatenated disk driver
789
790# Configuring Vinum into the kernel is not necessary, since the kld
791# module gets started automatically when vinum(8) starts.  This 
792# device is also untested.  Use at your own risk.
793#
794# The option VINUMDEBUG must match the value set in CFLAGS
795# in /usr/src/sbin/vinum/Makefile.  Failure to do so will result in
796# the following message from vinum(8):
797#
798# Can't get vinum config: Invalid argument
799#
800# see vinum(4) for more reasons not to use these options.
801pseudo-device	vinum		#Vinum concat/mirror/raid driver
802options 	VINUMDEBUG	#enable Vinum debugging hooks
803
804# These are only for watching for bitrot in old tty code.
805# broken
806#pseudo-device	tb
807
808# Size of the kernel message buffer.  Should be N * pagesize.
809options		MSGBUF_SIZE=40960
810
811
812#####################################################################
813# HARDWARE DEVICE CONFIGURATION
814
815# ISA and EISA devices:
816# EISA support is available for some device, so they can be auto-probed.
817# Micro Channel is not supported at all.
818
819#
820# Mandatory ISA devices: isa, npx
821#
822controller	isa0
823
824#
825# Options for `isa':
826#
827# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A
828# interrupt controller.  This saves about 0.7-1.25 usec for each interrupt.
829# This option breaks suspend/resume on some portables.
830#
831# AUTO_EOI_2 enables the `automatic EOI' feature for the slave 8259A
832# interrupt controller.  This saves about 0.7-1.25 usec for each interrupt.
833# Automatic EOI is documented not to work for for the slave with the
834# original i8259A, but it works for some clones and some integrated
835# versions.
836#
837# MAXMEM specifies the amount of RAM on the machine; if this is not
838# specified, FreeBSD will first read the amount of memory from the CMOS
839# RAM, so the amount of memory will initially be limited to 64MB or 16MB
840# depending on the BIOS.  If the BIOS reports 64MB, a memory probe will
841# then attempt to detect the installed amount of RAM.  If this probe
842# fails to detect >64MB RAM you will have to use the MAXMEM option.
843# The amount is in kilobytes, so for a machine with 128MB of RAM, it would
844# be 131072 (128 * 1024).
845#
846# TUNE_1542 enables the automatic ISA bus speed selection for the
847# Adaptec 1542 boards. Does not work for all boards, use it with caution.
848#
849# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to
850# reset the CPU for reboot.  This is needed on some systems with broken
851# keyboard controllers.
852#
853# PAS_JOYSTICK_ENABLE enables the gameport on the ProAudio Spectrum
854
855options		AUTO_EOI_1
856#options	AUTO_EOI_2
857options		MAXMEM="(128*1024)"
858options 	TUNE_1542
859#options	BROKEN_KEYBOARD_RESET
860#options	PAS_JOYSTICK_ENABLE
861
862# Enable support for the kernel PLL to use an external PPS signal,
863# under supervision of [x]ntpd(8)
864# More info in ntpd documentation: http://www.eecis.udel.edu/~ntp
865
866options		PPS_SYNC
867
868# If you see the "calcru: negative time of %ld usec for pid %d (%s)\n"
869# message you probably have some broken sw/hw which disables interrupts
870# for too long.  You can make the system more resistant to this by
871# choosing a high value for NTIMECOUNTER.  The default is 5, there
872# is no upper limit but more than a couple of hundred are not productive.
873# A better strategy may be to sysctl -w kern.timecounter.method=1
874
875options		NTIMECOUNTER=20
876
877# Enable PnP support in the kernel.  This allows you to automaticly
878# attach to PnP cards for drivers that support it and allows you to
879# configure cards from USERCONFIG.  See pnp(4) for more info.
880controller	pnp0
881
882# The keyboard controller; it controls the keyboard and the PS/2 mouse.
883controller	atkbdc0	at isa? port IO_KBD
884
885# The AT keyboard
886device		atkbd0	at atkbdc? irq 1
887
888# Options for atkbd:
889options		ATKBD_DFLT_KEYMAP	# specify the built-in keymap
890makeoptions	ATKBD_DFLT_KEYMAP="jp.106"
891
892# These options are valid for other keyboard drivers as well.
893options		KBD_DISABLE_KEYMAP_LOAD	# refuse to load a keymap
894options		KBD_INSTALL_CDEV	# install a CDEV entry in /dev
895
896# `flags' for atkbd:
897#       0x01    Force detection of keyboard, else we always assume a keyboard
898#       0x02    Don't reset keyboard, useful for some newer ThinkPads
899#       0x04    Old-style (XT) keyboard support, useful for older ThinkPads
900
901# PS/2 mouse
902device		psm0	at atkbdc? irq 12
903
904# Options for psm:
905options		PSM_HOOKAPM		#hook the APM resume event, useful
906					#for some laptops
907options		PSM_RESETAFTERSUSPEND	#reset the device at the resume event
908
909# The video card driver.
910device		vga0	at isa? port ? conflicts
911
912# Options for vga:
913# Try the following option if the mouse pointer is not drawn correctly 
914# or font does not seem to be loaded properly.  May cause flicker on 
915# some systems.
916options		VGA_ALT_SEQACCESS
917
918# If you can dispense with some vga driver features, you may want to
919# use the following options to save some memory.
920options		VGA_NO_FONT_LOADING	# don't save/load font
921options		VGA_NO_MODE_CHANGE	# don't change video modes
922
923# Older video cards may require this option for proper operation.
924options		VGA_SLOW_IOACCESS	# do byte-wide i/o's to TS and GDC regs
925
926# To include support for VESA video modes
927options		VESA			# needs VM86 defined too!!
928
929# Splash screen at start up!  Screen savers require this too.
930pseudo-device	splash
931
932# The pcvt console driver (vt220 compatible).
933device		vt0	at isa?
934options		XSERVER			# support for running an X server.
935options		FAT_CURSOR		# start with block cursor
936# This PCVT option is for keyboards such as those used on IBM ThinkPad laptops
937options		PCVT_SCANSET=2 		# IBM keyboards are non-std
938# Other PCVT options are documented in pcvt(4).
939options		PCVT_24LINESDEF
940options		PCVT_CTRL_ALT_DEL
941options		PCVT_EMU_MOUSE
942options		PCVT_FREEBSD=211
943options		PCVT_META_ESC
944options		PCVT_NSCREENS=9
945options		PCVT_PRETTYSCRNS
946options		PCVT_SCREENSAVER
947options		PCVT_USEKBDSEC
948options		PCVT_VT220KEYB
949
950# The syscons console driver (sco color console compatible).
951device		sc0	at isa?
952options		MAXCONS=16		# number of virtual consoles
953options		STD8X16FONT		# Compile font in
954makeoptions	STD8X16FONT=cp850
955options		SC_HISTORY_SIZE=200	# number of history buffer lines
956options		SC_DISABLE_REBOOT	# disable reboot key sequence
957
958#
959# `flags' for sc0:
960#       0x01    Use a 'visual' bell
961#       0x02    Use a 'blink' cursor
962#       0x04    Use a 'underline' cursor
963#       0x06    Use a 'blinking underline' (destructive) cursor
964#	0x40	Make the bell quiet if it is rung in the backgroud vty.
965
966#
967# The Numeric Processing eXtension driver.  This should be configured if
968# your machine has a math co-processor, unless the coprocessor is very
969# buggy. If it is not configured then you *must* configure math emulation
970# (see above).  If both npx0 and emulation are configured, then only npx0
971# is used (provided it works).
972device		npx0	at nexus? port IO_NPX iosiz 0x0 flags 0x0 irq 13
973
974#
975# `flags' for npx0:
976#	0x01	don't use the npx registers to optimize bcopy
977#	0x02	don't use the npx registers to optimize bzero
978#	0x04	don't use the npx registers to optimize copyin or copyout.
979# The npx registers are normally used to optimize copying and zeroing when
980# all of the following conditions are satisfied:
981#	I586_CPU is an option
982#	the cpu is an i586 (perhaps not a Pentium)
983#	the probe for npx0 succeeds
984#	INT 16 exception handling works.
985# Then copying and zeroing using the npx registers is normally 30-100% faster.
986# The flags can be used to control cases where it doesn't work or is slower.
987# Setting them at boot time using userconfig works right (the optimizations
988# are not used until later in the bootstrap when npx0 is attached).
989#
990
991#
992# `iosiz' for npx0:
993# This can be used instead of the MAXMEM option to set the memory size.  If
994# it is nonzero, then it overrides both the MAXMEM option and the memory
995# size reported by the BIOS.  Setting it at boot time using userconfig takes
996# effect on the next reboot after the change has been recorded in the kernel
997# binary (the size is used early in the boot before userconfig has a chance
998# to change it).
999#
1000
1001#
1002# Optional ISA and EISA devices:
1003#
1004
1005#
1006# SCSI host adapters: `aha', `bt'
1007#
1008# adv: All Narrow SCSI bus AdvanSys controllers.
1009# adw: Second Generation AdvanSys controllers including the ADV940UW.
1010# aha: Adaptec 154x
1011# ahc: Adaptec 274x/284x/294x
1012# bt: Most Buslogic controllers
1013#
1014# Note that the order is important in order for Buslogic cards to be
1015# probed correctly.
1016#
1017
1018controller	bt0	at isa? port IO_BT0 irq ?
1019controller	adv0	at isa? port ? irq ?
1020controller	adw0
1021controller      aha0    at isa? port ? irq ?
1022
1023#
1024# ATA and ATAPI devices
1025# This is work in progress, use at your own risk.
1026# It currently reuses the majors of wd.c and friends.
1027# It cannot co-exist with the old system in one kernel.
1028# You only need one "controller ata0" for it to find all
1029# PCI devices on modern machines.
1030#controller	ata0
1031#device		atadisk0	# ATA disk drives
1032#device		atapicd0	# ATAPI CDROM drives
1033#device		atapifd0	# ATAPI floppy drives
1034#device		atapist0	# ATAPI tape drives
1035#
1036# If you need ISA only devices, this is the lines to add:
1037#controller	ata1	at isa? port IO_WD1 irq 14
1038#controller	ata2	at isa? port IO_WD2 irq 15
1039# 
1040# All the controller lines can coexist, the driver will
1041# find out which ones are there.
1042
1043#
1044# ST-506, ESDI, and IDE hard disks: `wdc' and `wd'
1045#
1046# The flags fields are used to enable the multi-sector I/O and
1047# the 32BIT I/O modes.  The flags may be used in either the controller
1048# definition or in the individual disk definitions.  The controller
1049# definition is supported for the boot configuration stuff.
1050#
1051# Each drive has a 16 bit flags value defined:
1052#	The low 8 bits are the maximum value for the multi-sector I/O,
1053#	where 0xff defaults to the maximum that the drive can handle.
1054#	The high bit of the 16 bit flags (0x8000) allows probing for
1055#	32 bit transfers.  Bit 14 (0x4000) enables a hack to wake
1056#	up powered-down laptop drives.  Bit 13 (0x2000) allows
1057#	probing for PCI IDE DMA controllers, such as Intel's PIIX
1058#	south bridges. Bit 12 (0x1000) sets LBA mode instead of the
1059#	default CHS mode for accessing the drive. See the wd.4 man page.
1060#
1061# The flags field for the drives can be specified in the controller
1062# specification with the low 16 bits for drive 0, and the high 16 bits
1063# for drive 1.
1064# e.g.:
1065#controller	wdc0	at isa? port IO_WD1 irq 14 flags 0x00ff8004
1066#
1067# specifies that drive 0 will be allowed to probe for 32 bit transfers and
1068# a maximum multi-sector transfer of 4 sectors, and drive 1 will not be
1069# allowed to probe for 32 bit transfers, but will allow multi-sector
1070# transfers up to the maximum that the drive supports.
1071#
1072# If you are using a PCI controller that is not running in compatibility
1073# mode (for example, it is a 2nd IDE PCI interface), then use config line(s)
1074# such as:
1075#
1076#controller	wdc2	at isa? port 0 irq ? flags 0xa0ffa0ff
1077#disk		wd4	at wdc2 drive 0
1078#disk		wd5	at wdc2 drive 1
1079#
1080#controller	wdc3	at isa? port 0 irq ? flags 0xa0ffa0ff
1081#disk		wd6	at wdc3 drive 0
1082#disk		wd7	at wdc3 drive 1
1083#
1084# Note that the above config would be useful for a Promise card, when used
1085# on a MB that already has a PIIX controller.  Note the bogus irq and port
1086# entries.  These are automatically filled in by the IDE/PCI support.
1087#
1088
1089controller	wdc0	at isa? port IO_WD1 irq 14
1090disk		wd0	at wdc0 drive 0
1091disk		wd1	at wdc0 drive 1
1092controller	wdc1	at isa? port IO_WD2 irq 15
1093disk		wd2	at wdc1 drive 0
1094disk		wd3	at wdc1 drive 1
1095
1096#
1097# This option allow you to override the default probe time for IDE
1098# devices, to get a faster probe.  Setting this below 10000 violate
1099# the IDE specs, but may still work for you (it will work for most
1100# people).
1101#
1102options		IDE_DELAY=8000	# Be optimistic about Joe IDE device
1103
1104# IDE CD-ROM & CD-R/RW  driver - requires wdc controller and ATAPI option
1105device          wcd0
1106
1107# IDE floppy driver - requires wdc controller and ATAPI option
1108device          wfd0
1109
1110# IDE tape driver - requires wdc controller and ATAPI option
1111device          wst0
1112
1113
1114#
1115# Standard floppy disk controllers and floppy tapes: `fdc', `fd', and `ft'
1116#
1117controller	fdc0	at isa? port IO_FD1 irq 6 drq 2
1118#
1119# FDC_DEBUG enables floppy debugging.  Since the debug output is huge, you
1120# gotta turn it actually on by setting the variable fd_debug with DDB,
1121# however.
1122options		FDC_DEBUG
1123# FDC_YE enables support for the floppies used on the Libretto.  This is a
1124# pcmcia floppy.  You will also need to add
1125#card "Y-E DATA" "External FDD"
1126#        config 0x4 "fdc0" 10
1127# to your pccard.conf file.
1128options		FDC_YE		#XXX newbus broken
1129#
1130# Activate this line instead of the fdc0 line above if you happen to
1131# have an Insight floppy tape.  Probing them proved to be dangerous
1132# for people with floppy disks only, so it's "hidden" behind a flag:
1133#controller fdc0 at isa? port IO_FD1 flags 1 irq 6 drq 2
1134
1135disk		fd0	at fdc0 drive 0
1136disk		fd1	at fdc0 drive 1
1137
1138#
1139# Other standard PC hardware: `mse', `sio', etc.
1140#
1141# mse: Logitech and ATI InPort bus mouse ports
1142# sio: serial ports (see sio(4))
1143
1144device		mse0	at isa? port 0x23c irq 5
1145
1146device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
1147
1148#
1149# `flags' for serial drivers that support consoles (only for sio now):
1150#	0x10	enable console support for this unit.  The other console flags
1151#		are ignored unless this is set.  Enabling console support does
1152#		not make the unit the preferred console - boot with -h or set
1153#		the 0x20 flag for that.  Currently, at most one unit can have
1154#		console support; the first one (in config file order) with
1155#		this flag set is preferred.  Setting this flag for sio0 gives
1156#		the old behaviour.
1157#	0x20	force this unit to be the console (unless there is another
1158#		higher priority console).  This replaces the COMCONSOLE option.
1159#	0x40	reserve this unit for low level console operations.  Do not
1160#		access the device in any normal way.
1161#
1162# PnP `flags' (set via userconfig using pnp x flags y)
1163#	0x1	disable probing of this device.  Used to prevent your modem
1164#		from being attached as a PnP modem.
1165#
1166
1167# Options for serial drivers that support consoles (only for sio now):
1168options		BREAK_TO_DEBUGGER	#a BREAK on a comconsole goes to 
1169					#DDB, if available.
1170options		CONSPEED=9600		#default speed for serial console (default 9600)
1171
1172# Options for sio:
1173options		COM_ESP			#code for Hayes ESP
1174options		COM_MULTIPORT		#code for some cards with shared IRQs
1175options		EXTRA_SIO=2		#number of extra sio ports to allocate
1176
1177# Other flags for sio that aren't documented in the man page.
1178#	0x20000	enable hardware RTS/CTS and larger FIFOs.  Only works for
1179#		ST16650A-compatible UARTs.
1180
1181#
1182# Network interfaces: `cx', `ed', `el', `ep', `ie', `is', `le', `lnc'
1183#
1184# ar: Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver (requires sppp)
1185# cs: IBM Etherjet and other Crystal Semi CS89x0-based adapters
1186# cx: Cronyx/Sigma multiport sync/async (with Cisco or PPP framing)
1187# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503
1188# el: 3Com 3C501 (slow!)
1189# ep: 3Com 3C509 (buggy)
1190# ex: Intel EtherExpress Pro/10 and other i82595-based adapters
1191# fe: Fujitsu MB86960A/MB86965A Ethernet
1192# ie: AT&T StarLAN 10 and EN100; 3Com 3C507; unknown NI5210; Intel EtherExpress
1193# le: Digital Equipment EtherWorks 2 and EtherWorks 3 (DEPCA, DE100,
1194#     DE101, DE200, DE201, DE202, DE203, DE204, DE205, DE422)
1195# lnc: Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, AMD Am7990 & Am79C960)
1196# rdp: RealTek RTL 8002-based pocket ethernet adapters
1197# sr: RISCom/N2 hdlc sync 1/2 port V.35/X.21 serial driver (requires sppp)
1198# wl: Lucent Wavelan (ISA card only).
1199# wi: Lucent WaveLAN/IEEE 802.11 PCMCIA adapters. Note: this supports both
1200#     the PCMCIA and ISA cards: the ISA card is really a PCMCIA to ISA
1201#     bridge with a PCMCIA adapter plugged into it.
1202# xe: Xircom/Intel EtherExpress Pro100/16 PC Card ethernet controller.
1203# ze: IBM/National Semiconductor PCMCIA ethernet controller.
1204# zp: 3Com PCMCIA Etherlink III (It does not require shared memory for
1205#     send/receive operation, but it needs 'iomem' to read/write the
1206#     attribute memory)
1207# oltr: Olicom ISA token-ring adapters OC-3115, OC-3117, OC-3118 and OC-3133 
1208#       (no options needed)
1209#
1210device ar0 at isa? port 0x300 irq 10 iomem 0xd0000
1211device cs0 at isa? port 0x300 irq ?
1212device cx0 at isa? port 0x240 irq 15 drq 7
1213device ed0 at isa? port 0x280 irq 5 iomem 0xd8000
1214device el0 at isa? port 0x300 irq 9
1215device ep0 at isa? port 0x300 irq 10
1216device ex0 at isa? port? irq?
1217device fe0 at isa? port 0x300 irq ?
1218device ie0 at isa? port 0x300 irq 5 iomem 0xd0000
1219device ie1 at isa? port 0x360 irq 7 iomem 0xd0000
1220device le0 at isa? port 0x300 irq 5 iomem 0xd0000
1221device lnc0 at isa? port 0x280 irq 10 drq 0
1222device rdp0 at isa? port 0x378 irq 7 flags 2
1223device sr0 at isa? port 0x300 irq 5 iomem 0xd0000
1224device wi0 at isa? port? irq?
1225options		WLCACHE		# enables the signal-strength cache
1226options		WLDEBUG		# enables verbose debugging output
1227device wl0 at isa? port 0x300 irq ?
1228device xe0 at isa? port? irq ?
1229# We can (bogusly) include both the dedicated PCCARD drivers and the generic
1230# support when COMPILING_LINT.
1231device ze0 at isa? port 0x300 irq 5 iomem 0xd8000
1232device zp0 at isa? port 0x300 irq 10 iomem 0xd8000
1233
1234device oltr0 at isa?
1235
1236#
1237# ATM related options
1238#
1239# The `en' device provides support for Efficient Networks (ENI)
1240# ENI-155 PCI midway cards, and the Adaptec 155Mbps PCI ATM cards (ANA-59x0).
1241#
1242# atm pseudo-device provides generic atm functions and is required for
1243# atm devices.
1244# NATM enables the netnatm protocol family that can be used to
1245# bypass TCP/IP.
1246#
1247# the current driver supports only PVC operations (no atm-arp, no multicast).
1248# for more details, please read the original documents at 
1249# http://www.ccrc.wustl.edu/pub/chuck/bsdatm/wucs.html
1250#
1251pseudo-device	atm
1252device en0
1253device en1
1254options		NATM			#native ATM
1255
1256#
1257# Audio drivers: `snd', `sb', `pas', `gus', `pca'
1258#
1259# snd: Voxware sound support code
1260# sb: SoundBlaster PCM - SoundBlaster, SB Pro, SB16, ProAudioSpectrum
1261# sbxvi: SoundBlaster 16
1262# sbmidi: SoundBlaster 16 MIDI interface
1263# pas: ProAudioSpectrum PCM and MIDI
1264# gus: Gravis Ultrasound - Ultrasound, Ultrasound 16, Ultrasound MAX
1265# gusxvi: Gravis Ultrasound 16-bit PCM	(do not use)
1266# mss: Microsoft Sound System
1267# css: Crystal Sound System (CSS 423x PnP)
1268# sscape: Ensoniq Soundscape MIDI interface
1269# sscape_mss: Ensoniq Soundscape PCM (requires sscape)
1270# opl: Yamaha OPL-2 and OPL-3 FM - SB, SB Pro, SB 16, ProAudioSpectrum
1271# uart: stand-alone 6850 UART for MIDI
1272# mpu: Roland MPU-401 stand-alone card
1273#
1274# Note: It has been reprted that ISA DMA with the SoundBlaster will
1275# lock up the machine (PR docs/5358).  If this happens to you,
1276# turning off USWC write posting in your machine's BIOS may fix
1277# the problem.
1278# 
1279# Beware!  The addresses specified below are also hard-coded in
1280# i386/isa/sound/sound_config.h.  If you change the values here, you
1281# must also change the values in the include file.
1282#
1283# pcm: PCM audio through various sound cards.
1284#
1285# This has support for a large number of new audio cards, based on
1286# CS423x, OPTi931, Yamaha OPL-SAx, and also for SB16, GusPnP.
1287# For more information about this driver and supported cards,
1288# see the pcm.4 man page and /sys/i386/isa/snd/CARDS.
1289#
1290# The flags of the device tells the device a bit more info about the
1291# device that normally is obtained through the PnP interface.
1292#	bit  2..0   secondary DMA channel;
1293#	bit  4      set if the board uses two dma channels;
1294#	bit 15..8   board type, overrides autodetection; leave it
1295#		    zero if don't know what to put in (and you don't,
1296#		    since this is unsupported at the moment...).
1297#
1298# This driver will use the new PnP code if it's available.
1299#
1300# pca: PCM audio through your PC speaker
1301#
1302# If you have a GUS-MAX card and want to use the CS4231 codec on the
1303# card the drqs for the gus max must be 8 bit (1, 2, or 3).
1304# 
1305# If you would like to use the full duplex option on the gus, then define
1306# flags to be the ``read dma channel''.
1307#
1308# options BROKEN_BUS_CLOCK	#PAS-16 isn't working and OPTI chipset
1309# options SYMPHONY_PAS		#PAS-16 isn't working and SYMPHONY chipset
1310# options EXCLUDE_SBPRO		#PAS-16
1311# options SBC_IRQ=5		#PAS-16. Must match irq on sb0 line.
1312# PAS16: The order of the pas0/sb0/opl0 is important since the
1313#	sb emulation is enabled in the pas-16 attach.
1314#
1315# To overide the GUS defaults use:
1316# options GUS_DMA2
1317# options GUS_DMA
1318# options GUS_IRQ
1319#
1320# The i386/isa/sound/sound.doc has more information.
1321
1322# Controls all "VOXWARE" driver sound devices.  See Luigi's driver
1323# below for an alternate which may work better for some cards.
1324#
1325controller	snd0
1326device pas0     at isa? port 0x388 irq 10 drq 6
1327device sb0      at isa? port 0x220 irq 5 drq 1
1328device sbxvi0   at isa? drq 5
1329device sbmidi0  at isa? port 0x330
1330device awe0     at isa? port 0x620
1331device gus0 at isa? port 0x220 irq 12 drq 1
1332#device gus0 at isa? port 0x220 irq 12 drq 1 flags 0x3
1333device mss0 at isa? port 0x530 irq 10 drq 1
1334device css0	at isa? port 0x534 irq 5 drq 1 flags 0x08
1335device sscape0  at isa? port 0x330 irq 9 drq 0
1336device trix0    at isa? port 0x330 irq 6 drq 0
1337device sscape_mss0  at isa? port 0x534 irq 5 drq 1
1338device opl0     at isa? port 0x388
1339device mpu0     at isa? port 0x330 irq 6 drq 0
1340device uart0 at isa? port 0x330 irq 5
1341
1342# Luigi's snd code (use INSTEAD of snd0 and all VOXWARE drivers!).
1343# You may also wish to enable the pnp controller with this, for pnp
1344# sound cards.
1345#
1346#device pcm0 at isa? port ? irq 10 drq 1 flags 0x0
1347
1348# Not controlled by `snd'
1349device pca0 at isa? port IO_TIMER1
1350
1351#
1352# Miscellaneous hardware:
1353#
1354# mcd: Mitsumi CD-ROM
1355# scd: Sony CD-ROM
1356# matcd: Matsushita/Panasonic CD-ROM
1357# wt: Wangtek and Archive QIC-02/QIC-36 tape drives
1358# ctx: Cortex-I frame grabber
1359# apm: Laptop Advanced Power Management (experimental)
1360# spigot: The Creative Labs Video Spigot video-acquisition board
1361# meteor: Matrox Meteor video capture board
1362# bktr: Brooktree bt848/848a/849/878/879 family video capture and TV Tuner board
1363# cy: Cyclades serial driver
1364# dgb: Digiboard PC/Xi and PC/Xe series driver (ALPHA QUALITY!)
1365# dgm: Digiboard PC/Xem driver
1366# gp:  National Instruments AT-GPIB and AT-GPIB/TNT board
1367# asc: GI1904-based hand scanners, e.g. the Trust Amiscan Grey
1368# gsc: Genius GS-4500 hand scanner.
1369# joy: joystick
1370# labpc: National Instrument's Lab-PC and Lab-PC+
1371# rc: RISCom/8 multiport card
1372# rp: Comtrol Rocketport(ISA) - single card
1373# tw: TW-523 power line interface for use with X-10 home control products
1374# si: Specialix SI/XIO 4-32 port terminal multiplexor
1375# stl: Stallion EasyIO and EasyConnection 8/32 (cd1400 based)
1376# stli: Stallion EasyConnection 8/64, ONboard, Brumby (intelligent)
1377
1378# Notes on APM
1379#  The flags takes the following meaning for apm0:
1380#    0x0020  Statclock is broken.
1381#    0x0011  Limit APM protocol to 1.1 or 1.0
1382#    0x0010  Limit APM protocol to 1.0
1383#  If apm is omitted, some systems require sysctl -w kern.timcounter.method=1
1384#  for correct timekeeping.
1385
1386# Notes on the spigot:
1387#  The video spigot is at 0xad6.  This port address can not be changed.
1388#  The irq values may only be 10, 11, or 15
1389#  I/O memory is an 8kb region.  Possible values are:
1390#    0a0000, 0a2000, ..., 0fffff, f00000, f02000, ..., ffffff
1391#    The start address must be on an even boundary.
1392#  Add the following option if you want to allow non-root users to be able
1393#  to access the spigot.  This option is not secure because it allows users
1394#  direct access to the I/O page. 
1395#  	options SPIGOT_UNSECURE
1396
1397# Notes on the Comtrol Rocketport driver:
1398#
1399# The exact values used for rp0 depend on how many boards you have
1400# in the system.  The manufacturer's sample configs are listed as:
1401#
1402#   Comtrol Rocketport ISA single card
1403#               device  rp0     at isa? port 0x280
1404#
1405#   If instead you have two ISA cards, one installed at 0x100 and the
1406#   second installed at 0x180, then you should add the following to
1407#   your kernel configuration file:
1408#
1409#               device  rp0     at isa? port 0x100
1410#               device  rp1     at isa? port 0x180
1411#
1412#   For 4 ISA cards, it might be something like this:
1413#
1414#               device  rp0     at isa? port 0x180
1415#               device  rp1     at isa? port 0x100
1416#               device  rp2     at isa? port 0x340
1417#               device  rp3     at isa? port 0x240
1418#
1419#   And for PCI cards, you only need say:
1420#
1421#               device rp0
1422#               device rp1
1423#               ...
1424#   Note: Make sure that any Rocketport PCI devices are specified BEFORE the
1425#   ISA Rocketport devices.
1426
1427# Notes on the Digiboard driver:
1428#
1429# The following flag values have special meanings:
1430#	0x01 - alternate layout of pins (dgb & dgm)
1431#	0x02 - use the windowed PC/Xe in 64K mode (dgb only)
1432
1433# Notes on the Specialix SI/XIO driver:
1434#  **This is NOT a Specialix supported Driver!**
1435#  The host card is memory, not IO mapped.
1436#  The Rev 1 host cards use a 64K chunk, on a 32K boundary.
1437#  The Rev 2 host cards use a 32K chunk, on a 32K boundary.
1438#  The cards can use an IRQ of 11, 12 or 15.
1439
1440# Notes on the Stallion stl and stli drivers:
1441#  See src/i386/isa/README.stl for complete instructions.
1442#  This is version 0.0.5alpha, unsupported by Stallion.
1443#  The stl driver has a secondary IO port hard coded at 0x280.  You need
1444#     to change src/i386/isa/stallion.c if you reconfigure this on the boards.
1445#  The "flags" and "iosiz" settings on the stli driver depend on the board:
1446#	EasyConnection 8/64 ISA:     flags 23         iosiz 0x1000
1447#	EasyConnection 8/64 EISA:    flags 24         iosiz 0x10000
1448#	EasyConnection 8/64 MCA:     flags 25         iosiz 0x1000
1449#	ONboard ISA:                 flags 4          iosiz 0x10000
1450#	ONboard EISA:                flags 7          iosiz 0x10000
1451#	ONboard MCA:                 flags 3          iosiz 0x10000
1452#	Brumby:                      flags 2          iosiz 0x4000
1453#	Stallion:                    flags 1          iosiz 0x10000
1454
1455device		mcd0	at isa? port 0x300 irq 10
1456# for the Sony CDU31/33A CDROM
1457device		scd0	at isa? port 0x230
1458# for the SoundBlaster 16 multicd - up to 4 devices
1459controller      matcd0  at isa? port 0x230
1460device		wt0	at isa? port 0x300 irq 5 drq 1
1461device		ctx0	at isa? port 0x230 iomem 0xd0000
1462device		spigot0 at isa? port 0xad6 irq 15 iomem 0xee000
1463device		apm0	at nexus? 
1464device		gp0	at isa? port 0x2c0
1465device		gsc0	at isa? port IO_GSC1 drq 3
1466device		joy0	at isa? port IO_GAME
1467device		cy0	at isa? irq 10 iomem 0xd4000 iosiz 0x2000
1468options		CY_PCI_FASTINTR		# Use with cy_pci unless irq is shared
1469device		dgb0	at isa? port 0x220 iomem 0xfc000 iosiz ?
1470options		NDGBPORTS=16		# Defaults to 16*NDGB
1471device		dgm0	at isa? port 0x104 iomem 0xd0000 iosiz ?
1472device		labpc0	at isa? port 0x260 irq 5
1473device          rc0     at isa? port 0x220 irq 12
1474device          rp0     at isa? port 0x280
1475# the port and irq for tw0 are fictitious
1476device          tw0     at isa? port 0x380 irq 11
1477device		si0	at isa? iomem 0xd0000 irq 12
1478device		asc0	at isa? port IO_ASC1 drq 3 irq 10
1479device		stl0	at isa? port 0x2a0 irq 10
1480device		stli0	at isa? port 0x2a0 iomem 0xcc000 flags 23 iosiz 0x1000
1481# You are unlikely to have the hardware for loran0 <phk@FreeBSD.org>
1482device		loran0	at isa? port ? irq 5
1483# HOT1 Xilinx 6200 card (www.vcc.com)
1484device		xrpu0
1485
1486#
1487# EISA devices:
1488#
1489# The EISA bus device is eisa0.  It provides auto-detection and
1490# configuration support for all devices on the EISA bus.
1491#
1492# The `ahb' device provides support for the Adaptec 174X adapter.
1493#
1494# The `ahc' device provides support for the Adaptec 274X and 284X
1495# adapters.  The 284X, although a VLB card responds to EISA probes.
1496#
1497# fea: DEC DEFEA EISA FDDI adapter
1498#
1499controller	eisa0
1500controller	ahb0
1501controller	ahc0
1502device		fea0
1503
1504# The aic7xxx driver will attempt to use memory mapped I/O for all PCI
1505# controllers that have it configured only if this option is set. Unfortunately,
1506# this doesn't work on some motherboards, which prevents it from being the
1507# default.
1508options AHC_ALLOW_MEMIO
1509
1510# By default, only 10 EISA slots are probed, since the slot numbers
1511# above clash with the configuration address space of the PCI subsystem,
1512# and the EISA probe is not very smart about this.  This is sufficient
1513# for most machines, but in particular the HP NetServer LC series comes
1514# with an onboard AIC7770 dual-channel SCSI controller on EISA slot #11,
1515# thus you need to bump this figure to 12 for them.
1516options	EISA_SLOTS=12
1517
1518#
1519# PCI devices & PCI options:
1520#
1521# The main PCI bus device is `pci'.  It provides auto-detection and
1522# configuration support for all devices on the PCI bus, using either
1523# configuration mode defined in the PCI specification.
1524#
1525# The `ahc' device provides support for the Adaptec 29/3940(U)(W)
1526# and motherboard based AIC7870/AIC7880 adapters.
1527#
1528# The `ncr' device provides support for the NCR 53C810 and 53C825
1529# self-contained SCSI host adapters.
1530#
1531# The `isp' device provides support for the Qlogic ISP 1020, 1040
1532# nd 1040B PCI SCSI host adapters, as well as the Qlogic ISP 2100
1533# FC/AL Host Adapter.
1534#
1535# The `ax' device provides support for PCI fast ethernet adapters
1536# based on the ASIX Electronics AX88140A chip, including the Alfa
1537# Inc. GFC2204.
1538#
1539# The `de' device provides support for the Digital Equipment DC21040
1540# self-contained Ethernet adapter.
1541#
1542# The `fxp' device provides support for the Intel EtherExpress Pro/100B
1543# PCI Fast Ethernet adapters.
1544#
1545# The `mx' device provides support for various fast ethernet adapters
1546# based on the Macronix 98713, 987615 ans 98725 series chips.
1547#
1548# The `pn' device provides support for various fast ethernet adapters
1549# based on the Lite-On 82c168 and 82c169 PNIC chips, including the
1550# LinkSys LNE100TX, the NetGear FA310TX rev. D1 and the Matrox
1551# FastNIC 10/100.
1552#
1553# The 'rl' device provides support for PCI fast ethernet adapters based
1554# on the RealTek 8129/8139 chipset. Note that the RealTek driver defaults
1555# to useing programmed I/O to do register accesses because memory mapped
1556# mode seems to cause severe lockups on SMP hardware. This driver also
1557# supports the Accton EN1207D `Cheetah' adapter, which uses a chip called
1558# the MPX 5030/5038, which is either a RealTek in disguise or a RealTek
1559# workalike.
1560#
1561# The 'ti' device provides support for PCI gigabit ethernet NICs based
1562# on the Alteon Networks Tigon 1 and Tigon 2 chipsets. This includes the
1563# Alteon AceNIC, the 3Com 3c985, the Netgear GA620 and various others.
1564# Note that you will probably want to bump up NBMCLUSTERS a lot to use
1565# this driver.
1566#
1567# The 'tl' device provides support for the Texas Instruments TNETE100
1568# series 'ThunderLAN' cards and integrated ethernet controllers. This
1569# includes several Compaq Netelligent 10/100 cards and the built-in
1570# ethernet controllers in several Compaq Prosignia, Proliant and
1571# Deskpro systems. It also supports several Olicom 10Mbps and 10/100
1572# boards.
1573#
1574# The `tx' device provides support for the SMC 9432TX cards.
1575#
1576# The `vr' device provides support for various fast ethernet adapters
1577# based on the VIA Technologies VT3043 `Rhine I' and VT86C100A `Rhine II'
1578# chips, including the D-Link DFE530TX.
1579#
1580# The `vx' device provides support for the 3Com 3C590 and 3C595
1581# early support
1582#
1583# The `wb' device provides support for various fast ethernet adapters
1584# based on the Winbond W89C840F chip. Note: this is not the same as
1585# the Winbond W89C940F, which is an NE2000 clone.
1586#
1587# The `xl' device provides support for the 3Com 3c900, 3c905 and
1588# 3c905B (Fast) Etherlink XL cards and integrated controllers. This
1589# includes the integrated 3c905B-TX chips in certain Dell Optiplex and
1590# Dell Precision desktop machines and the integrated 3c905-TX chips
1591# in Dell Latitude laptop docking stations.
1592#
1593# The `fpa' device provides support for the Digital DEFPA PCI FDDI
1594# adapter. pseudo-device fddi is also needed.
1595#
1596# The `meteor' device is a PCI video capture board. It can also have the
1597# following options:
1598#   options METEOR_ALLOC_PAGES=xxx	preallocate kernel pages for data entry
1599#	figure (ROWS*COLUMN*BYTES_PER_PIXEL*FRAME+PAGE_SIZE-1)/PAGE_SIZE
1600#   options METEOR_DEALLOC_PAGES	remove all allocated pages on close(2)
1601#   options METEOR_DEALLOC_ABOVE=xxx	remove all allocated pages above the
1602#	specified amount. If this value is below the allocated amount no action
1603#	taken
1604#   options METEOR_SYSTEM_DEFAULT={METEOR_PAL|METEOR_NTSC|METEOR_SECAM}, used
1605#	for initialization of fps routine when a signal is not present.
1606#
1607# The 'bktr' device is a PCI video capture device using the Brooktree 
1608# bt848/bt848a/bt849/bt878/bt879 chipset. When used with a TV Tuner it forms a
1609# TV card, eg Miro PC/TV,Hauppauge WinCast/TV WinTV, VideoLogic Captivator,
1610# Intel Smart Video III, AverMedia, IMS Turbo. 
1611# The following options can be used to override the auto detection
1612#   options OVERRIDE_CARD=xxx
1613#   options OVERRIDE_TUNER=xxx
1614#   options OVERRIDE_MSP=1
1615#   options OVERRIDE_DBX=1
1616# The current values are found in /usr/src/sys/pci/brooktree848.c
1617#
1618#   options BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_PAL
1619# This is required for Dual Crystal (28&35Mhz) boards where PAL is used
1620# to prevent hangs during initialisation.  eg VideoLogic Captivator PCI.
1621#
1622# PAL or SECAM users who have a 28Mhz crystal (and no 35Mhz crystal)
1623# must enable PLL mode with this option. eg some new Hauppauge cards.
1624#   options BKTR_USE_PLL
1625#
1626# Using sysctl(8) run-time overrides on a per-card basis can be made
1627#
1628# The oltr driver supports the following Olicom PCI token-ring adapters
1629# OC-3136, OC-3137, OC-3139, OC-3140, OC-3141, OC-3540, OC-3250
1630#
1631controller	pci0
1632controller	ahc1
1633controller	ncr0
1634controller	isp0
1635#
1636# Options for ISP
1637#
1638#	SCSI_ISP_NO_FWLOAD_MASK	- mask of isp unit numbers (obviously
1639#				  a max of 32) that you wish to disable
1640#				  to disable the loading of firmware on.
1641#	SCSI_ISP_NO_NVRAM_MASK	- mask of isp unit numbers (obviously
1642#				  a max of 32) that you wish to disable
1643#				  them picking up information from NVRAM
1644#				  (for broken cards you can't fix the NVRAM
1645#				  on- very rare, or for systems you can't
1646#				  change NVRAM on (e.g. alpha) and you don't
1647#				  like what's in there)
1648#	SCSI_ISP_PREFER_MEM_MAP	- control preference for using memory mappings
1649#				  instead of I/O space mappings. It defaults
1650#				  to 1 for i386, 0 for alpha. Set to 1 to
1651#				  unconditionally prefer mapping memory,
1652#				  else it will use I/O space mappings. Of
1653#				  course, this can fail if the PCI implement-
1654#				  ation doesn't support what you want.
1655#
1656#	SCSI_ISP_FABRIC		  enable loading of Fabric f/w flavor (2100).
1657#	SCSI_ISP_SCCLUN		  enable loading of expanded lun f/w (2100).
1658#
1659#	ISP_DISABLE_1020_SUPPORT	Disable support for 1020/1040 cards
1660#	ISP_DISABLE_1080_SUPPORT	Disable support for 1080/1240 cards
1661#	ISP_DISABLE_2100_SUPPORT	Disable support for 2100 cards
1662#	(these really just to save code space)
1663#	(use of all three will cause the driver to not compile)
1664options	SCSI_ISP_NO_FWLOAD_MASK=0x12	# disable FW load for isp1 and isp4
1665options SCSI_ISP_NO_NVRAM_MASK=0x1	# disable NVRAM for isp0
1666options SCSI_ISP_PREFER_MEM_MAP=0	# prefer I/O mapping
1667#options	ISP_DISABLE_1020_SUPPORT
1668#options	ISP_DISABLE_1080_SUPPORT
1669#options	ISP_DISABLE_2100_SUPPORT
1670
1671device		ax0
1672device		de0
1673device		fxp0
1674device		mx0
1675device		pn0
1676device		rl0
1677device		ti0
1678device		tl0
1679device		tx0
1680device		vr0
1681device		vx0
1682device		wb0
1683device		xl0
1684device		fpa0
1685device		meteor0
1686#The oltr driver in the ISA section will also find PCI cards.
1687#device		oltr0
1688
1689
1690# Brooktree driver has been ported to the new I2C framework. Thus,
1691# you'll need to have the following 3 lines in the kernel config.
1692#     controller smbus0
1693#     controller iicbus0
1694#     controller iicbb0
1695# The iic and smb devices are only needed if you want to control other
1696# I2C slaves connected to the external connector of some cards.
1697#
1698device		bktr0
1699
1700#
1701# PCI options
1702#
1703#options	PCI_QUIET	#quiets PCI code on chipset settings
1704
1705#
1706# PCCARD/PCMCIA
1707#
1708# card: slot controller
1709# pcic: slots
1710controller	card0
1711device		pcic0 at card?
1712device		pcic1 at card?
1713
1714# You may need to reset all pccards after resuming
1715options		PCIC_RESUME_RESET	# reset after resume
1716
1717#
1718# Laptop/Notebook options:
1719#
1720# See also:
1721#  apm under `Miscellaneous hardware'
1722# above.
1723
1724# For older notebooks that signal a powerfail condition (external
1725# power supply dropped, or battery state low) by issuing an NMI:
1726
1727options		POWERFAIL_NMI	# make it beep instead of panicing
1728
1729#
1730# SMB bus
1731#
1732# System Management Bus support provided by the 'smbus' device.
1733#
1734# Supported devices:
1735# smb	standard io
1736#
1737# Supported interfaces:
1738# iicsmb I2C to SMB bridge with any iicbus interface
1739# bktr	brooktree848 I2C hardware interface
1740# intpm	Intel PIIX4 Power Management Unit
1741# alpm	Acer Aladdin-IV/V/Pro2 Power Management Unit
1742#
1743controller smbus0
1744controller intpm0
1745controller alpm0
1746
1747device smb0	at smbus?
1748
1749#
1750# I2C Bus
1751#
1752# Philips i2c bus support is provided by the `iicbus' device.
1753#
1754# Supported devices:
1755# ic	i2c network interface
1756# iic	i2c standard io
1757# iicsmb i2c to smb bridge. Allow i2c i/o with smb commands.
1758#
1759# Supported interfaces:
1760# pcf	Philips PCF8584 ISA-bus controller
1761# bktr	brooktree848 I2C software interface
1762#
1763# Other:
1764# iicbb	generic I2C bit-banging code (needed by lpbb, bktr)
1765#
1766controller iicbus0
1767controller iicbb0
1768
1769device ic0	at iicbus?
1770device iic0	at iicbus?
1771device iicsmb0	at iicbus?
1772
1773controller pcf0	at isa? port 0x320 irq 5
1774
1775# ISDN4BSD section
1776#
1777# see /usr/share/examples/isdn/ROADMAP for an introduction to isdn4bsd.
1778#
1779# i4b passive ISDN cards support (isic - I4b Siemens Isdn Chipset driver)
1780# note that the ``options'' and ``device'' lines must BOTH be defined !
1781#
1782# Non-PnP Cards:
1783# --------------
1784#
1785# Teles S0/8 or Niccy 1008
1786options TEL_S0_8
1787#device	isic0 at isa? iomem 0xd0000 irq 5 flags 1
1788#
1789# Teles S0/16 or Creatix ISDN-S0 or Niccy 1016
1790options TEL_S0_16
1791#device	isic0 at isa? port 0xd80 iomem 0xd0000 irq 5 flags 2
1792#
1793# Teles S0/16.3 
1794options TEL_S0_16_3
1795#device	isic0 at isa? port 0xd80 irq 5 flags 3
1796#
1797# AVM A1 or AVM Fritz!Card
1798options AVM_A1
1799#device	isic0 at isa? port 0x340 irq 5 flags 4
1800#
1801# USRobotics Sportster ISDN TA intern
1802options USR_STI
1803#device isic0 at isa? port 0x268 irq 5 flags 7
1804#
1805# ITK ix1 Micro
1806options ITKIX1
1807#device isic0 at isa? port 0x398 irq 10 flags 18
1808#
1809# ELSA PCC-16
1810options "ELSA_PCC16"
1811#device isic0 at isa? port 0x360 irq 10 flags 19
1812#
1813# PnP-Cards:
1814# ----------
1815#
1816# Teles S0/16.3 PnP
1817options TEL_S0_16_3_P
1818#device	isic0 at isa? port ? irq ?
1819#
1820# Creatix ISDN-S0 P&P
1821options CRTX_S0_P
1822#device	isic0 at isa? port ? irq ?
1823#
1824# Dr. Neuhaus Niccy Go@
1825options DRN_NGO
1826#device	isic0 at isa? port ? irq ?
1827#
1828# Sedlbauer Win Speed
1829options SEDLBAUER
1830#device	isic0 at isa? port ? irq ?
1831#
1832# Dynalink IS64PH
1833options DYNALINK
1834#device	isic0 at isa? port ? irq ?
1835#
1836# ELSA QuickStep 1000pro ISA
1837options ELSA_QS1ISA
1838#device	isic0 at isa? port ? irq ?
1839#
1840# PCI-Cards:
1841# ----------
1842#
1843# ELSA QuickStep 1000pro PCI
1844options ELSA_QS1PCI
1845#device  isic0
1846#
1847# AVM Fritz!Card PCI
1848options "AVM_A1_PCI" 
1849#device  isic0
1850#
1851# PCMCIA-Cards:
1852# -------------
1853#
1854# AVM PCMCIA Fritz!Card
1855options AVM_A1_PCMCIA
1856device	isic0 at isa? port 0x340 irq 5 flags 10
1857#
1858# Active Cards:
1859# -------------
1860#
1861# Stollmann Tina-dd control device
1862device tina0 at isa? port 0x260 irq 10
1863#
1864# ISDN Protocol Stack
1865# -------------------
1866# 
1867# Q.921 / layer 2 - i4b passive cards D channel handling
1868pseudo-device	"i4bq921"
1869#
1870# Q.931 / layer 3 - i4b passive cards D channel handling
1871pseudo-device	"i4bq931"
1872#
1873# layer 4 - i4b common passive and active card handling
1874pseudo-device	"i4b"
1875#
1876# ISDN devices
1877# ------------
1878#
1879# userland driver to do ISDN tracing (for passive cards only)
1880pseudo-device   "i4btrc"	4
1881#
1882# userland driver to control the whole thing
1883pseudo-device   "i4bctl"
1884#
1885# userland driver for access to raw B channel
1886pseudo-device   "i4brbch"       4
1887#
1888# userland driver for telephony
1889pseudo-device   "i4btel"        2
1890#
1891# network driver for IP over raw HDLC ISDN
1892pseudo-device   "i4bipr"	4
1893# enable VJ header compression detection for ipr i/f
1894options		IPR_VJ
1895#
1896# network driver for sync PPP over ISDN
1897pseudo-device	"i4bisppp"	4
1898
1899
1900# Parallel-Port Bus
1901#
1902# Parallel port bus support is provided by the `ppbus' device.
1903# Multiple devices may be attached to the parallel port, devices
1904# are automatically probed and attached when found.
1905#
1906# Supported devices:
1907# vpo	Iomega Zip Drive
1908#	Requires SCSI disk support ('scbus' and 'da'), best
1909#	performance is achieved with ports in EPP 1.9 mode.
1910# lpt	Parallel Printer
1911# plip	Parallel network interface
1912# ppi	General-purpose I/O ("Geek Port") + IEEE1284 I/O
1913# pps	Pulse per second Timing Interface
1914# lpbb	Philips official parallel port I2C bit-banging interface
1915#
1916# Supported interfaces:
1917# ppc	ISA-bus parallel port interfaces.  
1918#
1919
1920options		DEBUG_1284	# IEEE1284 signaling protocol debug
1921options		PERIPH_1284	# Makes your computer act as a IEEE1284
1922				# compliant peripheral
1923options		DONTPROBE_1284	# Avoid boot detection of PnP parallel devices
1924options		VP0_DEBUG	# ZIP/ZIP+ debug
1925options		LPT_DEBUG	# Printer driver debug
1926options		PPC_DEBUG	# Parallel chipset level debug
1927options		PLIP_DEBUG	# Parallel network IP interface debug
1928
1929controller	ppbus0
1930controller	vpo0	at ppbus?
1931device		lpt0	at ppbus?
1932device		plip0	at ppbus?
1933device		ppi0	at ppbus?
1934device		pps0	at ppbus?
1935device		lpbb0	at ppbus?
1936
1937device		ppc0	at isa? port? irq 7
1938
1939# Kernel BOOTP support 
1940
1941options		BOOTP		# Use BOOTP to obtain IP address/hostname
1942options		BOOTP_NFSROOT	# NFS mount root filesystem using BOOTP info
1943options		BOOTP_NFSV3	# Use NFS v3 to NFS mount root
1944options		BOOTP_COMPAT	# Workaround for broken bootp daemons.
1945options		BOOTP_WIRED_TO=fxp0 # Use interface fxp0 for BOOTP
1946
1947#
1948# Add tie-ins for a hardware watchdog.  This only enable the hooks;
1949# the user must still supply the actual driver.
1950#
1951options		HW_WDOG
1952
1953#
1954# Set the number of PV entries per process.  Increasing this can
1955# stop panics related to heavy use of shared memory. However, that can
1956# (combined with large amounts of physical memory) cause panics at
1957# boot time due the kernel running out of VM space.
1958#
1959# If you're tweaking this, you might also want to increase the sysctls
1960# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target".
1961#
1962# The value below is the one more than the default.
1963#
1964options         PMAP_SHPGPERPROC=201
1965
1966#
1967# Disable swapping. This option removes all code which actually performs
1968# swapping, so it's not possible to turn it back on at run-time.
1969#
1970# This is sometimes usable for systems which don't have any swap space
1971# (see also sysctls "vm.defer_swapspace_pageouts" and
1972# "vm.disable_swapspace_pageouts")
1973#
1974#options	NO_SWAPPING
1975
1976# Set the number of sf_bufs to allocate. sf_bufs are virtual buffers
1977# for sendfile(2) that are used to map file VM pages, and normally
1978# default to a quantity that is roughly 16*MAXUSERS+512. You would
1979# typically want about 4 of these for each simultaneous file send.
1980#
1981options		NSFBUFS=1024
1982
1983#
1984# Enable extra debugging code for locks.  This stores the filename and
1985# line of whatever aquired the lock in the lock itself, and change a
1986# number of function calls to pass around the relevant data.  This is
1987# not at all useful unless you are debugging lock code.  Also note
1988# that it is likely to break e.g. fstat(1) unless you recompile your
1989# userland with -DDEBUG_LOCKS as well.
1990#
1991options		DEBUG_LOCKS
1992
1993# More undocumented options for linting.
1994
1995options		CLK_CALIBRATION_LOOP
1996options		CLK_USE_I8254_CALIBRATION
1997options		CLK_USE_TSC_CALIBRATION
1998options		TIMER_FREQ="((14318182+6)/12)"
1999options		CLUSTERDEBUG
2000options		COMPAT_LINUX
2001options		CPU_UPGRADE_HW_CACHE
2002options		DEBUG
2003options		DEBUG_VFS_LOCKS
2004#options	DISABLE_PSE
2005options		I586_PMC_GUPROF=0x70000
2006options		IBCS2
2007options		KEY
2008options		KEY_DEBUG
2009options		LOCKF_DEBUG
2010options		LOUTB
2011options		KBD_MAXRETRY=4
2012options		KBD_MAXWAIT=6
2013options		KBD_RESETDELAY=201
2014options		KBDIO_DEBUG=2
2015options		MSGMNB=2049
2016options		MSGMNI=41
2017options		MSGSEG=2049
2018options		MSGSSZ=16
2019options		MSGTQL=41
2020options		NBUF=512
2021options		NETATALKDEBUG
2022options		NMBCLUSTERS=1024
2023options		NPX_DEBUG
2024options		PANIC_REBOOT_WAIT_TIME=16
2025options		PSM_DEBUG=1
2026options		SCSI_NCR_DEBUG
2027options		SCSI_NCR_DFLT_TAGS=4
2028options		SCSI_NCR_MAX_SYNC=10000
2029options		SCSI_NCR_MAX_WIDE=1
2030options		SCSI_NCR_MYADDR=7
2031options		SEMMAP=31
2032options		SEMMNI=11
2033options		SEMMNS=61
2034options		SEMMNU=31
2035options		SEMMSL=61
2036options		SEMOPM=101
2037options		SEMUME=11
2038options		SHOW_BUSYBUFS	# List buffers that prevent root unmount
2039options		SHMALL=1025
2040options		SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)"
2041options		SHMMAXPGS=1025
2042options		SHMMIN=2
2043options		SHMMNI=33
2044options		SHMSEG=9
2045options		SI_DEBUG
2046options		SIMPLELOCK_DEBUG
2047options		SPX_HACK
2048options		VFS_BIO_DEBUG
2049options		ENABLE_ALART
2050
2051# The 'dpt' driver provides support for DPT controllers (http://www.dpt.com/).
2052# These have hardware RAID-{0,1,5} support, and do multi-initiator I/O.
2053# The DPT controllers are commonly re-licensed under other brand-names -
2054# some controllers by Olivetti, Dec, HP, AT&T, SNI, AST, Alphatronic, NEC and
2055# Compaq are actually DPT controllers.
2056#
2057# See sys/dev/dpt for debugging and other subtle options.
2058#   DPT_VERIFY_HINTR        Performs some strict hardware interrupts testing.
2059#                           Only use if you suspect PCI bus corruption problems
2060#   DPT_RESTRICTED_FREELIST Normally, the freelisat used by the DPT for queue
2061#                           will grow to accomodate increased use.  This growth
2062#                           will NOT shrink.  To restrict the number of queue
2063#                           slots to exactly what the DPT can hold at one time,
2064#                           enable this option.
2065#   DPT_MEASURE_PERFORMANCE Enables a set of (semi)invasive metrics. Various
2066#                           instruments are enabled.  The tools in 
2067#                           /usr/sbin/dpt_* assume these to be enabled.
2068#   DPT_FREELIST_IS_STACK   For optimal L{1,2} CPU cache utilization, enable
2069#                           this option.  Otherwise, the transaction queue is
2070#                           a LIFO.  I cannot measure the performance gain.
2071#   DPT_HANDLE_TIMEOUTS     Normally device timeouts are handled by the DPT.
2072#                           If you ant the driver to handle timeouts, enable
2073#                           this option.  If your system is very busy, this
2074#                           option will create more trouble than solve.
2075#   DPT_TIMEOUT_FACTOR      Used to compute the excessive amount of time to
2076#                           wait when timing out with the above option.
2077#  DPT_DEBUG_xxxx           These are controllable from sys/dev/dpt/dpt.h
2078#  DPT_LOST_IRQ             When enabled, will try, once per second, to catch
2079#                           any interrupt that got lost.  Seems to help in some
2080#                           DPT-firmware/Motherboard combinations.  Minimal
2081#                           cost, great benefit.
2082#  DPT_RESET_HBA            Make "reset" actually reset the controller
2083#                           instead of fudging it.  Only enable this if you
2084#			    are 100% certain you need it.
2085#  DPT_SHUTDOWN_SLEEP       Reset controller if a request take more than
2086#                           this number of seconds.  Do NOT enable this
2087#			    unless you are really, really, really certain
2088#			    you need it.  You are advised to call Simon (the
2089#			    driver author) before setting it, and NEVER,
2090#			    EVER set it to less than 300s (5 minutes).
2091
2092controller      dpt0
2093
2094# DPT options
2095options DPT_VERIFY_HINTR
2096options DPT_RESTRICTED_FREELIST
2097#!CAM# options DPT_MEASURE_PERFORMANCE
2098options DPT_FREELIST_IS_STACK
2099#!CAM# options DPT_HANDLE_TIMEOUTS
2100options DPT_TIMEOUT_FACTOR=4
2101options	DPT_INTR_DELAY=200      # Some motherboards need that
2102options DPT_LOST_IRQ
2103options DPT_RESET_HBA
2104
2105# Don't EVER set this without having talked to Simon Shapiro on the phone
2106# first.
2107options DPT_SHUTDOWN_SLEEP=500
2108
2109# USB support
2110# UHCI controller 
2111controller	uhci0
2112# OHCI controller
2113controller	ohci0
2114# General USB code (mandatory for USB)
2115controller	usb0
2116#
2117# Generic USB device driver
2118device		ugen0
2119# Human Interface Device (anything with buttons and dials)
2120device		uhid0
2121# USB keyboard
2122device		ukbd0
2123# USB printer
2124device		ulpt0
2125# USB Iomega Zip 100 Drive
2126controller	umass0
2127# USB mouse
2128device		ums0
2129#
2130
2131# debugging options for the USB subsystem
2132#
2133options		UHCI_DEBUG
2134options		OHCI_DEBUG
2135options		USB_DEBUG
2136
2137options		UGEN_DEBUG
2138options		UHID_DEBUG
2139options		UHUB_DEBUG
2140options		UKBD_DEBUG
2141options		ULPT_DEBUG
2142options		UMASS_DEBUG
2143options		UMS_DEBUG
2144
2145#
2146# Embedded system options:
2147#
2148# An embedded system might want to run something other than init.
2149options		INIT_PATH="/sbin/init:/stand/sysinstall"
2150
2151