1# 2# NOTES -- Lines that can be cut/pasted into kernel and hints configs. 3# 4# Lines that begin with 'device', 'options', 'machine', 'ident', 'maxusers', 5# 'makeoptions', 'hints' etc go into the kernel configuration that you 6# run config(8) with. 7# 8# Lines that begin with 'hints.' are NOT for config(8), they go into your 9# hints file. See /boot/device.hints and/or the 'hints' config(8) directive. 10# 11# Please use ``make LINT'' to create an old-style LINT file if you want to 12# do kernel test-builds. 13# 14# $FreeBSD$ 15# 16 17# 18# This directive is mandatory; it defines the architecture to be 19# configured for; in this case, the 386 family based IBM-PC and 20# compatibles. 21# 22machine i386 23 24# 25# This is the ``identification'' of the kernel. Usually this should 26# be the same as the name of your kernel. 27# 28ident LINT 29 30# 31# The `maxusers' parameter controls the static sizing of a number of 32# internal system tables by a formula defined in subr_param.c. Setting 33# maxusers to 0 will cause the system to auto-size based on physical 34# memory. 35# 36maxusers 10 37 38# 39# We want LINT to cover profiling as well 40profile 2 41 42# 43# The `makeoptions' parameter allows variables to be passed to the 44# generated Makefile in the build area. 45# 46# CONF_CFLAGS gives some extra compiler flags that are added to ${CFLAGS} 47# after most other flags. Here we use it to inhibit use of non-optimal 48# gcc builtin functions (e.g., memcmp). 49# 50# DEBUG happens to be magic. 51# The following is equivalent to 'config -g KERNELNAME' and creates 52# 'kernel.debug' compiled with -g debugging as well as a normal 53# 'kernel'. Use 'make install.debug' to install the debug kernel 54# but that isn't normally necessary as the debug symbols are not loaded 55# by the kernel and are not useful there anyway. 56# 57# KERNEL can be overridden so that you can change the default name of your 58# kernel. 59# 60# MODULES_OVERRIDE can be used to limit modules built to a specific list. 61# 62makeoptions CONF_CFLAGS=-fno-builtin #Don't allow use of memcmp, etc. 63#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 64#makeoptions KERNEL=foo #Build kernel "foo" and install "/foo" 65# Only build Linux API modules and plus those parts of the sound system I need. 66#makeoptions MODULES_OVERRIDE="linux sound/snd sound/pcm sound/driver/maestro3" 67 68# 69# Certain applications can grow to be larger than the 512M limit 70# that FreeBSD initially imposes. Below are some options to 71# allow that limit to grow to 1GB, and can be increased further 72# with changing the parameters. MAXDSIZ is the maximum that the 73# limit can be set to, and the DFLDSIZ is the default value for 74# the limit. MAXSSIZ is the maximum that the stack limit can be 75# set to. You might want to set the default lower than the max, 76# and explicitly set the maximum with a shell command for processes 77# that regularly exceed the limit like INND. 78# 79options MAXDSIZ="(1024UL*1024*1024)" 80options MAXSSIZ="(128UL*1024*1024)" 81options DFLDSIZ="(1024UL*1024*1024)" 82 83# 84# BLKDEV_IOSIZE sets the default block size used in user block 85# device I/O. Note that this value will be overriden by the label 86# when specifying a block device from a label with a non-0 87# partition blocksize. The default is PAGE_SIZE. 88# 89options BLKDEV_IOSIZE=8192 90 91# Options for the VM subsystem 92options PQ_CACHESIZE=512 # color for 512k/16k cache 93options KSTACK_PAGES=3 # number of 4k stack pages per process 94# Deprecated options supported for backwards compatibility 95#options PQ_NOOPT # No coloring 96#options PQ_LARGECACHE # color for 512k/16k cache 97#options PQ_HUGECACHE # color for 1024k/16k cache 98#options PQ_MEDIUMCACHE # color for 256k/16k cache 99#options PQ_NORMALCACHE # color for 64k/16k cache 100 101# This allows you to actually store this configuration file into 102# the kernel binary itself, where it may be later read by saying: 103# strings -n 3 /boot/kernel/kernel | sed -n 's/^___//p' > MYKERNEL 104# 105options INCLUDE_CONFIG_FILE # Include this file in kernel 106 107# 108# The root device and filesystem type can be compiled in; 109# this provides a fallback option if the root device cannot 110# be correctly guesst by the bootstrap code, or an override if 111# the RB_DFLTROOT flag (-r) is specified when booting the kernel. 112# 113options ROOTDEVNAME=\"ufs:da0s2e\" 114 115 116##################################################################### 117# SMP OPTIONS: 118# 119# SMP enables building of a Symmetric MultiProcessor Kernel. 120# APIC_IO enables the use of the IO APIC for Symmetric I/O. 121# 122# Notes: 123# 124# An SMP kernel will ONLY run on an Intel MP spec. qualified motherboard. 125# 126# Be sure to disable 'cpu I386_CPU' && 'cpu I486_CPU' for SMP kernels. 127# 128# Check the 'Rogue SMP hardware' section to see if additional options 129# are required by your hardware. 130# 131 132# Mandatory: 133options SMP # Symmetric MultiProcessor Kernel 134options APIC_IO # Symmetric (APIC) I/O 135 136# 137# Rogue SMP hardware: 138# 139 140# Bridged PCI cards: 141# 142# The MP tables of most of the current generation MP motherboards 143# do NOT properly support bridged PCI cards. To use one of these 144# cards you should refer to ??? 145 146# SMP Debugging Options: 147# 148# MUTEX_DEBUG enables various extra assertions in the mutex code. 149# WITNESS enables the mutex witness code which detects deadlocks and cycles 150# during locking operations. 151# WITNESS_DDB causes the witness code to drop into the kernel debugger if 152# a lock heirarchy violation occurs or if locks are held when going to 153# sleep. 154# WITNESS_SKIPSPIN disables the witness checks on spin mutexes. 155options MUTEX_DEBUG 156options WITNESS 157options WITNESS_DDB 158options WITNESS_SKIPSPIN 159 160 161##################################################################### 162# CPU OPTIONS 163 164# 165# You must specify at least one CPU (the one you intend to run on); 166# deleting the specification for CPUs you don't need to use may make 167# parts of the system run faster. 168# I386_CPU is mutually exclusive with the other CPU types. 169# 170#cpu I386_CPU 171cpu I486_CPU 172cpu I586_CPU # aka Pentium(tm) 173cpu I686_CPU # aka Pentium Pro(tm) 174 175# 176# Options for CPU features. 177# 178# CPU_BLUELIGHTNING_FPU_OP_CACHE enables FPU operand cache on IBM 179# BlueLightning CPU. It works only with Cyrix FPU, and this option 180# should not be used with Intel FPU. 181# 182# CPU_BLUELIGHTNING_3X enables triple-clock mode on IBM Blue Lightning 183# CPU if CPU supports it. The default is double-clock mode on 184# BlueLightning CPU box. 185# 186# CPU_BTB_EN enables branch target buffer on Cyrix 5x86 (NOTE 1). 187# 188# CPU_DIRECT_MAPPED_CACHE sets L1 cache of Cyrix 486DLC CPU in direct 189# mapped mode. Default is 2-way set associative mode. 190# 191# CPU_CYRIX_NO_LOCK enables weak locking for the entire address space 192# of Cyrix 6x86 and 6x86MX CPUs by setting the NO_LOCK bit of CCR1. 193# Otherwise, the NO_LOCK bit of CCR1 is cleared. (NOTE 3) 194# 195# CPU_DISABLE_5X86_LSSER disables load store serialize (i.e. enables 196# reorder). This option should not be used if you use memory mapped 197# I/O device(s). 198# 199# CPU_ENABLE_SSE enables SSE/MMX2 instructions support. 200# 201# CPU_FASTER_5X86_FPU enables faster FPU exception handler. 202# 203# CPU_I486_ON_386 enables CPU cache on i486 based CPU upgrade products 204# for i386 machines. 205# 206# CPU_IORT defines I/O clock delay time (NOTE 1). Default values of 207# I/O clock delay time on Cyrix 5x86 and 6x86 are 0 and 7,respectively 208# (no clock delay). 209# 210# CPU_L2_LATENCY specifed the L2 cache latency value. This option is used 211# only when CPU_PPRO2CELERON is defined and Mendocino Celeron is detected. 212# The default value is 5. 213# 214# CPU_LOOP_EN prevents flushing the prefetch buffer if the destination 215# of a jump is already present in the prefetch buffer on Cyrix 5x86(NOTE 216# 1). 217# 218# CPU_PPRO2CELERON enables L2 cache of Mendocino Celeron CPUs. This option 219# is useful when you use Socket 8 to Socket 370 converter, because most Pentium 220# Pro BIOSs do not enable L2 cache of Mendocino Celeron CPUs. 221# 222# CPU_RSTK_EN enables return stack on Cyrix 5x86 (NOTE 1). 223# 224# CPU_SUSP_HLT enables suspend on HALT. If this option is set, CPU 225# enters suspend mode following execution of HALT instruction. 226# 227# CPU_UPGRADE_HW_CACHE eliminates unneeded cache flush instruction(s). 228# 229# CPU_WT_ALLOC enables write allocation on Cyrix 6x86/6x86MX and AMD 230# K5/K6/K6-2 cpus. 231# 232# CYRIX_CACHE_WORKS enables CPU cache on Cyrix 486 CPUs with cache 233# flush at hold state. 234# 235# CYRIX_CACHE_REALLY_WORKS enables (1) CPU cache on Cyrix 486 CPUs 236# without cache flush at hold state, and (2) write-back CPU cache on 237# Cyrix 6x86 whose revision < 2.7 (NOTE 2). 238# 239# NO_F00F_HACK disables the hack that prevents Pentiums (and ONLY 240# Pentiums) from locking up when a LOCK CMPXCHG8B instruction is 241# executed. This option is only needed if I586_CPU is also defined, 242# and should be included for any non-Pentium CPU that defines it. 243# 244# NO_MEMORY_HOLE is an optimisation for systems with AMD K6 processors 245# which indicates that the 15-16MB range is *definitely* not being 246# occupied by an ISA memory hole. 247# 248# NOTE 1: The options, CPU_BTB_EN, CPU_LOOP_EN, CPU_IORT, 249# CPU_LOOP_EN and CPU_RSTK_EN should not be used because of CPU bugs. 250# These options may crash your system. 251# 252# NOTE 2: If CYRIX_CACHE_REALLY_WORKS is not set, CPU cache is enabled 253# in write-through mode when revision < 2.7. If revision of Cyrix 254# 6x86 >= 2.7, CPU cache is always enabled in write-back mode. 255# 256# NOTE 3: This option may cause failures for software that requires 257# locked cycles in order to operate correctly. 258# 259options CPU_BLUELIGHTNING_FPU_OP_CACHE 260options CPU_BLUELIGHTNING_3X 261options CPU_BTB_EN 262options CPU_DIRECT_MAPPED_CACHE 263options CPU_DISABLE_5X86_LSSER 264options CPU_ENABLE_SSE 265options CPU_FASTER_5X86_FPU 266options CPU_I486_ON_386 267options CPU_IORT 268options CPU_L2_LATENCY=5 269options CPU_LOOP_EN 270options CPU_PPRO2CELERON 271options CPU_RSTK_EN 272options CPU_SUSP_HLT 273options CPU_UPGRADE_HW_CACHE 274options CPU_WT_ALLOC 275options CYRIX_CACHE_WORKS 276options CYRIX_CACHE_REALLY_WORKS 277#options NO_F00F_HACK 278 279# 280# A math emulator is mandatory if you wish to run on hardware which 281# does not have a floating-point processor. Pick either the original, 282# bogus (but freely-distributable) math emulator, or a much more 283# fully-featured but GPL-licensed emulator taken from Linux. 284# 285options MATH_EMULATE #Support for x87 emulation 286# Don't enable both of these in a real config. 287options GPL_MATH_EMULATE #Support for x87 emulation via 288 #new math emulator 289 290 291##################################################################### 292# COMPATIBILITY OPTIONS 293 294# 295# Implement system calls compatible with 4.3BSD and older versions of 296# FreeBSD. You probably do NOT want to remove this as much current code 297# still relies on the 4.3 emulation. 298# 299options COMPAT_43 300 301# 302# These three options provide support for System V Interface 303# Definition-style interprocess communication, in the form of shared 304# memory, semaphores, and message queues, respectively. 305# 306options SYSVSHM 307options SYSVSEM 308options SYSVMSG 309 310 311##################################################################### 312# DEBUGGING OPTIONS 313 314# 315# Enable the kernel debugger. 316# 317options DDB 318 319# 320# Don't drop into DDB for a panic. Intended for unattended operation 321# where you may want to drop to DDB from the console, but still want 322# the machine to recover from a panic 323# 324options DDB_UNATTENDED 325 326# 327# If using GDB remote mode to debug the kernel, there's a non-standard 328# extension to the remote protocol that can be used to use the serial 329# port as both the debugging port and the system console. It's non- 330# standard and you're on your own if you enable it. See also the 331# "remotechat" variables in the FreeBSD specific version of gdb. 332# 333options GDB_REMOTE_CHAT 334 335# 336# KTRACE enables the system-call tracing facility ktrace(2). 337# 338options KTRACE #kernel tracing 339 340# 341# KTR is a kernel tracing mechanism imported from BSD/OS. Currently it 342# has no userland interface aside from a few sysctl's. It is enabled with 343# the KTR option. The KTR_EXTEND option causes trace events to be generated 344# as a string from snprintf rather than as a string and up to 5 argument 345# pointers. KTR_ENTRIES defines the number of entries in the circular trace 346# buffer. KTR_COMPILE defines the mask of events to compile into the kernel 347# as defined by the KTR_* constants in <sys/ktr.h>. KTR_MASK defines the 348# initial value of the ktr_mask variable which determines at runtime what 349# events to trace. KTR_CPUMASK determines which CPU's log events, with 350# bit X corresponding to cpu X. KTR_VERBOSE enables dumping of KTR events 351# to the console by default. This functionality can be toggled via the 352# debug.ktr_verbose sysctl and defaults to off if KTR_VERBOSE is not defined. 353# 354options KTR 355options KTR_EXTEND 356options KTR_ENTRIES=1024 357options KTR_COMPILE="(KTR_INTR|KTR_PROC)" 358options KTR_MASK=KTR_INTR 359options KTR_CPUMASK=0x3 360options KTR_VERBOSE 361 362# 363# The INVARIANTS option is used in a number of source files to enable 364# extra sanity checking of internal structures. This support is not 365# enabled by default because of the extra time it would take to check 366# for these conditions, which can only occur as a result of 367# programming errors. 368# 369options INVARIANTS 370 371# 372# The INVARIANT_SUPPORT option makes us compile in support for 373# verifying some of the internal structures. It is a prerequisite for 374# 'INVARIANTS', as enabling 'INVARIANTS' will make these functions be 375# called. The intent is that you can set 'INVARIANTS' for single 376# source files (by changing the source file or specifying it on the 377# command line) if you have 'INVARIANT_SUPPORT' enabled. Also, if you 378# wish to build a kernel module with 'INVARIANTS', then adding 379# 'INVARIANT_SUPPORT' to your kernel will provide all the necessary 380# infrastructure without the added overhead. 381# 382options INVARIANT_SUPPORT 383 384# 385# The DIAGNOSTIC option is used to enable extra debugging information 386# from some parts of the kernel. As this makes everything more noisy, 387# it is disabled by default. 388# 389options DIAGNOSTIC 390 391# 392# REGRESSION causes optional kernel interfaces necessary only for regression 393# testing to be enabled. These interfaces may consitute security risks 394# when enabled, as they permit processes to easily modify aspects of the 395# run-time environment to reproduce unlikely or unusual (possibly normally 396# impossible) scenarios. 397# 398options REGRESSION 399 400# 401# RESTARTABLE_PANICS allows one to continue from a panic as if it were 402# a call to the debugger via the Debugger() function instead. It is only 403# useful if a kernel debugger is present. To restart from a panic, reset 404# the panicstr variable to NULL and continue execution. This option is 405# for development use only and should NOT be used in production systems 406# to "workaround" a panic. 407# 408#options RESTARTABLE_PANICS 409 410# 411# PERFMON causes the driver for Pentium/Pentium Pro performance counters 412# to be compiled. See perfmon(4) for more information. 413# 414options PERFMON 415 416 417# 418# This option let some drivers co-exist that can't co-exist in a running 419# system. This is used to be able to compile all kernel code in one go for 420# quality assurance purposes (like this file, which the option takes it name 421# from.) 422# 423options COMPILING_LINT 424 425 426# XXX - this doesn't belong here. 427# Allow ordinary users to take the console - this is useful for X. 428options UCONSOLE 429 430# XXX - this doesn't belong here either 431#options USERCONFIG #boot -c editor 432#options INTRO_USERCONFIG #imply -c and show intro screen 433#options VISUAL_USERCONFIG #visual boot -c editor 434 435##################################################################### 436# NETWORKING OPTIONS 437 438# 439# Protocol families: 440# Only the INET (Internet) family is officially supported in FreeBSD. 441# Source code for the NS (Xerox Network Service) is provided for amusement 442# value. 443# 444options INET #Internet communications protocols 445options INET6 #IPv6 communications protocols 446options IPSEC #IP security 447options IPSEC_ESP #IP security (crypto; define w/ IPSEC) 448options IPSEC_DEBUG #debug for IP security 449 450options IPX #IPX/SPX communications protocols 451options IPXIP #IPX in IP encapsulation (not available) 452options IPTUNNEL #IP in IPX encapsulation (not available) 453 454#options NCP #NetWare Core protocol 455 456options NETATALK #Appletalk communications protocols 457options NETATALKDEBUG #Appletalk debugging 458 459# These are currently broken but are shipped due to interest. 460#options NS #Xerox NS protocols 461#options NSIP #XNS over IP 462 463# mchain library. It can be either loaded as KLD or compiled into kernel 464options LIBMCHAIN 465 466# netgraph(4). Enable the base netgraph code with the NETGRAPH option. 467# Individual node types can be enabled with the corresponding option 468# listed below; however, this is not strictly necessary as netgraph 469# will automatically load the corresponding KLD module if the node type 470# is not already compiled into the kernel. Each type below has a 471# corresponding man page, e.g., ng_async(8). 472options NETGRAPH #netgraph(4) system 473options NETGRAPH_ASYNC 474options NETGRAPH_BPF 475options NETGRAPH_CISCO 476options NETGRAPH_ECHO 477options NETGRAPH_ETHER 478options NETGRAPH_FRAME_RELAY 479options NETGRAPH_GIF 480options NETGRAPH_GIF_DEMUX 481options NETGRAPH_HOLE 482options NETGRAPH_IFACE 483options NETGRAPH_IP_INPUT 484options NETGRAPH_KSOCKET 485options NETGRAPH_LMI 486# MPPC compression requires proprietary files (not included) 487#options NETGRAPH_MPPC_COMPRESSION 488options NETGRAPH_MPPC_ENCRYPTION 489options NETGRAPH_ONE2MANY 490options NETGRAPH_PPP 491options NETGRAPH_PPPOE 492options NETGRAPH_PPTPGRE 493options NETGRAPH_RFC1490 494options NETGRAPH_SOCKET 495options NETGRAPH_SPLIT 496options NETGRAPH_TEE 497options NETGRAPH_TTY 498options NETGRAPH_UI 499options NETGRAPH_VJC 500 501device mn # Munich32x/Falc54 Nx64kbit/sec cards. 502device lmc # tulip based LanMedia WAN cards 503device musycc # LMC/SBE LMC1504 quad T1/E1 504 505# 506# Network interfaces: 507# The `loop' device is MANDATORY when networking is enabled. 508# The `ether' device provides generic code to handle 509# Ethernets; it is MANDATORY when a Ethernet device driver is 510# configured or token-ring is enabled. 511# The `fddi' device provides generic code to support FDDI. 512# The `sppp' device serves a similar role for certain types 513# of synchronous PPP links (like `cx', `ar'). 514# The `sl' device implements the Serial Line IP (SLIP) service. 515# The `ppp' device implements the Point-to-Point Protocol. 516# The `bpf' device enables the Berkeley Packet Filter. Be 517# aware of the legal and administrative consequences of enabling this 518# option. The number of devices determines the maximum number of 519# simultaneous BPF clients programs runnable. 520# The `disc' device implements a minimal network interface, 521# which throws away all packets sent and never receives any. It is 522# included for testing purposes. This shows up as the `ds' interface. 523# The `tap' device is a pty-like virtual Ethernet interface 524# The `tun' device implements (user-)ppp and nos-tun 525# The `gif' device implements IPv6 over IP4 tunneling, 526# IPv4 over IPv6 tunneling, IPv4 over IPv4 tunneling and 527# IPv6 over IPv6 tunneling. 528# The XBONEHACK option allows the same pair of addresses to be configured on 529# multiple gif interfaces. 530# The `faith' device captures packets sent to it and diverts them 531# to the IPv4/IPv6 translation daemon. 532# The `stf' device implements 6to4 encapsulation. 533# The `ef' device provides support for multiple ethernet frame types 534# specified via ETHER_* options. See ef(4) for details. 535# 536# The PPP_BSDCOMP option enables support for compress(1) style entire 537# packet compression, the PPP_DEFLATE is for zlib/gzip style compression. 538# PPP_FILTER enables code for filtering the ppp data stream and selecting 539# events for resetting the demand dial activity timer - requires bpf. 540# See pppd(8) for more details. 541# 542device ether #Generic Ethernet 543device vlan #VLAN support 544device token #Generic TokenRing 545device fddi #Generic FDDI 546device sppp #Generic Synchronous PPP 547device loop 1 #Network loopback device 548device bpf #Berkeley packet filter 549device disc #Discard device (ds0, ds1, etc) 550device tap #Virtual Ethernet driver 551device tun #Tunnel driver (ppp(8), nos-tun(8)) 552device sl #Serial Line IP 553device ppp 2 #Point-to-point protocol 554options PPP_BSDCOMP #PPP BSD-compress support 555options PPP_DEFLATE #PPP zlib/deflate/gzip support 556options PPP_FILTER #enable bpf filtering (needs bpf) 557 558device ef # Multiple ethernet frames support 559options ETHER_II # enable Ethernet_II frame 560options ETHER_8023 # enable Ethernet_802.3 (Novell) frame 561options ETHER_8022 # enable Ethernet_802.2 frame 562options ETHER_SNAP # enable Ethernet_802.2/SNAP frame 563 564# for IPv6 565device gif #IPv6 and IPv4 tunneling 566options XBONEHACK 567device faith #for IPv6 and IPv4 translation 568device stf #6to4 IPv6 over IPv4 encapsulation 569 570# 571# Internet family options: 572# 573# MROUTING enables the kernel multicast packet forwarder, which works 574# with mrouted(8). 575# 576# IPFIREWALL enables support for IP firewall construction, in 577# conjunction with the `ipfw' program. IPFIREWALL_VERBOSE sends 578# logged packets to the system logger. IPFIREWALL_VERBOSE_LIMIT 579# limits the number of times a matching entry can be logged. 580# 581# WARNING: IPFIREWALL defaults to a policy of "deny ip from any to any" 582# and if you do not add other rules during startup to allow access, 583# YOU WILL LOCK YOURSELF OUT. It is suggested that you set firewall_type=open 584# in /etc/rc.conf when first enabling this feature, then refining the 585# firewall rules in /etc/rc.firewall after you've tested that the new kernel 586# feature works properly. 587# 588# IPFIREWALL_DEFAULT_TO_ACCEPT causes the default rule (at boot) to 589# allow everything. Use with care, if a cracker can crash your 590# firewall machine, they can get to your protected machines. However, 591# if you are using it as an as-needed filter for specific problems as 592# they arise, then this may be for you. Changing the default to 'allow' 593# means that you won't get stuck if the kernel and /sbin/ipfw binary get 594# out of sync. 595# 596# IPDIVERT enables the divert IP sockets, used by ``ipfw divert'' 597# 598# IPSTEALTH enables code to support stealth forwarding (i.e., forwarding 599# packets without touching the ttl). This can be useful to hide firewalls 600# from traceroute and similar tools. 601# 602# TCPDEBUG enables code which keeps traces of the TCP state machine 603# for sockets with the SO_DEBUG option set, which can then be examined 604# using the trpt(8) utility. 605# 606options MROUTING # Multicast routing 607options IPFIREWALL #firewall 608options IPFIREWALL_VERBOSE #enable logging to syslogd(8) 609options IPFIREWALL_FORWARD #enable transparent proxy support 610options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity 611options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default 612options IPV6FIREWALL #firewall for IPv6 613options IPV6FIREWALL_VERBOSE 614options IPV6FIREWALL_VERBOSE_LIMIT=100 615options IPV6FIREWALL_DEFAULT_TO_ACCEPT 616options IPDIVERT #divert sockets 617options IPFILTER #ipfilter support 618options IPFILTER_LOG #ipfilter logging 619options IPFILTER_DEFAULT_BLOCK #block all packets by default 620options IPSTEALTH #support for stealth forwarding 621options TCPDEBUG 622 623# RANDOM_IP_ID causes the ID field in IP packets to be randomized 624# instead of incremented by 1 with each packet generated. This 625# option closes a minor information leak which allows remote 626# observers to determine the rate of packet generation on the 627# machine by watching the counter. 628options RANDOM_IP_ID 629 630# Statically Link in accept filters 631options ACCEPT_FILTER_DATA 632options ACCEPT_FILTER_HTTP 633 634# TCP_DROP_SYNFIN adds support for ignoring TCP packets with SYN+FIN. This 635# prevents nmap et al. from identifying the TCP/IP stack, but breaks support 636# for RFC1644 extensions and is not recommended for web servers. 637# 638options TCP_DROP_SYNFIN #drop TCP packets with SYN+FIN 639 640# DUMMYNET enables the "dummynet" bandwidth limiter. You need 641# IPFIREWALL as well. See the dummynet(4) and ipfw(8) manpages for more info. 642# When you run DUMMYNET it is advisable to also have "options HZ=1000" 643# to achieve a smoother scheduling of the traffic. 644# 645# BRIDGE enables bridging between ethernet cards -- see bridge(4). 646# You can use IPFIREWALL and DUMMYNET together with bridging. 647# 648options DUMMYNET 649options BRIDGE 650 651# 652# ATM (HARP version) options 653# 654# ATM_CORE includes the base ATM functionality code. This must be included 655# for ATM support. 656# 657# ATM_IP includes support for running IP over ATM. 658# 659# At least one (and usually only one) of the following signalling managers 660# must be included (note that all signalling managers include PVC support): 661# ATM_SIGPVC includes support for the PVC-only signalling manager `sigpvc'. 662# ATM_SPANS includes support for the `spans' signalling manager, which runs 663# the FORE Systems's proprietary SPANS signalling protocol. 664# ATM_UNI includes support for the `uni30' and `uni31' signalling managers, 665# which run the ATM Forum UNI 3.x signalling protocols. 666# 667# The `hea' driver provides support for the Efficient Networks, Inc. 668# ENI-155p ATM PCI Adapter. 669# 670# The `hfa' driver provides support for the FORE Systems, Inc. 671# PCA-200E ATM PCI Adapter. 672# 673options ATM_CORE #core ATM protocol family 674options ATM_IP #IP over ATM support 675options ATM_SIGPVC #SIGPVC signalling manager 676options ATM_SPANS #SPANS signalling manager 677options ATM_UNI #UNI signalling manager 678device hea #Efficient ENI-155p ATM PCI 679device hfa #FORE PCA-200E ATM PCI 680 681# 682# DEVICE_POLLING adds support for mixed interrupt-polling handling 683# of network device drivers, which has significant benefits in terms 684# of robustness to overloads and responsivity, as well as permitting 685# accurate scheduling of the CPU time between kernel network processing 686# and other activities. The drawback is a moderate (up to 1/HZ seconds) 687# potential increase in response times. 688# It is strongly recommended to use HZ=1000 or 2000 with DEVICE_POLLING 689# to achieve smoother behaviour. 690# Additionally, you can enable/disable polling at runtime with the 691# sysctl variable kern.polling.enable (defaults off), and select 692# the CPU fraction reserved to userland with the sysctl variable 693# kern.polling.user_frac (default 50, range 0..100). 694# 695# Only the "dc" "fxp" and "sis" devices support this mode of operation at 696# the time of this writing. 697 698options DEVICE_POLLING 699 700 701##################################################################### 702# FILESYSTEM OPTIONS 703 704# 705# Only the root, /usr, and /tmp filesystems need be statically 706# compiled; everything else will be automatically loaded at mount 707# time. (Exception: the UFS family--- FFS --- cannot 708# currently be demand-loaded.) Some people still prefer to statically 709# compile other filesystems as well. 710# 711# NB: The NULL, PORTAL, UMAP and UNION filesystems are known to be 712# buggy, and WILL panic your system if you attempt to do anything with 713# them. They are included here as an incentive for some enterprising 714# soul to sit down and fix them. 715# 716 717# One of these is mandatory: 718options FFS #Fast filesystem 719options NFSCLIENT #Network File System 720options NFSSERVER #Network File System 721 722# The rest are optional: 723options CD9660 #ISO 9660 filesystem 724options FDESCFS #File descriptor filesystem 725options HPFS #OS/2 File system 726options MSDOSFS #MS DOS File System (FAT, FAT32) 727options NTFS #NT File System 728options NULLFS #NULL filesystem 729#options NWFS #NetWare filesystem 730options PORTALFS #Portal filesystem 731options PROCFS #Process filesystem (requires PSEUDOFS) 732options PSEUDOFS #Pseudo-filesystem framework 733options UMAPFS #UID map filesystem 734options UNIONFS #Union filesystem 735# options NODEVFS #disable devices filesystem 736# The xFS_ROOT options REQUIRE the associated ``options xFS'' 737options NFS_ROOT #NFS usable as root device 738# This code enables IFS, an FFS which exports inodes as the namespace. 739# You can find details in src/sys/ufs/ifs/README . 740options IFS 741 742# Soft updates is a technique for improving file system speed and 743# making abrupt shutdown less risky. 744# 745options SOFTUPDATES 746 747# Extended attributes allow additional data to be associated with files, 748# and is used for ACLs, Capabilities, and MAC labels. 749# See src/sys/ufs/ufs/README.extattr for more information. 750options UFS_EXTATTR 751options UFS_EXTATTR_AUTOSTART 752 753# Access Control List support for UFS filesystems. The current ACL 754# implementation requires extended attribute support, UFS_EXTATTR, 755# for the underlying filesystem. 756# See src/sys/ufs/ufs/README.acls for more information. 757options UFS_ACL 758 759# Directory hashing improves the speed of operations on very large 760# directories at the expense of some memory. 761options UFS_DIRHASH 762 763# Make space in the kernel for a root filesystem on a md device. 764# Define to the number of kilobytes to reserve for the filesystem. 765options MD_ROOT_SIZE=10 766 767# Make the md device a potential root device, either with preloaded 768# images of type mfs_root or md_root. 769options MD_ROOT 770 771# Allow this many swap-devices. 772# 773# In order to manage swap, the system must reserve bitmap space that 774# scales with the largest mounted swap device multiplied by NSWAPDEV, 775# irregardless of whether other swap devices exist or not. So it 776# is not a good idea to make this value too large. 777options NSWAPDEV=5 778 779# Disk quotas are supported when this option is enabled. 780options QUOTA #enable disk quotas 781 782# If you are running a machine just as a fileserver for PC and MAC 783# users, using SAMBA or Netatalk, you may consider setting this option 784# and keeping all those users' directories on a filesystem that is 785# mounted with the suiddir option. This gives new files the same 786# ownership as the directory (similar to group). It's a security hole 787# if you let these users run programs, so confine it to file-servers 788# (but it'll save you lots of headaches in those cases). Root owned 789# directories are exempt and X bits are cleared. The suid bit must be 790# set on the directory as well; see chmod(1) PC owners can't see/set 791# ownerships so they keep getting their toes trodden on. This saves 792# you all the support calls as the filesystem it's used on will act as 793# they expect: "It's my dir so it must be my file". 794# 795options SUIDDIR 796 797# NFS options: 798options NFS_MINATTRTIMO=3 # VREG attrib cache timeout in sec 799options NFS_MAXATTRTIMO=60 800options NFS_MINDIRATTRTIMO=30 # VDIR attrib cache timeout in sec 801options NFS_MAXDIRATTRTIMO=60 802options NFS_GATHERDELAY=10 # Default write gather delay (msec) 803options NFS_UIDHASHSIZ=29 # Tune the size of nfssvc_sock with this 804options NFS_WDELAYHASHSIZ=16 # and with this 805options NFS_MUIDHASHSIZ=63 # Tune the size of nfsmount with this 806options NFS_DEBUG # Enable NFS Debugging 807 808# Coda stuff: 809options CODA #CODA filesystem. 810device vcoda 4 #coda minicache <-> venus comm. 811 812# 813# Add support for the EXT2FS filesystem of Linux fame. Be a bit 814# careful with this - the ext2fs code has a tendency to lag behind 815# changes and not be exercised very much, so mounting read/write could 816# be dangerous (and even mounting read only could result in panics.) 817# 818options EXT2FS 819 820# Use real implementations of the aio_* system calls. There are numerous 821# stability and security issues in the current aio code that make it 822# unsuitable for inclusion on machines with untrusted local users. 823options VFS_AIO 824 825# Enable the code UFS IO optimization through the VM system. This allows 826# use VM operations instead of copying operations when possible. 827# 828# Even with this enabled, actual use of the code is still controlled by the 829# sysctl vfs.ioopt. 0 gives no optimization, 1 gives normal (use VM 830# operations if a request happens to fit), 2 gives agressive optimization 831# (the operations are split to do as much as possible through the VM system.) 832# 833# Enabling this will probably not give an overall speedup except for 834# special workloads. 835options ENABLE_VFS_IOOPT 836 837# Cryptographically secure random number generator; /dev/[u]random 838device random 839 840 841##################################################################### 842# POSIX P1003.1B 843 844# Real time extensions added in the 1993 Posix 845# P1003_1B: Infrastructure 846# _KPOSIX_PRIORITY_SCHEDULING: Build in _POSIX_PRIORITY_SCHEDULING 847# _KPOSIX_VERSION: Version kernel is built for 848 849options P1003_1B 850options _KPOSIX_PRIORITY_SCHEDULING 851options _KPOSIX_VERSION=199309L 852 853 854##################################################################### 855# CLOCK OPTIONS 856 857# The granularity of operation is controlled by the kernel option HZ whose 858# default value (100) means a granularity of 10ms (1s/HZ). 859# Some subsystems, such as DUMMYNET, might benefit from a smaller 860# granularity such as 1ms or less, for a smoother scheduling of packets. 861# Consider, however, that reducing the granularity too much might 862# cause excessive overhead in clock interrupt processing, 863# potentially causing ticks to be missed and thus actually reducing 864# the accuracy of operation. 865 866options HZ=100 867 868# Other clock options 869 870options CLK_CALIBRATION_LOOP 871options CLK_USE_I8254_CALIBRATION 872options CLK_USE_TSC_CALIBRATION 873 874 875##################################################################### 876# SCSI DEVICES 877 878# SCSI DEVICE CONFIGURATION 879 880# The SCSI subsystem consists of the `base' SCSI code, a number of 881# high-level SCSI device `type' drivers, and the low-level host-adapter 882# device drivers. The host adapters are listed in the ISA and PCI 883# device configuration sections below. 884# 885# Beginning with FreeBSD 2.0.5 you can wire down your SCSI devices so 886# that a given bus, target, and LUN always come on line as the same 887# device unit. In earlier versions the unit numbers were assigned 888# in the order that the devices were probed on the SCSI bus. This 889# means that if you removed a disk drive, you may have had to rewrite 890# your /etc/fstab file, and also that you had to be careful when adding 891# a new disk as it may have been probed earlier and moved your device 892# configuration around. 893 894# This old behavior is maintained as the default behavior. The unit 895# assignment begins with the first non-wired down unit for a device 896# type. For example, if you wire a disk as "da3" then the first 897# non-wired disk will be assigned da4. 898 899# The syntax for wiring down devices is: 900 901hint.scbus.0.at="ahc0" 902hint.scbus.1.at="ahc1" 903hint.scbus.1.bus="0" 904hint.scbus.3.at="ahc2" 905hint.scbus.3.bus="0" 906hint.scbus.2.at="ahc2" 907hint.scbus.2.bus="1" 908hint.da.0.at="scbus0" 909hint.da.0.target="0" 910hint.da.0.unit="0" 911hint.da.1.at="scbus3" 912hint.da.1.target="1" 913hint.da.2.at="scbus2" 914hint.da.2.target="3" 915hint.sa.1.at="scbus1" 916hint.sa.1.target="6" 917 918# "units" (SCSI logical unit number) that are not specified are 919# treated as if specified as LUN 0. 920 921# All SCSI devices allocate as many units as are required. 922 923# The ch driver drives SCSI Media Changer ("jukebox") devices. 924# 925# The da driver drives SCSI Direct Access ("disk") and Optical Media 926# ("WORM") devices. 927# 928# The sa driver drives SCSI Sequential Access ("tape") devices. 929# 930# The cd driver drives SCSI Read Only Direct Access ("cd") devices. 931# 932# The ses driver drives SCSI Envinronment Services ("ses") and 933# SAF-TE ("SCSI Accessable Fault-Tolerant Enclosure") devices. 934# 935# The pt driver drives SCSI Processor devices. 936# 937# 938# Target Mode support is provided here but also requires that a SIM 939# (SCSI Host Adapter Driver) provide support as well. 940# 941# The targ driver provides target mode support as a Processor type device. 942# It exists to give the minimal context necessary to respond to Inquiry 943# commands. There is a sample user application that shows how the rest 944# of the command support might be done in /usr/share/examples/scsi_target. 945# 946# The targbh driver provides target mode support and exists to respond 947# to incoming commands that do not otherwise have a logical unit assigned 948# to them. 949# 950# The "unknown" device (uk? in pre-2.0.5) is now part of the base SCSI 951# configuration as the "pass" driver. 952 953device scbus #base SCSI code 954device ch #SCSI media changers 955device da #SCSI direct access devices (aka disks) 956device sa #SCSI tapes 957device cd #SCSI CD-ROMs 958device ses #SCSI Environmental Services (and SAF-TE) 959device pt #SCSI processor 960device targ #SCSI Target Mode Code 961device targbh #SCSI Target Mode Blackhole Device 962device pass #CAM passthrough driver 963 964# CAM OPTIONS: 965# debugging options: 966# -- NOTE -- If you specify one of the bus/target/lun options, you must 967# specify them all! 968# CAMDEBUG: When defined enables debugging macros 969# CAM_DEBUG_BUS: Debug the given bus. Use -1 to debug all busses. 970# CAM_DEBUG_TARGET: Debug the given target. Use -1 to debug all targets. 971# CAM_DEBUG_LUN: Debug the given lun. Use -1 to debug all luns. 972# CAM_DEBUG_FLAGS: OR together CAM_DEBUG_INFO, CAM_DEBUG_TRACE, 973# CAM_DEBUG_SUBTRACE, and CAM_DEBUG_CDB 974# 975# CAM_MAX_HIGHPOWER: Maximum number of concurrent high power (start unit) cmds 976# CAM_NEW_TRAN_CODE: this is the new transport layer code that will be switched 977# to soon 978# SCSI_NO_SENSE_STRINGS: When defined disables sense descriptions 979# SCSI_NO_OP_STRINGS: When defined disables opcode descriptions 980# SCSI_DELAY: The number of MILLISECONDS to freeze the SIM (scsi adapter) 981# queue after a bus reset, and the number of milliseconds to 982# freeze the device queue after a bus device reset. 983options CAMDEBUG 984options CAM_DEBUG_BUS=-1 985options CAM_DEBUG_TARGET=-1 986options CAM_DEBUG_LUN=-1 987options CAM_DEBUG_FLAGS="CAM_DEBUG_INFO|CAM_DEBUG_TRACE|CAM_DEBUG_CDB" 988options CAM_MAX_HIGHPOWER=4 989options SCSI_NO_SENSE_STRINGS 990options SCSI_NO_OP_STRINGS 991options SCSI_DELAY=8000 # Be pessimistic about Joe SCSI device 992 993# Options for the CAM CDROM driver: 994# CHANGER_MIN_BUSY_SECONDS: Guaranteed minimum time quantum for a changer LUN 995# CHANGER_MAX_BUSY_SECONDS: Maximum time quantum per changer LUN, only 996# enforced if there is I/O waiting for another LUN 997# The compiled in defaults for these variables are 2 and 10 seconds, 998# respectively. 999# 1000# These can also be changed on the fly with the following sysctl variables: 1001# kern.cam.cd.changer.min_busy_seconds 1002# kern.cam.cd.changer.max_busy_seconds 1003# 1004options CHANGER_MIN_BUSY_SECONDS=2 1005options CHANGER_MAX_BUSY_SECONDS=10 1006 1007# Options for the CAM sequential access driver: 1008# SA_IO_TIMEOUT: Timeout for read/write/wfm operations, in minutes 1009# SA_SPACE_TIMEOUT: Timeout for space operations, in minutes 1010# SA_REWIND_TIMEOUT: Timeout for rewind operations, in minutes 1011# SA_ERASE_TIMEOUT: Timeout for erase operations, in minutes 1012# SA_1FM_AT_EOD: Default to model which only has a default one filemark at EOT. 1013options SA_IO_TIMEOUT="(4)" 1014options SA_SPACE_TIMEOUT="(60)" 1015options SA_REWIND_TIMEOUT="(2*60)" 1016options SA_ERASE_TIMEOUT="(4*60)" 1017options SA_1FM_AT_EOD 1018 1019# Optional timeout for the CAM processor target (pt) device 1020# This is specified in seconds. The default is 60 seconds. 1021options SCSI_PT_DEFAULT_TIMEOUT="60" 1022 1023# Optional enable of doing SES passthrough on other devices (e.g., disks) 1024# 1025# Normally disabled because a lot of newer SCSI disks report themselves 1026# as having SES capabilities, but this can then clot up attempts to build 1027# build a topology with the SES device that's on the box these drives 1028# are in.... 1029options SES_ENABLE_PASSTHROUGH 1030 1031 1032##################################################################### 1033# MISCELLANEOUS DEVICES AND OPTIONS 1034 1035# The `pty' device usually turns out to be ``effectively mandatory'', 1036# as it is required for `telnetd', `rlogind', `screen', `emacs', and 1037# `xterm', among others. 1038 1039device pty #Pseudo ttys 1040device speaker #Play IBM BASIC-style noises out your speaker 1041device gzip #Exec gzipped a.out's 1042device md #Memory/malloc disk 1043device snp #Snoop device - to look at pty/vty/etc.. 1044device ccd #Concatenated disk driver 1045 1046# Configuring Vinum into the kernel is not necessary, since the kld 1047# module gets started automatically when vinum(8) starts. This 1048# device is also untested. Use at your own risk. 1049# 1050# The option VINUMDEBUG must match the value set in CFLAGS 1051# in src/sbin/vinum/Makefile. Failure to do so will result in 1052# the following message from vinum(8): 1053# 1054# Can't get vinum config: Invalid argument 1055# 1056# see vinum(4) for more reasons not to use these options. 1057device vinum #Vinum concat/mirror/raid driver 1058options VINUMDEBUG #enable Vinum debugging hooks 1059 1060# Kernel side iconv library 1061options LIBICONV 1062 1063# Size of the kernel message buffer. Should be N * pagesize. 1064options MSGBUF_SIZE=40960 1065 1066 1067##################################################################### 1068# HARDWARE BUS CONFIGURATION 1069 1070# ISA, EISA, MCA and PCI bus: 1071 1072# 1073# Mandatory ISA devices: isa, npx 1074# 1075device isa 1076 1077# 1078# Options for `isa': 1079# 1080# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A 1081# interrupt controller. This saves about 0.7-1.25 usec for each interrupt. 1082# This option breaks suspend/resume on some portables. 1083# 1084# AUTO_EOI_2 enables the `automatic EOI' feature for the slave 8259A 1085# interrupt controller. This saves about 0.7-1.25 usec for each interrupt. 1086# Automatic EOI is documented not to work for for the slave with the 1087# original i8259A, but it works for some clones and some integrated 1088# versions. 1089# 1090# MAXMEM specifies the amount of RAM on the machine; if this is not 1091# specified, FreeBSD will first read the amount of memory from the CMOS 1092# RAM, so the amount of memory will initially be limited to 64MB or 16MB 1093# depending on the BIOS. If the BIOS reports 64MB, a memory probe will 1094# then attempt to detect the installed amount of RAM. If this probe 1095# fails to detect >64MB RAM you will have to use the MAXMEM option. 1096# The amount is in kilobytes, so for a machine with 128MB of RAM, it would 1097# be 131072 (128 * 1024). 1098# 1099# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to 1100# reset the CPU for reboot. This is needed on some systems with broken 1101# keyboard controllers. 1102 1103options COMPAT_OLDISA #Use ISA shims and glue for old drivers 1104options AUTO_EOI_1 1105#options AUTO_EOI_2 1106 1107options MAXMEM="(128*1024)" 1108#options BROKEN_KEYBOARD_RESET 1109 1110# Enable support for the kernel PLL to use an external PPS signal, 1111# under supervision of [x]ntpd(8) 1112# More info in ntpd documentation: http://www.eecis.udel.edu/~ntp 1113 1114options PPS_SYNC 1115 1116# If you see the "calcru: negative time of %ld usec for pid %d (%s)\n" 1117# message you probably have some broken sw/hw which disables interrupts 1118# for too long. You can make the system more resistant to this by 1119# choosing a high value for NTIMECOUNTER. The default is 5, there 1120# is no upper limit but more than a couple of hundred are not productive. 1121# A better strategy may be to sysctl -w kern.timecounter.method=1 1122 1123options NTIMECOUNTER=20 1124 1125# 1126# EISA bus 1127# 1128# The EISA bus device is `eisa'. It provides auto-detection and 1129# configuration support for all devices on the EISA bus. 1130 1131device eisa 1132 1133# By default, only 10 EISA slots are probed, since the slot numbers 1134# above clash with the configuration address space of the PCI subsystem, 1135# and the EISA probe is not very smart about this. This is sufficient 1136# for most machines, but in particular the HP NetServer LC series comes 1137# with an onboard AIC7770 dual-channel SCSI controller on EISA slot #11, 1138# thus you need to bump this figure to 12 for them. 1139options EISA_SLOTS=12 1140 1141# 1142# MCA bus: 1143# 1144# The MCA bus device is `mca'. It provides auto-detection and 1145# configuration support for all devices on the MCA bus. 1146# No hints are required for MCA. 1147 1148device mca 1149 1150# 1151# PCI bus & PCI options: 1152# 1153# The main PCI bus device is `pci'. It provides auto-detection and 1154# configuration support for all devices on the PCI bus, using either 1155# configuration mode defined in the PCI specification. 1156 1157device pci 1158 1159# 1160# AGP GART support 1161device agp 1162 1163# PCI options 1164# 1165#Enable pci resources left off by a "lazy" BIOS: 1166options PCI_ENABLE_IO_MODES 1167#options PCI_QUIET #quiets PCI code on chipset settings 1168 1169 1170##################################################################### 1171# HARDWARE DEVICE CONFIGURATION 1172 1173# EISA support is available for some device, so they can be auto-probed. 1174# MicroChannel (MCA) support is available for some devices. 1175# For ISA the required hints are listed. 1176# EISA, MCA, PCI and pccard are self identifying buses, so no hints 1177# are needed. 1178 1179# 1180# Mandatory devices: 1181# 1182 1183# The keyboard controller; it controls the keyboard and the PS/2 mouse. 1184device atkbdc 1 1185hint.atkbdc.0.at="isa" 1186hint.atkbdc.0.port="0x060" 1187 1188# The AT keyboard 1189device atkbd 1190hint.atkbd.0.at="atkbdc" 1191hint.atkbd.0.irq="1" 1192 1193# Options for atkbd: 1194options ATKBD_DFLT_KEYMAP # specify the built-in keymap 1195makeoptions ATKBD_DFLT_KEYMAP="jp.106" 1196 1197# These options are valid for other keyboard drivers as well. 1198options KBD_DISABLE_KEYMAP_LOAD # refuse to load a keymap 1199options KBD_INSTALL_CDEV # install a CDEV entry in /dev 1200 1201# `flags' for atkbd: 1202# 0x01 Force detection of keyboard, else we always assume a keyboard 1203# 0x02 Don't reset keyboard, useful for some newer ThinkPads 1204# 0x03 Force detection and avoid reset, might help with certain 1205# dockingstations 1206# 0x04 Old-style (XT) keyboard support, useful for older ThinkPads 1207 1208# PS/2 mouse 1209device psm 1210hint.psm.0.at="atkbdc" 1211hint.psm.0.irq="12" 1212 1213# Options for psm: 1214options PSM_HOOKRESUME #hook the system resume event, useful 1215 #for some laptops 1216options PSM_RESETAFTERSUSPEND #reset the device at the resume event 1217 1218# The video card driver. 1219device vga 1220hint.vga.0.at="isa" 1221 1222# Options for vga: 1223# Try the following option if the mouse pointer is not drawn correctly 1224# or font does not seem to be loaded properly. May cause flicker on 1225# some systems. 1226options VGA_ALT_SEQACCESS 1227 1228# If you can dispense with some vga driver features, you may want to 1229# use the following options to save some memory. 1230#options VGA_NO_FONT_LOADING # don't save/load font 1231#options VGA_NO_MODE_CHANGE # don't change video modes 1232 1233# Older video cards may require this option for proper operation. 1234options VGA_SLOW_IOACCESS # do byte-wide i/o's to TS and GDC regs 1235 1236# The following option probably won't work with the LCD displays. 1237options VGA_WIDTH90 # support 90 column modes 1238 1239# To include support for VESA video modes 1240options VESA 1241 1242options FB_DEBUG # Frame buffer debugging 1243options FB_INSTALL_CDEV # install a CDEV entry in /dev 1244 1245# Splash screen at start up! Screen savers require this too. 1246device splash 1247 1248# Various screen savers. 1249device apm_saver # Requires APM 1250device blank_saver 1251device daemon_saver 1252device fade_saver 1253device fire_saver 1254device green_saver 1255device logo_saver 1256device rain_saver 1257device star_saver 1258device warp_saver 1259 1260# The pcvt console driver (vt220 compatible). 1261device vt 1262hint.vt.0.at="isa" 1263options XSERVER # support for running an X server on vt 1264options FAT_CURSOR # start with block cursor 1265# This PCVT option is for keyboards such as those used on really old ThinkPads 1266options PCVT_SCANSET=2 1267# Other PCVT options are documented in pcvt(4). 1268options PCVT_24LINESDEF 1269options PCVT_CTRL_ALT_DEL 1270options PCVT_META_ESC 1271options PCVT_NSCREENS=9 1272options PCVT_PRETTYSCRNS 1273options PCVT_SCREENSAVER 1274options PCVT_USEKBDSEC 1275options PCVT_VT220KEYB 1276options PCVT_GREENSAVER 1277 1278# The syscons console driver (sco color console compatible). 1279device sc 1 1280hint.sc.0.at="isa" 1281options MAXCONS=16 # number of virtual consoles 1282options SC_ALT_MOUSE_IMAGE # simplified mouse cursor in text mode 1283options SC_DFLT_FONT # compile font in 1284makeoptions SC_DFLT_FONT=cp850 1285options SC_DISABLE_DDBKEY # disable `debug' key 1286options SC_DISABLE_REBOOT # disable reboot key sequence 1287options SC_HISTORY_SIZE=200 # number of history buffer lines 1288options SC_MOUSE_CHAR=0x3 # char code for text mode mouse cursor 1289options SC_PIXEL_MODE # add support for the raster text mode 1290 1291# The following options will let you change the default colors of syscons. 1292options SC_NORM_ATTR="(FG_GREEN|BG_BLACK)" 1293options SC_NORM_REV_ATTR="(FG_YELLOW|BG_GREEN)" 1294options SC_KERNEL_CONS_ATTR="(FG_RED|BG_BLACK)" 1295options SC_KERNEL_CONS_REV_ATTR="(FG_BLACK|BG_RED)" 1296 1297# The following options will let you change the default behaviour of 1298# cut-n-paste feature 1299options SC_CUT_SPACES2TABS # convert leading spaces into tabs 1300options SC_CUT_SEPCHARS="\x20" # set of characters that delimit words 1301 # (default is single space - "\x20") 1302 1303# If you have a two button mouse, you may want to add the following option 1304# to use the right button of the mouse to paste text. 1305options SC_TWOBUTTON_MOUSE 1306 1307# You can selectively disable features in syscons. 1308options SC_NO_CUTPASTE 1309options SC_NO_FONT_LOADING 1310options SC_NO_HISTORY 1311options SC_NO_SYSMOUSE 1312 1313# `flags' for sc 1314# 0x80 Put the video card in the VESA 800x600 dots, 16 color mode 1315# 0x100 Probe for a keyboard device periodically if one is not present 1316 1317# 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support. This will create 1318# the /dev/3dfx0 device to work with glide implementations. This should get 1319# linked to /dev/3dfx and /dev/voodoo. Note that this is not the same as 1320# the tdfx DRI module from XFree86 and is completely unrelated. 1321# 1322# To enable Linuxulator support, one must also include COMPAT_LINUX in the 1323# config as well, or you will not have the dependencies. The other option 1324# is to load both as modules. 1325 1326device tdfx # Enable 3Dfx Voodoo support 1327options TDFX_LINUX # Enable Linuxulator support 1328 1329# 1330# The Numeric Processing eXtension driver. In addition to this, you 1331# may configure a math emulator (see above). If your machine has a 1332# hardware FPU and the kernel configuration includes the npx device 1333# *and* a math emulator compiled into the kernel, the hardware FPU 1334# will be used, unless it is found to be broken or unless "flags" to 1335# npx0 includes "0x08", which requests preference for the emulator. 1336device npx 1337hint.npx.0.at="nexus" 1338hint.npx.0.port="0x0F0" 1339hint.npx.0.flags="0x0" 1340hint.npx.0.irq="13" 1341 1342# 1343# `flags' for npx0: 1344# 0x01 don't use the npx registers to optimize bcopy. 1345# 0x02 don't use the npx registers to optimize bzero. 1346# 0x04 don't use the npx registers to optimize copyin or copyout. 1347# 0x08 use emulator even if hardware FPU is available. 1348# The npx registers are normally used to optimize copying and zeroing when 1349# all of the following conditions are satisfied: 1350# I586_CPU is an option 1351# the cpu is an i586 (perhaps not a Pentium) 1352# the probe for npx0 succeeds 1353# INT 16 exception handling works. 1354# Then copying and zeroing using the npx registers is normally 30-100% faster. 1355# The flags can be used to control cases where it doesn't work or is slower. 1356# Setting them at boot time using userconfig works right (the optimizations 1357# are not used until later in the bootstrap when npx0 is attached). 1358# Flag 0x08 automatically disables the i586 optimized routines. 1359# 1360 1361# 1362# ACPI support using the Intel ACPI Component Architecture reference 1363# implementation. 1364# 1365# ACPI_DEBUG enables the use of the debug.acpi.level and debug.acpi.layer 1366# kernel environment variables to select initial debugging levels for the 1367# Intel ACPICA code. (Note that the Intel code must also have USE_DEBUGGER 1368# defined when it is built). 1369# 1370# Note that building ACPI into the kernel is deprecated; the module is 1371# normally loaded automatically by the loader. 1372# 1373device acpica 1374options ACPI_DEBUG 1375 1376# 1377# Optional devices: 1378# 1379 1380# 1381# SCSI host adapters: 1382# 1383# adv: All Narrow SCSI bus AdvanSys controllers. 1384# adw: Second Generation AdvanSys controllers including the ADV940UW. 1385# aha: Adaptec 154x/1535/1640 1386# ahb: Adaptec 174x EISA controllers 1387# ahc: Adaptec 274x/284x/2910/293x/294x/394x/3950x/3960x/398X/4944/ 1388# 19160x/29160x, aic7770/aic78xx 1389# aic: Adaptec 6260/6360, APA-1460 (PC Card), NEC PC9801-100 (C-BUS) 1390# amd: Support for the AMD 53C974 SCSI host adapter chip as found on devices 1391# such as the Tekram DC-390(T). 1392# bt: Most Buslogic controllers: including BT-445, BT-54x, BT-64x, BT-74x, 1393# BT-75x, BT-946, BT-948, BT-956, BT-958, SDC3211B, SDC3211F, SDC3222F 1394# isp: Qlogic ISP 1020, 1040 and 1040B PCI SCSI host adapters, 1395# ISP 1240 Dual Ultra SCSI, ISP 1080 and 1280 (Dual) Ultra2, 1396# ISP 12160 Ultra3 SCSI, 1397# Qlogic ISP 2100 and ISP 2200 1Gb Fibre Channel host adapters. 1398# Qlogic ISP 2300 and ISP 2312 2Gb Fibre Channel host adapters. 1399# ispfw: Firmware module for Qlogic host adapters 1400# ncr: NCR 53C810, 53C825 self-contained SCSI host adapters. 1401# ncv: NCR 53C500 based SCSI host adapters. 1402# nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters. 1403# sym: Symbios/Logic 53C8XX family of PCI-SCSI I/O processors: 1404# 53C810, 53C810A, 53C815, 53C825, 53C825A, 53C860, 53C875, 1405# 53C876, 53C885, 53C895, 53C895A, 53C896, 53C897, 53C1510D, 1406# 53C1010-33, 53C1010-66. 1407# stg: TMC 18C30, 18C50 based SCSI host adapters. 1408# wds: WD7000 1409 1410# 1411# Note that the order is important in order for Buslogic ISA/EISA cards to be 1412# probed correctly. 1413# 1414device bt 1415hint.bt.0.at="isa" 1416hint.bt.0.port="0x330" 1417device adv 1418hint.adv.0.at="isa" 1419device adw 1420device aha 1421hint.aha.0.at="isa" 1422device aic 1423hint.aic.0.at="isa" 1424device ahb 1425device ahc 1426device amd 1427device isp 1428hint.isp.0.disable="1" 1429hint.isp.0.role="3" 1430hint.isp.0.prefer_iomap="1" 1431hint.isp.0.prefer_memmap="1" 1432hint.isp.0.fwload_disable="1" 1433hint.isp.0.ignore_nvram="1" 1434hint.isp.0.fullduplex="1" 1435hint.isp.0.topology="lport" 1436hint.isp.0.topology="nport" 1437hint.isp.0.topology="lport-only" 1438hint.isp.0.topology="nport-only" 1439# we can't get u_int64_t types, nor can we get strings if it's got 1440# a leading 0x, hence this silly dodge. 1441hint.isp.0.portwnn="w50000000aaaa0000" 1442hint.isp.0.nodewnn="w50000000aaaa0001" 1443device ispfw 1444device ncr 1445device ncv 1446device nsp 1447device sym 1448device stg 1449hint.stg.0.at="isa" 1450hint.stg.0.port="0x140" 1451hint.stg.0.port="11" 1452device wds 1453hint.wds.0.at="isa" 1454hint.wds.0.port="0x350" 1455hint.wds.0.irq="11" 1456hint.wds.0.drq="6" 1457 1458# The aic7xxx driver will attempt to use memory mapped I/O for all PCI 1459# controllers that have it configured only if this option is set. Unfortunately, 1460# this doesn't work on some motherboards, which prevents it from being the 1461# default. 1462options AHC_ALLOW_MEMIO 1463 1464# Enable diagnostic sequencer code. 1465options AHC_DEBUG_SEQUENCER 1466 1467# Dump the contents of the ahc controller configuration PROM. 1468options AHC_DUMP_EEPROM 1469 1470# Bitmap of units to enable targetmode operations. 1471options AHC_TMODE_ENABLE 1472 1473# The adw driver will attempt to use memory mapped I/O for all PCI 1474# controllers that have it configured only if this option is set. 1475options ADW_ALLOW_MEMIO 1476 1477# Options used in dev/isp/ (Qlogic SCSI/FC driver). 1478# 1479# ISP_TARGET_MODE - enable target mode operation 1480# 1481#options ISP_TARGET_MODE=1 1482 1483# Options used in dev/sym/ (Symbios SCSI driver). 1484#options SYM_SETUP_LP_PROBE_MAP #-Low Priority Probe Map (bits) 1485 # Allows the ncr to take precedence 1486 # 1 (1<<0) -> 810a, 860 1487 # 2 (1<<1) -> 825a, 875, 885, 895 1488 # 4 (1<<2) -> 895a, 896, 1510d 1489#options SYM_SETUP_SCSI_DIFF #-HVD support for 825a, 875, 885 1490 # disabled:0 (default), enabled:1 1491#options SYM_SETUP_PCI_PARITY #-PCI parity checking 1492 # disabled:0, enabled:1 (default) 1493#options SYM_SETUP_MAX_LUN #-Number of LUNs supported 1494 # default:8, range:[1..64] 1495 1496# The 'asr' driver provides support for current DPT/Adaptec SCSI RAID 1497# controllers (SmartRAID V and VI and later). 1498# These controllers require the CAM infrastructure. 1499# 1500device asr 1501 1502# The 'dpt' driver provides support for old DPT controllers (http://www.dpt.com/). 1503# These have hardware RAID-{0,1,5} support, and do multi-initiator I/O. 1504# The DPT controllers are commonly re-licensed under other brand-names - 1505# some controllers by Olivetti, Dec, HP, AT&T, SNI, AST, Alphatronic, NEC and 1506# Compaq are actually DPT controllers. 1507# 1508# See src/sys/dev/dpt for debugging and other subtle options. 1509# DPT_MEASURE_PERFORMANCE Enables a set of (semi)invasive metrics. Various 1510# instruments are enabled. The tools in 1511# /usr/sbin/dpt_* assume these to be enabled. 1512# DPT_HANDLE_TIMEOUTS Normally device timeouts are handled by the DPT. 1513# If you ant the driver to handle timeouts, enable 1514# this option. If your system is very busy, this 1515# option will create more trouble than solve. 1516# DPT_TIMEOUT_FACTOR Used to compute the excessive amount of time to 1517# wait when timing out with the above option. 1518# DPT_DEBUG_xxxx These are controllable from sys/dev/dpt/dpt.h 1519# DPT_LOST_IRQ When enabled, will try, once per second, to catch 1520# any interrupt that got lost. Seems to help in some 1521# DPT-firmware/Motherboard combinations. Minimal 1522# cost, great benefit. 1523# DPT_RESET_HBA Make "reset" actually reset the controller 1524# instead of fudging it. Only enable this if you 1525# are 100% certain you need it. 1526 1527device dpt 1528 1529# DPT options 1530#!CAM# options DPT_MEASURE_PERFORMANCE 1531#!CAM# options DPT_HANDLE_TIMEOUTS 1532options DPT_TIMEOUT_FACTOR=4 1533options DPT_LOST_IRQ 1534options DPT_RESET_HBA 1535options DPT_ALLOW_MEMIO 1536 1537# 1538# Compaq "CISS" RAID controllers (SmartRAID 5* series) 1539# These controllers have a SCSI-like interface, and require the 1540# CAM infrastructure. 1541# 1542device ciss 1543 1544# 1545# Mylex AcceleRAID and eXtremeRAID controllers with v6 and later 1546# firmware. These controllers have a SCSI-like interface, and require 1547# the CAM infrastructure. 1548# 1549device mly 1550 1551# 1552# Adaptec FSA RAID controllers, including integrated DELL controllers, 1553# the Dell PERC 2/QC and the HP NetRAID-4M 1554# 1555# AAC_COMPAT_LINUX Include code to support Linux-binary management 1556# utilities (requires Linux compatibility 1557# support). 1558# 1559device aac 1560 1561# 1562# Compaq Smart RAID, Mylex DAC960 and AMI MegaRAID controllers. Only 1563# one entry is needed; the code will find and configure all supported 1564# controllers. 1565# 1566device ida # Compaq Smart RAID 1567device mlx # Mylex DAC960 1568device amr # AMI MegaRAID 1569 1570# 1571# 3ware ATA RAID 1572# 1573device twe # 3ware ATA RAID 1574 1575# 1576# The 'ATA' driver supports all ATA and ATAPI devices, including PC Card 1577# devices. You only need one "device ata" for it to find all 1578# PCI and PC Card ATA/ATAPI devices on modern machines. 1579device ata 1580device atadisk # ATA disk drives 1581device atapicd # ATAPI CDROM drives 1582device atapifd # ATAPI floppy drives 1583device atapist # ATAPI tape drives 1584 1585# 1586# For older non-PCI, non-PnPBIOS systems, these are the hints lines to add: 1587hint.ata.0.at="isa" 1588hint.ata.0.port="0x1f0" 1589hint.ata.0.irq="14" 1590hint.ata.1.at="isa" 1591hint.ata.1.port="0x170" 1592hint.ata.1.irq="15" 1593 1594# 1595# The following options are valid on the ATA driver: 1596# 1597# ATA_STATIC_ID: controller numbering is static ie depends on location 1598# else the device numbers are dynamically allocated. 1599 1600options ATA_STATIC_ID 1601 1602# 1603# Standard floppy disk controllers and floppy tapes, supports 1604# the Y-E DATA External FDD (PC Card) 1605# 1606device fdc 1607hint.fdc.0.at="isa" 1608hint.fdc.0.port="0x3F0" 1609hint.fdc.0.irq="6" 1610hint.fdc.0.drq="2" 1611# 1612# FDC_DEBUG enables floppy debugging. Since the debug output is huge, you 1613# gotta turn it actually on by setting the variable fd_debug with DDB, 1614# however. 1615options FDC_DEBUG 1616# 1617# Activate this line if you happen to have an Insight floppy tape. 1618# Probing them proved to be dangerous for people with floppy disks only, 1619# so it's "hidden" behind a flag: 1620#hint.fdc.0.flags="1" 1621 1622# Specify floppy devices 1623hint.fd.0.at="fdc0" 1624hint.fd.0.drive="0" 1625hint.fd.1.at="fdc0" 1626hint.fd.1.drive="1" 1627 1628# M-systems DiskOnchip products see src/sys/contrib/dev/fla/README 1629device fla 1630hint.fla.0.at="isa" 1631 1632# 1633# Other standard PC hardware: 1634# 1635# mse: Logitech and ATI InPort bus mouse ports 1636# sio: serial ports (see sio(4)), including support for various 1637# PC Card devices, such as Modem and NICs (see etc/defaults/pccard.conf) 1638 1639device mse 1640hint.mse.0.at="isa" 1641hint.mse.0.port="0x23c" 1642hint.mse.0.irq="5" 1643 1644device sio 1645hint.sio.0.at="isa" 1646hint.sio.0.port="0x3F8" 1647hint.sio.0.flags="0x10" 1648hint.sio.0.irq="4" 1649 1650# 1651# `flags' for serial drivers that support consoles (only for sio now): 1652# 0x10 enable console support for this unit. The other console flags 1653# are ignored unless this is set. Enabling console support does 1654# not make the unit the preferred console - boot with -h or set 1655# the 0x20 flag for that. Currently, at most one unit can have 1656# console support; the first one (in config file order) with 1657# this flag set is preferred. Setting this flag for sio0 gives 1658# the old behaviour. 1659# 0x20 force this unit to be the console (unless there is another 1660# higher priority console). This replaces the COMCONSOLE option. 1661# 0x40 reserve this unit for low level console operations. Do not 1662# access the device in any normal way. 1663# 0x80 use this port for serial line gdb support in ddb. 1664# 1665# PnP `flags' (set via userconfig using pnp x flags y) 1666# 0x1 disable probing of this device. Used to prevent your modem 1667# from being attached as a PnP modem. 1668# 1669 1670# Options for serial drivers that support consoles (only for sio now): 1671options BREAK_TO_DEBUGGER #a BREAK on a comconsole goes to 1672 #DDB, if available. 1673options CONSPEED=115200 # speed for serial console 1674 # (default 9600) 1675 1676# Solaris implements a new BREAK which is initiated by a character 1677# sequence CR ~ ^b which is similar to a familiar pattern used on 1678# Sun servers by the Remote Console. 1679options ALT_BREAK_TO_DEBUGGER 1680 1681# Options for sio: 1682options COM_ESP #code for Hayes ESP 1683options COM_MULTIPORT #code for some cards with shared IRQs 1684 1685# Other flags for sio that aren't documented in the man page. 1686# 0x20000 enable hardware RTS/CTS and larger FIFOs. Only works for 1687# ST16650A-compatible UARTs. 1688 1689# 1690# Network interfaces: 1691# 1692# MII bus support is required for some PCI 10/100 ethernet NICs, 1693# namely those which use MII-compliant transceivers or implement 1694# tranceiver control interfaces that operate like an MII. Adding 1695# "device miibus0" to the kernel config pulls in support for 1696# the generic miibus API and all of the PHY drivers, including a 1697# generic one for PHYs that aren't specifically handled by an 1698# individual driver. 1699device miibus 1700 1701# an: Aironet 4500/4800 802.11 wireless adapters. Supports the PCMCIA, 1702# PCI and ISA varieties. 1703# ar: Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver 1704# (requires sppp) 1705# awi: Support for IEEE 802.11 PC Card devices using the AMD Am79C930 and 1706# Harris (Intersil) Chipset with PCnetMobile firmware by AMD. 1707# bge: Support for gigabit ethernet adapters based on the Broadcom 1708# BCM570x familiy of controllers, including the 3Com 3c996-T, 1709# the SysKonnect SK-9D21 and SK-9D41, and the embedded gigE NICs 1710# on Dell PowerEdge 2550 servers. 1711# cnw: Xircom CNW/Netware Airsurfer PC Card adapter 1712# cs: IBM Etherjet and other Crystal Semi CS89x0-based adapters 1713# cx: Cronyx/Sigma multiport sync/async (with Cisco or PPP framing) 1714# dc: Support for PCI fast ethernet adapters based on the DEC/Intel 21143 1715# and various workalikes including: 1716# the ADMtek AL981 Comet and AN985 Centaur, the ASIX Electronics 1717# AX88140A and AX88141, the Davicom DM9100 and DM9102, the Lite-On 1718# 82c168 and 82c169 PNIC, the Lite-On/Macronix LC82C115 PNIC II 1719# and the Macronix 98713/98713A/98715/98715A/98725 PMAC. This driver 1720# replaces the old al, ax, dm, pn and mx drivers. List of brands: 1721# Digital DE500-BA, Kingston KNE100TX, D-Link DFE-570TX, SOHOware SFA110, 1722# SVEC PN102-TX, CNet Pro110B, 120A, and 120B, Compex RL100-TX, 1723# LinkSys LNE100TX, LNE100TX V2.0, Jaton XpressNet, Alfa Inc GFC2204, 1724# KNE110TX. 1725# de: Digital Equipment DC21040 1726# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503 1727# HP PC Lan+, various PC Card devices (refer to etc/defauls/pccard.conf) 1728# (requires miibus) 1729# el: 3Com 3C501 (slow!) 1730# ep: 3Com 3C509, 3C529, 3C556, 3C562D, 3C563D, 3C572, 3C574X, 3C579, 3C589 1731# and PC Card devices using these chipsets. 1732# ex: Intel EtherExpress Pro/10 and other i82595-based adapters, 1733# Olicom Ethernet PC Card devices. 1734# fe: Fujitsu MB86960A/MB86965A Ethernet 1735# fea: DEC DEFEA EISA FDDI adapter 1736# fpa: Support for the Digital DEFPA PCI FDDI. `device fddi' is also needed. 1737# fxp: Intel EtherExpress Pro/100B 1738# (hint of prefer_iomap can be done to prefer I/O instead of Mem mapping) 1739# gx: Intel Pro/1000 Gigabit Ethernet (82542, 82543-F, 82543-T) 1740# ie: AT&T StarLAN 10 and EN100; 3Com 3C507; unknown NI5210; 1741# Intel EtherExpress 1742# le: Digital Equipment EtherWorks 2 and EtherWorks 3 (DEPCA, DE100, 1743# DE101, DE200, DE201, DE202, DE203, DE204, DE205, DE422) 1744# lnc: Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, AMD Am7990 and 1745# Am79C960) 1746# lge: Support for PCI gigabit ethernet adapters based on the Level 1 1747# LXT1001 NetCellerator chipset. This includes the D-Link DGE-500SX, 1748# SMC TigerCard 1000 (SMC9462SX), and some Addtron cards. 1749# nge: Support for PCI gigabit ethernet adapters based on the National 1750# Semiconductor DP83820 and DP83821 chipset. This includes the 1751# SMC EZ Card 1000 (SMC9462TX), D-Link DGE-500T, Asante FriendlyNet 1752# GigaNIX 1000TA and 1000TPC, the Addtron AEG320T, the LinkSys 1753# EG1032 and EG1064, the Surecom EP-320G-TX and the Netgear GA622T. 1754# oltr: Olicom ISA token-ring adapters OC-3115, OC-3117, OC-3118 and OC-3133 1755# (no hints needed). 1756# Olicom PCI token-ring adapters OC-3136, OC-3137, OC-3139, OC-3140, 1757# OC-3141, OC-3540, OC-3250 1758# rdp: RealTek RTL 8002-based pocket ethernet adapters 1759# sbni: Granch SBNI12-xx ISA and PCI adapters 1760# pcn: Support for PCI fast ethernet adapters based on the AMD Am79c97x 1761# chipsets, including the PCnet/FAST, PCnet/FAST+, PCnet/PRO and 1762# PCnet/Home. These were previously handled by the lnc driver (and 1763# still will be if you leave this driver out of the kernel). 1764# rl: Support for PCI fast ethernet adapters based on the RealTek 8129/8139 1765# chipset. Note that the RealTek driver defaults to using programmed 1766# I/O to do register accesses because memory mapped mode seems to cause 1767# severe lockups on SMP hardware. This driver also supports the 1768# Accton EN1207D `Cheetah' adapter, which uses a chip called 1769# the MPX 5030/5038, which is either a RealTek in disguise or a 1770# RealTek workalike. Note that the D-Link DFE-530TX+ uses the RealTek 1771# chipset and is supported by this driver, not the 'vr' driver. 1772# sf: Support for Adaptec Duralink PCI fast ethernet adapters based on the 1773# Adaptec AIC-6915 "starfire" controller. 1774# This includes dual and quad port cards, as well as one 100baseFX card. 1775# Most of these are 64-bit PCI devices, except for one single port 1776# card which is 32-bit. 1777# sis: Support for NICs based on the Silicon Integrated Systems SiS 900, 1778# SiS 7016 and NS DP83815 PCI fast ethernet controller chips. 1779# sk: Support for the SysKonnect SK-984x series PCI gigabit ethernet NICs. 1780# This includes the SK-9841 and SK-9842 single port cards (single mode 1781# and multimode fiber) and the SK-9843 and SK-9844 dual port cards 1782# (also single mode and multimode). 1783# The driver will autodetect the number of ports on the card and 1784# attach each one as a separate network interface. 1785# sn: Support for ISA and PC Card Ethernet devices using the 1786# SMC91C90/92/94/95 chips. 1787# sr: RISCom/N2 hdlc sync 1/2 port V.35/X.21 serial driver (requires sppp) 1788# ste: Sundance Technologies ST201 PCI fast ethernet controller, includes 1789# the D-Link DFE-550TX. 1790# ti: Support for PCI gigabit ethernet NICs based on the Alteon Networks 1791# Tigon 1 and Tigon 2 chipsets. This includes the Alteon AceNIC, the 1792# 3Com 3c985, the Netgear GA620 and various others. Note that you will 1793# probably want to bump up NMBCLUSTERS a lot to use this driver. 1794# tl: Support for the Texas Instruments TNETE100 series 'ThunderLAN' 1795# cards and integrated ethernet controllers. This includes several 1796# Compaq Netelligent 10/100 cards and the built-in ethernet controllers 1797# in several Compaq Prosignia, Proliant and Deskpro systems. It also 1798# supports several Olicom 10Mbps and 10/100 boards. 1799# tx: SMC 9432 TX, BTX and FTX cards. (SMC EtherPower II serie) 1800# txp: Support for 3Com 3cR990 cards with the "Typhoon" chipset 1801# vr: Support for various fast ethernet adapters based on the VIA 1802# Technologies VT3043 `Rhine I' and VT86C100A `Rhine II' chips, 1803# including the D-Link DFE530TX (see 'rl' for DFE530TX+), the Hawking 1804# Technologies PN102TX, and the AOpen/Acer ALN-320. 1805# vx: 3Com 3C590 and 3C595 1806# wb: Support for fast ethernet adapters based on the Winbond W89C840F chip. 1807# Note: this is not the same as the Winbond W89C940F, which is a 1808# NE2000 clone. 1809# wl: Lucent Wavelan (ISA card only). 1810# wi: Lucent WaveLAN/IEEE 802.11 PCMCIA adapters. Note: this supports both 1811# the PCMCIA and ISA cards: the ISA card is really a PCMCIA to ISA 1812# bridge with a PCMCIA adapter plugged into it. 1813# xe: Xircom/Intel EtherExpress Pro100/16 PC Card ethernet controller, 1814# Accton Fast EtherCard-16, Compaq Netelligent 10/100 PC Card, 1815# Toshiba 10/100 Ethernet PC Card, Xircom 16-bit Ethernet + Modem 56 1816# xl: Support for the 3Com 3c900, 3c905, 3c905B and 3c905C (Fast) 1817# Etherlink XL cards and integrated controllers. This includes the 1818# integrated 3c905B-TX chips in certain Dell Optiplex and Dell 1819# Precision desktop machines and the integrated 3c905-TX chips 1820# in Dell Latitude laptop docking stations. 1821# Also supported: 3Com 3c980(C)-TX, 3Com 3cSOHO100-TX, 3Com 3c450-TX 1822 1823# Order for ISA/EISA devices is important here 1824 1825device ar 1 1826hint.ar.0.at="isa" 1827hint.ar.0.port="0x300" 1828hint.ar.0.irq="10" 1829hint.ar.0.maddr="0xd0000" 1830device cs 1831hint.cs.0.at="isa" 1832hint.cs.0.port="0x300" 1833device cx 1 1834hint.cx.0.at="isa" 1835hint.cx.0.port="0x240" 1836hint.cx.0.irq="15" 1837hint.cx.0.drq="7" 1838device ed 1839#options ED_NO_MIIBUS # Disable ed miibus support 1840hint.ed.0.at="isa" 1841hint.ed.0.port="0x280" 1842hint.ed.0.irq="5" 1843hint.ed.0.maddr="0xd8000" 1844device el 1 1845hint.el.0.at="isa" 1846hint.el.0.port="0x300" 1847hint.el.0.irq="9" 1848device ep 1849device ex 1850device fe 1 1851hint.fe.0.at="isa" 1852hint.fe.0.port="0x300" 1853device fea 1854device ie 2 1855hint.ie.0.at="isa" 1856hint.ie.0.port="0x300" 1857hint.ie.0.irq="5" 1858hint.ie.0.maddr="0xd0000" 1859hint.ie.1.at="isa" 1860hint.ie.1.port="0x360" 1861hint.ie.1.irq="7" 1862hint.ie.1.maddr="0xd0000" 1863device le 1 1864hint.le.0.at="isa" 1865hint.le.0.port="0x300" 1866hint.le.0.irq="5" 1867hint.le.0.maddr="0xd0000" 1868device lnc 1 1869hint.lnc.0.at="isa" 1870hint.lnc.0.port="0x280" 1871hint.lnc.0.irq="10" 1872hint.lnc.0.drq="0" 1873device rdp 1 1874hint.rdp.0.at="isa" 1875hint.rdp.0.port="0x378" 1876hint.rdp.0.irq="7" 1877hint.rdp.0.flags="2" 1878device sbni 1 1879hint.sbni.0.at="isa" 1880hint.sbni.0.port="0x210" 1881hint.sbni.0.irq="0xefdead" 1882hint.sbni.0.flags="0" 1883device sr 1 1884hint.sr.0.at="isa" 1885hint.sr.0.port="0x300" 1886hint.sr.0.irq="5" 1887hint.sr.0.maddr="0xd0000" 1888device sn 1889hint.sn.0.at="isa" 1890hint.sn.0.port="0x300" 1891hint.sn.0.irq="10" 1892device an 1893device awi 1894device cnw 1895device wi 1896options WLCACHE # enables the signal-strength cache 1897options WLDEBUG # enables verbose debugging output 1898device wl 1 1899hint.wl.0.at="isa" 1900hint.wl.0.port="0x300" 1901device xe 1902 1903device oltr 1904options OLTR_NO_BULLSEYE_MAC 1905options OLTR_NO_HAWKEYE_MAC 1906options OLTR_NO_TMS_MAC 1907hint.oltr.0.at="isa" 1908 1909# PCI Ethernet NICs that use the common MII bus controller code. 1910device dc # DEC/Intel 21143 and various workalikes 1911device fxp # Intel EtherExpress PRO/100B (82557, 82558) 1912hint.fxp.0.prefer_iomap="0" 1913device rl # RealTek 8129/8139 1914device pcn # AMD Am79C97x PCI 10/100 NICs 1915device sf # Adaptec AIC-6915 (``Starfire'') 1916device sis # Silicon Integrated Systems SiS 900/SiS 7016 1917device ste # Sundance ST201 (D-Link DFE-550TX) 1918device tl # Texas Instruments ThunderLAN 1919device tx # SMC EtherPower II (83c170 ``EPIC'') 1920device vr # VIA Rhine, Rhine II 1921device wb # Winbond W89C840F 1922device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') 1923 1924# PCI Ethernet NICs. 1925device de # DEC/Intel DC21x4x (``Tulip'') 1926device txp # 3Com 3cR990 (``Typhoon'') 1927device vx # 3Com 3c590, 3c595 (``Vortex'') 1928 1929# PCI Gigabit & FDDI NICs. 1930device bge 1931device gx 1932device lge 1933device nge 1934device sk 1935device ti 1936device fpa 1 1937 1938# 1939# ATM related options (Cranor version) 1940# (note: this driver cannot be used with the HARP ATM stack) 1941# 1942# The `en' device provides support for Efficient Networks (ENI) 1943# ENI-155 PCI midway cards, and the Adaptec 155Mbps PCI ATM cards (ANA-59x0). 1944# 1945# atm device provides generic atm functions and is required for 1946# atm devices. 1947# NATM enables the netnatm protocol family that can be used to 1948# bypass TCP/IP. 1949# 1950# the current driver supports only PVC operations (no atm-arp, no multicast). 1951# for more details, please read the original documents at 1952# http://www.ccrc.wustl.edu/pub/chuck/tech/bsdatm/bsdatm.html 1953# 1954device atm 1955device en 1956options NATM #native ATM 1957 1958# 1959# Audio drivers: `pcm', `sbc', `gusc', `pca' 1960# 1961# pcm: PCM audio through various sound cards. 1962# 1963# This has support for a large number of new audio cards, based on 1964# CS423x, OPTi931, Yamaha OPL-SAx, and also for SB16, GusPnP. 1965# For more information about this driver and supported cards, 1966# see the pcm.4 man page. 1967# 1968# The flags of the device tells the device a bit more info about the 1969# device that normally is obtained through the PnP interface. 1970# bit 2..0 secondary DMA channel; 1971# bit 4 set if the board uses two dma channels; 1972# bit 15..8 board type, overrides autodetection; leave it 1973# zero if don't know what to put in (and you don't, 1974# since this is unsupported at the moment...). 1975# 1976# This driver will use the new PnP code if it's available. 1977# 1978# pca: PCM audio through your PC speaker 1979# 1980# Supported cards include: 1981# Creative SoundBlaster ISA PnP/non-PnP 1982# Supports ESS and Avance ISA chips as well. 1983# Gravis UltraSound ISA PnP/non-PnP 1984# Crystal Semiconductor CS461x/428x PCI 1985# Neomagic 256AV (ac97) 1986# Most of the more common ISA/PnP sb/mss/ess compatable cards. 1987 1988device pcm 1989 1990# For non-pnp sound cards with no bridge drivers only: 1991hint.pcm.0.at="isa" 1992hint.pcm.0.irq="10" 1993hint.pcm.0.drq="1" 1994hint.pcm.0.flags="0x0" 1995 1996# For PnP/PCI sound cards, no hints are required. 1997 1998# 1999# midi: MIDI interfaces and synthesizers 2000# 2001 2002device midi 2003 2004# For non-pnp sound cards with no bridge drivers: 2005hint.midi.0.at="isa" 2006hint.midi.0.irq="5" 2007hint.midi.0.flags="0x0" 2008 2009# For serial ports (this example configures port 2): 2010# TODO: implement generic tty-midi interface so that we can use 2011# other uarts. 2012hint.midi.0.at="isa" 2013hint.midi.0.port="0x2F8" 2014hint.midi.0.irq="3" 2015 2016# 2017# seq: MIDI sequencer 2018# 2019 2020device seq 2021 2022# The bridge drivers for sound cards. These can be separately configured 2023# for providing services to the likes of new-midi. 2024# When used with 'device pcm' they also provide pcm sound services. 2025# 2026# sbc: Creative SoundBlaster ISA PnP/non-PnP 2027# Supports ESS and Avance ISA chips as well. 2028# gusc: Gravis UltraSound ISA PnP/non-PnP 2029# csa: Crystal Semiconductor CS461x/428x PCI 2030 2031# For non-PnP cards: 2032device sbc 2033hint.sbc.0.at="isa" 2034hint.sbc.0.port="0x220" 2035hint.sbc.0.irq="5" 2036hint.sbc.0.drq="1" 2037hint.sbc.0.flags="0x15" 2038device gusc 2039hint.gusc.0.at="isa" 2040hint.gusc.0.port="0x220" 2041hint.gusc.0.irq="5" 2042hint.gusc.0.drq="1" 2043hint.gusc.0.flags="0x13" 2044 2045device pca 2046hint.pca.0.at="isa" 2047hint.pca.0.port="0x040" 2048 2049# 2050# Miscellaneous hardware: 2051# 2052# mcd: Mitsumi CD-ROM using proprietary (non-ATAPI) interface 2053# scd: Sony CD-ROM using proprietary (non-ATAPI) interface 2054# matcd: Matsushita/Panasonic CD-ROM using proprietary (non-ATAPI) interface 2055# wt: Wangtek and Archive QIC-02/QIC-36 tape drives 2056# ctx: Cortex-I frame grabber 2057# apm: Laptop Advanced Power Management (experimental) 2058# pmtimer: Timer device driver for power management events (APM or ACPI) 2059# spigot: The Creative Labs Video Spigot video-acquisition board 2060# meteor: Matrox Meteor video capture board 2061# bktr: Brooktree bt848/848a/849a/878/879 video capture and TV Tuner board 2062# cy: Cyclades serial driver 2063# dgb: Digiboard PC/Xi and PC/Xe series driver (ALPHA QUALITY!) 2064# digi: Digiboard driver 2065# gp: National Instruments AT-GPIB and AT-GPIB/TNT board, PCMCIA-GPIB 2066# asc: GI1904-based hand scanners, e.g. the Trust Amiscan Grey 2067# gsc: Genius GS-4500 hand scanner. 2068# joy: joystick (including IO DATA PCJOY PC Card joystick) 2069# The LOUTB option specifies a slower outb() for debugging purposes. 2070# rc: RISCom/8 multiport card 2071# rp: Comtrol Rocketport(ISA) - single card 2072# tw: TW-523 power line interface for use with X-10 home control products 2073# si: Specialix SI/XIO 4-32 port terminal multiplexor 2074# spic: Sony Programmable I/O controller (VAIO notebooks) 2075# stl: Stallion EasyIO and EasyConnection 8/32 (cd1400 based) 2076# stli: Stallion EasyConnection 8/64, ONboard, Brumby (intelligent) 2077# nmdm: nullmodem terminal driver (see nmdm(4)) 2078 2079# Notes on APM 2080# The flags takes the following meaning for apm0: 2081# 0x0020 Statclock is broken. 2082# If apm is omitted, some systems require sysctl -w kern.timecounter.method=1 2083# for correct timekeeping. 2084 2085# Notes on the spigot: 2086# The video spigot is at 0xad6. This port address can not be changed. 2087# The irq values may only be 10, 11, or 15 2088# I/O memory is an 8kb region. Possible values are: 2089# 0a0000, 0a2000, ..., 0fffff, f00000, f02000, ..., ffffff 2090# The start address must be on an even boundary. 2091# Add the following option if you want to allow non-root users to be able 2092# to access the spigot. This option is not secure because it allows users 2093# direct access to the I/O page. 2094# options SPIGOT_UNSECURE 2095 2096# Notes on the Comtrol Rocketport driver: 2097# 2098# The exact values used for rp0 depend on how many boards you have 2099# in the system. The manufacturer's sample configs are listed as: 2100# 2101# device rp # core driver support 2102# 2103# Comtrol Rocketport ISA single card 2104# hints.rp.0.at="isa" 2105# hints.rp.0.port="0x280" 2106# 2107# If instead you have two ISA cards, one installed at 0x100 and the 2108# second installed at 0x180, then you should add the following to 2109# your kernel probe hints: 2110# hints.rp.0.at="isa" 2111# hints.rp.0.port="0x100" 2112# hints.rp.1.at="isa" 2113# hints.rp.1.port="0x180" 2114# 2115# For 4 ISA cards, it might be something like this: 2116# hints.rp.0.at="isa" 2117# hints.rp.0.port="0x180" 2118# hints.rp.1.at="isa" 2119# hints.rp.1.port="0x100" 2120# hints.rp.2.at="isa" 2121# hints.rp.2.port="0x340" 2122# hints.rp.3.at="isa" 2123# hints.rp.3.port="0x240" 2124# 2125# And for PCI cards, you need no hints. 2126 2127# Notes on the Digiboard driver: 2128# 2129# The following flag values have special meanings in dgb: 2130# 0x01 - alternate layout of pins 2131# 0x02 - use the windowed PC/Xe in 64K mode 2132 2133# Notes on the Specialix SI/XIO driver: 2134# The host card is memory, not IO mapped. 2135# The Rev 1 host cards use a 64K chunk, on a 32K boundary. 2136# The Rev 2 host cards use a 32K chunk, on a 32K boundary. 2137# The cards can use an IRQ of 11, 12 or 15. 2138 2139# Notes on the Sony Programmable I/O controller 2140# This is a temporary driver that should someday be replaced by something 2141# that hooks into the ACPI layer. The device is hooked to the PIIX4's 2142# General Device 10 decoder, which means you have to fiddle with PCI 2143# registers to map it in, even though it is otherwise treated here as 2144# an ISA device. At the moment, the driver polls, although the device 2145# is capable of generating interrupts. It largely undocumented. 2146# The port location in the hint is where you WANT the device to be 2147# mapped. 0x10a0 seems to be traditional. At the moment the jogdial 2148# is the only thing truly supported, but aparently a fair percentage 2149# of the Vaio extra features are controlled by this device. 2150 2151# Notes on the Stallion stl and stli drivers: 2152# See src/i386/isa/README.stl for complete instructions. 2153# This is version 0.0.5alpha, unsupported by Stallion. 2154# The stl driver has a secondary IO port hard coded at 0x280. You need 2155# to change src/i386/isa/stallion.c if you reconfigure this on the boards. 2156# The "flags" and "msize" settings on the stli driver depend on the board: 2157# EasyConnection 8/64 ISA: flags 23 msize 0x1000 2158# EasyConnection 8/64 EISA: flags 24 msize 0x10000 2159# EasyConnection 8/64 MCA: flags 25 msize 0x1000 2160# ONboard ISA: flags 4 msize 0x10000 2161# ONboard EISA: flags 7 msize 0x10000 2162# ONboard MCA: flags 3 msize 0x10000 2163# Brumby: flags 2 msize 0x4000 2164# Stallion: flags 1 msize 0x10000 2165 2166device mcd 1 2167hint.mcd.0.at="isa" 2168hint.mcd.0.port="0x300" 2169hint.mcd.0.irq="10" 2170# for the Sony CDU31/33A CDROM 2171device scd 1 2172hint.scd.0.at="isa" 2173hint.scd.0.port="0x230" 2174# for the SoundBlaster 16 multicd - up to 4 devices 2175device matcd 1 2176hint.matcd.0.at="isa" 2177hint.matcd.0.port="0x230" 2178device wt 1 2179hint.wt.0.at="isa" 2180hint.wt.0.port="0x300" 2181hint.wt.0.irq="5" 2182hint.wt.0.drq="1" 2183device ctx 1 2184hint.ctx.0.at="isa" 2185hint.ctx.0.port="0x230" 2186hint.ctx.0.maddr="0xd0000" 2187device spigot 1 2188hint.spigot.0.at="isa" 2189hint.spigot.0.port="0xad6" 2190hint.spigot.0.irq="15" 2191hint.spigot.0.maddr="0xee000" 2192device apm 2193hint.apm.0.flags="0x20" 2194device pmtimer # Adjust system timer at wakeup time 2195hint.pmtimer.0.at="isa" 2196device gp 2197hint.gp.0.at="isa" 2198hint.gp.0.port="0x2c0" 2199device gsc 1 2200hint.gsc.0.at="isa" 2201hint.gsc.0.port="0x270" 2202hint.gsc.0.drq="3" 2203device joy # PnP aware, hints for nonpnp only 2204hint.joy.0.at="isa" 2205hint.joy.0.port="0x201" 2206device cy 1 2207options CY_PCI_FASTINTR # Use with cy_pci unless irq is shared 2208hint.cy.0.at="isa" 2209hint.cy.0.irq="10" 2210hint.cy.0.maddr="0xd4000" 2211hint.cy.0.msize="0x2000" 2212device dgb 1 2213options NDGBPORTS=16 # Defaults to 16*NDGB 2214hint.dgb.0.at="isa" 2215hint.dgb.0.port="0x220" 2216hint.dgb.0.maddr="0xfc000" 2217device digi 2218hint.digi.0.at="isa" 2219hint.digi.0.port="0x104" 2220hint.digi.0.maddr="0xd0000" 2221# BIOS & FEP/OS components of device digi. Normally left as modules 2222device digi_CX 2223device digi_CX_PCI 2224device digi_EPCX 2225device digi_EPCX_PCI 2226device digi_Xe 2227device digi_Xem 2228device digi_Xr 2229device rc 1 2230hint.rc.0.at="isa" 2231hint.rc.0.port="0x220" 2232hint.rc.0.irq="12" 2233device rp 2234hint.rp.0.at="isa" 2235hint.rp.0.port="0x280" 2236# the port and irq for tw0 are fictitious 2237device tw 1 2238hint.tw.0.at="isa" 2239hint.tw.0.port="0x380" 2240hint.tw.0.irq="11" 2241device si 2242options SI_DEBUG 2243hint.si.0.at="isa" 2244hint.si.0.maddr="0xd0000" 2245hint.si.0.irq="12" 2246device asc 1 2247hint.asc.0.at="isa" 2248hint.asc.0.port="0x3EB" 2249hint.asc.0.drq="3" 2250hint.asc.0.irq="10" 2251device spic 2252hint.spic.0.at="isa" 2253hint.spic.0.port="0x10a0" 2254device stl 2255hint.stl.0.at="isa" 2256hint.stl.0.port="0x2a0" 2257hint.stl.0.irq="10" 2258device stli 2259hint.stli.0.at="isa" 2260hint.stli.0.port="0x2a0" 2261hint.stli.0.maddr="0xcc000" 2262hint.stli.0.flags="23" 2263hint.stli.0.msize="0x1000" 2264# You are unlikely to have the hardware for loran <phk@FreeBSD.org> 2265device loran 2266hint.loran.0.at="isa" 2267hint.loran.0.irq="5" 2268# HOT1 Xilinx 6200 card (http://www.vcc.com/) 2269device xrpu 2270# nullmodem terminal driver 2271device nmdm 2272 2273# 2274# The `meteor' device is a PCI video capture board. It can also have the 2275# following options: 2276# options METEOR_ALLOC_PAGES=xxx preallocate kernel pages for data entry 2277# figure (ROWS*COLUMN*BYTES_PER_PIXEL*FRAME+PAGE_SIZE-1)/PAGE_SIZE 2278# options METEOR_DEALLOC_PAGES remove all allocated pages on close(2) 2279# options METEOR_DEALLOC_ABOVE=xxx remove all allocated pages above the 2280# specified amount. If this value is below the allocated amount no action 2281# taken 2282# options METEOR_SYSTEM_DEFAULT={METEOR_PAL|METEOR_NTSC|METEOR_SECAM}, used 2283# for initialization of fps routine when a signal is not present. 2284# 2285# The 'bktr' device is a PCI video capture device using the Brooktree 2286# bt848/bt848a/bt849a/bt878/bt879 chipset. When used with a TV Tuner it forms a 2287# TV card, eg Miro PC/TV, Hauppauge WinCast/TV WinTV, VideoLogic Captivator, 2288# Intel Smart Video III, AverMedia, IMS Turbo, FlyVideo. 2289# 2290# options OVERRIDE_CARD=xxx 2291# options OVERRIDE_TUNER=xxx 2292# options OVERRIDE_MSP=1 2293# options OVERRIDE_DBX=1 2294# These options can be used to override the auto detection 2295# The current values for xxx are found in src/sys/dev/bktr/bktr_card.h 2296# Using sysctl(8) run-time overrides on a per-card basis can be made 2297# 2298# options BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_PAL 2299# or 2300# options BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_NTSC 2301# Specifes the default video capture mode. 2302# This is required for Dual Crystal (28&35Mhz) boards where PAL is used 2303# to prevent hangs during initialisation. eg VideoLogic Captivator PCI. 2304# 2305# options BKTR_USE_PLL 2306# PAL or SECAM users who have a 28Mhz crystal (and no 35Mhz crystal) 2307# must enable PLL mode with this option. eg some new Bt878 cards. 2308# 2309# options BKTR_GPIO_ACCESS 2310# This enable IOCTLs which give user level access to the GPIO port. 2311# 2312# options BKTR_NO_MSP_RESET 2313# Prevents the MSP34xx reset. Good if you initialise the MSP in another OS first 2314# 2315# options BKTR_430_FX_MODE 2316# Switch Bt878/879 cards into Intel 430FX chipset compatibility mode. 2317# 2318# options BKTR_SIS_VIA_MODE 2319# Switch Bt878/879 cards into SIS/VIA chipset compatibility mode which is 2320# needed for some old SiS and VIA chipset motherboards. 2321# This also allows Bt878/879 chips to work on old OPTi (<1997) chipset 2322# motherboards and motherboards with bad or incomplete PCI 2.1 support. 2323# As a rough guess, old = before 1998 2324# 2325 2326device meteor 1 2327 2328# Brooktree driver has been ported to the new I2C framework. Thus, 2329# you'll need to have the following 3 lines in the kernel config. 2330# device smbus 2331# device iicbus 2332# device iicbb 2333# The iic and smb devices are only needed if you want to control other 2334# I2C slaves connected to the external connector of some cards. 2335# 2336device bktr 1 2337 2338# 2339# PC Card/PCMCIA 2340# (OLDCARD) 2341# 2342# card: pccard slots 2343# pcic: isa/pccard bridge 2344device pcic 2345hint.pcic.0.at="isa" 2346hint.pcic.1.at="isa" 2347device card 2348 2349# 2350# PC Card/PCMCIA and Cardbus 2351# (NEWCARD) 2352# 2353# Note that NEWCARD and OLDCARD are incompatible. Do not use both at the same 2354# time. 2355# 2356# pccbb: isa/pccard and pci/cardbus bridge 2357# pccard: pccard slots 2358# cardbus: cardbus slots 2359#device pccbb 2360#device pccard 2361#device cardbus 2362 2363# You may need to reset all pccards after resuming 2364options PCIC_RESUME_RESET # reset after resume 2365 2366# 2367# Laptop/Notebook options: 2368# 2369# See also: 2370# apm under `Miscellaneous hardware' 2371# above. 2372 2373# For older notebooks that signal a powerfail condition (external 2374# power supply dropped, or battery state low) by issuing an NMI: 2375 2376options POWERFAIL_NMI # make it beep instead of panicing 2377 2378# 2379# SMB bus 2380# 2381# System Management Bus support is provided by the 'smbus' device. 2382# Access to the SMBus device is via the 'smb' device (/dev/smb*), 2383# which is a child of the 'smbus' device. 2384# 2385# Supported devices: 2386# smb standard io through /dev/smb* 2387# 2388# Supported SMB interfaces: 2389# iicsmb I2C to SMB bridge with any iicbus interface 2390# bktr brooktree848 I2C hardware interface 2391# intpm Intel PIIX4 Power Management Unit 2392# alpm Acer Aladdin-IV/V/Pro2 Power Management Unit 2393# ichsmb Intel ICH SMBus controller chips (82801AA, 82801AB, 82801BA) 2394# 2395device smbus # Bus support, required for smb below. 2396 2397device intpm 2398device alpm 2399device ichsmb 2400 2401device smb 2402 2403# 2404# I2C Bus 2405# 2406# Philips i2c bus support is provided by the `iicbus' device. 2407# 2408# Supported devices: 2409# ic i2c network interface 2410# iic i2c standard io 2411# iicsmb i2c to smb bridge. Allow i2c i/o with smb commands. 2412# 2413# Supported interfaces: 2414# pcf Philips PCF8584 ISA-bus controller 2415# bktr brooktree848 I2C software interface 2416# 2417# Other: 2418# iicbb generic I2C bit-banging code (needed by lpbb, bktr) 2419# 2420device iicbus # Bus support, required for ic/iic/iicsmb below. 2421device iicbb 2422 2423device ic 2424device iic 2425device iicsmb # smb over i2c bridge 2426 2427device pcf 2428hint.pcf.0.at="isa" 2429hint.pcf.0.port="0x320" 2430hint.pcf.0.irq="5" 2431 2432#--------------------------------------------------------------------------- 2433# ISDN4BSD 2434# 2435# See /usr/share/examples/isdn/ROADMAP for an introduction to isdn4bsd. 2436# 2437# i4b passive ISDN cards support contains the following hardware drivers: 2438# 2439# isic - Siemens/Infineon ISDN ISAC/HSCX/IPAC chipset driver 2440# iwic - Winbond W6692 PCI bus ISDN S/T interface controller 2441# ifpi - AVM Fritz!Card PCI driver 2442# ihfc - Cologne Chip HFC ISA/ISA-PnP chipset driver 2443# ifpnp - AVM Fritz!Card PnP driver 2444# itjc - Siemens ISAC / TJNet Tiger300/320 chipset 2445# 2446# i4b active ISDN cards support contains the following hardware drivers: 2447# 2448# iavc - AVM B1 PCI, AVM B1 ISA, AVM T1 2449# 2450# Note that the ``options'' (if given) and ``device'' lines must BOTH 2451# be uncommented to enable support for a given card ! 2452# 2453# In addition to a hardware driver (and probably an option) the mandatory 2454# ISDN protocol stack devices and the mandatory support device must be 2455# enabled as well as one or more devices from the optional devices section. 2456# 2457#--------------------------------------------------------------------------- 2458# isic driver (Siemens/Infineon chipsets) 2459# 2460device isic 2461# 2462# ISA bus non-PnP Cards: 2463# ---------------------- 2464# 2465# Teles S0/8 or Niccy 1008 2466options TEL_S0_8 2467hint.isic.0.at="isa" 2468hint.isic.0.maddr="0xd0000" 2469hint.isic.0.irq="5" 2470hint.isic.0.flags="1" 2471# 2472# Teles S0/16 or Creatix ISDN-S0 or Niccy 1016 2473options TEL_S0_16 2474hint.isic.0.at="isa" 2475hint.isic.0.port="0xd80" 2476hint.isic.0.maddr="0xd0000" 2477hint.isic.0.irq="5" 2478hint.isic.0.flags="2" 2479# 2480# Teles S0/16.3 2481options TEL_S0_16_3 2482hint.isic.0.at="isa" 2483hint.isic.0.port="0xd80" 2484hint.isic.0.irq="5" 2485hint.isic.0.flags="3" 2486# 2487# AVM A1 or AVM Fritz!Card 2488options AVM_A1 2489hint.isic.0.at="isa" 2490hint.isic.0.port="0x340" 2491hint.isic.0.irq="5" 2492hint.isic.0.flags="4" 2493# 2494# USRobotics Sportster ISDN TA intern 2495options USR_STI 2496hint.isic.0.at="isa" 2497hint.isic.0.port="0x268" 2498hint.isic.0.irq="5" 2499hint.isic.0.flags="7" 2500# 2501# ITK ix1 Micro ( < V.3, non-PnP version ) 2502options ITKIX1 2503hint.isic.0.at="isa" 2504hint.isic.0.port="0x398" 2505hint.isic.0.irq="10" 2506hint.isic.0.flags="18" 2507# 2508# ELSA PCC-16 2509options ELSA_PCC16 2510hint.isic.0.at="isa" 2511hint.isic.0.port="0x360" 2512hint.isic.0.irq="10" 2513hint.isic.0.flags="20" 2514# 2515# ISA bus PnP Cards: 2516# ------------------ 2517# 2518# Teles S0/16.3 PnP 2519options TEL_S0_16_3_P 2520# 2521# Creatix ISDN-S0 P&P 2522options CRTX_S0_P 2523# 2524# Dr. Neuhaus Niccy Go@ 2525options DRN_NGO 2526# 2527# Sedlbauer Win Speed 2528options SEDLBAUER 2529# 2530# Dynalink IS64PH 2531options DYNALINK 2532# 2533# ELSA QuickStep 1000pro ISA 2534options ELSA_QS1ISA 2535# 2536# Siemens I-Surf 2.0 2537options SIEMENS_ISURF2 2538# 2539# Asuscom ISDNlink 128K ISA 2540options ASUSCOM_IPAC 2541# 2542# Eicon Diehl DIVA 2.0 and 2.02 2543options EICON_DIVA 2544# 2545# Compaq Microcom 610 ISDN card (Compaq series PSB2222I) 2546options COMPAQ_M610 2547# 2548# PCI bus Cards: 2549# -------------- 2550# 2551# ELSA MicroLink ISDN/PCI (same as ELSA QuickStep 1000pro PCI) 2552options ELSA_QS1PCI 2553# 2554# 2555#--------------------------------------------------------------------------- 2556# ifpnp driver for AVM Fritz!Card PnP 2557# 2558# AVM Fritz!Card PnP 2559device ifpnp 2560# 2561#--------------------------------------------------------------------------- 2562# ihfc driver for Cologne Chip ISA chipsets (experimental!) 2563# 2564# Teles 16.3c ISA PnP 2565# AcerISDN P10 ISA PnP 2566# TELEINT ISDN SPEED No.1 2567device ihfc 2568# 2569#--------------------------------------------------------------------------- 2570# ifpi driver for AVM Fritz!Card PCI 2571# 2572# AVM Fritz!Card PCI 2573device ifpi 2574# 2575#--------------------------------------------------------------------------- 2576# iwic driver for Winbond W6692 chipset 2577# 2578# ASUSCOM P-IN100-ST-D (and other Winbond W6692 based cards) 2579device iwic 2580# 2581#--------------------------------------------------------------------------- 2582# itjc driver for Simens ISAC / TJNet Tiger300/320 chipset 2583# 2584# Traverse Technologies NETjet-S 2585# Teles PCI-TJ 2586device itjc 2587# 2588#--------------------------------------------------------------------------- 2589# iavc driver (AVM active cards, needs i4bcapi driver!) 2590# 2591device iavc 2592# 2593# AVM B1 ISA bus (PnP mode not supported!) 2594# ---------------------------------------- 2595hint.iavc.0.at="isa" 2596hint.iavc.0.port="0x150" 2597hint.iavc.0.irq="5" 2598# 2599#--------------------------------------------------------------------------- 2600# ISDN Protocol Stack - mandatory for all hardware drivers 2601# 2602# Q.921 / layer 2 - i4b passive cards D channel handling 2603device "i4bq921" 2604# 2605# Q.931 / layer 3 - i4b passive cards D channel handling 2606device "i4bq931" 2607# 2608# layer 4 - i4b common passive and active card handling 2609device "i4b" 2610# 2611#--------------------------------------------------------------------------- 2612# ISDN devices - mandatory for all hardware drivers 2613# 2614# userland driver to do ISDN tracing (for passive cards only) 2615device "i4btrc" 4 2616# 2617# userland driver to control the whole thing 2618device "i4bctl" 2619# 2620#--------------------------------------------------------------------------- 2621# ISDN devices - optional 2622# 2623# userland driver for access to raw B channel 2624device "i4brbch" 4 2625# 2626# userland driver for telephony 2627device "i4btel" 2 2628# 2629# network driver for IP over raw HDLC ISDN 2630device "i4bipr" 4 2631# enable VJ header compression detection for ipr i/f 2632options IPR_VJ 2633# enable logging of the first n IP packets to isdnd (n=32 here) 2634options IPR_LOG=32 2635# 2636# network driver for sync PPP over ISDN; requires an equivalent 2637# number of sppp device to be configured 2638device "i4bisppp" 4 2639# 2640# B-channel interface to the netgraph subsystem 2641device "i4bing" 2 2642# 2643# CAPI driver needed for active ISDN cards (see iavc driver above) 2644device "i4bcapi" 2645# 2646#--------------------------------------------------------------------------- 2647 2648# Parallel-Port Bus 2649# 2650# Parallel port bus support is provided by the `ppbus' device. 2651# Multiple devices may be attached to the parallel port, devices 2652# are automatically probed and attached when found. 2653# 2654# Supported devices: 2655# vpo Iomega Zip Drive 2656# Requires SCSI disk support ('scbus' and 'da'), best 2657# performance is achieved with ports in EPP 1.9 mode. 2658# lpt Parallel Printer 2659# plip Parallel network interface 2660# ppi General-purpose I/O ("Geek Port") + IEEE1284 I/O 2661# pps Pulse per second Timing Interface 2662# lpbb Philips official parallel port I2C bit-banging interface 2663# 2664# Supported interfaces: 2665# ppc ISA-bus parallel port interfaces. 2666# 2667 2668options PPC_PROBE_CHIPSET # Enable chipset specific detection 2669 # (see flags in ppc(4)) 2670options DEBUG_1284 # IEEE1284 signaling protocol debug 2671options PERIPH_1284 # Makes your computer act as a IEEE1284 2672 # compliant peripheral 2673options DONTPROBE_1284 # Avoid boot detection of PnP parallel devices 2674options VP0_DEBUG # ZIP/ZIP+ debug 2675options LPT_DEBUG # Printer driver debug 2676options PPC_DEBUG # Parallel chipset level debug 2677options PLIP_DEBUG # Parallel network IP interface debug 2678options PCFCLOCK_VERBOSE # Verbose pcfclock driver 2679options PCFCLOCK_MAX_RETRIES=5 # Maximum read tries (default 10) 2680 2681device ppc 2682hint.ppc.0.at="isa" 2683hint.ppc.0.irq="7" 2684device ppbus 2685device vpo 2686device lpt 2687device plip 2688device ppi 2689device pps 2690device lpbb 2691device pcfclock 2692 2693# Kernel BOOTP support 2694 2695options BOOTP # Use BOOTP to obtain IP address/hostname 2696options BOOTP_NFSROOT # NFS mount root filesystem using BOOTP info 2697options BOOTP_NFSV3 # Use NFS v3 to NFS mount root 2698options BOOTP_COMPAT # Workaround for broken bootp daemons. 2699options BOOTP_WIRED_TO=fxp0 # Use interface fxp0 for BOOTP 2700 2701# 2702# Add tie-ins for a hardware watchdog. This only enable the hooks; 2703# the user must still supply the actual driver. 2704# 2705options HW_WDOG 2706 2707# 2708# Set the number of PV entries per process. Increasing this can 2709# stop panics related to heavy use of shared memory. However, that can 2710# (combined with large amounts of physical memory) cause panics at 2711# boot time due the kernel running out of VM space. 2712# 2713# If you're tweaking this, you might also want to increase the sysctls 2714# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target". 2715# 2716# The value below is the one more than the default. 2717# 2718options PMAP_SHPGPERPROC=201 2719 2720# 2721# Change the size of the kernel virtual address space. Due to 2722# constraints in loader(8) on i386, this must be a multiple of 4. 2723# 256 = 1 GB of kernel address space. Increasing this also causes 2724# a reduction of the address space in user processes. 512 splits 2725# the 4GB cpu address space in half (2GB user, 2GB kernel). 2726# 2727options KVA_PAGES=260 2728 2729# 2730# Disable swapping. This option removes all code which actually performs 2731# swapping, so it's not possible to turn it back on at run-time. 2732# 2733# This is sometimes usable for systems which don't have any swap space 2734# (see also sysctls "vm.defer_swapspace_pageouts" and 2735# "vm.disable_swapspace_pageouts") 2736# 2737#options NO_SWAPPING 2738 2739# Set the number of sf_bufs to allocate. sf_bufs are virtual buffers 2740# for sendfile(2) that are used to map file VM pages, and normally 2741# default to a quantity that is roughly 16*MAXUSERS+512. You would 2742# typically want about 4 of these for each simultaneous file send. 2743# 2744options NSFBUFS=1024 2745 2746# 2747# Enable extra debugging code for locks. This stores the filename and 2748# line of whatever acquired the lock in the lock itself, and change a 2749# number of function calls to pass around the relevant data. This is 2750# not at all useful unless you are debugging lock code. Also note 2751# that it is likely to break e.g. fstat(1) unless you recompile your 2752# userland with -DDEBUG_LOCKS as well. 2753# 2754options DEBUG_LOCKS 2755 2756 2757##################################################################### 2758# ABI Emulation 2759 2760# Enable iBCS2 runtime support for SCO and ISC binaries 2761options IBCS2 2762 2763# Emulate spx device for client side of SVR3 local X interface 2764options SPX_HACK 2765 2766# Enable Linux ABI emulation 2767options COMPAT_LINUX 2768 2769# Enable the linux-like proc filesystem support (requires COMPAT_LINUX 2770# and PSEUDOFS) 2771options LINPROCFS 2772 2773# Linux debugging 2774options DEBUG_LINUX 2775 2776# 2777# SysVR4 ABI emulation 2778# 2779# The svr4 ABI emulator can be statically compiled into the kernel or loaded as 2780# a KLD module. 2781# The STREAMS network emulation code can also be compiled statically or as a 2782# module. If loaded as a module, it must be loaded before the svr4 module 2783# (the /usr/sbin/svr4 script does this for you). If compiling statically, 2784# the `streams' device must be configured into any kernel which also 2785# specifies COMPAT_SVR4. It is possible to have a statically-configured 2786# STREAMS device and a dynamically loadable svr4 emulator; the /usr/sbin/svr4 2787# script understands that it doesn't need to load the `streams' module under 2788# those circumstances. 2789# Caveat: At this time, `options KTRACE' is required for the svr4 emulator 2790# (whether static or dynamic). 2791# 2792options COMPAT_SVR4 # build emulator statically 2793options DEBUG_SVR4 # enable verbose debugging 2794device streams # STREAMS network driver (required for svr4). 2795 2796 2797##################################################################### 2798# USB support 2799# UHCI controller 2800device uhci 2801# OHCI controller 2802device ohci 2803# General USB code (mandatory for USB) 2804device usb 2805# 2806# USB Double Bulk Pipe devices 2807device udbp 2808# Generic USB device driver 2809device ugen 2810# Human Interface Device (anything with buttons and dials) 2811device uhid 2812# USB keyboard 2813device ukbd 2814# USB printer 2815device ulpt 2816# USB Iomega Zip 100 Drive (Requires scbus and da) 2817device umass 2818# USB modem support 2819device umodem 2820# USB mouse 2821device ums 2822# Diamond Rio 500 Mp3 player 2823device urio 2824# USB scanners 2825device uscanner 2826# 2827# ADMtek USB ethernet. Supports the LinkSys USB100TX, 2828# the Billionton USB100, the Melco LU-ATX, the D-Link DSB-650TX 2829# and the SMC 2202USB. Also works with the ADMtek AN986 Pegasus 2830# eval board. 2831device aue 2832# 2833# CATC USB-EL1201A USB ethernet. Supports the CATC Netmate 2834# and Netmate II, and the Belkin F5U111. 2835device cue 2836# 2837# Kawasaki LSI ethernet. Supports the LinkSys USB10T, 2838# Entrega USB-NET-E45, Peracom Ethernet Adapter, the 2839# 3Com 3c19250, the ADS Technologies USB-10BT, the ATen UC10T, 2840# the Netgear EA101, the D-Link DSB-650, the SMC 2102USB 2841# and 2104USB, and the Corega USB-T. 2842device kue 2843 2844# debugging options for the USB subsystem 2845# 2846options UHCI_DEBUG 2847options OHCI_DEBUG 2848options USB_DEBUG 2849 2850options UGEN_DEBUG 2851options UHID_DEBUG 2852options UHUB_DEBUG 2853options UKBD_DEBUG 2854options ULPT_DEBUG 2855options UMASS_DEBUG 2856options UMS_DEBUG 2857options URIO_DEBUG 2858 2859# options for ukbd: 2860options UKBD_DFLT_KEYMAP # specify the built-in keymap 2861makeoptions UKBD_DFLT_KEYMAP=it.iso 2862 2863# 2864# Embedded system options: 2865# 2866# An embedded system might want to run something other than init. 2867options INIT_PATH="/sbin/init:/stand/sysinstall" 2868 2869# Debug options 2870options BUS_DEBUG # enable newbus debugging 2871options DEBUG_VFS_LOCKS # enable vfs lock debugging 2872options NPX_DEBUG # enable npx debugging (FPU/math emu) 2873 2874##################################################################### 2875# SYSV IPC KERNEL PARAMETERS 2876# 2877# Maximum number of entries in a semaphore map. 2878options SEMMAP=31 2879 2880# Maximum number of System V semaphores that can be used on the system at 2881# one time. 2882options SEMMNI=11 2883 2884# Total number of semaphores system wide 2885options SEMMNS=61 2886 2887# Total number of undo structures in system 2888options SEMMNU=31 2889 2890# Maximum number of System V semaphores that can be used by a single process 2891# at one time. 2892options SEMMSL=61 2893 2894# Maximum number of operations that can be outstanding on a single System V 2895# semaphore at one time. 2896options SEMOPM=101 2897 2898# Maximum number of undo operations that can be outstanding on a single 2899# System V semaphore at one time. 2900options SEMUME=11 2901 2902# Maximum number of shared memory pages system wide. 2903options SHMALL=1025 2904 2905# Maximum size, in bytes, of a single System V shared memory region. 2906options SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)" 2907options SHMMAXPGS=1025 2908 2909# Minimum size, in bytes, of a single System V shared memory region. 2910options SHMMIN=2 2911 2912# Maximum number of shared memory regions that can be used on the system 2913# at one time. 2914options SHMMNI=33 2915 2916# Maximum number of System V shared memory regions that can be attached to 2917# a single process at one time. 2918options SHMSEG=9 2919 2920# Set the amount of time (in seconds) the system will wait before 2921# rebooting automatically when a kernel panic occurs. If set to (-1), 2922# the system will wait indefinitely until a key is pressed on the 2923# console. 2924options PANIC_REBOOT_WAIT_TIME=16 2925 2926##################################################################### 2927 2928# More undocumented options for linting. 2929# Note that documenting these are not considered an affront. 2930 2931options CAM_DEBUG_DELAY 2932 2933# VFS cluster debugging. 2934options CLUSTERDEBUG 2935 2936options DEBUG 2937 2938# PECOFF module (Win32 Execution Format) 2939options PECOFF_SUPPORT 2940options PECOFF_DEBUG 2941 2942# Disable the 4 MByte PSE CPU feature. 2943#options DISABLE_PSE 2944 2945options ENABLE_ALART 2946options I4B_SMP_WORKAROUND 2947options I586_PMC_GUPROF=0x70000 2948options KBDIO_DEBUG=2 2949options KBD_MAXRETRY=4 2950options KBD_MAXWAIT=6 2951options KBD_RESETDELAY=201 2952 2953# Enable the PF_KEY Key Management API. 2954options KEY 2955 2956# Kernel filelock debugging. 2957options LOCKF_DEBUG 2958 2959# System V compatible message queues 2960# Please note that the values provided here are used to test kernel 2961# building. The defaults in the sources provide almost the same numbers. 2962# MSGSSZ must be a power of 2 between 8 and 1024. 2963options MSGMNB=2049 # Max number of chars in queue 2964options MSGMNI=41 # Max number of message queue identifiers 2965options MSGSEG=2049 # Max number of message segments 2966options MSGSSZ=16 # Size of a message segment 2967options MSGTQL=41 # Max number of messages in system 2968 2969options NBUF=512 # Number of buffer headers 2970 2971options NMBCLUSTERS=1024 # Number of mbuf clusters 2972 2973options PSM_DEBUG=1 2974 2975options SCSI_NCR_DEBUG 2976options SCSI_NCR_MAX_SYNC=10000 2977options SCSI_NCR_MAX_WIDE=1 2978options SCSI_NCR_MYADDR=7 2979 2980options SC_DEBUG_LEVEL=5 # Syscons debug level 2981options SC_RENDER_DEBUG # syscons rendering debugging 2982 2983options SHOW_BUSYBUFS # List buffers that prevent root unmount 2984options SIMPLELOCK_DEBUG 2985options SLIP_IFF_OPTS 2986options TIMER_FREQ="((14318182+6)/12)" 2987options VFS_BIO_DEBUG # VFS buffer I/O debugging 2988 2989options VM_KMEM_SIZE 2990options VM_KMEM_SIZE_MAX 2991options VM_KMEM_SIZE_SCALE 2992