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