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