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