NOTES revision 39884
1181641Skmacy# 2181641Skmacy# LINT -- config file for checking all the sources, tries to pull in 3181641Skmacy# as much of the source tree as it can. 4181641Skmacy# 5181641Skmacy# $Id: LINT,v 1.479 1998/10/01 11:48:38 yokota Exp $ 6181641Skmacy# 7181641Skmacy# NB: You probably don't want to try running a kernel built from this 8181641Skmacy# file. Instead, you should start from GENERIC, and add options from 9181641Skmacy# this file as required. 10181641Skmacy# 11181641Skmacy 12181641Skmacy# 13181641Skmacy# This directive is mandatory; it defines the architecture to be 14181641Skmacy# configured for; in this case, the 386 family based IBM-PC and 15181641Skmacy# compatibles. 16181641Skmacy# 17181641Skmacymachine "i386" 18181641Skmacy 19181641Skmacy# 20181641Skmacy# This is the ``identification'' of the kernel. Usually this should 21181641Skmacy# be the same as the name of your kernel. 22181641Skmacy# 23181641Skmacyident LINT 24181641Skmacy 25181641Skmacy# 26181641Skmacy# The `maxusers' parameter controls the static sizing of a number of 27181641Skmacy# internal system tables by a complicated formula defined in param.c. 28181641Skmacy# 29181641Skmacymaxusers 10 30181641Skmacy 31181641Skmacy# 32181641Skmacy# Certain applications can grow to be larger than the 128M limit 33181641Skmacy# that FreeBSD initially imposes. Below are some options to 34181641Skmacy# allow that limit to grow to 256MB, and can be increased further 35181641Skmacy# with changing the parameters. MAXDSIZ is the maximum that the 36181641Skmacy# limit can be set to, and the DFLDSIZ is the default value for 37181641Skmacy# the limit. You might want to set the default lower than the 38181641Skmacy# max, and explicitly set the maximum with a shell command for processes 39181641Skmacy# that regularly exceed the limit like INND. 40181641Skmacy# 41181641Skmacyoptions "MAXDSIZ=(256*1024*1024)" 42181641Skmacyoptions "DFLDSIZ=(256*1024*1024)" 43181641Skmacy 44181641Skmacy# When this is set, be extra conservative in various parts of the kernel 45181641Skmacy# and choose functionality over speed (on the widest variety of systems). 46181641Skmacyoptions FAILSAFE 47181641Skmacy 48181641Skmacy# Options for the VM subsystem 49181641Skmacy#options PQ_NOOPT # No coloring 50181641Skmacyoptions PQ_LARGECACHE # color for 512k/16k cache 51181641Skmacy#options PQ_HUGECACHE # color for 1024k/16k cache 52181641Skmacy 53181641Skmacy# This allows you to actually store this configuration file into 54181641Skmacy# the kernel binary itself, where it may be later read by saying: 55181641Skmacy# strings -aout -n 3 /kernel | grep ^___ | sed -e 's/^___//' > MYKERNEL 56181641Skmacy# 57181641Skmacyoptions INCLUDE_CONFIG_FILE # Include this file in kernel 58181641Skmacy 59181641Skmacy# 60181641Skmacy# This directive defines a number of things: 61181641Skmacy# - The compiled kernel is to be called `kernel' 62181641Skmacy# - The root filesystem might be on partition wd0a 63181641Skmacy# - Crash dumps will be written to wd0b, if possible. Specifying the 64181641Skmacy# dump device here is not recommended. Use dumpon(8). 65181641Skmacy# 66181641Skmacyconfig kernel root on wd0 dumps on wd0 67181641Skmacy 68181641Skmacy 69181641Skmacy##################################################################### 70181641Skmacy# SMP OPTIONS: 71181641Skmacy# 72181641Skmacy# SMP enables building of a Symmetric MultiProcessor Kernel. 73181641Skmacy# APIC_IO enables the use of the IO APIC for Symmetric I/O. 74181641Skmacy# NCPU sets the number of CPUs, defaults to 2. 75181641Skmacy# NBUS sets the number of busses, defaults to 4. 76181641Skmacy# NAPIC sets the number of IO APICs on the motherboard, defaults to 1. 77181641Skmacy# NINTR sets the total number of INTs provided by the motherboard. 78181641Skmacy# 79181641Skmacy# Notes: 80181641Skmacy# 81181641Skmacy# An SMP kernel will ONLY run on an Intel MP spec. qualified motherboard. 82181641Skmacy# 83181641Skmacy# Be sure to disable 'cpu "I386_CPU"' && 'cpu "I486_CPU"' for SMP kernels. 84181641Skmacy# 85181641Skmacy# Check the 'Rogue SMP hardware' section to see if additional options 86181641Skmacy# are required by your hardware. 87181641Skmacy# 88181641Skmacy 89181641Skmacy# Mandatory: 90181641Skmacyoptions SMP # Symmetric MultiProcessor Kernel 91181641Skmacyoptions APIC_IO # Symmetric (APIC) I/O 92181641Skmacy 93181641Skmacy# Optional, these are the defaults plus 1: 94181641Skmacyoptions NCPU=5 # number of CPUs 95181641Skmacyoptions NBUS=5 # number of busses 96181641Skmacyoptions NAPIC=2 # number of IO APICs 97181641Skmacyoptions NINTR=25 # number of INTs 98181641Skmacy 99181641Skmacy# 100181641Skmacy# Rogue SMP hardware: 101181641Skmacy# 102181641Skmacy 103181641Skmacy# Bridged PCI cards: 104181641Skmacy# 105181641Skmacy# The MP tables of most of the current generation MP motherboards 106181641Skmacy# do NOT properly support bridged PCI cards. To use one of these 107181641Skmacy# cards you should refer to ??? 108181641Skmacy 109181641Skmacy 110181641Skmacy##################################################################### 111181641Skmacy# CPU OPTIONS 112181641Skmacy 113181641Skmacy# 114181641Skmacy# You must specify at least one CPU (the one you intend to run on); 115181641Skmacy# deleting the specification for CPUs you don't need to use may make 116181641Skmacy# parts of the system run faster. This is especially true removing 117181641Skmacy# I386_CPU. 118181641Skmacy# 119181641Skmacycpu "I386_CPU" 120181641Skmacycpu "I486_CPU" 121181641Skmacycpu "I586_CPU" # aka Pentium(tm) 122181641Skmacycpu "I686_CPU" # aka Pentium Pro(tm) 123181641Skmacy 124195949Skib# 125181641Skmacy# Options for CPU features. 126181641Skmacy# 127181641Skmacy# CPU_BLUELIGHTNING_FPU_OP_CACHE enables FPU operand cache on IBM 128181641Skmacy# BlueLightning CPU. It works only with Cyrix FPU, and this option 129181641Skmacy# should not be used with Intel FPU. 130181641Skmacy# 131181641Skmacy# CPU_BLUELIGHTNING_3X enables triple-clock mode on IBM Blue Lightning 132181641Skmacy# CPU if CPU supports it. The default is double-clock mode on 133181641Skmacy# BlueLightning CPU box. 134181641Skmacy# 135181641Skmacy# CPU_BTB_EN enables branch target buffer on Cyrix 5x86 (NOTE 1). 136181641Skmacy# 137181641Skmacy# CPU_DIRECT_MAPPED_CACHE sets L1 cache of Cyrix 486DLC CPU in direct 138181641Skmacy# mapped mode. Default is 2-way set associative mode. 139181641Skmacy# 140181641Skmacy# CPU_CYRIX_NO_LOCK enables weak locking for the entire address space 141181641Skmacy# of Cyrix 6x86 and 6x86MX CPUs. If this option is not set and 142181641Skmacy# FAILESAFE is defined, NO_LOCK bit of CCR1 is cleared. (NOTE 3) 143181641Skmacy# 144181641Skmacy# CPU_DISABLE_5X86_LSSER disables load store serialize (i.e. enables 145181641Skmacy# reorder). This option should not be used if you use memory mapped 146181641Skmacy# I/O device(s). 147181641Skmacy# 148181641Skmacy# CPU_FASTER_5X86_FPU enables faster FPU exception handler. 149181641Skmacy# 150181641Skmacy# CPU_I486_ON_386 enables CPU cache on i486 based CPU upgrade products 151181641Skmacy# for i386 machines. 152181641Skmacy# 153181641Skmacy# CPU_IORT defines I/O clock delay time (NOTE 1). Default vaules of 154181641Skmacy# I/O clock delay time on Cyrix 5x86 and 6x86 are 0 and 7,respectively 155181641Skmacy# (no clock delay). 156181641Skmacy# 157181641Skmacy# CPU_LOOP_EN prevents flushing the prefetch buffer if the destination 158186557Skmacy# of a jump is already present in the prefetch buffer on Cyrix 5x86(NOTE 159181641Skmacy# 1). 160181641Skmacy# 161181641Skmacy# CPU_RSTK_EN enables return stack on Cyrix 5x86 (NOTE 1). 162181641Skmacy# 163181641Skmacy# CPU_SUSP_HLT enables suspend on HALT. If this option is set, CPU 164181641Skmacy# enters suspend mode following execution of HALT instruction. 165181641Skmacy# 166181641Skmacy# CPU_WT_ALLOC enables write-through allocation. 167181641Skmacy# 168181641Skmacy# CYRIX_CACHE_WORKS enables CPU cache on Cyrix 486 CPUs with cache 169181641Skmacy# flush at hold state. 170181641Skmacy# 171181641Skmacy# CYRIX_CACHE_REALLY_WORKS enables (1) CPU cache on Cyrix 486 CPUs 172181641Skmacy# without cache flush at hold state, and (2) write-back CPU cache on 173181641Skmacy# Cyrix 6x86 whose revision < 2.7 (NOTE 2). 174181641Skmacy# 175181641Skmacy# NO_F00F_HACK disables the hack that prevents Pentiums (and ONLY 176204041Sed# Pentiums) from locking up when a LOCK CMPXCHG8B instruction is 177204041Sed# executed. This should be included for ALL kernels that won't run 178204041Sed# on a Pentium. 179202628Sed# 180204041Sed# NOTE 1: The options, CPU_BTB_EN, CPU_LOOP_EN, CPU_IORT, 181181641Skmacy# CPU_LOOP_ENand CPU_RSTK_EN should no be used becasue of CPU bugs. 182181641Skmacy# These options may crash your system. 183181641Skmacy# 184181641Skmacy# NOTE 2: If CYRIX_CACHE_REALLY_WORKS is not set, CPU cache is enabled 185181641Skmacy# in write-through mode when revision < 2.7. If revision of Cyrix 186181641Skmacy# 6x86 >= 2.7, CPU cache is always enabled in write-back mode. 187181641Skmacy# 188181641Skmacy# NOTE 3: This option may cause failures for software that requires 189181641Skmacy# locked cycles in order to operate correctly. 190181641Skmacy# 191181641Skmacyoptions "CPU_BLUELIGHTNING_FPU_OP_CACHE" 192181747Skmacyoptions "CPU_BLUELIGHTNING_3X" 193181747Skmacyoptions "CPU_BTB_EN" 194181747Skmacyoptions "CPU_DIRECT_MAPPED_CACHE" 195181641Skmacyoptions "CPU_DISABLE_5X86_LSSER" 196181641Skmacyoptions "CPU_FASTER_5X86_FPU" 197181641Skmacyoptions "CPU_I486_ON_386" 198181641Skmacyoptions "CPU_IORT" 199181641Skmacyoptions "CPU_LOOP_EN" 200181641Skmacyoptions "CPU_RSTK_EN" 201181641Skmacyoptions "CPU_SUSP_HLT" 202181641Skmacyoptions "CYRIX_CACHE_WORKS" 203181641Skmacyoptions "CYRIX_CACHE_REALLY_WORKS" 204181641Skmacy#options "NO_F00F_HACK" 205181641Skmacy 206181641Skmacy# 207181641Skmacy# A math emulator is mandatory if you wish to run on hardware which 208181641Skmacy# does not have a floating-point processor. Pick either the original, 209181641Skmacy# bogus (but freely-distributable) math emulator, or a much more 210181641Skmacy# fully-featured but GPL-licensed emulator taken from Linux. 211181641Skmacy# 212181641Skmacyoptions MATH_EMULATE #Support for x87 emulation 213181641Skmacy# Don't enable both of these in a real config. 214181641Skmacyoptions GPL_MATH_EMULATE #Support for x87 emulation via 215181641Skmacy #new math emulator 216181641Skmacy 217181641Skmacy 218181641Skmacy##################################################################### 219182902Skmacy# COMPATIBILITY OPTIONS 220181641Skmacy 221181641Skmacy# 222181641Skmacy# Implement system calls compatible with 4.3BSD and older versions of 223181641Skmacy# FreeBSD. You probably do NOT want to remove this as much current code 224181641Skmacy# still relies on the 4.3 emulation. 225181641Skmacy# 226181641Skmacyoptions "COMPAT_43" 227181641Skmacy 228181641Skmacy# 229181641Skmacy# Allow user-mode programs to manipulate their local descriptor tables. 230196726Sadrian# This option is required for the WINE Windows(tm) emulator, and is 231196726Sadrian# not used by anything else (that we know of). 232181641Skmacy# 233181641Skmacyoptions USER_LDT #allow user-level control of i386 ldt 234181641Skmacy 235181641Skmacy# 236181747Skmacy# These three options provide support for System V Interface 237181641Skmacy# Definition-style interprocess communication, in the form of shared 238181641Skmacy# memory, semaphores, and message queues, respectively. 239181641Skmacy# 240181641Skmacyoptions SYSVSHM 241181641Skmacyoptions SYSVSEM 242181641Skmacyoptions SYSVMSG 243181641Skmacy 244181641Skmacy# 245181641Skmacy# This option includes a MD5 routine in the kernel, this is used for 246181641Skmacy# various authentication and privacy uses. 247181641Skmacy# 248181641Skmacyoptions "MD5" 249181641Skmacy 250181641Skmacy# 251181641Skmacy# Allow processes to switch to vm86 mode, as well as enabling direct 252181641Skmacy# user-mode access to the I/O port space. This option is necessary for 253181641Skmacy# the doscmd emulator to run. 254181641Skmacy# 255204160Skmacyoptions "VM86" 256181641Skmacy 257181641Skmacy 258181641Skmacy##################################################################### 259181641Skmacy# DEBUGGING OPTIONS 260181641Skmacy 261181641Skmacy# 262181641Skmacy# Enable the kernel debugger. 263181641Skmacy# 264181641Skmacyoptions DDB 265181641Skmacy 266181641Skmacy# 267181641Skmacy# Don't drop into DDB for a panic. Intended for unattended operation 268181641Skmacy# where you may want to drop to DDB from the console, but still want 269181641Skmacy# the machine to recover from a panic 270181641Skmacy# 271181641Skmacyoptions DDB_UNATTENDED 272181641Skmacy 273181641Skmacy# 274181641Skmacy# If using GDB remote mode to debug the kernel, there's a non-standard 275181641Skmacy# extension to the remote protocol that can be used to use the serial 276181641Skmacy# port as both the debugging port and the system console. It's non- 277181641Skmacy# standard and you're on your own if you enable it. See also the 278181641Skmacy# "remotechat" variables in the FreeBSD specific version of gdb. 279181641Skmacy# 280181641Skmacyoptions GDB_REMOTE_CHAT 281181641Skmacy 282181641Skmacy# 283181747Skmacy# KTRACE enables the system-call tracing facility ktrace(2). 284181747Skmacy# 285199184Savgoptions KTRACE #kernel tracing 286181747Skmacy 287181747Skmacy# 288181747Skmacy# The DIAGNOSTIC option is used in a number of source files to enable 289181747Skmacy# extra sanity checking of internal structures. This support is not 290181747Skmacy# enabled by default because of the extra time it would take to check 291181747Skmacy# for these conditions, which can only occur as a result of 292207419Skmacy# programming errors. 293207419Skmacy# 294181747Skmacyoptions DIAGNOSTIC 295207419Skmacy 296207419Skmacy# 297207419Skmacy# PERFMON causes the driver for Pentium/Pentium Pro performance counters 298207419Skmacy# to be compiled. See perfmon(4) for more information. 299181641Skmacy# 300181641Skmacyoptions PERFMON 301181641Skmacy 302181641Skmacy 303181641Skmacy# 304181641Skmacy# This option let some drivers co-exist that can't co-exist in a running 305181641Skmacy# system. This is used to be able to compile all kernel code in one go for 306181641Skmacy# quality assurance purposes (like this file, which the option takes it name 307181641Skmacy# from.) 308181641Skmacy# 309181641Skmacyoptions COMPILING_LINT 310181641Skmacy 311181641Skmacy 312181641Skmacy# XXX - this doesn't belong here. 313181641Skmacy# Allow ordinary users to take the console - this is useful for X. 314181641Skmacyoptions UCONSOLE 315181641Skmacy 316181641Skmacy# XXX - this doesn't belong here either 317181641Skmacyoptions USERCONFIG #boot -c editor 318181641Skmacyoptions USERCONFIG_BOOT #imply -c and parse info area 319181641Skmacyoptions VISUAL_USERCONFIG #visual boot -c editor 320181641Skmacy 321181641Skmacy##################################################################### 322181641Skmacy# NETWORKING OPTIONS 323181747Skmacy 324181641Skmacy# 325196725Sadrian# Protocol families: 326181747Skmacy# Only the INET (Internet) family is officially supported in FreeBSD. 327181641Skmacy# Source code for the NS (Xerox Network Service) is provided for amusement 328181641Skmacy# value. 329181641Skmacy# 330201804Sbzoptions INET #Internet communications protocols 331201751Salc 332201804Sbzoptions IPX #IPX/SPX communications protocols 333181641Skmacyoptions IPXIP #IPX in IP encapsulation (not available) 334181641Skmacyoptions IPTUNNEL #IP in IPX encapsulation (not available) 335181641Skmacy 336181641Skmacyoptions NETATALK #Appletalk communications protocols 337181641Skmacy 338181641Skmacy# These are currently broken but are shipped due to interest. 339181641Skmacy#options NS #Xerox NS protocols 340181641Skmacy 341181641Skmacy# These are currently broken and are no longer shipped due to lack 342181641Skmacy# of interest. 343181641Skmacy#options CCITT #X.25 network layer 344181641Skmacy#options ISO 345181641Skmacy#options TPIP #ISO TP class 4 over IP 346181641Skmacy#options TPCONS #ISO TP class 0 over X.25 347181641Skmacy#options LLC #X.25 link layer for Ethernets 348181641Skmacy#options HDLC #X.25 link layer for serial lines 349181641Skmacy#options EON #ISO CLNP over IP 350181641Skmacy#options NSIP #XNS over IP 351181641Skmacy 352181641Skmacy# 353181641Skmacy# Network interfaces: 354181641Skmacy# The `loop' pseudo-device is MANDATORY when networking is enabled. 355181641Skmacy# The `ether' pseudo-device provides generic code to handle 356181641Skmacy# Ethernets; it is MANDATORY when a Ethernet device driver is 357181641Skmacy# configured. 358181641Skmacy# The 'fddi' pseudo-device provides generic code to support FDDI. 359181641Skmacy# The `sppp' pseudo-device serves a similar role for certain types 360181641Skmacy# of synchronous PPP links (like `cx', `ar'). 361181641Skmacy# The `sl' pseudo-device implements the Serial Line IP (SLIP) service. 362181641Skmacy# The `ppp' pseudo-device implements the Point-to-Point Protocol. 363181641Skmacy# The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be 364181641Skmacy# aware of the legal and administrative consequences of enabling this 365181641Skmacy# option. The number of devices determines the maximum number of 366181641Skmacy# simultaneous BPF clients programs runnable. 367181641Skmacy# The `disc' pseudo-device implements a minimal network interface, 368181641Skmacy# which throws away all packets sent and never receives any. It is 369181641Skmacy# included for testing purposes. 370181641Skmacy# The `tun' pseudo-device implements the User Process PPP (iijppp) 371181641Skmacy# 372181641Skmacy# The PPP_BSDCOMP option enables support for compress(1) style entire 373181641Skmacy# packet compression, the PPP_DEFLATE is for zlib/gzip style compression. 374181641Skmacy# PPP_FILTER enables code for filtering the ppp data stream and selecting 375181641Skmacy# events for resetting the demand dial activity timer - requires bpfilter. 376181641Skmacy# See pppd(8) for more details. 377181641Skmacy# 378181641Skmacypseudo-device ether #Generic Ethernet 379181641Skmacypseudo-device fddi #Generic FDDI 380181641Skmacypseudo-device sppp #Generic Synchronous PPP 381181641Skmacypseudo-device loop #Network loopback device 382181641Skmacypseudo-device bpfilter 4 #Berkeley packet filter 383181641Skmacypseudo-device disc #Discard device 384181641Skmacypseudo-device tun 1 #Tunnel driver (user process ppp(8)) 385181641Skmacypseudo-device sl 2 #Serial Line IP 386181641Skmacypseudo-device ppp 2 #Point-to-point protocol 387181641Skmacyoptions PPP_BSDCOMP #PPP BSD-compress support 388181641Skmacyoptions PPP_DEFLATE #PPP zlib/deflate/gzip support 389181641Skmacyoptions PPP_FILTER #enable bpf filtering (needs bpfilter) 390181641Skmacy 391181641Skmacy# 392181641Skmacy# Internet family options: 393181641Skmacy# 394181641Skmacy# TCP_COMPAT_42 causes the TCP code to emulate certain bugs present in 395181641Skmacy# 4.2BSD. This option should not be used unless you have a 4.2BSD 396181641Skmacy# machine and TCP connections fail. 397181641Skmacy# 398181641Skmacy# MROUTING enables the kernel multicast packet forwarder, which works 399181641Skmacy# with mrouted(8). 400181641Skmacy# 401181641Skmacy# IPFIREWALL enables support for IP firewall construction, in 402181641Skmacy# conjunction with the `ipfw' program. IPFIREWALL_VERBOSE sends 403181641Skmacy# logged packets to the system logger. IPFIREWALL_VERBOSE_LIMIT 404181641Skmacy# limits the number of times a matching entry can be logged. 405181641Skmacy# 406181641Skmacy# WARNING: IPFIREWALL defaults to a policy of "deny ip from any to any" 407181641Skmacy# and if you do not add other rules during startup to allow access, 408181641Skmacy# YOU WILL LOCK YOURSELF OUT. It is suggested that you set firewall=open 409181641Skmacy# in /etc/rc.conf when first enabling this feature, then refining the 410181641Skmacy# firewall rules in /etc/rc.firewall after you've tested that the new kernel 411181641Skmacy# feature works properly. 412181641Skmacy# 413181641Skmacy# IPFIREWALL_DEFAULT_TO_ACCEPT causes the default rule (at boot) to 414181641Skmacy# allow everything. Use with care, if a cracker can crash your 415181641Skmacy# firewall machine, they can get to your protected machines. However, 416181641Skmacy# if you are using it as an as-needed filter for specific problems as 417181641Skmacy# they arise, then this may be for you. Changing the default to 'allow' 418181641Skmacy# means that you won't get stuck if the kernel and /sbin/ipfw binary get 419181641Skmacy# out of sync. 420181641Skmacy# 421181641Skmacy# IPDIVERT enables the divert IP sockets, used by ``ipfw divert'' 422181641Skmacy# 423181641Skmacy# IPFILTER enables Darren Reed's ipfilter package. 424181641Skmacy# IPFILTER_LOG enables ipfilter's logging. 425181641Skmacy# IPFILTER_LKM enables LKM support for an ipfilter module (untested). 426181641Skmacy# 427181641Skmacy# TCPDEBUG is undocumented. 428181641Skmacy# 429181641Skmacyoptions "TCP_COMPAT_42" #emulate 4.2BSD TCP bugs 430181641Skmacyoptions MROUTING # Multicast routing 431181641Skmacyoptions IPFIREWALL #firewall 432181641Skmacyoptions IPFIREWALL_VERBOSE #print information about 433181641Skmacy # dropped packets 434181641Skmacyoptions IPFIREWALL_FORWARD #enable xparent proxy support 435181641Skmacyoptions "IPFIREWALL_VERBOSE_LIMIT=100" #limit verbosity 436181641Skmacyoptions IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default 437181641Skmacyoptions IPDIVERT #divert sockets 438181641Skmacyoptions IPFILTER #kernel ipfilter support 439181641Skmacyoptions IPFILTER_LOG #ipfilter logging 440183342Skmacy#options IPFILTER_LKM #kernel support for ip_fil.o LKM 441183342Skmacyoptions TCPDEBUG 442181641Skmacy 443181641Skmacy# 444181641Skmacy# ATM (HARP version) options 445181641Skmacy# 446181641Skmacy# ATM_CORE includes the base ATM functionality code. This must be included 447181641Skmacy# for ATM support. 448181641Skmacy# 449181641Skmacy# ATM_IP includes support for running IP over ATM. 450181641Skmacy# 451181641Skmacy# At least one (and usually only one) of the following signalling managers 452181641Skmacy# must be included (note that all signalling managers include PVC support): 453181641Skmacy# ATM_SIGPVC includes support for the PVC-only signalling manager `sigpvc'. 454181641Skmacy# ATM_SPANS includes support for the `spans' signalling manager, which runs 455181641Skmacy# the FORE Systems's proprietary SPANS signalling protocol. 456181641Skmacy# ATM_UNI includes support for the `uni30' and `uni31' signalling managers, 457181641Skmacy# which run the ATM Forum UNI 3.x signalling protocols. 458181641Skmacy# 459181641Skmacy# The `hea' driver provides support for the Efficient Networks, Inc. 460181641Skmacy# ENI-155p ATM PCI Adapter. 461181641Skmacy# 462204160Skmacy# The `hfa' driver provides support for the FORE Systems, Inc. 463204160Skmacy# PCA-200E ATM PCI Adapter. 464181641Skmacy# 465181641Skmacyoptions ATM_CORE #core ATM protocol family 466181641Skmacyoptions ATM_IP #IP over ATM support 467181641Skmacyoptions ATM_SIGPVC #SIGPVC signalling manager 468181641Skmacyoptions ATM_SPANS #SPANS signalling manager 469181641Skmacyoptions ATM_UNI #UNI signalling manager 470181641Skmacydevice hea0 #Efficient ENI-155p ATM PCI 471181641Skmacydevice hfa0 #FORE PCA-200E ATM PCI 472181641Skmacy 473181641Skmacy 474181641Skmacy##################################################################### 475181641Skmacy# FILESYSTEM OPTIONS 476181641Skmacy 477181641Skmacy# 478181641Skmacy# Only the root, /usr, and /tmp filesystems need be statically 479181641Skmacy# compiled; everything else will be automatically loaded at mount 480181641Skmacy# time. (Exception: the UFS family---FFS, and MFS --- cannot 481181641Skmacy# currently be demand-loaded.) Some people still prefer to statically 482181641Skmacy# compile other filesystems as well. 483181641Skmacy# 484181641Skmacy# NB: The NULL, PORTAL, UMAP and UNION filesystems are known to be 485181641Skmacy# buggy, and WILL panic your system if you attempt to do anything with 486181641Skmacy# them. They are included here as an incentive for some enterprising 487181641Skmacy# soul to sit down and fix them. 488181641Skmacy# 489181641Skmacy 490181641Skmacy# One of these is mandatory: 491181641Skmacyoptions FFS #Fast filesystem 492181641Skmacyoptions NFS #Network File System 493181641Skmacy 494181641Skmacy# The rest are optional: 495181641Skmacy# options NFS_NOSERVER #Disable the NFS-server code. 496181641Skmacyoptions "CD9660" #ISO 9660 filesystem 497181641Skmacyoptions FDESC #File descriptor filesystem 498181641Skmacyoptions KERNFS #Kernel filesystem 499181641Skmacyoptions MFS #Memory File System 500181641Skmacyoptions MSDOSFS #MS DOS File System 501181641Skmacyoptions NULLFS #NULL filesystem 502181641Skmacyoptions PORTAL #Portal filesystem 503181641Skmacyoptions PROCFS #Process filesystem 504181641Skmacyoptions UMAPFS #UID map filesystem 505181641Skmacyoptions UNION #Union filesystem 506181641Skmacyoptions "CD9660_ROOT" #CD-ROM usable as root device 507181641Skmacyoptions FFS_ROOT #FFS usable as root device 508181641Skmacyoptions NFS_ROOT #NFS usable as root device 509181641Skmacy# This code is still experimental (e.g. doesn't handle disk slices well). 510181641Skmacy# Also, 'options MFS' is currently incompatible with DEVFS. 511181641Skmacyoptions DEVFS #devices filesystem 512181641Skmacy 513181641Skmacy# Allow the FFS to use Softupdates technology. 514181641Skmacy# To do this you need to copy the two files 515181641Skmacy# /sys/ufs/ffs/softdep.h and /sys/ufs/ffs/ffs_softdep.c 516181641Skmacy# from /usr/src/contrib/sys/softupdates 517181641Skmacy# and understand the licensing restrictions. 518181641Skmacy# You should also check on the FreeBSD website for newer versions. 519181641Skmacy#options SOFTUPDATES 520181641Skmacy# (we can't actually enable it because the files may not be present) 521181641Skmacy 522181641Skmacy# Make space in the kernel for a MFS root filesystem. Define to the number 523181641Skmacy# of kilobytes to reserve for the filesystem. 524181641Skmacyoptions MFS_ROOT=10 525181641Skmacy# Allow the MFS_ROOT code to load the MFS image from floppy if it is missing. 526181641Skmacyoptions MFS_AUTOLOAD 527181641Skmacy# Allows MFS filesystems to be exported via nfs 528181641Skmacyoptions EXPORTMFS 529181641Skmacy 530181641Skmacy# Allow this many swap-devices. 531196726Sadrianoptions NSWAPDEV=20 532197070Sjkim 533196726Sadrian# Disk quotas are supported when this option is enabled. If you 534196726Sadrian# change the value of this option, you must do a `make clean' in your 535196726Sadrian# kernel compile directory in order to get a working kernel. 536196726Sadrian# 537196726Sadrianoptions QUOTA #enable disk quotas 538196726Sadrian 539196726Sadrian# Add more checking code to various filesystems 540196726Sadrian#options NULLFS_DIAGNOSTIC 541196726Sadrian#options KERNFS_DIAGNOSTIC 542196726Sadrian#options UMAPFS_DIAGNOSTIC 543196726Sadrian#options UNION_DIAGNOSTIC 544196726Sadrian 545196726Sadrian# In particular multi-session CD-Rs might require a huge amount of 546196726Sadrian# time in order to "settle". If we are about mounting them as the 547196726Sadrian# root f/s, we gotta wait a little. 548196726Sadrian# 549196726Sadrian# The number is supposed to be in seconds. 550196726Sadrianoptions "CD9660_ROOTDELAY=20" 551196726Sadrian 552196726Sadrian# If you are running a machine just as a fileserver for PC and MAC 553196726Sadrian# users, using SAMBA or Netatalk, you may consider setting this option 554196726Sadrian# and keeping all those users' directories on a filesystem that is 555196726Sadrian# mounted with the suiddir option. This gives new files the same 556196726Sadrian# ownership as the directory (similiar to group). It's a security hole 557196726Sadrian# if you let these users run programs, so confine it to file-servers 558196726Sadrian# (but it'll save you lots of headaches in those cases). Root owned 559196726Sadrian# directories are exempt and X bits are cleared. The suid bit must be 560196726Sadrian# set on the directory as well; see chmod(1) PC owners can't see/set 561181641Skmacy# ownerships so they keep getting their toes trodden on. This saves 562181641Skmacy# you all the support calls as the filesystem it's used on will act as 563181641Skmacy# they expect: "It's my dir so it must be my file". 564201804Sbz# 565181641Skmacyoptions SUIDDIR 566181641Skmacy 567181641Skmacy 568201751Salc# Add some error checking code to the null_bypass routine 569181641Skmacy# in the NULL filesystem 570181641Skmacy#options SAFETY 571181641Skmacy 572181641Skmacy 573181641Skmacy# NFS options: 574181641Skmacyoptions "NFS_MINATTRTIMO=3" # VREG attrib cache timeout in sec 575181641Skmacyoptions "NFS_MAXATTRTIMO=60" 576181641Skmacyoptions "NFS_MINDIRATTRTIMO=30" # VDIR attrib cache timeout in sec 577181641Skmacyoptions "NFS_MAXDIRATTRTIMO=60" 578181641Skmacyoptions "NFS_GATHERDELAY=10" # Default write gather delay (msec) 579181641Skmacyoptions "NFS_UIDHASHSIZ=29" # Tune the size of nfssvc_sock with this 580181641Skmacyoptions "NFS_WDELAYHASHSIZ=16" # and with this 581181641Skmacyoptions "NFS_MUIDHASHSIZ=63" # Tune the size of nfsmount with this 582181641Skmacyoptions NFS_DEBUG # Enable NFS Debugging 583181641Skmacy 584181641Skmacy# Coda stuff: 585181641Skmacyoptions CODA #CODA filesystem. 586181641Skmacypseudo-device vcoda 4 #coda minicache <-> venus comm. 587181641Skmacy 588181641Skmacy 589181641Skmacy##################################################################### 590181641Skmacy# POSIX P1003.1B 591181641Skmacy 592181641Skmacy# Real time extensions added int the 1993 Posix 593181641Skmacy# P1003_1B: Infrastructure 594181641Skmacy# _KPOSIX_PRIORITY_SCHEDULING: Build in _POSIX_PRIORITY_SCHEDULING 595181641Skmacy# _KPOSIX_VERSION: Version kernel is built for 596181641Skmacy 597181641Skmacyoptions "P1003_1B" 598181641Skmacyoptions "_KPOSIX_PRIORITY_SCHEDULING" 599181641Skmacyoptions "_KPOSIX_VERSION=199309L" 600181641Skmacy 601181641Skmacy 602181641Skmacy##################################################################### 603201804Sbz# SCSI DEVICES 604181641Skmacy 605181641Skmacy# SCSI DEVICE CONFIGURATION 606181641Skmacy 607181641Skmacy# The SCSI subsystem consists of the `base' SCSI code, a number of 608181641Skmacy# high-level SCSI device `type' drivers, and the low-level host-adapter 609181641Skmacy# device drivers. The host adapters are listed in the ISA and PCI 610181641Skmacy# device configuration sections below. 611181641Skmacy# 612181641Skmacy# Beginning with FreeBSD 2.0.5 you can wire down your SCSI devices so 613195649Salc# that a given bus, target, and LUN always come on line as the same 614181641Skmacy# device unit. In earlier versions the unit numbers were assigned 615181641Skmacy# in the order that the devices were probed on the SCSI bus. This 616181641Skmacy# means that if you removed a disk drive, you may have had to rewrite 617181641Skmacy# your /etc/fstab file, and also that you had to be careful when adding 618181641Skmacy# a new disk as it may have been probed earlier and moved your device 619181641Skmacy# configuration around. 620195385Salc 621195385Salc# This old behavior is maintained as the default behavior. The unit 622195385Salc# assignment begins with the first non-wired down unit for a device 623195385Salc# type. For example, if you wire a disk as "da3" then the first 624195649Salc# non-wired disk will be assigned da4. 625181641Skmacy 626181641Skmacy# The syntax for wiring down devices is: 627181641Skmacy 628181641Skmacy# controller scbus0 at ahc0 # Single bus device 629181641Skmacy# controller scbus1 at ahc1 bus 0 # Single bus device 630181641Skmacy# controller scbus3 at ahc2 bus 0 # Twin bus device 631181641Skmacy# controller scbus2 at ahc2 bus 1 # Twin bus device 632181641Skmacy# disk da0 at scbus0 target 0 unit 0 633181641Skmacy# disk da1 at scbus3 target 1 634181641Skmacy# disk da2 at scbus2 target 3 635181641Skmacy# tape st1 at scbus1 target 6 636181641Skmacy# device cd0 at scbus? 637181641Skmacy 638181641Skmacy# "units" (SCSI logical unit number) that are not specified are 639181641Skmacy# treated as if specified as LUN 0. 640181641Skmacy 641181641Skmacy# All SCSI devices allocate as many units as are required. 642181641Skmacy 643181641Skmacy# The "unknown" device (uk? in pre-2.0.5) is now part of the base SCSI 644181641Skmacy# configuration and doesn't have to be explicitly configured. 645181641Skmacy 646181641Skmacycontroller scbus0 #base SCSI code 647181641Skmacydevice ch0 #SCSI media changers 648181641Skmacydevice da0 #SCSI direct access devices (aka disks) 649181641Skmacydevice sa0 #SCSI tapes 650181641Skmacydevice cd0 #SCSI CD-ROMs 651181641Skmacy#device od0 #SCSI optical disk 652181641Skmacydevice pass0 #CAM passthrough driver 653181641Skmacy 654181641Skmacy# The previous devices (ch, da, st, cd) are recognized by config. 655181641Skmacy# config doesn't (and shouldn't) know about these newer ones, 656181641Skmacy# so we have to specify that they are on a SCSI bus with the "at scbus?" 657181641Skmacy# clause. 658181641Skmacy 659181641Skmacydevice pt0 at scbus? # SCSI processor type 660181641Skmacydevice sctarg0 at scbus? # SCSI target 661181641Skmacy 662181641Skmacy# CAM OPTIONS: 663181641Skmacy# debugging options: 664181641Skmacy# -- NOTE -- If you specify one of the bus/target/lun options, you must 665181641Skmacy# specify them all! 666181641Skmacy# CAMDEBUG: When defined enables debugging macros 667181641Skmacy# CAM_DEBUG_BUS: Debug the given bus. Use -1 to debug all busses. 668181641Skmacy# CAM_DEBUG_TARGET: Debug the given target. Use -1 to debug all targets. 669181641Skmacy# CAM_DEBUG_LUN: Debug the given lun. Use -1 to debug all luns. 670181641Skmacy# CAM_DEBUG_FLAGS: OR together CAM_DEBUG_INFO, CAM_DEBUG_TRACE and 671181641Skmacy# CAM_DEBUG_SUBTRACE 672181641Skmacy# 673181641Skmacy# CAM_MAX_HIGHPOWER: Maximum number of concurrent high power (start unit) cmds 674181641Skmacy# SCSI_NO_SENSE_STRINGS: When defined disables sense descriptions 675181641Skmacy# SCSI_NO_OP_STRINGS: When defined disables opcode descriptions 676181641Skmacy# SCSI_REPORT_GEOMETRY: Always report disk geometry at boot up instead 677181641Skmacy# of only when booting verbosely. 678181641Skmacy# SCSI_DELAY: The number of MILLISECONDS to freeze the SIM (scsi adapter) 679181641Skmacy# queue after a bus reset, and the number of milliseconds to 680181641Skmacy# freeze the device queue after a bus device reset. 681181641Skmacyoptions CAMDEBUG 682181641Skmacyoptions "CAM_DEBUG_BUS=-1" 683181641Skmacyoptions "CAM_DEBUG_TARGET=-1" 684181641Skmacyoptions "CAM_DEBUG_LUN=-1" 685181641Skmacyoptions "CAM_DEBUG_FLAGS=CAM_DEBUG_INFO|CAM_DEBUG_TRACE|CAM_DEBUG_SUBTRACE" 686181641Skmacyoptions "CAM_MAX_HIGHPOWER=4" 687181641Skmacyoptions SCSI_NO_SENSE_STRINGS 688181641Skmacyoptions SCSI_NO_OP_STRINGS 689181641Skmacyoptions SCSI_REPORT_GEOMETRY 690181641Skmacyoptions SCSI_DELAY=8000 # Be pessimistic about Joe SCSI device 691181641Skmacy 692181641Skmacy# Options for the CAM CDROM driver: 693181641Skmacy# CHANGER_MIN_BUSY_SECONDS: Guaranteed minimum time quantum for a changer LUN 694181641Skmacy# CHANGER_MAX_BUSY_SECONDS: Maximum time quantum per changer LUN, only 695181641Skmacy# enforced if there is I/O waiting for another LUN 696181747Skmacy# The compiled in defaults for these variables are 2 and 10 seconds, 697181747Skmacy# respectively. 698181747Skmacy# 699181641Skmacy# These can also be changed on the fly with the following sysctl variables: 700181641Skmacy# kern.cam.cd.changer.min_busy_seconds 701181747Skmacy# kern.cam.cd.changer.max_busy_seconds 702181747Skmacy# 703181747Skmacyoptions "CHANGER_MIN_BUSY_SECONDS=2" 704181747Skmacyoptions "CHANGER_MAX_BUSY_SECONDS=10" 705181808Skmacy 706181747Skmacy# Options for the CAM sequential access driver: 707181747Skmacy# SA_SPACE_TIMEOUT: Timeout for space operations, in minutes 708181747Skmacy# SA_REWIND_TIMEOUT: Timeout for rewind operations, in minutes 709181747Skmacy# SA_ERASE_TIMEOUT: Timeout for erase operations, in minutes 710181808Skmacyoptions "SA_SPACE_TIMEOUT=(60)" 711181747Skmacyoptions "SA_REWIND_TIMEOUT=(2*60)" 712181747Skmacyoptions "SA_ERASE_TIMEOUT=(4*60)" 713181747Skmacy 714181641Skmacy 715181641Skmacy##################################################################### 716181641Skmacy# MISCELLANEOUS DEVICES AND OPTIONS 717181641Skmacy 718181641Skmacy# The `pty' device usually turns out to be ``effectively mandatory'', 719181641Skmacy# as it is required for `telnetd', `rlogind', `screen', `emacs', and 720181641Skmacy# `xterm', among others. 721181641Skmacy 722181641Skmacypseudo-device pty 16 #Pseudo ttys - can go as high as 256 723181641Skmacypseudo-device speaker #Play IBM BASIC-style noises out your speaker 724181747Skmacypseudo-device gzip #Exec gzipped a.out's 725181747Skmacypseudo-device vn #Vnode driver (turns a file into a device) 726181747Skmacypseudo-device snp 3 #Snoop device - to look at pty/vty/etc.. 727181747Skmacypseudo-device ccd 4 #Concatenated disk driver 728181747Skmacy 729181747Skmacy# These are only for watching for bitrot in old tty code. 730181747Skmacy# broken 731181747Skmacy#pseudo-device tb 732181747Skmacy 733181747Skmacy# Size of the kernel message buffer. Should be N * pagesize. 734181747Skmacyoptions "MSGBUF_SIZE=40960" 735181747Skmacy 736181747Skmacy 737181747Skmacy##################################################################### 738181747Skmacy# HARDWARE DEVICE CONFIGURATION 739181747Skmacy 740181747Skmacy# ISA and EISA devices: 741181747Skmacy# EISA support is available for some device, so they can be auto-probed. 742181747Skmacy# Micro Channel is not supported at all. 743181747Skmacy 744181641Skmacy# 745181641Skmacy# Mandatory ISA devices: isa, npx 746181641Skmacy# 747181641Skmacycontroller isa0 748181641Skmacy 749181641Skmacy# 750181641Skmacy# Options for `isa': 751181641Skmacy# 752181641Skmacy# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A 753181641Skmacy# interrupt controller. This saves about 0.7-1.25 usec for each interrupt. 754181641Skmacy# This option breaks suspend/resume on some portables. 755181641Skmacy# 756181641Skmacy# AUTO_EOI_2 enables the `automatic EOI' feature for the slave 8259A 757181641Skmacy# interrupt controller. This saves about 0.7-1.25 usec for each interrupt. 758181641Skmacy# Automatic EOI is documented not to work for for the slave with the 759181641Skmacy# original i8259A, but it works for some clones and some integrated 760181641Skmacy# versions. 761181641Skmacy# 762181641Skmacy# MAXMEM specifies the amount of RAM on the machine; if this is not 763181641Skmacy# specified, FreeBSD will first read the amount of memory from the CMOS 764181641Skmacy# RAM, so the amount of memory will initially be limited to 64MB or 16MB 765181641Skmacy# depending on the BIOS. If the BIOS reports 64MB, a memory probe will 766181641Skmacy# then attempt to detect the installed amount of RAM. If this probe 767195949Skib# fails to detect >64MB RAM you will have to use the MAXMEM option. 768181641Skmacy# The amount is in kilobytes, so for a machine with 128MB of RAM, it would 769181641Skmacy# be 131072 (128 * 1024). 770181641Skmacy# 771181641Skmacy# TUNE_1542 enables the automatic ISA bus speed selection for the 772181641Skmacy# Adaptec 1542 boards. Does not work for all boards, use it with caution. 773181641Skmacy# 774181641Skmacy# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to 775181641Skmacy# reset the CPU for reboot. This is needed on some systems with broken 776181641Skmacy# keyboard controllers. 777181641Skmacy# 778181641Skmacy# PAS_JOYSTICK_ENABLE enables the gameport on the ProAudio Spectrum 779181641Skmacy 780181641Skmacyoptions "AUTO_EOI_1" 781181641Skmacy#options "AUTO_EOI_2" 782181641Skmacyoptions "MAXMEM=(128*1024)" 783181641Skmacyoptions "TUNE_1542" 784181641Skmacy#options BROKEN_KEYBOARD_RESET 785181641Skmacy#options PAS_JOYSTICK_ENABLE 786181641Skmacy 787181641Skmacy# Enable support for the kernel PLL to use an external PPS signal, 788181641Skmacy# under supervision of [x]ntpd(8) 789181641Skmacy# More info in ftp://ftp.udel.edu/pub/ntp/kernel.tar.Z 790181641Skmacy 791196726Sadrianoptions PPS_SYNC 792196726Sadrian 793196726Sadrian# Enable PnP support in the kernel. This allows you to automaticly 794196726Sadrian# attach to PnP cards for drivers that support it and allows you to 795196726Sadrian# configure cards from USERCONFIG. See pnp(4) for more info. 796196726Sadriancontroller pnp0 797196726Sadrian 798196726Sadrian# The pcvt console driver (vt220 compatible). 799196726Sadriandevice vt0 at isa? port "IO_KBD" conflicts tty irq 1 vector pcrint 800196726Sadrianoptions XSERVER # support for running an X server. 801196726Sadrianoptions FAT_CURSOR # start with block cursor 802196726Sadrian# This PCVT option is for keyboards such as those used on IBM ThinkPad laptops 803196726Sadrianoptions PCVT_SCANSET=2 # IBM keyboards are non-std 804196726Sadrian 805196726Sadrian# The syscons console driver (sco color console compatible). 806196726Sadriandevice sc0 at isa? port "IO_KBD" conflicts tty irq 1 vector scintr 807196726Sadrianoptions MAXCONS=16 # number of virtual consoles 808196726Sadrianoptions SLOW_VGA # do byte-wide i/o's to TS and GDC regs 809196726Sadrianoptions "STD8X16FONT" # Compile font in 810196726Sadrianmakeoptions "STD8X16FONT"="cp850" 811196726Sadrianoptions SC_HISTORY_SIZE=200 # number of history buffer lines 812196726Sadrianoptions SC_DISABLE_REBOOT # disable reboot key sequence 813196726Sadrian# Try the following option if the mouse pointer is not drawn correctly 814196726Sadrian# or font does not seem to be loaded properly. May cause flicker on 815196726Sadrian# some systems. 816196726Sadrian#options SC_ALT_SEQACCESS 817196726Sadrian 818196726Sadrian# To include support for VESA video modes 819196726Sadrian# Dont use together with SMP!! 820196726Sadrianoptions VESA # needs VM86 defined too!! 821196726Sadrian 822196726Sadrian# 823196726Sadrian# `flags' for sc0: 824196726Sadrian# 0x01 Use a 'visual' bell 825196726Sadrian# 0x02 Use a 'blink' cursor 826196726Sadrian# 0x04 Use a 'underline' cursor 827196726Sadrian# 0x06 Use a 'blinking underline' (destructive) cursor 828196726Sadrian# 0x08 Force detection of keyboard, else we always assume a keyboard 829196726Sadrian# 0x10 Old-style (XT) keyboard support, useful for older ThinkPads 830196726Sadrian# 0x20 Don't reset keyboard, useful for some newer ThinkPads 831196726Sadrian# 0x40 Make the bell quiet if it is rung in the backgroud vty. 832196726Sadrian 833181641Skmacy# 834181641Skmacy# The Numeric Processing eXtension driver. This should be configured if 835181641Skmacy# your machine has a math co-processor, unless the coprocessor is very 836181641Skmacy# buggy. If it is not configured then you *must* configure math emulation 837181641Skmacy# (see above). If both npx0 and emulation are configured, then only npx0 838181641Skmacy# is used (provided it works). 839181641Skmacydevice npx0 at isa? port "IO_NPX" iosiz 0x0 flags 0x0 irq 13 vector npxintr 840181641Skmacy 841181641Skmacy# 842181641Skmacy# `flags' for npx0: 843181641Skmacy# 0x01 don't use the npx registers to optimize bcopy 844181641Skmacy# 0x02 don't use the npx registers to optimize bzero 845181641Skmacy# 0x04 don't use the npx registers to optimize copyin or copyout. 846181641Skmacy# The npx registers are normally used to optimize copying and zeroing when 847181641Skmacy# all of the following conditions are satisfied: 848181641Skmacy# "I586_CPU" is an option 849181641Skmacy# the cpu is an i586 (perhaps not a Pentium) 850181641Skmacy# the probe for npx0 succeeds 851181641Skmacy# INT 16 exception handling works. 852181641Skmacy# Then copying and zeroing using the npx registers is normally 30-100% faster. 853181641Skmacy# The flags can be used to control cases where it doesn't work or is slower. 854181641Skmacy# Setting them at boot time using userconfig works right (the optimizations 855181641Skmacy# are not used until later in the bootstrap when npx0 is attached). 856181641Skmacy# 857181641Skmacy 858181641Skmacy# 859181641Skmacy# `iosiz' for npx0: 860181641Skmacy# This can be used instead of the MAXMEM option to set the memory size. If 861181641Skmacy# it is nonzero, then it overrides both the MAXMEM option and the memory 862181641Skmacy# size reported by the BIOS. Setting it at boot time using userconfig takes 863181641Skmacy# effect on the next reboot after the change has been recorded in the kernel 864181641Skmacy# binary (the size is used early in the boot before userconfig has a chance 865181641Skmacy# to change it). 866181641Skmacy# 867181641Skmacy 868181641Skmacy# 869181641Skmacy# Optional ISA and EISA devices: 870181641Skmacy# 871181641Skmacy 872181641Skmacy# 873181641Skmacy# SCSI host adapters: `aha', `aic', `bt', `nca' 874181641Skmacy# 875181641Skmacy# adv: Most AdvanSys SCSI controllers 876181641Skmacy# aha: Adaptec 154x 877181641Skmacy# ahc: Adaptec 274x/284x/294x 878181641Skmacy# aic: Adaptec 152x and sound cards using the Adaptec AIC-6360 (slow!) 879181641Skmacy# bt: Most Buslogic controllers 880181641Skmacy# nca: ProAudioSpectrum cards using the NCR 5380 or Trantor T130 881181641Skmacy# uha: UltraStor ULTRA 14F/24F/34F 882181641Skmacy# sea: Seagate ST01/02 8 bit controller (slow!) 883181641Skmacy# wds: Western Digital WD7000 controller (no scatter/gather!). 884181641Skmacy# 885181641Skmacy# Note that the order is important in order for Buslogic cards to be 886181641Skmacy# probed correctly. 887181641Skmacy# 888181641Skmacy 889181641Skmacycontroller bt0 at isa? port "IO_BT0" cam irq ? 890181641Skmacycontroller adv0 at isa? port ? cam irq ? 891181641Skmacycontroller aha0 at isa? port ? cam irq ? 892181641Skmacy#!CAM# controller uha0 at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr 893181641Skmacy 894181641Skmacy#!CAM# controller aic0 at isa? port 0x340 bio irq 11 vector aicintr 895181641Skmacy#!CAM# controller nca0 at isa? port 0x1f88 bio irq 10 vector ncaintr 896181641Skmacy#!CAM# controller nca1 at isa? port 0x1f84 897181641Skmacy#!CAM# controller nca2 at isa? port 0x1f8c 898181641Skmacy#!CAM# controller nca3 at isa? port 0x1e88 899181641Skmacy#!CAM# controller nca4 at isa? port 0x350 bio irq 5 vector ncaintr 900181641Skmacy 901181641Skmacy#!CAM# controller sea0 at isa? bio irq 5 iomem 0xdc000 iosiz 0x2000 vector seaintr 902181641Skmacy#!CAM# controller wds0 at isa? port 0x350 bio irq 15 drq 6 vector wdsintr 903181641Skmacy 904181641Skmacy# 905181641Skmacy# ST-506, ESDI, and IDE hard disks: `wdc' and `wd' 906181641Skmacy# 907181641Skmacy# The flags fields are used to enable the multi-sector I/O and 908181641Skmacy# the 32BIT I/O modes. The flags may be used in either the controller 909181641Skmacy# definition or in the individual disk definitions. The controller 910181641Skmacy# definition is supported for the boot configuration stuff. 911181641Skmacy# 912181641Skmacy# Each drive has a 16 bit flags value defined: 913181641Skmacy# The low 8 bits are the maximum value for the multi-sector I/O, 914181641Skmacy# where 0xff defaults to the maximum that the drive can handle. 915181641Skmacy# The high bit of the 16 bit flags (0x8000) allows probing for 916181641Skmacy# 32 bit transfers. Bit 14 (0x4000) enables a hack to wake 917181641Skmacy# up powered-down laptop drives. Bit 13 (0x2000) allows 918181641Skmacy# probing for PCI IDE DMA controllers, such as Intel's PIIX 919181641Skmacy# south bridges. Bit 12 (0x1000) sets LBA mode instead of the 920181641Skmacy# default CHS mode for accessing the drive. See the wd.4 man page. 921181641Skmacy# 922181641Skmacy# The flags field for the drives can be specified in the controller 923181641Skmacy# specification with the low 16 bits for drive 0, and the high 16 bits 924181641Skmacy# for drive 1. 925181641Skmacy# e.g.: 926181641Skmacy#controller wdc0 at isa? port "IO_WD1" bio irq 14 flags 0x00ff8004 vector wdintr 927181641Skmacy# 928181641Skmacy# specifies that drive 0 will be allowed to probe for 32 bit transfers and 929181641Skmacy# a maximum multi-sector transfer of 4 sectors, and drive 1 will not be 930181641Skmacy# allowed to probe for 32 bit transfers, but will allow multi-sector 931181641Skmacy# transfers up to the maximum that the drive supports. 932181641Skmacy# 933181641Skmacy# If you are using a PCI controller that is not running in compatibility 934181641Skmacy# mode (for example, it is a 2nd IDE PCI interface), then use config line(s) 935181641Skmacy# such as: 936181641Skmacy# 937181641Skmacy#controller wdc2 at isa? port "0" bio irq ? flags 0xa0ffa0ff vector wdintr 938181641Skmacy#disk wd4 at wdc2 drive 0 939181641Skmacy#disk wd5 at wdc2 drive 1 940181641Skmacy# 941181641Skmacy#controller wdc3 at isa? port "0" bio irq ? flags 0xa0ffa0ff vector wdintr 942181641Skmacy#disk wd6 at wdc3 drive 0 943181641Skmacy#disk wd7 at wdc3 drive 1 944181641Skmacy# 945181641Skmacy# Note that the above config would be useful for a Promise card, when used 946181641Skmacy# on a MB that already has a PIIX controller. Note the bogus irq and port 947181641Skmacy# entries. These are automatically filled in by the IDE/PCI support. 948181641Skmacy# 949181641Skmacy 950181641Skmacycontroller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr 951181641Skmacydisk wd0 at wdc0 drive 0 952181641Skmacydisk wd1 at wdc0 drive 1 953181641Skmacycontroller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr 954181641Skmacydisk wd2 at wdc1 drive 0 955181641Skmacydisk wd3 at wdc1 drive 1 956181641Skmacy 957181641Skmacy# 958181641Skmacy# Options for `wdc': 959181641Skmacy# 960181641Skmacy# CMD640 enables serializing access to primary and secondary channel 961181641Skmacy# of the CMD640B IDE Chip. The serializing will only take place 962181641Skmacy# if this option is set *and* the chip is probed by the pci-system. 963181641Skmacy# 964181641Skmacyoptions "CMD640" #Enable work around for CMD640 h/w bug 965181641Skmacy# 966181641Skmacy# ATAPI enables the support for ATAPI-compatible IDE devices 967181641Skmacy# 968181641Skmacyoptions ATAPI #Enable ATAPI support for IDE bus 969181641Skmacyoptions ATAPI_STATIC #Don't do it as an LKM 970181641Skmacy 971181641Skmacy# Use either the acd or the wcd device, not both! 972181641Skmacy# IDE CD-ROM & CD-R/RW driver - requires wdc controller and ATAPI option 973181641Skmacydevice acd0 974181641Skmacy 975181641Skmacy# IDE CD-ROM driver - requires wdc controller and ATAPI option 976181641Skmacydevice wcd0 977181641Skmacy 978181641Skmacy# IDE floppy driver - requires wdc controller and ATAPI option 979181641Skmacydevice wfd0 980181641Skmacy 981181641Skmacy# IDE tape driver - requires wdc controller and ATAPI option 982181641Skmacydevice wst0 983181641Skmacy 984181641Skmacy 985181641Skmacy# 986181641Skmacy# Standard floppy disk controllers and floppy tapes: `fdc', `fd', and `ft' 987181641Skmacy# 988181641Skmacycontroller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr 989181641Skmacy# 990181641Skmacy# FDC_DEBUG enables floppy debugging. Since the debug output is huge, you 991181641Skmacy# gotta turn it actually on by setting the variable fd_debug with DDB, 992181641Skmacy# however. 993181641Skmacyoptions FDC_DEBUG 994181641Skmacy# This option is undocumented on purpose. 995181641Skmacyoptions FDC_PRINT_BOGUS_CHIPTYPE 996181641Skmacy# 997181641Skmacy# Activate this line instead of the fdc0 line above if you happen to 998181641Skmacy# have an Insight floppy tape. Probing them proved to be dangerous 999181641Skmacy# for people with floppy disks only, so it's "hidden" behind a flag: 1000195949Skib#controller fdc0 at isa? port "IO_FD1" bio flags 1 irq 6 drq 2 vector fdintr 1001195949Skib 1002195949Skibdisk fd0 at fdc0 drive 0 1003195949Skibdisk fd1 at fdc0 drive 1 1004195949Skibtape ft0 at fdc0 drive 2 1005195949Skib 1006195949Skib 1007195949Skib# 1008195949Skib# Other standard PC hardware: `lpt', `mse', `psm', `sio', etc. 1009195949Skib# 1010195949Skib# lpt: printer port 1011195949Skib# lpt specials: 1012195949Skib# port can be specified as ?, this will cause the driver to scan 1013195949Skib# the BIOS port list; 1014195949Skib# the irq and vector clauses may be omitted, this 1015195949Skib# will force the port into polling mode. 1016195949Skib# mse: Logitech and ATI InPort bus mouse ports 1017195949Skib# psm: PS/2 mouse port [note: conflicts with sc0/vt0, thus "conflicts" keywd] 1018195949Skib# sio: serial ports (see sio(4)) 1019195949Skib 1020195949Skibdevice lpt0 at isa? port? tty irq 7 vector lptintr 1021197046Skibdevice lpt1 at isa? port "IO_LPT3" tty irq 5 vector lptintr 1022197046Skibdevice mse0 at isa? port 0x23c tty irq 5 vector mseintr 1023195949Skibdevice psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr 1024195949Skib 1025195949Skib# Options for psm: 1026195949Skiboptions PSM_HOOKAPM #hook the APM resume event, useful 1027195949Skib #for some laptops 1028195949Skiboptions PSM_RESETAFTERSUSPEND #reset the device at the resume event 1029195949Skib 1030195949Skibdevice sio0 at isa? port "IO_COM1" tty flags 0x10 irq 4 vector siointr 1031195949Skib 1032195949Skib# 1033195949Skib# `flags' for serial drivers that support consoles (only for sio now): 1034181641Skmacy# 0x10 enable console support for this unit. The other console flags 1035181641Skmacy# are ignored unless this is set. Enabling console support does 1036181641Skmacy# not make the unit the preferred console - boot with -h or set 1037181641Skmacy# the 0x20 flag for that. Currently, at most one unit can have 1038181641Skmacy# console support; the first one (in config file order) with 1039181641Skmacy# this flag set is preferred. Setting this flag for sio0 gives 1040181641Skmacy# the old behaviour. 1041181641Skmacy# 0x20 force this unit to be the console (unless there is another 1042181641Skmacy# higher priority console). This replaces the COMCONSOLE option. 1043181641Skmacy# 0x40 reserve this unit for low level console operations. Do not 1044181641Skmacy# 1045181641Skmacy# PnP `flags' (set via userconfig using pnp x flags y) 1046181641Skmacy# 0x1 disable probing of this device. Used to prevent your modem 1047181641Skmacy# from being attached as a PnP modem. 1048181641Skmacy# 1049181641Skmacy 1050181641Skmacy# Options for serial drivers that support consoles (only for sio now): 1051181641Skmacyoptions BREAK_TO_DEBUGGER #a BREAK on a comconsole goes to 1052181641Skmacy #DDB, if available. 1053181641Skmacyoptions CONSPEED=9600 #default speed for serial console (default 9600) 1054181641Skmacy 1055181641Skmacy# Options for sio: 1056181641Skmacyoptions COM_ESP #code for Hayes ESP 1057181641Skmacyoptions COM_MULTIPORT #code for some cards with shared IRQs 1058181641Skmacyoptions DSI_SOFT_MODEM #code for DSI Softmodems 1059181641Skmacyoptions "EXTRA_SIO=2" #number of extra sio ports to allocate 1060181641Skmacy 1061181641Skmacy# Other flags for sio that aren't documented in the man page. 1062181641Skmacy# 0x20000 enable hardware RTS/CTS and larger FIFOs. Only works for 1063181641Skmacy# ST16650A-compatible UARTs. 1064181641Skmacy 1065181641Skmacy# 1066181641Skmacy# Network interfaces: `cx', `ed', `el', `ep', `ie', `is', `le', `lnc' 1067181641Skmacy# 1068181641Skmacy# ar: Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver (requires sppp) 1069204160Skmacy# cs: IBM Etherjet and other Crystal Semi CS89x0-based adapters 1070181641Skmacy# cx: Cronyx/Sigma multiport sync/async (with Cisco or PPP framing) 1071204160Skmacy# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503 1072181641Skmacy# el: 3Com 3C501 (slow!) 1073181641Skmacy# ep: 3Com 3C509 (buggy) 1074181641Skmacy# fe: Fujitsu MB86960A/MB86965A Ethernet 1075181641Skmacy# ie: AT&T StarLAN 10 and EN100; 3Com 3C507; unknown NI5210; Intel EtherExpress 1076181641Skmacy# le: Digital Equipment EtherWorks 2 and EtherWorks 3 (DEPCA, DE100, 1077181641Skmacy# DE101, DE200, DE201, DE202, DE203, DE204, DE205, DE422) 1078181641Skmacy# lnc: Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL) 1079181641Skmacy# sr: RISCom/N2 hdlc sync 1/2 port V.35/X.21 serial driver (requires sppp) 1080181641Skmacy# wl: Lucent Wavelan (ISA card only). 1081181641Skmacy# ze: IBM/National Semiconductor PCMCIA ethernet controller. 1082181641Skmacy# zp: 3Com PCMCIA Etherlink III (It does not require shared memory for 1083181641Skmacy# send/receive operation, but it needs 'iomem' to read/write the 1084181641Skmacy# attribute memory) 1085181641Skmacy# 1086181641Skmacy 1087181641Skmacydevice ar0 at isa? port 0x300 net irq 10 iomem 0xd0000 vector arintr 1088181641Skmacydevice cs0 at isa? port 0x300 net irq ? vector csintr 1089181641Skmacydevice cx0 at isa? port 0x240 net irq 15 drq 7 vector cxintr 1090181641Skmacydevice ed0 at isa? port 0x280 net irq 5 iomem 0xd8000 vector edintr 1091181641Skmacydevice eg0 at isa? port 0x310 net irq 5 vector egintr 1092181641Skmacydevice el0 at isa? port 0x300 net irq 9 vector elintr 1093181641Skmacydevice ep0 at isa? port 0x300 net irq 10 vector epintr 1094181641Skmacydevice ex0 at isa? port? net irq? vector exintr 1095181641Skmacydevice fe0 at isa? port 0x300 net irq ? vector feintr 1096181641Skmacydevice ie0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector ieintr 1097181641Skmacydevice ie1 at isa? port 0x360 net irq 7 iomem 0xd0000 vector ieintr 1098181641Skmacydevice le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr 1099181641Skmacydevice lnc0 at isa? port 0x300 net irq 10 drq 0 vector lncintr 1100181641Skmacydevice sr0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector srintr 1101181641Skmacyoptions WLCACHE # enables the signal-strength cache 1102181641Skmacyoptions WLDEBUG # enables verbose debugging output 1103181641Skmacydevice wl0 at isa? port 0x300 net irq ? vector wlintr 1104181641Skmacy# We can (bogusly) include both the dedicated PCCARD drivers and the generic 1105181641Skmacy# support when COMPILING_LINT. 1106181641Skmacydevice ze0 at isa? port 0x300 net irq 5 iomem 0xd8000 vector zeintr 1107181641Skmacydevice zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr 1108181641Skmacy 1109181641Skmacy# 1110181641Skmacy# ATM related options 1111181641Skmacy# 1112181641Skmacy# The `en' device provides support for Efficient Networks (ENI) 1113181641Skmacy# ENI-155 PCI midway cards, and the Adaptec 155Mbps PCI ATM cards (ANA-59x0). 1114181641Skmacy# 1115181641Skmacy# atm pseudo-device provides generic atm functions and is required for 1116181641Skmacy# atm devices. 1117181641Skmacy# NATM enables the netnatm protocol family that can be used to 1118181641Skmacy# bypass TCP/IP. 1119181641Skmacy# 1120181641Skmacy# the current driver supports only PVC operations (no atm-arp, no multicast). 1121181641Skmacy# for more details, please read the original documents at 1122181641Skmacy# http://www.ccrc.wustl.edu/pub/chuck/bsdatm/wucs.html 1123181641Skmacy# 1124181641Skmacypseudo-device atm 1125181641Skmacydevice en0 1126181641Skmacydevice en1 1127181641Skmacyoptions NATM #native ATM 1128181641Skmacy 1129181641Skmacy# 1130181641Skmacy# Audio drivers: `snd', `sb', `pas', `gus', `pca' 1131181641Skmacy# 1132181641Skmacy# snd: Voxware sound support code 1133181641Skmacy# sb: SoundBlaster PCM - SoundBlaster, SB Pro, SB16, ProAudioSpectrum 1134181641Skmacy# sbxvi: SoundBlaster 16 1135181641Skmacy# sbmidi: SoundBlaster 16 MIDI interface 1136181641Skmacy# pas: ProAudioSpectrum PCM and MIDI 1137181641Skmacy# gus: Gravis Ultrasound - Ultrasound, Ultrasound 16, Ultrasound MAX 1138181641Skmacy# gusxvi: Gravis Ultrasound 16-bit PCM (do not use) 1139181641Skmacy# mss: Microsoft Sound System 1140181641Skmacy# css: Crystal Sound System (CSS 423x PnP) 1141181641Skmacy# sscape: Ensoniq Soundscape MIDI interface 1142181641Skmacy# sscape_mss: Ensoniq Soundscape PCM (requires sscape) 1143181641Skmacy# opl: Yamaha OPL-2 and OPL-3 FM - SB, SB Pro, SB 16, ProAudioSpectrum 1144181641Skmacy# uart: stand-alone 6850 UART for MIDI 1145181641Skmacy# mpu: Roland MPU-401 stand-alone card 1146181641Skmacy# 1147181641Skmacy# Beware! The addresses specified below are also hard-coded in 1148181641Skmacy# i386/isa/sound/sound_config.h. If you change the values here, you 1149181641Skmacy# must also change the values in the include file. 1150181641Skmacy# 1151181641Skmacy# pcm: PCM audio through various sound cards. 1152181641Skmacy# 1153181641Skmacy# This is the work in progress from Luigi Rizzo. This has support for 1154181641Skmacy# CS423x based cards, OPTi931, SB16 PnP, GusPnP. For more information 1155181641Skmacy# about this driver, take a look at sys/i386/isa/snd/README. 1156181641Skmacy# 1157181641Skmacy# The flags of the device tells the device a bit more info about the 1158181641Skmacy# device that normally is obtained through the PnP interface. 1159181641Skmacy# bit 2..0 secondary DMA channel; 1160181641Skmacy# bit 4 set if the board uses two dma channels; 1161181641Skmacy# bit 15..8 board type, overrides autodetection; leave it 1162181641Skmacy# zero if don't know what to put in (and you don't, 1163181641Skmacy# since this is unsupported at the moment...). 1164181641Skmacy# 1165181641Skmacy# This driver will use the new PnP code if it's available. 1166181641Skmacy# 1167181641Skmacy# pca: PCM audio through your PC speaker 1168181641Skmacy# 1169181641Skmacy# If you have a GUS-MAX card and want to use the CS4231 codec on the 1170181641Skmacy# card the drqs for the gus max must be 8 bit (1, 2, or 3). 1171181641Skmacy# 1172181641Skmacy# If you would like to use the full duplex option on the gus, then define 1173181641Skmacy# flags to be the ``read dma channel''. 1174181641Skmacy# 1175181641Skmacy# options BROKEN_BUS_CLOCK #PAS-16 isn't working and OPTI chipset 1176181641Skmacy# options SYMPHONY_PAS #PAS-16 isn't working and SYMPHONY chipset 1177181641Skmacy# options EXCLUDE_SBPRO #PAS-16 1178181641Skmacy# options SBC_IRQ=5 #PAS-16. Must match irq on sb0 line. 1179181641Skmacy# PAS16: The order of the pas0/sb0/opl0 is important since the 1180181641Skmacy# sb emulation is enabled in the pas-16 attach. 1181181641Skmacy# 1182181641Skmacy# To overide the GUS defaults use: 1183181641Skmacy# options GUS_DMA2 1184181641Skmacy# options GUS_DMA 1185181641Skmacy# options GUS_IRQ 1186181641Skmacy# 1187181641Skmacy# The i386/isa/sound/sound.doc has more information. 1188181641Skmacy 1189181641Skmacy# Controls all "VOXWARE" driver sound devices. See Luigi's driver 1190181641Skmacy# below for an alternate which may work better for some cards. 1191181641Skmacy# 1192181641Skmacycontroller snd0 1193181641Skmacydevice pas0 at isa? port 0x388 irq 10 drq 6 vector pasintr 1194181641Skmacydevice sb0 at isa? port 0x220 irq 5 drq 1 vector sbintr 1195181641Skmacydevice sbxvi0 at isa? drq 5 1196181641Skmacydevice sbmidi0 at isa? port 0x330 1197181641Skmacydevice awe0 at isa? port 0x620 1198181641Skmacydevice gus0 at isa? port 0x220 irq 12 drq 1 vector gusintr 1199181641Skmacy#device gus0 at isa? port 0x220 irq 12 drq 1 flags 0x3 vector gusintr 1200181641Skmacydevice mss0 at isa? port 0x530 irq 10 drq 1 vector adintr 1201181641Skmacydevice css0 at isa? port 0x534 irq 5 drq 1 flags 0x08 vector adintr 1202181641Skmacydevice sscape0 at isa? port 0x330 irq 9 drq 0 vector sscapeintr 1203181641Skmacydevice trix0 at isa? port 0x330 irq 6 drq 0 vector sscapeintr 1204181641Skmacydevice sscape_mss0 at isa? port 0x534 irq 5 drq 1 vector sndintr 1205181641Skmacydevice opl0 at isa? port 0x388 1206181641Skmacydevice mpu0 at isa? port 0x330 irq 6 drq 0 1207181641Skmacydevice uart0 at isa? port 0x330 irq 5 vector "m6850intr" 1208181641Skmacy 1209181641Skmacy# Luigi's snd code (use INSTEAD of snd0 and all VOXWARE drivers!). 1210181641Skmacy# You may also wish to enable the pnp controller with this, for pnp 1211181641Skmacy# sound cards. 1212181641Skmacy# 1213181641Skmacy#device pcm0 at isa? port ? tty irq 10 drq 1 flags 0x0 vector pcmintr 1214181641Skmacy 1215181641Skmacy# Not controlled by `snd' 1216181641Skmacydevice pca0 at isa? port IO_TIMER1 tty 1217181641Skmacy 1218181641Skmacy# 1219181641Skmacy# Miscellaneous hardware: 1220181641Skmacy# 1221181641Skmacy# mcd: Mitsumi CD-ROM 1222181641Skmacy# scd: Sony CD-ROM 1223181641Skmacy# matcd: Matsushita/Panasonic CD-ROM 1224181641Skmacy# wt: Wangtek and Archive QIC-02/QIC-36 tape drives 1225181641Skmacy# ctx: Cortex-I frame grabber 1226181641Skmacy# apm: Laptop Advanced Power Management (experimental) 1227181641Skmacy# spigot: The Creative Labs Video Spigot video-acquisition board 1228207410Skmacy# meteor: Matrox Meteor video capture board 1229181641Skmacy# bktr: Brooktree bt848/848a/849/878/879 family video capture and TV Tuner board 1230207410Skmacy# alog: Industrial Computer Source AIO8-P driver 1231181641Skmacy# cy: Cyclades serial driver 1232181641Skmacy# dgb: Digiboard PC/Xi and PC/Xe series driver (ALPHA QUALITY!) 1233207410Skmacy# dgm: Digiboard PC/Xem driver 1234181641Skmacy# gp: National Instruments AT-GPIB and AT-GPIB/TNT board 1235181641Skmacy# asc: GI1904-based hand scanners, e.g. the Trust Amiscan Grey 1236181641Skmacy# gsc: Genius GS-4500 hand scanner. 1237181641Skmacy# joy: joystick 1238207410Skmacy# labpc: National Instrument's Lab-PC and Lab-PC+ 1239207410Skmacy# rc: RISCom/8 multiport card 1240207410Skmacy# rp: Comtrol Rocketport(ISA) - single card 1241181641Skmacy# tw: TW-523 power line interface for use with X-10 home control products 1242181641Skmacy# si: Specialix SI/XIO 4-32 port terminal multiplexor 1243181641Skmacy# stl: Stallion EasyIO and EasyConnection 8/32 (cd1400 based) 1244181641Skmacy# stli: Stallion EasyConnection 8/64, ONboard, Brumby (intelligent) 1245181641Skmacy 1246181641Skmacy# 1247181641Skmacy# Notes on APM 1248181641Skmacy# The flags takes the following meaning for apm0: 1249181641Skmacy# 0x0020 Statclock is broken. 1250181641Skmacy# 0x0011 Limit APM protocol to 1.1 or 1.0 1251181641Skmacy# 0x0010 Limit APM protocol to 1.0 1252207410Skmacy# 1253207410Skmacy# 1254181641Skmacy# Notes on the spigot: 1255181641Skmacy# The video spigot is at 0xad6. This port address can not be changed. 1256181641Skmacy# The irq values may only be 10, 11, or 15 1257181641Skmacy# I/O memory is an 8kb region. Possible values are: 1258181641Skmacy# 0a0000, 0a2000, ..., 0fffff, f00000, f02000, ..., ffffff 1259181641Skmacy# The start address must be on an even boundary. 1260207410Skmacy# Add the following option if you want to allow non-root users to be able 1261181641Skmacy# to access the spigot. This option is not secure because it allows users 1262181641Skmacy# direct access to the I/O page. 1263181641Skmacy# options SPIGOT_UNSECURE 1264181641Skmacy# 1265181641Skmacy 1266181641Skmacy# Notes on the Comtrol Rocketport driver: 1267181641Skmacy# 1268181641Skmacy# The exact values used for rp0 depend on how many boards you have 1269181641Skmacy# in the system. The manufacturer's sample configs are listed as: 1270181641Skmacy# 1271181641Skmacy# Comtrol Rocketport ISA single card 1272181641Skmacy# device rp0 at isa? port 0x280 tty 1273181747Skmacy# 1274181641Skmacy# If instead you have two ISA cards, one installed at 0x100 and the 1275181641Skmacy# second installed at 0x180, then you should add the following to 1276181641Skmacy# your kernel configuration file: 1277181641Skmacy# 1278181641Skmacy# device rp0 at isa? port 0x100 tty 1279181747Skmacy# device rp1 at isa? port 0x180 tty 1280181641Skmacy# 1281181641Skmacy# For 4 ISA cards, it might be something like this: 1282181641Skmacy# 1283181641Skmacy# device rp0 at isa? port 0x180 tty 1284181641Skmacy# device rp1 at isa? port 0x100 tty 1285181641Skmacy# device rp2 at isa? port 0x340 tty 1286181641Skmacy# device rp3 at isa? port 0x240 tty 1287181641Skmacy# 1288181641Skmacy# And for PCI cards, you only need say: 1289181747Skmacy# 1290181641Skmacy# device rp0 1291181641Skmacy# device rp1 1292181641Skmacy# ... 1293181641Skmacy# Note: Make sure that any Rocketport PCI devices are specified BEFORE the 1294181641Skmacy# ISA Rocketport devices. 1295181641Skmacy 1296181641Skmacy# Notes on the Digiboard driver: 1297181641Skmacy# 1298181641Skmacy# The following flag values have special meanings: 1299181641Skmacy# 0x01 - alternate layout of pins (dgb & dgm) 1300181641Skmacy# 0x02 - use the windowed PC/Xe in 64K mode (dgb only) 1301181641Skmacy 1302181641Skmacy# Notes on the Specialix SI/XIO driver: 1303181641Skmacy# **This is NOT a Specialix supported Driver!** 1304181641Skmacy# The host card is memory, not IO mapped. 1305181641Skmacy# The Rev 1 host cards use a 64K chunk, on a 32K boundary. 1306181641Skmacy# The Rev 2 host cards use a 32K chunk, on a 32K boundary. 1307181641Skmacy# The cards can use an IRQ of 11, 12 or 15. 1308181641Skmacy 1309181641Skmacy# Notes on the Stallion stl and stli drivers: 1310181641Skmacy# See src/i386/isa/README.stl for complete instructions. 1311181641Skmacy# This is version 0.0.5alpha, unsupported by Stallion. 1312181641Skmacy# The stl driver has a secondary IO port hard coded at 0x280. You need 1313181641Skmacy# to change src/i386/isa/stallion.c if you reconfigure this on the boards. 1314181641Skmacy# The "flags" and "iosiz" settings on the stli driver depend on the board: 1315181641Skmacy# EasyConnection 8/64 ISA: flags 23 iosiz 0x1000 1316181641Skmacy# EasyConnection 8/64 EISA: flags 24 iosiz 0x10000 1317181641Skmacy# EasyConnection 8/64 MCA: flags 25 iosiz 0x1000 1318181641Skmacy# ONboard ISA: flags 4 iosiz 0x10000 1319181641Skmacy# ONboard EISA: flags 7 iosiz 0x10000 1320181641Skmacy# ONboard MCA: flags 3 iosiz 0x10000 1321181641Skmacy# Brumby: flags 2 iosiz 0x4000 1322181641Skmacy# Stallion: flags 1 iosiz 0x10000 1323181641Skmacy 1324181641Skmacydevice mcd0 at isa? port 0x300 bio irq 10 vector mcdintr 1325181641Skmacy# for the Sony CDU31/33A CDROM 1326181641Skmacydevice scd0 at isa? port 0x230 bio 1327181641Skmacy# for the SoundBlaster 16 multicd - up to 4 devices 1328181641Skmacycontroller matcd0 at isa? port 0x230 bio 1329181641Skmacydevice wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr 1330181641Skmacydevice ctx0 at isa? port 0x230 iomem 0xd0000 1331181641Skmacydevice spigot0 at isa? port 0xad6 irq 15 iomem 0xee000 vector spigintr 1332181641Skmacydevice apm0 at isa? 1333181641Skmacydevice gp0 at isa? port 0x2c0 tty 1334181641Skmacydevice gsc0 at isa? port "IO_GSC1" tty drq 3 1335181641Skmacydevice joy0 at isa? port "IO_GAME" 1336181641Skmacydevice alog0 at isa? port 0x260 tty irq 5 vector alogintr 1337181641Skmacydevice cy0 at isa? tty irq 10 iomem 0xd4000 iosiz 0x2000 vector cyintr 1338181641Skmacydevice dgb0 at isa? port 0x220 iomem 0xfc0000 iosiz ? tty 1339181641Skmacydevice dgm0 at isa? port 0x104 iomem 0xd00000 iosiz ? tty 1340181641Skmacydevice labpc0 at isa? port 0x260 tty irq 5 vector labpcintr 1341181641Skmacydevice rc0 at isa? port 0x220 tty irq 12 vector rcintr 1342181641Skmacydevice rp0 at isa? port 0x280 tty 1343181641Skmacy# the port and irq for tw0 are fictitious 1344181641Skmacydevice tw0 at isa? port 0x380 tty irq 11 vector twintr 1345181641Skmacydevice si0 at isa? iomem 0xd0000 tty irq 12 1346181641Skmacydevice asc0 at isa? port IO_ASC1 tty drq 3 irq 10 vector ascintr 1347181641Skmacydevice bqu0 at isa? port 0x150 1348181641Skmacydevice stl0 at isa? port 0x2a0 tty irq 10 vector stlintr 1349181641Skmacydevice stli0 at isa? port 0x2a0 tty iomem 0xcc000 flags 23 iosiz 0x1000 1350181641Skmacy# You are unlikely to have the hardware for loran0 <phk@FreeBSD.org> 1351181641Skmacydevice loran0 at isa? port ? tty irq 5 vector loranintr 1352181641Skmacy# HOT1 Xilinx 6200 card (www.vcc.com) 1353181641Skmacydevice xrpu0 1354181641Skmacy 1355181641Skmacy# 1356181641Skmacy# EISA devices: 1357181641Skmacy# 1358181641Skmacy# The EISA bus device is eisa0. It provides auto-detection and 1359181641Skmacy# configuration support for all devices on the EISA bus. 1360181641Skmacy# 1361181641Skmacy# The `ahb' device provides support for the Adaptec 174X adapter. 1362181641Skmacy# 1363181641Skmacy# The `ahc' device provides support for the Adaptec 274X and 284X 1364181641Skmacy# adapters. The 284X, although a VLB card responds to EISA probes. 1365181641Skmacy# 1366181641Skmacy# fea: DEC DEFEA EISA FDDI adapter 1367181641Skmacy# 1368181641Skmacycontroller eisa0 1369181641Skmacycontroller ahb0 1370181641Skmacycontroller ahc0 1371181641Skmacydevice fea0 1372181641Skmacy 1373181641Skmacy# The aic7xxx driver will attempt to use memory mapped I/O for all PCI 1374181641Skmacy# controllers that have it configured only if this option is set. Unfortunately, 1375181641Skmacy# this doesn't work on some motherboards, which prevents it from being the 1376181641Skmacy# default. 1377181641Skmacyoptions AHC_ALLOW_MEMIO 1378181641Skmacy 1379181641Skmacy# By default, only 10 EISA slots are probed, since the slot numbers 1380181641Skmacy# above clash with the configuration address space of the PCI subsystem, 1381181641Skmacy# and the EISA probe is not very smart about this. This is sufficient 1382181641Skmacy# for most machines, but in particular the HP NetServer LC series comes 1383181641Skmacy# with an onboard AIC7770 dual-channel SCSI controller on EISA slot #11, 1384181641Skmacy# thus you need to bump this figure to 12 for them. 1385181641Skmacyoptions "EISA_SLOTS=12" 1386181641Skmacy 1387181641Skmacy# 1388181641Skmacy# PCI devices & PCI options: 1389181641Skmacy# 1390181641Skmacy# The main PCI bus device is `pci'. It provides auto-detection and 1391181641Skmacy# configuration support for all devices on the PCI bus, using either 1392181641Skmacy# configuration mode defined in the PCI specification. 1393181641Skmacy# 1394181641Skmacy# The `ahc' device provides support for the Adaptec 29/3940(U)(W) 1395181641Skmacy# and motherboard based AIC7870/AIC7880 adapters. 1396181641Skmacy# 1397181641Skmacy# The `ncr' device provides support for the NCR 53C810 and 53C825 1398181641Skmacy# self-contained SCSI host adapters. 1399181641Skmacy# 1400181641Skmacy# The `isp' device provides support for the Qlogic ISP 1020, 1040 1401181641Skmacy# nd 1040B PCI SCSI host adapters, as well as the Qlogic ISP 2100 1402181641Skmacy# FC/AL Host Adapter. 1403181641Skmacy# 1404181641Skmacy# The `amd' device provides support for the Tekram DC-390 and 390T 1405181641Skmacy# SCSI host adapters, but is expected to work with any AMD 53c974 1406181641Skmacy# PCI SCSI chip and the AMD Ethernet+SCSI Combo chip, after some 1407181641Skmacy# local patches were applied to the sources (that had originally 1408181641Skmacy# been written by Tekram and limited to work with their SCSI cards). 1409181641Skmacy# 1410181641Skmacy# The `de' device provides support for the Digital Equipment DC21040 1411181641Skmacy# self-contained Ethernet adapter. 1412181641Skmacy# 1413181641Skmacy# The `fxp' device provides support for the Intel EtherExpress Pro/100B 1414181641Skmacy# PCI Fast Ethernet adapters. 1415181641Skmacy# 1416181641Skmacy# The 'tl' device provides support for the Texas Instruments TNETE100 1417181641Skmacy# series 'ThunderLAN' cards and integrated ethernet controllers. This 1418181641Skmacy# includes several Compaq Netelligent 10/100 cards and the built-in 1419181641Skmacy# ethernet controllers in several Compaq Prosignia, Proliant and 1420181641Skmacy# Deskpro systems. It also supports several Olicom 10Mbps and 10/100 1421181641Skmacy# boards. 1422181641Skmacy# 1423181641Skmacy# The `tx' device provides support for the SMC 9432TX cards. 1424181641Skmacy# 1425181641Skmacy# The `vx' device provides support for the 3Com 3C590 and 3C595 1426181641Skmacy# early support 1427181641Skmacy# 1428181641Skmacy# The `xl' driver provides support for the 3Com 3c900, 3c905 and 1429181641Skmacy# 3c905B (Fast) Etherlink XL cards and integrated controllers. This 1430181641Skmacy# includes the integrated 3c905B-TX chips in certain Dell Optiplex and 1431181641Skmacy# Dell Precision desktop machines and the integrated 3c905-TX chips 1432181641Skmacy# in Dell Latitude laptop docking stations. 1433181641Skmacy# 1434181641Skmacy# The `fpa' device provides support for the Digital DEFPA PCI FDDI 1435181641Skmacy# adapter. pseudo-device fddi is also needed. 1436181641Skmacy# 1437181641Skmacy# The `meteor' device is a PCI video capture board. It can also have the 1438181641Skmacy# following options: 1439181641Skmacy# options METEOR_ALLOC_PAGES=xxx preallocate kernel pages for data entry 1440181641Skmacy# figure (ROWS*COLUMN*BYTES_PER_PIXEL*FRAME+PAGE_SIZE-1)/PAGE_SIZE 1441181641Skmacy# options METEOR_DEALLOC_PAGES remove all allocated pages on close(2) 1442181641Skmacy# options METEOR_DEALLOC_ABOVE=xxx remove all allocated pages above the 1443181641Skmacy# specified amount. If this value is below the allocated amount no action 1444181641Skmacy# taken 1445181641Skmacy# option METEOR_SYSTEM_DEFAULT={METEOR_PAL|METEOR_NTSC|METEOR_SECAM}, used 1446181641Skmacy# for initialization of fps routine when a signal is not present. 1447181641Skmacy# 1448181641Skmacy# The 'bktr' device is a PCI video capture device using the Brooktree 1449181641Skmacy# bt848/bt848a/bt849/bt878/bt879 chipset. When used with a TV Tuner it forms a 1450181641Skmacy# TV card, eg Miro PC/TV,Hauppauge WinCast/TV WinTV, VideoLogic Captivator, 1451181641Skmacy# Intel Smart Video III, AverMedia, IMS Turbo. 1452181641Skmacy# The following options can be used to override the auto detection 1453181641Skmacy# options OVERRIDE_CARD=xxx 1454181641Skmacy# options OVERRIDE_TUNER=xxx 1455181641Skmacy# options OVERRIDE_MSP=1 1456181641Skmacy# options OVERRIDE_DBX=1 1457181641Skmacy# The current values are found in /usr/src/sys/pci/brooktree848.c 1458181641Skmacy# 1459181641Skmacy# option BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_PAL 1460181641Skmacy# This is required for Dual Crystal (28&35Mhz) boards where PAL is used 1461181641Skmacy# to prevent hangs during initialisation. eg VideoLogic Captivator PCI. 1462181641Skmacy# 1463181641Skmacy# PAL or SECAM users who have a 28Mhz crystal (and no 35Mhz crystal) 1464181641Skmacy# must enable PLL mode with this option. eg some new Hauppauge cards. 1465181641Skmacy# option BKTR_USE_PLL 1466181641Skmacy# 1467181641Skmacy# Using sysctl(8) run-time overrides on a per-card basis can be made 1468181641Skmacy# 1469181641Skmacycontroller pci0 1470181641Skmacycontroller ahc1 1471181641Skmacycontroller ncr0 1472181641Skmacycontroller isp0 1473181641Skmacy#!CAM# controller amd0 1474181641Skmacydevice de0 1475181641Skmacydevice fxp0 1476181641Skmacydevice tl0 1477181641Skmacydevice tx0 1478181641Skmacydevice vx0 1479181641Skmacydevice xl0 1480181641Skmacydevice fpa0 1481181641Skmacydevice meteor0 1482181641Skmacydevice bktr0 1483181641Skmacy 1484181641Skmacy# 1485181641Skmacy# PCI options 1486181641Skmacy# 1487181641Skmacy#options PCI_QUIET #quiets PCI code on chipset settings 1488181641Skmacy 1489181641Skmacy# 1490181641Skmacy# PCCARD/PCMCIA 1491181641Skmacy# 1492181641Skmacy# card: slot controller 1493181641Skmacy# pcic: slots 1494181641Skmacycontroller card0 1495181641Skmacydevice pcic0 at card? 1496181641Skmacydevice pcic1 at card? 1497181641Skmacy 1498181641Skmacy# You may need to reset all pccards after resuming 1499181641Skmacyoptions PCIC_RESUME_RESET # reset after resume 1500181641Skmacy 1501181641Skmacy# 1502181641Skmacy# Laptop/Notebook options: 1503181641Skmacy# 1504181641Skmacy# See also: 1505181641Skmacy# apm under `Miscellaneous hardware' 1506181641Skmacy# above. 1507181641Skmacy 1508181641Skmacy# For older notebooks that signal a powerfail condition (external 1509181641Skmacy# power supply dropped, or battery state low) by issuing an NMI: 1510181641Skmacy 1511181641Skmacyoptions POWERFAIL_NMI # make it beep instead of panicing 1512181641Skmacy 1513181641Skmacy# 1514181641Skmacy# SMB bus 1515181641Skmacy# 1516181641Skmacy# System Management Bus support provided by the 'smbus' device. 1517181641Skmacy# 1518181641Skmacy# Supported devices: 1519181641Skmacy# smb standard io 1520181641Skmacy# 1521181641Skmacy# Supported interfaces: 1522181641Skmacy# iicsmb I2C to SMB bridge 1523181641Skmacy# 1524181641Skmacycontroller smbus0 1525181641Skmacy 1526181641Skmacydevice smb0 at smbus? 1527181641Skmacy 1528181641Skmacy# 1529181641Skmacy# I2C Bus 1530181641Skmacy# 1531181641Skmacy# Philips i2c bus support is provided by the `iicbus' device. 1532181641Skmacy# 1533181641Skmacy# Supported devices: 1534181641Skmacy# ic i2c network interface 1535181641Skmacy# iic i2c standard io 1536181641Skmacy# iicsmb i2c to smb bridge. Allow i2c i/o with smb commands. 1537181641Skmacy# 1538181641Skmacy# Supported interfaces: 1539181641Skmacy# pcf Philips PCF8584 ISA-bus controller 1540181641Skmacy# 1541181641Skmacycontroller iicbus0 1542181641Skmacy 1543181641Skmacydevice ic0 at iicbus? 1544181641Skmacydevice iic0 at iicbus? 1545181641Skmacydevice iicsmb0 at iicbus? 1546181641Skmacy 1547181641Skmacycontroller pcf0 at isa? port 0x320 net irq 5 vector pcfintr 1548181641Skmacy 1549181641Skmacy# 1550181641Skmacy# Parallel-Port Bus 1551181641Skmacy# 1552181641Skmacy# Parallel port bus support is provided by the `ppbus' device. 1553181641Skmacy# Multiple devices may be attached to the parallel port, devices 1554181641Skmacy# are automatically probed and attached when found. 1555181641Skmacy# 1556181641Skmacy# Supported devices: 1557181641Skmacy# vpo Iomega Zip Drive 1558181641Skmacy# Requires SCSI disk support ('scbus' and 'da'), best 1559181641Skmacy# performance is achieved with ports in EPP 1.9 mode. 1560181641Skmacy# nlpt Parallel Printer, use _instead_ of lpt0 1561181641Skmacy# plip Parallel network interface 1562181641Skmacy# ppi General-purpose I/O ("Geek Port") 1563181641Skmacy# pps Pulse per second Timing Interface 1564181641Skmacy# 1565181641Skmacy# Supported interfaces: 1566181641Skmacy# ppc ISA-bus parallel port interfaces. 1567181641Skmacy# 1568181641Skmacycontroller ppbus0 1569181641Skmacycontroller vpo0 at ppbus? 1570181641Skmacydevice nlpt0 at ppbus? 1571181641Skmacydevice plip0 at ppbus? 1572181641Skmacydevice ppi0 at ppbus? 1573181641Skmacydevice pps0 at ppbus? 1574181641Skmacy 1575181641Skmacycontroller ppc0 at isa? disable port ? tty irq 7 vector ppcintr 1576181641Skmacy 1577181641Skmacy# Kernel BOOTP support 1578181641Skmacy 1579181641Skmacyoptions BOOTP # Use BOOTP to obtain IP address/hostname 1580181641Skmacyoptions BOOTP_NFSROOT # NFS mount root filesystem using BOOTP info 1581181641Skmacyoptions "BOOTP_NFSV3" # Use NFS v3 to NFS mount root 1582181641Skmacyoptions BOOTP_COMPAT # Workaround for broken bootp daemons. 1583181641Skmacyoptions "BOOTP_WIRED_TO=fxp0" # Use interface fxp0 for BOOTP 1584181641Skmacy 1585181641Skmacy# If you want to disable loadable kernel modules (LKM), you 1586181641Skmacy# might want to use this option. 1587181641Skmacy#options NO_LKM 1588181641Skmacy 1589181641Skmacy# 1590181641Skmacy# Add tie-ins for a hardware watchdog. This only enable the hooks; 1591181641Skmacy# the user must still supply the actual driver. 1592181641Skmacy# 1593181641Skmacyoptions HW_WDOG 1594181641Skmacy 1595181641Skmacy# 1596181641Skmacy# Set the number of PV entries per process. Increasing this can 1597181641Skmacy# stop panics related to heavy use of shared memory. However, that can 1598181641Skmacy# (combined with large amounts of physical memory) cause panics at 1599181641Skmacy# boot time due the kernel running out of VM space. 1600181641Skmacy# 1601181641Skmacy# If you're tweaking this, you might also want to increase the sysctls 1602181641Skmacy# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target". 1603181641Skmacy# 1604181641Skmacy# The value below is the one more than the default. 1605181641Skmacy# 1606181641Skmacyoptions "PMAP_SHPGPERPROC=201" 1607181641Skmacy 1608181641Skmacy# 1609181641Skmacy# Disable swapping. This option removes all code which actually performs 1610181641Skmacy# swapping, so it's not possible to turn it back on at run-time. 1611181641Skmacy# 1612181641Skmacy# This is sometimes usable for systems which don't have any swap space 1613181641Skmacy# (see also sysctls "vm.defer_swapspace_pageouts" and 1614181641Skmacy# "vm.disable_swapspace_pageouts") 1615181641Skmacy# 1616181641Skmacy#options NO_SWAPPING 1617181641Skmacy 1618181641Skmacy# More undocumented options for linting. 1619181641Skmacy 1620181641Skmacyoptions CLK_CALIBRATION_LOOP 1621181641Skmacyoptions "CLK_USE_I8254_CALIBRATION" 1622181641Skmacyoptions CLK_USE_TSC_CALIBRATION 1623181641Skmacyoptions CLUSTERDEBUG 1624181641Skmacyoptions COMPAT_LINUX 1625181641Skmacyoptions CPU_UPGRADE_HW_CACHE 1626181641Skmacyoptions DEBUG 1627181641Skmacyoptions "DEBUG_1284" 1628181641Skmacy#options DISABLE_PSE 1629181641Skmacyoptions "EXT2FS" 1630181641Skmacyoptions "I586_PMC_GUPROF=0x70000" 1631181641Skmacyoptions "IBCS2" 1632181641Skmacyoptions KEY 1633181641Skmacyoptions KEY_DEBUG 1634181641Skmacyoptions LOCKF_DEBUG 1635181641Skmacyoptions LOUTB 1636181641Skmacyoptions KBD_MAXRETRY=4 1637181641Skmacyoptions KBD_MAXWAIT=6 1638181641Skmacyoptions KBD_RESETDELAY=201 1639181641Skmacyoptions KBDIO_DEBUG=2 1640181641Skmacyoptions MSGMNB=2049 1641181641Skmacyoptions MSGMNI=41 1642181641Skmacyoptions MSGSEG=2049 1643181641Skmacyoptions MSGSSZ=16 1644181641Skmacyoptions MSGTQL=41 1645181641Skmacyoptions NBUF=512 1646181641Skmacyoptions NETATALKDEBUG 1647181641Skmacyoptions NMBCLUSTERS=1024 1648181641Skmacyoptions NPX_DEBUG 1649181641Skmacyoptions PANIC_REBOOT_WAIT_TIME=16 1650181641Skmacyoptions "PCVT_24LINESDEF" 1651181641Skmacyoptions PCVT_CTRL_ALT_DEL 1652181641Skmacyoptions PCVT_EMU_MOUSE 1653181641Skmacyoptions PCVT_FREEBSD=211 1654181641Skmacyoptions PCVT_META_ESC 1655181641Skmacyoptions PCVT_NSCREENS=9 1656181641Skmacyoptions PCVT_PRETTYSCRNS 1657181641Skmacyoptions PCVT_SCREENSAVER 1658181641Skmacyoptions PCVT_USEKBDSEC 1659181641Skmacyoptions "PCVT_VT220KEYB" 1660181641Skmacyoptions PSM_DEBUG=1 1661181641Skmacyoptions SCSI_NCR_DEBUG 1662181641Skmacyoptions SCSI_NCR_DFLT_TAGS=4 1663181641Skmacyoptions SCSI_NCR_MAX_SYNC=10000 1664181641Skmacyoptions SCSI_NCR_MAX_WIDE=1 1665181641Skmacyoptions SCSI_NCR_MYADDR=7 1666181641Skmacyoptions SEMMAP=31 1667181641Skmacyoptions SEMMNI=11 1668181641Skmacyoptions SEMMNS=61 1669181641Skmacyoptions SEMMNU=31 1670181641Skmacyoptions SEMMSL=61 1671181641Skmacyoptions SEMOPM=101 1672181641Skmacyoptions SEMUME=11 1673181641Skmacyoptions SHOW_BUSYBUFS # List buffers that prevent root unmount 1674181641Skmacyoptions SHMALL=1025 1675181641Skmacyoptions "SHMMAX=(SHMMAXPGS*PAGE_SIZE+1)" 1676181641Skmacyoptions SHMMAXPGS=1025 1677181641Skmacyoptions SHMMIN=2 1678181641Skmacyoptions SHMMNI=33 1679181641Skmacyoptions SHMSEG=9 1680181641Skmacyoptions SI_DEBUG 1681181641Skmacyoptions SIMPLELOCK_DEBUG 1682181641Skmacyoptions SPX_HACK 1683181641Skmacy 1684181641Skmacy# The 'dpt' driver provides support for DPT controllers (http://www.dpt.com/). 1685181641Skmacy# These have hardware RAID-{0,1,5} support, and do multi-initiator I/O. 1686181641Skmacy# The DPT controllers are commonly re-licensed under other brand-names - 1687181641Skmacy# some controllers by Olivetti, Dec, HP, AT&T, SNI, AST, Alphatronic, NEC and 1688181641Skmacy# Compaq are actually DPT controllers. 1689181641Skmacy# 1690181641Skmacy# See sys/dev/dpt for debugging and other subtle options. 1691181641Skmacy# DPT_VERIFY_HINTR Performs some strict hardware interrupts testing. 1692181641Skmacy# Only use if you suspect PCI bus corruption problems 1693181641Skmacy# DPT_RESTRICTED_FREELIST Normally, the freelisat used by the DPT for queue 1694181641Skmacy# will grow to accomodate increased use. This growth 1695181641Skmacy# will NOT shrink. To restrict the number of queue 1696181641Skmacy# slots to exactly what the DPT can hold at one time, 1697181641Skmacy# enable this option. 1698181641Skmacy# DPT_MEASURE_PERFORMANCE Enables a set of (semi)invasive metrics. Various 1699181641Skmacy# instruments are enabled. The tools in 1700181641Skmacy# /usr/sbin/dpt_* assume these to be enabled. 1701181641Skmacy# DPT_FREELIST_IS_STACK For optimal L{1,2} CPU cache utilization, enable 1702181641Skmacy# this option. Otherwise, the transaction queue is 1703181641Skmacy# a LIFO. I cannot measure the performance gain. 1704181641Skmacy# DPT_HANDLE_TIMEOUTS Normally device timeouts are handled by the DPT. 1705181641Skmacy# If you ant the driver to handle timeouts, enable 1706181641Skmacy# this option. If your system is very busy, this 1707181641Skmacy# option will create more trouble than solve. 1708181641Skmacy# DPT_TIMEOUT_FACTOR Used to compute the excessive amount of time to 1709181641Skmacy# wait when timing out with the above option. 1710181641Skmacy# DPT_DEBUG_xxxx These are controllable from sys/dev/dpt/dpt.h 1711181641Skmacy# DPT_LOST_IRQ When enabled, will try, once per second, to catch 1712181641Skmacy# any interrupt that got lost. Seems to help in some 1713181641Skmacy# DPT-firmware/Motherboard combinations. Minimal 1714181641Skmacy# cost, great benefit. 1715181641Skmacy# DPT_RESET_HBA Make "reset" actually reset the controller 1716181641Skmacy# instead of fudging it. Only enable this if you 1717181641Skmacy# are 100% certain you need it. 1718181641Skmacy# DPT_SHUTDOWN_SLEEP Reset controller if a request take more than 1719181641Skmacy# this number of seconds. Do NOT enable this 1720181641Skmacy# unless you are really, really, really certain 1721181641Skmacy# you need it. You are advised to call Simon (the 1722181641Skmacy# driver author) before setting it, and NEVER, 1723181641Skmacy# EVER set it to less than 300s (5 minutes). 1724181641Skmacy 1725181641Skmacycontroller dpt0 1726181641Skmacy 1727181641Skmacy# DPT options 1728181641Skmacyoptions DPT_VERIFY_HINTR 1729181641Skmacyoptions DPT_RESTRICTED_FREELIST 1730181641Skmacy#!CAM# options DPT_MEASURE_PERFORMANCE 1731181641Skmacyoptions DPT_FREELIST_IS_STACK 1732181641Skmacy#!CAM# options DPT_HANDLE_TIMEOUTS 1733181641Skmacyoptions DPT_TIMEOUT_FACTOR=4 1734181641Skmacyoptions DPT_INTR_DELAY=200 # Some motherboards need that 1735181641Skmacyoptions DPT_LOST_IRQ 1736181641Skmacyoptions DPT_RESET_HBA 1737181641Skmacy 1738181641Skmacy# Don't EVER set this without having talked to Simon Shapiro on the phone 1739181641Skmacy# first. 1740181641Skmacyoptions DPT_SHUTDOWN_SLEEP=500 1741181641Skmacy