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