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