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 'hints.' 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 options KSTACK_PAGES=3 # number of stack pages per process
90 # Deprecated options supported for backwards compatibility
91 #options PQ_NOOPT # No coloring
92 #options PQ_LARGECACHE # color for 512k/16k cache
93 #options PQ_HUGECACHE # color for 1024k/16k cache
94 #options PQ_MEDIUMCACHE # color for 256k/16k cache
95 #options PQ_NORMALCACHE # color for 64k/16k cache
97 # This allows you to actually store this configuration file into
98 # the kernel binary itself, where it may be later read by saying:
99 # strings -n 3 /boot/kernel/kernel | sed -n 's/^___//p' > MYKERNEL
101 options INCLUDE_CONFIG_FILE # Include this file in kernel
103 options GEOM # Use the GEOMetry system for
104 # disk-I/O transformations.
107 # The root device and filesystem type can be compiled in;
108 # this provides a fallback option if the root device cannot
109 # be correctly guessed by the bootstrap code, or an override if
110 # the RB_DFLTROOT flag (-r) is specified when booting the kernel.
112 options ROOTDEVNAME=\"ufs:da0s2e\"
115 #####################################################################
118 # SMP enables building of a Symmetric MultiProcessor Kernel.
121 options SMP # Symmetric MultiProcessor Kernel
123 # SMP Debugging Options:
125 # MUTEX_DEBUG enables various extra assertions in the mutex code.
126 # WITNESS enables the mutex witness code which detects deadlocks and cycles
127 # during locking operations.
128 # WITNESS_DDB causes the witness code to drop into the kernel debugger if
129 # a lock heirarchy violation occurs or if locks are held when going to
131 # WITNESS_SKIPSPIN disables the witness checks on spin mutexes.
135 options WITNESS_SKIPSPIN
138 #####################################################################
139 # COMPATIBILITY OPTIONS
142 # Implement system calls compatible with 4.3BSD and older versions of
143 # FreeBSD. You probably do NOT want to remove this as much current code
144 # still relies on the 4.3 emulation.
149 # These three options provide support for System V Interface
150 # Definition-style interprocess communication, in the form of shared
151 # memory, semaphores, and message queues, respectively.
158 #####################################################################
162 # Enable the kernel debugger.
167 # Don't drop into DDB for a panic. Intended for unattended operation
168 # where you may want to drop to DDB from the console, but still want
169 # the machine to recover from a panic
171 options DDB_UNATTENDED
174 # If using GDB remote mode to debug the kernel, there's a non-standard
175 # extension to the remote protocol that can be used to use the serial
176 # port as both the debugging port and the system console. It's non-
177 # standard and you're on your own if you enable it. See also the
178 # "remotechat" variables in the FreeBSD specific version of gdb.
180 options GDB_REMOTE_CHAT
183 # KTRACE enables the system-call tracing facility ktrace(2).
185 options KTRACE #kernel tracing
188 # KTR is a kernel tracing mechanism imported from BSD/OS. Currently it
189 # has no userland interface aside from a few sysctl's. It is enabled with
190 # the KTR option. KTR_ENTRIES defines the number of entries in the circular
191 # trace buffer. KTR_COMPILE defines the mask of events to compile into the
192 # kernel as defined by the KTR_* constants in <sys/ktr.h>. KTR_MASK defines the
193 # initial value of the ktr_mask variable which determines at runtime what
194 # events to trace. KTR_CPUMASK determines which CPU's log events, with
195 # bit X corresponding to cpu X. KTR_VERBOSE enables dumping of KTR events
196 # to the console by default. This functionality can be toggled via the
197 # debug.ktr_verbose sysctl and defaults to off if KTR_VERBOSE is not defined.
200 options KTR_ENTRIES=1024
201 options KTR_COMPILE="(KTR_INTR|KTR_PROC)"
202 options KTR_MASK=KTR_INTR
203 options KTR_CPUMASK=0x3
207 # The INVARIANTS option is used in a number of source files to enable
208 # extra sanity checking of internal structures. This support is not
209 # enabled by default because of the extra time it would take to check
210 # for these conditions, which can only occur as a result of
211 # programming errors.
216 # The INVARIANT_SUPPORT option makes us compile in support for
217 # verifying some of the internal structures. It is a prerequisite for
218 # 'INVARIANTS', as enabling 'INVARIANTS' will make these functions be
219 # called. The intent is that you can set 'INVARIANTS' for single
220 # source files (by changing the source file or specifying it on the
221 # command line) if you have 'INVARIANT_SUPPORT' enabled. Also, if you
222 # wish to build a kernel module with 'INVARIANTS', then adding
223 # 'INVARIANT_SUPPORT' to your kernel will provide all the necessary
224 # infrastructure without the added overhead.
226 options INVARIANT_SUPPORT
229 # The DIAGNOSTIC option is used to enable extra debugging information
230 # from some parts of the kernel. As this makes everything more noisy,
231 # it is disabled by default.
236 # REGRESSION causes optional kernel interfaces necessary only for regression
237 # testing to be enabled. These interfaces may consitute security risks
238 # when enabled, as they permit processes to easily modify aspects of the
239 # run-time environment to reproduce unlikely or unusual (possibly normally
240 # impossible) scenarios.
245 # RESTARTABLE_PANICS allows one to continue from a panic as if it were
246 # a call to the debugger via the Debugger() function instead. It is only
247 # useful if a kernel debugger is present. To restart from a panic, reset
248 # the panicstr variable to NULL and continue execution. This option is
249 # for development use only and should NOT be used in production systems
250 # to "workaround" a panic.
252 #options RESTARTABLE_PANICS
255 # This option let some drivers co-exist that can't co-exist in a running
256 # system. This is used to be able to compile all kernel code in one go for
257 # quality assurance purposes (like this file, which the option takes it name
260 options COMPILING_LINT
263 # XXX - this doesn't belong here either
264 #options USERCONFIG #boot -c editor
265 #options INTRO_USERCONFIG #imply -c and show intro screen
266 #options VISUAL_USERCONFIG #visual boot -c editor
268 #####################################################################
273 # Only the INET (Internet) family is officially supported in FreeBSD.
274 # Source code for the NS (Xerox Network Service) is provided for amusement
277 options INET #Internet communications protocols
278 options INET6 #IPv6 communications protocols
279 options IPSEC #IP security
280 options IPSEC_ESP #IP security (crypto; define w/ IPSEC)
281 options IPSEC_DEBUG #debug for IP security
283 options IPX #IPX/SPX communications protocols
284 options IPXIP #IPX in IP encapsulation (not available)
285 options IPTUNNEL #IP in IPX encapsulation (not available)
287 #options NCP #NetWare Core protocol
289 options NETATALK #Appletalk communications protocols
290 options NETATALKDEBUG #Appletalk debugging
292 # These are currently broken but are shipped due to interest.
293 #options NS #Xerox NS protocols
294 #options NSIP #XNS over IP
298 # NETSMB enables support for SMB protocol, it requires LIBMCHAIN and LIBICONV
300 # NETSMBCRYPTO enables support for encrypted passwords.
301 options NETSMB #SMB/CIFS requester
302 options NETSMBCRYPTO #encrypted password support for SMB
304 # mchain library. It can be either loaded as KLD or compiled into kernel
307 # netgraph(4). Enable the base netgraph code with the NETGRAPH option.
308 # Individual node types can be enabled with the corresponding option
309 # listed below; however, this is not strictly necessary as netgraph
310 # will automatically load the corresponding KLD module if the node type
311 # is not already compiled into the kernel. Each type below has a
312 # corresponding man page, e.g., ng_async(8).
313 options NETGRAPH #netgraph(4) system
314 options NETGRAPH_ASYNC
316 options NETGRAPH_CISCO
317 options NETGRAPH_ECHO
318 options NETGRAPH_ETHER
319 options NETGRAPH_FRAME_RELAY
321 options NETGRAPH_GIF_DEMUX
322 options NETGRAPH_HOLE
323 options NETGRAPH_IFACE
324 options NETGRAPH_IP_INPUT
325 options NETGRAPH_KSOCKET
327 # MPPC compression requires proprietary files (not included)
328 #options NETGRAPH_MPPC_COMPRESSION
329 options NETGRAPH_MPPC_ENCRYPTION
330 options NETGRAPH_ONE2MANY
332 options NETGRAPH_PPPOE
333 options NETGRAPH_PPTPGRE
334 options NETGRAPH_RFC1490
335 options NETGRAPH_SOCKET
336 options NETGRAPH_SPLIT
342 device mn # Munich32x/Falc54 Nx64kbit/sec cards.
343 device lmc # tulip based LanMedia WAN cards
344 device musycc # LMC/SBE LMC1504 quad T1/E1
347 # Network interfaces:
348 # The `loop' device is MANDATORY when networking is enabled.
349 # The `ether' device provides generic code to handle
350 # Ethernets; it is MANDATORY when a Ethernet device driver is
351 # configured or token-ring is enabled.
352 # The `fddi' device provides generic code to support FDDI.
353 # The `arcnet' device provides generic code to support Arcnet.
354 # The `sppp' device serves a similar role for certain types
355 # of synchronous PPP links (like `cx', `ar').
356 # The `sl' device implements the Serial Line IP (SLIP) service.
357 # The `ppp' device implements the Point-to-Point Protocol.
358 # The `bpf' device enables the Berkeley Packet Filter. Be
359 # aware of the legal and administrative consequences of enabling this
360 # option. The number of devices determines the maximum number of
361 # simultaneous BPF clients programs runnable.
362 # The `disc' device implements a minimal network interface,
363 # which throws away all packets sent and never receives any. It is
364 # included for testing purposes. This shows up as the `ds' interface.
365 # The `tap' device is a pty-like virtual Ethernet interface
366 # The `tun' device implements (user-)ppp and nos-tun
367 # The `gif' device implements IPv6 over IP4 tunneling,
368 # IPv4 over IPv6 tunneling, IPv4 over IPv4 tunneling and
369 # IPv6 over IPv6 tunneling.
370 # The XBONEHACK option allows the same pair of addresses to be configured on
371 # multiple gif interfaces.
372 # The `faith' device captures packets sent to it and diverts them
373 # to the IPv4/IPv6 translation daemon.
374 # The `stf' device implements 6to4 encapsulation.
375 # The `ef' device provides support for multiple ethernet frame types
376 # specified via ETHER_* options. See ef(4) for details.
378 # The PPP_BSDCOMP option enables support for compress(1) style entire
379 # packet compression, the PPP_DEFLATE is for zlib/gzip style compression.
380 # PPP_FILTER enables code for filtering the ppp data stream and selecting
381 # events for resetting the demand dial activity timer - requires bpf.
382 # See pppd(8) for more details.
384 device ether #Generic Ethernet
385 device vlan #VLAN support
386 device token #Generic TokenRing
387 device fddi #Generic FDDI
388 device arcnet #Generic Arcnet
389 device sppp #Generic Synchronous PPP
390 device loop 1 #Network loopback device
391 device bpf #Berkeley packet filter
392 device disc #Discard device (ds0, ds1, etc)
393 device tap #Virtual Ethernet driver
394 device tun #Tunnel driver (ppp(8), nos-tun(8))
395 device sl #Serial Line IP
396 device ppp 2 #Point-to-point protocol
397 options PPP_BSDCOMP #PPP BSD-compress support
398 options PPP_DEFLATE #PPP zlib/deflate/gzip support
399 options PPP_FILTER #enable bpf filtering (needs bpf)
401 device ef # Multiple ethernet frames support
402 options ETHER_II # enable Ethernet_II frame
403 options ETHER_8023 # enable Ethernet_802.3 (Novell) frame
404 options ETHER_8022 # enable Ethernet_802.2 frame
405 options ETHER_SNAP # enable Ethernet_802.2/SNAP frame
408 device gif #IPv6 and IPv4 tunneling
410 device faith #for IPv6 and IPv4 translation
411 device stf #6to4 IPv6 over IPv4 encapsulation
414 # Internet family options:
416 # MROUTING enables the kernel multicast packet forwarder, which works
419 # IPFIREWALL enables support for IP firewall construction, in
420 # conjunction with the `ipfw' program. IPFIREWALL_VERBOSE sends
421 # logged packets to the system logger. IPFIREWALL_VERBOSE_LIMIT
422 # limits the number of times a matching entry can be logged.
424 # WARNING: IPFIREWALL defaults to a policy of "deny ip from any to any"
425 # and if you do not add other rules during startup to allow access,
426 # YOU WILL LOCK YOURSELF OUT. It is suggested that you set firewall_type=open
427 # in /etc/rc.conf when first enabling this feature, then refining the
428 # firewall rules in /etc/rc.firewall after you've tested that the new kernel
429 # feature works properly.
431 # IPFIREWALL_DEFAULT_TO_ACCEPT causes the default rule (at boot) to
432 # allow everything. Use with care, if a cracker can crash your
433 # firewall machine, they can get to your protected machines. However,
434 # if you are using it as an as-needed filter for specific problems as
435 # they arise, then this may be for you. Changing the default to 'allow'
436 # means that you won't get stuck if the kernel and /sbin/ipfw binary get
439 # IPDIVERT enables the divert IP sockets, used by ``ipfw divert''
441 # IPSTEALTH enables code to support stealth forwarding (i.e., forwarding
442 # packets without touching the ttl). This can be useful to hide firewalls
443 # from traceroute and similar tools.
445 # PFIL_HOOKS enables an abtraction layer which is meant to be used in
446 # network code where filtering is required. See the pfil(9) man page.
447 # This option is a subset of the IPFILTER option.
449 # TCPDEBUG enables code which keeps traces of the TCP state machine
450 # for sockets with the SO_DEBUG option set, which can then be examined
451 # using the trpt(8) utility.
453 options MROUTING # Multicast routing
454 options IPFIREWALL #firewall
455 options IPFIREWALL_VERBOSE #enable logging to syslogd(8)
456 options IPFIREWALL_FORWARD #enable transparent proxy support
457 options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity
458 options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default
459 options IPV6FIREWALL #firewall for IPv6
460 options IPV6FIREWALL_VERBOSE
461 options IPV6FIREWALL_VERBOSE_LIMIT=100
462 options IPV6FIREWALL_DEFAULT_TO_ACCEPT
463 options IPDIVERT #divert sockets
464 options IPFILTER #ipfilter support
465 options IPFILTER_LOG #ipfilter logging
466 options IPFILTER_DEFAULT_BLOCK #block all packets by default
467 options IPSTEALTH #support for stealth forwarding
471 # RANDOM_IP_ID causes the ID field in IP packets to be randomized
472 # instead of incremented by 1 with each packet generated. This
473 # option closes a minor information leak which allows remote
474 # observers to determine the rate of packet generation on the
475 # machine by watching the counter.
478 # Statically Link in accept filters
479 options ACCEPT_FILTER_DATA
480 options ACCEPT_FILTER_HTTP
482 # TCP_DROP_SYNFIN adds support for ignoring TCP packets with SYN+FIN. This
483 # prevents nmap et al. from identifying the TCP/IP stack, but breaks support
484 # for RFC1644 extensions and is not recommended for web servers.
486 options TCP_DROP_SYNFIN #drop TCP packets with SYN+FIN
488 # DUMMYNET enables the "dummynet" bandwidth limiter. You need
489 # IPFIREWALL as well. See the dummynet(4) and ipfw(8) manpages for more info.
490 # When you run DUMMYNET it is advisable to also have "options HZ=1000"
491 # to achieve a smoother scheduling of the traffic.
493 # BRIDGE enables bridging between ethernet cards -- see bridge(4).
494 # You can use IPFIREWALL and DUMMYNET together with bridging.
500 # ATM (HARP version) options
502 # ATM_CORE includes the base ATM functionality code. This must be included
505 # ATM_IP includes support for running IP over ATM.
507 # At least one (and usually only one) of the following signalling managers
508 # must be included (note that all signalling managers include PVC support):
509 # ATM_SIGPVC includes support for the PVC-only signalling manager `sigpvc'.
510 # ATM_SPANS includes support for the `spans' signalling manager, which runs
511 # the FORE Systems's proprietary SPANS signalling protocol.
512 # ATM_UNI includes support for the `uni30' and `uni31' signalling managers,
513 # which run the ATM Forum UNI 3.x signalling protocols.
515 # The `hea' driver provides support for the Efficient Networks, Inc.
516 # ENI-155p ATM PCI Adapter.
518 # The `hfa' driver provides support for the FORE Systems, Inc.
519 # PCA-200E ATM PCI Adapter.
521 options ATM_CORE #core ATM protocol family
522 options ATM_IP #IP over ATM support
523 options ATM_SIGPVC #SIGPVC signalling manager
524 options ATM_SPANS #SPANS signalling manager
525 options ATM_UNI #UNI signalling manager
526 device hea #Efficient ENI-155p ATM PCI
527 device hfa #FORE PCA-200E ATM PCI
530 #####################################################################
534 # Only the root, /usr, and /tmp filesystems need be statically
535 # compiled; everything else will be automatically loaded at mount
536 # time. (Exception: the UFS family--- FFS --- cannot
537 # currently be demand-loaded.) Some people still prefer to statically
538 # compile other filesystems as well.
540 # NB: The NULL, PORTAL, UMAP and UNION filesystems are known to be
541 # buggy, and WILL panic your system if you attempt to do anything with
542 # them. They are included here as an incentive for some enterprising
543 # soul to sit down and fix them.
546 # One of these is mandatory:
547 options FFS #Fast filesystem
548 options NFSCLIENT #Network File System
549 options NFSSERVER #Network File System
551 # The rest are optional:
552 options CD9660 #ISO 9660 filesystem
553 options FDESCFS #File descriptor filesystem
554 options HPFS #OS/2 File system
555 options MSDOSFS #MS DOS File System (FAT, FAT32)
556 options NTFS #NT File System
557 options NULLFS #NULL filesystem
558 #options NWFS #NetWare filesystem
559 options PORTALFS #Portal filesystem
560 options PROCFS #Process filesystem (requires PSEUDOFS)
561 options PSEUDOFS #Pseudo-filesystem framework
562 options SMBFS #SMB/CIFS filesystem
563 options UMAPFS #UID map filesystem
564 options UNIONFS #Union filesystem
565 # options NODEVFS #disable devices filesystem
566 # The xFS_ROOT options REQUIRE the associated ``options xFS''
567 options NFS_ROOT #NFS usable as root device
568 # This code enables IFS, an FFS which exports inodes as the namespace.
569 # You can find details in src/sys/ufs/ifs/README .
572 # Soft updates is a technique for improving file system speed and
573 # making abrupt shutdown less risky.
577 # Extended attributes allow additional data to be associated with files,
578 # and is used for ACLs, Capabilities, and MAC labels.
579 # See src/sys/ufs/ufs/README.extattr for more information.
581 options UFS_EXTATTR_AUTOSTART
583 # Access Control List support for UFS filesystems. The current ACL
584 # implementation requires extended attribute support, UFS_EXTATTR,
585 # for the underlying filesystem.
586 # See src/sys/ufs/ufs/README.acls for more information.
589 # Directory hashing improves the speed of operations on very large
590 # directories at the expense of some memory.
593 # Make space in the kernel for a root filesystem on a md device.
594 # Define to the number of kilobytes to reserve for the filesystem.
595 options MD_ROOT_SIZE=10
597 # Make the md device a potential root device, either with preloaded
598 # images of type mfs_root or md_root.
601 # Allow this many swap-devices.
603 # In order to manage swap, the system must reserve bitmap space that
604 # scales with the largest mounted swap device multiplied by NSWAPDEV,
605 # irregardless of whether other swap devices exist or not. So it
606 # is not a good idea to make this value too large.
609 # Disk quotas are supported when this option is enabled.
610 options QUOTA #enable disk quotas
612 # If you are running a machine just as a fileserver for PC and MAC
613 # users, using SAMBA or Netatalk, you may consider setting this option
614 # and keeping all those users' directories on a filesystem that is
615 # mounted with the suiddir option. This gives new files the same
616 # ownership as the directory (similar to group). It's a security hole
617 # if you let these users run programs, so confine it to file-servers
618 # (but it'll save you lots of headaches in those cases). Root owned
619 # directories are exempt and X bits are cleared. The suid bit must be
620 # set on the directory as well; see chmod(1) PC owners can't see/set
621 # ownerships so they keep getting their toes trodden on. This saves
622 # you all the support calls as the filesystem it's used on will act as
623 # they expect: "It's my dir so it must be my file".
628 options NFS_MINATTRTIMO=3 # VREG attrib cache timeout in sec
629 options NFS_MAXATTRTIMO=60
630 options NFS_MINDIRATTRTIMO=30 # VDIR attrib cache timeout in sec
631 options NFS_MAXDIRATTRTIMO=60
632 options NFS_GATHERDELAY=10 # Default write gather delay (msec)
633 options NFS_WDELAYHASHSIZ=16 # and with this
634 options NFS_DEBUG # Enable NFS Debugging
637 options CODA #CODA filesystem.
638 device vcoda 4 #coda minicache <-> venus comm.
641 # Add support for the EXT2FS filesystem of Linux fame. Be a bit
642 # careful with this - the ext2fs code has a tendency to lag behind
643 # changes and not be exercised very much, so mounting read/write could
644 # be dangerous (and even mounting read only could result in panics.)
648 # Use real implementations of the aio_* system calls. There are numerous
649 # stability and security issues in the current aio code that make it
650 # unsuitable for inclusion on machines with untrusted local users.
653 # Enable the code UFS IO optimization through the VM system. This allows
654 # use VM operations instead of copying operations when possible.
656 # Even with this enabled, actual use of the code is still controlled by the
657 # sysctl vfs.ioopt. 0 gives no optimization, 1 gives normal (use VM
658 # operations if a request happens to fit), 2 gives agressive optimization
659 # (the operations are split to do as much as possible through the VM system.)
661 # Enabling this will probably not give an overall speedup except for
663 options ENABLE_VFS_IOOPT
665 # Cryptographically secure random number generator; /dev/[u]random
669 #####################################################################
672 # Real time extensions added in the 1993 Posix
673 # P1003_1B: Infrastructure
674 # _KPOSIX_PRIORITY_SCHEDULING: Build in _POSIX_PRIORITY_SCHEDULING
675 # _KPOSIX_VERSION: Version kernel is built for
678 options _KPOSIX_PRIORITY_SCHEDULING
679 options _KPOSIX_VERSION=199309L
682 #####################################################################
685 # The granularity of operation is controlled by the kernel option HZ whose
686 # default value (100) means a granularity of 10ms (1s/HZ).
687 # Some subsystems, such as DUMMYNET, might benefit from a smaller
688 # granularity such as 1ms or less, for a smoother scheduling of packets.
689 # Consider, however, that reducing the granularity too much might
690 # cause excessive overhead in clock interrupt processing,
691 # potentially causing ticks to be missed and thus actually reducing
692 # the accuracy of operation.
697 #####################################################################
700 # SCSI DEVICE CONFIGURATION
702 # The SCSI subsystem consists of the `base' SCSI code, a number of
703 # high-level SCSI device `type' drivers, and the low-level host-adapter
704 # device drivers. The host adapters are listed in the ISA and PCI
705 # device configuration sections below.
707 # Beginning with FreeBSD 2.0.5 you can wire down your SCSI devices so
708 # that a given bus, target, and LUN always come on line as the same
709 # device unit. In earlier versions the unit numbers were assigned
710 # in the order that the devices were probed on the SCSI bus. This
711 # means that if you removed a disk drive, you may have had to rewrite
712 # your /etc/fstab file, and also that you had to be careful when adding
713 # a new disk as it may have been probed earlier and moved your device
714 # configuration around.
716 # This old behavior is maintained as the default behavior. The unit
717 # assignment begins with the first non-wired down unit for a device
718 # type. For example, if you wire a disk as "da3" then the first
719 # non-wired disk will be assigned da4.
721 # The syntax for wiring down devices is:
723 hint.scbus.0.at="ahc0"
724 hint.scbus.1.at="ahc1"
726 hint.scbus.3.at="ahc2"
728 hint.scbus.2.at="ahc2"
730 hint.da.0.at="scbus0"
733 hint.da.1.at="scbus3"
735 hint.da.2.at="scbus2"
737 hint.sa.1.at="scbus1"
740 # "units" (SCSI logical unit number) that are not specified are
741 # treated as if specified as LUN 0.
743 # All SCSI devices allocate as many units as are required.
745 # The ch driver drives SCSI Media Changer ("jukebox") devices.
747 # The da driver drives SCSI Direct Access ("disk") and Optical Media
750 # The sa driver drives SCSI Sequential Access ("tape") devices.
752 # The cd driver drives SCSI Read Only Direct Access ("cd") devices.
754 # The ses driver drives SCSI Envinronment Services ("ses") and
755 # SAF-TE ("SCSI Accessable Fault-Tolerant Enclosure") devices.
757 # The pt driver drives SCSI Processor devices.
760 # Target Mode support is provided here but also requires that a SIM
761 # (SCSI Host Adapter Driver) provide support as well.
763 # The targ driver provides target mode support as a Processor type device.
764 # It exists to give the minimal context necessary to respond to Inquiry
765 # commands. There is a sample user application that shows how the rest
766 # of the command support might be done in /usr/share/examples/scsi_target.
768 # The targbh driver provides target mode support and exists to respond
769 # to incoming commands that do not otherwise have a logical unit assigned
772 # The "unknown" device (uk? in pre-2.0.5) is now part of the base SCSI
773 # configuration as the "pass" driver.
775 device scbus #base SCSI code
776 device ch #SCSI media changers
777 device da #SCSI direct access devices (aka disks)
778 device sa #SCSI tapes
779 device cd #SCSI CD-ROMs
780 device ses #SCSI Environmental Services (and SAF-TE)
781 device pt #SCSI processor
782 device targ #SCSI Target Mode Code
783 device targbh #SCSI Target Mode Blackhole Device
784 device pass #CAM passthrough driver
788 # -- NOTE -- If you specify one of the bus/target/lun options, you must
790 # CAMDEBUG: When defined enables debugging macros
791 # CAM_DEBUG_BUS: Debug the given bus. Use -1 to debug all busses.
792 # CAM_DEBUG_TARGET: Debug the given target. Use -1 to debug all targets.
793 # CAM_DEBUG_LUN: Debug the given lun. Use -1 to debug all luns.
794 # CAM_DEBUG_FLAGS: OR together CAM_DEBUG_INFO, CAM_DEBUG_TRACE,
795 # CAM_DEBUG_SUBTRACE, and CAM_DEBUG_CDB
797 # CAM_MAX_HIGHPOWER: Maximum number of concurrent high power (start unit) cmds
798 # CAM_NEW_TRAN_CODE: this is the new transport layer code that will be switched
800 # SCSI_NO_SENSE_STRINGS: When defined disables sense descriptions
801 # SCSI_NO_OP_STRINGS: When defined disables opcode descriptions
802 # SCSI_DELAY: The number of MILLISECONDS to freeze the SIM (scsi adapter)
803 # queue after a bus reset, and the number of milliseconds to
804 # freeze the device queue after a bus device reset.
806 options CAM_DEBUG_BUS=-1
807 options CAM_DEBUG_TARGET=-1
808 options CAM_DEBUG_LUN=-1
809 options CAM_DEBUG_FLAGS="CAM_DEBUG_INFO|CAM_DEBUG_TRACE|CAM_DEBUG_CDB"
810 options CAM_MAX_HIGHPOWER=4
811 options SCSI_NO_SENSE_STRINGS
812 options SCSI_NO_OP_STRINGS
813 options SCSI_DELAY=8000 # Be pessimistic about Joe SCSI device
815 # Options for the CAM CDROM driver:
816 # CHANGER_MIN_BUSY_SECONDS: Guaranteed minimum time quantum for a changer LUN
817 # CHANGER_MAX_BUSY_SECONDS: Maximum time quantum per changer LUN, only
818 # enforced if there is I/O waiting for another LUN
819 # The compiled in defaults for these variables are 2 and 10 seconds,
822 # These can also be changed on the fly with the following sysctl variables:
823 # kern.cam.cd.changer.min_busy_seconds
824 # kern.cam.cd.changer.max_busy_seconds
826 options CHANGER_MIN_BUSY_SECONDS=2
827 options CHANGER_MAX_BUSY_SECONDS=10
829 # Options for the CAM sequential access driver:
830 # SA_IO_TIMEOUT: Timeout for read/write/wfm operations, in minutes
831 # SA_SPACE_TIMEOUT: Timeout for space operations, in minutes
832 # SA_REWIND_TIMEOUT: Timeout for rewind operations, in minutes
833 # SA_ERASE_TIMEOUT: Timeout for erase operations, in minutes
834 # SA_1FM_AT_EOD: Default to model which only has a default one filemark at EOT.
835 options SA_IO_TIMEOUT="(4)"
836 options SA_SPACE_TIMEOUT="(60)"
837 options SA_REWIND_TIMEOUT="(2*60)"
838 options SA_ERASE_TIMEOUT="(4*60)"
839 options SA_1FM_AT_EOD
841 # Optional timeout for the CAM processor target (pt) device
842 # This is specified in seconds. The default is 60 seconds.
843 options SCSI_PT_DEFAULT_TIMEOUT="60"
845 # Optional enable of doing SES passthrough on other devices (e.g., disks)
847 # Normally disabled because a lot of newer SCSI disks report themselves
848 # as having SES capabilities, but this can then clot up attempts to build
849 # build a topology with the SES device that's on the box these drives
851 options SES_ENABLE_PASSTHROUGH
854 #####################################################################
855 # MISCELLANEOUS DEVICES AND OPTIONS
857 # The `pty' device usually turns out to be ``effectively mandatory'',
858 # as it is required for `telnetd', `rlogind', `screen', `emacs', and
859 # `xterm', among others.
861 device pty #Pseudo ttys
862 device nmdm #back-to-back tty devices
863 device md #Memory/malloc disk
864 device snp #Snoop device - to look at pty/vty/etc..
865 device ccd #Concatenated disk driver
867 # Configuring Vinum into the kernel is not necessary, since the kld
868 # module gets started automatically when vinum(8) starts. This
869 # device is also untested. Use at your own risk.
871 # The option VINUMDEBUG must match the value set in CFLAGS
872 # in src/sbin/vinum/Makefile. Failure to do so will result in
873 # the following message from vinum(8):
875 # Can't get vinum config: Invalid argument
877 # see vinum(4) for more reasons not to use these options.
878 device vinum #Vinum concat/mirror/raid driver
879 options VINUMDEBUG #enable Vinum debugging hooks
881 # Kernel side iconv library
884 # Size of the kernel message buffer. Should be N * pagesize.
885 options MSGBUF_SIZE=40960
888 #####################################################################
889 # HARDWARE BUS CONFIGURATION
896 # Enable support for the kernel PLL to use an external PPS signal,
897 # under supervision of [x]ntpd(8)
898 # More info in ntpd documentation: http://www.eecis.udel.edu/~ntp
902 # If you see the "calcru: negative time of %ld usec for pid %d (%s)\n"
903 # message you probably have some broken sw/hw which disables interrupts
904 # for too long. You can make the system more resistant to this by
905 # choosing a high value for NTIMECOUNTER. The default is 5, there
906 # is no upper limit but more than a couple of hundred are not productive.
908 options NTIMECOUNTER=20
911 # PCI bus & PCI options:
913 # The main PCI bus device is `pci'. It provides auto-detection and
914 # configuration support for all devices on the PCI bus, using either
915 # configuration mode defined in the PCI specification.
920 #####################################################################
921 # HARDWARE DEVICE CONFIGURATION
923 # For ISA the required hints are listed.
924 # EISA, MCA, PCI and pccard are self identifying buses, so no hints
931 # The syscons console driver (sco color console compatible).
934 options MAXCONS=16 # number of virtual consoles
935 options SC_ALT_MOUSE_IMAGE # simplified mouse cursor in text mode
936 options SC_DFLT_FONT # compile font in
937 makeoptions SC_DFLT_FONT=cp850
938 options SC_DISABLE_DDBKEY # disable `debug' key
939 options SC_DISABLE_REBOOT # disable reboot key sequence
940 options SC_HISTORY_SIZE=200 # number of history buffer lines
941 options SC_MOUSE_CHAR=0x3 # char code for text mode mouse cursor
942 options SC_PIXEL_MODE # add support for the raster text mode
944 # The following options will let you change the default colors of syscons.
945 options SC_NORM_ATTR="(FG_GREEN|BG_BLACK)"
946 options SC_NORM_REV_ATTR="(FG_YELLOW|BG_GREEN)"
947 options SC_KERNEL_CONS_ATTR="(FG_RED|BG_BLACK)"
948 options SC_KERNEL_CONS_REV_ATTR="(FG_BLACK|BG_RED)"
950 # The following options will let you change the default behaviour of
951 # cut-n-paste feature
952 options SC_CUT_SPACES2TABS # convert leading spaces into tabs
953 options SC_CUT_SEPCHARS="\x20" # set of characters that delimit words
954 # (default is single space - "\x20")
956 # If you have a two button mouse, you may want to add the following option
957 # to use the right button of the mouse to paste text.
958 options SC_TWOBUTTON_MOUSE
960 # You can selectively disable features in syscons.
961 options SC_NO_CUTPASTE
962 options SC_NO_FONT_LOADING
963 options SC_NO_HISTORY
964 options SC_NO_SYSMOUSE
967 # 0x80 Put the video card in the VESA 800x600 dots, 16 color mode
968 # 0x100 Probe for a keyboard device periodically if one is not present
975 # SCSI host adapters:
977 # adw: Second Generation AdvanSys controllers including the ADV940UW.
978 # ahc: Adaptec 274x/284x/2910/293x/294x/394x/3950x/3960x/398X/4944/
979 # 19160x/29160x, aic7770/aic78xx
980 # amd: Support for the AMD 53C974 SCSI host adapter chip as found on devices
981 # such as the Tekram DC-390(T).
982 # isp: Qlogic ISP 1020, 1040 and 1040B PCI SCSI host adapters,
983 # ISP 1240 Dual Ultra SCSI, ISP 1080 and 1280 (Dual) Ultra2,
984 # ISP 12160 Ultra3 SCSI,
985 # Qlogic ISP 2100 and ISP 2200 1Gb Fibre Channel host adapters.
986 # Qlogic ISP 2300 and ISP 2312 2Gb Fibre Channel host adapters.
987 # ispfw: Firmware module for Qlogic host adapters
988 # ncr: NCR 53C810, 53C825 self-contained SCSI host adapters.
989 # ncv: NCR 53C500 based SCSI host adapters.
990 # nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters.
991 # sym: Symbios/Logic 53C8XX family of PCI-SCSI I/O processors:
992 # 53C810, 53C810A, 53C815, 53C825, 53C825A, 53C860, 53C875,
993 # 53C876, 53C885, 53C895, 53C895A, 53C896, 53C897, 53C1510D,
994 # 53C1010-33, 53C1010-66.
1000 hint.isp.0.disable="1"
1002 hint.isp.0.prefer_iomap="1"
1003 hint.isp.0.prefer_memmap="1"
1004 hint.isp.0.fwload_disable="1"
1005 hint.isp.0.ignore_nvram="1"
1006 hint.isp.0.fullduplex="1"
1007 hint.isp.0.topology="lport"
1008 hint.isp.0.topology="nport"
1009 hint.isp.0.topology="lport-only"
1010 hint.isp.0.topology="nport-only"
1011 # we can't get u_int64_t types, nor can we get strings if it's got
1012 # a leading 0x, hence this silly dodge.
1013 hint.isp.0.portwnn="w50000000aaaa0000"
1014 hint.isp.0.nodewnn="w50000000aaaa0001"
1021 # The aic7xxx driver will attempt to use memory mapped I/O for all PCI
1022 # controllers that have it configured only if this option is set. Unfortunately,
1023 # this doesn't work on some motherboards, which prevents it from being the
1025 options AHC_ALLOW_MEMIO
1027 # Enable diagnostic sequencer code.
1028 options AHC_DEBUG_SEQUENCER
1030 # Dump the contents of the ahc controller configuration PROM.
1031 options AHC_DUMP_EEPROM
1033 # Bitmap of units to enable targetmode operations.
1034 options AHC_TMODE_ENABLE
1036 # The adw driver will attempt to use memory mapped I/O for all PCI
1037 # controllers that have it configured only if this option is set.
1038 options ADW_ALLOW_MEMIO
1040 # Options used in dev/isp/ (Qlogic SCSI/FC driver).
1042 # ISP_TARGET_MODE - enable target mode operation
1044 #options ISP_TARGET_MODE=1
1046 # Options used in dev/sym/ (Symbios SCSI driver).
1047 #options SYM_SETUP_LP_PROBE_MAP #-Low Priority Probe Map (bits)
1048 # Allows the ncr to take precedence
1049 # 1 (1<<0) -> 810a, 860
1050 # 2 (1<<1) -> 825a, 875, 885, 895
1051 # 4 (1<<2) -> 895a, 896, 1510d
1052 #options SYM_SETUP_SCSI_DIFF #-HVD support for 825a, 875, 885
1053 # disabled:0 (default), enabled:1
1054 #options SYM_SETUP_PCI_PARITY #-PCI parity checking
1055 # disabled:0, enabled:1 (default)
1056 #options SYM_SETUP_MAX_LUN #-Number of LUNs supported
1057 # default:8, range:[1..64]
1059 # The 'asr' driver provides support for current DPT/Adaptec SCSI RAID
1060 # controllers (SmartRAID V and VI and later).
1061 # These controllers require the CAM infrastructure.
1065 # The 'dpt' driver provides support for old DPT controllers (http://www.dpt.com/).
1066 # These have hardware RAID-{0,1,5} support, and do multi-initiator I/O.
1067 # The DPT controllers are commonly re-licensed under other brand-names -
1068 # some controllers by Olivetti, Dec, HP, AT&T, SNI, AST, Alphatronic, NEC and
1069 # Compaq are actually DPT controllers.
1071 # See src/sys/dev/dpt for debugging and other subtle options.
1072 # DPT_MEASURE_PERFORMANCE Enables a set of (semi)invasive metrics. Various
1073 # instruments are enabled. The tools in
1074 # /usr/sbin/dpt_* assume these to be enabled.
1075 # DPT_HANDLE_TIMEOUTS Normally device timeouts are handled by the DPT.
1076 # If you ant the driver to handle timeouts, enable
1077 # this option. If your system is very busy, this
1078 # option will create more trouble than solve.
1079 # DPT_TIMEOUT_FACTOR Used to compute the excessive amount of time to
1080 # wait when timing out with the above option.
1081 # DPT_DEBUG_xxxx These are controllable from sys/dev/dpt/dpt.h
1082 # DPT_LOST_IRQ When enabled, will try, once per second, to catch
1083 # any interrupt that got lost. Seems to help in some
1084 # DPT-firmware/Motherboard combinations. Minimal
1085 # cost, great benefit.
1086 # DPT_RESET_HBA Make "reset" actually reset the controller
1087 # instead of fudging it. Only enable this if you
1088 # are 100% certain you need it.
1093 #!CAM# options DPT_MEASURE_PERFORMANCE
1094 #!CAM# options DPT_HANDLE_TIMEOUTS
1095 options DPT_TIMEOUT_FACTOR=4
1096 options DPT_LOST_IRQ
1097 options DPT_RESET_HBA
1098 options DPT_ALLOW_MEMIO
1101 # Compaq "CISS" RAID controllers (SmartRAID 5* series)
1102 # These controllers have a SCSI-like interface, and require the
1103 # CAM infrastructure.
1108 # Intel Integrated RAID controllers.
1109 # This driver was developed and is maintained by Intel. Contacts
1110 # at Intel for this driver are
1111 # "Kannanthanam, Boji T" <boji.t.kannanthanam@intel.com> and
1112 # "Leubner, Achim" <achim.leubner@intel.com>.
1117 # Mylex AcceleRAID and eXtremeRAID controllers with v6 and later
1118 # firmware. These controllers have a SCSI-like interface, and require
1119 # the CAM infrastructure.
1124 # Adaptec FSA RAID controllers, including integrated DELL controllers,
1125 # the Dell PERC 2/QC and the HP NetRAID-4M
1127 # AAC_COMPAT_LINUX Include code to support Linux-binary management
1128 # utilities (requires Linux compatibility
1134 # Compaq Smart RAID, Mylex DAC960 and AMI MegaRAID controllers. Only
1135 # one entry is needed; the code will find and configure all supported
1138 device ida # Compaq Smart RAID
1139 device mlx # Mylex DAC960
1140 device amr # AMI MegaRAID
1145 device twe # 3ware ATA RAID
1148 # The 'ATA' driver supports all ATA and ATAPI devices, including PC Card
1149 # devices. You only need one "device ata" for it to find all
1150 # PCI and PC Card ATA/ATAPI devices on modern machines.
1152 device atadisk # ATA disk drives
1153 device atapicd # ATAPI CDROM drives
1154 device atapifd # ATAPI floppy drives
1155 device atapist # ATAPI tape drives
1158 # For older non-PCI, non-PnPBIOS systems, these are the hints lines to add:
1160 hint.ata.0.port="0x1f0"
1163 hint.ata.1.port="0x170"
1167 # The following options are valid on the ATA driver:
1169 # ATA_STATIC_ID: controller numbering is static ie depends on location
1170 # else the device numbers are dynamically allocated.
1172 options ATA_STATIC_ID
1175 # Standard floppy disk controllers and floppy tapes, supports
1176 # the Y-E DATA External FDD (PC Card)
1180 hint.fdc.0.port="0x3F0"
1184 # FDC_DEBUG enables floppy debugging. Since the debug output is huge, you
1185 # gotta turn it actually on by setting the variable fd_debug with DDB,
1189 # Activate this line if you happen to have an Insight floppy tape.
1190 # Probing them proved to be dangerous for people with floppy disks only,
1191 # so it's "hidden" behind a flag:
1192 #hint.fdc.0.flags="1"
1194 # Specify floppy devices
1201 # sio: serial ports (see sio(4)), including support for various
1202 # PC Card devices, such as Modem and NICs (see etc/defaults/pccard.conf)
1206 hint.sio.0.port="0x3F8"
1207 hint.sio.0.flags="0x10"
1211 # `flags' for serial drivers that support consoles (only for sio now):
1212 # 0x10 enable console support for this unit. The other console flags
1213 # are ignored unless this is set. Enabling console support does
1214 # not make the unit the preferred console - boot with -h or set
1215 # the 0x20 flag for that. Currently, at most one unit can have
1216 # console support; the first one (in config file order) with
1217 # this flag set is preferred. Setting this flag for sio0 gives
1218 # the old behaviour.
1219 # 0x20 force this unit to be the console (unless there is another
1220 # higher priority console). This replaces the COMCONSOLE option.
1221 # 0x40 reserve this unit for low level console operations. Do not
1222 # access the device in any normal way.
1223 # 0x80 use this port for serial line gdb support in ddb.
1225 # PnP `flags' (set via userconfig using pnp x flags y)
1226 # 0x1 disable probing of this device. Used to prevent your modem
1227 # from being attached as a PnP modem.
1230 # Options for serial drivers that support consoles (only for sio now):
1231 options BREAK_TO_DEBUGGER #a BREAK on a comconsole goes to
1233 options CONSPEED=115200 # speed for serial console
1236 # Solaris implements a new BREAK which is initiated by a character
1237 # sequence CR ~ ^b which is similar to a familiar pattern used on
1238 # Sun servers by the Remote Console.
1239 options ALT_BREAK_TO_DEBUGGER
1242 options COM_ESP #code for Hayes ESP
1243 options COM_MULTIPORT #code for some cards with shared IRQs
1245 # Other flags for sio that aren't documented in the man page.
1246 # 0x20000 enable hardware RTS/CTS and larger FIFOs. Only works for
1247 # ST16650A-compatible UARTs.
1249 # PCI Universal Communications driver
1250 # Supports various single and multi port PCI serial cards. Maybe later
1251 # also the parallel ports on combination serial/parallel cards. New cards
1252 # can be added in src/sys/dev/puc/pucdata.c.
1254 # If the PUC_FASTINTR option is used the driver will try to use fast
1255 # interrupts. The card must then be the only user of that interrupt.
1256 # Interrupts cannot be shared when using PUC_FASTINTR.
1258 options PUC_FASTINTR
1261 # Network interfaces:
1263 # MII bus support is required for some PCI 10/100 ethernet NICs,
1264 # namely those which use MII-compliant transceivers or implement
1265 # tranceiver control interfaces that operate like an MII. Adding
1266 # "device miibus0" to the kernel config pulls in support for
1267 # the generic miibus API and all of the PHY drivers, including a
1268 # generic one for PHYs that aren't specifically handled by an
1269 # individual driver.
1272 # bge: Support for gigabit ethernet adapters based on the Broadcom
1273 # BCM570x family of controllers, including the 3Com 3c996-T,
1274 # the Netgear GA302T, the SysKonnect SK-9D21 and SK-9D41, and
1275 # the embedded gigE NICs on Dell PowerEdge 2550 servers.
1276 # dc: Support for PCI fast ethernet adapters based on the DEC/Intel 21143
1277 # and various workalikes including:
1278 # the ADMtek AL981 Comet and AN985 Centaur, the ASIX Electronics
1279 # AX88140A and AX88141, the Davicom DM9100 and DM9102, the Lite-On
1280 # 82c168 and 82c169 PNIC, the Lite-On/Macronix LC82C115 PNIC II
1281 # and the Macronix 98713/98713A/98715/98715A/98725 PMAC. This driver
1282 # replaces the old al, ax, dm, pn and mx drivers. List of brands:
1283 # Digital DE500-BA, Kingston KNE100TX, D-Link DFE-570TX, SOHOware SFA110,
1284 # SVEC PN102-TX, CNet Pro110B, 120A, and 120B, Compex RL100-TX,
1285 # LinkSys LNE100TX, LNE100TX V2.0, Jaton XpressNet, Alfa Inc GFC2204,
1287 # de: Digital Equipment DC21040
1288 # em: Intel Pro/1000 Gigabit Ethernet 82542, 82543, 82544 based adapters.
1289 # fpa: Support for the Digital DEFPA PCI FDDI. `device fddi' is also needed.
1290 # fxp: Intel EtherExpress Pro/100B
1291 # (hint of prefer_iomap can be done to prefer I/O instead of Mem mapping)
1292 # gx: Intel Pro/1000 Gigabit Ethernet (82542, 82543-F, 82543-T)
1293 # lge: Support for PCI gigabit ethernet adapters based on the Level 1
1294 # LXT1001 NetCellerator chipset. This includes the D-Link DGE-500SX,
1295 # SMC TigerCard 1000 (SMC9462SX), and some Addtron cards.
1296 # nge: Support for PCI gigabit ethernet adapters based on the National
1297 # Semiconductor DP83820 and DP83821 chipset. This includes the
1298 # SMC EZ Card 1000 (SMC9462TX), D-Link DGE-500T, Asante FriendlyNet
1299 # GigaNIX 1000TA and 1000TPC, the Addtron AEG320T, the LinkSys
1300 # EG1032 and EG1064, the Surecom EP-320G-TX and the Netgear GA622T.
1301 # pcn: Support for PCI fast ethernet adapters based on the AMD Am79c97x
1302 # chipsets, including the PCnet/FAST, PCnet/FAST+, PCnet/PRO and
1303 # PCnet/Home. These were previously handled by the lnc driver (and
1304 # still will be if you leave this driver out of the kernel).
1305 # rl: Support for PCI fast ethernet adapters based on the RealTek 8129/8139
1306 # chipset. Note that the RealTek driver defaults to using programmed
1307 # I/O to do register accesses because memory mapped mode seems to cause
1308 # severe lockups on SMP hardware. This driver also supports the
1309 # Accton EN1207D `Cheetah' adapter, which uses a chip called
1310 # the MPX 5030/5038, which is either a RealTek in disguise or a
1311 # RealTek workalike. Note that the D-Link DFE-530TX+ uses the RealTek
1312 # chipset and is supported by this driver, not the 'vr' driver.
1313 # sf: Support for Adaptec Duralink PCI fast ethernet adapters based on the
1314 # Adaptec AIC-6915 "starfire" controller.
1315 # This includes dual and quad port cards, as well as one 100baseFX card.
1316 # Most of these are 64-bit PCI devices, except for one single port
1317 # card which is 32-bit.
1318 # sis: Support for NICs based on the Silicon Integrated Systems SiS 900,
1319 # SiS 7016 and NS DP83815 PCI fast ethernet controller chips.
1320 # sk: Support for the SysKonnect SK-984x series PCI gigabit ethernet NICs.
1321 # This includes the SK-9841 and SK-9842 single port cards (single mode
1322 # and multimode fiber) and the SK-9843 and SK-9844 dual port cards
1323 # (also single mode and multimode).
1324 # The driver will autodetect the number of ports on the card and
1325 # attach each one as a separate network interface.
1326 # ste: Sundance Technologies ST201 PCI fast ethernet controller, includes
1327 # the D-Link DFE-550TX.
1328 # ti: Support for PCI gigabit ethernet NICs based on the Alteon Networks
1329 # Tigon 1 and Tigon 2 chipsets. This includes the Alteon AceNIC, the
1330 # 3Com 3c985, the Netgear GA620 and various others. Note that you will
1331 # probably want to bump up NMBCLUSTERS a lot to use this driver.
1332 # tl: Support for the Texas Instruments TNETE100 series 'ThunderLAN'
1333 # cards and integrated ethernet controllers. This includes several
1334 # Compaq Netelligent 10/100 cards and the built-in ethernet controllers
1335 # in several Compaq Prosignia, Proliant and Deskpro systems. It also
1336 # supports several Olicom 10Mbps and 10/100 boards.
1337 # tx: SMC 9432 TX, BTX and FTX cards. (SMC EtherPower II serie)
1338 # txp: Support for 3Com 3cR990 cards with the "Typhoon" chipset
1339 # vr: Support for various fast ethernet adapters based on the VIA
1340 # Technologies VT3043 `Rhine I' and VT86C100A `Rhine II' chips,
1341 # including the D-Link DFE530TX (see 'rl' for DFE530TX+), the Hawking
1342 # Technologies PN102TX, and the AOpen/Acer ALN-320.
1343 # vx: 3Com 3C590 and 3C595
1344 # wb: Support for fast ethernet adapters based on the Winbond W89C840F chip.
1345 # Note: this is not the same as the Winbond W89C940F, which is a
1347 # xl: Support for the 3Com 3c900, 3c905, 3c905B and 3c905C (Fast)
1348 # Etherlink XL cards and integrated controllers. This includes the
1349 # integrated 3c905B-TX chips in certain Dell Optiplex and Dell
1350 # Precision desktop machines and the integrated 3c905-TX chips
1351 # in Dell Latitude laptop docking stations.
1352 # Also supported: 3Com 3c980(C)-TX, 3Com 3cSOHO100-TX, 3Com 3c450-TX
1354 # PCI Ethernet NICs that use the common MII bus controller code.
1355 device dc # DEC/Intel 21143 and various workalikes
1356 device fxp # Intel EtherExpress PRO/100B (82557, 82558)
1357 hint.fxp.0.prefer_iomap="0"
1358 device rl # RealTek 8129/8139
1359 device pcn # AMD Am79C97x PCI 10/100 NICs
1360 device sf # Adaptec AIC-6915 (``Starfire'')
1361 device sis # Silicon Integrated Systems SiS 900/SiS 7016
1362 device ste # Sundance ST201 (D-Link DFE-550TX)
1363 device tl # Texas Instruments ThunderLAN
1364 device tx # SMC EtherPower II (83c170 ``EPIC'')
1365 device vr # VIA Rhine, Rhine II
1366 device wb # Winbond W89C840F
1367 device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'')
1369 # PCI Ethernet NICs.
1370 device de # DEC/Intel DC21x4x (``Tulip'')
1371 device txp # 3Com 3cR990 (``Typhoon'')
1372 device vx # 3Com 3c590, 3c595 (``Vortex'')
1374 # PCI Gigabit & FDDI NICs.
1384 # ATM related options (Cranor version)
1385 # (note: this driver cannot be used with the HARP ATM stack)
1387 # The `en' device provides support for Efficient Networks (ENI)
1388 # ENI-155 PCI midway cards, and the Adaptec 155Mbps PCI ATM cards (ANA-59x0).
1390 # atm device provides generic atm functions and is required for
1392 # NATM enables the netnatm protocol family that can be used to
1395 # the current driver supports only PVC operations (no atm-arp, no multicast).
1396 # for more details, please read the original documents at
1397 # http://www.ccrc.wustl.edu/pub/chuck/tech/bsdatm/bsdatm.html
1401 options NATM #native ATM
1404 # Audio drivers: `pcm'
1406 # pcm: PCM audio through various sound cards.
1408 # This has support for a large number of new audio cards, based on
1409 # CS423x, OPTi931, Yamaha OPL-SAx, and also for SB16, GusPnP.
1410 # For more information about this driver and supported cards,
1411 # see the pcm.4 man page.
1413 # Supported cards include:
1414 # Crystal Semiconductor CS461x/428x PCI
1415 # Neomagic 256AV (ac97)
1420 # midi: MIDI interfaces and synthesizers
1426 # seq: MIDI sequencer
1432 # Miscellaneous hardware:
1434 # meteor: Matrox Meteor video capture board
1435 # bktr: Brooktree bt848/848a/849a/878/879 video capture and TV Tuner board
1436 # cy: Cyclades serial driver
1437 # rp: Comtrol Rocketport(ISA/PCI) - single card
1438 # nmdm: nullmodem terminal driver (see nmdm(4))
1440 # Notes on the Comtrol Rocketport driver:
1442 # The exact values used for rp0 depend on how many boards you have
1443 # in the system. The manufacturer's sample configs are listed as:
1445 # device rp # core driver support
1447 # Comtrol Rocketport ISA single card
1448 # hints.rp.0.at="isa"
1449 # hints.rp.0.port="0x280"
1451 # If instead you have two ISA cards, one installed at 0x100 and the
1452 # second installed at 0x180, then you should add the following to
1453 # your kernel probe hints:
1454 # hints.rp.0.at="isa"
1455 # hints.rp.0.port="0x100"
1456 # hints.rp.1.at="isa"
1457 # hints.rp.1.port="0x180"
1459 # For 4 ISA cards, it might be something like this:
1460 # hints.rp.0.at="isa"
1461 # hints.rp.0.port="0x180"
1462 # hints.rp.1.at="isa"
1463 # hints.rp.1.port="0x100"
1464 # hints.rp.2.at="isa"
1465 # hints.rp.2.port="0x340"
1466 # hints.rp.3.at="isa"
1467 # hints.rp.3.port="0x240"
1469 # For PCI cards, you need no hints.
1472 options CY_PCI_FASTINTR # Use with cy_pci unless irq is shared
1475 hint.cy.0.maddr="0xd4000"
1476 hint.cy.0.msize="0x2000"
1478 # nullmodem terminal driver
1482 # The `meteor' device is a PCI video capture board. It can also have the
1483 # following options:
1484 # options METEOR_ALLOC_PAGES=xxx preallocate kernel pages for data entry
1485 # figure (ROWS*COLUMN*BYTES_PER_PIXEL*FRAME+PAGE_SIZE-1)/PAGE_SIZE
1486 # options METEOR_DEALLOC_PAGES remove all allocated pages on close(2)
1487 # options METEOR_DEALLOC_ABOVE=xxx remove all allocated pages above the
1488 # specified amount. If this value is below the allocated amount no action
1490 # options METEOR_SYSTEM_DEFAULT={METEOR_PAL|METEOR_NTSC|METEOR_SECAM}, used
1491 # for initialization of fps routine when a signal is not present.
1493 # The 'bktr' device is a PCI video capture device using the Brooktree
1494 # bt848/bt848a/bt849a/bt878/bt879 chipset. When used with a TV Tuner it forms a
1495 # TV card, eg Miro PC/TV, Hauppauge WinCast/TV WinTV, VideoLogic Captivator,
1496 # Intel Smart Video III, AverMedia, IMS Turbo, FlyVideo.
1498 # options OVERRIDE_CARD=xxx
1499 # options OVERRIDE_TUNER=xxx
1500 # options OVERRIDE_MSP=1
1501 # options OVERRIDE_DBX=1
1502 # These options can be used to override the auto detection
1503 # The current values for xxx are found in src/sys/dev/bktr/bktr_card.h
1504 # Using sysctl(8) run-time overrides on a per-card basis can be made
1506 # options BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_PAL
1508 # options BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_NTSC
1509 # Specifes the default video capture mode.
1510 # This is required for Dual Crystal (28&35Mhz) boards where PAL is used
1511 # to prevent hangs during initialisation. eg VideoLogic Captivator PCI.
1513 # options BKTR_USE_PLL
1514 # PAL or SECAM users who have a 28Mhz crystal (and no 35Mhz crystal)
1515 # must enable PLL mode with this option. eg some new Bt878 cards.
1517 # options BKTR_GPIO_ACCESS
1518 # This enable IOCTLs which give user level access to the GPIO port.
1520 # options BKTR_NO_MSP_RESET
1521 # Prevents the MSP34xx reset. Good if you initialise the MSP in another OS first
1523 # options BKTR_430_FX_MODE
1524 # Switch Bt878/879 cards into Intel 430FX chipset compatibility mode.
1526 # options BKTR_SIS_VIA_MODE
1527 # Switch Bt878/879 cards into SIS/VIA chipset compatibility mode which is
1528 # needed for some old SiS and VIA chipset motherboards.
1529 # This also allows Bt878/879 chips to work on old OPTi (<1997) chipset
1530 # motherboards and motherboards with bad or incomplete PCI 2.1 support.
1531 # As a rough guess, old = before 1998
1537 # options BKTR_USE_FREEBSD_SMBUS
1538 # Compile with FreeBSD SMBus implementation
1540 # Brooktree driver has been ported to the new I2C framework. Thus,
1541 # you'll need to have the following 3 lines in the kernel config.
1546 # The iic and smb devices are only needed if you want to control other
1547 # I2C slaves connected to the external connector of some cards.
1554 # System Management Bus support is provided by the 'smbus' device.
1555 # Access to the SMBus device is via the 'smb' device (/dev/smb*),
1556 # which is a child of the 'smbus' device.
1558 # Supported devices:
1559 # smb standard io through /dev/smb*
1561 # Supported SMB interfaces:
1562 # iicsmb I2C to SMB bridge with any iicbus interface
1563 # bktr brooktree848 I2C hardware interface
1565 device smbus # Bus support, required for smb below.
1572 # Philips i2c bus support is provided by the `iicbus' device.
1574 # Supported devices:
1575 # ic i2c network interface
1576 # iic i2c standard io
1577 # iicsmb i2c to smb bridge. Allow i2c i/o with smb commands.
1579 # Supported interfaces:
1580 # bktr brooktree848 I2C software interface
1583 # iicbb generic I2C bit-banging code (needed by lpbb, bktr)
1585 device iicbus # Bus support, required for ic/iic/iicsmb below.
1590 device iicsmb # smb over i2c bridge
1594 # Parallel port bus support is provided by the `ppbus' device.
1595 # Multiple devices may be attached to the parallel port, devices
1596 # are automatically probed and attached when found.
1598 # Supported devices:
1599 # vpo Iomega Zip Drive
1600 # Requires SCSI disk support ('scbus' and 'da'), best
1601 # performance is achieved with ports in EPP 1.9 mode.
1602 # lpt Parallel Printer
1603 # plip Parallel network interface
1604 # ppi General-purpose I/O ("Geek Port") + IEEE1284 I/O
1605 # pps Pulse per second Timing Interface
1606 # lpbb Philips official parallel port I2C bit-banging interface
1608 # Supported interfaces:
1609 # ppc ISA-bus parallel port interfaces.
1612 options PPC_PROBE_CHIPSET # Enable chipset specific detection
1613 # (see flags in ppc(4))
1614 options DEBUG_1284 # IEEE1284 signaling protocol debug
1615 options PERIPH_1284 # Makes your computer act as a IEEE1284
1616 # compliant peripheral
1617 options DONTPROBE_1284 # Avoid boot detection of PnP parallel devices
1618 options VP0_DEBUG # ZIP/ZIP+ debug
1619 options LPT_DEBUG # Printer driver debug
1620 options PPC_DEBUG # Parallel chipset level debug
1621 options PLIP_DEBUG # Parallel network IP interface debug
1622 options PCFCLOCK_VERBOSE # Verbose pcfclock driver
1623 options PCFCLOCK_MAX_RETRIES=5 # Maximum read tries (default 10)
1637 # Kernel BOOTP support
1639 options BOOTP # Use BOOTP to obtain IP address/hostname
1640 # Requires NFSCLIENT and NFS_ROOT
1641 options BOOTP_NFSROOT # NFS mount root filesystem using BOOTP info
1642 options BOOTP_NFSV3 # Use NFS v3 to NFS mount root
1643 options BOOTP_COMPAT # Workaround for broken bootp daemons.
1644 options BOOTP_WIRED_TO=fxp0 # Use interface fxp0 for BOOTP
1647 # Add tie-ins for a hardware watchdog. This only enable the hooks;
1648 # the user must still supply the actual driver.
1653 # Disable swapping. This option removes all code which actually performs
1654 # swapping, so it's not possible to turn it back on at run-time.
1656 # This is sometimes usable for systems which don't have any swap space
1657 # (see also sysctls "vm.defer_swapspace_pageouts" and
1658 # "vm.disable_swapspace_pageouts")
1660 #options NO_SWAPPING
1662 # Set the number of sf_bufs to allocate. sf_bufs are virtual buffers
1663 # for sendfile(2) that are used to map file VM pages, and normally
1664 # default to a quantity that is roughly 16*MAXUSERS+512. You would
1665 # typically want about 4 of these for each simultaneous file send.
1667 options NSFBUFS=1024
1670 # Enable extra debugging code for locks. This stores the filename and
1671 # line of whatever acquired the lock in the lock itself, and change a
1672 # number of function calls to pass around the relevant data. This is
1673 # not at all useful unless you are debugging lock code. Also note
1674 # that it is likely to break e.g. fstat(1) unless you recompile your
1675 # userland with -DDEBUG_LOCKS as well.
1680 #####################################################################
1686 # General USB code (mandatory for USB)
1689 # USB Double Bulk Pipe devices
1691 # Generic USB device driver
1693 # Human Interface Device (anything with buttons and dials)
1699 # USB Iomega Zip 100 Drive (Requires scbus and da)
1705 # Diamond Rio 500 Mp3 player
1709 # USB serial support
1712 # USB serial support for DDI pocket's PHS
1717 # ADMtek USB ethernet. Supports the LinkSys USB100TX,
1718 # the Billionton USB100, the Melco LU-ATX, the D-Link DSB-650TX
1719 # and the SMC 2202USB. Also works with the ADMtek AN986 Pegasus
1723 # CATC USB-EL1201A USB ethernet. Supports the CATC Netmate
1724 # and Netmate II, and the Belkin F5U111.
1727 # Kawasaki LSI ethernet. Supports the LinkSys USB10T,
1728 # Entrega USB-NET-E45, Peracom Ethernet Adapter, the
1729 # 3Com 3c19250, the ADS Technologies USB-10BT, the ATen UC10T,
1730 # the Netgear EA101, the D-Link DSB-650, the SMC 2102USB
1731 # and 2104USB, and the Corega USB-T.
1734 # debugging options for the USB subsystem
1750 options UKBD_DFLT_KEYMAP # specify the built-in keymap
1751 makeoptions UKBD_DFLT_KEYMAP=it.iso
1754 # Embedded system options:
1756 # An embedded system might want to run something other than init.
1757 options INIT_PATH="/sbin/init:/stand/sysinstall"
1760 options BUS_DEBUG # enable newbus debugging
1761 options DEBUG_VFS_LOCKS # enable vfs lock debugging
1762 options NPX_DEBUG # enable npx debugging (FPU/math emu)
1764 #####################################################################
1765 # SYSV IPC KERNEL PARAMETERS
1767 # Maximum number of entries in a semaphore map.
1770 # Maximum number of System V semaphores that can be used on the system at
1774 # Total number of semaphores system wide
1777 # Total number of undo structures in system
1780 # Maximum number of System V semaphores that can be used by a single process
1784 # Maximum number of operations that can be outstanding on a single System V
1785 # semaphore at one time.
1788 # Maximum number of undo operations that can be outstanding on a single
1789 # System V semaphore at one time.
1792 # Maximum number of shared memory pages system wide.
1795 # Maximum size, in bytes, of a single System V shared memory region.
1796 options SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)"
1797 options SHMMAXPGS=1025
1799 # Minimum size, in bytes, of a single System V shared memory region.
1802 # Maximum number of shared memory regions that can be used on the system
1806 # Maximum number of System V shared memory regions that can be attached to
1807 # a single process at one time.
1810 # Set the amount of time (in seconds) the system will wait before
1811 # rebooting automatically when a kernel panic occurs. If set to (-1),
1812 # the system will wait indefinitely until a key is pressed on the
1814 options PANIC_REBOOT_WAIT_TIME=16
1816 #####################################################################
1818 # More undocumented options for linting.
1819 # Note that documenting these are not considered an affront.
1821 options CAM_DEBUG_DELAY
1823 # VFS cluster debugging.
1824 options CLUSTERDEBUG
1828 # Kernel filelock debugging.
1831 # System V compatible message queues
1832 # Please note that the values provided here are used to test kernel
1833 # building. The defaults in the sources provide almost the same numbers.
1834 # MSGSSZ must be a power of 2 between 8 and 1024.
1835 options MSGMNB=2049 # Max number of chars in queue
1836 options MSGMNI=41 # Max number of message queue identifiers
1837 options MSGSEG=2049 # Max number of message segments
1838 options MSGSSZ=16 # Size of a message segment
1839 options MSGTQL=41 # Max number of messages in system
1841 options NBUF=512 # Number of buffer headers
1843 options NMBCLUSTERS=1024 # Number of mbuf clusters
1845 options SCSI_NCR_DEBUG
1846 options SCSI_NCR_MAX_SYNC=10000
1847 options SCSI_NCR_MAX_WIDE=1
1848 options SCSI_NCR_MYADDR=7
1850 options SC_DEBUG_LEVEL=5 # Syscons debug level
1851 options SC_RENDER_DEBUG # syscons rendering debugging
1853 options SHOW_BUSYBUFS # List buffers that prevent root unmount
1854 options SLIP_IFF_OPTS
1855 options VFS_BIO_DEBUG # VFS buffer I/O debugging
1857 # Yet more undocumented options for linting.
1860 options ACPI_MAX_THREADS=1
1861 #!options ACPI_NO_SEMAPHORES
1863 ##options ASR_MEASURE_PERFORMANCE
1867 # BKTR_ALLOC_PAGES has no effect except to cause warnings, and
1868 # BROOKTREE_ALLOC_PAGES hasn't actually been superseded by it, since the
1869 # driver still mostly spells this option BROOKTREE_ALLOC_PAGES.
1870 ##options BKTR_ALLOC_PAGES="(217*4+1)"
1871 options BROOKTREE_ALLOC_PAGES="(217*4+1)"
1873 ##options CAPABILITIES
1874 options MAXFILES=999
1875 # METEOR_TEST_VIDEO has no effect since meteor is broken.
1876 options METEOR_TEST_VIDEO
1877 options NDEVFSINO=1025
1878 options NDEVFSOVERFLOW=32769
1879 options NETGRAPH_BRIDGE
1880 # SIMOS is broken since it is alpha-only but not ifdefed.