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