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