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