NOTES revision 47004
1# 2# LINT -- config file for checking all the sources, tries to pull in 3# as much of the source tree as it can. 4# 5# $Id: LINT,v 1.596 1999/05/09 22:26:10 peter Exp $ 6# 7# NB: You probably don't want to try running a kernel built from this 8# file. Instead, you should start from GENERIC, and add options from 9# this file as required. 10# 11 12# 13# This directive is mandatory; it defines the architecture to be 14# configured for; in this case, the 386 family based IBM-PC and 15# compatibles. 16# 17machine i386 18 19# 20# This is the ``identification'' of the kernel. Usually this should 21# be the same as the name of your kernel. 22# 23ident LINT 24 25# 26# The `maxusers' parameter controls the static sizing of a number of 27# internal system tables by a complicated formula defined in param.c. 28# 29maxusers 10 30 31# 32# The `makeoptions' parameter allows variables to be passed to the 33# generated Makefile in the build area. DEBUG happens to be magic. 34# The following is equivalent to 'config -g KERNELNAME' and creates 35# 'kernel.debug' compiled with -g debugging as well as a normal 36# 'kernel'. Use 'make install.debug' to install the debug kernel 37# but that isn't normally necessary as the debug symbols are not loaded 38# by the kernel and are not useful there anyway. 39# 40# KERNEL can be overridden so that you can change the default name of your 41# kernel. 42# 43#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 44#makeoptions KERNEL=foo #Build kernel "foo" and install "/foo" 45 46# 47# Certain applications can grow to be larger than the 128M limit 48# that FreeBSD initially imposes. Below are some options to 49# allow that limit to grow to 256MB, and can be increased further 50# with changing the parameters. MAXDSIZ is the maximum that the 51# limit can be set to, and the DFLDSIZ is the default value for 52# the limit. You might want to set the default lower than the 53# max, and explicitly set the maximum with a shell command for processes 54# that regularly exceed the limit like INND. 55# 56options MAXDSIZ="(256*1024*1024)" 57options DFLDSIZ="(256*1024*1024)" 58 59# When this is set, be extra conservative in various parts of the kernel 60# and choose functionality over speed (on the widest variety of systems). 61options FAILSAFE 62 63# Options for the VM subsystem 64#options PQ_NOOPT # No coloring 65options PQ_LARGECACHE # color for 512k/16k cache 66#options PQ_HUGECACHE # color for 1024k/16k cache 67 68# This allows you to actually store this configuration file into 69# the kernel binary itself, where it may be later read by saying: 70# strings -aout -n 3 /kernel | grep ^___ | sed -e 's/^___//' > MYKERNEL 71# 72options INCLUDE_CONFIG_FILE # Include this file in kernel 73 74 75##################################################################### 76# SMP OPTIONS: 77# 78# SMP enables building of a Symmetric MultiProcessor Kernel. 79# APIC_IO enables the use of the IO APIC for Symmetric I/O. 80# NCPU sets the number of CPUs, defaults to 2. 81# NBUS sets the number of busses, defaults to 4. 82# NAPIC sets the number of IO APICs on the motherboard, defaults to 1. 83# NINTR sets the total number of INTs provided by the motherboard. 84# 85# Notes: 86# 87# An SMP kernel will ONLY run on an Intel MP spec. qualified motherboard. 88# 89# Be sure to disable 'cpu I386_CPU' && 'cpu I486_CPU' for SMP kernels. 90# 91# Check the 'Rogue SMP hardware' section to see if additional options 92# are required by your hardware. 93# 94 95# Mandatory: 96options SMP # Symmetric MultiProcessor Kernel 97options APIC_IO # Symmetric (APIC) I/O 98 99# Optional, these are the defaults plus 1: 100options NCPU=5 # number of CPUs 101options NBUS=5 # number of busses 102options NAPIC=2 # number of IO APICs 103options NINTR=25 # number of INTs 104 105# 106# Rogue SMP hardware: 107# 108 109# Bridged PCI cards: 110# 111# The MP tables of most of the current generation MP motherboards 112# do NOT properly support bridged PCI cards. To use one of these 113# cards you should refer to ??? 114 115 116##################################################################### 117# CPU OPTIONS 118 119# 120# You must specify at least one CPU (the one you intend to run on); 121# deleting the specification for CPUs you don't need to use may make 122# parts of the system run faster. This is especially true removing 123# I386_CPU. 124# 125cpu I386_CPU 126cpu I486_CPU 127cpu I586_CPU # aka Pentium(tm) 128cpu I686_CPU # aka Pentium Pro(tm) 129 130# 131# Options for CPU features. 132# 133# CPU_BLUELIGHTNING_FPU_OP_CACHE enables FPU operand cache on IBM 134# BlueLightning CPU. It works only with Cyrix FPU, and this option 135# should not be used with Intel FPU. 136# 137# CPU_BLUELIGHTNING_3X enables triple-clock mode on IBM Blue Lightning 138# CPU if CPU supports it. The default is double-clock mode on 139# BlueLightning CPU box. 140# 141# CPU_BTB_EN enables branch target buffer on Cyrix 5x86 (NOTE 1). 142# 143# CPU_DIRECT_MAPPED_CACHE sets L1 cache of Cyrix 486DLC CPU in direct 144# mapped mode. Default is 2-way set associative mode. 145# 146# CPU_CYRIX_NO_LOCK enables weak locking for the entire address space 147# of Cyrix 6x86 and 6x86MX CPUs. If this option is not set and 148# FAILESAFE is defined, NO_LOCK bit of CCR1 is cleared. (NOTE 3) 149# 150# CPU_DISABLE_5X86_LSSER disables load store serialize (i.e. enables 151# reorder). This option should not be used if you use memory mapped 152# I/O device(s). 153# 154# CPU_FASTER_5X86_FPU enables faster FPU exception handler. 155# 156# CPU_I486_ON_386 enables CPU cache on i486 based CPU upgrade products 157# for i386 machines. 158# 159# CPU_IORT defines I/O clock delay time (NOTE 1). Default vaules of 160# I/O clock delay time on Cyrix 5x86 and 6x86 are 0 and 7,respectively 161# (no clock delay). 162# 163# CPU_LOOP_EN prevents flushing the prefetch buffer if the destination 164# of a jump is already present in the prefetch buffer on Cyrix 5x86(NOTE 165# 1). 166# 167# CPU_RSTK_EN enables return stack on Cyrix 5x86 (NOTE 1). 168# 169# CPU_SUSP_HLT enables suspend on HALT. If this option is set, CPU 170# enters suspend mode following execution of HALT instruction. 171# 172# CPU_WT_ALLOC enables write allocation on Cyrix 6x86/6x86MX and AMD 173# K5/K6/K6-2 cpus. 174# 175# CYRIX_CACHE_WORKS enables CPU cache on Cyrix 486 CPUs with cache 176# flush at hold state. 177# 178# CYRIX_CACHE_REALLY_WORKS enables (1) CPU cache on Cyrix 486 CPUs 179# without cache flush at hold state, and (2) write-back CPU cache on 180# Cyrix 6x86 whose revision < 2.7 (NOTE 2). 181# 182# NO_F00F_HACK disables the hack that prevents Pentiums (and ONLY 183# Pentiums) from locking up when a LOCK CMPXCHG8B instruction is 184# executed. This should be included for ALL kernels that won't run 185# on a Pentium. 186# 187# NO_MEMORY_HOLE is an optimisation for systems with AMD K6 processors 188# which indicates that the 15-16MB range is *definitely* not being 189# occupied by an ISA memory hole. 190# 191# NOTE 1: The options, CPU_BTB_EN, CPU_LOOP_EN, CPU_IORT, 192# CPU_LOOP_ENand CPU_RSTK_EN should not be used becasue of CPU bugs. 193# These options may crash your system. 194# 195# NOTE 2: If CYRIX_CACHE_REALLY_WORKS is not set, CPU cache is enabled 196# in write-through mode when revision < 2.7. If revision of Cyrix 197# 6x86 >= 2.7, CPU cache is always enabled in write-back mode. 198# 199# NOTE 3: This option may cause failures for software that requires 200# locked cycles in order to operate correctly. 201# 202options CPU_BLUELIGHTNING_FPU_OP_CACHE 203options CPU_BLUELIGHTNING_3X 204options CPU_BTB_EN 205options CPU_DIRECT_MAPPED_CACHE 206options CPU_DISABLE_5X86_LSSER 207options CPU_FASTER_5X86_FPU 208options CPU_I486_ON_386 209options CPU_IORT 210options CPU_LOOP_EN 211options CPU_RSTK_EN 212options CPU_SUSP_HLT 213options CPU_WT_ALLOC 214options CYRIX_CACHE_WORKS 215options CYRIX_CACHE_REALLY_WORKS 216#options NO_F00F_HACK 217 218# 219# A math emulator is mandatory if you wish to run on hardware which 220# does not have a floating-point processor. Pick either the original, 221# bogus (but freely-distributable) math emulator, or a much more 222# fully-featured but GPL-licensed emulator taken from Linux. 223# 224options MATH_EMULATE #Support for x87 emulation 225# Don't enable both of these in a real config. 226options GPL_MATH_EMULATE #Support for x87 emulation via 227 #new math emulator 228 229 230##################################################################### 231# COMPATIBILITY OPTIONS 232 233# 234# Implement system calls compatible with 4.3BSD and older versions of 235# FreeBSD. You probably do NOT want to remove this as much current code 236# still relies on the 4.3 emulation. 237# 238options COMPAT_43 239 240# 241# Allow user-mode programs to manipulate their local descriptor tables. 242# This option is required for the WINE Windows(tm) emulator, and is 243# not used by anything else (that we know of). 244# 245options USER_LDT #allow user-level control of i386 ldt 246 247# 248# These three options provide support for System V Interface 249# Definition-style interprocess communication, in the form of shared 250# memory, semaphores, and message queues, respectively. 251# 252options SYSVSHM 253options SYSVSEM 254options SYSVMSG 255 256# 257# This option includes a MD5 routine in the kernel, this is used for 258# various authentication and privacy uses. 259# 260options MD5 261 262# 263# Allow processes to switch to vm86 mode, as well as enabling direct 264# user-mode access to the I/O port space. This option is necessary for 265# the doscmd emulator to run and the VESA modes in syscons to be available. 266# 267options VM86 268 269 270##################################################################### 271# DEBUGGING OPTIONS 272 273# 274# Enable the kernel debugger. 275# 276options DDB 277 278# 279# Don't drop into DDB for a panic. Intended for unattended operation 280# where you may want to drop to DDB from the console, but still want 281# the machine to recover from a panic 282# 283options DDB_UNATTENDED 284 285# 286# If using GDB remote mode to debug the kernel, there's a non-standard 287# extension to the remote protocol that can be used to use the serial 288# port as both the debugging port and the system console. It's non- 289# standard and you're on your own if you enable it. See also the 290# "remotechat" variables in the FreeBSD specific version of gdb. 291# 292options GDB_REMOTE_CHAT 293 294# 295# KTRACE enables the system-call tracing facility ktrace(2). 296# 297options KTRACE #kernel tracing 298 299# 300# The INVARIANTS option is used in a number of source files to enable 301# extra sanity checking of internal structures. This support is not 302# enabled by default because of the extra time it would take to check 303# for these conditions, which can only occur as a result of 304# programming errors. 305# 306options INVARIANTS 307 308# 309# The INVARIANT_SUPPORT option makes us compile in support for 310# verifying some of the internal structures. It is a prerequisite for 311# 'INVARIANTS', as enabling 'INVARIANTS' will make these functions be 312# called. The intent is that you can set 'INVARIANTS' for single 313# source files (by changing the source file or specifying it on the 314# command line) if you have 'INVARIANT_SUPPORT' enabled. 315# 316options INVARIANT_SUPPORT 317 318# 319# The DIAGNOSTIC option is used to enable extra debugging information 320# from some parts of the kernel. As this makes everything more noisy, 321# it is disabled by default. 322# 323options DIAGNOSTIC 324 325# 326# PERFMON causes the driver for Pentium/Pentium Pro performance counters 327# to be compiled. See perfmon(4) for more information. 328# 329options PERFMON 330 331 332# 333# This option let some drivers co-exist that can't co-exist in a running 334# system. This is used to be able to compile all kernel code in one go for 335# quality assurance purposes (like this file, which the option takes it name 336# from.) 337# 338options COMPILING_LINT 339 340 341# XXX - this doesn't belong here. 342# Allow ordinary users to take the console - this is useful for X. 343options UCONSOLE 344 345# XXX - this doesn't belong here either 346options USERCONFIG #boot -c editor 347options INTRO_USERCONFIG #imply -c and show intro screen 348options VISUAL_USERCONFIG #visual boot -c editor 349 350# XXX - neither does this 351options ROOTDEVNAME=\"da0s2e\" 352 353##################################################################### 354# NETWORKING OPTIONS 355 356# 357# Protocol families: 358# Only the INET (Internet) family is officially supported in FreeBSD. 359# Source code for the NS (Xerox Network Service) is provided for amusement 360# value. 361# 362options INET #Internet communications protocols 363 364options IPX #IPX/SPX communications protocols 365options IPXIP #IPX in IP encapsulation (not available) 366options IPTUNNEL #IP in IPX encapsulation (not available) 367 368options NETATALK #Appletalk communications protocols 369 370# These are currently broken but are shipped due to interest. 371#options NS #Xerox NS protocols 372 373# These are currently broken and are no longer shipped due to lack 374# of interest. 375#options CCITT #X.25 network layer 376#options ISO 377#options TPIP #ISO TP class 4 over IP 378#options TPCONS #ISO TP class 0 over X.25 379#options LLC #X.25 link layer for Ethernets 380#options HDLC #X.25 link layer for serial lines 381#options EON #ISO CLNP over IP 382#options NSIP #XNS over IP 383 384# 385# Network interfaces: 386# The `loop' pseudo-device is MANDATORY when networking is enabled. 387# The `ether' pseudo-device provides generic code to handle 388# Ethernets; it is MANDATORY when a Ethernet device driver is 389# configured or token-ring is enabled. 390# The 'fddi' pseudo-device provides generic code to support FDDI. 391# The `sppp' pseudo-device serves a similar role for certain types 392# of synchronous PPP links (like `cx', `ar'). 393# The `sl' pseudo-device implements the Serial Line IP (SLIP) service. 394# The `ppp' pseudo-device implements the Point-to-Point Protocol. 395# The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be 396# aware of the legal and administrative consequences of enabling this 397# option. The number of devices determines the maximum number of 398# simultaneous BPF clients programs runnable. 399# The `disc' pseudo-device implements a minimal network interface, 400# which throws away all packets sent and never receives any. It is 401# included for testing purposes. 402# The `tun' pseudo-device implements (user-)ppp and nos-tun 403# The `streams' pseudo-device implements SysVR4 STREAMS emulation. 404# 405# The PPP_BSDCOMP option enables support for compress(1) style entire 406# packet compression, the PPP_DEFLATE is for zlib/gzip style compression. 407# PPP_FILTER enables code for filtering the ppp data stream and selecting 408# events for resetting the demand dial activity timer - requires bpfilter. 409# See pppd(8) for more details. 410# 411pseudo-device ether #Generic Ethernet 412pseudo-device token #Generic TokenRing 413pseudo-device fddi #Generic FDDI 414pseudo-device sppp #Generic Synchronous PPP 415pseudo-device loop #Network loopback device 416pseudo-device bpfilter 4 #Berkeley packet filter 417pseudo-device disc #Discard device 418pseudo-device tun 1 #Tunnel driver (ppp(8), nos-tun(8)) 419pseudo-device sl 2 #Serial Line IP 420pseudo-device ppp 2 #Point-to-point protocol 421pseudo-device streams 422options PPP_BSDCOMP #PPP BSD-compress support 423options PPP_DEFLATE #PPP zlib/deflate/gzip support 424options PPP_FILTER #enable bpf filtering (needs bpfilter) 425 426# 427# Internet family options: 428# 429# TCP_COMPAT_42 causes the TCP code to emulate certain bugs present in 430# 4.2BSD. This option should not be used unless you have a 4.2BSD 431# machine and TCP connections fail. 432# 433# MROUTING enables the kernel multicast packet forwarder, which works 434# with mrouted(8). 435# 436# IPFIREWALL enables support for IP firewall construction, in 437# conjunction with the `ipfw' program. IPFIREWALL_VERBOSE sends 438# logged packets to the system logger. IPFIREWALL_VERBOSE_LIMIT 439# limits the number of times a matching entry can be logged. 440# 441# WARNING: IPFIREWALL defaults to a policy of "deny ip from any to any" 442# and if you do not add other rules during startup to allow access, 443# YOU WILL LOCK YOURSELF OUT. It is suggested that you set firewall=open 444# in /etc/rc.conf when first enabling this feature, then refining the 445# firewall rules in /etc/rc.firewall after you've tested that the new kernel 446# feature works properly. 447# 448# IPFIREWALL_DEFAULT_TO_ACCEPT causes the default rule (at boot) to 449# allow everything. Use with care, if a cracker can crash your 450# firewall machine, they can get to your protected machines. However, 451# if you are using it as an as-needed filter for specific problems as 452# they arise, then this may be for you. Changing the default to 'allow' 453# means that you won't get stuck if the kernel and /sbin/ipfw binary get 454# out of sync. 455# 456# IPDIVERT enables the divert IP sockets, used by ``ipfw divert'' 457# 458# IPFILTER enables Darren Reed's ipfilter package. 459# IPFILTER_LOG enables ipfilter's logging. 460# IPFILTER_LKM enables LKM support for an ipfilter module (untested). 461# 462# IPSTEALTH enables code to support stealth forwarding (i.e., forwarding 463# packets without touching the ttl). This can be useful to hide firewalls 464# from traceroute and similar tools. 465# 466# TCPDEBUG is undocumented. 467# 468options TCP_COMPAT_42 #emulate 4.2BSD TCP bugs 469options MROUTING # Multicast routing 470options IPFIREWALL #firewall 471options IPFIREWALL_VERBOSE #print information about 472 # dropped packets 473options IPFIREWALL_FORWARD #enable transparent proxy support 474options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity 475options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default 476options IPDIVERT #divert sockets 477options IPFILTER #kernel ipfilter support 478options IPFILTER_LOG #ipfilter logging 479#options IPFILTER_LKM #kernel support for ip_fil.o LKM 480options IPSTEALTH #support for stealth forwarding 481options TCPDEBUG 482 483# ICMP_BANDLIM enables icmp error response bandwidth limiting. You 484# typically want this option as it will help protect the machine from 485# D.O.S. packet attacks. 486# 487options ICMP_BANDLIM 488 489# DUMMYNET enables the "dummynet" bandwidth limiter. You need 490# IPFIREWALL as well. See the dummynet(4) manpage for more info. 491# BRIDGE enables bridging between ethernet cards -- see bridge(4). 492# You can use IPFIREWALL and dummynet together with bridging. 493options DUMMYNET 494options BRIDGE 495 496# 497# ATM (HARP version) options 498# 499# ATM_CORE includes the base ATM functionality code. This must be included 500# for ATM support. 501# 502# ATM_IP includes support for running IP over ATM. 503# 504# At least one (and usually only one) of the following signalling managers 505# must be included (note that all signalling managers include PVC support): 506# ATM_SIGPVC includes support for the PVC-only signalling manager `sigpvc'. 507# ATM_SPANS includes support for the `spans' signalling manager, which runs 508# the FORE Systems's proprietary SPANS signalling protocol. 509# ATM_UNI includes support for the `uni30' and `uni31' signalling managers, 510# which run the ATM Forum UNI 3.x signalling protocols. 511# 512# The `hea' driver provides support for the Efficient Networks, Inc. 513# ENI-155p ATM PCI Adapter. 514# 515# The `hfa' driver provides support for the FORE Systems, Inc. 516# PCA-200E ATM PCI Adapter. 517# 518options ATM_CORE #core ATM protocol family 519options ATM_IP #IP over ATM support 520options ATM_SIGPVC #SIGPVC signalling manager 521options ATM_SPANS #SPANS signalling manager 522options ATM_UNI #UNI signalling manager 523device hea0 #Efficient ENI-155p ATM PCI 524device hfa0 #FORE PCA-200E ATM PCI 525 526 527##################################################################### 528# FILESYSTEM OPTIONS 529 530# 531# Only the root, /usr, and /tmp filesystems need be statically 532# compiled; everything else will be automatically loaded at mount 533# time. (Exception: the UFS family---FFS, and MFS --- cannot 534# currently be demand-loaded.) Some people still prefer to statically 535# compile other filesystems as well. 536# 537# NB: The NULL, PORTAL, UMAP and UNION filesystems are known to be 538# buggy, and WILL panic your system if you attempt to do anything with 539# them. They are included here as an incentive for some enterprising 540# soul to sit down and fix them. 541# 542 543# One of these is mandatory: 544options FFS #Fast filesystem 545options MFS #Memory File System 546options NFS #Network File System 547 548# The rest are optional: 549# options NFS_NOSERVER #Disable the NFS-server code. 550options CD9660 #ISO 9660 filesystem 551options FDESC #File descriptor filesystem 552options KERNFS #Kernel filesystem 553options MSDOSFS #MS DOS File System 554options NTFS #NT File System 555options NULLFS #NULL filesystem 556options PORTAL #Portal filesystem 557options PROCFS #Process filesystem 558options UMAPFS #UID map filesystem 559options UNION #Union filesystem 560# The xFS_ROOT options REQUIRE the associated ``options xFS'' 561options CD9660_ROOT #CD-ROM usable as root device 562options FFS_ROOT #FFS usable as root device 563options MFS_ROOT #MFS usable as root device 564options NFS_ROOT #NFS usable as root device 565# This code is still experimental (e.g. doesn't handle disk slices well). 566# Also, 'options MFS' is currently incompatible with DEVFS. 567options DEVFS #devices filesystem 568 569# Soft updates is technique for improving file system speed and 570# making abrupt shutdown less risky. It is not enabled by default due 571# to copyright restraints on the code that implement it. 572# 573# Read ../../ufs/ffs/README.softupdates to learn what you need to 574# do to enable this. ../../../contrib/sys/softupdates/README gives 575# more details on how they actually work. 576# 577#options SOFTUPDATES 578 579# Make space in the kernel for a MFS root filesystem. Define to the number 580# of kilobytes to reserve for the filesystem. 581options MFS_ROOT_SIZE=10 582# Allows MFS filesystems to be exported via nfs 583options EXPORTMFS 584 585# Allow this many swap-devices. 586options NSWAPDEV=20 587 588# Disk quotas are supported when this option is enabled. 589options QUOTA #enable disk quotas 590 591# Add more checking code to various filesystems 592#options NULLFS_DIAGNOSTIC 593#options KERNFS_DIAGNOSTIC 594#options UMAPFS_DIAGNOSTIC 595#options UNION_DIAGNOSTIC 596 597# In particular multi-session CD-Rs might require a huge amount of 598# time in order to "settle". If we are about mounting them as the 599# root f/s, we gotta wait a little. 600# 601# The number is supposed to be in seconds. 602options CD9660_ROOTDELAY=20 603 604# If you are running a machine just as a fileserver for PC and MAC 605# users, using SAMBA or Netatalk, you may consider setting this option 606# and keeping all those users' directories on a filesystem that is 607# mounted with the suiddir option. This gives new files the same 608# ownership as the directory (similiar to group). It's a security hole 609# if you let these users run programs, so confine it to file-servers 610# (but it'll save you lots of headaches in those cases). Root owned 611# directories are exempt and X bits are cleared. The suid bit must be 612# set on the directory as well; see chmod(1) PC owners can't see/set 613# ownerships so they keep getting their toes trodden on. This saves 614# you all the support calls as the filesystem it's used on will act as 615# they expect: "It's my dir so it must be my file". 616# 617options SUIDDIR 618 619 620# Add some error checking code to the null_bypass routine 621# in the NULL filesystem 622#options SAFETY 623 624 625# NFS options: 626options NFS_MINATTRTIMO=3 # VREG attrib cache timeout in sec 627options NFS_MAXATTRTIMO=60 628options NFS_MINDIRATTRTIMO=30 # VDIR attrib cache timeout in sec 629options NFS_MAXDIRATTRTIMO=60 630options NFS_GATHERDELAY=10 # Default write gather delay (msec) 631options NFS_UIDHASHSIZ=29 # Tune the size of nfssvc_sock with this 632options NFS_WDELAYHASHSIZ=16 # and with this 633options NFS_MUIDHASHSIZ=63 # Tune the size of nfsmount with this 634options NFS_DEBUG # Enable NFS Debugging 635 636# Coda stuff: 637options CODA #CODA filesystem. 638pseudo-device vcoda 4 #coda minicache <-> venus comm. 639 640# 641# Add support for the EXT2FS filesystem of Linux fame. Be a bit 642# careful with this - the ext2fs code has a tendency to lag behind 643# changes and not be exercised very much, so mounting read/write could 644# be dangerous (and even mounting read only could result in panics.) 645# 646options EXT2FS 647 648 649 650##################################################################### 651# POSIX P1003.1B 652 653# Real time extensions added int the 1993 Posix 654# P1003_1B: Infrastructure 655# _KPOSIX_PRIORITY_SCHEDULING: Build in _POSIX_PRIORITY_SCHEDULING 656# _KPOSIX_VERSION: Version kernel is built for 657 658options P1003_1B 659options _KPOSIX_PRIORITY_SCHEDULING 660options _KPOSIX_VERSION=199309L 661 662 663##################################################################### 664# SCSI DEVICES 665 666# SCSI DEVICE CONFIGURATION 667 668# The SCSI subsystem consists of the `base' SCSI code, a number of 669# high-level SCSI device `type' drivers, and the low-level host-adapter 670# device drivers. The host adapters are listed in the ISA and PCI 671# device configuration sections below. 672# 673# Beginning with FreeBSD 2.0.5 you can wire down your SCSI devices so 674# that a given bus, target, and LUN always come on line as the same 675# device unit. In earlier versions the unit numbers were assigned 676# in the order that the devices were probed on the SCSI bus. This 677# means that if you removed a disk drive, you may have had to rewrite 678# your /etc/fstab file, and also that you had to be careful when adding 679# a new disk as it may have been probed earlier and moved your device 680# configuration around. 681 682# This old behavior is maintained as the default behavior. The unit 683# assignment begins with the first non-wired down unit for a device 684# type. For example, if you wire a disk as "da3" then the first 685# non-wired disk will be assigned da4. 686 687# The syntax for wiring down devices is: 688 689# controller scbus0 at ahc0 # Single bus device 690# controller scbus1 at ahc1 bus 0 # Single bus device 691# controller scbus3 at ahc2 bus 0 # Twin bus device 692# controller scbus2 at ahc2 bus 1 # Twin bus device 693# disk da0 at scbus0 target 0 unit 0 694# disk da1 at scbus3 target 1 695# disk da2 at scbus2 target 3 696# tape st1 at scbus1 target 6 697# device cd0 at scbus? 698 699# "units" (SCSI logical unit number) that are not specified are 700# treated as if specified as LUN 0. 701 702# All SCSI devices allocate as many units as are required. 703 704# The "unknown" device (uk? in pre-2.0.5) is now part of the base SCSI 705# configuration and doesn't have to be explicitly configured. 706 707controller scbus0 #base SCSI code 708device ch0 #SCSI media changers 709device da0 #SCSI direct access devices (aka disks) 710device sa0 #SCSI tapes 711device cd0 #SCSI CD-ROMs 712#device od0 #SCSI optical disk 713device pass0 #CAM passthrough driver 714 715# The previous devices (ch, da, st, cd) are recognized by config. 716# config doesn't (and shouldn't) know about these newer ones, 717# so we have to specify that they are on a SCSI bus with the "at scbus?" 718# clause. 719 720device pt0 at scbus? # SCSI processor type 721device sctarg0 at scbus? # SCSI target 722 723# CAM OPTIONS: 724# debugging options: 725# -- NOTE -- If you specify one of the bus/target/lun options, you must 726# specify them all! 727# CAMDEBUG: When defined enables debugging macros 728# CAM_DEBUG_BUS: Debug the given bus. Use -1 to debug all busses. 729# CAM_DEBUG_TARGET: Debug the given target. Use -1 to debug all targets. 730# CAM_DEBUG_LUN: Debug the given lun. Use -1 to debug all luns. 731# CAM_DEBUG_FLAGS: OR together CAM_DEBUG_INFO, CAM_DEBUG_TRACE, 732# CAM_DEBUG_SUBTRACE, and CAM_DEBUG_CDB 733# 734# CAM_MAX_HIGHPOWER: Maximum number of concurrent high power (start unit) cmds 735# SCSI_NO_SENSE_STRINGS: When defined disables sense descriptions 736# SCSI_NO_OP_STRINGS: When defined disables opcode descriptions 737# SCSI_REPORT_GEOMETRY: Always report disk geometry at boot up instead 738# of only when booting verbosely. 739# SCSI_DELAY: The number of MILLISECONDS to freeze the SIM (scsi adapter) 740# queue after a bus reset, and the number of milliseconds to 741# freeze the device queue after a bus device reset. 742options CAMDEBUG 743options CAM_DEBUG_BUS=-1 744options CAM_DEBUG_TARGET=-1 745options CAM_DEBUG_LUN=-1 746options CAM_DEBUG_FLAGS="CAM_DEBUG_INFO|CAM_DEBUG_TRACE|CAM_DEBUG_CDB" 747options CAM_MAX_HIGHPOWER=4 748options SCSI_NO_SENSE_STRINGS 749options SCSI_NO_OP_STRINGS 750options SCSI_REPORT_GEOMETRY 751options SCSI_DELAY=8000 # Be pessimistic about Joe SCSI device 752 753# Options for the CAM CDROM driver: 754# CHANGER_MIN_BUSY_SECONDS: Guaranteed minimum time quantum for a changer LUN 755# CHANGER_MAX_BUSY_SECONDS: Maximum time quantum per changer LUN, only 756# enforced if there is I/O waiting for another LUN 757# The compiled in defaults for these variables are 2 and 10 seconds, 758# respectively. 759# 760# These can also be changed on the fly with the following sysctl variables: 761# kern.cam.cd.changer.min_busy_seconds 762# kern.cam.cd.changer.max_busy_seconds 763# 764options CHANGER_MIN_BUSY_SECONDS=2 765options CHANGER_MAX_BUSY_SECONDS=10 766 767# Options for the CAM sequential access driver: 768# SA_SPACE_TIMEOUT: Timeout for space operations, in minutes 769# SA_REWIND_TIMEOUT: Timeout for rewind operations, in minutes 770# SA_ERASE_TIMEOUT: Timeout for erase operations, in minutes 771options SA_SPACE_TIMEOUT="(60)" 772options SA_REWIND_TIMEOUT="(2*60)" 773options SA_ERASE_TIMEOUT="(4*60)" 774 775 776##################################################################### 777# MISCELLANEOUS DEVICES AND OPTIONS 778 779# The `pty' device usually turns out to be ``effectively mandatory'', 780# as it is required for `telnetd', `rlogind', `screen', `emacs', and 781# `xterm', among others. 782 783pseudo-device pty 16 #Pseudo ttys - can go as high as 256 784pseudo-device speaker #Play IBM BASIC-style noises out your speaker 785pseudo-device gzip #Exec gzipped a.out's 786pseudo-device vn #Vnode driver (turns a file into a device) 787pseudo-device snp 3 #Snoop device - to look at pty/vty/etc.. 788pseudo-device ccd 4 #Concatenated disk driver 789 790# Configuring Vinum into the kernel is not necessary, since the kld 791# module gets started automatically when vinum(8) starts. This 792# device is also untested. Use at your own risk. 793# 794# The option VINUMDEBUG must match the value set in CFLAGS 795# in /usr/src/sbin/vinum/Makefile. Failure to do so will result in 796# the following message from vinum(8): 797# 798# Can't get vinum config: Invalid argument 799# 800# see vinum(4) for more reasons not to use these options. 801pseudo-device vinum #Vinum concat/mirror/raid driver 802options VINUMDEBUG #enable Vinum debugging hooks 803 804# These are only for watching for bitrot in old tty code. 805# broken 806#pseudo-device tb 807 808# Size of the kernel message buffer. Should be N * pagesize. 809options MSGBUF_SIZE=40960 810 811 812##################################################################### 813# HARDWARE DEVICE CONFIGURATION 814 815# ISA and EISA devices: 816# EISA support is available for some device, so they can be auto-probed. 817# Micro Channel is not supported at all. 818 819# 820# Mandatory ISA devices: isa, npx 821# 822controller isa0 823 824# 825# Options for `isa': 826# 827# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A 828# interrupt controller. This saves about 0.7-1.25 usec for each interrupt. 829# This option breaks suspend/resume on some portables. 830# 831# AUTO_EOI_2 enables the `automatic EOI' feature for the slave 8259A 832# interrupt controller. This saves about 0.7-1.25 usec for each interrupt. 833# Automatic EOI is documented not to work for for the slave with the 834# original i8259A, but it works for some clones and some integrated 835# versions. 836# 837# MAXMEM specifies the amount of RAM on the machine; if this is not 838# specified, FreeBSD will first read the amount of memory from the CMOS 839# RAM, so the amount of memory will initially be limited to 64MB or 16MB 840# depending on the BIOS. If the BIOS reports 64MB, a memory probe will 841# then attempt to detect the installed amount of RAM. If this probe 842# fails to detect >64MB RAM you will have to use the MAXMEM option. 843# The amount is in kilobytes, so for a machine with 128MB of RAM, it would 844# be 131072 (128 * 1024). 845# 846# TUNE_1542 enables the automatic ISA bus speed selection for the 847# Adaptec 1542 boards. Does not work for all boards, use it with caution. 848# 849# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to 850# reset the CPU for reboot. This is needed on some systems with broken 851# keyboard controllers. 852# 853# PAS_JOYSTICK_ENABLE enables the gameport on the ProAudio Spectrum 854 855options AUTO_EOI_1 856#options AUTO_EOI_2 857options MAXMEM="(128*1024)" 858options TUNE_1542 859#options BROKEN_KEYBOARD_RESET 860#options PAS_JOYSTICK_ENABLE 861 862# Enable support for the kernel PLL to use an external PPS signal, 863# under supervision of [x]ntpd(8) 864# More info in ntpd documentation: http://www.eecis.udel.edu/~ntp 865 866options PPS_SYNC 867 868# If you see the "calcru: negative time of %ld usec for pid %d (%s)\n" 869# message you probably have some broken sw/hw which disables interrupts 870# for too long. You can make the system more resistant to this by 871# choosing a high value for NTIMECOUNTER. The default is 5, there 872# is no upper limit but more than a couple of hundred are not productive. 873# A better strategy may be to sysctl -w kern.timecounter.method=1 874 875options NTIMECOUNTER=20 876 877# Enable PnP support in the kernel. This allows you to automaticly 878# attach to PnP cards for drivers that support it and allows you to 879# configure cards from USERCONFIG. See pnp(4) for more info. 880controller pnp0 881 882# The keyboard controller; it controls the keyboard and the PS/2 mouse. 883controller atkbdc0 at isa? port IO_KBD 884 885# The AT keyboard 886device atkbd0 at atkbdc? irq 1 887 888# Options for atkbd: 889options ATKBD_DFLT_KEYMAP # specify the built-in keymap 890makeoptions ATKBD_DFLT_KEYMAP="jp.106" 891 892# These options are valid for other keyboard drivers as well. 893options KBD_DISABLE_KEYMAP_LOAD # refuse to load a keymap 894options KBD_INSTALL_CDEV # install a CDEV entry in /dev 895 896# `flags' for atkbd: 897# 0x01 Force detection of keyboard, else we always assume a keyboard 898# 0x02 Don't reset keyboard, useful for some newer ThinkPads 899# 0x04 Old-style (XT) keyboard support, useful for older ThinkPads 900 901# PS/2 mouse 902device psm0 at atkbdc? irq 12 903 904# Options for psm: 905options PSM_HOOKAPM #hook the APM resume event, useful 906 #for some laptops 907options PSM_RESETAFTERSUSPEND #reset the device at the resume event 908 909# The video card driver. 910device vga0 at isa? port ? conflicts 911 912# Options for vga: 913# Try the following option if the mouse pointer is not drawn correctly 914# or font does not seem to be loaded properly. May cause flicker on 915# some systems. 916options VGA_ALT_SEQACCESS 917 918# If you can dispense with some vga driver features, you may want to 919# use the following options to save some memory. 920options VGA_NO_FONT_LOADING # don't save/load font 921options VGA_NO_MODE_CHANGE # don't change video modes 922 923# Older video cards may require this option for proper operation. 924options VGA_SLOW_IOACCESS # do byte-wide i/o's to TS and GDC regs 925 926# To include support for VESA video modes 927options VESA # needs VM86 defined too!! 928 929# Splash screen at start up! Screen savers require this too. 930pseudo-device splash 931 932# The pcvt console driver (vt220 compatible). 933device vt0 at isa? 934options XSERVER # support for running an X server. 935options FAT_CURSOR # start with block cursor 936# This PCVT option is for keyboards such as those used on IBM ThinkPad laptops 937options PCVT_SCANSET=2 # IBM keyboards are non-std 938# Other PCVT options are documented in pcvt(4). 939options PCVT_24LINESDEF 940options PCVT_CTRL_ALT_DEL 941options PCVT_EMU_MOUSE 942options PCVT_FREEBSD=211 943options PCVT_META_ESC 944options PCVT_NSCREENS=9 945options PCVT_PRETTYSCRNS 946options PCVT_SCREENSAVER 947options PCVT_USEKBDSEC 948options PCVT_VT220KEYB 949 950# The syscons console driver (sco color console compatible). 951device sc0 at isa? 952options MAXCONS=16 # number of virtual consoles 953options STD8X16FONT # Compile font in 954makeoptions STD8X16FONT=cp850 955options SC_HISTORY_SIZE=200 # number of history buffer lines 956options SC_DISABLE_REBOOT # disable reboot key sequence 957 958# 959# `flags' for sc0: 960# 0x01 Use a 'visual' bell 961# 0x02 Use a 'blink' cursor 962# 0x04 Use a 'underline' cursor 963# 0x06 Use a 'blinking underline' (destructive) cursor 964# 0x40 Make the bell quiet if it is rung in the backgroud vty. 965 966# 967# The Numeric Processing eXtension driver. This should be configured if 968# your machine has a math co-processor, unless the coprocessor is very 969# buggy. If it is not configured then you *must* configure math emulation 970# (see above). If both npx0 and emulation are configured, then only npx0 971# is used (provided it works). 972device npx0 at nexus? port IO_NPX iosiz 0x0 flags 0x0 irq 13 973 974# 975# `flags' for npx0: 976# 0x01 don't use the npx registers to optimize bcopy 977# 0x02 don't use the npx registers to optimize bzero 978# 0x04 don't use the npx registers to optimize copyin or copyout. 979# The npx registers are normally used to optimize copying and zeroing when 980# all of the following conditions are satisfied: 981# I586_CPU is an option 982# the cpu is an i586 (perhaps not a Pentium) 983# the probe for npx0 succeeds 984# INT 16 exception handling works. 985# Then copying and zeroing using the npx registers is normally 30-100% faster. 986# The flags can be used to control cases where it doesn't work or is slower. 987# Setting them at boot time using userconfig works right (the optimizations 988# are not used until later in the bootstrap when npx0 is attached). 989# 990 991# 992# `iosiz' for npx0: 993# This can be used instead of the MAXMEM option to set the memory size. If 994# it is nonzero, then it overrides both the MAXMEM option and the memory 995# size reported by the BIOS. Setting it at boot time using userconfig takes 996# effect on the next reboot after the change has been recorded in the kernel 997# binary (the size is used early in the boot before userconfig has a chance 998# to change it). 999# 1000 1001# 1002# Optional ISA and EISA devices: 1003# 1004 1005# 1006# SCSI host adapters: `aha', `bt' 1007# 1008# adv: All Narrow SCSI bus AdvanSys controllers. 1009# adw: Second Generation AdvanSys controllers including the ADV940UW. 1010# aha: Adaptec 154x 1011# ahc: Adaptec 274x/284x/294x 1012# bt: Most Buslogic controllers 1013# 1014# Note that the order is important in order for Buslogic cards to be 1015# probed correctly. 1016# 1017 1018controller bt0 at isa? port IO_BT0 irq ? 1019controller adv0 at isa? port ? irq ? 1020controller adw0 1021controller aha0 at isa? port ? irq ? 1022 1023# 1024# ATA and ATAPI devices 1025# This is work in progress, use at your own risk. 1026# It currently reuses the majors of wd.c and friends. 1027# It cannot co-exist with the old system in one kernel. 1028# You only need one "controller ata0" for it to find all 1029# PCI devices on modern machines. 1030#controller ata0 1031#device atadisk0 # ATA disk drives 1032#device atapicd0 # ATAPI CDROM drives 1033#device atapifd0 # ATAPI floppy drives 1034#device atapist0 # ATAPI tape drives 1035# 1036# If you need ISA only devices, this is the lines to add: 1037#controller ata1 at isa? port IO_WD1 irq 14 1038#controller ata2 at isa? port IO_WD2 irq 15 1039# 1040# All the controller lines can coexist, the driver will 1041# find out which ones are there. 1042 1043# 1044# ST-506, ESDI, and IDE hard disks: `wdc' and `wd' 1045# 1046# The flags fields are used to enable the multi-sector I/O and 1047# the 32BIT I/O modes. The flags may be used in either the controller 1048# definition or in the individual disk definitions. The controller 1049# definition is supported for the boot configuration stuff. 1050# 1051# Each drive has a 16 bit flags value defined: 1052# The low 8 bits are the maximum value for the multi-sector I/O, 1053# where 0xff defaults to the maximum that the drive can handle. 1054# The high bit of the 16 bit flags (0x8000) allows probing for 1055# 32 bit transfers. Bit 14 (0x4000) enables a hack to wake 1056# up powered-down laptop drives. Bit 13 (0x2000) allows 1057# probing for PCI IDE DMA controllers, such as Intel's PIIX 1058# south bridges. Bit 12 (0x1000) sets LBA mode instead of the 1059# default CHS mode for accessing the drive. See the wd.4 man page. 1060# 1061# The flags field for the drives can be specified in the controller 1062# specification with the low 16 bits for drive 0, and the high 16 bits 1063# for drive 1. 1064# e.g.: 1065#controller wdc0 at isa? port IO_WD1 irq 14 flags 0x00ff8004 1066# 1067# specifies that drive 0 will be allowed to probe for 32 bit transfers and 1068# a maximum multi-sector transfer of 4 sectors, and drive 1 will not be 1069# allowed to probe for 32 bit transfers, but will allow multi-sector 1070# transfers up to the maximum that the drive supports. 1071# 1072# If you are using a PCI controller that is not running in compatibility 1073# mode (for example, it is a 2nd IDE PCI interface), then use config line(s) 1074# such as: 1075# 1076#controller wdc2 at isa? port 0 irq ? flags 0xa0ffa0ff 1077#disk wd4 at wdc2 drive 0 1078#disk wd5 at wdc2 drive 1 1079# 1080#controller wdc3 at isa? port 0 irq ? flags 0xa0ffa0ff 1081#disk wd6 at wdc3 drive 0 1082#disk wd7 at wdc3 drive 1 1083# 1084# Note that the above config would be useful for a Promise card, when used 1085# on a MB that already has a PIIX controller. Note the bogus irq and port 1086# entries. These are automatically filled in by the IDE/PCI support. 1087# 1088 1089controller wdc0 at isa? port IO_WD1 irq 14 1090disk wd0 at wdc0 drive 0 1091disk wd1 at wdc0 drive 1 1092controller wdc1 at isa? port IO_WD2 irq 15 1093disk wd2 at wdc1 drive 0 1094disk wd3 at wdc1 drive 1 1095 1096# 1097# This option allow you to override the default probe time for IDE 1098# devices, to get a faster probe. Setting this below 10000 violate 1099# the IDE specs, but may still work for you (it will work for most 1100# people). 1101# 1102options IDE_DELAY=8000 # Be optimistic about Joe IDE device 1103 1104# IDE CD-ROM & CD-R/RW driver - requires wdc controller and ATAPI option 1105device wcd0 1106 1107# IDE floppy driver - requires wdc controller and ATAPI option 1108device wfd0 1109 1110# IDE tape driver - requires wdc controller and ATAPI option 1111device wst0 1112 1113 1114# 1115# Standard floppy disk controllers and floppy tapes: `fdc', `fd', and `ft' 1116# 1117controller fdc0 at isa? port IO_FD1 irq 6 drq 2 1118# 1119# FDC_DEBUG enables floppy debugging. Since the debug output is huge, you 1120# gotta turn it actually on by setting the variable fd_debug with DDB, 1121# however. 1122options FDC_DEBUG 1123# FDC_YE enables support for the floppies used on the Libretto. This is a 1124# pcmcia floppy. You will also need to add 1125#card "Y-E DATA" "External FDD" 1126# config 0x4 "fdc0" 10 1127# to your pccard.conf file. 1128options FDC_YE #XXX newbus broken 1129# 1130# Activate this line instead of the fdc0 line above if you happen to 1131# have an Insight floppy tape. Probing them proved to be dangerous 1132# for people with floppy disks only, so it's "hidden" behind a flag: 1133#controller fdc0 at isa? port IO_FD1 flags 1 irq 6 drq 2 1134 1135disk fd0 at fdc0 drive 0 1136disk fd1 at fdc0 drive 1 1137 1138# 1139# Other standard PC hardware: `mse', `sio', etc. 1140# 1141# mse: Logitech and ATI InPort bus mouse ports 1142# sio: serial ports (see sio(4)) 1143 1144device mse0 at isa? port 0x23c irq 5 1145 1146device sio0 at isa? port IO_COM1 flags 0x10 irq 4 1147 1148# 1149# `flags' for serial drivers that support consoles (only for sio now): 1150# 0x10 enable console support for this unit. The other console flags 1151# are ignored unless this is set. Enabling console support does 1152# not make the unit the preferred console - boot with -h or set 1153# the 0x20 flag for that. Currently, at most one unit can have 1154# console support; the first one (in config file order) with 1155# this flag set is preferred. Setting this flag for sio0 gives 1156# the old behaviour. 1157# 0x20 force this unit to be the console (unless there is another 1158# higher priority console). This replaces the COMCONSOLE option. 1159# 0x40 reserve this unit for low level console operations. Do not 1160# access the device in any normal way. 1161# 1162# PnP `flags' (set via userconfig using pnp x flags y) 1163# 0x1 disable probing of this device. Used to prevent your modem 1164# from being attached as a PnP modem. 1165# 1166 1167# Options for serial drivers that support consoles (only for sio now): 1168options BREAK_TO_DEBUGGER #a BREAK on a comconsole goes to 1169 #DDB, if available. 1170options CONSPEED=9600 #default speed for serial console (default 9600) 1171 1172# Options for sio: 1173options COM_ESP #code for Hayes ESP 1174options COM_MULTIPORT #code for some cards with shared IRQs 1175options EXTRA_SIO=2 #number of extra sio ports to allocate 1176 1177# Other flags for sio that aren't documented in the man page. 1178# 0x20000 enable hardware RTS/CTS and larger FIFOs. Only works for 1179# ST16650A-compatible UARTs. 1180 1181# 1182# Network interfaces: `cx', `ed', `el', `ep', `ie', `is', `le', `lnc' 1183# 1184# ar: Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver (requires sppp) 1185# cs: IBM Etherjet and other Crystal Semi CS89x0-based adapters 1186# cx: Cronyx/Sigma multiport sync/async (with Cisco or PPP framing) 1187# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503 1188# el: 3Com 3C501 (slow!) 1189# ep: 3Com 3C509 (buggy) 1190# ex: Intel EtherExpress Pro/10 and other i82595-based adapters 1191# fe: Fujitsu MB86960A/MB86965A Ethernet 1192# ie: AT&T StarLAN 10 and EN100; 3Com 3C507; unknown NI5210; Intel EtherExpress 1193# le: Digital Equipment EtherWorks 2 and EtherWorks 3 (DEPCA, DE100, 1194# DE101, DE200, DE201, DE202, DE203, DE204, DE205, DE422) 1195# lnc: Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, AMD Am7990 & Am79C960) 1196# rdp: RealTek RTL 8002-based pocket ethernet adapters 1197# sr: RISCom/N2 hdlc sync 1/2 port V.35/X.21 serial driver (requires sppp) 1198# wl: Lucent Wavelan (ISA card only). 1199# wi: Lucent WaveLAN/IEEE 802.11 PCMCIA adapters. Note: this supports both 1200# the PCMCIA and ISA cards: the ISA card is really a PCMCIA to ISA 1201# bridge with a PCMCIA adapter plugged into it. 1202# ze: IBM/National Semiconductor PCMCIA ethernet controller. 1203# zp: 3Com PCMCIA Etherlink III (It does not require shared memory for 1204# send/receive operation, but it needs 'iomem' to read/write the 1205# attribute memory) 1206# oltr: Olicom ISA token-ring adapters OC-3115, OC-3117, OC-3118 and OC-3133 1207# (no options needed) 1208# 1209device ar0 at isa? port 0x300 irq 10 iomem 0xd0000 1210device cs0 at isa? port 0x300 irq ? 1211device cx0 at isa? port 0x240 irq 15 drq 7 1212device ed0 at isa? port 0x280 irq 5 iomem 0xd8000 1213device el0 at isa? port 0x300 irq 9 1214device ep0 at isa? port 0x300 irq 10 1215device ex0 at isa? port? irq? 1216device fe0 at isa? port 0x300 irq ? 1217device ie0 at isa? port 0x300 irq 5 iomem 0xd0000 1218device ie1 at isa? port 0x360 irq 7 iomem 0xd0000 1219device le0 at isa? port 0x300 irq 5 iomem 0xd0000 1220device lnc0 at isa? port 0x280 irq 10 drq 0 1221device rdp0 at isa? port 0x378 irq 7 flags 2 1222device sr0 at isa? port 0x300 irq 5 iomem 0xd0000 1223device wi0 at isa? port? irq? 1224options WLCACHE # enables the signal-strength cache 1225options WLDEBUG # enables verbose debugging output 1226device wl0 at isa? port 0x300 irq ? 1227# We can (bogusly) include both the dedicated PCCARD drivers and the generic 1228# support when COMPILING_LINT. 1229device ze0 at isa? port 0x300 irq 5 iomem 0xd8000 1230device zp0 at isa? port 0x300 irq 10 iomem 0xd8000 1231 1232device oltr0 at isa? 1233 1234# 1235# ATM related options 1236# 1237# The `en' device provides support for Efficient Networks (ENI) 1238# ENI-155 PCI midway cards, and the Adaptec 155Mbps PCI ATM cards (ANA-59x0). 1239# 1240# atm pseudo-device provides generic atm functions and is required for 1241# atm devices. 1242# NATM enables the netnatm protocol family that can be used to 1243# bypass TCP/IP. 1244# 1245# the current driver supports only PVC operations (no atm-arp, no multicast). 1246# for more details, please read the original documents at 1247# http://www.ccrc.wustl.edu/pub/chuck/bsdatm/wucs.html 1248# 1249pseudo-device atm 1250device en0 1251device en1 1252options NATM #native ATM 1253 1254# 1255# Audio drivers: `snd', `sb', `pas', `gus', `pca' 1256# 1257# snd: Voxware sound support code 1258# sb: SoundBlaster PCM - SoundBlaster, SB Pro, SB16, ProAudioSpectrum 1259# sbxvi: SoundBlaster 16 1260# sbmidi: SoundBlaster 16 MIDI interface 1261# pas: ProAudioSpectrum PCM and MIDI 1262# gus: Gravis Ultrasound - Ultrasound, Ultrasound 16, Ultrasound MAX 1263# gusxvi: Gravis Ultrasound 16-bit PCM (do not use) 1264# mss: Microsoft Sound System 1265# css: Crystal Sound System (CSS 423x PnP) 1266# sscape: Ensoniq Soundscape MIDI interface 1267# sscape_mss: Ensoniq Soundscape PCM (requires sscape) 1268# opl: Yamaha OPL-2 and OPL-3 FM - SB, SB Pro, SB 16, ProAudioSpectrum 1269# uart: stand-alone 6850 UART for MIDI 1270# mpu: Roland MPU-401 stand-alone card 1271# 1272# Note: It has been reprted that ISA DMA with the SoundBlaster will 1273# lock up the machine (PR docs/5358). If this happens to you, 1274# turning off USWC write posting in your machine's BIOS may fix 1275# the problem. 1276# 1277# Beware! The addresses specified below are also hard-coded in 1278# i386/isa/sound/sound_config.h. If you change the values here, you 1279# must also change the values in the include file. 1280# 1281# pcm: PCM audio through various sound cards. 1282# 1283# This has support for a large number of new audio cards, based on 1284# CS423x, OPTi931, Yamaha OPL-SAx, and also for SB16, GusPnP. 1285# For more information about this driver and supported cards, 1286# see the pcm.4 man page and /sys/i386/isa/snd/CARDS. 1287# 1288# The flags of the device tells the device a bit more info about the 1289# device that normally is obtained through the PnP interface. 1290# bit 2..0 secondary DMA channel; 1291# bit 4 set if the board uses two dma channels; 1292# bit 15..8 board type, overrides autodetection; leave it 1293# zero if don't know what to put in (and you don't, 1294# since this is unsupported at the moment...). 1295# 1296# This driver will use the new PnP code if it's available. 1297# 1298# pca: PCM audio through your PC speaker 1299# 1300# If you have a GUS-MAX card and want to use the CS4231 codec on the 1301# card the drqs for the gus max must be 8 bit (1, 2, or 3). 1302# 1303# If you would like to use the full duplex option on the gus, then define 1304# flags to be the ``read dma channel''. 1305# 1306# options BROKEN_BUS_CLOCK #PAS-16 isn't working and OPTI chipset 1307# options SYMPHONY_PAS #PAS-16 isn't working and SYMPHONY chipset 1308# options EXCLUDE_SBPRO #PAS-16 1309# options SBC_IRQ=5 #PAS-16. Must match irq on sb0 line. 1310# PAS16: The order of the pas0/sb0/opl0 is important since the 1311# sb emulation is enabled in the pas-16 attach. 1312# 1313# To overide the GUS defaults use: 1314# options GUS_DMA2 1315# options GUS_DMA 1316# options GUS_IRQ 1317# 1318# The i386/isa/sound/sound.doc has more information. 1319 1320# Controls all "VOXWARE" driver sound devices. See Luigi's driver 1321# below for an alternate which may work better for some cards. 1322# 1323controller snd0 1324device pas0 at isa? port 0x388 irq 10 drq 6 1325device sb0 at isa? port 0x220 irq 5 drq 1 1326device sbxvi0 at isa? drq 5 1327device sbmidi0 at isa? port 0x330 1328device awe0 at isa? port 0x620 1329device gus0 at isa? port 0x220 irq 12 drq 1 1330#device gus0 at isa? port 0x220 irq 12 drq 1 flags 0x3 1331device mss0 at isa? port 0x530 irq 10 drq 1 1332device css0 at isa? port 0x534 irq 5 drq 1 flags 0x08 1333device sscape0 at isa? port 0x330 irq 9 drq 0 1334device trix0 at isa? port 0x330 irq 6 drq 0 1335device sscape_mss0 at isa? port 0x534 irq 5 drq 1 1336device opl0 at isa? port 0x388 1337device mpu0 at isa? port 0x330 irq 6 drq 0 1338device uart0 at isa? port 0x330 irq 5 1339 1340# Luigi's snd code (use INSTEAD of snd0 and all VOXWARE drivers!). 1341# You may also wish to enable the pnp controller with this, for pnp 1342# sound cards. 1343# 1344#device pcm0 at isa? port ? irq 10 drq 1 flags 0x0 1345 1346# Not controlled by `snd' 1347device pca0 at isa? port IO_TIMER1 1348 1349# 1350# Miscellaneous hardware: 1351# 1352# mcd: Mitsumi CD-ROM 1353# scd: Sony CD-ROM 1354# matcd: Matsushita/Panasonic CD-ROM 1355# wt: Wangtek and Archive QIC-02/QIC-36 tape drives 1356# ctx: Cortex-I frame grabber 1357# apm: Laptop Advanced Power Management (experimental) 1358# spigot: The Creative Labs Video Spigot video-acquisition board 1359# meteor: Matrox Meteor video capture board 1360# bktr: Brooktree bt848/848a/849/878/879 family video capture and TV Tuner board 1361# cy: Cyclades serial driver 1362# dgb: Digiboard PC/Xi and PC/Xe series driver (ALPHA QUALITY!) 1363# dgm: Digiboard PC/Xem driver 1364# gp: National Instruments AT-GPIB and AT-GPIB/TNT board 1365# asc: GI1904-based hand scanners, e.g. the Trust Amiscan Grey 1366# gsc: Genius GS-4500 hand scanner. 1367# joy: joystick 1368# labpc: National Instrument's Lab-PC and Lab-PC+ 1369# rc: RISCom/8 multiport card 1370# rp: Comtrol Rocketport(ISA) - single card 1371# tw: TW-523 power line interface for use with X-10 home control products 1372# si: Specialix SI/XIO 4-32 port terminal multiplexor 1373# stl: Stallion EasyIO and EasyConnection 8/32 (cd1400 based) 1374# stli: Stallion EasyConnection 8/64, ONboard, Brumby (intelligent) 1375 1376# Notes on APM 1377# The flags takes the following meaning for apm0: 1378# 0x0020 Statclock is broken. 1379# 0x0011 Limit APM protocol to 1.1 or 1.0 1380# 0x0010 Limit APM protocol to 1.0 1381# If apm is omitted, some systems require sysctl -w kern.timcounter.method=1 1382# for correct timekeeping. 1383 1384# Notes on the spigot: 1385# The video spigot is at 0xad6. This port address can not be changed. 1386# The irq values may only be 10, 11, or 15 1387# I/O memory is an 8kb region. Possible values are: 1388# 0a0000, 0a2000, ..., 0fffff, f00000, f02000, ..., ffffff 1389# The start address must be on an even boundary. 1390# Add the following option if you want to allow non-root users to be able 1391# to access the spigot. This option is not secure because it allows users 1392# direct access to the I/O page. 1393# options SPIGOT_UNSECURE 1394 1395# Notes on the Comtrol Rocketport driver: 1396# 1397# The exact values used for rp0 depend on how many boards you have 1398# in the system. The manufacturer's sample configs are listed as: 1399# 1400# Comtrol Rocketport ISA single card 1401# device rp0 at isa? port 0x280 1402# 1403# If instead you have two ISA cards, one installed at 0x100 and the 1404# second installed at 0x180, then you should add the following to 1405# your kernel configuration file: 1406# 1407# device rp0 at isa? port 0x100 1408# device rp1 at isa? port 0x180 1409# 1410# For 4 ISA cards, it might be something like this: 1411# 1412# device rp0 at isa? port 0x180 1413# device rp1 at isa? port 0x100 1414# device rp2 at isa? port 0x340 1415# device rp3 at isa? port 0x240 1416# 1417# And for PCI cards, you only need say: 1418# 1419# device rp0 1420# device rp1 1421# ... 1422# Note: Make sure that any Rocketport PCI devices are specified BEFORE the 1423# ISA Rocketport devices. 1424 1425# Notes on the Digiboard driver: 1426# 1427# The following flag values have special meanings: 1428# 0x01 - alternate layout of pins (dgb & dgm) 1429# 0x02 - use the windowed PC/Xe in 64K mode (dgb only) 1430 1431# Notes on the Specialix SI/XIO driver: 1432# **This is NOT a Specialix supported Driver!** 1433# The host card is memory, not IO mapped. 1434# The Rev 1 host cards use a 64K chunk, on a 32K boundary. 1435# The Rev 2 host cards use a 32K chunk, on a 32K boundary. 1436# The cards can use an IRQ of 11, 12 or 15. 1437 1438# Notes on the Stallion stl and stli drivers: 1439# See src/i386/isa/README.stl for complete instructions. 1440# This is version 0.0.5alpha, unsupported by Stallion. 1441# The stl driver has a secondary IO port hard coded at 0x280. You need 1442# to change src/i386/isa/stallion.c if you reconfigure this on the boards. 1443# The "flags" and "iosiz" settings on the stli driver depend on the board: 1444# EasyConnection 8/64 ISA: flags 23 iosiz 0x1000 1445# EasyConnection 8/64 EISA: flags 24 iosiz 0x10000 1446# EasyConnection 8/64 MCA: flags 25 iosiz 0x1000 1447# ONboard ISA: flags 4 iosiz 0x10000 1448# ONboard EISA: flags 7 iosiz 0x10000 1449# ONboard MCA: flags 3 iosiz 0x10000 1450# Brumby: flags 2 iosiz 0x4000 1451# Stallion: flags 1 iosiz 0x10000 1452 1453device mcd0 at isa? port 0x300 irq 10 1454# for the Sony CDU31/33A CDROM 1455device scd0 at isa? port 0x230 1456# for the SoundBlaster 16 multicd - up to 4 devices 1457controller matcd0 at isa? port 0x230 1458device wt0 at isa? port 0x300 irq 5 drq 1 1459device ctx0 at isa? port 0x230 iomem 0xd0000 1460device spigot0 at isa? port 0xad6 irq 15 iomem 0xee000 1461device apm0 at nexus? 1462device gp0 at isa? port 0x2c0 1463device gsc0 at isa? port IO_GSC1 drq 3 1464device joy0 at isa? port IO_GAME 1465device cy0 at isa? irq 10 iomem 0xd4000 iosiz 0x2000 1466options CY_PCI_FASTINTR # Use with cy_pci unless irq is shared 1467device dgb0 at isa? port 0x220 iomem 0xfc000 iosiz ? 1468options NDGBPORTS=16 # Defaults to 16*NDGB 1469device dgm0 at isa? port 0x104 iomem 0xd0000 iosiz ? 1470device labpc0 at isa? port 0x260 irq 5 1471device rc0 at isa? port 0x220 irq 12 1472device rp0 at isa? port 0x280 1473# the port and irq for tw0 are fictitious 1474device tw0 at isa? port 0x380 irq 11 1475device si0 at isa? iomem 0xd0000 irq 12 1476device asc0 at isa? port IO_ASC1 drq 3 irq 10 1477device stl0 at isa? port 0x2a0 irq 10 1478device stli0 at isa? port 0x2a0 iomem 0xcc000 flags 23 iosiz 0x1000 1479# You are unlikely to have the hardware for loran0 <phk@FreeBSD.org> 1480device loran0 at isa? port ? irq 5 1481# HOT1 Xilinx 6200 card (www.vcc.com) 1482device xrpu0 1483 1484# 1485# EISA devices: 1486# 1487# The EISA bus device is eisa0. It provides auto-detection and 1488# configuration support for all devices on the EISA bus. 1489# 1490# The `ahb' device provides support for the Adaptec 174X adapter. 1491# 1492# The `ahc' device provides support for the Adaptec 274X and 284X 1493# adapters. The 284X, although a VLB card responds to EISA probes. 1494# 1495# fea: DEC DEFEA EISA FDDI adapter 1496# 1497controller eisa0 1498controller ahb0 1499controller ahc0 1500device fea0 1501 1502# The aic7xxx driver will attempt to use memory mapped I/O for all PCI 1503# controllers that have it configured only if this option is set. Unfortunately, 1504# this doesn't work on some motherboards, which prevents it from being the 1505# default. 1506options AHC_ALLOW_MEMIO 1507 1508# By default, only 10 EISA slots are probed, since the slot numbers 1509# above clash with the configuration address space of the PCI subsystem, 1510# and the EISA probe is not very smart about this. This is sufficient 1511# for most machines, but in particular the HP NetServer LC series comes 1512# with an onboard AIC7770 dual-channel SCSI controller on EISA slot #11, 1513# thus you need to bump this figure to 12 for them. 1514options EISA_SLOTS=12 1515 1516# 1517# PCI devices & PCI options: 1518# 1519# The main PCI bus device is `pci'. It provides auto-detection and 1520# configuration support for all devices on the PCI bus, using either 1521# configuration mode defined in the PCI specification. 1522# 1523# The `ahc' device provides support for the Adaptec 29/3940(U)(W) 1524# and motherboard based AIC7870/AIC7880 adapters. 1525# 1526# The `ncr' device provides support for the NCR 53C810 and 53C825 1527# self-contained SCSI host adapters. 1528# 1529# The `isp' device provides support for the Qlogic ISP 1020, 1040 1530# nd 1040B PCI SCSI host adapters, as well as the Qlogic ISP 2100 1531# FC/AL Host Adapter. 1532# 1533# The `ax' device provides support for PCI fast ethernet adapters 1534# based on the ASIX Electronics AX88140A chip, including the Alfa 1535# Inc. GFC2204. 1536# 1537# The `de' device provides support for the Digital Equipment DC21040 1538# self-contained Ethernet adapter. 1539# 1540# The `fxp' device provides support for the Intel EtherExpress Pro/100B 1541# PCI Fast Ethernet adapters. 1542# 1543# The `mx' device provides support for various fast ethernet adapters 1544# based on the Macronix 98713, 987615 ans 98725 series chips. 1545# 1546# The `pn' device provides support for various fast ethernet adapters 1547# based on the Lite-On 82c168 and 82c169 PNIC chips, including the 1548# LinkSys LNE100TX, the NetGear FA310TX rev. D1 and the Matrox 1549# FastNIC 10/100. 1550# 1551# The 'rl' device provides support for PCI fast ethernet adapters based 1552# on the RealTek 8129/8139 chipset. Note that the RealTek driver defaults 1553# to useing programmed I/O to do register accesses because memory mapped 1554# mode seems to cause severe lockups on SMP hardware. This driver also 1555# supports the Accton EN1207D `Cheetah' adapter, which uses a chip called 1556# the MPX 5030/5038, which is either a RealTek in disguise or a RealTek 1557# workalike. 1558# 1559# The 'ti' device provides support for PCI gigabit ethernet NICs based 1560# on the Alteon Networks Tigon 1 and Tigon 2 chipsets. This includes the 1561# Alteon AceNIC, the 3Com 3c985, the Netgear GA620 and various others. 1562# Note that you will probably want to bump up NBMCLUSTERS a lot to use 1563# this driver. 1564# 1565# The 'tl' device provides support for the Texas Instruments TNETE100 1566# series 'ThunderLAN' cards and integrated ethernet controllers. This 1567# includes several Compaq Netelligent 10/100 cards and the built-in 1568# ethernet controllers in several Compaq Prosignia, Proliant and 1569# Deskpro systems. It also supports several Olicom 10Mbps and 10/100 1570# boards. 1571# 1572# The `tx' device provides support for the SMC 9432TX cards. 1573# 1574# The `vr' device provides support for various fast ethernet adapters 1575# based on the VIA Technologies VT3043 `Rhine I' and VT86C100A `Rhine II' 1576# chips, including the D-Link DFE530TX. 1577# 1578# The `vx' device provides support for the 3Com 3C590 and 3C595 1579# early support 1580# 1581# The `wb' device provides support for various fast ethernet adapters 1582# based on the Winbond W89C840F chip. Note: this is not the same as 1583# the Winbond W89C940F, which is an NE2000 clone. 1584# 1585# The `xl' device provides support for the 3Com 3c900, 3c905 and 1586# 3c905B (Fast) Etherlink XL cards and integrated controllers. This 1587# includes the integrated 3c905B-TX chips in certain Dell Optiplex and 1588# Dell Precision desktop machines and the integrated 3c905-TX chips 1589# in Dell Latitude laptop docking stations. 1590# 1591# The `fpa' device provides support for the Digital DEFPA PCI FDDI 1592# adapter. pseudo-device fddi is also needed. 1593# 1594# The `meteor' device is a PCI video capture board. It can also have the 1595# following options: 1596# options METEOR_ALLOC_PAGES=xxx preallocate kernel pages for data entry 1597# figure (ROWS*COLUMN*BYTES_PER_PIXEL*FRAME+PAGE_SIZE-1)/PAGE_SIZE 1598# options METEOR_DEALLOC_PAGES remove all allocated pages on close(2) 1599# options METEOR_DEALLOC_ABOVE=xxx remove all allocated pages above the 1600# specified amount. If this value is below the allocated amount no action 1601# taken 1602# options METEOR_SYSTEM_DEFAULT={METEOR_PAL|METEOR_NTSC|METEOR_SECAM}, used 1603# for initialization of fps routine when a signal is not present. 1604# 1605# The 'bktr' device is a PCI video capture device using the Brooktree 1606# bt848/bt848a/bt849/bt878/bt879 chipset. When used with a TV Tuner it forms a 1607# TV card, eg Miro PC/TV,Hauppauge WinCast/TV WinTV, VideoLogic Captivator, 1608# Intel Smart Video III, AverMedia, IMS Turbo. 1609# The following options can be used to override the auto detection 1610# options OVERRIDE_CARD=xxx 1611# options OVERRIDE_TUNER=xxx 1612# options OVERRIDE_MSP=1 1613# options OVERRIDE_DBX=1 1614# The current values are found in /usr/src/sys/pci/brooktree848.c 1615# 1616# options BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_PAL 1617# This is required for Dual Crystal (28&35Mhz) boards where PAL is used 1618# to prevent hangs during initialisation. eg VideoLogic Captivator PCI. 1619# 1620# PAL or SECAM users who have a 28Mhz crystal (and no 35Mhz crystal) 1621# must enable PLL mode with this option. eg some new Hauppauge cards. 1622# options BKTR_USE_PLL 1623# 1624# Using sysctl(8) run-time overrides on a per-card basis can be made 1625# 1626# The oltr driver supports the following Olicom PCI token-ring adapters 1627# OC-3136, OC-3137, OC-3139, OC-3140, OC-3141, OC-3540, OC-3250 1628# 1629controller pci0 1630controller ahc1 1631controller ncr0 1632controller isp0 1633# 1634# Options for ISP 1635# 1636# SCSI_ISP_NO_FWLOAD_MASK - mask of isp unit numbers (obviously 1637# a max of 32) that you wish to disable 1638# to disable the loading of firmware on. 1639# SCSI_ISP_NO_NVRAM_MASK - mask of isp unit numbers (obviously 1640# a max of 32) that you wish to disable 1641# them picking up information from NVRAM 1642# (for broken cards you can't fix the NVRAM 1643# on- very rare, or for systems you can't 1644# change NVRAM on (e.g. alpha) and you don't 1645# like what's in there) 1646# SCSI_ISP_PREFER_MEM_MAP - control preference for using memory mappings 1647# instead of I/O space mappings. It defaults 1648# to 1 for i386, 0 for alpha. Set to 1 to 1649# unconditionally prefer mapping memory, 1650# else it will use I/O space mappings. Of 1651# course, this can fail if the PCI implement- 1652# ation doesn't support what you want. 1653# 1654# SCSI_ISP_FABRIC enable loading of Fabric f/w flavor (2100). 1655# SCSI_ISP_SCCLUN enable loading of expanded lun f/w (2100). 1656# 1657# ISP_DISABLE_1020_SUPPORT Disable support for 1020/1040 cards 1658# ISP_DISABLE_1080_SUPPORT Disable support for 1080/1240 cards 1659# ISP_DISABLE_2100_SUPPORT Disable support for 2100 cards 1660# (these really just to save code space) 1661# (use of all three will cause the driver to not compile) 1662options SCSI_ISP_NO_FWLOAD_MASK=0x12 # disable FW load for isp1 and isp4 1663options SCSI_ISP_NO_NVRAM_MASK=0x1 # disable NVRAM for isp0 1664options SCSI_ISP_PREFER_MEM_MAP=0 # prefer I/O mapping 1665#options ISP_DISABLE_1020_SUPPORT 1666#options ISP_DISABLE_1080_SUPPORT 1667#options ISP_DISABLE_2100_SUPPORT 1668 1669device ax0 1670device de0 1671device fxp0 1672device mx0 1673device pn0 1674device rl0 1675device ti0 1676device tl0 1677device tx0 1678device vr0 1679device vx0 1680device wb0 1681device xl0 1682device fpa0 1683device meteor0 1684#The oltr driver in the ISA section will also find PCI cards. 1685#device oltr0 1686 1687# Brooktree driver has been ported to the new I2C framework. Thus, 1688# you'll need at least iicbus, iicbb and smbus. iic/smb are only needed if you 1689# want to control other I2C slaves connected to the external connector of 1690# some cards. 1691# 1692device bktr0 1693 1694# 1695# PCI options 1696# 1697#options PCI_QUIET #quiets PCI code on chipset settings 1698 1699# 1700# PCCARD/PCMCIA 1701# 1702# card: slot controller 1703# pcic: slots 1704controller card0 1705device pcic0 at card? 1706device pcic1 at card? 1707 1708# You may need to reset all pccards after resuming 1709options PCIC_RESUME_RESET # reset after resume 1710 1711# 1712# Laptop/Notebook options: 1713# 1714# See also: 1715# apm under `Miscellaneous hardware' 1716# above. 1717 1718# For older notebooks that signal a powerfail condition (external 1719# power supply dropped, or battery state low) by issuing an NMI: 1720 1721options POWERFAIL_NMI # make it beep instead of panicing 1722 1723# 1724# SMB bus 1725# 1726# System Management Bus support provided by the 'smbus' device. 1727# 1728# Supported devices: 1729# smb standard io 1730# 1731# Supported interfaces: 1732# iicsmb I2C to SMB bridge with any iicbus interface 1733# bktr brooktree848 I2C hardware interface 1734# intpm Intel PIIX4 Power Management Unit 1735# alpm Acer Aladdin-IV/V/Pro2 Power Management Unit 1736# 1737controller smbus0 1738controller intpm0 1739controller alpm0 1740 1741device smb0 at smbus? 1742 1743# 1744# I2C Bus 1745# 1746# Philips i2c bus support is provided by the `iicbus' device. 1747# 1748# Supported devices: 1749# ic i2c network interface 1750# iic i2c standard io 1751# iicsmb i2c to smb bridge. Allow i2c i/o with smb commands. 1752# 1753# Supported interfaces: 1754# pcf Philips PCF8584 ISA-bus controller 1755# bktr brooktree848 I2C software interface 1756# 1757# Other: 1758# iicbb generic I2C bit-banging code (needed by lpbb, bktr) 1759# 1760controller iicbus0 1761controller iicbb0 1762 1763device ic0 at iicbus? 1764device iic0 at iicbus? 1765device iicsmb0 at iicbus? 1766 1767controller pcf0 at isa? port 0x320 irq 5 1768 1769# ISDN4BSD section 1770 1771# i4b passive ISDN cards support (isic - I4b Siemens Isdn Chipset driver) 1772# note that the ``options'' and ``device'' lines must BOTH be defined ! 1773# 1774# Non-PnP Cards: 1775# -------------- 1776# 1777# Teles S0/8 or Niccy 1008 1778options TEL_S0_8 1779#device isic0 at isa? iomem 0xd0000 irq 5 flags 1 1780# 1781# Teles S0/16 or Creatix ISDN-S0 or Niccy 1016 1782options TEL_S0_16 1783#device isic0 at isa? port 0xd80 iomem 0xd0000 irq 5 flags 2 1784# 1785# Teles S0/16.3 1786options TEL_S0_16_3 1787#device isic0 at isa? port 0xd80 irq 5 flags 3 1788# 1789# AVM A1 or AVM Fritz!Card 1790options AVM_A1 1791#device isic0 at isa? port 0x340 irq 5 flags 4 1792# 1793# USRobotics Sportster ISDN TA intern 1794options USR_STI 1795#device isic0 at isa? port 0x268 irq 5 flags 7 1796# 1797# ITK ix1 Micro 1798options ITKIX1 1799#device isic0 at isa? port 0x398 irq 10 flags 18 1800# 1801# PnP-Cards: 1802# ---------- 1803# 1804# Teles S0/16.3 PnP 1805options TEL_S0_16_3_P 1806#device isic0 at isa? port ? irq ? 1807# 1808# Creatix ISDN-S0 P&P 1809options CRTX_S0_P 1810#device isic0 at isa? port ? irq ? 1811# 1812# Dr. Neuhaus Niccy Go@ 1813options DRN_NGO 1814#device isic0 at isa? port ? irq ? 1815# 1816# Sedlbauer Win Speed 1817options SEDLBAUER 1818#device isic0 at isa? port ? irq ? 1819# 1820# Dynalink IS64PH 1821options DYNALINK 1822#device isic0 at isa? port ? irq ? 1823# 1824# ELSA QuickStep 1000pro ISA 1825options ELSA_QS1ISA 1826#device isic0 at isa? port ? irq ? 1827# 1828# PCI-Cards: 1829# ---------- 1830# 1831# ELSA QuickStep 1000pro PCI 1832options ELSA_QS1PCI 1833#device isic0 1834# 1835# PCMCIA-Cards: 1836# ------------- 1837# 1838# AVM PCMCIA Fritz!Card 1839options AVM_A1_PCMCIA 1840device isic0 at isa? port 0x340 irq 5 flags 10 1841# 1842# Active Cards: 1843# ------------- 1844# 1845# Stollmann Tina-dd control device 1846device tina0 at isa? port 0x260 irq 10 1847# 1848# ISDN Protocol Stack 1849# ------------------- 1850# 1851# Q.921 / layer 2 - i4b passive cards D channel handling 1852pseudo-device "i4bq921" 1853# 1854# Q.931 / layer 3 - i4b passive cards D channel handling 1855pseudo-device "i4bq931" 1856# 1857# layer 4 - i4b common passive and active card handling 1858pseudo-device "i4b" 1859# 1860# ISDN devices 1861# ------------ 1862# 1863# userland driver to do ISDN tracing (for passive cards only) 1864pseudo-device "i4btrc" 4 1865# 1866# userland driver to control the whole thing 1867pseudo-device "i4bctl" 1868# 1869# userland driver for access to raw B channel 1870pseudo-device "i4brbch" 4 1871# 1872# userland driver for telephony 1873pseudo-device "i4btel" 2 1874# 1875# network driver for IP over raw HDLC ISDN 1876pseudo-device "i4bipr" 4 1877# enable VJ header compression detection for ipr i/f 1878options IPR_VJ 1879# 1880# network driver for sync PPP over ISDN 1881pseudo-device "i4bisppp" 4 1882 1883 1884# Parallel-Port Bus 1885# 1886# Parallel port bus support is provided by the `ppbus' device. 1887# Multiple devices may be attached to the parallel port, devices 1888# are automatically probed and attached when found. 1889# 1890# Supported devices: 1891# vpo Iomega Zip Drive 1892# Requires SCSI disk support ('scbus' and 'da'), best 1893# performance is achieved with ports in EPP 1.9 mode. 1894# lpt Parallel Printer 1895# plip Parallel network interface 1896# ppi General-purpose I/O ("Geek Port") + IEEE1284 I/O 1897# pps Pulse per second Timing Interface 1898# lpbb Philips official parallel port I2C bit-banging interface 1899# 1900# Supported interfaces: 1901# ppc ISA-bus parallel port interfaces. 1902# 1903 1904options DEBUG_1284 # IEEE1284 signaling protocol debug 1905options PERIPH_1284 # Makes your computer act as a IEEE1284 1906 # compliant peripheral 1907options DONTPROBE_1284 # Avoid boot detection of PnP parallel devices 1908options VP0_DEBUG # ZIP/ZIP+ debug 1909options LPT_DEBUG # Printer driver debug 1910options PPC_DEBUG # Parallel chipset level debug 1911options PLIP_DEBUG # Parallel network IP interface debug 1912 1913controller ppbus0 1914controller vpo0 at ppbus? 1915device lpt0 at ppbus? 1916device plip0 at ppbus? 1917device ppi0 at ppbus? 1918device pps0 at ppbus? 1919device lpbb0 at ppbus? 1920 1921device ppc0 at isa? port? irq 7 1922 1923# Kernel BOOTP support 1924 1925options BOOTP # Use BOOTP to obtain IP address/hostname 1926options BOOTP_NFSROOT # NFS mount root filesystem using BOOTP info 1927options BOOTP_NFSV3 # Use NFS v3 to NFS mount root 1928options BOOTP_COMPAT # Workaround for broken bootp daemons. 1929options BOOTP_WIRED_TO=fxp0 # Use interface fxp0 for BOOTP 1930 1931# 1932# Add tie-ins for a hardware watchdog. This only enable the hooks; 1933# the user must still supply the actual driver. 1934# 1935options HW_WDOG 1936 1937# 1938# Set the number of PV entries per process. Increasing this can 1939# stop panics related to heavy use of shared memory. However, that can 1940# (combined with large amounts of physical memory) cause panics at 1941# boot time due the kernel running out of VM space. 1942# 1943# If you're tweaking this, you might also want to increase the sysctls 1944# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target". 1945# 1946# The value below is the one more than the default. 1947# 1948options PMAP_SHPGPERPROC=201 1949 1950# 1951# Disable swapping. This option removes all code which actually performs 1952# swapping, so it's not possible to turn it back on at run-time. 1953# 1954# This is sometimes usable for systems which don't have any swap space 1955# (see also sysctls "vm.defer_swapspace_pageouts" and 1956# "vm.disable_swapspace_pageouts") 1957# 1958#options NO_SWAPPING 1959 1960# Set the number of sf_bufs to allocate. sf_bufs are virtual buffers 1961# for sendfile(2) that are used to map file VM pages, and normally 1962# default to a quantity that is roughly 16*MAXUSERS+512. You would 1963# typically want about 4 of these for each simultaneous file send. 1964# 1965options NSFBUFS=1024 1966 1967# 1968# Enable extra debugging code for locks. This stores the filename and 1969# line of whatever aquired the lock in the lock itself, and change a 1970# number of function calls to pass around the relevant data. This is 1971# not at all useful unless you are debugging lock code. Also note 1972# that it is likely to break e.g. fstat(1) unless you recompile your 1973# userland with -DDEBUG_LOCKS as well. 1974# 1975options DEBUG_LOCKS 1976 1977# More undocumented options for linting. 1978 1979options CLK_CALIBRATION_LOOP 1980options CLK_USE_I8254_CALIBRATION 1981options CLK_USE_TSC_CALIBRATION 1982options TIMER_FREQ="((14318182+6)/12)" 1983options CLUSTERDEBUG 1984options COMPAT_LINUX 1985options CPU_UPGRADE_HW_CACHE 1986options DEBUG 1987options DEBUG_VFS_LOCKS 1988#options DISABLE_PSE 1989options I586_PMC_GUPROF=0x70000 1990options IBCS2 1991options KEY 1992options KEY_DEBUG 1993options LOCKF_DEBUG 1994options LOUTB 1995options KBD_MAXRETRY=4 1996options KBD_MAXWAIT=6 1997options KBD_RESETDELAY=201 1998options KBDIO_DEBUG=2 1999options MSGMNB=2049 2000options MSGMNI=41 2001options MSGSEG=2049 2002options MSGSSZ=16 2003options MSGTQL=41 2004options NBUF=512 2005options NETATALKDEBUG 2006options NMBCLUSTERS=1024 2007options NPX_DEBUG 2008options PANIC_REBOOT_WAIT_TIME=16 2009options PSM_DEBUG=1 2010options SCSI_NCR_DEBUG 2011options SCSI_NCR_DFLT_TAGS=4 2012options SCSI_NCR_MAX_SYNC=10000 2013options SCSI_NCR_MAX_WIDE=1 2014options SCSI_NCR_MYADDR=7 2015options SEMMAP=31 2016options SEMMNI=11 2017options SEMMNS=61 2018options SEMMNU=31 2019options SEMMSL=61 2020options SEMOPM=101 2021options SEMUME=11 2022options SHOW_BUSYBUFS # List buffers that prevent root unmount 2023options SHMALL=1025 2024options SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)" 2025options SHMMAXPGS=1025 2026options SHMMIN=2 2027options SHMMNI=33 2028options SHMSEG=9 2029options SI_DEBUG 2030options SIMPLELOCK_DEBUG 2031options SPX_HACK 2032options VFS_BIO_DEBUG 2033options ENABLE_ALART 2034 2035# The 'dpt' driver provides support for DPT controllers (http://www.dpt.com/). 2036# These have hardware RAID-{0,1,5} support, and do multi-initiator I/O. 2037# The DPT controllers are commonly re-licensed under other brand-names - 2038# some controllers by Olivetti, Dec, HP, AT&T, SNI, AST, Alphatronic, NEC and 2039# Compaq are actually DPT controllers. 2040# 2041# See sys/dev/dpt for debugging and other subtle options. 2042# DPT_VERIFY_HINTR Performs some strict hardware interrupts testing. 2043# Only use if you suspect PCI bus corruption problems 2044# DPT_RESTRICTED_FREELIST Normally, the freelisat used by the DPT for queue 2045# will grow to accomodate increased use. This growth 2046# will NOT shrink. To restrict the number of queue 2047# slots to exactly what the DPT can hold at one time, 2048# enable this option. 2049# DPT_MEASURE_PERFORMANCE Enables a set of (semi)invasive metrics. Various 2050# instruments are enabled. The tools in 2051# /usr/sbin/dpt_* assume these to be enabled. 2052# DPT_FREELIST_IS_STACK For optimal L{1,2} CPU cache utilization, enable 2053# this option. Otherwise, the transaction queue is 2054# a LIFO. I cannot measure the performance gain. 2055# DPT_HANDLE_TIMEOUTS Normally device timeouts are handled by the DPT. 2056# If you ant the driver to handle timeouts, enable 2057# this option. If your system is very busy, this 2058# option will create more trouble than solve. 2059# DPT_TIMEOUT_FACTOR Used to compute the excessive amount of time to 2060# wait when timing out with the above option. 2061# DPT_DEBUG_xxxx These are controllable from sys/dev/dpt/dpt.h 2062# DPT_LOST_IRQ When enabled, will try, once per second, to catch 2063# any interrupt that got lost. Seems to help in some 2064# DPT-firmware/Motherboard combinations. Minimal 2065# cost, great benefit. 2066# DPT_RESET_HBA Make "reset" actually reset the controller 2067# instead of fudging it. Only enable this if you 2068# are 100% certain you need it. 2069# DPT_SHUTDOWN_SLEEP Reset controller if a request take more than 2070# this number of seconds. Do NOT enable this 2071# unless you are really, really, really certain 2072# you need it. You are advised to call Simon (the 2073# driver author) before setting it, and NEVER, 2074# EVER set it to less than 300s (5 minutes). 2075 2076controller dpt0 2077 2078# DPT options 2079options DPT_VERIFY_HINTR 2080options DPT_RESTRICTED_FREELIST 2081#!CAM# options DPT_MEASURE_PERFORMANCE 2082options DPT_FREELIST_IS_STACK 2083#!CAM# options DPT_HANDLE_TIMEOUTS 2084options DPT_TIMEOUT_FACTOR=4 2085options DPT_INTR_DELAY=200 # Some motherboards need that 2086options DPT_LOST_IRQ 2087options DPT_RESET_HBA 2088 2089# Don't EVER set this without having talked to Simon Shapiro on the phone 2090# first. 2091options DPT_SHUTDOWN_SLEEP=500 2092 2093# USB support 2094# UHCI controller 2095controller uhci0 2096# OHCI controller 2097controller ohci0 2098# General USB code (mandatory for USB) 2099controller usb0 2100# 2101# for the moment we have to specify the priorities of the device 2102# drivers explicitly by the ordering in the list below. This will 2103# be changed in the future. 2104# 2105# USB Iomega Zip 100 Drive 2106controller umass0 2107# USB mouse 2108device ums0 2109# USB keyboard 2110device ukbd0 2111# USB printer 2112device ulpt0 2113# Human Interface Device (anything with buttons and dials) 2114device uhid0 2115# Generic USB device driver 2116device ugen0 2117# 2118options UHCI_DEBUG 2119options OHCI_DEBUG 2120options USB_DEBUG 2121options UHUB_DEBUG 2122options UMS_DEBUG 2123options UKBD_DEBUG 2124options UMASS_DEBUG 2125options UHID_DEBUG 2126options UGEN_DEBUG 2127options ULPT_DEBUG 2128# 2129# Embedded system options: 2130# 2131# An embedded system might want to run something other than init. 2132options INIT_PATH="/sbin/init:/stand/sysinstall" 2133 2134