NOTES revision 55376
1168404Spjd# 2168404Spjd# LINT -- config file for checking all the sources, tries to pull in 3168404Spjd# as much of the source tree as it can. 4168404Spjd# 5168404Spjd# $FreeBSD: head/sys/conf/NOTES 55376 2000-01-04 00:04:27Z mjacob $ 6168404Spjd# 7168404Spjd# NB: You probably don't want to try running a kernel built from this 8168404Spjd# file. Instead, you should start from GENERIC, and add options from 9168404Spjd# this file as required. 10168404Spjd# 11168404Spjd 12168404Spjd# 13168404Spjd# This directive is mandatory; it defines the architecture to be 14168404Spjd# configured for; in this case, the 386 family based IBM-PC and 15168404Spjd# compatibles. 16168404Spjd# 17168404Spjdmachine i386 18168404Spjd 19168404Spjd# 20168404Spjd# This is the ``identification'' of the kernel. Usually this should 21168404Spjd# be the same as the name of your kernel. 22219089Spjd# 23265740Sdelphijident LINT 24260742Savg 25168404Spjd# 26168404Spjd# The `maxusers' parameter controls the static sizing of a number of 27168404Spjd# internal system tables by a complicated formula defined in param.c. 28168404Spjd# 29168404Spjdmaxusers 10 30168404Spjd 31168404Spjd# 32168404Spjd# The `makeoptions' parameter allows variables to be passed to the 33168404Spjd# generated Makefile in the build area. 34168404Spjd# 35168404Spjd# CONF_CFLAGS gives some extra compiler flags that are added to ${CFLAGS} 36219089Spjd# after most other flags. Here we use it to inhibit use of non-optimal 37219089Spjd# gcc builtin functions (e.g., memcmp). 38219089Spjd# 39240868Spjd# DEBUG happens to be magic. 40268649Sdelphij# The following is equivalent to 'config -g KERNELNAME' and creates 41263397Sdelphij# 'kernel.debug' compiled with -g debugging as well as a normal 42168404Spjd# 'kernel'. Use 'make install.debug' to install the debug kernel 43208148Spjd# but that isn't normally necessary as the debug symbols are not loaded 44208148Spjd# by the kernel and are not useful there anyway. 45260338Smav# 46260338Smav# KERNEL can be overridden so that you can change the default name of your 47260338Smav# kernel. 48209261Spjd# 49260338Smavmakeoptions CONF_CFLAGS=-fno-builtin #Don't allow use of memcmp, etc. 50208148Spjd#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 51208148Spjd#makeoptions KERNEL=foo #Build kernel "foo" and install "/foo" 52208148Spjd 53230647Skmacy# 54230647Skmacy# Certain applications can grow to be larger than the 128M limit 55230647Skmacy# that FreeBSD initially imposes. Below are some options to 56230647Skmacy# allow that limit to grow to 256MB, and can be increased further 57208148Spjd# with changing the parameters. MAXDSIZ is the maximum that the 58240868Spjd# limit can be set to, and the DFLDSIZ is the default value for 59244155Ssmh# the limit. You might want to set the default lower than the 60244155Ssmh# max, and explicitly set the maximum with a shell command for processes 61244155Ssmh# that regularly exceed the limit like INND. 62244155Ssmh# 63244155Ssmhoptions MAXDSIZ="(256*1024*1024)" 64244155Ssmhoptions DFLDSIZ="(256*1024*1024)" 65244155Ssmh 66244155Ssmh# 67240868Spjd# BLKDEV_IOSIZE sets the default block size used in user block 68240868Spjd# device I/O. Note that this value will be overriden by the label 69240868Spjd# when specifying a block device from a label with a non-0 70240868Spjd# partition blocksize. The default is PAGE_SIZE. 71240868Spjd# 72168404Spjdoptions BLKDEV_IOSIZE=8192 73168404Spjd 74168404Spjd# Options for the VM subsystem 75168404Spjd#options PQ_NOOPT # No coloring 76260763Savgoptions PQ_LARGECACHE # color for 512k/16k cache 77211931Smm#options PQ_HUGECACHE # color for 1024k/16k cache 78211931Smm#options PQ_MEDIUMCACHE # color for 64k/16k cache 79211931Smm#options PQ_NORMALCACHE # color for 256k/16k cache 80168404Spjd 81168404Spjd# This allows you to actually store this configuration file into 82168404Spjd# the kernel binary itself, where it may be later read by saying: 83168404Spjd# strings -aout -n 3 /kernel | grep ^___ | sed -e 's/^___//' > MYKERNEL 84168404Spjd# 85168404Spjdoptions INCLUDE_CONFIG_FILE # Include this file in kernel 86168926Spjd 87209962Smm 88168404Spjd##################################################################### 89168404Spjd# SMP OPTIONS: 90168404Spjd# 91168404Spjd# SMP enables building of a Symmetric MultiProcessor Kernel. 92168404Spjd# APIC_IO enables the use of the IO APIC for Symmetric I/O. 93168404Spjd# NCPU sets the number of CPUs, defaults to 2. 94168404Spjd# NBUS sets the number of busses, defaults to 4. 95185029Spjd# NAPIC sets the number of IO APICs on the motherboard, defaults to 1. 96243503Smm# NINTR sets the total number of INTs provided by the motherboard. 97243503Smm# 98243503Smm# Notes: 99243503Smm# 100243503Smm# An SMP kernel will ONLY run on an Intel MP spec. qualified motherboard. 101243503Smm# 102243503Smm# Be sure to disable 'cpu I386_CPU' && 'cpu I486_CPU' for SMP kernels. 103243503Smm# 104243503Smm# Check the 'Rogue SMP hardware' section to see if additional options 105243503Smm# are required by your hardware. 106243503Smm# 107243503Smm 108243503Smm# Mandatory: 109243503Smmoptions SMP # Symmetric MultiProcessor Kernel 110243503Smmoptions APIC_IO # Symmetric (APIC) I/O 111243503Smm 112243503Smm# Optional, these are the defaults plus 1: 113243503Smmoptions NCPU=5 # number of CPUs 114243503Smmoptions NBUS=5 # number of busses 115243503Smmoptions NAPIC=2 # number of IO APICs 116243503Smmoptions NINTR=25 # number of INTs 117243503Smm 118243503Smm# 119243503Smm# Rogue SMP hardware: 120243503Smm# 121185029Spjd 122185029Spjd# Bridged PCI cards: 123185029Spjd# 124219089Spjd# The MP tables of most of the current generation MP motherboards 125185029Spjd# do NOT properly support bridged PCI cards. To use one of these 126219089Spjd# cards you should refer to ??? 127219089Spjd 128219089Spjd 129219089Spjd##################################################################### 130219089Spjd# CPU OPTIONS 131219089Spjd 132219089Spjd# 133219089Spjd# You must specify at least one CPU (the one you intend to run on); 134168404Spjd# deleting the specification for CPUs you don't need to use may make 135168404Spjd# parts of the system run faster. This is especially true removing 136168404Spjd# I386_CPU. 137168404Spjd# 138209962Smmcpu I386_CPU 139209962Smmcpu I486_CPU 140209962Smmcpu I586_CPU # aka Pentium(tm) 141209962Smmcpu I686_CPU # aka Pentium Pro(tm) 142250149Sdavide 143250149Sdavide# 144168926Spjd# Options for CPU features. 145168404Spjd# 146168404Spjd# CPU_BLUELIGHTNING_FPU_OP_CACHE enables FPU operand cache on IBM 147168404Spjd# BlueLightning CPU. It works only with Cyrix FPU, and this option 148168404Spjd# should not be used with Intel FPU. 149168404Spjd# 150168404Spjd# CPU_BLUELIGHTNING_3X enables triple-clock mode on IBM Blue Lightning 151168404Spjd# CPU if CPU supports it. The default is double-clock mode on 152168404Spjd# BlueLightning CPU box. 153168404Spjd# 154168404Spjd# CPU_BTB_EN enables branch target buffer on Cyrix 5x86 (NOTE 1). 155219089Spjd# 156168404Spjd# CPU_DIRECT_MAPPED_CACHE sets L1 cache of Cyrix 486DLC CPU in direct 157168404Spjd# mapped mode. Default is 2-way set associative mode. 158168404Spjd# 159168404Spjd# CPU_CYRIX_NO_LOCK enables weak locking for the entire address space 160240133Smm# of Cyrix 6x86 and 6x86MX CPUs by setting the NO_LOCK bit of CCR1. 161240133Smm# Otherwise, the NO_LOCK bit of CCR1 is cleared. (NOTE 3) 162240133Smm# 163240133Smm# CPU_DISABLE_5X86_LSSER disables load store serialize (i.e. enables 164240133Smm# reorder). This option should not be used if you use memory mapped 165240133Smm# I/O device(s). 166240133Smm# 167240133Smm# CPU_FASTER_5X86_FPU enables faster FPU exception handler. 168240133Smm# 169240133Smm# CPU_I486_ON_386 enables CPU cache on i486 based CPU upgrade products 170240133Smm# for i386 machines. 171240133Smm# 172168404Spjd# CPU_IORT defines I/O clock delay time (NOTE 1). Default values of 173168404Spjd# I/O clock delay time on Cyrix 5x86 and 6x86 are 0 and 7,respectively 174240133Smm# (no clock delay). 175168404Spjd# 176240133Smm# CPU_LOOP_EN prevents flushing the prefetch buffer if the destination 177168404Spjd# of a jump is already present in the prefetch buffer on Cyrix 5x86(NOTE 178168404Spjd# 1). 179168404Spjd# 180168404Spjd# CPU_RSTK_EN enables return stack on Cyrix 5x86 (NOTE 1). 181168404Spjd# 182168404Spjd# CPU_SUSP_HLT enables suspend on HALT. If this option is set, CPU 183168404Spjd# enters suspend mode following execution of HALT instruction. 184219089Spjd# 185168404Spjd# CPU_WT_ALLOC enables write allocation on Cyrix 6x86/6x86MX and AMD 186219089Spjd# K5/K6/K6-2 cpus. 187219089Spjd# 188219089Spjd# CYRIX_CACHE_WORKS enables CPU cache on Cyrix 486 CPUs with cache 189219089Spjd# flush at hold state. 190219089Spjd# 191168404Spjd# CYRIX_CACHE_REALLY_WORKS enables (1) CPU cache on Cyrix 486 CPUs 192168404Spjd# without cache flush at hold state, and (2) write-back CPU cache on 193219089Spjd# Cyrix 6x86 whose revision < 2.7 (NOTE 2). 194230689Skmacy# 195168404Spjd# NO_F00F_HACK disables the hack that prevents Pentiums (and ONLY 196168404Spjd# Pentiums) from locking up when a LOCK CMPXCHG8B instruction is 197168404Spjd# executed. This should be included for ALL kernels that won't run 198168404Spjd# on a Pentium. 199168404Spjd# 200168404Spjd# NO_MEMORY_HOLE is an optimisation for systems with AMD K6 processors 201168404Spjd# which indicates that the 15-16MB range is *definitely* not being 202168404Spjd# occupied by an ISA memory hole. 203168404Spjd# 204168404Spjd# NOTE 1: The options, CPU_BTB_EN, CPU_LOOP_EN, CPU_IORT, 205168404Spjd# CPU_LOOP_EN and CPU_RSTK_EN should not be used because of CPU bugs. 206168404Spjd# These options may crash your system. 207250149Sdavide# 208208458Spjd# NOTE 2: If CYRIX_CACHE_REALLY_WORKS is not set, CPU cache is enabled 209168404Spjd# in write-through mode when revision < 2.7. If revision of Cyrix 210240868Spjd# 6x86 >= 2.7, CPU cache is always enabled in write-back mode. 211240868Spjd# 212240868Spjd# NOTE 3: This option may cause failures for software that requires 213240868Spjd# locked cycles in order to operate correctly. 214240868Spjd# 215240868Spjdoptions CPU_BLUELIGHTNING_FPU_OP_CACHE 216240868Spjdoptions CPU_BLUELIGHTNING_3X 217240868Spjdoptions CPU_BTB_EN 218240868Spjdoptions CPU_DIRECT_MAPPED_CACHE 219240868Spjdoptions CPU_DISABLE_5X86_LSSER 220168404Spjdoptions CPU_FASTER_5X86_FPU 221168404Spjdoptions CPU_I486_ON_386 222168404Spjdoptions CPU_IORT 223168404Spjdoptions CPU_LOOP_EN 224168404Spjdoptions CPU_RSTK_EN 225168404Spjdoptions CPU_SUSP_HLT 226168404Spjdoptions CPU_WT_ALLOC 227168404Spjdoptions CYRIX_CACHE_WORKS 228168404Spjdoptions CYRIX_CACHE_REALLY_WORKS 229168404Spjd#options NO_F00F_HACK 230168404Spjd 231168404Spjd# 232168404Spjd# A math emulator is mandatory if you wish to run on hardware which 233168404Spjd# does not have a floating-point processor. Pick either the original, 234168404Spjd# bogus (but freely-distributable) math emulator, or a much more 235168404Spjd# fully-featured but GPL-licensed emulator taken from Linux. 236168404Spjd# 237168404Spjdoptions MATH_EMULATE #Support for x87 emulation 238168404Spjd# Don't enable both of these in a real config. 239168404Spjdoptions GPL_MATH_EMULATE #Support for x87 emulation via 240168404Spjd #new math emulator 241168404Spjd 242168404Spjd 243209962Smm##################################################################### 244168926Spjd# COMPATIBILITY OPTIONS 245168926Spjd 246168404Spjd# 247240868Spjd# Implement system calls compatible with 4.3BSD and older versions of 248240868Spjd# FreeBSD. You probably do NOT want to remove this as much current code 249240868Spjd# still relies on the 4.3 emulation. 250240868Spjd# 251240868Spjdoptions COMPAT_43 252168404Spjd 253168404Spjd# 254168404Spjd# Allow user-mode programs to manipulate their local descriptor tables. 255168404Spjd# This option is required for the WINE Windows(tm) emulator, and is 256168404Spjd# not used by anything else (that we know of). 257168404Spjd# 258168404Spjdoptions USER_LDT #allow user-level control of i386 ldt 259168404Spjd 260168404Spjd# 261168404Spjd# These three options provide support for System V Interface 262168404Spjd# Definition-style interprocess communication, in the form of shared 263168404Spjd# memory, semaphores, and message queues, respectively. 264168404Spjd# 265168404Spjdoptions SYSVSHM 266168404Spjdoptions SYSVSEM 267168404Spjdoptions SYSVMSG 268168404Spjd 269168404Spjd# 270230647Skmacy# This option includes a MD5 routine in the kernel, this is used for 271168404Spjd# various authentication and privacy uses. 272268649Sdelphij# 273168404Spjdoptions MD5 274208148Spjd 275208148Spjd 276208148Spjd##################################################################### 277230647Skmacy# DEBUGGING OPTIONS 278168404Spjd 279168404Spjd# 280168404Spjd# Enable the kernel debugger. 281168404Spjd# 282168404Spjdoptions DDB 283168404Spjd 284168404Spjd# 285168404Spjd# Don't drop into DDB for a panic. Intended for unattended operation 286168404Spjd# where you may want to drop to DDB from the console, but still want 287168404Spjd# the machine to recover from a panic 288168404Spjd# 289168404Spjdoptions DDB_UNATTENDED 290168404Spjd 291168404Spjd# 292168404Spjd# If using GDB remote mode to debug the kernel, there's a non-standard 293208148Spjd# extension to the remote protocol that can be used to use the serial 294208148Spjd# port as both the debugging port and the system console. It's non- 295208148Spjd# standard and you're on your own if you enable it. See also the 296230623Skmacy# "remotechat" variables in the FreeBSD specific version of gdb. 297168404Spjd# 298168404Spjdoptions GDB_REMOTE_CHAT 299168404Spjd 300168404Spjd# 301168404Spjd# KTRACE enables the system-call tracing facility ktrace(2). 302168404Spjd# 303168404Spjdoptions KTRACE #kernel tracing 304168404Spjd 305168404Spjd# 306208148Spjd# The INVARIANTS option is used in a number of source files to enable 307208148Spjd# extra sanity checking of internal structures. This support is not 308208148Spjd# enabled by default because of the extra time it would take to check 309208148Spjd# for these conditions, which can only occur as a result of 310168404Spjd# programming errors. 311168404Spjd# 312168404Spjdoptions INVARIANTS 313168404Spjd 314168404Spjd# 315168404Spjd# The INVARIANT_SUPPORT option makes us compile in support for 316168404Spjd# verifying some of the internal structures. It is a prerequisite for 317168404Spjd# 'INVARIANTS', as enabling 'INVARIANTS' will make these functions be 318168404Spjd# called. The intent is that you can set 'INVARIANTS' for single 319208148Spjd# source files (by changing the source file or specifying it on the 320208148Spjd# command line) if you have 'INVARIANT_SUPPORT' enabled. 321208148Spjd# 322208148Spjdoptions INVARIANT_SUPPORT 323168404Spjd 324168404Spjd# 325168404Spjd# The DIAGNOSTIC option is used to enable extra debugging information 326168404Spjd# from some parts of the kernel. As this makes everything more noisy, 327168404Spjd# it is disabled by default. 328168404Spjd# 329168404Spjdoptions DIAGNOSTIC 330168404Spjd 331185029Spjd# 332185029Spjd# PERFMON causes the driver for Pentium/Pentium Pro performance counters 333168404Spjd# to be compiled. See perfmon(4) for more information. 334168404Spjd# 335168404Spjdoptions PERFMON 336185029Spjd 337185029Spjd 338168404Spjd# 339185029Spjd# This option let some drivers co-exist that can't co-exist in a running 340168404Spjd# system. This is used to be able to compile all kernel code in one go for 341168404Spjd# quality assurance purposes (like this file, which the option takes it name 342168404Spjd# from.) 343168404Spjd# 344168404Spjdoptions COMPILING_LINT 345168404Spjd 346168404Spjd 347168404Spjd# XXX - this doesn't belong here. 348168404Spjd# Allow ordinary users to take the console - this is useful for X. 349185029Spjdoptions UCONSOLE 350168404Spjd 351185029Spjd# XXX - this doesn't belong here either 352168404Spjdoptions USERCONFIG #boot -c editor 353185029Spjdoptions INTRO_USERCONFIG #imply -c and show intro screen 354185029Spjdoptions VISUAL_USERCONFIG #visual boot -c editor 355185029Spjd 356185029Spjd# XXX - neither does this 357168404Spjdoptions ROOTDEVNAME=\"da0s2e\" 358219089Spjd 359219089Spjd##################################################################### 360168404Spjd# NETWORKING OPTIONS 361185029Spjd 362185029Spjd# 363185029Spjd# Protocol families: 364185029Spjd# Only the INET (Internet) family is officially supported in FreeBSD. 365185029Spjd# Source code for the NS (Xerox Network Service) is provided for amusement 366168404Spjd# value. 367168404Spjd# 368168404Spjdoptions INET #Internet communications protocols 369185029Spjdoptions INET6 #IPv6 communications protocols 370185029Spjdoptions IPSEC #IP security 371185029Spjdoptions IPSEC_ESP #IP security (crypto; define w/ IPSEC) 372185029Spjdoptions IPSEC_IPV6FWD #IP security tunnel for IPv6 373185029Spjdoptions IPSEC_DEBUG #debug for IP security 374168404Spjd 375185029Spjdoptions IPX #IPX/SPX communications protocols 376168404Spjdoptions IPXIP #IPX in IP encapsulation (not available) 377185029Spjdoptions IPTUNNEL #IP in IPX encapsulation (not available) 378168404Spjd 379185029Spjdoptions NCP #NetWare Core protocol 380185029Spjd 381185029Spjdoptions NETATALK #Appletalk communications protocols 382168404Spjd 383185029Spjd# These are currently broken but are shipped due to interest. 384185029Spjd#options NS #Xerox NS protocols 385185029Spjd 386185029Spjd# These are currently broken and are no longer shipped due to lack 387185029Spjd# of interest. 388219089Spjd#options CCITT #X.25 network layer 389249195Smm#options ISO 390185029Spjd#options TPIP #ISO TP class 4 over IP 391185029Spjd#options TPCONS #ISO TP class 0 over X.25 392185029Spjd#options LLC #X.25 link layer for Ethernets 393185029Spjd#options HDLC #X.25 link layer for serial lines 394185029Spjd#options EON #ISO CLNP over IP 395185029Spjd#options NSIP #XNS over IP 396185029Spjd 397209962Smm# netgraph(4). Enable the base netgraph code with the NETGRAPH option. 398209962Smm# Individual node types can be enabled with the corresponding option 399209962Smm# listed below; however, this is not strictly necessary as netgraph 400209962Smm# will automatically load the corresponding KLD module if the node type 401209962Smm# is not already compiled into the kernel. Each type below has a 402209962Smm# corresponding man page, e.g., ng_async(8). 403209962Smmoptions NETGRAPH #netgraph(4) system 404209962Smmoptions NETGRAPH_ASYNC 405209962Smmoptions NETGRAPH_BPF 406209962Smmoptions NETGRAPH_CISCO 407209962Smmoptions NETGRAPH_ECHO 408209962Smmoptions NETGRAPH_FRAME_RELAY 409209962Smmoptions NETGRAPH_HOLE 410185029Spjdoptions NETGRAPH_IFACE 411209962Smmoptions NETGRAPH_KSOCKET 412209962Smmoptions NETGRAPH_LMI 413209962Smmoptions NETGRAPH_PPP 414209962Smmoptions NETGRAPH_PPPOE 415209962Smmoptions NETGRAPH_PPTPGRE 416209962Smmoptions NETGRAPH_RFC1490 417209962Smmoptions NETGRAPH_SOCKET 418209962Smmoptions NETGRAPH_TEE 419209962Smmoptions NETGRAPH_TTY 420209962Smmoptions NETGRAPH_UI 421209962Smmoptions NETGRAPH_VJC 422209962Smm 423185029Spjddevice mn0 # Munich32x/Falc54 Nx64kbit/sec cards. 424209962Smm 425209962Smm# 426209962Smm# Network interfaces: 427209962Smm# The `loop' pseudo-device is MANDATORY when networking is enabled. 428209962Smm# The `ether' pseudo-device provides generic code to handle 429209962Smm# Ethernets; it is MANDATORY when a Ethernet device driver is 430209962Smm# configured or token-ring is enabled. 431209962Smm# The 'fddi' pseudo-device provides generic code to support FDDI. 432209962Smm# The `sppp' pseudo-device serves a similar role for certain types 433209962Smm# of synchronous PPP links (like `cx', `ar'). 434209962Smm# The `sl' pseudo-device implements the Serial Line IP (SLIP) service. 435209962Smm# The `ppp' pseudo-device implements the Point-to-Point Protocol. 436209962Smm# The `bpf' pseudo-device enables the Berkeley Packet Filter. Be 437209962Smm# aware of the legal and administrative consequences of enabling this 438209962Smm# option. The number of devices determines the maximum number of 439209962Smm# simultaneous BPF clients programs runnable. 440209962Smm# The `disc' pseudo-device implements a minimal network interface, 441209962Smm# which throws away all packets sent and never receives any. It is 442209962Smm# included for testing purposes. 443209962Smm# The `tun' pseudo-device implements (user-)ppp and nos-tun 444209962Smm# The `streams' pseudo-device implements SysVR4 STREAMS emulation. 445209962Smm# The `gif' pseudo-device implements IPv6 over IP4 tunneling, 446209962Smm# IPv4 over IPv6 tunneling, IPv4 over IPv4 tunneling and 447209962Smm# IPv6 over IPv6 tunneling. 448209962Smm# The `faith' pseudo-device captures packets sent to it and diverts them 449209962Smm# to the IPv4/IPv6 translation daemon. 450209962Smm# 451209962Smm# The PPP_BSDCOMP option enables support for compress(1) style entire 452209962Smm# packet compression, the PPP_DEFLATE is for zlib/gzip style compression. 453209962Smm# PPP_FILTER enables code for filtering the ppp data stream and selecting 454209962Smm# events for resetting the demand dial activity timer - requires bpf. 455209962Smm# See pppd(8) for more details. 456209962Smm# 457209962Smmpseudo-device ether #Generic Ethernet 458209962Smmpseudo-device token #Generic TokenRing 459209962Smmpseudo-device fddi #Generic FDDI 460209962Smmpseudo-device sppp #Generic Synchronous PPP 461209962Smmpseudo-device loop #Network loopback device 462209962Smmpseudo-device bpf #Berkeley packet filter 463185029Spjdpseudo-device disc #Discard device 464209962Smmpseudo-device tun #Tunnel driver (ppp(8), nos-tun(8)) 465209962Smmpseudo-device sl 2 #Serial Line IP 466209962Smmpseudo-device ppp 2 #Point-to-point protocol 467209962Smmpseudo-device streams 468209962Smmoptions PPP_BSDCOMP #PPP BSD-compress support 469209962Smmoptions PPP_DEFLATE #PPP zlib/deflate/gzip support 470209962Smmoptions PPP_FILTER #enable bpf filtering (needs bpf) 471209962Smm 472209962Smm# for IPv6 473219089Spjdpseudo-device gif 4 #IPv6 and IPv4 tunneling 474219089Spjdpseudo-device faith 1 #for IPv6 and IPv4 translation 475219089Spjd 476185029Spjd# 477209962Smm# Internet family options: 478185029Spjd# 479185029Spjd# TCP_COMPAT_42 causes the TCP code to emulate certain bugs present in 480185029Spjd# 4.2BSD. This option should not be used unless you have a 4.2BSD 481209962Smm# machine and TCP connections fail. 482185029Spjd# 483209962Smm# MROUTING enables the kernel multicast packet forwarder, which works 484209962Smm# with mrouted(8). 485185029Spjd# 486209962Smm# IPFIREWALL enables support for IP firewall construction, in 487209962Smm# conjunction with the `ipfw' program. IPFIREWALL_VERBOSE sends 488185029Spjd# logged packets to the system logger. IPFIREWALL_VERBOSE_LIMIT 489209962Smm# limits the number of times a matching entry can be logged. 490209962Smm# 491209962Smm# WARNING: IPFIREWALL defaults to a policy of "deny ip from any to any" 492219089Spjd# and if you do not add other rules during startup to allow access, 493219089Spjd# YOU WILL LOCK YOURSELF OUT. It is suggested that you set firewall_type=open 494219089Spjd# in /etc/rc.conf when first enabling this feature, then refining the 495185029Spjd# firewall rules in /etc/rc.firewall after you've tested that the new kernel 496209962Smm# feature works properly. 497209962Smm# 498209962Smm# IPFIREWALL_DEFAULT_TO_ACCEPT causes the default rule (at boot) to 499185029Spjd# allow everything. Use with care, if a cracker can crash your 500185029Spjd# firewall machine, they can get to your protected machines. However, 501185029Spjd# if you are using it as an as-needed filter for specific problems as 502185029Spjd# they arise, then this may be for you. Changing the default to 'allow' 503185029Spjd# means that you won't get stuck if the kernel and /sbin/ipfw binary get 504185029Spjd# out of sync. 505185029Spjd# 506185029Spjd# IPDIVERT enables the divert IP sockets, used by ``ipfw divert'' 507185029Spjd# 508185029Spjd# IPSTEALTH enables code to support stealth forwarding (i.e., forwarding 509185029Spjd# packets without touching the ttl). This can be useful to hide firewalls 510219089Spjd# from traceroute and similar tools. 511185029Spjd# 512185029Spjd# TCPDEBUG is undocumented. 513168404Spjd# 514185029Spjdoptions TCP_COMPAT_42 #emulate 4.2BSD TCP bugs 515185029Spjdoptions MROUTING # Multicast routing 516185029Spjdoptions IPFIREWALL #firewall 517168404Spjdoptions IPFIREWALL_VERBOSE #print information about 518168404Spjd # dropped packets 519185029Spjdoptions IPFIREWALL_FORWARD #enable transparent proxy support 520185029Spjdoptions IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity 521185029Spjdoptions IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default 522185029Spjdoptions IPDIVERT #divert sockets 523185029Spjdoptions IPFILTER #ipfilter support 524185029Spjdoptions IPFILTER_LOG #ipfilter logging 525185029Spjdoptions IPSTEALTH #support for stealth forwarding 526185029Spjdoptions TCPDEBUG 527185029Spjd 528185029Spjd# The following options add sysctl variables for controlling how certain 529185029Spjd# TCP packets are handled. 530260763Savg# 531260763Savg# TCP_DROP_SYNFIN adds support for ignoring TCP packets with SYN+FIN. This 532260763Savg# prevents nmap et al. from identifying the TCP/IP stack, but breaks support 533260763Savg# for RFC1644 extensions and is not recommended for web servers. 534185029Spjd# 535185029Spjd# TCP_RESTRICT_RST adds support for blocking the emission of TCP RST packets. 536185029Spjd# This is useful on systems which are exposed to SYN floods (e.g. IRC servers) 537185029Spjd# or any system which one does not want to be easily portscannable. 538185029Spjd# 539185029Spjdoptions TCP_DROP_SYNFIN #drop TCP packets with SYN+FIN 540185029Spjdoptions TCP_RESTRICT_RST #restrict emission of TCP RST 541185029Spjd 542185029Spjd# ICMP_BANDLIM enables icmp error response bandwidth limiting. You 543185029Spjd# typically want this option as it will help protect the machine from 544185029Spjd# D.O.S. packet attacks. 545185029Spjd# 546185029Spjdoptions ICMP_BANDLIM 547185029Spjd 548185029Spjd# DUMMYNET enables the "dummynet" bandwidth limiter. You need 549168404Spjd# IPFIREWALL as well. See the dummynet(4) manpage for more info. 550168404Spjd# BRIDGE enables bridging between ethernet cards -- see bridge(4). 551185029Spjd# You can use IPFIREWALL and dummynet together with bridging. 552168404Spjdoptions DUMMYNET 553168404Spjdoptions BRIDGE 554168404Spjd 555219089Spjd# 556168404Spjd# ATM (HARP version) options 557260763Savg# 558268657Sdelphij# ATM_CORE includes the base ATM functionality code. This must be included 559219089Spjd# for ATM support. 560168404Spjd# 561168404Spjd# ATM_IP includes support for running IP over ATM. 562168404Spjd# 563240868Spjd# At least one (and usually only one) of the following signalling managers 564168404Spjd# must be included (note that all signalling managers include PVC support): 565185029Spjd# ATM_SIGPVC includes support for the PVC-only signalling manager `sigpvc'. 566168404Spjd# ATM_SPANS includes support for the `spans' signalling manager, which runs 567185029Spjd# the FORE Systems's proprietary SPANS signalling protocol. 568185029Spjd# ATM_UNI includes support for the `uni30' and `uni31' signalling managers, 569185029Spjd# which run the ATM Forum UNI 3.x signalling protocols. 570185029Spjd# 571168926Spjd# The `hea' driver provides support for the Efficient Networks, Inc. 572168926Spjd# ENI-155p ATM PCI Adapter. 573185029Spjd# 574185029Spjd# The `hfa' driver provides support for the FORE Systems, Inc. 575185029Spjd# PCA-200E ATM PCI Adapter. 576185029Spjd# 577209962Smmoptions ATM_CORE #core ATM protocol family 578209962Smmoptions ATM_IP #IP over ATM support 579209962Smmoptions ATM_SIGPVC #SIGPVC signalling manager 580209962Smmoptions ATM_SPANS #SPANS signalling manager 581209962Smmoptions ATM_UNI #UNI signalling manager 582185029Spjddevice hea0 #Efficient ENI-155p ATM PCI 583185029Spjddevice hfa0 #FORE PCA-200E ATM PCI 584185029Spjd 585185029Spjd 586219089Spjd##################################################################### 587219089Spjd# FILESYSTEM OPTIONS 588185029Spjd 589185029Spjd# 590185029Spjd# Only the root, /usr, and /tmp filesystems need be statically 591168404Spjd# compiled; everything else will be automatically loaded at mount 592219089Spjd# time. (Exception: the UFS family---FFS, and MFS --- cannot 593168404Spjd# currently be demand-loaded.) Some people still prefer to statically 594168404Spjd# compile other filesystems as well. 595219089Spjd# 596219089Spjd# NB: The NULL, PORTAL, UMAP and UNION filesystems are known to be 597185029Spjd# buggy, and WILL panic your system if you attempt to do anything with 598209962Smm# them. They are included here as an incentive for some enterprising 599185029Spjd# soul to sit down and fix them. 600209962Smm# 601209962Smm 602168404Spjd# One of these is mandatory: 603185029Spjdoptions FFS #Fast filesystem 604185029Spjdoptions MFS #Memory File System 605185029Spjdoptions NFS #Network File System 606168404Spjd 607168404Spjd# The rest are optional: 608168404Spjd#options NFS_NOSERVER #Disable the NFS-server code. 609168404Spjdoptions CD9660 #ISO 9660 filesystem 610185029Spjdoptions FDESC #File descriptor filesystem 611185029Spjdoptions KERNFS #Kernel filesystem 612219089Spjdoptions MSDOSFS #MS DOS File System 613219089Spjdoptions NTFS #NT File System 614185029Spjdoptions NULLFS #NULL filesystem 615185029Spjdoptions NWFS #NetWare filesystem 616185029Spjdoptions PORTAL #Portal filesystem 617168404Spjdoptions PROCFS #Process filesystem 618209962Smmoptions UMAPFS #UID map filesystem 619209962Smmoptions UNION #Union filesystem 620209962Smm# The xFS_ROOT options REQUIRE the associated ``options xFS'' 621185029Spjdoptions CD9660_ROOT #CD-ROM usable as root device 622185029Spjdoptions FFS_ROOT #FFS usable as root device 623185029Spjdoptions NFS_ROOT #NFS usable as root device 624185029Spjd# This code is still experimental (e.g. doesn't handle disk slices well). 625185029Spjd# Also, 'options MFS' is currently incompatible with DEVFS. 626168404Spjdoptions DEVFS #devices filesystem 627209962Smm 628209962Smm# Soft updates is technique for improving file system speed and 629185029Spjd# making abrupt shutdown less risky. It is not enabled by default due 630168404Spjd# to copyright restraints on the code that implement it. 631168404Spjd# 632168404Spjd# Read ../../ufs/ffs/README.softupdates to learn what you need to 633168404Spjd# do to enable this. ../../contrib/softupdates/README gives 634168404Spjd# more details on how they actually work. 635185029Spjd# 636185029Spjd#options SOFTUPDATES 637185029Spjd 638209962Smm# Make space in the kernel for a root filesystem on a md device. 639209962Smm# Define to the number of kilobytes to reserve for the filesystem. 640185029Spjdoptions MD_ROOT_SIZE=10 641185029Spjd 642185029Spjd# Make the md device a potential root device, either with preloaded 643185029Spjd# images of type mfs_root or md_root. 644185029Spjdoptions MD_ROOT 645168404Spjd 646209962Smm# Allow this many swap-devices. 647219089Spjdoptions NSWAPDEV=20 648168404Spjd 649168404Spjd# Disk quotas are supported when this option is enabled. 650168404Spjdoptions QUOTA #enable disk quotas 651168404Spjd 652209962Smm# If you are running a machine just as a fileserver for PC and MAC 653185029Spjd# users, using SAMBA or Netatalk, you may consider setting this option 654168404Spjd# and keeping all those users' directories on a filesystem that is 655168404Spjd# mounted with the suiddir option. This gives new files the same 656168404Spjd# ownership as the directory (similar to group). It's a security hole 657168404Spjd# if you let these users run programs, so confine it to file-servers 658168404Spjd# (but it'll save you lots of headaches in those cases). Root owned 659219089Spjd# directories are exempt and X bits are cleared. The suid bit must be 660168404Spjd# set on the directory as well; see chmod(1) PC owners can't see/set 661209962Smm# ownerships so they keep getting their toes trodden on. This saves 662168404Spjd# you all the support calls as the filesystem it's used on will act as 663168404Spjd# they expect: "It's my dir so it must be my file". 664168404Spjd# 665185029Spjdoptions SUIDDIR 666185029Spjd 667268657Sdelphij# NFS options: 668168404Spjdoptions NFS_MINATTRTIMO=3 # VREG attrib cache timeout in sec 669168404Spjdoptions NFS_MAXATTRTIMO=60 670168404Spjdoptions NFS_MINDIRATTRTIMO=30 # VDIR attrib cache timeout in sec 671219089Spjdoptions NFS_MAXDIRATTRTIMO=60 672185029Spjdoptions NFS_GATHERDELAY=10 # Default write gather delay (msec) 673185029Spjdoptions NFS_UIDHASHSIZ=29 # Tune the size of nfssvc_sock with this 674219089Spjdoptions NFS_WDELAYHASHSIZ=16 # and with this 675219089Spjdoptions NFS_MUIDHASHSIZ=63 # Tune the size of nfsmount with this 676168404Spjdoptions NFS_DEBUG # Enable NFS Debugging 677168404Spjd 678168404Spjd# Coda stuff: 679168404Spjdoptions CODA #CODA filesystem. 680168404Spjdpseudo-device vcoda 4 #coda minicache <-> venus comm. 681185029Spjd 682219089Spjd# 683260763Savg# Add support for the EXT2FS filesystem of Linux fame. Be a bit 684260763Savg# careful with this - the ext2fs code has a tendency to lag behind 685268657Sdelphij# changes and not be exercised very much, so mounting read/write could 686168404Spjd# be dangerous (and even mounting read only could result in panics.) 687168404Spjd# 688168404Spjdoptions EXT2FS 689185029Spjd 690185029Spjd 691185029Spjd 692185029Spjd##################################################################### 693236884Smm# POSIX P1003.1B 694185029Spjd 695219089Spjd# Real time extensions added in the 1993 Posix 696243524Smm# P1003_1B: Infrastructure 697168404Spjd# _KPOSIX_PRIORITY_SCHEDULING: Build in _POSIX_PRIORITY_SCHEDULING 698168404Spjd# _KPOSIX_VERSION: Version kernel is built for 699185029Spjd 700219089Spjdoptions P1003_1B 701219089Spjdoptions _KPOSIX_PRIORITY_SCHEDULING 702168404Spjdoptions _KPOSIX_VERSION=199309L 703168404Spjd 704260763Savg 705185029Spjd##################################################################### 706168404Spjd# SCSI DEVICES 707268649Sdelphij 708268649Sdelphij# SCSI DEVICE CONFIGURATION 709268649Sdelphij 710268649Sdelphij# The SCSI subsystem consists of the `base' SCSI code, a number of 711268649Sdelphij# high-level SCSI device `type' drivers, and the low-level host-adapter 712268649Sdelphij# device drivers. The host adapters are listed in the ISA and PCI 713268649Sdelphij# device configuration sections below. 714268649Sdelphij# 715268649Sdelphij# Beginning with FreeBSD 2.0.5 you can wire down your SCSI devices so 716268649Sdelphij# that a given bus, target, and LUN always come on line as the same 717168404Spjd# device unit. In earlier versions the unit numbers were assigned 718168404Spjd# in the order that the devices were probed on the SCSI bus. This 719168404Spjd# means that if you removed a disk drive, you may have had to rewrite 720168404Spjd# your /etc/fstab file, and also that you had to be careful when adding 721185029Spjd# a new disk as it may have been probed earlier and moved your device 722260763Savg# configuration around. 723268657Sdelphij 724168404Spjd# This old behavior is maintained as the default behavior. The unit 725168404Spjd# assignment begins with the first non-wired down unit for a device 726168404Spjd# type. For example, if you wire a disk as "da3" then the first 727168404Spjd# non-wired disk will be assigned da4. 728185029Spjd 729168404Spjd# The syntax for wiring down devices is: 730168404Spjd 731168404Spjd# controller scbus0 at ahc0 # Single bus device 732168404Spjd# controller scbus1 at ahc1 bus 0 # Single bus device 733168404Spjd# controller scbus3 at ahc2 bus 0 # Twin bus device 734219089Spjd# controller scbus2 at ahc2 bus 1 # Twin bus device 735243524Smm# device da0 at scbus0 target 0 unit 0 736219089Spjd# device da1 at scbus3 target 1 737219089Spjd# device da2 at scbus2 target 3 738219089Spjd# device sa1 at scbus1 target 6 739219089Spjd# device cd0 at scbus? 740219089Spjd 741219089Spjd# "units" (SCSI logical unit number) that are not specified are 742243524Smm# treated as if specified as LUN 0. 743243524Smm 744243524Smm# All SCSI devices allocate as many units as are required. 745243524Smm 746243524Smm# The "unknown" device (uk? in pre-2.0.5) is now part of the base SCSI 747243524Smm# configuration and doesn't have to be explicitly configured. 748243524Smm 749219089Spjdcontroller scbus0 #base SCSI code 750219089Spjddevice ch0 #SCSI media changers 751219089Spjddevice da0 #SCSI direct access devices (aka disks) 752219089Spjddevice sa0 #SCSI tapes 753219089Spjddevice cd0 #SCSI CD-ROMs 754219089Spjddevice pass0 #CAM passthrough driver 755219089Spjd 756268649Sdelphij# The previous devices (ch, da, st, cd) are recognized by config. 757268649Sdelphij# config doesn't (and shouldn't) know about these newer ones, 758268649Sdelphij# so we have to specify that they are on a SCSI bus with the "at scbus?" 759268649Sdelphij# clause. 760268649Sdelphij 761268649Sdelphijdevice pt0 at scbus? # SCSI processor type 762268649Sdelphij 763268649Sdelphij# CAM OPTIONS: 764248571Smm# debugging options: 765252840Smm# -- NOTE -- If you specify one of the bus/target/lun options, you must 766252840Smm# specify them all! 767252840Smm# CAMDEBUG: When defined enables debugging macros 768252840Smm# CAM_DEBUG_BUS: Debug the given bus. Use -1 to debug all busses. 769252840Smm# CAM_DEBUG_TARGET: Debug the given target. Use -1 to debug all targets. 770252840Smm# CAM_DEBUG_LUN: Debug the given lun. Use -1 to debug all luns. 771252840Smm# CAM_DEBUG_FLAGS: OR together CAM_DEBUG_INFO, CAM_DEBUG_TRACE, 772253992Smav# CAM_DEBUG_SUBTRACE, and CAM_DEBUG_CDB 773252840Smm# 774252840Smm# CAM_MAX_HIGHPOWER: Maximum number of concurrent high power (start unit) cmds 775252840Smm# SCSI_NO_SENSE_STRINGS: When defined disables sense descriptions 776252840Smm# SCSI_NO_OP_STRINGS: When defined disables opcode descriptions 777252840Smm# SCSI_DELAY: The number of MILLISECONDS to freeze the SIM (scsi adapter) 778252840Smm# queue after a bus reset, and the number of milliseconds to 779252840Smm# freeze the device queue after a bus device reset. 780219089Spjdoptions CAMDEBUG 781219089Spjdoptions CAM_DEBUG_BUS=-1 782168404Spjdoptions CAM_DEBUG_TARGET=-1 783219089Spjdoptions CAM_DEBUG_LUN=-1 784240868Spjdoptions CAM_DEBUG_FLAGS="CAM_DEBUG_INFO|CAM_DEBUG_TRACE|CAM_DEBUG_CDB" 785168404Spjdoptions CAM_MAX_HIGHPOWER=4 786168404Spjdoptions SCSI_NO_SENSE_STRINGS 787252840Smmoptions SCSI_NO_OP_STRINGS 788168404Spjdoptions SCSI_DELAY=8000 # Be pessimistic about Joe SCSI device 789168404Spjd 790219089Spjd# Options for the CAM CDROM driver: 791243503Smm# CHANGER_MIN_BUSY_SECONDS: Guaranteed minimum time quantum for a changer LUN 792168404Spjd# CHANGER_MAX_BUSY_SECONDS: Maximum time quantum per changer LUN, only 793268649Sdelphij# enforced if there is I/O waiting for another LUN 794268649Sdelphij# The compiled in defaults for these variables are 2 and 10 seconds, 795268649Sdelphij# respectively. 796248571Smm# 797251520Sdelphij# These can also be changed on the fly with the following sysctl variables: 798248571Smm# kern.cam.cd.changer.min_busy_seconds 799253992Smav# kern.cam.cd.changer.max_busy_seconds 800253992Smav# 801253992Smavoptions CHANGER_MIN_BUSY_SECONDS=2 802252840Smmoptions CHANGER_MAX_BUSY_SECONDS=10 803252840Smm 804252840Smm# Options for the CAM sequential access driver: 805252840Smm# SA_SPACE_TIMEOUT: Timeout for space operations, in minutes 806252840Smm# SA_REWIND_TIMEOUT: Timeout for rewind operations, in minutes 807253992Smav# SA_ERASE_TIMEOUT: Timeout for erase operations, in minutes 808252840Smm# SA_1FM_AT_EOD: Default to model which only has a default one filemark at EOT. 809252840Smmoptions SA_SPACE_TIMEOUT="(60)" 810270312Ssmhoptions SA_REWIND_TIMEOUT="(2*60)" 811270312Ssmhoptions SA_ERASE_TIMEOUT="(4*60)" 812240868Spjdoptions SA_1FM_AT_EOD 813260763Savg 814252840Smm# Optional timeout for the CAM processor target (pt) device 815168404Spjd# This is specified in seconds. The default is 60 seconds. 816168404Spjdoptions SCSI_PT_DEFAULT_TIMEOUT="60" 817168404Spjd 818168404Spjd 819168404Spjd##################################################################### 820219089Spjd# MISCELLANEOUS DEVICES AND OPTIONS 821219089Spjd 822168404Spjd# The `pty' device usually turns out to be ``effectively mandatory'', 823168404Spjd# as it is required for `telnetd', `rlogind', `screen', `emacs', and 824168404Spjd# `xterm', among others. 825268649Sdelphij 826268649Sdelphijpseudo-device pty #Pseudo ttys 827268649Sdelphijpseudo-device speaker #Play IBM BASIC-style noises out your speaker 828268649Sdelphijpseudo-device gzip #Exec gzipped a.out's 829268649Sdelphijpseudo-device vn #Vnode driver (turns a file into a device) 830168404Spjdpseudo-device md #Memory/malloc disk 831168404Spjdpseudo-device snp 3 #Snoop device - to look at pty/vty/etc.. 832168404Spjdpseudo-device ccd 4 #Concatenated disk driver 833168404Spjd 834168404Spjd# Configuring Vinum into the kernel is not necessary, since the kld 835168404Spjd# module gets started automatically when vinum(8) starts. This 836168404Spjd# device is also untested. Use at your own risk. 837168404Spjd# 838168404Spjd# The option VINUMDEBUG must match the value set in CFLAGS 839168404Spjd# in src/sbin/vinum/Makefile. Failure to do so will result in 840219089Spjd# the following message from vinum(8): 841168404Spjd# 842168404Spjd# Can't get vinum config: Invalid argument 843219089Spjd# 844219089Spjd# see vinum(4) for more reasons not to use these options. 845168404Spjdpseudo-device vinum #Vinum concat/mirror/raid driver 846185029Spjdoptions VINUMDEBUG #enable Vinum debugging hooks 847185029Spjd 848185029Spjd# These are only for watching for bitrot in old tty code. 849168404Spjd# broken 850168404Spjd#pseudo-device tb 851168404Spjd 852168404Spjd# Size of the kernel message buffer. Should be N * pagesize. 853168404Spjdoptions MSGBUF_SIZE=40960 854240868Spjd 855260763Savg 856270312Ssmh##################################################################### 857168404Spjd# HARDWARE DEVICE CONFIGURATION 858168404Spjd 859168404Spjd# ISA and EISA devices: 860168404Spjd# EISA support is available for some device, so they can be auto-probed. 861168404Spjd# Micro Channel is not supported at all. 862240868Spjd 863270312Ssmh# 864168404Spjd# Mandatory ISA devices: isa, npx 865168404Spjd# 866168404Spjdcontroller isa0 867168404Spjd 868209962Smm# 869168404Spjd# Options for `isa': 870168404Spjd# 871168404Spjd# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A 872270312Ssmh# interrupt controller. This saves about 0.7-1.25 usec for each interrupt. 873168404Spjd# This option breaks suspend/resume on some portables. 874168404Spjd# 875168404Spjd# AUTO_EOI_2 enables the `automatic EOI' feature for the slave 8259A 876168404Spjd# interrupt controller. This saves about 0.7-1.25 usec for each interrupt. 877168404Spjd# Automatic EOI is documented not to work for for the slave with the 878168404Spjd# original i8259A, but it works for some clones and some integrated 879168404Spjd# versions. 880168404Spjd# 881260763Savg# MAXMEM specifies the amount of RAM on the machine; if this is not 882168404Spjd# specified, FreeBSD will first read the amount of memory from the CMOS 883168404Spjd# RAM, so the amount of memory will initially be limited to 64MB or 16MB 884168404Spjd# depending on the BIOS. If the BIOS reports 64MB, a memory probe will 885185029Spjd# then attempt to detect the installed amount of RAM. If this probe 886185029Spjd# fails to detect >64MB RAM you will have to use the MAXMEM option. 887185029Spjd# The amount is in kilobytes, so for a machine with 128MB of RAM, it would 888185029Spjd# be 131072 (128 * 1024). 889168404Spjd# 890185029Spjd# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to 891269416Sdelphij# reset the CPU for reboot. This is needed on some systems with broken 892269416Sdelphij# keyboard controllers. 893168404Spjd# 894185029Spjd# PAS_JOYSTICK_ENABLE enables the gameport on the ProAudio Spectrum 895168404Spjd 896168404Spjdoptions AUTO_EOI_1 897168404Spjd#options AUTO_EOI_2 898168404Spjdoptions MAXMEM="(128*1024)" 899168404Spjd#options BROKEN_KEYBOARD_RESET 900168404Spjd#options PAS_JOYSTICK_ENABLE 901168404Spjd 902260763Savg# Enable support for the kernel PLL to use an external PPS signal, 903168404Spjd# under supervision of [x]ntpd(8) 904168404Spjd# More info in ntpd documentation: http://www.eecis.udel.edu/~ntp 905168404Spjd 906185029Spjdoptions PPS_SYNC 907185029Spjd 908185029Spjd# If you see the "calcru: negative time of %ld usec for pid %d (%s)\n" 909185029Spjd# message you probably have some broken sw/hw which disables interrupts 910168404Spjd# for too long. You can make the system more resistant to this by 911185029Spjd# choosing a high value for NTIMECOUNTER. The default is 5, there 912269416Sdelphij# is no upper limit but more than a couple of hundred are not productive. 913269416Sdelphij# A better strategy may be to sysctl -w kern.timecounter.method=1 914168404Spjd 915185029Spjdoptions NTIMECOUNTER=20 916168404Spjd 917219089Spjd# The keyboard controller; it controls the keyboard and the PS/2 mouse. 918168404Spjdcontroller atkbdc0 at isa? port IO_KBD 919219089Spjd 920185029Spjd# The AT keyboard 921168404Spjddevice atkbd0 at atkbdc? irq 1 922185029Spjd 923168404Spjd# Options for atkbd: 924185029Spjdoptions ATKBD_DFLT_KEYMAP # specify the built-in keymap 925168404Spjdmakeoptions ATKBD_DFLT_KEYMAP="jp.106" 926185029Spjd 927168404Spjd# These options are valid for other keyboard drivers as well. 928168404Spjdoptions KBD_DISABLE_KEYMAP_LOAD # refuse to load a keymap 929168404Spjdoptions KBD_INSTALL_CDEV # install a CDEV entry in /dev 930168404Spjd 931168404Spjd# `flags' for atkbd: 932168404Spjd# 0x01 Force detection of keyboard, else we always assume a keyboard 933185029Spjd# 0x02 Don't reset keyboard, useful for some newer ThinkPads 934168404Spjd# 0x04 Old-style (XT) keyboard support, useful for older ThinkPads 935168404Spjd 936185029Spjd# PS/2 mouse 937260763Savgdevice psm0 at atkbdc? irq 12 938260763Savg 939168404Spjd# Options for psm: 940219089Spjdoptions PSM_HOOKRESUME #hook the system resume event, useful 941185029Spjd #for some laptops 942168404Spjdoptions PSM_RESETAFTERSUSPEND #reset the device at the resume event 943185029Spjd 944185029Spjd# The video card driver. 945185029Spjddevice vga0 at isa? port ? conflicts 946168404Spjd 947168404Spjd# Options for vga: 948168404Spjd# Try the following option if the mouse pointer is not drawn correctly 949168404Spjd# or font does not seem to be loaded properly. May cause flicker on 950168404Spjd# some systems. 951168404Spjdoptions VGA_ALT_SEQACCESS 952168404Spjd 953219089Spjd# If you can dispense with some vga driver features, you may want to 954219089Spjd# use the following options to save some memory. 955168404Spjdoptions VGA_NO_FONT_LOADING # don't save/load font 956168404Spjdoptions VGA_NO_MODE_CHANGE # don't change video modes 957270312Ssmh 958270312Ssmh# Older video cards may require this option for proper operation. 959270312Ssmhoptions VGA_SLOW_IOACCESS # do byte-wide i/o's to TS and GDC regs 960270312Ssmh 961185029Spjd# The following option probably won't work with the LCD displays. 962185029Spjdoptions VGA_WIDTH90 # support 90 column modes 963185029Spjd 964219089Spjd# To include support for VESA video modes 965219089Spjdoptions VESA 966219089Spjd 967219089Spjd# Splash screen at start up! Screen savers require this too. 968219089Spjdpseudo-device splash 969219089Spjd 970219089Spjd# The pcvt console driver (vt220 compatible). 971219089Spjddevice vt0 at isa? 972219089Spjdoptions XSERVER # support for running an X server. 973185029Spjdoptions FAT_CURSOR # start with block cursor 974219089Spjd# This PCVT option is for keyboards such as those used on IBM ThinkPad laptops 975219089Spjdoptions PCVT_SCANSET=2 # IBM keyboards are non-std 976168404Spjd# Other PCVT options are documented in pcvt(4). 977260763Savgoptions PCVT_24LINESDEF 978260763Savgoptions PCVT_CTRL_ALT_DEL 979260763Savgoptions PCVT_EMU_MOUSE 980260763Savgoptions PCVT_FREEBSD=211 981185029Spjdoptions PCVT_META_ESC 982168404Spjdoptions PCVT_NSCREENS=9 983168404Spjdoptions PCVT_PRETTYSCRNS 984185029Spjdoptions PCVT_SCREENSAVER 985185029Spjdoptions PCVT_USEKBDSEC 986260763Savgoptions PCVT_VT220KEYB 987219089Spjd 988168404Spjd# The syscons console driver (sco color console compatible). 989185029Spjddevice sc0 at isa? 990168404Spjdoptions MAXCONS=16 # number of virtual consoles 991185029Spjdoptions SC_ALT_MOUSE_IMAGE # simplified mouse cursor in text mode 992168404Spjdoptions SC_DFLT_FONT # compile font in 993185029Spjdmakeoptions SC_DFLT_FONT=cp850 994185029Spjdoptions SC_DISABLE_DDBKEY # disable `debug' key 995260763Savgoptions SC_DISABLE_REBOOT # disable reboot key sequence 996185029Spjdoptions SC_HISTORY_SIZE=200 # number of history buffer lines 997219089Spjdoptions SC_MOUSE_CHAR=0x3 # char code for text mode mouse cursor 998168404Spjdoptions SC_PIXEL_MODE # add support for the raster text mode 999185029Spjd 1000168404Spjd# The following options will let you change the default colors of syscons. 1001168404Spjdoptions SC_NORM_ATTR="(FG_GREEN|BG_BLACK)" 1002168404Spjdoptions SC_NORM_REV_ATTR="(FG_YELLOW|BG_GREEN)" 1003185029Spjdoptions SC_KERNEL_CONS_ATTR="(FG_RED|BG_BLACK)" 1004168404Spjdoptions SC_KERNEL_CONS_REV_ATTR="(FG_BLACK|BG_RED)" 1005240868Spjd 1006270312Ssmh# If you have a two button mouse, you may want to add the following option 1007185029Spjd# to use the right button of the mouse to paste text. 1008168404Spjdoptions SC_TWOBUTTON_MOUSE 1009168404Spjd 1010240868Spjd# You can selectively disable features in syscons. 1011240868Spjdoptions SC_NO_CUTPASTE 1012240868Spjdoptions SC_NO_FONT_LOADING 1013240868Spjdoptions SC_NO_HISTORY 1014240868Spjdoptions SC_NO_SYSMOUSE 1015240868Spjd 1016270312Ssmh# 1017270312Ssmh# The Numeric Processing eXtension driver. In addition to this, you 1018270312Ssmh# may configure a math emulator (see above). If your machine has a 1019270312Ssmh# hardware FPU and the kernel configuration includes the npx device 1020240868Spjd# *and* a math emulator compiled into the kernel, the hardware FPU 1021240868Spjd# will be used, unless it is found to be broken or unless "flags" to 1022219089Spjd# npx0 includes "0x08", which requests preference for the emulator. 1023219089Spjddevice npx0 at nexus? port IO_NPX flags 0x0 irq 13 1024219089Spjd 1025219089Spjd# 1026219089Spjd# `flags' for npx0: 1027219089Spjd# 0x01 don't use the npx registers to optimize bcopy. 1028219089Spjd# 0x02 don't use the npx registers to optimize bzero. 1029219089Spjd# 0x04 don't use the npx registers to optimize copyin or copyout. 1030219089Spjd# 0x08 use emulator even if hardware FPU is available. 1031219089Spjd# The npx registers are normally used to optimize copying and zeroing when 1032219089Spjd# all of the following conditions are satisfied: 1033219089Spjd# I586_CPU is an option 1034219089Spjd# the cpu is an i586 (perhaps not a Pentium) 1035219089Spjd# the probe for npx0 succeeds 1036219089Spjd# INT 16 exception handling works. 1037219089Spjd# Then copying and zeroing using the npx registers is normally 30-100% faster. 1038219089Spjd# The flags can be used to control cases where it doesn't work or is slower. 1039168404Spjd# Setting them at boot time using userconfig works right (the optimizations 1040168404Spjd# are not used until later in the bootstrap when npx0 is attached). 1041185029Spjd# Flag 0x08 automatically disables the i586 optimized routines. 1042168404Spjd# 1043168404Spjd 1044185029Spjd# 1045185029Spjd# Optional ISA and EISA devices: 1046270312Ssmh# 1047168404Spjd 1048185029Spjd# 1049185029Spjd# SCSI host adapters: `aha', `aic', `bt' 1050209962Smm# 1051209962Smm# adv: All Narrow SCSI bus AdvanSys controllers. 1052209962Smm# adw: Second Generation AdvanSys controllers including the ADV940UW. 1053268649Sdelphij# aha: Adaptec 154x 1054268649Sdelphij# ahc: Adaptec 274x/284x/294x 1055219089Spjd# aic: Adaptec 152x 1056185029Spjd# bt: Most Buslogic controllers 1057219089Spjd# 1058168404Spjd# Note that the order is important in order for Buslogic cards to be 1059185029Spjd# probed correctly. 1060268649Sdelphij# 1061268649Sdelphij 1062268649Sdelphijcontroller bt0 at isa? port IO_BT0 irq ? 1063268649Sdelphijcontroller adv0 at isa? port ? irq ? 1064268649Sdelphijcontroller adw0 1065268649Sdelphijcontroller aha0 at isa? port ? irq ? 1066268649Sdelphijcontroller aic0 at isa? port ? irq ? 1067236884Smm 1068185029Spjd# 1069185029Spjd# Compaq Smart RAID controller. This driver also uses the major number 1070219089Spjd# of wd, in order to be able to boot a pure RAID system. 1071219089Spjd# Only one line of each is needed, the code finds all available controllers 1072219089Spjd# and devices. 1073219089Spjd# 1074219089Spjdcontroller ida0 1075219089Spjddevice id0 1076185029Spjd 1077168404Spjd# 1078168404Spjd# Mylex DAC960, AMI MegaRAID controllers. Only one entry is needed; the code 1079185029Spjd# will find and configure all supported controllers. 1080270312Ssmh# 1081168404Spjdcontroller mlx0 # Mylex DAC960 1082219089Spjdcontroller amr0 # AMI MegaRAID 1083185029Spjd 1084219089Spjd# 1085185029Spjd# The 'ATA' driver supports all ATA and ATAPI devices. 1086185029Spjd# It can reuse the majors of wd.c for booting purposes. 1087219089Spjd# You only need one "controller ata0" for it to find all 1088185029Spjd# PCI ATA/ATAPI devices on modern machines. 1089168404Spjdcontroller ata0 1090185029Spjddevice atadisk0 # ATA disk drives 1091185029Spjddevice atapicd0 # ATAPI CDROM drives 1092185029Spjddevice atapifd0 # ATAPI floppy drives 1093185029Spjddevice atapist0 # ATAPI tape drives 1094185029Spjd 1095185029Spjd#The folliwing options are valid on the ATA driver: 1096185029Spjd# 1097185029Spjd# ATA_STATIC_ID: controller numbering is static (like the old driver) 1098185029Spjd# else the device numbers are dynamically allocated. 1099185029Spjd# ATA_ENABLE_ATAPI_DMA: enable DMA on ATAPI device, since many ATAPI devices 1100185029Spjd# claim to support DMA but doesn't actually work, this 1101219089Spjd# is not enabled as default. 1102185029Spjd# ATA_16BIT_ONLY: for older HW that doesn't support 32bit transfers on 1103219089Spjd# the ATA channels (mostly old ISA boards). 1104219089Spjd 1105219089Spjdoptions ATA_STATIC_ID 1106219089Spjdoptions ATA_ENABLE_ATAPI_DMA 1107219089Spjd#options ATA_16BIT_ONLY 1108219089Spjd 1109219089Spjd# 1110268649Sdelphij# For older non-PCI systems, this is the lines to use: 1111268649Sdelphij#controller ata0 at isa? port IO_WD1 irq 14 1112268649Sdelphij#controller ata1 at isa? port IO_WD2 irq 15 1113243524Smm 1114243524Smm# 1115243524Smm# ST-506, ESDI, and IDE hard disks: `wdc' and `wd' 1116243524Smm# 1117243524Smm# The flags fields are used to enable the multi-sector I/O and 1118243524Smm# the 32BIT I/O modes. The flags may be used in either the controller 1119243524Smm# definition or in the individual disk definitions. The controller 1120243524Smm# definition is supported for the boot configuration stuff. 1121243524Smm# 1122243524Smm# Each drive has a 16 bit flags value defined: 1123243524Smm# The low 8 bits are the maximum value for the multi-sector I/O, 1124243524Smm# where 0xff defaults to the maximum that the drive can handle. 1125243524Smm# The high bit of the 16 bit flags (0x8000) allows probing for 1126219089Spjd# 32 bit transfers. Bit 14 (0x4000) enables a hack to wake 1127219089Spjd# up powered-down laptop drives. Bit 13 (0x2000) allows 1128219089Spjd# probing for PCI IDE DMA controllers, such as Intel's PIIX 1129219089Spjd# south bridges. Bit 12 (0x1000) sets LBA mode instead of the 1130219089Spjd# default CHS mode for accessing the drive. See the wd.4 man page. 1131219089Spjd# 1132219089Spjd# The flags field for the drives can be specified in the controller 1133219089Spjd# specification with the low 16 bits for drive 0, and the high 16 bits 1134219089Spjd# for drive 1. 1135219089Spjd# e.g.: 1136219089Spjd#controller wdc0 at isa? port IO_WD1 irq 14 flags 0x00ff8004 1137219089Spjd# 1138219089Spjd# specifies that drive 0 will be allowed to probe for 32 bit transfers and 1139219089Spjd# a maximum multi-sector transfer of 4 sectors, and drive 1 will not be 1140219089Spjd# allowed to probe for 32 bit transfers, but will allow multi-sector 1141263397Sdelphij# transfers up to the maximum that the drive supports. 1142185029Spjd# 1143185029Spjd# If you are using a PCI controller that is not running in compatibility 1144185029Spjd# mode (for example, it is a 2nd IDE PCI interface), then use config line(s) 1145185029Spjd# such as: 1146185029Spjd# 1147185029Spjd#controller wdc2 at isa? port 0 irq ? flags 0xa0ffa0ff 1148185029Spjd#device wd4 at wdc2 drive 0 1149185029Spjd#device wd5 at wdc2 drive 1 1150185029Spjd# 1151219089Spjd#controller wdc3 at isa? port 0 irq ? flags 0xa0ffa0ff 1152185029Spjd#device wd6 at wdc3 drive 0 1153219089Spjd#device wd7 at wdc3 drive 1 1154219089Spjd# 1155219089Spjd# Note that the above config would be useful for a Promise card, when used 1156219089Spjd# on a MB that already has a PIIX controller. Note the bogus irq and port 1157243503Smm# entries. These are automatically filled in by the IDE/PCI support. 1158185029Spjd# 1159185029Spjd# This driver must be commented out because it is mutually exclusive with 1160185029Spjd# the ata(4) driver. 1161268649Sdelphij# 1162219089Spjd#controller wdc0 at isa? port IO_WD1 irq 14 1163185029Spjd#device wd0 at wdc0 drive 0 1164185029Spjd#device wd1 at wdc0 drive 1 1165185029Spjd#controller wdc1 at isa? port IO_WD2 irq 15 1166219089Spjd#device wd2 at wdc1 drive 0 1167269732Sdelphij#device wd3 at wdc1 drive 1 1168219089Spjd 1169185029Spjd# 1170219089Spjd# This option allow you to override the default probe time for IDE 1171268649Sdelphij# devices, to get a faster probe. Setting this below 10000 violate 1172268649Sdelphij# the IDE specs, but may still work for you (it will work for most 1173268649Sdelphij# people). 1174268649Sdelphij# 1175268649Sdelphij#options IDE_DELAY=8000 # Be optimistic about Joe IDE device 1176268649Sdelphij 1177268649Sdelphij# IDE CD-ROM & CD-R/RW driver - requires wdc controller 1178268649Sdelphij#device wcd0 1179268649Sdelphij 1180268649Sdelphij# IDE floppy driver - requires wdc controller 1181268649Sdelphij#device wfd0 1182268649Sdelphij 1183268649Sdelphij# IDE tape driver - requires wdc controller 1184268649Sdelphij#device wst0 1185219089Spjd 1186268649Sdelphij 1187268649Sdelphij# 1188268649Sdelphij# Standard floppy disk controllers and floppy tapes: `fdc', `fd', and `ft' 1189268649Sdelphij# 1190268649Sdelphijcontroller fdc0 at isa? port IO_FD1 irq 6 drq 2 1191268649Sdelphij# 1192268649Sdelphij# FDC_DEBUG enables floppy debugging. Since the debug output is huge, you 1193268649Sdelphij# gotta turn it actually on by setting the variable fd_debug with DDB, 1194268649Sdelphij# however. 1195268649Sdelphijoptions FDC_DEBUG 1196268649Sdelphij# FDC_YE enables support for the floppies used on the Libretto. This is a 1197268649Sdelphij# pcmcia floppy. You will also need to add 1198268649Sdelphij#card "Y-E DATA" "External FDD" 1199268649Sdelphij# config 0x4 "fdc0" 10 1200268649Sdelphij# to your pccard.conf file. 1201268649Sdelphijoptions FDC_YE #XXX newbus broken 1202268649Sdelphij# 1203185029Spjd# Activate this line instead of the fdc0 line above if you happen to 1204185029Spjd# have an Insight floppy tape. Probing them proved to be dangerous 1205185029Spjd# for people with floppy disks only, so it's "hidden" behind a flag: 1206185029Spjd#controller fdc0 at isa? port IO_FD1 flags 1 irq 6 drq 2 1207185029Spjd 1208185029Spjddevice fd0 at fdc0 drive 0 1209185029Spjddevice fd1 at fdc0 drive 1 1210185029Spjd 1211185029Spjd# M-systems DiskOnchip products see src/sys/contrib/dev/fla/README 1212185029Spjddevice fla0 at isa? 1213185029Spjd 1214263397Sdelphij# 1215263397Sdelphij# Other standard PC hardware: `mse', `sio', etc. 1216243503Smm# 1217219089Spjd# mse: Logitech and ATI InPort bus mouse ports 1218219089Spjd# sio: serial ports (see sio(4)) 1219185029Spjd 1220185029Spjddevice mse0 at isa? port 0x23c irq 5 1221168404Spjd 1222185029Spjddevice sio0 at isa? port IO_COM1 flags 0x10 irq 4 1223185029Spjd 1224168404Spjd# 1225185029Spjd# `flags' for serial drivers that support consoles (only for sio now): 1226219089Spjd# 0x10 enable console support for this unit. The other console flags 1227263397Sdelphij# are ignored unless this is set. Enabling console support does 1228263397Sdelphij# not make the unit the preferred console - boot with -h or set 1229263397Sdelphij# the 0x20 flag for that. Currently, at most one unit can have 1230263397Sdelphij# console support; the first one (in config file order) with 1231263397Sdelphij# this flag set is preferred. Setting this flag for sio0 gives 1232263397Sdelphij# the old behaviour. 1233263397Sdelphij# 0x20 force this unit to be the console (unless there is another 1234185029Spjd# higher priority console). This replaces the COMCONSOLE option. 1235185029Spjd# 0x40 reserve this unit for low level console operations. Do not 1236185029Spjd# access the device in any normal way. 1237185029Spjd# 0x80 use this port for serial line gdb support in ddb. 1238263397Sdelphij# 1239263397Sdelphij# PnP `flags' (set via userconfig using pnp x flags y) 1240219089Spjd# 0x1 disable probing of this device. Used to prevent your modem 1241185029Spjd# from being attached as a PnP modem. 1242185029Spjd# 1243219089Spjd 1244185029Spjd# Options for serial drivers that support consoles (only for sio now): 1245219089Spjdoptions BREAK_TO_DEBUGGER #a BREAK on a comconsole goes to 1246219089Spjd #DDB, if available. 1247219089Spjdoptions CONSPEED=9600 #default speed for serial console (default 9600) 1248219089Spjd 1249219089Spjd# Options for sio: 1250243524Smmoptions COM_ESP #code for Hayes ESP 1251243524Smmoptions COM_MULTIPORT #code for some cards with shared IRQs 1252243524Smmoptions EXTRA_SIO=2 #number of extra sio ports to allocate 1253243524Smm 1254243524Smm# Other flags for sio that aren't documented in the man page. 1255185029Spjd# 0x20000 enable hardware RTS/CTS and larger FIFOs. Only works for 1256185029Spjd# ST16650A-compatible UARTs. 1257185029Spjd 1258168404Spjd# 1259168404Spjd# Network interfaces: `cx', `ed', `el', `ep', `ie', `is', `le', `lnc' 1260219089Spjd# 1261270312Ssmh# ar: Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver (requires sppp) 1262219089Spjd# cs: IBM Etherjet and other Crystal Semi CS89x0-based adapters 1263219089Spjd# cx: Cronyx/Sigma multiport sync/async (with Cisco or PPP framing) 1264219089Spjd# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503 1265219089Spjd# el: 3Com 3C501 (slow!) 1266219089Spjd# ep: 3Com 3C509 1267219089Spjd# ex: Intel EtherExpress Pro/10 and other i82595-based adapters 1268219089Spjd# fe: Fujitsu MB86960A/MB86965A Ethernet 1269219089Spjd# ie: AT&T StarLAN 10 and EN100; 3Com 3C507; unknown NI5210; Intel EtherExpress 1270219089Spjd# le: Digital Equipment EtherWorks 2 and EtherWorks 3 (DEPCA, DE100, 1271219089Spjd# DE101, DE200, DE201, DE202, DE203, DE204, DE205, DE422) 1272219089Spjd# lnc: Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, AMD Am7990 & Am79C960) 1273185029Spjd# rdp: RealTek RTL 8002-based pocket ethernet adapters 1274185029Spjd# sr: RISCom/N2 hdlc sync 1/2 port V.35/X.21 serial driver (requires sppp) 1275185029Spjd# wl: Lucent Wavelan (ISA card only). 1276185029Spjd# wi: Lucent WaveLAN/IEEE 802.11 PCMCIA adapters. Note: this supports both 1277185029Spjd# the PCMCIA and ISA cards: the ISA card is really a PCMCIA to ISA 1278185029Spjd# bridge with a PCMCIA adapter plugged into it. 1279168404Spjd# xe: Xircom/Intel EtherExpress Pro100/16 PC Card ethernet controller. 1280260750Savg# oltr: Olicom ISA token-ring adapters OC-3115, OC-3117, OC-3118 and OC-3133 1281168404Spjd# (no options needed) 1282211931Smm# 1283185029Spjddevice ar0 at isa? port 0x300 irq 10 iomem 0xd0000 1284260742Savgdevice cs0 at isa? port 0x300 irq ? 1285168404Spjddevice cx0 at isa? port 0x240 irq 15 drq 7 1286216919Smmdevice ed0 at isa? port 0x280 irq 5 iomem 0xd8000 1287216919Smmdevice el0 at isa? port 0x300 irq 9 1288185029Spjddevice ep0 1289209096Smmdevice ex0 at isa? port? irq? 1290209096Smmdevice fe0 at isa? port 0x300 irq ? 1291209096Smmdevice ie0 at isa? port 0x300 irq 5 iomem 0xd0000 1292185029Spjddevice ie1 at isa? port 0x360 irq 7 iomem 0xd0000 1293209096Smmdevice le0 at isa? port 0x300 irq 5 iomem 0xd0000 1294185029Spjddevice lnc0 at isa? port 0x280 irq 10 drq 0 1295185029Spjddevice rdp0 at isa? port 0x378 irq 7 flags 2 1296185029Spjddevice sr0 at isa? port 0x300 irq 5 iomem 0xd0000 1297185029Spjddevice sn0 at isa? port 0x300 irq 10 1298185029Spjddevice wi0 1299185029Spjdoptions WLCACHE # enables the signal-strength cache 1300185029Spjdoptions WLDEBUG # enables verbose debugging output 1301185029Spjddevice wl0 at isa? port 0x300 irq ? 1302211931Smmdevice xe0 at isa? port? irq ? 1303260750Savg 1304260750Savgdevice oltr0 at isa? 1305211931Smm 1306211931Smm# 1307260750Savg# ATM related options 1308211931Smm# 1309211931Smm# The `en' device provides support for Efficient Networks (ENI) 1310211931Smm# ENI-155 PCI midway cards, and the Adaptec 155Mbps PCI ATM cards (ANA-59x0). 1311260742Savg# 1312260742Savg# atm pseudo-device provides generic atm functions and is required for 1313260742Savg# atm devices. 1314260742Savg# NATM enables the netnatm protocol family that can be used to 1315260742Savg# bypass TCP/IP. 1316260742Savg# 1317260742Savg# the current driver supports only PVC operations (no atm-arp, no multicast). 1318260742Savg# for more details, please read the original documents at 1319216919Smm# http://www.ccrc.wustl.edu/pub/chuck/tech/bsdatm/bsdatm.html 1320260742Savg# 1321216919Smmpseudo-device atm 1322260750Savgdevice en0 1323260750Savgdevice en1 1324168404Spjdoptions NATM #native ATM 1325168404Spjd 1326185029Spjd# 1327260750Savg# Audio drivers: `snd', `sb', `pas', `gus', `pca' 1328168404Spjd# 1329185029Spjd# snd: Voxware sound support code 1330185029Spjd# sb: SoundBlaster PCM - SoundBlaster, SB Pro, SB16, ProAudioSpectrum 1331168404Spjd# sbxvi: SoundBlaster 16 1332260750Savg# sbmidi: SoundBlaster 16 MIDI interface 1333260750Savg# pas: ProAudioSpectrum PCM and MIDI 1334260750Savg# gus: Gravis Ultrasound - Ultrasound, Ultrasound 16, Ultrasound MAX 1335260750Savg# gusxvi: Gravis Ultrasound 16-bit PCM (do not use) 1336260750Savg# mss: Microsoft Sound System 1337260750Savg# css: Crystal Sound System (CSS 423x PnP) 1338260750Savg# sscape: Ensoniq Soundscape MIDI interface 1339260750Savg# sscape_mss: Ensoniq Soundscape PCM (requires sscape) 1340168404Spjd# opl: Yamaha OPL-2 and OPL-3 FM - SB, SB Pro, SB 16, ProAudioSpectrum 1341185029Spjd# uart: stand-alone 6850 UART for MIDI 1342185029Spjd# mpu: Roland MPU-401 stand-alone card 1343168404Spjd# 1344185029Spjd# Note: It has been reported that ISA DMA with the SoundBlaster will 1345270312Ssmh# lock up the machine (PR docs/5358). If this happens to you, 1346185029Spjd# turning off USWC write posting in your machine's BIOS may fix 1347219089Spjd# the problem. 1348168404Spjd# 1349185029Spjd# Beware! The addresses specified below are also hard-coded in 1350168404Spjd# src/sys/i386/isa/sound/sound_config.h. If you change the values here, you 1351168404Spjd# must also change the values in the include file. 1352185029Spjd# 1353185029Spjd# pcm: PCM audio through various sound cards. 1354168404Spjd# 1355219089Spjd# This has support for a large number of new audio cards, based on 1356185029Spjd# CS423x, OPTi931, Yamaha OPL-SAx, and also for SB16, GusPnP. 1357168404Spjd# For more information about this driver and supported cards, 1358185029Spjd# see the pcm.4 man page. 1359185029Spjd# 1360185029Spjd# The flags of the device tells the device a bit more info about the 1361251631Sdelphij# device that normally is obtained through the PnP interface. 1362251631Sdelphij# bit 2..0 secondary DMA channel; 1363251631Sdelphij# bit 4 set if the board uses two dma channels; 1364251631Sdelphij# bit 15..8 board type, overrides autodetection; leave it 1365251631Sdelphij# zero if don't know what to put in (and you don't, 1366251631Sdelphij# since this is unsupported at the moment...). 1367251631Sdelphij# 1368251631Sdelphij# This driver will use the new PnP code if it's available. 1369251631Sdelphij# 1370251631Sdelphij# pca: PCM audio through your PC speaker 1371185029Spjd# 1372185029Spjd# If you have a GUS-MAX card and want to use the CS4231 codec on the 1373185029Spjd# card the drqs for the gus max must be 8 bit (1, 2, or 3). 1374219089Spjd# 1375168404Spjd# If you would like to use the full duplex option on the gus, then define 1376185029Spjd# flags to be the ``read dma channel''. 1377185029Spjd# 1378185029Spjd# options BROKEN_BUS_CLOCK #PAS-16 isn't working and OPTI chipset 1379185029Spjd# options SYMPHONY_PAS #PAS-16 isn't working and SYMPHONY chipset 1380168404Spjd# options EXCLUDE_SBPRO #PAS-16 1381185029Spjd# options SBC_IRQ=5 #PAS-16. Must match irq on sb0 line. 1382219089Spjd# PAS16: The order of the pas0/sb0/opl0 is important since the 1383219089Spjd# sb emulation is enabled in the pas-16 attach. 1384185029Spjd# 1385168404Spjd# To override the GUS defaults use: 1386185029Spjd# options GUS_DMA2 1387219089Spjd# options GUS_DMA 1388219089Spjd# options GUS_IRQ 1389168404Spjd# 1390219089Spjd# The src/sys/i386/isa/sound/sound.doc has more information. 1391219089Spjd 1392219089Spjd# Controls all "VOXWARE" driver sound devices. See Luigi's driver 1393168404Spjd# below for an alternate which may work better for some cards. 1394185029Spjd# 1395168404Spjdcontroller snd0 1396168404Spjddevice pas0 at isa? port 0x388 irq 10 drq 6 1397185029Spjddevice sb0 at isa? port 0x220 irq 5 drq 1 1398185029Spjddevice sbxvi0 at isa? drq 5 1399219089Spjddevice sbmidi0 at isa? port 0x330 1400219089Spjddevice awe0 at isa? port 0x620 1401219089Spjddevice gus0 at isa? port 0x220 irq 12 drq 1 1402219089Spjd#device gus0 at isa? port 0x220 irq 12 drq 1 flags 0x3 1403219089Spjddevice mss0 at isa? port 0x530 irq 10 drq 1 1404168404Spjddevice css0 at isa? port 0x534 irq 5 drq 1 flags 0x08 1405219089Spjddevice sscape0 at isa? port 0x330 irq 9 drq 0 1406185029Spjddevice trix0 at isa? port 0x330 irq 6 drq 0 1407219089Spjddevice sscape_mss0 at isa? port 0x534 irq 5 drq 1 1408219089Spjddevice opl0 at isa? port 0x388 1409219089Spjddevice mpu0 at isa? port 0x330 irq 6 drq 0 1410185029Spjddevice uart0 at isa? port 0x330 irq 5 1411185029Spjd 1412168404Spjd# The newpcm driver (use INSTEAD of snd0 and all VOXWARE drivers!). 1413185029Spjd# Note that motherboard sound devices may require options PNPBIOS. 1414270312Ssmh# 1415185029Spjd# For non-pnp sound cards with no bridge drivers only: 1416185029Spjd#device pcm0 at isa? port ? irq 10 drq 1 flags 0x0 1417185029Spjd# 1418185029Spjd# For pnp sound cards: 1419185029Spjd#device pcm0 1420168404Spjd 1421185029Spjd# The bridge drivers for sound cards. Do not forget pcm as well. 1422168404Spjd# 1423185029Spjd# sbc: Creative SoundBlaster ISA PnP/non-PnP 1424185029Spjd# Supports ESS and Avance ISA chips as well. 1425185029Spjd# gusc: Gravis UltraSound ISA PnP/non-PnP 1426185029Spjd# csa: Crystal Semiconductor CS461x/428x PCI 1427185029Spjd 1428185029Spjd# For PnP cards: 1429185029Spjd#device sbc0 1430185029Spjd#device gusc0 1431185029Spjd#device csa0 1432168404Spjd 1433185029Spjd# For non-PnP cards: 1434185029Spjd#device sbc0 at isa? port 0x220 irq 5 drq 1 flags 0x15 1435168404Spjd#device gusc0 at isa? port 0x220 irq 5 drq 1 flags 0x13 1436185029Spjd 1437168404Spjd# Not controlled by `snd' 1438185029Spjddevice pca0 at isa? port IO_TIMER1 1439168404Spjd 1440185029Spjd# 1441185029Spjd# Miscellaneous hardware: 1442185029Spjd# 1443185029Spjd# mcd: Mitsumi CD-ROM 1444168404Spjd# scd: Sony CD-ROM 1445185029Spjd# matcd: Matsushita/Panasonic CD-ROM 1446185029Spjd# wt: Wangtek and Archive QIC-02/QIC-36 tape drives 1447168404Spjd# ctx: Cortex-I frame grabber 1448185029Spjd# apm: Laptop Advanced Power Management (experimental) 1449185029Spjd# spigot: The Creative Labs Video Spigot video-acquisition board 1450185029Spjd# meteor: Matrox Meteor video capture board 1451185029Spjd# bktr: Brooktree bt848/848a/849a/878/879 video capture and TV Tuner board 1452185029Spjd# cy: Cyclades serial driver 1453185029Spjd# dgb: Digiboard PC/Xi and PC/Xe series driver (ALPHA QUALITY!) 1454185029Spjd# dgm: Digiboard PC/Xem driver 1455185029Spjd# gp: National Instruments AT-GPIB and AT-GPIB/TNT board 1456209962Smm# asc: GI1904-based hand scanners, e.g. the Trust Amiscan Grey 1457209962Smm# gsc: Genius GS-4500 hand scanner. 1458185029Spjd# joy: joystick 1459185029Spjd# labpc: National Instrument's Lab-PC and Lab-PC+ 1460209962Smm# rc: RISCom/8 multiport card 1461209962Smm# rp: Comtrol Rocketport(ISA) - single card 1462185029Spjd# tw: TW-523 power line interface for use with X-10 home control products 1463185029Spjd# si: Specialix SI/XIO 4-32 port terminal multiplexor 1464209962Smm# stl: Stallion EasyIO and EasyConnection 8/32 (cd1400 based) 1465209962Smm# stli: Stallion EasyConnection 8/64, ONboard, Brumby (intelligent) 1466168404Spjd 1467185029Spjd# Notes on APM 1468185029Spjd# The flags takes the following meaning for apm0: 1469168404Spjd# 0x0020 Statclock is broken. 1470168404Spjd# If apm is omitted, some systems require sysctl -w kern.timecounter.method=1 1471168404Spjd# for correct timekeeping. 1472168404Spjd 1473185029Spjd# Notes on the spigot: 1474168404Spjd# The video spigot is at 0xad6. This port address can not be changed. 1475168404Spjd# The irq values may only be 10, 11, or 15 1476185029Spjd# I/O memory is an 8kb region. Possible values are: 1477168404Spjd# 0a0000, 0a2000, ..., 0fffff, f00000, f02000, ..., ffffff 1478185029Spjd# The start address must be on an even boundary. 1479168404Spjd# Add the following option if you want to allow non-root users to be able 1480209962Smm# to access the spigot. This option is not secure because it allows users 1481168404Spjd# direct access to the I/O page. 1482209962Smm# options SPIGOT_UNSECURE 1483209962Smm 1484209962Smm# Notes on the Comtrol Rocketport driver: 1485209962Smm# 1486209962Smm# The exact values used for rp0 depend on how many boards you have 1487185029Spjd# in the system. The manufacturer's sample configs are listed as: 1488185029Spjd# 1489185029Spjd# Comtrol Rocketport ISA single card 1490185029Spjd# device rp0 at isa? port 0x280 1491243524Smm# 1492185029Spjd# If instead you have two ISA cards, one installed at 0x100 and the 1493209962Smm# second installed at 0x180, then you should add the following to 1494209962Smm# your kernel configuration file: 1495185029Spjd# 1496185029Spjd# device rp0 at isa? port 0x100 1497185029Spjd# device rp1 at isa? port 0x180 1498219089Spjd# 1499219089Spjd# For 4 ISA cards, it might be something like this: 1500168404Spjd# 1501185029Spjd# device rp0 at isa? port 0x180 1502185029Spjd# device rp1 at isa? port 0x100 1503209962Smm# device rp2 at isa? port 0x340 1504185029Spjd# device rp3 at isa? port 0x240 1505209962Smm# 1506209962Smm# And for PCI cards, you only need say: 1507185029Spjd# 1508209962Smm# device rp0 1509209962Smm# device rp1 1510185029Spjd# ... 1511209962Smm# Note: Make sure that any Rocketport PCI devices are specified BEFORE the 1512209962Smm# ISA Rocketport devices. 1513185029Spjd 1514209962Smm# Notes on the Digiboard driver: 1515185029Spjd# 1516168404Spjd# The following flag values have special meanings: 1517168404Spjd# 0x01 - alternate layout of pins (dgb & dgm) 1518185029Spjd# 0x02 - use the windowed PC/Xe in 64K mode (dgb only) 1519209962Smm 1520209962Smm# Notes on the Specialix SI/XIO driver: 1521168404Spjd# **This is NOT a Specialix supported Driver!** 1522209962Smm# The host card is memory, not IO mapped. 1523209962Smm# The Rev 1 host cards use a 64K chunk, on a 32K boundary. 1524185029Spjd# The Rev 2 host cards use a 32K chunk, on a 32K boundary. 1525185029Spjd# The cards can use an IRQ of 11, 12 or 15. 1526185029Spjd 1527185029Spjd# Notes on the Stallion stl and stli drivers: 1528185029Spjd# See src/i386/isa/README.stl for complete instructions. 1529185029Spjd# This is version 0.0.5alpha, unsupported by Stallion. 1530185029Spjd# The stl driver has a secondary IO port hard coded at 0x280. You need 1531185029Spjd# to change src/i386/isa/stallion.c if you reconfigure this on the boards. 1532185029Spjd# The "flags" and "iosiz" settings on the stli driver depend on the board: 1533185029Spjd# EasyConnection 8/64 ISA: flags 23 iosiz 0x1000 1534185029Spjd# EasyConnection 8/64 EISA: flags 24 iosiz 0x10000 1535185029Spjd# EasyConnection 8/64 MCA: flags 25 iosiz 0x1000 1536185029Spjd# ONboard ISA: flags 4 iosiz 0x10000 1537185029Spjd# ONboard EISA: flags 7 iosiz 0x10000 1538185029Spjd# ONboard MCA: flags 3 iosiz 0x10000 1539209962Smm# Brumby: flags 2 iosiz 0x4000 1540209962Smm# Stallion: flags 1 iosiz 0x10000 1541209962Smm 1542185029Spjddevice mcd0 at isa? port 0x300 irq 10 1543185029Spjd# for the Sony CDU31/33A CDROM 1544185029Spjddevice scd0 at isa? port 0x230 1545185029Spjd# for the SoundBlaster 16 multicd - up to 4 devices 1546209962Smmcontroller matcd0 at isa? port 0x230 1547185029Spjddevice wt0 at isa? port 0x300 irq 5 drq 1 1548185029Spjddevice ctx0 at isa? port 0x230 iomem 0xd0000 1549209962Smmdevice spigot0 at isa? port 0xad6 irq 15 iomem 0xee000 1550185029Spjddevice apm0 at nexus? 1551185029Spjddevice gp0 at isa? port 0x2c0 1552168404Spjddevice gsc0 at isa? port IO_GSC1 drq 3 1553168404Spjddevice joy0 at isa? port IO_GAME 1554185029Spjddevice cy0 at isa? irq 10 iomem 0xd4000 iosiz 0x2000 1555168404Spjdoptions CY_PCI_FASTINTR # Use with cy_pci unless irq is shared 1556168404Spjddevice dgb0 at isa? port 0x220 iomem 0xfc000 iosiz ? 1557209962Smmoptions NDGBPORTS=16 # Defaults to 16*NDGB 1558185029Spjddevice dgm0 at isa? port 0x104 iomem 0xd0000 iosiz ? 1559168404Spjddevice labpc0 at isa? port 0x260 irq 5 1560209962Smmdevice rc0 at isa? port 0x220 irq 12 1561168404Spjddevice rp0 at isa? port 0x280 1562185029Spjd# the port and irq for tw0 are fictitious 1563185029Spjddevice tw0 at isa? port 0x380 irq 11 1564185029Spjddevice si0 at isa? iomem 0xd0000 irq 12 1565185029Spjddevice asc0 at isa? port IO_ASC1 drq 3 irq 10 1566185029Spjddevice stl0 at isa? port 0x2a0 irq 10 1567185029Spjddevice stli0 at isa? port 0x2a0 iomem 0xcc000 flags 23 iosiz 0x1000 1568185029Spjd# You are unlikely to have the hardware for loran0 <phk@FreeBSD.org> 1569185029Spjddevice loran0 at isa? port ? irq 5 1570185029Spjd# HOT1 Xilinx 6200 card (http://www.vcc.com/) 1571168404Spjddevice xrpu0 1572185029Spjd 1573209962Smm# 1574168404Spjd# MCA devices: 1575209962Smm# 1576209962Smm# The MCA bus device is mca0. It provides auto-detection and 1577168404Spjd# configuration support for all devices on the MCA bus. 1578168404Spjd# 1579185029Spjd# The 'aha' device provides support for the Adaptec 1640 1580185029Spjd# 1581185029Spjd# The 'bt' device provides support for various Buslogic/Bustek 1582185029Spjd# and Storage Dimensions SCSI adapters. 1583185029Spjd# 1584185029Spjd# The 'ep' device provides support for the 3Com 3C529 ethernet card. 1585185029Spjd# 1586185029Spjdcontroller mca0 1587185029Spjd 1588168404Spjd# 1589168404Spjd# EISA devices: 1590185029Spjd# 1591185029Spjd# The EISA bus device is eisa0. It provides auto-detection and 1592185029Spjd# configuration support for all devices on the EISA bus. 1593185029Spjd# 1594185029Spjd# The `ahb' device provides support for the Adaptec 174X adapter. 1595185029Spjd# 1596185029Spjd# The `ahc' device provides support for the Adaptec 274X and 284X 1597185029Spjd# adapters. The 284X, although a VLB card, responds to EISA probes. 1598185029Spjd# 1599185029Spjd# fea: DEC DEFEA EISA FDDI adapter 1600185029Spjd# 1601185029Spjdcontroller eisa0 1602185029Spjdcontroller ahb0 1603185029Spjdcontroller ahc0 1604185029Spjddevice fea0 1605185029Spjd 1606185029Spjd# The aic7xxx driver will attempt to use memory mapped I/O for all PCI 1607185029Spjd# controllers that have it configured only if this option is set. Unfortunately, 1608185029Spjd# this doesn't work on some motherboards, which prevents it from being the 1609185029Spjd# default. 1610185029Spjdoptions AHC_ALLOW_MEMIO 1611185029Spjd 1612185029Spjd# The adw driver will attempt to use memory mapped I/O for all PCI 1613185029Spjd# controllers that have it configured only if this option is set. 1614185029Spjdoptions ADW_ALLOW_MEMIO 1615185029Spjd 1616185029Spjd# By default, only 10 EISA slots are probed, since the slot numbers 1617185029Spjd# above clash with the configuration address space of the PCI subsystem, 1618185029Spjd# and the EISA probe is not very smart about this. This is sufficient 1619185029Spjd# for most machines, but in particular the HP NetServer LC series comes 1620185029Spjd# with an onboard AIC7770 dual-channel SCSI controller on EISA slot #11, 1621185029Spjd# thus you need to bump this figure to 12 for them. 1622185029Spjdoptions EISA_SLOTS=12 1623185029Spjd 1624185029Spjd# 1625185029Spjd# MII bus support is required for some PCI 10/100 ethernet NICs, 1626185029Spjd# namely those which use MII-compliant transceivers or implement 1627185029Spjd# tranceiver control interfaces that operate like an MII. Adding 1628185029Spjd# "controller miibus0" to the kernel config pulls in support for 1629185029Spjd# the generic miibus API and all of the PHY drivers, including a 1630185029Spjd# generic one for PHYs that aren't specifically handled by an 1631185029Spjd# individual driver. 1632185029Spjdcontroller miibus0 1633185029Spjd 1634185029Spjd# 1635185029Spjd# PCI devices & PCI options: 1636185029Spjd# 1637185029Spjd# The main PCI bus device is `pci'. It provides auto-detection and 1638185029Spjd# configuration support for all devices on the PCI bus, using either 1639185029Spjd# configuration mode defined in the PCI specification. 1640185029Spjd# 1641185029Spjd# The `ahc' device provides support for the Adaptec 29/3940(U)(W) 1642185029Spjd# and motherboard based AIC7870/AIC7880 adapters. 1643185029Spjd# 1644185029Spjd# The `amd' device provides support for the AMD 53C974 SCSI host 1645185029Spjd# adapter chip as found on devices such as the Tekram DC-390(T). 1646185029Spjd# 1647185029Spjd# The `ncr' device provides support for the NCR 53C810 and 53C825 1648185029Spjd# self-contained SCSI host adapters. 1649185029Spjd# 1650185029Spjd# The `isp' device provides support for the Qlogic ISP 1020, 1040 1651168404Spjd# nd 1040B PCI SCSI host adapters, as well as the Qlogic ISP 2100 1652168404Spjd# FC/AL Host Adapter. 1653185029Spjd# 1654185029Spjd# The `dc' device provides support for PCI fast ethernet adapters 1655185029Spjd# based on the DEC/Intel 21143 and various workalikes including: 1656168404Spjd# the ADMtek AL981 Comet and AN985 Centaur, the ASIX Electronics 1657185029Spjd# AX88140A and AX88141, the Davicom DM9100 and DM9102, the Lite-On 1658185029Spjd# 82c168 and 82c169 PNIC, the Lite-On/Macronix LC82C115 PNIC II 1659168404Spjd# and the Macronix 98713/98713A/98715/98715A/98725 PMAC. This driver 1660185029Spjd# replaces the old al, ax, dm, pn and mx drivers. 1661185029Spjd# 1662185029Spjd# The `de' device provides support for the Digital Equipment DC21040 1663168404Spjd# self-contained Ethernet adapter. 1664168404Spjd# 1665185029Spjd# The `fxp' device provides support for the Intel EtherExpress Pro/100B 1666185029Spjd# PCI Fast Ethernet adapters. 1667168404Spjd# 1668185029Spjd# The 'rl' device provides support for PCI fast ethernet adapters based 1669168404Spjd# on the RealTek 8129/8139 chipset. Note that the RealTek driver defaults 1670185029Spjd# to using programmed I/O to do register accesses because memory mapped 1671185029Spjd# mode seems to cause severe lockups on SMP hardware. This driver also 1672185029Spjd# supports the Accton EN1207D `Cheetah' adapter, which uses a chip called 1673185029Spjd# the MPX 5030/5038, which is either a RealTek in disguise or a RealTek 1674185029Spjd# workalike. 1675185029Spjd# 1676185029Spjd# The 'sf' device provides support for Adaptec Duralink PCI fast 1677185029Spjd# ethernet adapters based on the Adaptec AIC-6915 "starfire" controller. 1678185029Spjd# This includes dual and quad port cards, as well as one 100baseFX card. 1679185029Spjd# Most of these are 64-bit PCI devices, except for one single port 1680185029Spjd# card which is 32-bit. 1681185029Spjd# 1682185029Spjd# The 'ste' device provides support for adapters based on the Sundance 1683209962Smm# Technologies ST201 PCI fast ethernet controller. This includes the 1684185029Spjd# D-Link DFE-550TX. 1685185029Spjd# 1686185029Spjd# The 'sis' device provides support for adapters based on the Silicon 1687219089Spjd# Integrated Systems SiS 900 and SiS 7016 PCI fast ethernet controller 1688219089Spjd# chips. 1689219089Spjd# 1690219089Spjd# The 'sk' device provides support for the SysKonnect SK-984x series 1691219089Spjd# PCI gigabit ethernet NICs. This includes the SK-9841 and SK-9842 1692219089Spjd# single port cards (single mode and multimode fiber) and the 1693185029Spjd# SK-9843 and SK-9844 dual port cards (also single mode and multimode). 1694185029Spjd# The driver will autodetect the number of ports on the card and 1695185029Spjd# attach each one as a separate network interface. 1696185029Spjd# 1697185029Spjd# The 'ti' device provides support for PCI gigabit ethernet NICs based 1698185029Spjd# on the Alteon Networks Tigon 1 and Tigon 2 chipsets. This includes the 1699185029Spjd# Alteon AceNIC, the 3Com 3c985, the Netgear GA620 and various others. 1700168404Spjd# Note that you will probably want to bump up NMBCLUSTERS a lot to use 1701168404Spjd# this driver. 1702185029Spjd# 1703185029Spjd# The 'tl' device provides support for the Texas Instruments TNETE100 1704185029Spjd# series 'ThunderLAN' cards and integrated ethernet controllers. This 1705168404Spjd# includes several Compaq Netelligent 10/100 cards and the built-in 1706219089Spjd# ethernet controllers in several Compaq Prosignia, Proliant and 1707240868Spjd# Deskpro systems. It also supports several Olicom 10Mbps and 10/100 1708219089Spjd# boards. 1709185029Spjd# 1710168404Spjd# The `tx' device provides support for the SMC 9432TX cards. 1711185029Spjd# 1712185029Spjd# The `vr' device provides support for various fast ethernet adapters 1713185029Spjd# based on the VIA Technologies VT3043 `Rhine I' and VT86C100A `Rhine II' 1714185029Spjd# chips, including the D-Link DFE530TX, the Hawking Technologies PN102TX, 1715185029Spjd# and the AOpen/Acer ALN-320. 1716185029Spjd# 1717185029Spjd# The `vx' device provides support for the 3Com 3C590 and 3C595 1718168404Spjd# early support 1719185029Spjd# 1720185029Spjd# The `wb' device provides support for various fast ethernet adapters 1721185029Spjd# based on the Winbond W89C840F chip. Note: this is not the same as 1722185029Spjd# the Winbond W89C940F, which is an NE2000 clone. 1723185029Spjd# 1724185029Spjd# The `xl' device provides support for the 3Com 3c900, 3c905 and 1725185029Spjd# 3c905B (Fast) Etherlink XL cards and integrated controllers. This 1726185029Spjd# includes the integrated 3c905B-TX chips in certain Dell Optiplex and 1727168404Spjd# Dell Precision desktop machines and the integrated 3c905-TX chips 1728185029Spjd# in Dell Latitude laptop docking stations. 1729168404Spjd# 1730185029Spjd# The `fpa' device provides support for the Digital DEFPA PCI FDDI 1731185029Spjd# adapter. pseudo-device fddi is also needed. 1732185029Spjd# 1733185029Spjd# The `meteor' device is a PCI video capture board. It can also have the 1734185029Spjd# following options: 1735185029Spjd# options METEOR_ALLOC_PAGES=xxx preallocate kernel pages for data entry 1736185029Spjd# figure (ROWS*COLUMN*BYTES_PER_PIXEL*FRAME+PAGE_SIZE-1)/PAGE_SIZE 1737185029Spjd# options METEOR_DEALLOC_PAGES remove all allocated pages on close(2) 1738185029Spjd# options METEOR_DEALLOC_ABOVE=xxx remove all allocated pages above the 1739185029Spjd# specified amount. If this value is below the allocated amount no action 1740185029Spjd# taken 1741185029Spjd# options METEOR_SYSTEM_DEFAULT={METEOR_PAL|METEOR_NTSC|METEOR_SECAM}, used 1742168404Spjd# for initialization of fps routine when a signal is not present. 1743168404Spjd# 1744168404Spjd# The 'bktr' device is a PCI video capture device using the Brooktree 1745185029Spjd# bt848/bt848a/bt849a/bt878/bt879 chipset. When used with a TV Tuner it forms a 1746168404Spjd# TV card, eg Miro PC/TV, Hauppauge WinCast/TV WinTV, VideoLogic Captivator, 1747185029Spjd# Intel Smart Video III, AverMedia, IMS Turbo, FlyVideo. 1748168404Spjd# 1749185029Spjd# options OVERRIDE_CARD=xxx 1750185029Spjd# options OVERRIDE_TUNER=xxx 1751168404Spjd# options OVERRIDE_MSP=1 1752185029Spjd# options OVERRIDE_DBX=1 1753185029Spjd# These options can be used to override the auto detection 1754185029Spjd# The current values for xxx are found in src/sys/dev/bktr/bktr_card.h 1755185029Spjd# Using sysctl(8) run-time overrides on a per-card basis can be made 1756168404Spjd# 1757185029Spjd# options BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_PAL 1758185029Spjd# or 1759185029Spjd# options BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_NTSC 1760185029Spjd# Specifes the default video capture mode. 1761168404Spjd# This is required for Dual Crystal (28&35Mhz) boards where PAL is used 1762185029Spjd# to prevent hangs during initialisation. eg VideoLogic Captivator PCI. 1763185029Spjd# 1764168404Spjd# options BKTR_USE_PLL 1765185029Spjd# PAL or SECAM users who have a 28Mhz crystal (and no 35Mhz crystal) 1766185029Spjd# must enable PLL mode with this option. eg some new Bt878 cards. 1767168404Spjd# 1768185029Spjd# options BKTR_GPIO_ACCESS 1769168404Spjd# This enable IOCTLs which give user level access to the GPIO port. 1770168404Spjd# 1771168404Spjd# options BKTR_NO_MSP_RESET 1772209962Smm# Prevents the MSP34xx reset. Good if you initialise the MSP in another OS first 1773168404Spjd# 1774185029Spjd# options BKTR_430_FX_MODE 1775168404Spjd# Switch Bt878/879 cards into Intel 430FX chipset compatibility mode. 1776209962Smm# 1777185029Spjd# options BKTR_SIS_VIA_MODE 1778168404Spjd# Switch Bt878/879 cards into SIS/VIA chipset compatibility mode which is 1779209962Smm# needed for some old SiS and VIA chipset motherboards. 1780185029Spjd# This also allows Bt878/879 chips to work on old OPTi (<1997) chipset 1781209962Smm# motherboards and motherboards with bad or incomplete PCI 2.1 support. 1782185029Spjd# As a rough guess, old = before 1998 1783168404Spjd# 1784185029Spjd# 1785185029Spjd# The oltr driver supports the following Olicom PCI token-ring adapters 1786185029Spjd# OC-3136, OC-3137, OC-3139, OC-3140, OC-3141, OC-3540, OC-3250 1787209962Smm# 1788185029Spjdcontroller pci0 1789185029Spjdcontroller ahc1 1790168404Spjdcontroller amd0 1791209962Smmcontroller ncr0 1792219089Spjdcontroller sym0 1793168404Spjdcontroller isp0 1794185029Spjd# 1795185029Spjd# Options for ISP 1796168404Spjd# 1797185029Spjd# SCSI_ISP_NO_FWLOAD_MASK - mask of isp unit numbers (obviously 1798185029Spjd# a max of 32) that you wish to disable 1799185029Spjd# to disable the loading of firmware on. 1800185029Spjd# SCSI_ISP_NO_NVRAM_MASK - mask of isp unit numbers (obviously 1801185029Spjd# a max of 32) that you wish to disable 1802219089Spjd# them picking up information from NVRAM 1803185029Spjd# (for broken cards you can't fix the NVRAM 1804185029Spjd# on- very rare, or for systems you can't 1805185029Spjd# change NVRAM on (e.g. alpha) and you don't 1806185029Spjd# like what's in there) 1807185029Spjd# SCSI_ISP_PREFER_MEM_MAP - control preference for using memory mappings 1808209962Smm# instead of I/O space mappings. It defaults 1809168404Spjd# to 1 for i386, 0 for alpha. Set to 1 to 1810168404Spjd# unconditionally prefer mapping memory, 1811168404Spjd# else it will use I/O space mappings. Of 1812168404Spjd# course, this can fail if the PCI implement- 1813185029Spjd# ation doesn't support what you want. 1814168404Spjd# 1815209962Smm# SCSI_ISP_FCDUPLEX - mask of isp unit numbers (obviously 1816185029Spjd# a max of 32) that you wish to set fibre 1817168404Spjd# channel full duplex mode on. 1818185029Spjd# to disable the loading of firmware on. 1819209962Smm# SCSI_ISP_FABRIC enable loading of Fabric f/w flavor (2100). 1820209962Smm# SCSI_ISP_SCCLUN enable loading of expanded lun f/w (2100). 1821168404Spjd# SCSI_ISP_WWN - define a WWN to use as a default 1822185029Spjd# 1823185029Spjd# ISP_DISABLE_1020_SUPPORT Disable support for 1020/1040 cards 1824185029Spjd# ISP_DISABLE_1080_SUPPORT Disable support for 1080/1240 cards 1825185029Spjd# ISP_DISABLE_2100_SUPPORT Disable support for 2100 cards 1826209962Smm# (these really just to save code space) 1827168404Spjd# (use of all three will cause the driver to not compile) 1828185029Spjd# 1829219089Spjd# ISP_COMPILE_FW - compile all firmware in 1830168404Spjd# ISP_COMPILE_1020_FW - compile in 1020/1040 firmware 1831185029Spjd# ISP_COMPILE_1080_FW - compile in 1080/1240/1280 firmware 1832185029Spjd# ISP_COMPILE_2100_FW - compile in 2100 firmware 1833185029Spjd# ISP_COMPILE_2200_FW - compile in 2200 firmware 1834185029Spjd# 1835185029Spjd# ISP_TARGET_MODE - enable target mode operation 1836185029Spjd# 1837185029Spjdoptions SCSI_ISP_NO_FWLOAD_MASK=0x12 # disable FW load for isp1, isp4 1838168404Spjdoptions SCSI_ISP_NO_NVRAM_MASK=0x1 # disable NVRAM for isp0 1839168404Spjdoptions SCSI_ISP_PREFER_MEM_MAP=0 # prefer I/O mapping 1840240868Spjdoptions SCSI_ISP_FCDUPLEX=0x4 # isp2 is a Fibre Channel card 1841209962Smm # we want in full duplex mode. 1842185029Spjdoptions SCSI_ISP_WWN="0x5000000099990000" 1843185029Spjd#options ISP_DISABLE_1020_SUPPORT 1844185029Spjd#options ISP_DISABLE_1080_SUPPORT 1845168404Spjd#options ISP_DISABLE_2100_SUPPORT 1846168404Spjd#options ISP_COMPILE_1020_FW=1 1847185029Spjd#options ISP_COMPILE_1080_FW=1 1848270312Ssmh#options ISP_COMPILE_2100_FW=1 1849168404Spjd#options ISP_COMPILE_2200_FW=1 1850185029Spjd#options ISP_TARGET_MODE=1 1851168404Spjd 1852209962Smmdevice dc0 1853209962Smmdevice de0 1854168404Spjddevice fxp0 1855209962Smmdevice rl0 1856209962Smmdevice sf0 1857185029Spjddevice sis0 1858168404Spjddevice sk0 1859185029Spjddevice ste0 1860185029Spjddevice ti0 1861168404Spjddevice tl0 1862185029Spjddevice tx0 1863270312Ssmhdevice vr0 1864185029Spjddevice vx0 1865185029Spjddevice wb0 1866185029Spjddevice xl0 1867185029Spjddevice fpa0 1868185029Spjddevice meteor0 1869185029Spjd#The oltr driver in the ISA section will also find PCI cards. 1870209962Smm#device oltr0 1871209962Smm 1872185029Spjd 1873185029Spjd# Brooktree driver has been ported to the new I2C framework. Thus, 1874209962Smm# you'll need to have the following 3 lines in the kernel config. 1875185029Spjd# controller smbus0 1876209962Smm# controller iicbus0 1877185029Spjd# controller iicbb0 1878185029Spjd# The iic and smb devices are only needed if you want to control other 1879185029Spjd# I2C slaves connected to the external connector of some cards. 1880185029Spjd# 1881168404Spjddevice bktr0 1882168404Spjd 1883168404Spjd# 1884185029Spjd# PCI options 1885168404Spjd# 1886209962Smm#options PCI_QUIET #quiets PCI code on chipset settings 1887209962Smm 1888168404Spjd# 1889168404Spjd# PCCARD/PCMCIA 1890168404Spjd# 1891168404Spjd# card: pccard slots 1892185029Spjd# pcic: isa/pccard bridge 1893185029Spjdcontroller pcic0 at isa? 1894185029Spjdcontroller pcic1 at isa? 1895185029Spjdcontroller card0 1896185029Spjd 1897185029Spjd# You may need to reset all pccards after resuming 1898219089Spjdoptions PCIC_RESUME_RESET # reset after resume 1899219089Spjd 1900219089Spjd# 1901168404Spjd# Laptop/Notebook options: 1902168404Spjd# 1903168404Spjd# See also: 1904185029Spjd# apm under `Miscellaneous hardware' 1905168404Spjd# above. 1906168404Spjd 1907168404Spjd# For older notebooks that signal a powerfail condition (external 1908168404Spjd# power supply dropped, or battery state low) by issuing an NMI: 1909168404Spjd 1910168404Spjdoptions POWERFAIL_NMI # make it beep instead of panicing 1911168404Spjd 1912168404Spjd# 1913185029Spjd# SMB bus 1914185029Spjd# 1915168404Spjd# System Management Bus support provided by the 'smbus' device. 1916185029Spjd# 1917185029Spjd# Supported devices: 1918209962Smm# smb standard io 1919185029Spjd# 1920185029Spjd# Supported interfaces: 1921168404Spjd# iicsmb I2C to SMB bridge with any iicbus interface 1922185029Spjd# bktr brooktree848 I2C hardware interface 1923185029Spjd# intpm Intel PIIX4 Power Management Unit 1924185029Spjd# alpm Acer Aladdin-IV/V/Pro2 Power Management Unit 1925219089Spjd# 1926219089Spjdcontroller smbus0 1927185029Spjdcontroller intpm0 1928168404Spjdcontroller alpm0 1929168404Spjd 1930219089Spjddevice smb0 at smbus? 1931219089Spjd 1932185029Spjd# 1933185029Spjd# I2C Bus 1934185029Spjd# 1935185029Spjd# Philips i2c bus support is provided by the `iicbus' device. 1936185029Spjd# 1937168404Spjd# Supported devices: 1938209962Smm# ic i2c network interface 1939209962Smm# iic i2c standard io 1940185029Spjd# iicsmb i2c to smb bridge. Allow i2c i/o with smb commands. 1941185029Spjd# 1942185029Spjd# Supported interfaces: 1943185029Spjd# pcf Philips PCF8584 ISA-bus controller 1944168404Spjd# bktr brooktree848 I2C software interface 1945185029Spjd# 1946185029Spjd# Other: 1947185029Spjd# iicbb generic I2C bit-banging code (needed by lpbb, bktr) 1948168404Spjd# 1949185029Spjdcontroller iicbus0 1950185029Spjdcontroller iicbb0 1951185029Spjd 1952185029Spjddevice ic0 at iicbus? 1953185029Spjddevice iic0 at iicbus? 1954168404Spjddevice iicsmb0 at iicbus? 1955185029Spjd 1956185029Spjdcontroller pcf0 at isa? port 0x320 irq 5 1957185029Spjd 1958185029Spjd# ISDN4BSD section 1959185029Spjd# 1960185029Spjd# See /usr/share/examples/isdn/ROADMAP for an introduction to isdn4bsd. 1961185029Spjd# 1962168404Spjd# i4b passive ISDN cards support (isic - I4b Siemens Isdn Chipset driver) 1963209962Smm# note that the ``options'' and ``device'' lines must BOTH be defined ! 1964185029Spjd# 1965185029Spjd# Driver entries marked "(not supported yet!)" are not working currently 1966185029Spjd# due to not being converted to newbus. We hope to get them back to support 1967219089Spjd# in the near future. 1968243524Smm# 1969243524Smm# ISA bus non-PnP Cards: 1970243524Smm# ---------------------- 1971168404Spjd# 1972185029Spjd# Teles S0/8 or Niccy 1008 1973185029Spjdoptions TEL_S0_8 1974260763Savgdevice isic0 at isa? iomem 0xd0000 irq 5 flags 1 1975185029Spjd# 1976185029Spjd# Teles S0/16 or Creatix ISDN-S0 or Niccy 1016 1977168404Spjdoptions TEL_S0_16 1978168404Spjd#device isic0 at isa? port 0xd80 iomem 0xd0000 irq 5 flags 2 1979185029Spjd# 1980185029Spjd# Teles S0/16.3 1981185029Spjdoptions TEL_S0_16_3 1982185029Spjd#device isic0 at isa? port 0xd80 irq 5 flags 3 1983168404Spjd# 1984185029Spjd# AVM A1 or AVM Fritz!Card 1985168404Spjdoptions AVM_A1 1986185029Spjd#device isic0 at isa? port 0x340 irq 5 flags 4 1987168404Spjd# 1988168404Spjd# USRobotics Sportster ISDN TA intern (not supported yet!) 1989168404Spjd#options USR_STI 1990243524Smm#device isic0 at isa? port 0x268 irq 5 flags 7 1991243524Smm# 1992243524Smm# ITK ix1 Micro ( < V.3, non-PnP version ) (not supported yet!) 1993243524Smm#options ITKIX1 1994243524Smm#device isic0 at isa? port 0x398 irq 10 flags 18 1995243524Smm# 1996243524Smm# ELSA PCC-16 1997243524Smmoptions "ELSA_PCC16" 1998270312Ssmh#device isic0 at isa? port 0x360 irq 10 flags 20 1999243524Smm# 2000243524Smm# ISA bus PnP Cards: 2001243524Smm# ------------------ 2002243524Smm# 2003243524Smm# Teles S0/16.3 PnP 2004243524Smmoptions TEL_S0_16_3_P 2005243524Smm#device isic0 2006243524Smm# 2007243524Smm# Creatix ISDN-S0 P&P 2008243524Smmoptions CRTX_S0_P 2009243524Smm#device isic0 2010243524Smm# 2011243524Smm# Dr. Neuhaus Niccy Go@ 2012243524Smmoptions DRN_NGO 2013243524Smm#device isic0 2014243524Smm# 2015243524Smm# Sedlbauer Win Speed 2016243524Smmoptions SEDLBAUER 2017243524Smm#device isic0 2018243524Smm# 2019243524Smm# Dynalink IS64PH (not supported yet!) 2020243524Smm#options DYNALINK 2021243524Smm#device isic0 2022243524Smm# 2023243524Smm# ELSA QuickStep 1000pro ISA 2024243524Smmoptions ELSA_QS1ISA 2025243524Smm#device isic0 2026243524Smm# 2027243524Smm# ITK ix1 Micro ( V.3, PnP version ) (not supported yet!) 2028243524Smm#options "ITKIX1" 2029243524Smm#device isic0 2030243524Smm# 2031243524Smm# AVM Fritz!Card PnP (not supported yet!) 2032243524Smm#options "AVM_PNP" 2033243524Smm#device isic0 2034243524Smm# 2035243524Smm# Siemens I-Surf 2.0 2036243524Smmoptions "SIEMENS_ISURF2" 2037243524Smm#device isic0 2038243524Smm# 2039243524Smm# PCI bus Cards: 2040243524Smm# -------------- 2041243524Smm# 2042243524Smm# ELSA MicroLink ISDN/PCI (same as ELSA QuickStep 1000pro PCI) 2043243524Smmoptions ELSA_QS1PCI 2044243524Smm#device isic0 2045243524Smm# 2046168404Spjd# AVM Fritz!Card PCI 2047219089Spjdoptions "AVM_A1_PCI" 2048168404Spjd#device isic0 2049168404Spjd# 2050219089Spjd# PCMCIA Cards: 2051219089Spjd# ------------- 2052219089Spjd# 2053219089Spjd# AVM PCMCIA Fritz!Card (not supported yet!) 2054219089Spjd#options AVM_A1_PCMCIA 2055219089Spjd#device isic0 at isa? port 0x340 irq 5 flags 10 2056219089Spjd# 2057185029Spjd# Active Cards: 2058219089Spjd# ------------- 2059219089Spjd# 2060219089Spjd# Stollmann Tina-dd control device 2061219089Spjd# (driver under development, not fully functional!) 2062219089Spjddevice tina0 at isa? port 0x260 irq 10 2063219089Spjd# 2064219089Spjd# ISDN Protocol Stack 2065219089Spjd# ------------------- 2066219089Spjd# 2067219089Spjd# Q.921 / layer 2 - i4b passive cards D channel handling 2068219089Spjdpseudo-device "i4bq921" 2069185029Spjd# 2070270312Ssmh# Q.931 / layer 3 - i4b passive cards D channel handling 2071219089Spjdpseudo-device "i4bq931" 2072219089Spjd# 2073219089Spjd# layer 4 - i4b common passive and active card handling 2074219089Spjdpseudo-device "i4b" 2075219089Spjd# 2076219089Spjd# ISDN devices 2077219089Spjd# ------------ 2078219089Spjd# 2079219089Spjd# userland driver to do ISDN tracing (for passive cards only) 2080219089Spjdpseudo-device "i4btrc" 4 2081219089Spjd# 2082219089Spjd# userland driver to control the whole thing 2083219089Spjdpseudo-device "i4bctl" 2084219089Spjd# 2085219089Spjd# userland driver for access to raw B channel 2086219089Spjdpseudo-device "i4brbch" 4 2087219089Spjd# 2088219089Spjd# userland driver for telephony 2089219089Spjdpseudo-device "i4btel" 2 2090219089Spjd# 2091219089Spjd# network driver for IP over raw HDLC ISDN 2092219089Spjdpseudo-device "i4bipr" 4 2093219089Spjd# enable VJ header compression detection for ipr i/f 2094219089Spjdoptions IPR_VJ 2095219089Spjd# enable logging of the first n IP packets to isdnd (n=32 here) 2096219089Spjd#options IPR_LOG=32 2097219089Spjd# 2098219089Spjd# network driver for sync PPP over ISDN 2099219089Spjdpseudo-device "i4bisppp" 4 2100219089Spjd 2101219089Spjd 2102219089Spjd# Parallel-Port Bus 2103219089Spjd# 2104219089Spjd# Parallel port bus support is provided by the `ppbus' device. 2105219089Spjd# Multiple devices may be attached to the parallel port, devices 2106219089Spjd# are automatically probed and attached when found. 2107219089Spjd# 2108219089Spjd# Supported devices: 2109219089Spjd# vpo Iomega Zip Drive 2110219089Spjd# Requires SCSI disk support ('scbus' and 'da'), best 2111219089Spjd# performance is achieved with ports in EPP 1.9 mode. 2112219089Spjd# lpt Parallel Printer 2113270312Ssmh# plip Parallel network interface 2114219089Spjd# ppi General-purpose I/O ("Geek Port") + IEEE1284 I/O 2115219089Spjd# pps Pulse per second Timing Interface 2116219089Spjd# lpbb Philips official parallel port I2C bit-banging interface 2117219089Spjd# 2118219089Spjd# Supported interfaces: 2119219089Spjd# ppc ISA-bus parallel port interfaces. 2120219089Spjd# 2121219089Spjd 2122219089Spjdoptions DEBUG_1284 # IEEE1284 signaling protocol debug 2123219089Spjdoptions PERIPH_1284 # Makes your computer act as a IEEE1284 2124219089Spjd # compliant peripheral 2125219089Spjdoptions DONTPROBE_1284 # Avoid boot detection of PnP parallel devices 2126219089Spjdoptions VP0_DEBUG # ZIP/ZIP+ debug 2127219089Spjdoptions LPT_DEBUG # Printer driver debug 2128219089Spjdoptions PPC_DEBUG # Parallel chipset level debug 2129219089Spjdoptions PLIP_DEBUG # Parallel network IP interface debug 2130219089Spjd 2131219089Spjdcontroller ppbus0 2132219089Spjdcontroller vpo0 at ppbus? 2133219089Spjddevice lpt0 at ppbus? 2134219089Spjddevice plip0 at ppbus? 2135219089Spjddevice ppi0 at ppbus? 2136219089Spjddevice pps0 at ppbus? 2137219089Spjddevice lpbb0 at ppbus? 2138219089Spjd 2139219089Spjddevice ppc0 at isa? port? irq 7 2140219089Spjd 2141219089Spjd# Kernel BOOTP support 2142219089Spjd 2143219089Spjdoptions BOOTP # Use BOOTP to obtain IP address/hostname 2144219089Spjdoptions BOOTP_NFSROOT # NFS mount root filesystem using BOOTP info 2145219089Spjdoptions BOOTP_NFSV3 # Use NFS v3 to NFS mount root 2146219089Spjdoptions BOOTP_COMPAT # Workaround for broken bootp daemons. 2147219089Spjdoptions BOOTP_WIRED_TO=fxp0 # Use interface fxp0 for BOOTP 2148219089Spjd 2149219089Spjd# 2150219089Spjd# Add tie-ins for a hardware watchdog. This only enable the hooks; 2151219089Spjd# the user must still supply the actual driver. 2152219089Spjd# 2153219089Spjdoptions HW_WDOG 2154219089Spjd 2155219089Spjd# 2156219089Spjd# Set the number of PV entries per process. Increasing this can 2157219089Spjd# stop panics related to heavy use of shared memory. However, that can 2158219089Spjd# (combined with large amounts of physical memory) cause panics at 2159219089Spjd# boot time due the kernel running out of VM space. 2160219089Spjd# 2161219089Spjd# If you're tweaking this, you might also want to increase the sysctls 2162219089Spjd# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target". 2163219089Spjd# 2164219089Spjd# The value below is the one more than the default. 2165219089Spjd# 2166219089Spjdoptions PMAP_SHPGPERPROC=201 2167219089Spjd 2168219089Spjd# 2169219089Spjd# Disable swapping. This option removes all code which actually performs 2170219089Spjd# swapping, so it's not possible to turn it back on at run-time. 2171219089Spjd# 2172219089Spjd# This is sometimes usable for systems which don't have any swap space 2173219089Spjd# (see also sysctls "vm.defer_swapspace_pageouts" and 2174219089Spjd# "vm.disable_swapspace_pageouts") 2175219089Spjd# 2176219089Spjd#options NO_SWAPPING 2177219089Spjd 2178219089Spjd# Set the number of sf_bufs to allocate. sf_bufs are virtual buffers 2179219089Spjd# for sendfile(2) that are used to map file VM pages, and normally 2180219089Spjd# default to a quantity that is roughly 16*MAXUSERS+512. You would 2181219089Spjd# typically want about 4 of these for each simultaneous file send. 2182219089Spjd# 2183246666Smmoptions NSFBUFS=1024 2184219089Spjd 2185219089Spjd# 2186219089Spjd# Enable extra debugging code for locks. This stores the filename and 2187219089Spjd# line of whatever acquired the lock in the lock itself, and change a 2188219089Spjd# number of function calls to pass around the relevant data. This is 2189219089Spjd# not at all useful unless you are debugging lock code. Also note 2190219089Spjd# that it is likely to break e.g. fstat(1) unless you recompile your 2191219089Spjd# userland with -DDEBUG_LOCKS as well. 2192249195Smm# 2193248571Smmoptions DEBUG_LOCKS 2194219089Spjd 2195219089Spjd# More undocumented options for linting. 2196219089Spjd# Note that documenting these are not considered an affront. 2197219089Spjd 2198219089Spjdoptions AHC_DUMP_EEPROM 2199219089Spjdoptions AHC_TMODE_ENABLE 2200219089Spjdoptions ATA_16BIT_ONLY 2201219089Spjdoptions ATA_STATIC_ID 2202219089Spjdoptions BUS_DEBUG 2203219089Spjdoptions CAM_DEBUG_DELAY 2204219089Spjdoptions CLK_CALIBRATION_LOOP 2205219089Spjdoptions CLK_USE_I8254_CALIBRATION 2206219089Spjdoptions CLK_USE_TSC_CALIBRATION 2207219089Spjdoptions CLUSTERDEBUG 2208219089Spjdoptions COMPAT_LINUX 2209219089Spjdoptions COMPAT_SVR4 2210219089Spjdoptions CPU_UPGRADE_HW_CACHE 2211219089Spjdoptions DEBUG 2212219089Spjdoptions DEBUG_LINUX 2213219089Spjdoptions DEBUG_SVR4 2214219089Spjdoptions DEBUG_VFS_LOCKS 2215219089Spjd#options DISABLE_PSE 2216219089Spjdoptions ENABLE_ALART 2217219089Spjdoptions ENABLE_VFS_IOOPT 2218219089Spjdoptions FB_DEBUG 2219219089Spjdoptions FB_INSTALL_CDEV 2220219089Spjdoptions FE_8BIT_SUPPORT 2221219089Spjdoptions I4B_SMP_WORKAROUND 2222219089Spjdoptions I586_PMC_GUPROF=0x70000 2223219089Spjdoptions IBCS2 2224219089Spjdoptions KBDIO_DEBUG=2 2225219089Spjdoptions KBD_MAXRETRY=4 2226219089Spjdoptions KBD_MAXWAIT=6 2227219089Spjdoptions KBD_RESETDELAY=201 2228219089Spjdoptions KEY 2229219089Spjdoptions KEY_DEBUG 2230219089Spjdoptions LOCKF_DEBUG 2231219089Spjdoptions LOUTB 2232219089Spjdoptions MSGMNB=2049 2233219089Spjdoptions MSGMNI=41 2234219089Spjdoptions MSGSEG=2049 2235219089Spjdoptions MSGSSZ=16 2236219089Spjdoptions MSGTQL=41 2237219089Spjdoptions NBUF=512 2238219089Spjdoptions NETATALKDEBUG 2239219089Spjdoptions NMBCLUSTERS=1024 2240219089Spjdoptions NPX_DEBUG 2241219089Spjd#options OLTR_NO_BULLSEYE_MAC 2242219089Spjd#options OLTR_NO_HAWKEYE_MAC 2243219089Spjd#options OLTR_NO_TMS_MAC 2244219089Spjdoptions PANIC_REBOOT_WAIT_TIME=16 2245219089Spjdoptions PNPBIOS 2246219089Spjdoptions PSM_DEBUG=1 2247219089Spjdoptions SCSI_NCR_DEBUG 2248219089Spjdoptions SCSI_NCR_MAX_SYNC=10000 2249219089Spjdoptions SCSI_NCR_MAX_WIDE=1 2250219089Spjdoptions SCSI_NCR_MYADDR=7 2251219089Spjdoptions SC_DEBUG_LEVEL 2252219089Spjdoptions SC_RENDER_DEBUG 2253219089Spjdoptions SEMMAP=31 2254219089Spjdoptions SEMMNI=11 2255219089Spjdoptions SEMMNS=61 2256219089Spjdoptions SEMMNU=31 2257219089Spjdoptions SEMMSL=61 2258219089Spjdoptions SEMOPM=101 2259219089Spjdoptions SEMUME=11 2260219089Spjdoptions SHMALL=1025 2261219089Spjdoptions SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)" 2262219089Spjdoptions SHMMAXPGS=1025 2263219089Spjdoptions SHMMIN=2 2264219089Spjdoptions SHMMNI=33 2265219089Spjdoptions SHMSEG=9 2266219089Spjdoptions SHOW_BUSYBUFS # List buffers that prevent root unmount 2267219089Spjdoptions SIMPLELOCK_DEBUG 2268219089Spjdoptions SI_DEBUG 2269219089Spjdoptions SLIP_IFF_OPTS 2270219089Spjdoptions SPX_HACK 2271219089Spjdoptions TIMER_FREQ="((14318182+6)/12)" 2272219089Spjdoptions VFS_BIO_DEBUG 2273219089Spjdoptions VM_KMEM_SIZE 2274219089Spjdoptions VM_KMEM_SIZE_MAX 2275219089Spjdoptions VM_KMEM_SIZE_SCALE 2276219089Spjd 2277219089Spjd# Undocumented options covering presently broken code 2278219089Spjd#options ASUSCOM_IPAC 2279219089Spjd 2280219089Spjd# The 'dpt' driver provides support for DPT controllers (http://www.dpt.com/). 2281219089Spjd# These have hardware RAID-{0,1,5} support, and do multi-initiator I/O. 2282270312Ssmh# The DPT controllers are commonly re-licensed under other brand-names - 2283219089Spjd# some controllers by Olivetti, Dec, HP, AT&T, SNI, AST, Alphatronic, NEC and 2284219089Spjd# Compaq are actually DPT controllers. 2285219089Spjd# 2286219089Spjd# See src/sys/dev/dpt for debugging and other subtle options. 2287219089Spjd# DPT_MEASURE_PERFORMANCE Enables a set of (semi)invasive metrics. Various 2288219089Spjd# instruments are enabled. The tools in 2289219089Spjd# /usr/sbin/dpt_* assume these to be enabled. 2290219089Spjd# DPT_HANDLE_TIMEOUTS Normally device timeouts are handled by the DPT. 2291219089Spjd# If you ant the driver to handle timeouts, enable 2292219089Spjd# this option. If your system is very busy, this 2293219089Spjd# option will create more trouble than solve. 2294219089Spjd# DPT_TIMEOUT_FACTOR Used to compute the excessive amount of time to 2295219089Spjd# wait when timing out with the above option. 2296219089Spjd# DPT_DEBUG_xxxx These are controllable from sys/dev/dpt/dpt.h 2297219089Spjd# DPT_LOST_IRQ When enabled, will try, once per second, to catch 2298219089Spjd# any interrupt that got lost. Seems to help in some 2299219089Spjd# DPT-firmware/Motherboard combinations. Minimal 2300219089Spjd# cost, great benefit. 2301219089Spjd# DPT_RESET_HBA Make "reset" actually reset the controller 2302219089Spjd# instead of fudging it. Only enable this if you 2303219089Spjd# are 100% certain you need it. 2304219089Spjd 2305219089Spjdcontroller dpt0 2306219089Spjd 2307219089Spjd# DPT options 2308219089Spjd#!CAM# options DPT_MEASURE_PERFORMANCE 2309219089Spjd#!CAM# options DPT_HANDLE_TIMEOUTS 2310219089Spjdoptions DPT_TIMEOUT_FACTOR=4 2311219089Spjdoptions DPT_LOST_IRQ 2312219089Spjdoptions DPT_RESET_HBA 2313219089Spjdoptions DPT_ALLOW_MEMIO 2314219089Spjd 2315219089Spjd# USB support 2316219089Spjd# UHCI controller 2317243524Smmcontroller uhci0 2318219089Spjd# OHCI controller 2319219089Spjdcontroller ohci0 2320219089Spjd# General USB code (mandatory for USB) 2321219089Spjdcontroller usb0 2322219089Spjd# 2323219089Spjd# Generic USB device driver 2324219089Spjddevice ugen0 2325219089Spjd# Human Interface Device (anything with buttons and dials) 2326219089Spjddevice uhid0 2327219089Spjd# USB keyboard 2328219089Spjddevice ukbd0 2329219089Spjd# USB printer 2330219089Spjddevice ulpt0 2331219089Spjd# USB Iomega Zip 100 Drive 2332219089Spjdcontroller umass0 2333219089Spjd# USB mouse 2334219089Spjddevice ums0 2335219089Spjd# 2336219089Spjd# ADMtek USB ethernet. Supports the LinkSys USB100TX, 2337219089Spjd# the Billionton USB100 and the Melco LU-ATX NICs. Also 2338219089Spjd# works with the ADMtek AN986 Pegasus eval board. 2339219089Spjddevice aue0 2340219089Spjd 2341219089Spjd# debugging options for the USB subsystem 2342219089Spjd# 2343219089Spjdoptions UHCI_DEBUG 2344219089Spjdoptions OHCI_DEBUG 2345219089Spjdoptions USB_DEBUG 2346219089Spjd 2347219089Spjdoptions UGEN_DEBUG 2348219089Spjdoptions UHID_DEBUG 2349219089Spjdoptions UHUB_DEBUG 2350219089Spjdoptions UKBD_DEBUG 2351260763Savgoptions ULPT_DEBUG 2352219089Spjdoptions UMASS_DEBUG 2353219089Spjdoptions UMS_DEBUG 2354219089Spjd 2355219089Spjd# options for ukbd: 2356219089Spjdoptions UKBD_DFLT_KEYMAP # specify the built-in keymap 2357219089Spjdmakeoptions UKBD_DFLT_KEYMAP=it.iso 2358219089Spjd 2359219089Spjd# 2360219089Spjd# Embedded system options: 2361219089Spjd# 2362219089Spjd# An embedded system might want to run something other than init. 2363219089Spjdoptions INIT_PATH="/sbin/init:/stand/sysinstall" 2364219089Spjd 2365219089Spjd