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