1# 2# X86_64_LINT -- config file for checking all the sources, tries to pull in 3# as much of the source tree as it can. 4# 5# $FreeBSD: src/sys/i386/conf/LINT,v 1.749.2.144 2003/06/04 17:56:59 sam Exp $ 6# 7# See the kernconf(5) manual page for more information on the format of 8# this file. 9# 10# NB: You probably don't want to try running a kernel built from this 11# file. Instead, you should start from X86_64_GENERIC, and add options 12# from this file as required. 13# 14 15# These directives are mandatory. The machine directive specifies the 16# platform and the machine_arch directive specifies the cpu architecture. 17# 18platform pc64 19machine x86_64 20machine_arch x86_64 21 22# 23# This is the ``identification'' of the kernel. Usually this should 24# be the same as the name of your kernel. 25# 26ident X86_64_LINT 27 28# 29# The `maxusers' parameter controls the static sizing of a number of 30# internal system tables by a formula defined in subr_param.c. Setting 31# maxusers to 0 will cause the system to auto-size based on physical 32# memory. 33# 34maxusers 10 35 36# 37# The `makeoptions' parameter allows variables to be passed to the 38# generated Makefile in the build area. 39# 40# CONF_CFLAGS gives some extra compiler flags that are added to ${CFLAGS} 41# after most other flags. Here we use it to inhibit use of non-optimal 42# gcc builtin functions (e.g., memcmp). 43# 44# DEBUG happens to be magic. 45# The following is equivalent to 'config -g KERNELNAME' and creates 46# 'kernel.debug' compiled with -g debugging as well as a normal 47# 'kernel'. Use 'make install.debug' to install the debug kernel 48# but that isn't normally necessary as the debug symbols are not loaded 49# by the kernel and are not useful there anyway. 50# 51# KERNEL can be overridden so that you can change the default name of your 52# kernel. 53# 54# MODULES_OVERRIDE can be used to limit modules built to a specific list. 55# 56# INSTALLSTRIPPED can be set to cause installkernel to install stripped 57# kernels and modules rather than a kernel and modules with debug symbols. 58# 59# INSTALLSTRIPPEDMODULES can be set to allow a full debug kernel to be 60# installed, but to strip the installed modules. 61# 62makeoptions CONF_CFLAGS=-fno-builtin #Don't allow use of memcmp, etc. 63#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 64#makeoptions KERNEL=foo #Build kernel "foo" and install "/foo" 65# Only build those parts of the sound system I need. 66#makeoptions MODULES_OVERRIDE="sound/snd sound/pcm" 67#makeoptions INSTALLSTRIPPED=1 68#makeoptions INSTALLSTRIPPEDMODULES=1 69 70# 71# Certain applications can grow to be larger than the 128M limit 72# that DragonFly initially imposes. Below are some options to 73# allow that limit to grow to 256MB, and can be increased further 74# with changing the parameters. MAXDSIZ is the maximum that the 75# limit can be set to, and the DFLDSIZ is the default value for 76# the limit. MAXSSIZ is the maximum that the stack limit can be 77# set to. You might want to set the default lower than the max, 78# and explicitly set the maximum with a shell command for processes 79# that regularly exceed the limit like INND. 80# 81options MAXDSIZ="(256*1024*1024)" 82options MAXSSIZ="(256*1024*1024)" 83options DFLDSIZ="(256*1024*1024)" 84 85# 86# BLKDEV_IOSIZE sets the default block size used in user block 87# device I/O. Note that this value will be overridden by the label 88# when specifying a block device from a label with a non-0 89# partition blocksize. The default is PAGE_SIZE. 90# 91options BLKDEV_IOSIZE=8192 92 93# This allows you to actually store this configuration file into 94# the kernel binary itself, where it may be later read by saying: 95# strings -n 3 /kernel | sed -n 's/^___//p' > MYKERNEL 96# 97options INCLUDE_CONFIG_FILE # Include this file in kernel 98 99# 100# The root device and filesystem type can be compiled in; 101# this provides a fallback option if the root device cannot 102# be correctly guessed by the bootstrap code, or an override if 103# the RB_DFLTROOT flag (-r) is specified when booting the kernel. 104# 105options ROOTDEVNAME=\"ufs:da0s2e\" 106 107##################################################################### 108# CPU OPTIONS 109 110cpu HAMMER_CPU 111 112# 113# Options for CPU features. 114# 115# CPU_DISABLE_AVX disables AVX instruction set. 116# 117options CPU_DISABLE_AVX 118 119##################################################################### 120# COMPATIBILITY OPTIONS 121 122# Enable NDIS binary driver support 123options NDISAPI 124device ndis 125 126# 127# These three options provide support for System V Interface 128# Definition-style interprocess communication, in the form of shared 129# memory, semaphores, and message queues, respectively. 130# 131# System V shared memory and tunable parameters 132options SHMMIN=2 # min shared memory segment size (bytes) 133options SHMMNI=33 # max number of shared memory identifiers 134options SHMSEG=9 # max shared memory segments per process 135 136# System V semaphores and tunable parameters 137options SEMMAP=31 # amount of entries in semaphore map 138options SEMMNI=11 # number of semaphore identifiers in the system 139options SEMMNS=61 # number of semaphores in the system 140options SEMMNU=31 # number of undo structures in the system 141options SEMMSL=61 # max number of semaphores per id 142options SEMOPM=101 # max number of operations per semop call 143options SEMUME=11 # max number of undo entries per process 144 145# System V message queues and tunable parameters 146options MSGMNB=2049 # max characters per message queue 147options MSGMNI=41 # max number of message queue identifiers 148options MSGSEG=2049 # max number of message segments in the system 149options MSGSSZ=16 # size of a message segment MUST be power of 2 150options MSGTQL=41 # max amount of messages in the system 151 152##################################################################### 153# DEBUGGING OPTIONS 154 155# 156# Enable the kernel debugger. 157# 158options DDB 159 160# 161# Print a stack trace on kernel panic. 162# 163options DDB_TRACE 164 165# 166# Don't drop into DDB for a panic. Intended for unattended operation 167# where you may want to drop to DDB from the console, but still want 168# the machine to recover from a panic 169# 170options DDB_UNATTENDED 171 172# 173# If using GDB remote mode to debug the kernel, there's a non-standard 174# extension to the remote protocol that can be used to use the serial 175# port as both the debugging port and the system console. It's non- 176# standard and you're on your own if you enable it. See also the 177# "remotechat" variables in the DragonFly specific version of gdb. 178# 179options GDB_REMOTE_CHAT 180 181# 182# KTRACE enables the system-call tracing facility ktrace(2). 183# 184options KTRACE #kernel tracing 185 186# 187# The INVARIANTS option is used in a number of source files to enable 188# extra sanity checking of internal structures. This support is not 189# enabled by default because of the extra time it would take to check 190# for these conditions, which can only occur as a result of 191# programming errors. 192# 193options INVARIANTS 194 195# 196# The DIAGNOSTIC option is used to enable extra debugging information 197# from some parts of the kernel. As this makes everything more noisy, 198# it is disabled by default. 199# 200options DIAGNOSTIC 201 202# 203# This option let some drivers co-exist that can't co-exist in a running 204# system. This is used to be able to compile all kernel code in one go for 205# quality assurance purposes (like this file, which the option takes it name 206# from.) 207# 208options COMPILING_LINT 209 210 211# XXX - this doesn't belong here. 212# Allow ordinary users to take the console - this is useful for X. 213options UCONSOLE 214 215##################################################################### 216# NETWORKING OPTIONS 217 218# 219# Protocol families: 220# Only the INET (Internet) family is officially supported in DragonFly. 221# Source code for the NS (Xerox Network Service) is provided for amusement 222# value. 223# 224options INET #Internet communications protocols 225options INET6 #IPv6 communications protocols 226options IPSEC #IP security 227options IPSEC_ESP #IP security (crypto; define w/ IPSEC) 228options IPSEC_DEBUG #debug for IP security 229# 230# Set IPSEC_FILTERGIF to force packets coming through a gif tunnel 231# to be processed by any configured packet filtering (ipfw). 232# The default is that packets coming from a tunnel are _not_ processed; 233# they are assumed trusted. 234# 235# Note that enabling this can be problematic as there are no mechanisms 236# in place for distinguishing packets coming out of a tunnel (e.g. no 237# encX devices as found on openbsd). 238# 239#options IPSEC_FILTERGIF #filter ipsec packets from a tunnel 240 241# 242# Experimental IPsec implementation that uses the kernel crypto 243# framework. This cannot be configured together with IPSEC and 244# (currently) supports only IPv4. To use this you must also 245# configure the crypto device (see below). Note that with this 246# you get all the IPsec protocols (e.g. there is no FAST_IPSEC_ESP). 247# IPSEC_DEBUG is used, as above, to configure debugging support 248# within the IPsec protocols. 249# 250#options FAST_IPSEC #new IPsec 251 252options MPLS #Multi-Protocol Label Switching 253 254# 255# SMB/CIFS requester 256# NETSMB enables support for SMB protocol, it requires LIBMCHAIN and LIBICONV 257# options. 258# NETSMBCRYPTO enables support for encrypted passwords. 259options NETSMB #SMB/CIFS requester 260options NETSMBCRYPTO #encrypted password support for SMB 261 262# mchain library. It can be either loaded as KLD or compiled into kernel 263options LIBMCHAIN #mbuf management library 264 265# netgraph(4). Enable the base netgraph code with the NETGRAPH option. 266# Individual node types can be enabled with the corresponding option 267# listed below; however, this is not strictly necessary as netgraph 268# will automatically load the corresponding KLD module if the node type 269# is not already compiled into the kernel. Each type below has a 270# corresponding man page, e.g., ng_async(4). 271options NETGRAPH #netgraph(4) system 272options NETGRAPH_ASYNC 273options NETGRAPH_BPF 274options NETGRAPH_BRIDGE 275options NETGRAPH_CISCO 276options NETGRAPH_ECHO 277options NETGRAPH_EIFACE 278options NETGRAPH_ETHER 279options NETGRAPH_FEC 280options NETGRAPH_FRAME_RELAY 281options NETGRAPH_HOLE 282options NETGRAPH_IFACE 283options NETGRAPH_KSOCKET 284options NETGRAPH_L2TP 285options NETGRAPH_LMI 286# MPPC compression requires proprietary files (not included) 287#options NETGRAPH_MPPC_COMPRESSION 288options NETGRAPH_MPPC_ENCRYPTION 289options NETGRAPH_ONE2MANY 290options NETGRAPH_PPP 291options NETGRAPH_PPPOE 292options NETGRAPH_PPTPGRE 293options NETGRAPH_RFC1490 294options NETGRAPH_SOCKET 295options NETGRAPH_TEE 296options NETGRAPH_TTY 297options NETGRAPH_UI 298options NETGRAPH_VJC 299 300device mn # Munich32x/Falc54 Nx64kbit/sec cards. 301 302# 303# Network interfaces: 304# The `loop' pseudo-device is MANDATORY when networking is enabled. 305# The `ether' pseudo-device provides generic code to handle 306# Ethernets; it is MANDATORY when a Ethernet device driver is 307# configured. 308# The `sppp' pseudo-device serves a similar role for certain types 309# of synchronous PPP links. 310# The `sl' pseudo-device implements the Serial Line IP (SLIP) service. 311# The `ppp' pseudo-device implements the Point-to-Point Protocol. 312# The `bpf' pseudo-device enables the Berkeley Packet Filter. Be 313# aware of the legal and administrative consequences of enabling this 314# option. The number of devices determines the maximum number of 315# simultaneous BPF clients programs runnable. 316# The `disc' pseudo-device implements a minimal network interface, 317# which throws away all packets sent and never receives any. It is 318# included for testing purposes. This shows up as the 'ds' interface. 319# The `tun' pseudo-device implements (user-)ppp and nos-tun 320# The `gif' pseudo-device implements IPv6 over IP4 tunneling, 321# IPv4 over IPv6 tunneling, IPv4 over IPv4 tunneling and 322# IPv6 over IPv6 tunneling. 323# The `gre' device implements two types of IP4 over IP4 tunneling: 324# GRE and MOBILE, as specified in the RFC1701 and RFC2004. 325# The `faith' pseudo-device captures packets sent to it and diverts them 326# to the IPv4/IPv6 translation daemon. 327# The `stf' device implements 6to4 encapsulation. 328# The `ef' pseudo-device provides support for multiple ethernet frame types 329# specified via ETHER_* options. See ef(4) for details. 330# 331# The PPP_BSDCOMP option enables support for compress(1) style entire 332# packet compression, the PPP_DEFLATE is for zlib/gzip style compression. 333# PPP_FILTER enables code for filtering the ppp data stream and selecting 334# events for resetting the demand dial activity timer - requires bpf. 335# See pppd(8) for more details. 336# 337pseudo-device ether #Generic Ethernet 338pseudo-device vlan 1 #VLAN support 339pseudo-device bridge #Bridging support 340pseudo-device sppp #Generic Synchronous PPP 341pseudo-device loop #Network loopback device 342pseudo-device bpf #Berkeley packet filter 343pseudo-device disc #Discard device (ds0, ds1, etc) 344pseudo-device tap #Ethernet tunnel network interface 345pseudo-device tun #Tunnel driver (ppp(8), nos-tun(8)) 346pseudo-device sl 2 #Serial Line IP 347pseudo-device gre #IP over IP tunneling 348pseudo-device ppp 2 #Point-to-point protocol 349options PPP_BSDCOMP #PPP BSD-compress support 350options PPP_DEFLATE #PPP zlib/deflate/gzip support 351options PPP_FILTER #enable bpf filtering (needs bpf) 352 353# for IPv6 354pseudo-device gif #IPv6 and IPv4 tunneling 355pseudo-device faith 1 #for IPv6 and IPv4 translation 356pseudo-device stf #6to4 IPv6 over IPv4 encapsulation 357 358# 359# Internet family options: 360# 361# MROUTING enables the kernel multicast packet forwarder, which works 362# with mrouted(8). 363# 364# PIM enables Protocol Independent Multicast in the kernel. 365# Requires MROUTING enabled. 366# 367# IPFIREWALL enables support for IP firewall construction, in 368# conjunction with the `ipfw' program. IPFIREWALL_VERBOSE sends 369# logged packets to the system logger. IPFIREWALL_VERBOSE_LIMIT 370# limits the number of times a matching entry can be logged. 371# 372# WARNING: IPFIREWALL defaults to a policy of "deny ip from any to any" 373# and if you do not add other rules during startup to allow access, 374# YOU WILL LOCK YOURSELF OUT. It is suggested that you set firewall_type=open 375# in /etc/rc.conf when first enabling this feature, then refining the 376# firewall rules in /etc/rc.firewall after you've tested that the new kernel 377# feature works properly. 378# 379# IPFIREWALL3 is based on a newer version of FreeBSD's ipfw2, along with 380# some enhancements. See ipfw3(4). 381# 382# IPFIREWALL_DEFAULT_TO_ACCEPT causes the default rule (at boot) to 383# allow everything. Use with care, if a cracker can crash your 384# firewall machine, they can get to your protected machines. However, 385# if you are using it as an as-needed filter for specific problems as 386# they arise, then this may be for you. Changing the default to 'allow' 387# means that you won't get stuck if the kernel and /sbin/ipfw binary get 388# out of sync. 389# 390# IPDIVERT enables the divert IP sockets, used by ``ipfw divert'' 391# 392# IPSTEALTH enables code to support stealth forwarding (i.e., forwarding 393# packets without touching the ttl). This can be useful to hide firewalls 394# from traceroute and similar tools. 395# 396# TCPDEBUG is undocumented. 397# 398# ICMPPRINTFS enables ICMP to do extra debug prints. 399# 400options MROUTING # Multicast routing 401options PIM # Protocol Independent Multicast 402options IPFIREWALL #firewall 403options IPFIREWALL_DEBUG #debug prints 404options IPFIREWALL_VERBOSE #enable logging to syslogd(8) 405options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity 406options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default 407options IPV6FIREWALL #firewall for IPv6 408options IPV6FIREWALL_VERBOSE 409options IPV6FIREWALL_VERBOSE_LIMIT=100 410options IPV6FIREWALL_DEFAULT_TO_ACCEPT 411options IPDIVERT #divert sockets 412options IPSTEALTH #support for stealth forwarding 413options TCPDEBUG 414options ICMPPRINTFS 415 416options IPFIREWALL3 417 418device pf 419device pflog 420 421#CARP 422pseudo-device carp 423options CARP 424 425# The MBUF_STRESS_TEST option enables options which create 426# various random failures / extreme cases related to mbuf 427# functions. See the mbuf(9) manpage for a list of available 428# test cases. 429options MBUF_STRESS_TEST 430 431# Statically link in accept filters 432options ACCEPT_FILTER_DATA 433options ACCEPT_FILTER_HTTP 434 435# TCP_SIGNATURE adds support for RFC 2385 (TCP-MD5) digests. These are 436# carried in TCP option 19. This option is commonly used to protect 437# TCP sessions (e.g. BGP) where IPSEC is not available nor desirable. 438# This is enabled on a per-socket basis using the TCP_SIGNATURE_ENABLE 439# socket option. 440# This requires the use of 'device crypto', 'options IPSEC' 441# or 'device cryptodev'. 442options TCP_SIGNATURE #include support for RFC 2385 443 444# 445# TCP_DROP_SYNFIN adds support for ignoring TCP packets with SYN+FIN. This 446# prevents nmap et al. from identifying the TCP/IP stack, but breaks support 447# for RFC1644 extensions and is not recommended for web servers. 448# 449options TCP_DROP_SYNFIN #drop TCP packets with SYN+FIN 450 451# ICMP_BANDLIM enables icmp error response bandwidth limiting. You 452# typically want this option as it will help protect the machine from 453# D.O.S. packet attacks. 454# 455options ICMP_BANDLIM 456 457# DUMMYNET enables the "dummynet" bandwidth limiter. You need 458# IPFIREWALL as well. See the dummynet(4) and ipfw(8) manpages for more info. 459# 460options DUMMYNET 461options DUMMYNET_DEBUG 462 463# IFPOLL_ENABLE adds support for mixed interrupt-polling handling 464# of network device drivers, which has significant benefits in terms 465# of robustness to overloads and responsivity, as well as permitting 466# accurate scheduling of the CPU time between kernel network processing 467# and other activities. The drawback is a moderate (up to 1/pollhz seconds) 468# potential increase in response times. See polling(4) for further details. 469# 470# IFPOLL_ENABLE adds hardware queues' based polling 471options IFPOLL_ENABLE 472 473##################################################################### 474# FILESYSTEM OPTIONS 475 476# 477# Only the root, /usr, and /tmp filesystems need be statically 478# compiled; everything else will be automatically loaded at mount 479# time. (Exception: the UFS family --- FFS, and MFS --- 480# cannot currently be demand-loaded.) Some people still prefer 481# to statically compile other filesystems as well. 482# 483# NB: The PORTAL filesystem is known to be 484# buggy, and WILL panic your system if you attempt to do anything with 485# it. It is included here as an incentive for some enterprising 486# soul to sit down and fix it. 487# 488 489# One of these is mandatory: 490options FFS #Fast filesystem 491options MFS #Memory filesystem 492options NFS #Network filesystem 493 494# The rest are optional: 495#options NFS_NOSERVER #Disable the NFS-server code. 496options AUTOFS #Automounter filesystem 497options CD9660 #ISO 9660 filesystem 498options HAMMER #HAMMER filesystem 499options HPFS #OS/2 File system 500options MSDOSFS #MS DOS filesystem 501options NTFS #NT filesystem 502options NULLFS #NULL filesystem 503options PORTAL #Portal filesystem 504options PROCFS #Process filesystem 505options PUFFS #Userspace file systems (e.g. ntfs-3g & sshfs) 506options SMBFS #SMB/CIFS filesystem 507options TMPFS #Temporary filesystem 508options UDF #UDF filesystem 509 510# The xFS_ROOT options REQUIRE the associated ``options xFS'' 511options FFS_ROOT #FFS usable as root device 512options NFS_ROOT #NFS usable as root device 513 514# Soft updates is technique for improving UFS filesystem speed and 515# making abrupt shutdown less risky. 516options SOFTUPDATES 517 518# Directory hashing improves the speed of operations on very large 519# directories at the expense of some memory. 520options UFS_DIRHASH 521 522# Make space in the kernel for a root filesystem on a md device. 523# Define to the number of kilobytes to reserve for the filesystem. 524options MD_ROOT_SIZE=10 525 526# Make the md device a potential root device, either with preloaded 527# images of type mfs_root or md_root. 528options MD_ROOT 529 530# Specify double the default maximum size for malloc(9)-backed md devices. 531options MD_NSECT=40000 532 533# Allow this many swap-devices. 534# 535# In order to manage swap, the system must reserve bitmap space that 536# scales with the largest mounted swap device multiplied by NSWAPDEV, 537# regardless of whether other swap devices exist or not. So it 538# is not a good idea to make this value too large. 539options NSWAPDEV=5 540 541# Disk quotas are supported when this option is enabled. 542options QUOTA #enable disk quotas 543 544# If you are running a machine just as a fileserver for PC and MAC 545# users, e.g. using SAMBA, you may consider setting this option 546# and keeping all those users' directories on a filesystem that is 547# mounted with the suiddir option. This gives new files the same 548# ownership as the directory (similar to group). It's a security hole 549# if you let these users run programs, so confine it to file-servers 550# (but it'll save you lots of headaches in those cases). Root owned 551# directories are exempt and X bits are cleared. The suid bit must be 552# set on the directory as well; see chmod(1) PC owners can't see/set 553# ownerships so they keep getting their toes trodden on. This saves 554# you all the support calls as the filesystem it's used on will act as 555# they expect: "It's my dir so it must be my file". 556# 557options SUIDDIR 558 559# NFS options: 560options NFS_MINATTRTIMO=3 # VREG attrib cache timeout in sec 561options NFS_MAXATTRTIMO=60 562options NFS_MINDIRATTRTIMO=30 # VDIR attrib cache timeout in sec 563options NFS_MAXDIRATTRTIMO=60 564options NFS_GATHERDELAY=10 # Default write gather delay (msec) 565options NFS_UIDHASHSIZ=29 # Tune the size of nfssvc_sock with this 566options NFS_WDELAYHASHSIZ=16 # and with this 567options NFS_MUIDHASHSIZ=63 # Tune the size of nfsmount with this 568options NFS_DEBUG # Enable NFS Debugging 569 570# NTFS options: 571options NTFS_DEBUG 572 573# MSDOSFS options: 574options MSDOSFS_DEBUG # Enable MSDOSFS Debugging 575 576# 577# Add support for the EXT2FS filesystem of Linux fame. Be a bit 578# careful with this - the ext2fs code has a tendency to lag behind 579# changes and not be exercised very much, so mounting read/write could 580# be dangerous (and even mounting read only could result in panics.) 581# 582options EXT2FS 583 584# Optional character code conversion support with LIBICONV. 585# Each option requires their base file system and LIBICONV. 586options CD9660_ICONV 587options MSDOSFS_ICONV 588options NTFS_ICONV 589 590##################################################################### 591# POSIX P1003.1B 592 593# Real time extensions added in the 1993 Posix 594# _KPOSIX_PRIORITY_SCHEDULING: Build in _POSIX_PRIORITY_SCHEDULING 595 596options _KPOSIX_PRIORITY_SCHEDULING 597 598##################################################################### 599# CLOCK OPTIONS 600 601# The granularity of operation is controlled by the kernel option HZ whose 602# default value (100) means a granularity of 10ms (1s/HZ). 603# Consider, however, that reducing the granularity too much might 604# cause excessive overhead in clock interrupt processing, 605# potentially causing ticks to be missed and thus actually reducing 606# the accuracy of operation. 607 608options HZ=100 609 610# The following options are used for debugging clock behavior only, and 611# should not be used for production systems. 612# 613# CLK_CALIBRATION_LOOP will run the clock calibration loop at startup 614# until the user presses a key. 615 616#options CLK_CALIBRATION_LOOP 617 618# The following two options measure the frequency of the corresponding 619# clock relative to the RTC (onboard mc146818a). 620 621#options CLK_USE_I8254_CALIBRATION 622#options CLK_USE_TSC_CALIBRATION 623 624##################################################################### 625# SCSI DEVICES 626 627# SCSI DEVICE CONFIGURATION 628 629# The SCSI subsystem consists of the `base' SCSI code, a number of 630# high-level SCSI device `type' drivers, and the low-level host-adapter 631# device drivers. The host adapters are listed in the ISA and PCI 632# device configuration sections below. 633# 634# Beginning with FreeBSD 2.0.5 you can wire down your SCSI devices so 635# that a given bus, target, and LUN always come on line as the same 636# device unit. In earlier versions the unit numbers were assigned 637# in the order that the devices were probed on the SCSI bus. This 638# means that if you removed a disk drive, you may have had to rewrite 639# your /etc/fstab file, and also that you had to be careful when adding 640# a new disk as it may have been probed earlier and moved your device 641# configuration around. 642 643# This old behavior is maintained as the default behavior. The unit 644# assignment begins with the first non-wired down unit for a device 645# type. For example, if you wire a disk as "da3" then the first 646# non-wired disk will be assigned da4. 647 648# The syntax for wiring down devices is: 649 650# device scbus0 at ahc0 # Single bus device 651# device scbus1 at ahc1 bus 0 # Single bus device 652# device scbus3 at ahc2 bus 0 # Twin bus device 653# device scbus2 at ahc2 bus 1 # Twin bus device 654# device da0 at scbus0 target 0 unit 0 655# device da1 at scbus3 target 1 656# device da2 at scbus2 target 3 657# device sa1 at scbus1 target 6 658# device cd 659 660# "units" (SCSI logical unit number) that are not specified are 661# treated as if specified as LUN 0. 662 663# All SCSI devices allocate as many units as are required. 664 665# The "unknown" device (uk? in pre-2.0.5) is now part of the base SCSI 666# configuration and doesn't have to be explicitly configured. 667 668device scbus #base SCSI code 669device ch #SCSI media changers 670device da #SCSI direct access devices (aka disks) 671device sa #SCSI tapes 672device cd #SCSI CD-ROMs 673device pass #CAM passthrough driver 674device sg #Passthrough device (linux scsi generic) 675device pt #SCSI processor type 676device ses #SCSI SES/SAF-TE driver 677device targ #SCSI Target Mode Code 678device targbh #SCSI Target Mode Blackhole Device 679 680# Options for device mapper 681device dm 682device dm_target_crypt 683device dm_target_linear 684device dm_target_striped 685device dm_target_delay 686device dm_target_flakey 687 688# Options for iSCSI 689device iscsi_initiator 690options ISCSI_INITIATOR_DEBUG=8 691 692# CAM OPTIONS: 693# debugging options: 694# -- NOTE -- If you specify one of the bus/target/lun options, you must 695# specify them all! 696# CAMDEBUG: When defined enables debugging macros 697# CAM_DEBUG_BUS: Debug the given bus. Use -1 to debug all busses. 698# CAM_DEBUG_TARGET: Debug the given target. Use -1 to debug all targets. 699# CAM_DEBUG_LUN: Debug the given lun. Use -1 to debug all luns. 700# CAM_DEBUG_FLAGS: OR together CAM_DEBUG_INFO, CAM_DEBUG_TRACE, 701# CAM_DEBUG_SUBTRACE, and CAM_DEBUG_CDB 702# 703# CAM_MAX_HIGHPOWER: Maximum number of concurrent high power (start unit) cmds 704# SCSI_NO_SENSE_STRINGS: When defined disables sense descriptions 705# SCSI_NO_OP_STRINGS: When defined disables opcode descriptions 706# SCSI_DELAY: The number of MILLISECONDS to freeze the SIM (scsi adapter) 707# queue after a bus reset, and the number of milliseconds to 708# freeze the device queue after a bus device reset. This 709# can be changed at boot and runtime with the 710# kern.cam.scsi_delay tunable/sysctl. 711options CAMDEBUG 712options CAM_DEBUG_BUS=-1 713options CAM_DEBUG_TARGET=-1 714options CAM_DEBUG_LUN=-1 715options CAM_DEBUG_FLAGS="CAM_DEBUG_INFO|CAM_DEBUG_TRACE|CAM_DEBUG_CDB" 716options CAM_MAX_HIGHPOWER=4 717options SCSI_NO_SENSE_STRINGS 718options SCSI_NO_OP_STRINGS 719options SCSI_DELAY=8000 # Be pessimistic about Joe SCSI device 720 721# Options for the CAM CDROM driver: 722# CHANGER_MIN_BUSY_SECONDS: Guaranteed minimum time quantum for a changer LUN 723# CHANGER_MAX_BUSY_SECONDS: Maximum time quantum per changer LUN, only 724# enforced if there is I/O waiting for another LUN 725# The compiled in defaults for these variables are 2 and 10 seconds, 726# respectively. 727# 728# These can also be changed on the fly with the following sysctl variables: 729# kern.cam.cd.changer.min_busy_seconds 730# kern.cam.cd.changer.max_busy_seconds 731# 732options CHANGER_MIN_BUSY_SECONDS=2 733options CHANGER_MAX_BUSY_SECONDS=10 734 735# Options for the CAM sequential access driver: 736# SA_IO_TIMEOUT: Timeout for read/write/wfm operations, in minutes 737# SA_SPACE_TIMEOUT: Timeout for space operations, in minutes 738# SA_REWIND_TIMEOUT: Timeout for rewind operations, in minutes 739# SA_ERASE_TIMEOUT: Timeout for erase operations, in minutes 740# SA_1FM_AT_EOD: Default to model which only has a default one filemark at EOT. 741options SA_IO_TIMEOUT="(4)" 742options SA_SPACE_TIMEOUT="(60)" 743options SA_REWIND_TIMEOUT="(2*60)" 744options SA_ERASE_TIMEOUT="(4*60)" 745options SA_1FM_AT_EOD 746 747# Optional timeout for the CAM processor target (pt) device 748# This is specified in seconds. The default is 60 seconds. 749options SCSI_PT_DEFAULT_TIMEOUT="60" 750 751# Optional enable of doing SES passthrough on other devices (e.g., disks) 752# 753# Normally disabled because a lot of newer SCSI disks report themselves 754# as having SES capabilities, but this can then clot up attempts to build 755# build a topology with the SES device that's on the box these drives 756# are in.... 757options SES_ENABLE_PASSTHROUGH 758 759##################################################################### 760# MISCELLANEOUS DEVICES AND OPTIONS 761 762# The `pty' device usually turns out to be ``effectively mandatory'', 763# as it is required for `telnetd', `rlogind', `screen', `emacs', and 764# `xterm', among others. 765 766pseudo-device pty # Pseudo ttys 767pseudo-device gzip # Exec gzipped a.out's 768pseudo-device md # Memory/malloc disk 769pseudo-device vn # File image "disks" 770pseudo-device putter # for puffs and pud 771pseudo-device snp # Snoop device - to look at pty/vty/etc.. 772pseudo-device ccd 4 # Concatenated disk driver 773 774# Configuring Vinum into the kernel is not necessary, since the kld 775# module gets started automatically when vinum(8) starts. This 776# device is also untested. Use at your own risk. 777# 778# The option VINUMDEBUG must match the value set in CFLAGS 779# in src/sbin/vinum/Makefile. Failure to do so will result in 780# the following message from vinum(8): 781# 782# Can't get vinum config: Invalid argument 783# 784# see vinum(4) for more reasons not to use these options. 785pseudo-device vinum #Vinum concat/mirror/raid driver 786options VINUMDEBUG #enable Vinum debugging hooks 787 788# Kernel side iconv library 789options LIBICONV 790 791# Size of the kernel message buffer. Should be N * pagesize. 792options MSGBUF_SIZE=40960 793 794##################################################################### 795# HARDWARE DEVICE CONFIGURATION 796 797# ISA devices: 798 799# 800# Mandatory ISA devices: isa 801# 802device isa 803 804# 805# Options for `isa': 806# 807# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A 808# interrupt controller. This saves about 0.7-1.25 usec for each interrupt. 809# This option breaks suspend/resume on some portables. 810# 811# AUTO_EOI_2 enables the `automatic EOI' feature for the slave 8259A 812# interrupt controller. This saves about 0.7-1.25 usec for each interrupt. 813# Automatic EOI is documented not to work for the slave with the 814# original i8259A, but it works for some clones and some integrated 815# versions. 816# 817# MAXMEM specifies the amount of RAM on the machine; if this is not 818# specified, DragonFly will first read the amount of memory from the CMOS 819# RAM, so the amount of memory will initially be limited to 64MB or 16MB 820# depending on the BIOS. If the BIOS reports 64MB, a memory probe will 821# then attempt to detect the installed amount of RAM. If this probe 822# fails to detect >64MB RAM you will have to use the MAXMEM option. 823# The amount is in kilobytes, so for a machine with 128MB of RAM, it would 824# be 131072 (128 * 1024). 825# 826# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to 827# reset the CPU for reboot. This is needed on some systems with broken 828# keyboard controllers. 829 830options AUTO_EOI_1 831#options AUTO_EOI_2 832options MAXMEM="(128*1024)" 833#options BROKEN_KEYBOARD_RESET 834 835# Enable support for the kernel PLL to use an external PPS signal, 836# under supervision of [x]ntpd(8) 837# More info in ntpd documentation: http://www.eecis.udel.edu/~ntp 838 839options PPS_SYNC 840 841# The keyboard controller; it controls the keyboard and the PS/2 mouse. 842device atkbdc0 at isa? port IO_KBD 843 844# The AT keyboard 845device atkbd0 at atkbdc? irq 1 846 847# Options for atkbd: 848options ATKBD_DFLT_KEYMAP # specify the built-in keymap 849makeoptions ATKBD_DFLT_KEYMAP="jp.106" 850 851# These options are valid for other keyboard drivers as well. 852options KBD_DISABLE_KEYMAP_LOAD # refuse to load a keymap 853options KBD_INSTALL_CDEV # install a CDEV entry in /dev 854 855# `flags' for atkbd: 856# 0x01 Force detection of keyboard, else we always assume a keyboard 857# 0x02 Don't reset keyboard, useful for some newer ThinkPads 858# 0x03 Force detection and avoid reset, might help with certain 859# dockingstations 860# 0x04 Old-style (XT) keyboard support, useful for older ThinkPads 861 862# PS/2 mouse 863device psm0 at atkbdc? irq 12 864 865# Options for psm: 866options PSM_HOOKRESUME #hook the system resume event, useful 867 #for some laptops 868options PSM_RESETAFTERSUSPEND #reset the device at the resume event 869 870device kbdmux # keyboard multiplexer 871 872# The video card driver. 873device vga0 at isa? 874 875# Options for vga: 876options VGA_DEBUG=2 # enable VGA debug output 877 878# If you experience problems switching back to 80x25 (or a derived mode), 879# the following option might help. 880#options VGA_KEEP_POWERON_MODE # use power-on settings for 80x25 881 882# If you can dispense with some vga driver features, you may want to 883# use the following options to save some memory. 884#options VGA_NO_FONT_LOADING # don't save/load font 885#options VGA_NO_MODE_CHANGE # don't change video modes 886 887# The following option probably won't work with the LCD displays. 888options VGA_WIDTH90 # support 90 column modes 889 890# Splash screen at start up! Screen savers require this too. 891pseudo-device splash 892 893# The syscons console driver (sco color console compatible). 894device sc0 at isa? 895options MAXCONS=16 # number of virtual consoles 896options SC_ALT_MOUSE_IMAGE # simplified mouse cursor in text mode 897options SC_DEBUG_LEVEL=5 # enable debug output 898options SC_DFLT_FONT # compile font in 899makeoptions SC_DFLT_FONT=cp850 900options SC_DISABLE_DDBKEY # disable `debug' key 901options SC_DISABLE_REBOOT # disable reboot key sequence 902options SC_HISTORY_SIZE=200 # number of history buffer lines 903options SC_MOUSE_CHAR=0x3 # char code for text mode mouse cursor 904options SC_PIXEL_MODE # add support for the raster text mode 905 906# The following options will let you change the default colors of syscons. 907options SC_NORM_ATTR="(FG_GREEN|BG_BLACK)" 908options SC_NORM_REV_ATTR="(FG_YELLOW|BG_GREEN)" 909options SC_KERNEL_CONS_ATTR="(FG_RED|BG_BLACK)" 910options SC_KERNEL_CONS_REV_ATTR="(FG_BLACK|BG_RED)" 911 912# If you have a two button mouse, you may want to add the following option 913# to use the right button of the mouse to paste text. 914options SC_TWOBUTTON_MOUSE 915 916# You can selectively disable features in syscons. 917#options SC_NO_CUTPASTE 918#options SC_NO_FONT_LOADING 919#options SC_NO_HISTORY 920#options SC_NO_SYSMOUSE 921 922# 923# SCSI host adapters 924# 925# adv: All Narrow SCSI bus AdvanSys controllers. 926# adw: Second Generation AdvanSys controllers including the ADV940UW. 927# ahc: Adaptec 274x/284x/294x 928# aic: Adaptec 1460 929# bt: Most Buslogic controllers 930# ncv: NCR 53C500 based SCSI host adapters. 931# nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters. 932# stg: TMC 18C30, 18C50 based PC Card SCSI host adapters. 933# 934# Note that the order is important in order for Buslogic cards to be 935# probed correctly. 936# 937 938device bt 939device adv 940device adw 941device aic 942device ncv 943device nsp 944device stg 945 946# 947# Adaptec FSA RAID controllers, including integrated DELL controller, 948# the Dell PERC 2/QC and the HP NetRAID-4M 949# 950device aac 951options AAC_DEBUG 952device aacp # SCSI Passthrough interface (optional, CAM required) 953 954# 955# Compaq Smart RAID, Mylex DAC960 and AMI MegaRAID controllers. Only 956# one entry is needed; the code will find and configure all supported 957# controllers. 958# 959device ida # Compaq Smart RAID 960device mlx # Mylex DAC960 961device amr # AMI MegaRAID 962device amrp # SCSI Passthrough interface (optional, CAM req.) 963options AMR_DEBUG=3 964device mfi # LSI MegaRAID SAS 965device mfip # LSI MegaRAID SAS passthrough, requires CAM 966options MFI_DEBUG 967 968# 969# LSI MegaRAID 6Gb/s and 12Gb/s SAS+SATA RAID controller driver 970# 971device mrsas 972 973# 974# Areca RAID (CAM is required). 975# 976device arcmsr # Areca SATA II RAID 977 978# 979# Highpoint RocketRAID 182x. 980device hptmv 981 982# 983# Highpoint RocketRAID. Supports RR172x, RR222x, RR2240, RR232x, RR2340, 984# RR2210, RR174x, RR2522, RR231x, RR230x. 985device hptrr 986 987# 988# Highpoint RocketRAID 27xx. 989device "hpt27xx" 990 991# 992# Highpoint RocketRaid 3xxx series SATA RAID 993device hptiop 994 995# 996# 3ware ATA RAID 997# 998device twe # 3ware ATA RAID 999device twa # 3ware 9000 series PATA/SATA RAID 1000options TWA_DEBUG=10 # enable debug messages 1001device tws # 3ware 9750 series SATA/SAS RAID 1002 1003# 1004# IBM ServeRAID 1005# 1006device ips 1007 1008# AHCI driver, this will override NATA for AHCI devices, 1009# both drivers may be included. 1010# 1011device ahci 1012 1013# NVME driver 1014# 1015device nvme 1016 1017# SiI3124/3132 driver 1018# 1019device sili 1020 1021# The 'NATA' driver supports all ATA and ATAPI devices. 1022# You only need one "device nata" for it to find all 1023# PCI ATA/ATAPI devices on modern machines. 1024# 1025device nata 1026device natadisk # ATA disk drives 1027device natapicd # ATAPI CD/DVD drives 1028device natapifd # ATAPI floppy drives 1029device natapist # ATAPI tape drives 1030device natapicam # ATAPI CAM layer emulation 1031device nataraid # support for ATA software RAID controllers 1032 1033# The following options are valid for the NATA driver: 1034# 1035# ATA_STATIC_ID: controller numbering is static (like the old driver) 1036# else the device numbers are dynamically allocated. 1037options ATA_STATIC_ID 1038 1039# For older non-PCI systems, these are the lines to use: 1040# 1041#device nata0 at isa? port IO_WD1 irq 14 1042#device nata1 at isa? port IO_WD2 irq 15 1043 1044# 1045# Standard floppy disk controllers: `fdc' and `fd' 1046# 1047#device fdc0 at isa? port IO_FD1 irq 6 drq 2 1048# 1049# FDC_DEBUG enables floppy debugging. Since the debug output is huge, you 1050# gotta turn it actually on by setting the variable fd_debug with DDB, 1051# however. 1052#options FDC_DEBUG 1053 1054#device fd0 at fdc0 drive 0 1055#device fd1 at fdc0 drive 1 1056 1057# 1058# sio: serial ports (see sio(4)) 1059 1060device sio0 at isa? port IO_COM1 flags 0x10 irq 4 1061 1062# 1063# `flags' for serial drivers that support consoles (only for sio now): 1064# 0x10 enable console support for this unit. The other console flags 1065# are ignored unless this is set. Enabling console support does 1066# not make the unit the preferred console - boot with -h or set 1067# the 0x20 flag for that. Currently, at most one unit can have 1068# console support; the first one (in config file order) with 1069# this flag set is preferred. Setting this flag for sio0 gives 1070# the old behaviour. 1071# 0x20 force this unit to be the console (unless there is another 1072# higher priority console). This replaces the COMCONSOLE option. 1073# 0x40 reserve this unit for low level console operations. Do not 1074# access the device in any normal way. 1075# 0x80 use this port for serial line gdb support in ddb. 1076# 1077 1078# Options for serial drivers that support consoles (only for sio now): 1079options BREAK_TO_DEBUGGER #a BREAK on a comconsole goes to 1080 #DDB, if available. 1081options CONSPEED=115200 # speed for serial console 1082 # (default 9600) 1083 1084# Solaris implements a new BREAK which is initiated by a character 1085# sequence CR ~ ^b which is similar to a familiar pattern used on 1086# Sun servers by the Remote Console. 1087options ALT_BREAK_TO_DEBUGGER 1088 1089# Options for sio: 1090options COM_ESP #code for Hayes ESP 1091options COM_MULTIPORT #code for some cards with shared IRQs 1092 1093# Other flags for sio that aren't documented in the man page. 1094# 0x20000 enable hardware RTS/CTS and larger FIFOs. Only works for 1095# ST16650A-compatible UARTs. 1096 1097# PCI Universal Communications driver 1098# Supports various single and multi port PCI serial cards. Maybe later 1099# also the parallel ports on combination serial/parallel cards. New cards 1100# can be added in src/sys/dev/misc/puc/pucdata.c. 1101device puc 1102 1103# 1104# Network interfaces: `is', `lnc' 1105# 1106# lnc: Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, AMD Am7990 & Am79C960) 1107# sbsh: Granch SBNI16 SHDSL modem PCI adapters 1108# wi: Lucent WaveLAN/IEEE 802.11 PCMCIA adapters. Note: this supports both 1109# the PCMCIA and ISA cards: the ISA card is really a PCMCIA to ISA 1110# bridge with a PCMCIA adapter plugged into it. 1111# xe: Xircom/Intel EtherExpress Pro100/16 PC Card ethernet controller. 1112# 1113device lnc 1114device sln 1115device sn 1116 1117# Wlan support is mandatory for some wireless LAN devices. 1118options IEEE80211_DEBUG #enable debugging msgs 1119options IEEE80211_SUPPORT_MESH #enable 802.11s D3.0 support 1120options IEEE80211_SUPPORT_TDMA #enable TDMA support 1121device wlan # 802.11 support 1122device wlan_acl # 802.11 MAC-based access control for AP 1123device wlan_ccmp # 802.11 CCMP support 1124device wlan_tkip # 802.11 TKIP support 1125device wlan_wep # 802.11 WEP support 1126device wlan_xauth # 802.11 WPA or 802.1x authentication for AP 1127device wlan_amrr # 802.11 AMRR TX rate control algorithm 1128device ath # Atheros AR521x 1129options AH_AR5416_INTERRUPT_MITIGATION 1130options AH_ASSERT 1131options AH_DEBUG 1132options AH_INTERRUPT_DEBUGGING 1133options AH_MAXCHAN=96 1134options AH_NEED_DESC_SWAP 1135options AH_PRIVATE_DIAG 1136options AH_RXCFG_SDMAMW_4BYTES 1137options AH_SUPPORT_AR5416 1138options AH_SUPPORT_AR9130 1139options AH_SUPPORT_AR9330 1140options AH_SUPPORT_AR9340 1141options AH_USE_INIPDGAIN 1142device ath_hal # Atheros Hardware Access Layer 1143#device ath_rate_amrr # Atheros AMRR TX rate control algorithm 1144#device ath_rate_onoe # Atheros Onoe TX rate control algorithm 1145device ath_rate_sample # Atheros Sample TX rate control algorithm 1146options ATH_DEBUG # turn on debugging output (see hw.ath.debug) 1147options ATH_DIAGAPI # diagnostic interface to the HAL 1148options ATH_ENABLE_DFS 1149options ATH_KTR_INTR_DEBUG 1150device siba_bwn # Sonic Inc. Silicon Backplane needed for bwn 1151options SIBA_DEBUG # turn on debugging output 1152device bwn # Broadcom BCM43xx NICs using v4 firmware 1153options BWN_DEBUG # turn on debugging output 1154options BWN_RXRING_SLOTS=128 # number of RX slots to allocate 1155options BWN_TXRING_SLOTS=128 # number of TX slots to allocate 1156device iwi # Intel PRO/Wireless 2200BG/2915ABG 1157device iwm # Intel Dual Band Wireless AC 3160/3165/7260/7265/8260 1158options IWM_DEBUG # turn on debugging output 1159device iwn # Intel WiFi Link 4965/1000/5000/5150/5300/6000/6050 1160options IWN_DEBUG # turn on debugging output 1161device wi # WaveLAN/IEEE, PRISM-II, Spectrum24 802.11DS 1162device xe # Xircom PCMCIA 1163device ral # Ralink Technology 802.11 wireless NIC 1164device wpi 1165options WPI_DEBUG # turn on debugging output 1166 1167# IEEE 802.11 adapter firmware modules 1168 1169# iwifw: Intel PRO/Wireless 2200BG/2225BG/2915ABG firmware 1170# iwmfw Intel Dual Band Wireless AC 3160/3165/7260/7265/8260 1171# iwnfw: Intel WiFi Link 4965/1000/5000/5150/5300/6000/6050 1172# ralfw: Ralink Technology RT25xx and RT26xx firmware 1173# wpifw: Intel 3945ABG Wireless LAN Controller firmware 1174 1175device iwifw 1176device iwmfw 1177device iwnfw 1178device ralfw 1179device wpifw 1180 1181# Bluetooth Protocols 1182device bluetooth 1183 1184# Sound drivers 1185# 1186 1187# Basic sound card support: 1188device sound 1189# For PCI sound cards: 1190device "snd_als4000" 1191device "snd_atiixp" 1192device "snd_cmi" 1193device "snd_cs4281" 1194device "snd_emu10k1" 1195device "snd_emu10kx" 1196device "snd_envy24" 1197device "snd_envy24ht" 1198device "snd_es137x" 1199device "snd_fm801" 1200device "snd_hda" 1201device "snd_hdspe" 1202device "snd_ich" 1203device "snd_maestro" 1204device "snd_neomagic" 1205device "snd_solo" 1206device "snd_spicds" 1207device "snd_t4dwave" 1208device "snd_via8233" 1209device "snd_via82c686" 1210device "snd_vibes" 1211# USB 1212device "snd_uaudio" 1213 1214# 1215# Following options are intended for debugging/testing purposes: 1216# 1217# SND_DEBUG Enable extra debugging code that includes 1218# sanity checking and possible increase of 1219# verbosity. 1220# 1221# SND_DIAGNOSTIC Similar in a spirit of INVARIANTS/DIAGNOSTIC, 1222# zero tolerance against inconsistencies. 1223# 1224# SND_FEEDER_MULTIFORMAT By default, only 16/32 bit feeders are compiled 1225# in. This options enable most feeder converters 1226# except for 8bit. WARNING: May bloat the kernel. 1227# 1228# SND_FEEDER_FULL_MULTIFORMAT Ditto, but includes 8bit feeders as well. 1229# 1230# SND_FEEDER_RATE_HP (feeder_rate) High precision 64bit arithmetic 1231# as much as possible (the default trying to 1232# avoid it). Possible slowdown. 1233# 1234# SND_PCM_64 (Only applicable for i386/32bit arch) 1235# Process 32bit samples through 64bit 1236# integer/arithmetic. Slight increase of dynamic 1237# range at a cost of possible slowdown. 1238# 1239# SND_OLDSTEREO Only 2 channels are allowed, effectively 1240# disabling multichannel processing. 1241# 1242options SND_DEBUG 1243#options SND_DIAGNOSTIC 1244options SND_FEEDER_MULTIFORMAT 1245options SND_FEEDER_FULL_MULTIFORMAT 1246options SND_FEEDER_RATE_HP 1247options SND_PCM_64 1248options SND_OLDSTEREO 1249 1250# 1251# Miscellaneous hardware: 1252# 1253# bktr: Brooktree bt848/848a/849a/878/879 video capture and TV Tuner board 1254# coremctl: Intel Core/E3 memory controller (required by ecc(4) and memtemp(4)) 1255# dimm: Location inforamtion (required by ecc(4) and memtemp(4)) 1256# ecc: ECC memory controller 1257# ipmi: Intelligent Platform Management Interface 1258# joy: joystick 1259# nrp: Comtrol Rocketport 1260# si: Specialix SI/XIO 4-32 port terminal multiplexor 1261# nmdm: nullmodem terminal driver (see nmdm(4)) 1262# tpm: Trusted Platform Module 1263 1264# Notes on the Specialix SI/XIO driver: 1265# **This is NOT a Specialix supported Driver!** 1266# The host card is memory, not IO mapped. 1267# The Rev 1 host cards use a 64K chunk, on a 32K boundary. 1268# The Rev 2 host cards use a 32K chunk, on a 32K boundary. 1269# The cards can use an IRQ of 11, 12 or 15. 1270 1271device coremctl 1272device dimm 1273device ecc 1274device joy0 at isa? port IO_GAME 1275device nrp 1276device si 1277# nullmodem terminal driver 1278device nmdm 1279device tpm 1280device ipmi 1281 1282# The `ahc' device provides support for the Adaptec 274X and 284X 1283# adapters. 1284device ahc 1285 1286# The aic7xxx driver will attempt to use memory mapped I/O for all PCI 1287# controllers that have it configured only if this option is set. Unfortunately, 1288# this doesn't work on some motherboards, which prevents it from being the 1289# default. 1290options AHC_ALLOW_MEMIO 1291 1292# The adw driver will attempt to use memory mapped I/O for all PCI 1293# controllers that have it configured only if this option is set. 1294options ADW_ALLOW_MEMIO 1295 1296# 1297# PCI devices & PCI options: 1298# 1299# The main PCI bus device is `pci'. It provides auto-detection and 1300# configuration support for all devices on the PCI bus, using either 1301# configuration mode defined in the PCI specification. 1302 1303device pci 1304 1305# AGP GART support 1306# 1307device agp 1308 1309# 1310# AGP debugging. 1311# 1312options AGP_DEBUG 1313 1314# The `ahc' device provides support for the Adaptec 29/3940(U)(W) 1315# and motherboard based AIC7870/AIC7880 adapters. 1316options AHC_DEBUG 1317options AHC_DEBUG_OPTS=0xffffffff 1318options AHC_REG_PRETTY_PRINT 1319options AHC_TMODE_ENABLE 1320# 1321# The 'ahd' device provides support for the Adaptec 79xx Ultra320 1322# SCSI adapters. Options are documented in the ahd(4) manpage: 1323options AHD_DEBUG 1324options AHD_DEBUG_OPTS=0xffffffff 1325options AHD_REG_PRETTY_PRINT 1326#options AHD_TMODE_ENABLE=0xff 1327# 1328# The `amd' device provides support for the AMD 53C974 SCSI host 1329# adapter chip as found on devices such as the Tekram DC-390(T). 1330# 1331# The `bge' device provides support for gigabit ethernet adapters 1332# based on the Broadcom BCM570x family of controllers, including the 1333# 3Com 3c996-T, the Netgear GA302T, the SysKonnect SK-9D21 and SK-9D41, 1334# and the embedded gigE NICs on Dell PowerEdge 2550 servers. 1335# 1336# The `ncr' device provides support for the NCR 53C810 and 53C825 1337# self-contained SCSI host adapters. 1338# 1339# The `isp' device provides support for the Qlogic ISP 1020, 1040 1340# nd 1040B PCI SCSI host adapters, ISP 1240 Dual Ultra SCSI, 1341# ISP 1080 and 1280 (Dual) Ultra2, ISP 12160 Ultra3 SCSI, as well as 1342# the Qlogic ISP 2100 and ISP 2200 Fibre Channel Host Adapters. 1343# 1344# The `dc' device provides support for PCI fast ethernet adapters 1345# based on the DEC/Intel 21143 and various workalikes including: 1346# the ADMtek AL981 Comet and AN985 Centaur, the ASIX Electronics 1347# AX88140A and AX88141, the Davicom DM9100 and DM9102, the Lite-On 1348# 82c168 and 82c169 PNIC, the Lite-On/Macronix LC82C115 PNIC II 1349# and the Macronix 98713/98713A/98715/98715A/98725 PMAC. This driver 1350# replaces the old al, ax, dm, pn and mx drivers. List of brands: 1351# Digital DE500-BA, Kingston KNE100TX, D-Link DFE-570TX, SOHOware SFA110, 1352# SVEC PN102-TX, CNet Pro110B, 120A, and 120B, Compex RL100-TX, 1353# LinkSys LNE100TX, LNE100TX V2.0, Jaton XpressNet, Alfa Inc GFC2204, 1354# KNE110TX. 1355# 1356# The `de' device provides support for the Digital Equipment DC21040 1357# self-contained Ethernet adapter. 1358# 1359# The `em' device provides support for the Intel Pro/1000 Family of Gigabit 1360# adapters (82542, 82543, 82544, 82540). 1361# 1362# The `et' device provides support for the Agere ET1310 10/100/1000 PCIe 1363# adapters. 1364# 1365# The `fxp' device provides support for the Intel EtherExpress Pro/100B 1366# PCI Fast Ethernet adapters. 1367# 1368# The 'lge' device provides support for PCI gigabit ethernet adapters 1369# based on the Level 1 LXT1001 NetCellerator chipset. This includes the 1370# D-Link DGE-500SX, SMC TigerCard 1000 (SMC9462SX), and some Addtron cards. 1371# 1372# The 'my' device provides support for the Myson MTD80X and MTD89X PCI 1373# Fast Ethernet adapters. 1374# 1375# The 'nge' device provides support for PCI gigabit ethernet adapters 1376# based on the National Semiconductor DP83820 and DP83821 chipset. This 1377# includes the SMC EZ Card 1000 (SMC9462TX), D-Link DGE-500T, Asante 1378# FriendlyNet GigaNIX 1000TA and 1000TPC, the Addtron AEG320T, the 1379# LinkSys EG1032 and EG1064, the Surecom EP-320G-TX and the Netgear GA622T. 1380# 1381# The 'oce' device provides support for Emulex 10 Gbit adapters 1382# (OneConnect Ethernet). 1383# 1384# The 'pcn' device provides support for PCI fast ethernet adapters based 1385# on the AMD Am79c97x chipsets, including the PCnet/FAST, PCnet/FAST+, 1386# PCnet/PRO and PCnet/Home. These were previously handled by the lnc 1387# driver (and still will be if you leave this driver out of the kernel). 1388# 1389# Te 're' device provides support for PCI GigaBit ethernet adapters based 1390# on the RealTek 8169 chipset. It also supports the 8139C+ and is the 1391# preferred driver for that chip. 1392# 1393# The 'rl' device provides support for PCI fast ethernet adapters based 1394# on the RealTek 8129/8139 chipset. Note that the RealTek driver defaults 1395# to using programmed I/O to do register accesses because memory mapped 1396# mode seems to cause severe lockups on SMP hardware. This driver also 1397# supports the Accton EN1207D `Cheetah' adapter, which uses a chip called 1398# the MPX 5030/5038, which is either a RealTek in disguise or a RealTek 1399# workalike. Note that the D-Link DFE-530TX+ uses the RealTek chipset 1400# and is supported by this driver, not the 'vr' driver. 1401# 1402# The 'sf' device provides support for Adaptec Duralink PCI fast 1403# ethernet adapters based on the Adaptec AIC-6915 "starfire" controller. 1404# This includes dual and quad port cards, as well as one 100baseFX card. 1405# Most of these are 64-bit PCI devices, except for one single port 1406# card which is 32-bit. 1407# 1408# The 'ste' device provides support for adapters based on the Sundance 1409# Technologies ST201 PCI fast ethernet controller. This includes the 1410# D-Link DFE-550TX. 1411# 1412# The 'sis' device provides support for adapters based on the Silicon 1413# Integrated Systems SiS 900 and SiS 7016 PCI fast ethernet controller 1414# chips. 1415# 1416# The 'sk' device provides support for the SysKonnect SK-984x series 1417# PCI gigabit ethernet NICs. This includes the SK-9841 and SK-9842 1418# single port cards (single mode and multimode fiber) and the 1419# SK-9843 and SK-9844 dual port cards (also single mode and multimode). 1420# The driver will autodetect the number of ports on the card and 1421# attach each one as a separate network interface. 1422# 1423# The 'ti' device provides support for PCI gigabit ethernet NICs based 1424# on the Alteon Networks Tigon 1 and Tigon 2 chipsets. This includes the 1425# Alteon AceNIC, the 3Com 3c985, the Netgear GA620 and various others. 1426# Note that you will probably want to bump up NMBCLUSTERS a lot to use 1427# this driver. 1428# 1429# The 'tl' device provides support for the Texas Instruments TNETE100 1430# series 'ThunderLAN' cards and integrated ethernet controllers. This 1431# includes several Compaq Netelligent 10/100 cards and the built-in 1432# ethernet controllers in several Compaq Prosignia, Proliant and 1433# Deskpro systems. It also supports several Olicom 10Mbps and 10/100 1434# boards. 1435# 1436# The `tx' device provides support for the SMC 9432 TX, BTX and FTX cards. 1437# 1438# The `txp' device provides support for the 3Com 3cR990 "Typhoon" 1439# 10/100 adapters. 1440# 1441# The `vr' device provides support for various fast ethernet adapters 1442# based on the VIA Technologies VT3043 `Rhine I' and VT86C100A `Rhine II' 1443# chips, including the D-Link DFE530TX (see 'rl' for DFE530TX+), the Hawking 1444# Technologies PN102TX, and the AOpen/Acer ALN-320. 1445# 1446# The `wb' device provides support for various fast ethernet adapters 1447# based on the Winbond W89C840F chip. Note: this is not the same as 1448# the Winbond W89C940F, which is an NE2000 clone. 1449# 1450# The `xl' device provides support for the 3Com 3c900, 3c905 and 1451# 3c905B (Fast) Etherlink XL cards and integrated controllers. This 1452# includes the integrated 3c905B-TX chips in certain Dell Optiplex and 1453# Dell Precision desktop machines and the integrated 3c905-TX chips 1454# in Dell Latitude laptop docking stations. 1455# 1456# The 'bktr' device is a PCI video capture device using the Brooktree 1457# bt848/bt848a/bt849a/bt878/bt879 chipset. When used with a TV Tuner it forms a 1458# TV card, eg Miro PC/TV, Hauppauge WinCast/TV WinTV, VideoLogic Captivator, 1459# Intel Smart Video III, AverMedia, IMS Turbo, FlyVideo. 1460# 1461# options OVERRIDE_CARD=xxx 1462# options OVERRIDE_TUNER=xxx 1463# options OVERRIDE_MSP=1 1464# options OVERRIDE_DBX=1 1465# These options can be used to override the auto detection 1466# The current values for xxx are found in src/sys/dev/video/bktr/bktr_card.h 1467# Using sysctl(8) run-time overrides on a per-card basis can be made 1468# 1469# options BKTR_SYSTEM_DEFAULT=BROOKTREE_PAL 1470# or 1471# options BKTR_SYSTEM_DEFAULT=BROOKTREE_NTSC 1472# Specifies the default video capture mode. 1473# This is required for Dual Crystal (28&35Mhz) boards where PAL is used 1474# to prevent hangs during initialisation. eg VideoLogic Captivator PCI. 1475# 1476# options BKTR_USE_PLL 1477# PAL or SECAM users who have a 28Mhz crystal (and no 35Mhz crystal) 1478# must enable PLL mode with this option. eg some new Bt878 cards. 1479# 1480# options BKTR_GPIO_ACCESS 1481# This enable IOCTLs which give user level access to the GPIO port. 1482# 1483# options BKTR_NO_MSP_RESET 1484# Prevents the MSP34xx reset. Good if you initialise the MSP in another OS first 1485# 1486# options BKTR_430_FX_MODE 1487# Switch Bt878/879 cards into Intel 430FX chipset compatibility mode. 1488# 1489# options BKTR_SIS_VIA_MODE 1490# Switch Bt878/879 cards into SIS/VIA chipset compatibility mode which is 1491# needed for some old SiS and VIA chipset motherboards. 1492# This also allows Bt878/879 chips to work on old OPTi (<1997) chipset 1493# motherboards and motherboards with bad or incomplete PCI 2.1 support. 1494# As a rough guess, old = before 1998 1495# 1496# options BKTR_NEW_MSP34XX_DRIVER 1497# Use new, more complete initialization scheme for the msp34* soundchip. 1498# Should fix stereo autodetection if the old driver does only output 1499# mono sound. 1500# 1501# options BKTR_OVERRIDE_CARD=xxx 1502# options BKTR_OVERRIDE_DBX=xxx 1503# options BKTR_OVERRIDE_MSP=xxx 1504# options BKTR_OVERRIDE_TUNER=xxx 1505# These options can be used to select a specific device, regardless of 1506# the autodetection and i2c device checks (see comments in bktr_card.c). 1507# 1508device ahc # AHA2940 and onboard AIC7xxx devices 1509device ahd # AIC79xx devices 1510device amd # AMD 53C974 (Tekram DC-390(T)) 1511device isp # Qlogic family 1512device ispfw # Firmware for QLogic HBAs 1513device mpt # LSI '909 FC adapters 1514device mps # LSI-Logic MPT-Fusion 2 1515device ncr # NCR/Symbios Logic 1516device sym # NCR/Symbios Logic (newer chipsets) 1517device trm # Tekram DC395U/UW/F and DC315U 1518# 1519# Options for ISP 1520# 1521# ISP_TARGET_MODE - enable target mode operation 1522#options ISP_TARGET_MODE=1 1523 1524# Options used in dev/disk/sym/ (Symbios SCSI driver). 1525#options SYM_SETUP_LP_PROBE_MAP #-Low Priority Probe Map (bits) 1526 # Allows the ncr to take precedence 1527 # 1 (1<<0) -> 810a, 860 1528 # 2 (1<<1) -> 825a, 875, 885, 895 1529 # 4 (1<<2) -> 895a, 896, 1510d 1530#options SYM_SETUP_SCSI_DIFF #-HVD support for 825a, 875, 885 1531 # disabled:0 (default), enabled:1 1532#options SYM_SETUP_PCI_PARITY #-PCI parity checking 1533 # disabled:0, enabled:1 (default) 1534#options SYM_SETUP_MAX_LUN #-Number of LUNs supported 1535 # default:8, range:[1..64] 1536 1537 1538# MII bus support is required for some PCI 10/100 ethernet NICs, 1539# namely those which use MII-compliant transceivers or implement 1540# transceiver control interfaces that operate like an MII. Adding 1541# "device miibus0" to the kernel config pulls in support for 1542# the generic miibus API and all of the PHY drivers, including a 1543# generic one for PHYs that aren't specifically handled by an 1544# individual driver. 1545device miibus 1546 1547# PCI Ethernet NICs that use the common MII bus controller code. 1548device ae # Attansic/Atheros L2 Fast Ethernet 1549device alc # Atheros AR8131/AR8132 1550device ale # Atheros AR8121/AR8113/AR8114 1551device age # Attansic/Atheros L1 Gigabit Ethernet 1552device bce # Broadcom NetXtreme II Gigabit Ethernet 1553device bfe # Broadcom BCM440x 10/100 Ethernet 1554device bnx # Broadcom NetXtreme 5718/57785 Gigabit Ethernet 1555device dc # DEC/Intel 21143 and various workalikes 1556device fxp # Intel EtherExpress PRO/100B (82557, 82558) 1557device my # Myson Fast Ethernet (MTD80X, MTD89X) 1558device pcn # AMD Am79C97x PCI 10/100 NICs 1559device re # RealTek 8139C+/8169 1560device rl # RealTek 8129/8139 1561device sbsh # Granch SBNI16 SHDSL modem 1562device sf # Adaptec AIC-6915 (``Starfire'') 1563device sis # Silicon Integrated Systems SiS 900/SiS 7016 1564device ste # Sundance ST201 (D-Link DFE-550TX) 1565device tl # Texas Instruments ThunderLAN 1566device tx # SMC EtherPower II (83c17x ``EPIC'') 1567device vge # VIA 612x GigE 1568device vr # VIA Rhine, Rhine II 1569device wb # Winbond W89C840F 1570device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') 1571 1572# PCI Ethernet NICs. 1573device de # DEC/Intel DC21x4x (``Tulip'') 1574device txp # 3Com 3cR990 (``Typhoon'') 1575 1576# Gigabit Ethernet NICs. 1577device bge # Broadcom BCM570x (``Tigon III'') 1578device em # Intel Pro/1000 (8254x,8257x) 1579 # Requires ig_hal 1580device emx # Intel Pro/1000 (8257{1,2,3,4}) 1581 # Requires ig_hal 1582device igb # Intel Pro/1000 (82575, 82576, 82580, i350) 1583 # Requires ig_hal 1584device ig_hal # Intel Pro/1000 hardware abstraction layer 1585device ix # Intel PRO/10GbE PCIE Ethernet Family 1586device et # Agere ET1310 10/100/1000 Ethernet 1587device lge # Level 1 LXT1001 (``Mercury'') 1588device mxge # Myricom Myri-10G 10GbE NIC 1589device nfe # nVidia nForce2/3 MCP04/51/55 CK804 1590device nge # NatSemi DP83820 and DP83821 1591device oce # Emulex 10 GbE (OneConnect Ethernet) 1592device sk # SysKonnect GEnesis, LinkSys EG1023, D-Link 1593device ti # Alteon (``Tigon I'', ``Tigon II'') 1594device stge # Sundance/Tamarack TC9021 Gigabit Ethernet 1595device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet 1596device jme # JMicron Gigabit/Fast Ethernet 1597 1598# Brooktree driver has been ported to the new I2C framework. Thus, 1599# you'll need to have the following 3 lines in the kernel config. 1600# device smbus 1601# device iicbus 1602# device iicbb 1603# The iic and smb devices are only needed if you want to control other 1604# I2C slaves connected to the external connector of some cards. 1605# 1606device bktr 1607options BKTR_NEW_MSP34XX_DRIVER 1608 1609# WinTV PVR-250/350 driver 1610device cxm 1611 1612# 1613# PCCARD/PCMCIA 1614# 1615# pccard: pccard slots 1616# cardbus/cbb: cardbus bridge 1617device pccard 1618device cardbus 1619device cbb 1620 1621# 1622# MMC/SD 1623# 1624# mmc MMC/SD bus 1625# mmcsd MMC/SD memory card 1626# sdhci Generic PCI SD Host Controller 1627# 1628device mmc 1629device mmcsd 1630device sdhci 1631 1632# 1633# SMB bus 1634# 1635# System Management Bus support is provided by the 'smbus' device. 1636# Access to the SMBus device is via the 'smb' device (/dev/smb*), 1637# which is a child of the 'smbus' device. 1638# 1639# Supported devices: 1640# smb standard io through /dev/smb* 1641# 1642# ACPI support: 1643# smbacpi support for ACPI I2cSerialBus resources 1644# 1645# Supported SMB interfaces: 1646# iicsmb I2C to SMB bridge with any iicbus interface 1647# bktr brooktree848 I2C hardware interface 1648# intpm Intel PIIX4 (82371AB, 82443MX) Power Management Unit 1649# alpm Acer Aladdin-IV/V/Pro2 Power Management Unit 1650# ichiic Intel generation 4 I2C controller 1651# ichsmb Intel ICH SMBus controller chips (82801AA, 82801AB, 82801BA) 1652# viapm VIA VT82C586B,596,686A and VT8233 SMBus controllers 1653# amdpm AMD 756 Power Management Unit 1654# amdsmb AMD 8111 SMBus 2.0 Controller 1655# 1656device smbus # Bus support, required for smb below. 1657 1658device intpm 1659device alpm 1660device ichiic 1661device ichsmb 1662device viapm 1663device amdpm 1664device amdsmb 1665 1666device smb 1667 1668device smbacpi 1669 1670# 1671# I2C Bus 1672# 1673# Philips i2c bus support is provided by the `iicbus' device. 1674# 1675# Supported devices: 1676# ic i2c network interface 1677# iic i2c standard io 1678# iicsmb i2c to smb bridge. Allow i2c i/o with smb commands. 1679# 1680# Supported interfaces: 1681# pcf Philips PCF8584 ISA-bus controller 1682# bktr brooktree848 I2C software interface 1683# 1684# Other: 1685# iicbb generic I2C bit-banging code (needed by lpbb, bktr) 1686# 1687device iicbus # Bus support, required for ic/iic/iicsmb below. 1688device iicbb 1689 1690device ic 1691device iic 1692device iicsmb # smb over i2c bridge 1693 1694device pcf0 at isa? port 0x320 irq 5 1695 1696# Intel performance-energy bias 1697device perfbias 1698 1699# Intel software controlled clock modulation 1700device clockmod 1701 1702# Intel Sandy Bridge and newer CPUs power usage estimation 1703device corepower 1704 1705# Intel Core and newer CPUs on-die digital thermal sensor support 1706device coretemp 1707 1708# Memory thermal sensor 1709device memtemp 1710 1711# CPU control pseudo-device. Provides access to MSRs, CPUID info and 1712# microcode update feature. 1713device cpuctl 1714 1715# Effective CPU frequency interface via APERF/MPERF MSRs 1716device aperf 1717 1718# AMD Family 0Fh, 10h and 11h temperature sensors 1719device kate 1720device km 1721 1722# ThinkPad Active Protection System accelerometer 1723device aps0 at isa? port 0x1600 1724 1725# HW monitoring devices lm(4), it(4) and nsclpcsio. 1726device lm0 at isa? port 0x290 1727device it0 at isa? port 0x290 1728device it1 at isa? port 0xc00 1729device it2 at isa? port 0xd00 1730device it3 at isa? port 0x228 1731device nsclpcsio0 at isa? port 0x2e 1732device nsclpcsio1 at isa? port 0x4e 1733device wbsio0 at isa? port 0x2e 1734device wbsio1 at isa? port 0x4e 1735device uguru0 at isa? port 0xe0 # ABIT uGuru 1736 1737# Parallel-Port Bus 1738# 1739# Parallel port bus support is provided by the `ppbus' device. 1740# Multiple devices may be attached to the parallel port, devices 1741# are automatically probed and attached when found. 1742# 1743# Supported devices: 1744# vpo Iomega Zip Drive 1745# Requires SCSI disk support ('scbus' and 'da'); the best 1746# performance is achieved with ports in EPP 1.9 mode. 1747# lpt Parallel Printer 1748# plip Parallel network interface 1749# ppi General-purpose I/O ("Geek Port") + IEEE1284 I/O 1750# pps Pulse per second Timing Interface 1751# lpbb Philips official parallel port I2C bit-banging interface 1752# 1753# Supported interfaces: 1754# ppc ISA-bus parallel port interfaces. 1755# 1756 1757options PPC_PROBE_CHIPSET # Enable chipset specific detection 1758 # (see flags in ppc(4)) 1759options DEBUG_1284 # IEEE1284 signaling protocol debug 1760options PERIPH_1284 # Makes your computer act as a IEEE1284 1761 # compliant peripheral 1762options DONTPROBE_1284 # Avoid boot detection of PnP parallel devices 1763options VP0_DEBUG # ZIP/ZIP+ debug 1764options LPT_DEBUG # Printer driver debug 1765options PPC_DEBUG=2 # Parallel chipset level debug 1766options PLIP_DEBUG # Parallel network IP interface debug 1767options PCFCLOCK_VERBOSE # Verbose pcfclock driver 1768options PCFCLOCK_MAX_RETRIES=5 # Maximum read tries (default 10) 1769 1770device ppc0 at isa? irq 7 1771device ppbus 1772device vpo 1773device lpt 1774device plip 1775device ppi 1776device pps 1777device lpbb 1778device pcfclock 1779 1780# Kernel BOOTP support 1781 1782options BOOTP # Use BOOTP to obtain IP address/hostname 1783options BOOTP_NFSROOT # NFS mount root filesystem using BOOTP info 1784options BOOTP_COMPAT # Workaround for broken bootp daemons. 1785options BOOTP_WIRED_TO=fxp0 # Use interface fxp0 for BOOTP 1786 1787# 1788# Set the number of PV entries per process. Increasing this can 1789# stop panics related to heavy use of shared memory. However, that can 1790# (combined with large amounts of physical memory) cause panics at 1791# boot time due the kernel running out of VM space. 1792# 1793# If you're tweaking this, you might also want to increase the sysctls 1794# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target". 1795# 1796# The value below is the one more than the default. 1797# 1798options PMAP_SHPGPERPROC=201 1799 1800# 1801# Disable swapping. This option removes all code which actually performs 1802# swapping, so it's not possible to turn it back on at run-time. 1803# 1804# This is sometimes usable for systems which don't have any swap space 1805# (see also sysctls "vm.defer_swapspace_pageouts" and 1806# "vm.disable_swapspace_pageouts") 1807# 1808#options NO_SWAPPING 1809 1810# Set the size of the buffer cache KVM reservation, in buffers. This is 1811# scaled by approximately 16384 bytes. The system will auto-size the buffer 1812# cache if this option is not specified. 1813# 1814options NBUF=512 1815 1816# Set the size of the mbuf KVM reservation, in clusters. This is scaled 1817# by approximately 2048 bytes. The system will auto-size the mbuf area 1818# to (512 + maxusers*16) if this option is not specified. 1819# maxusers is in turn computed at boot time depending on available memory 1820# or set to the value specified by "options MAXUSERS=x" (x=0 means 1821# autoscaling). 1822# So, to take advantage of autoscaling, you have to remove both 1823# NMBCLUSTERS and MAXUSERS (and NMBUFS) from your kernel config. 1824# 1825options NMBCLUSTERS=1024 1826 1827# Set the number of mbufs available in the system. Each mbuf 1828# consumes 256 bytes. The system will autosize this (to 4 times 1829# the number of NMBCLUSTERS, depending on other constraints) 1830# if this option is not specified. 1831# 1832options NMBUFS=4096 1833 1834# Tune the buffer cache maximum KVA reservation, in bytes. The maximum is 1835# usually capped at 200 MB, effecting machines with > 1GB of ram. Note 1836# that the buffer cache only really governs write buffering and disk block 1837# translations. The VM page cache is our primary disk cache and is not 1838# effected by the size of the buffer cache. 1839# 1840options VM_BCACHE_SIZE_MAX="(100*1024*1024)" 1841 1842# Tune the swap zone KVA reservation, in bytes. The default is typically 1843# 70 MB, giving the system the ability to manage a maximum of 28GB worth 1844# of swapped out data. 1845# 1846options VM_SWZONE_SIZE_MAX="(50*1024*1024)" 1847 1848# 1849# Enable extra debugging code for locks. This stores the filename and 1850# line of whatever acquired the lock in the lock itself, and change a 1851# number of function calls to pass around the relevant data. This is 1852# not at all useful unless you are debugging lock code. Also note 1853# that it is likely to break e.g. fstat(1) unless you recompile your 1854# userland with -DDEBUG_LOCKS as well. 1855# 1856# DEBUG_LOCKS_LATENCY adds a sysctl to add a forced latency loop 1857# (count to N) in front of any spinlock or gettoken. 1858# 1859options DEBUG_LOCKS 1860options DEBUG_LOCKS_LATENCY 1861 1862# Set the amount of time (in seconds) the system will wait before 1863# rebooting automatically when a kernel panic occurs. If set to (-1), 1864# the system will wait indefinitely until a key is pressed on the 1865# console. 1866options PANIC_REBOOT_WAIT_TIME=16 1867 1868# Attempt to bypass the buffer cache and put data directly into the 1869# userland buffer for read operation when O_DIRECT flag is set on the 1870# file. Both offset and length of the read operation must be 1871# multiples of the physical media sector size. 1872# 1873options DIRECTIO 1874 1875# Specify a lower limit for the number of swap I/O buffers. They are 1876# (among other things) used when bypassing the buffer cache due to 1877# DIRECTIO kernel option enabled and O_DIRECT flag set on file. 1878# 1879#options NSWBUF_MIN=120 1880 1881# The 'asr' driver provides support for current DPT/Adaptec SCSI RAID 1882# controllers (SmartRAID V and VI and later). 1883# These controllers require the CAM infrastructure. 1884# 1885device asr 1886 1887# The 'dpt' driver provides support for DPT controllers (http://www.dpt.com/). 1888# These have hardware RAID-{0,1,5} support, and do multi-initiator I/O. 1889# The DPT controllers are commonly re-licensed under other brand-names - 1890# some controllers by Olivetti, Dec, HP, AT&T, SNI, AST, Alphatronic, NEC and 1891# Compaq are actually DPT controllers. 1892# 1893# See src/sys/dev/raid/dpt for debugging and other subtle options. 1894# DPT_MEASURE_PERFORMANCE Enables a set of (semi)invasive metrics. Various 1895# instruments are enabled. The tools in 1896# /usr/sbin/dpt_* assume these to be enabled. 1897# DPT_HANDLE_TIMEOUTS Normally device timeouts are handled by the DPT. 1898# If you ant the driver to handle timeouts, enable 1899# this option. If your system is very busy, this 1900# option will create more trouble than solve. 1901# DPT_TIMEOUT_FACTOR Used to compute the excessive amount of time to 1902# wait when timing out with the above option. 1903# DPT_DEBUG_xxxx These are controllable from sys/dev/raid/dpt/dpt.h 1904# DPT_LOST_IRQ When enabled, will try, once per second, to catch 1905# any interrupt that got lost. Seems to help in some 1906# DPT-firmware/Motherboard combinations. Minimal 1907# cost, great benefit. 1908# DPT_RESET_HBA Make "reset" actually reset the controller 1909# instead of fudging it. Only enable this if you 1910# are 100% certain you need it. 1911 1912device dpt 1913 1914# DPT options 1915#!CAM# options DPT_MEASURE_PERFORMANCE 1916#!CAM# options DPT_HANDLE_TIMEOUTS 1917options DPT_TIMEOUT_FACTOR=4 1918options DPT_LOST_IRQ 1919options DPT_RESET_HBA 1920 1921# 1922# Compaq "CISS" RAID controllers (SmartRAID 5* series) 1923# These controllers have a SCSI-like interface, and require the 1924# CAM infrastructure. 1925# 1926device ciss 1927 1928# 1929# Intel Integrated RAID controllers. 1930# This driver is supported and maintained by 1931# "Leubner, Achim" <Achim_Leubner@adaptec.com>. 1932# 1933device iir 1934 1935# 1936# Mylex AcceleRAID and eXtremeRAID controllers with v6 and later 1937# firmware. These controllers have a SCSI-like interface, and require 1938# the CAM infrastructure. 1939# 1940device mly 1941 1942# USB support 1943# 1944 1945# UHCI controller 1946device uhci 1947# OHCI controller 1948device ohci 1949# EHCI controller 1950device ehci 1951# XHCI controller 1952device xhci 1953# General USB code (mandatory for USB) 1954device usb 1955# Human Interface Device (anything with buttons and dials) 1956device uhid 1957# USB keyboard 1958device ukbd 1959# USB printer 1960device ulpt 1961# USB mass storage (Requires scbus and da) 1962device umass 1963# USB mass storage driver for device-side mode 1964device usfs 1965# USB modem support 1966device umodem 1967# USB mouse 1968device ums 1969# eGalax USB touch screen 1970device uep 1971# Diamond Rio 500 MP3 player 1972device urio 1973# USB com devices 1974device "u3g" 1975device uark 1976device ubsa 1977device ubser 1978device uchcom 1979device ucom 1980device ucycom 1981device ufoma 1982device uftdi 1983device ugensa 1984device uipaq 1985device umcs 1986device umct 1987device umoscom 1988device uplcom 1989device uslcom 1990device uvisor 1991device uvscom 1992 1993# 1994# USB ethernet support 1995device uether 1996# 1997# ADMtek USB ethernet. Supports the LinkSys USB100TX, 1998# the Billionton USB100, the Melco LU-ATX, the D-Link DSB-650TX 1999# and the SMC 2202USB. Also works with the ADMtek AN986 Pegasus 2000# eval board. 2001device aue 2002# 2003# ASIX Electronics AX88172 USB 2.0 ethernet driver. Used in the 2004# LinkSys USB200M and various other adapters. 2005device axe 2006# 2007# ASIX Electronics AX88178A/AX88179 USB 2.0/3.0 gigabit ethernet driver. 2008device axge 2009# 2010# CATC USB-EL1201A USB ethernet. Supports the CATC Netmate 2011# and Netmate II, and the Belkin F5U111. 2012device cue 2013# 2014# USB Apple iPhone/iPad tethered Ethernet driver 2015device ipheth 2016# 2017# Kawasaki LSI ethernet. Supports the LinkSys USB10T, 2018# Entrega USB-NET-E45, Peracom Ethernet Adapter, the 2019# 3Com 3c19250, the ADS Technologies USB-10BT, the ATen UC10T, 2020# the Netgear EA101, the D-Link DSB-650, the SMC 2102USB 2021# and 2104USB, and the Corega USB-T. 2022device kue 2023# 2024# Moschip MCS7730/MCS7840 USB to fast ethernet. Supports the Sitecom LN030. 2025device mos 2026# 2027# Davicom DM9601E USB to fast ethernet. Supports the Corega FEther USB-TXC. 2028device udav 2029 2030# USB wireless NICs, requires wlan_amrr 2031# 2032# Ralink Technology RT2501USB/RT2601USB 2033device rum 2034# 2035# Ralink Technology RT2700U/RT2800U/RT3000U wireless driver 2036device run 2037device runfw 2038# 2039# RNDIS USB ethernet driver 2040device urndis 2041# 2042# Realtek RTL8188CU/RTL8192CU wireless driver 2043device urtwn 2044device urtwnfw 2045options URTWN_WITHOUT_UCODE 2046 2047# Fm Radio 2048# 2049device ufm 2050 2051# Templates for programming USB device side drivers 2052# 2053device usb_template 2054 2055# debugging options for the USB subsystem 2056# 2057options USB_DEBUG 2058 2059# options for ukbd: 2060options UKBD_DFLT_KEYMAP # specify the built-in keymap 2061makeoptions UKBD_DFLT_KEYMAP=it.iso 2062 2063# Firewire support 2064device firewire # Firewire bus code 2065device sbp # SCSI over Firewire (Requires scbus and da) 2066device fwe # Ethernet over Firewire (non-standard!) 2067 2068# dcons support (Dumb Console Device) 2069device dcons # dumb console driver 2070device dcons_crom # FireWire attachment 2071options DCONS_BUF_SIZE=16384 # buffer size 2072options DCONS_POLL_HZ=100 # polling rate 2073options DCONS_FORCE_CONSOLE=1 # force to be the primary console 2074options DCONS_FORCE_GDB=1 # force to be the gdb device 2075 2076##################################################################### 2077# crypto subsystem 2078# 2079# This is a port of the openbsd crypto framework. Include this when 2080# configuring IPsec and when you have a h/w crypto device to accelerate 2081# user applications that link to openssl. 2082# 2083# Drivers are ports from openbsd with some simple enhancements that have 2084# been fed back to openbsd (and hopefully will be included). 2085 2086device crypto # core crypto support 2087device cryptodev # /dev/crypto for access to h/w 2088 2089device rndtest # FIPS 140-2 entropy tester 2090 2091device hifn # Hifn 7951, 7781, etc. 2092options HIFN_DEBUG # enable debugging support: hw.hifn.debug 2093#options HIFN_NO_RNG # for devices without RNG 2094options HIFN_RNDTEST # enable rndtest support 2095 2096device safe # SafeNet 1141 2097options SAFE_DEBUG # enable debugging support: hw.safe.debug 2098#options SAFE_NO_RNG # for devices without RNG 2099options SAFE_RNDTEST # enable rndtest support 2100 2101device ubsec # Broadcom 5501, 5601, 58xx 2102options UBSEC_DEBUG # enable debugging support: hw.ubsec.debug 2103#options UBSEC_NO_RNG # for devices without RNG 2104options UBSEC_RNDTEST # enable rndtest support 2105 2106device aesni # hardware crypto/RNG for AES-NI 2107device padlock # hardware crypto/RNG for VIA C3/C7/Eden 2108device rdrand # hardware RNG for RdRand 2109 2110# 2111# ACPI support using the Intel ACPI Component Architecture reference 2112# implementation. 2113# 2114# ACPI_DEBUG enables the use of the debug.acpi.level and debug.acpi.layer 2115# kernel environment variables to select initial debugging levels for the 2116# Intel ACPICA code. 2117# 2118# Note that building ACPI into the kernel is deprecated; the module is 2119# normally loaded automatically by the loader. 2120 2121device acpi 2122options ACPI_DEBUG 2123 2124# ACPI WMI Mapping driver 2125device acpi_wmi 2126 2127# ACPI Asus Extras (LCD backlight/brightness, video output, etc.) 2128device acpi_asus 2129 2130# ACPI Fujitsu Extras (Buttons) 2131device acpi_fujitsu 2132 2133# ACPI extras driver for HP laptops 2134device acpi_hp 2135 2136# ACPI Panasonic Extras (LCD backlight/brightness, video output, etc.) 2137device acpi_panasonic 2138 2139# ACPI pvpanic driver for virtual machines running in Qemu 2140device acpi_pvpanic 2141 2142# ACPI Sony extra (LCD brightness) 2143device acpi_sony 2144 2145# ACPI extras driver for ThinkPad laptops 2146device acpi_thinkpad 2147 2148# ACPI Toshiba Extras (LCD backlight/brightness, video output, etc.) 2149device acpi_toshiba 2150 2151# ACPI Video Extensions (LCD backlight/brightness, video output, etc.) 2152device acpi_video 2153 2154# ACPI Docking Station 2155device acpi_dock 2156 2157device aibs # ASUSTeK AI Booster (ACPI ASOC ATK0110) 2158 2159# DRM options: 2160# drm: General DRM code 2161# i915: Intel integrated GPUs, starting from the 830M family 2162# radeon: ATI/AMD Radeon cards 2163# 2164# DRM_DEBUG: include debug printfs, very slow 2165# 2166# DRM requires AGP in the kernel. 2167# 2168# Also you'll need to have the following 3 lines in the kernel config. 2169# device acpi 2170# device iicbus 2171# device iicbb 2172 2173device drm 2174 2175# For testing and debugging. 2176device "i915" 2177device radeon 2178 2179options DRM_DEBUG 2180options DRM_LINUX 2181 2182# 2183# Misc devices 2184# 2185device cmx # Omnikey CardMan 4040 smartcard reader 2186device amdsbwd # AMD South Bridge watchdog 2187device gpio # Enable support for the gpio framework 2188device ichwd # Intel ICH watchdog interrupt timer 2189device tbridge # regression testing 2190 2191# 2192# Virtio support 2193# 2194device virtio 2195device virtio_blk 2196device vtnet 2197device virtio_pci 2198 2199# 2200# Gpio support for ACPI based SoC platforms 2201# 2202device gpio_acpi 2203device gpio_intel # GPIO support for Intel SoCs 2204 2205# 2206# Embedded system options: 2207# 2208# An embedded system might want to run something other than init. 2209options INIT_PATH="/sbin/init:/sbin/oinit" 2210 2211# Debug options 2212options BUS_DEBUG # enable newbus debugging 2213options RSS_DEBUG # enable RSS (Receive Side Scaling) debugging 2214 2215# Record the program counter of the code interrupted by the statistics 2216# clock interrupt. Use pctrack(8) to dump this information. 2217options DEBUG_PCTRACK 2218 2219# More undocumented options for linting. 2220# Note that documenting these are not considered an affront. 2221 2222#options ACPI_NO_SEMAPHORES 2223options AHC_DUMP_EEPROM 2224#options BKTR_ALLOC_PAGES=xxx 2225options CAM_DEBUG_DELAY 2226options CLUSTERDEBUG 2227options DEBUG 2228options DEBUG_CRIT_SECTIONS 2229#options DISABLE_PSE 2230options BCE_RSS_DEBUG 2231options BCE_TSS_DEBUG 2232options BNX_RSS_DEBUG 2233options BNX_TSO_DEBUG 2234options BNX_TSS_DEBUG 2235options EMX_RSS_DEBUG 2236options EMX_TSO_DEBUG 2237options EMX_TSS_DEBUG 2238options JME_RSS_DEBUG 2239options IGB_RSS_DEBUG 2240options IGB_TSS_DEBUG 2241options IGB_MSIX_DEBUG 2242options IX_RSS_DEBUG 2243options ENABLE_ALART 2244options FB_DEBUG=2 2245options FB_INSTALL_CDEV 2246#options IEEE80211_DEBUG_REFCNT 2247options IEEE80211_SUPPORT_SUPERG 2248options KBDIO_DEBUG=10 2249options KBD_MAXRETRY=4 2250options KBD_MAXWAIT=6 2251options KBD_RESETDELAY=201 2252#options KERN_TIMESTAMP 2253options KEY 2254#options LINPROCFS 2255options LOCKF_DEBUG 2256#options MAXFILES=xxx 2257options MBUF_DEBUG 2258options NO_LWKT_SPLIT_USERPRI 2259options PANIC_DEBUG 2260options PMAP_DEBUG 2261options PSM_DEBUG=4 2262options SCSI_NCR_DEBUG 2263options SCSI_NCR_MAX_SYNC=10000 2264options SCSI_NCR_MAX_WIDE=1 2265options SCSI_NCR_MYADDR=7 2266options SHOW_BUSYBUFS # List buffers that prevent root unmount 2267options SI_DEBUG 2268options SLAB_DEBUG 2269options SOCKBUF_DEBUG 2270options TDMA_BINTVAL_DEFAULT=5 2271options TDMA_SLOTCNT_DEFAULT=2 2272options TDMA_SLOTLEN_DEFAULT=10*1000 2273options TDMA_TXRATE_11A_DEFAULT=2*24 2274options TDMA_TXRATE_11B_DEFAULT=2*11 2275options TDMA_TXRATE_11G_DEFAULT=2*24 2276options TDMA_TXRATE_11NA_DEFAULT="(4|IEEE80211_RATE_MCS)" 2277options TDMA_TXRATE_11NG_DEFAULT="(4|IEEE80211_RATE_MCS)" 2278options TDMA_TXRATE_HALF_DEFAULT=2*12 2279options TDMA_TXRATE_QUARTER_DEFAULT=2*6 2280options TDMA_TXRATE_TURBO_DEFAULT=2*24 2281#options TIMER_FREQ="((14318182+6)/12)" 2282options VFS_BIO_DEBUG 2283options VM_PAGE_DEBUG 2284options XBONEHACK 2285 2286options KTR 2287options KTR_ALL 2288options KTR_ENTRIES=1024 2289options KTR_VERBOSE=1 2290#options KTR_ACPI_EC 2291#options KTR_CTXSW 2292#options KTR_DMCRYPT 2293#options KTR_ETHERNET 2294#options KTR_HAMMER 2295#options KTR_IFQ 2296#options KTR_IF_BGE 2297#options KTR_IF_EM 2298#options KTR_IF_EMX 2299#options KTR_IF_POLL 2300#options KTR_IF_START 2301#options KTR_IPIQ 2302#options KTR_KERNENTRY 2303#options KTR_MEMORY 2304#options KTR_SERIALIZER 2305#options KTR_SOWAKEUP 2306#options KTR_SPIN_CONTENTION 2307#options KTR_TESTLOG 2308#options KTR_TOKENS 2309#options KTR_TSLEEP 2310#options KTR_UDP 2311#options KTR_USCHED_BSD4 2312#options KTR_USCHED_DFLY 2313 2314# ALTQ 2315options ALTQ #alternate queueing 2316options ALTQ_CBQ #class based queueing 2317options ALTQ_RED #random early detection 2318options ALTQ_RIO #triple red for diffserv (needs RED) 2319options ALTQ_HFSC #hierarchical fair service curve 2320options ALTQ_PRIQ #priority queue 2321options ALTQ_FAIRQ #fair queue 2322#options ALTQ_NOPCC #don't use processor cycle counter 2323options ALTQ_DEBUG #for debugging 2324# you might want to set kernel timer to 1kHz if you use CBQ, 2325# especially with 100baseT 2326#options HZ=1000 2327 2328# WATCHDOG 2329options WDOG_DISABLE_ON_PANIC # Automatically disable watchdogs on panic 2330 2331# LED 2332options ERROR_LED_ON_PANIC # If an error led is present, light it up on panic 2333