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