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