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