The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/i386/conf/LINT

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    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 # $FreeBSD: src/sys/i386/conf/LINT,v 1.286.2.68 1999/09/05 08:10:50 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 #
   17 machine         "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 #
   23 ident           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 #
   29 maxusers        10
   30 
   31 #
   32 # Under some circumstances it is convenient to increase the defaults
   33 # for the maximum number of processes per user and the maximum number
   34 # of open files files per user.  E.g., (1) in a large news server, user
   35 # `news' may need more than 100 concurrent processes.  (2) a user may
   36 # need lots of windows under X.  In both cases, it may be inconvenient
   37 # to start all the processes from a parent whose soft rlimit on the
   38 # number of processes is large enough.  The following options work by
   39 # changing the soft rlimits for init.
   40 #
   41 options         CHILD_MAX=128
   42 options         OPEN_MAX=128
   43 
   44 #
   45 # Certain applications can grow to be larger than the 128M limit
   46 # that FreeBSD initially imposes.  Below are some options to
   47 # allow that limit to grow to 256MB, and can be increased further
   48 # with changing the parameters.  MAXDSIZ is the maximum that the
   49 # limit can be set to, and the DFLDSIZ is the default value for
   50 # the limit.  You might want to set the default lower than the
   51 # max, and explicitly set the maximum with a shell command for processes
   52 # that regularly exceed the limit like INND.
   53 #
   54 options         "MAXDSIZ=(256*1024*1024)"
   55 options         "DFLDSIZ=(256*1024*1024)"
   56 
   57 # When this is set, be extra conservative in various parts of the kernel
   58 # and choose functionality over speed (on the widest variety of systems).
   59 #
   60 # (Note that one of the effects of removing this option is to enable
   61 # tagged commands in the `ncr' driver.  See the comments to
   62 # AHC_TAGENABLE for a note of warning.)
   63 options         FAILSAFE
   64 
   65 # This allows you to actually store this configuration file into
   66 # the kernel binary itself, where it may be later read by saying:
   67 #    strings /kernel | grep ^___ | sed -e 's/^___//' > MYKERNEL
   68 #
   69 options         INCLUDE_CONFIG_FILE     # Include this file in kernel
   70 
   71 #
   72 # This directive defines a number of things:
   73 #  - The compiled kernel is to be called `kernel'
   74 #  - The root filesystem might be on partition wd0a
   75 #  - Crash dumps will be written to wd0b, if possible.  Specifying the
   76 #    dump device here is not recommended.  Use dumpon(8).
   77 #
   78 config          kernel  root on wd0 dumps on wd0
   79 
   80 
   81 #####################################################################
   82 # CPU OPTIONS
   83 
   84 #
   85 # You must specify at least one CPU (the one you intend to run on);
   86 # deleting the specification for CPUs you don't need to use may make
   87 # parts of the system run faster.  This is especially true removing
   88 # I386_CPU.
   89 #
   90 cpu             "I386_CPU"
   91 cpu             "I486_CPU"
   92 cpu             "I586_CPU"              # aka Pentium(tm)
   93 cpu             "I686_CPU"              # aka Pentium Pro(tm)
   94 
   95 #
   96 # Options for CPU features.
   97 #
   98 # CPU_BLUELIGHTNING_FPU_OP_CACHE enables FPU operand cache on IBM
   99 # BlueLightning CPU.  It works only with Cyrix FPU, and this option
  100 # should not be used with Intel FPU.
  101 #
  102 # CPU_BLUELIGHTNING_3X enables triple-clock mode on IBM Blue Lightning 
  103 # CPU if CPU supports it. The default is double-clock mode on
  104 # BlueLightning CPU box.  
  105 #
  106 # CPU_BTB_EN enables branch target buffer on Cyrix 5x86 (NOTE 1).
  107 #
  108 # CPU_DIRECT_MAPPED_CACHE set L1 cache of Cyrix 486DLC CPU in direct
  109 # mapped mode.  Default is 2-way set associative mode.
  110 #
  111 # CPU_CYRIX_NO_LOCK enables weak locking for the entire address space
  112 # of Cyrix 6x86 and 6x86MX CPUs.  If this option is not set and
  113 # FAILESAFE is defined, NO_LOCK bit of CCR1 is cleared.  (NOTE 3)
  114 #
  115 # CPU_DISABLE_5X86_LSSER disables load store serialize (i.e. enables
  116 # reorder).  This option should not be used if you use memory mapped
  117 # I/O device(s). 
  118 #
  119 # CPU_FASTER_5X86_FPU enables faster FPU exception handler.
  120 #
  121 # CPU_I486_ON_386 enables CPU cache on i486 based CPU upgrade products
  122 # for i386 machines. 
  123 #
  124 # CPU_IORT defines I/O clock delay time (NOTE 1).  Default vaules of
  125 # I/O clock delay time on Cyrix 5x86 and 6x86 are 0 and 7,respectively
  126 # (no clock delay).
  127 #
  128 # CPU_LOOP_EN prevents flushing the prefetch buffer if the destination
  129 # of a jump is already present in the prefetch buffer on Cyrix 5x86(NOTE
  130 # 1). 
  131 #
  132 # CPU_RSTK_EN enables return stack on Cyrix 5x86 (NOTE 1).
  133 #
  134 # CPU_SUSP_HLT enables suspend on HALT.  If this option is set, CPU
  135 # enters suspend mode following execution of HALT instruction.
  136 #
  137 # CPU_WT_ALLOC enables write-through allocation.
  138 #
  139 # CYRIX_CACHE_WORKS enables CPU cache on Cyrix 486 CPUs with cache
  140 # flush at hold state.
  141 #
  142 # CYRIX_CACHE_REALLY_WORKS enables (1) CPU cache on Cyrix 486 CPUs
  143 # without cache flush at hold state, and (2) write-back CPU cache on
  144 # Cyrix 6x86 whose revision < 2.7 (NOTE 2).
  145 #
  146 # NO_F00F_HACK disables the hack that prevents Pentiums (and ONLY
  147 # Pentiums) from locking up when a LOCK CMPXCHG8B instruction is
  148 # executed.  This should be included for ALL kernels that won't run
  149 # on a Pentium.
  150 #
  151 # NOTE 1: The options, CPU_BTB_EN, CPU_LOOP_EN, CPU_IORT,
  152 # CPU_LOOP_ENand CPU_RSTK_EN should no be used becasue of CPU bugs.
  153 # These options may crash your system. 
  154 #
  155 # NOTE 2: If CYRIX_CACHE_REALLY_WORKS is not set, CPU cache is enabled
  156 # in write-through mode when revision < 2.7.  If revision of Cyrix
  157 # 6x86 >= 2.7, CPU cache is always enabled in write-back mode.
  158 #
  159 # NOTE 3: This option may cause failures for software that requires
  160 # locked cycles in order to operate correctly.
  161 #
  162 options         "CPU_BLUELIGHTNING_FPU_OP_CACHE"
  163 options         "CPU_BLUELIGHTNING_3X"
  164 options         "CPU_BTB_EN"
  165 options         "CPU_DIRECT_MAPPED_CACHE"
  166 options         "CPU_DISABLE_5X86_LSSER"
  167 options         "CPU_FASTER_5X86_FPU"
  168 options         "CPU_I486_ON_386"
  169 options         "CPU_IORT"
  170 options         "CPU_LOOP_EN"
  171 options         "CPU_RSTK_EN"
  172 options         "CPU_SUSP_HLT"
  173 options         "CYRIX_CACHE_WORKS"
  174 options         "CYRIX_CACHE_REALLY_WORKS"
  175 #options        "NO_F00F_HACK"
  176 
  177 #
  178 # A math emulator is mandatory if you wish to run on hardware which
  179 # does not have a floating-point processor.  Pick either the original,
  180 # bogus (but freely-distributable) math emulator, or a much more
  181 # fully-featured but GPL-licensed emulator taken from Linux.
  182 #
  183 options         MATH_EMULATE            #Support for x87 emulation
  184 # Don't enable both of these in a real config.
  185 options         GPL_MATH_EMULATE        #Support for x87 emulation via
  186                                         #new math emulator 
  187 
  188 
  189 #####################################################################
  190 # COMPATIBILITY OPTIONS                                             
  191 
  192 #
  193 # Implement system calls compatible with 4.3BSD and older versions of
  194 # FreeBSD.  You probably do NOT want to remove this as much current code
  195 # still relies on the 4.3 emulation.
  196 #
  197 options         "COMPAT_43"
  198 
  199 #
  200 # Allow user-mode programs to manipulate their local descriptor tables.
  201 # This option is required for the WINE Windows(tm) emulator, and is
  202 # not used by anything else (that we know of).
  203 #
  204 options         USER_LDT                #allow user-level control of i386 ldt
  205 
  206 #
  207 # These three options provide support for System V Interface
  208 # Definition-style interprocess communication, in the form of shared
  209 # memory, semaphores, and message queues, respectively.
  210 #
  211 options         SYSVSHM
  212 options         SYSVSEM
  213 options         SYSVMSG
  214 
  215 #
  216 # This option includes a MD5 routine in the kernel, this is used for
  217 # various authentication and privacy uses.
  218 #
  219 options         "MD5"
  220 
  221 
  222 #####################################################################
  223 # DEBUGGING OPTIONS
  224 
  225 #
  226 # Enable the kernel debugger.
  227 #
  228 options         DDB
  229 
  230 #
  231 # Don't drop into DDB for a panic. Intended for unattended operation
  232 # where you may want to drop to DDB from the console, but still want
  233 # the machine to recover from a panic
  234 #
  235 options         DDB_UNATTENDED
  236 
  237 # 
  238 # KTRACE enables the system-call tracing facility ktrace(2).
  239 #
  240 options         KTRACE                  #kernel tracing
  241 
  242 #
  243 # The DIAGNOSTIC option is used in a number of source files to enable
  244 # extra sanity checking of internal structures.  This support is not
  245 # enabled by default because of the extra time it would take to check
  246 # for these conditions, which can only occur as a result of
  247 # programming errors.
  248 #
  249 options         DIAGNOSTIC
  250 
  251 #
  252 # PERFMON causes the driver for Pentium/Pentium Pro performance counters
  253 # to be compiled.  See perfmon(4) for more information.
  254 #
  255 options         PERFMON
  256 
  257 # XXX - this doesn't belong here.
  258 # Allow ordinary users to take the console - this is useful for X.
  259 options         UCONSOLE
  260 
  261 # XXX - this doesn't belong here either
  262 options         USERCONFIG              #boot -c editor
  263 options         USERCONFIG_BOOT         #imply -c and parse info area
  264 options         VISUAL_USERCONFIG       #visual boot -c editor
  265 
  266 #####################################################################
  267 # NETWORKING OPTIONS
  268 
  269 #
  270 # Protocol families:
  271 #  Only the INET (Internet) family is officially supported in FreeBSD.
  272 #  Source code for the NS (Xerox Network Service) is provided for amusement
  273 #  value.
  274 #
  275 options         INET                    #Internet communications protocols
  276 
  277 options         IPX                     #IPX/SPX communications protocols
  278 options         IPXIP                   #IPX in IP encapsulation (not available)
  279 options         IPTUNNEL                #IP in IPX encapsulation (not available)
  280 
  281 options         NETATALK                #Appletalk communications protocols
  282 
  283 # These are currently broken but are shipped due to interest.
  284 #options                NS                      #Xerox NS protocols
  285 
  286 # These are currently broken and are no longer shipped due to lack
  287 # of interest.
  288 #options                CCITT                   #X.25 network layer
  289 #options                ISO
  290 #options                TPIP                    #ISO TP class 4 over IP
  291 #options                TPCONS                  #ISO TP class 0 over X.25
  292 #options                LLC                     #X.25 link layer for Ethernets
  293 #options                HDLC                    #X.25 link layer for serial lines
  294 #options                EON                     #ISO CLNP over IP
  295 #options                NSIP                    #XNS over IP
  296 
  297 #
  298 # Network interfaces:
  299 #  The `loop' pseudo-device is MANDATORY when networking is enabled.
  300 #  The `ether' pseudo-device provides generic code to handle
  301 #  Ethernets; it is MANDATORY when a Ethernet device driver is
  302 #  configured.
  303 #  The 'fddi' pseudo-device provides generic code to support FDDI.
  304 #  The `sppp' pseudo-device serves a similar role for certain types
  305 #  of synchronous PPP links (like `cx', `ar').
  306 #  The `sl' pseudo-device implements the Serial Line IP (SLIP) service.
  307 #  The `ppp' pseudo-device implements the Point-to-Point Protocol.
  308 #  The `bpfilter' pseudo-device enables the Berkeley Packet Filter.  Be
  309 #  aware of the legal and administrative consequences of enabling this
  310 #  option.  The number of devices determines the maximum number of
  311 #  simultaneous BPF clients programs runnable.
  312 #  The `disc' pseudo-device implements a minimal network interface,
  313 #  which throws away all packets sent and never receives any.  It is
  314 #  included for testing purposes.
  315 #  The `tun' pseudo-device implements the User Process PPP (iijppp)
  316 #
  317 # The PPP_BSDCOMP option enables support for compress(1) style entire
  318 # packet compression, the PPP_DEFLATE is for zlib/gzip style compression.
  319 # PPP_FILTER enables code for filtering the ppp data stream and selecting
  320 # events for resetting the demand dial activity timer - requires bpfilter.
  321 # See pppd(8) for more details.
  322 #
  323 pseudo-device   ether                   #Generic Ethernet
  324 pseudo-device   fddi                    #Generic FDDI
  325 pseudo-device   sppp                    #Generic Synchronous PPP
  326 pseudo-device   loop                    #Network loopback device
  327 pseudo-device   sl      2               #Serial Line IP
  328 pseudo-device   ppp     2               #Point-to-point protocol
  329 pseudo-device   bpfilter        4       #Berkeley packet filter
  330 pseudo-device   disc                    #Discard device
  331 pseudo-device   tun     1               #Tunnel driver(user process ppp)
  332 options PPP_BSDCOMP                     #PPP BSD-compress support
  333 options PPP_DEFLATE                     #PPP zlib/deflate/gzip support
  334 options PPP_FILTER                      #enable bpf filtering (needs bpfilter)
  335 
  336 #
  337 # Internet family options:
  338 #
  339 # TCP_COMPAT_42 causes the TCP code to emulate certain bugs present in
  340 # 4.2BSD.  This option should not be used unless you have a 4.2BSD
  341 # machine and TCP connections fail.
  342 #
  343 # MROUTING enables the kernel multicast packet forwarder, which works
  344 # with mrouted(8).
  345 #
  346 # IPFIREWALL enables support for IP firewall construction, in
  347 # conjunction with the `ipfw' program.  IPFIREWALL_VERBOSE sends
  348 # logged packets to the system logger.  IPFIREWALL_VERBOSE_LIMIT
  349 # limits the number of times a matching entry can be logged.
  350 #
  351 # WARNING:  IPFIREWALL defaults to a policy of "deny ip from any to any"
  352 # and if you do not add other rules during startup to allow access,
  353 # YOU WILL LOCK YOURSELF OUT.  It is suggested that you set firewall=open
  354 # in /etc/rc.conf when first enabling this feature, then refining the
  355 # firewall rules in /etc/rc.firewall after you've tested that the new kernel
  356 # feature works properly.
  357 #
  358 # IPFIREWALL_DEFAULT_TO_ACCEPT causes the default rule (at boot) to
  359 # allow everything.  Use with care, if a cracker can crash your
  360 # firewall machine, they can get to your protected machines.  However,
  361 # if you are using it as an as-needed filter for specific problems as
  362 # they arise, then this may be for you.  Changing the default to 'allow'
  363 # means that you won't get stuck if the kernel and /sbin/ipfw binary get
  364 # out of sync.
  365 #
  366 # IPDIVERT enables the divert IP sockets, used by ``ipfw divert.''
  367 # See ipfw(8) and divert(4) man pages for details.
  368 #
  369 # IPFW_DIVERT_RESTART alters the interpretation of the "sin_port" field
  370 # when writing a packet to a divert socket. Without this option, "sin_port"
  371 # indicates that "divert port" ipfw rules should be ignored, where
  372 # "port" is the (host-order) value of "sin_port". With this option, this
  373 # field is the ipfw rule number at which to (re)start when checking
  374 # the packet, minus one. Note that 3.X kernels do not have this option,
  375 # and always behave as if IPFW_DIVERT_RESTART were defined.
  376 #
  377 # TCPDEBUG is undocumented.
  378 #
  379 options         "TCP_COMPAT_42"         #emulate 4.2BSD TCP bugs
  380 options         MROUTING                # Multicast routing
  381 options         IPFIREWALL              #firewall
  382 options         IPFIREWALL_VERBOSE      #print information about
  383                                         # dropped packets
  384 options         "IPFIREWALL_VERBOSE_LIMIT=100" #limit verbosity
  385 options         IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default
  386 options         IPDIVERT                #divert sockets
  387 options         IPFW_DIVERT_RESTART     #divert writeback specifies ipfw rule
  388 options         TCPDEBUG
  389 
  390 #
  391 # options BRIDGE can be used to enable bridging -- see bridge(4)
  392 # options DUMMYNET enables the "Dummynet" bandwidth manager and
  393 # delay emulator -- see dummynet(4) . It requires IPFIREWALL.
  394 #
  395 # options DUMMYNET
  396 # options BRIDGE
  397 
  398 #####################################################################
  399 # FILESYSTEM OPTIONS
  400 
  401 #
  402 # Only the root, /usr, and /tmp filesystems need be statically
  403 # compiled; everything else will be automatically loaded at mount
  404 # time.  (Exception: the UFS family---FFS, MFS, and LFS---cannot
  405 # currently be demand-loaded.)  Some people still prefer to statically
  406 # compile other filesystems as well.
  407 #
  408 # NB: The LFS, NULL, PORTAL, UMAP and UNION filesystems are known to be
  409 # buggy, and WILL panic your system if you attempt to do anything with
  410 # them.  They are included here as an incentive for some enterprising
  411 # soul to sit down and fix them.
  412 #
  413 # Note: 4.4BSD NQNFS lease checking has relatively high cost for
  414 # _local_ I/O as well as remote I/O. Don't use it unless you will
  415 # using NQNFS.
  416 #
  417 
  418 # One of these is mandatory:
  419 options         FFS                     #Fast filesystem
  420 options         NFS                     #Network File System
  421 
  422 # The rest are optional:
  423 options         NQNFS                   #Enable NQNFS lease checking
  424 # options       NFS_NOSERVER            #Disable the NFS-server code.
  425 options         "CD9660"                #ISO 9660 filesystem
  426 options         FDESC                   #File descriptor filesystem
  427 options         KERNFS                  #Kernel filesystem
  428 options         LFS                     #Log filesystem
  429 options         MFS                     #Memory filesystem
  430 options         MSDOSFS                 #MS DOS filesystem
  431 options         NULLFS                  #NULL filesystem
  432 options         PORTAL                  #Portal filesystem
  433 options         PROCFS                  #Process filesystem
  434 options         CFS                     #CODA filesystem.
  435 options         UMAPFS                  #UID map filesystem
  436 options         UNION                   #Union filesystem
  437 # This DEVFS is experimental but seems to work
  438 options         DEVFS                   #devices filesystem
  439 
  440 # Make space in the kernel for a MFS root filesystem.  Define to the number
  441 # of kilobytes to reserve for the filesystem.
  442 options         MFS_ROOT=10
  443 # Allow the MFS_ROOT code to load the MFS image from floppy if it is missing.
  444 options         MFS_AUTOLOAD
  445 
  446 # Allow this many swap-devices.
  447 options         NSWAPDEV=20
  448 
  449 # Disk quotas are supported when this option is enabled.  If you
  450 # change the value of this option, you must do a `make clean' in your
  451 # kernel compile directory in order to get a working kernel.
  452 #
  453 options         QUOTA                   #enable disk quotas
  454 
  455 # Add more checking code to various filesystems
  456 #options                NULLFS_DIAGNOSTIC
  457 #options                KERNFS_DIAGNOSTIC
  458 #options                UMAPFS_DIAGNOSTIC
  459 #options                UNION_DIAGNOSTIC
  460 
  461 # In particular multi-session CD-Rs might require a huge amount of
  462 # time in order to "settle".  If we are about mounting them as the
  463 # root f/s, we gotta wait a little.
  464 #
  465 # The number is supposed to be in seconds.
  466 options                 "CD9660_ROOTDELAY=20"
  467 
  468 # Add some error checking code to the null_bypass routine
  469 # in the NULL filesystem
  470 #options                SAFETY
  471 
  472 
  473 #####################################################################
  474 # SCSI DEVICES
  475 
  476 # SCSI DEVICE CONFIGURATION
  477 
  478 # The SCSI subsystem consists of the `base' SCSI code, a number of
  479 # high-level SCSI device `type' drivers, and the low-level host-adapter
  480 # device drivers.  The host adapters are listed in the ISA and PCI
  481 # device configuration sections below.
  482 #
  483 # Beginning with FreeBSD 2.0.5 you can wire down your SCSI devices so
  484 # that a given bus, target, and LUN always come on line as the same
  485 # device unit.  In earlier versions the unit numbers were assigned
  486 # in the order that the devices were probed on the SCSI bus.  This
  487 # means that if you removed a disk drive, you may have had to rewrite
  488 # your /etc/fstab file, and also that you had to be careful when adding
  489 # a new disk as it may have been probed earlier and moved your device
  490 # configuration around.
  491 
  492 # This old behavior is maintained as the default behavior.  The unit
  493 # assignment begins with the first non-wired down unit for a device
  494 # type.  For example, if you wire a disk as "sd3" then the first
  495 # non-wired disk will be assigned sd4.
  496 
  497 # The syntax for wiring down devices is:
  498 
  499 # controller    scbus0 at ahc0          # Single bus device
  500 # controller    scbus1 at ahc1 bus 0    # Single bus device
  501 # controller    scbus3 at ahc2 bus 0    # Twin bus device
  502 # controller    scbus2 at ahc2 bus 1    # Twin bus device
  503 # disk          sd0 at scbus0 target 0 unit 0
  504 # disk          sd1 at scbus3 target 1
  505 # disk          sd2 at scbus2 target 3
  506 # tape          st1 at scbus1 target 6
  507 # device        cd0 at scbus?
  508 
  509 # "units" (SCSI logical unit number) that are not specified are
  510 # treated as if specified as LUN 0.
  511 
  512 # All SCSI devices allocate as many units as are required.
  513 
  514 # The "unknown" device (uk? in pre-2.0.5) is now part of the base SCSI
  515 # configuration and doesn't have to be explicitly configured.
  516 
  517 controller      scbus0  #base SCSI code
  518 device          ch0     #SCSI media changers
  519 device          sd0     #SCSI disks
  520 device          st0     #SCSI tapes
  521 device          cd0     #SCSI CD-ROMs
  522 device          od0     #SCSI optical disk
  523 
  524 # The previous devices (ch, sd, st, cd) are recognized by config.
  525 # config doesn't (and shouldn't) know about these newer ones,
  526 # so we have to specify that they are on a SCSI bus with the "at scbus?"
  527 # clause.
  528 
  529 device worm0 at scbus?  # SCSI worm
  530 device pt0 at scbus?    # SCSI processor type
  531 device sctarg0 at scbus? # SCSI target
  532 
  533 # SCSI OPTIONS:
  534 
  535 # SCSIDEBUG: When defined enables debugging macros
  536 # NO_SCSI_SENSE: When defined disables sense descriptions (about 4k)
  537 # SCSI_REPORT_GEOMETRY: Always report disk geometry at boot up instead
  538 #                       of only when booting verbosely.
  539 options         SCSIDEBUG
  540 #options        NO_SCSI_SENSE
  541 options         SCSI_REPORT_GEOMETRY
  542 
  543 # Options for the `od' optical disk driver:
  544 #
  545 # If drive returns sense key as 0x02 with vendor specific additional
  546 # sense code (ASC) and additional sense code qualifier (ASCQ), or
  547 # illegal ASC and ASCQ. This cause an error (NOT READY) and retrying.
  548 # To suppress this, use the following option.
  549 #
  550 options         OD_BOGUS_NOT_READY
  551 #
  552 # For an automatic spindown, try this.  Again, preferrably as an
  553 # option in your config file.
  554 # WARNING!  Use at your own risk.  Joerg's ancient SONY SMO drive
  555 # groks it fine, while Shunsuke's Fujitsu chokes on it and times
  556 # out.
  557 #
  558 options         OD_AUTO_TURNOFF
  559 
  560 
  561 
  562 #####################################################################
  563 # MISCELLANEOUS DEVICES AND OPTIONS
  564 
  565 #
  566 # Of these, only the `log' device is truly mandatory.  The `pty'
  567 # device usually turns out to be ``effectively mandatory'', as it is
  568 # required for `telnetd', `rlogind', `screen', `emacs', and `xterm',
  569 # among others. 
  570 # If you wish to run certain
  571 # system utilities which are compressed by default (like /stand/sysinstall)
  572 # then `gzip' becomes mandatory too.
  573 #
  574 pseudo-device   pty     16      #Pseudo ttys - can go as high as 256
  575 #pseudo-device  vcfs    4       #coda minicache <-> venus comm.
  576 pseudo-device   speaker         #Play IBM BASIC-style noises out your speaker
  577 pseudo-device   log             #Kernel syslog interface (/dev/klog)
  578 pseudo-device   gzip            #Exec gzipped a.out's
  579 pseudo-device   vn              #Vnode driver (turns a file into a device)
  580 pseudo-device   snp     3       #Snoop device - to look at pty/vty/etc..
  581 pseudo-device   ccd     4       #Concatenated disk driver
  582 
  583 # These are only for watching for bitrot in old tty code.
  584 # broken
  585 #pseudo-device  tb
  586 
  587 # These are only for watching for bitrot in old SCSI code.
  588 pseudo-device   su              #scsi user
  589 pseudo-device   ssc             #super scsi
  590 
  591 # Size of the kernel message buffer.  Should be N * pagesize.
  592 options         "MSGBUF_SIZE=40960"
  593 
  594 
  595 #####################################################################
  596 # HARDWARE DEVICE CONFIGURATION
  597 
  598 # ISA and EISA devices:
  599 # EISA support is available for some device, so they can be auto-probed.
  600 # Micro Channel is not supported at all.
  601 
  602 #
  603 # Mandatory ISA devices: isa, sc or vt, npx
  604 #
  605 controller      isa0
  606 
  607 #
  608 # Options for `isa':
  609 #
  610 # AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A
  611 # interrupt controller.  This saves about 0.7-1.25 usec for each interrupt.
  612 # This option breaks suspend/resume on some portables.
  613 #
  614 # AUTO_EOI_2 enables the `automatic EOI' feature for the slave 8259A
  615 # interrupt controller.  This saves about 0.7-1.25 usec for each interrupt.
  616 # Automatic EOI is documented not to work for for the slave with the
  617 # original i8259A, but it works for some clones and some integrated
  618 # versions.
  619 #
  620 # BOUNCE_BUFFERS provides support for ISA bus-master SCSI adapter"
  621 # card on machines with more than 16 megabytes of memory."
  622 # Some broken EISA and VLB hardware may need this, too."
  623 # If you do not have these devices, make this option commented out."
  624 #
  625 # MAXMEM specifies the amount of RAM on the machine; if this is not
  626 # specified, FreeBSD will first read the amount of memory from the CMOS
  627 # RAM, so the amount of memory will initially be limited to 64MB or 16MB
  628 # depending on the BIOS.  If the BIOS reports 64MB, a memory probe will
  629 # then attempt to detect the installed amount of RAM.  If this probe
  630 # fails to detect >64MB RAM you will have to use the MAXMEM option.
  631 # The amount is in kilobytes, so for a machine with 128MB of RAM, it would
  632 # be 131072 (128 * 1024).
  633 #
  634 # TUNE_1542 enables the automatic ISA bus speed selection for the
  635 # Adaptec 1542 boards. Does not work for all boards, use it with caution.
  636 #
  637 # BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to
  638 # reset the CPU for reboot.  This is needed on some systems with broken
  639 # keyboard controllers.
  640 #
  641 # PAS_JOYSTICK_ENABLE enables the gameport on the ProAudio Spectrum
  642 
  643 options         "AUTO_EOI_1"
  644 #options        "AUTO_EOI_2"
  645 options         BOUNCE_BUFFERS          #ISA busmaster SCSI + >16MB system only
  646 options         "MAXMEM=(128*1024)"
  647 #options        "TUNE_1542"
  648 #options        BROKEN_KEYBOARD_RESET
  649 #options        PAS_JOYSTICK_ENABLE
  650 
  651 # Enable PnP support in the kernel.  This allows you to automaticly 
  652 # attach to PnP cards for drivers that support it and allows you to  
  653 # configure cards from USERCONFIG.  See pnp(4) for more info.
  654 controller      pnp0
  655 
  656 # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
  657 device          vt0     at isa? port "IO_KBD" tty irq 1 vector pcrint
  658 options         XSERVER                 # support for running an X server.
  659 options         FAT_CURSOR              # start with block cursor
  660 # This PCVT option is for keyboards such as those used on IBM ThinkPad laptops
  661 options         PCVT_SCANSET=2          # IBM keyboards are non-std
  662 
  663 # The syscons console driver (sco color console compatible).
  664 device          sc0     at isa? port "IO_KBD" tty irq 1 vector scintr
  665 options         MAXCONS=16              # number of virtual consoles
  666 options         SLOW_VGA                # do byte-wide i/o's to TS and GDC regs
  667 options         SC_HISTORY_SIZE=200     # number of history buffer lines
  668 options         SC_DISABLE_REBOOT       # disable reboot key sequence
  669 # Try the following option if the mouse pointer is not drawn correctly 
  670 # or font does not seem to be loaded properly.  May cause flicker on 
  671 # some systems.
  672 #options        SC_ALT_SEQACCESS
  673 
  674 #
  675 # `flags' for sc0:
  676 #       0x01    Use a 'visual' bell
  677 #       0x02    Use a 'blink' cursor
  678 #       0x04    Use a 'underline' cursor
  679 #       0x06    Use a 'blinking underline' (destructive) cursor
  680 #       0x08    Force detection of keyboard, else we always assume a keyboard
  681 #       0x10    Old-style (XT) keyboard support, useful for older ThinkPads
  682 #       0x20    Don't reset keyboard, useful for some newer ThinkPads
  683 
  684 #
  685 # This device is mandatory.
  686 #
  687 # The Numeric Processing eXtension is used to either enable the
  688 # coprocessor or enable math emulation.  If your machine doesn't contain
  689 # a math co-processor, you must *also* add the option "MATH_EMULATE".
  690 # THIS IS NOT AN OPTIONAL ENTRY, DO NOT REMOVE IT
  691 device          npx0    at isa? port "IO_NPX" iosiz 0x0 flags 0x0 irq 13 vector npxintr
  692 
  693 #
  694 # `flags' for npx0:
  695 #       0x01    don't use the npx registers to optimize bcopy
  696 #       0x02    don't use the npx registers to optimize bzero
  697 #       0x04    don't use the npx registers to optimize copyin or copyout.
  698 # The npx registers are normally used to optimize copying and zeroing when
  699 # all of the following conditions are satisfied:
  700 #       "I586_CPU" is an option
  701 #       the cpu is an i586 (perhaps not a Pentium)
  702 #       the probe for npx0 succeeds
  703 #       INT 16 exception handling works.
  704 # Then copying and zeroing using the npx registers is normally 30-100% faster.
  705 # The flags can be used to control cases where it doesn't work or is slower.
  706 # Setting them at boot time using userconfig works right (the optimizations
  707 # are not used until later in the bootstrap when npx0 is attached).
  708 #
  709 
  710 #
  711 # `iosiz' for npx0:
  712 # This can be used instead of the MAXMEM option to set the memory size.  If
  713 # it is nonzero, then it overrides both the MAXMEM option and the memory
  714 # size reported by the BIOS.  Setting it at boot time using userconfig takes
  715 # effect on the next reboot after the change has been recorded in the kernel
  716 # binary (the size is used early in the boot before userconfig has a chance
  717 # to change it).
  718 #
  719 
  720 #
  721 # Optional ISA and EISA devices:
  722 #
  723 
  724 #
  725 # SCSI host adapters: `aha', `aic', `bt', `nca'
  726 #
  727 # aha: Adaptec 154x
  728 # ahc: Adaptec 274x/284x/294x
  729 # aic: Adaptec 152x and sound cards using the Adaptec AIC-6360 (slow!)
  730 # bt: Most Buslogic controllers
  731 # nca: ProAudioSpectrum cards using the NCR 5380 or Trantor T130
  732 # uha: UltraStor ULTRA 14F/24F/34F
  733 # sea: Seagate ST01/02 8 bit controller (slow!)
  734 # wds: Western Digital WD7000 controller (no scatter/gather!).
  735 #
  736 # Note that the order is important in order for Buslogic cards to be
  737 # probed correctly.
  738 #
  739 
  740 controller      bt0     at isa? port "IO_BT0" bio irq ? vector bt_isa_intr
  741 controller      aha0    at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr
  742 controller      uha0    at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr
  743 
  744 controller      aic0    at isa? port 0x340 bio irq 11 vector aicintr
  745 controller      nca0    at isa? port 0x1f88 bio irq 10 vector ncaintr
  746 controller      nca1    at isa? port 0x1f84
  747 controller      nca2    at isa? port 0x1f8c
  748 controller      nca3    at isa? port 0x1e88
  749 controller      nca4    at isa? port 0x350 bio irq 5 vector ncaintr
  750 
  751 controller      sea0    at isa? bio irq 5 iomem 0xdc000 iosiz 0x2000 vector seaintr
  752 controller      wds0    at isa? port 0x350 bio irq 15 drq 6 vector wdsintr
  753 
  754 #
  755 # ST-506, ESDI, and IDE hard disks: `wdc' and `wd'
  756 #
  757 # NB: ``Enhanced IDE'' is NOT supported at this time.
  758 #
  759 # The flags fields are used to enable the multi-sector I/O and
  760 # the 32BIT I/O modes.  The flags may be used in either the controller
  761 # definition or in the individual disk definitions.  The controller
  762 # definition is supported for the boot configuration stuff.
  763 #
  764 # Each drive has a 16 bit flags value defined:
  765 #       The low 8 bits are the maximum value for the multi-sector I/O,
  766 #       where 0xff defaults to the maximum that the drive can handle.
  767 #       The high bit of the 16 bit flags (0x8000) allows probing for
  768 #       32 bit transfers.
  769 #
  770 # The flags field for the drives can be specified in the controller
  771 # specification with the low 16 bits for drive 0, and the high 16 bits
  772 # for drive 1.
  773 # e.g.:
  774 #controller     wdc0    at isa? port "IO_WD1" bio irq 14 flags 0x00ff8004 vector wdintr
  775 #
  776 # specifies that drive 0 will be allowed to probe for 32 bit transfers and
  777 # a maximum multi-sector transfer of 4 sectors, and drive 1 will not be
  778 # allowed to probe for 32 bit transfers, but will allow multi-sector
  779 # transfers up to the maximum that the drive supports.
  780 #
  781 
  782 controller      wdc0    at isa? port "IO_WD1" bio irq 14 vector wdintr
  783 disk            wd0     at wdc0 drive 0
  784 disk            wd1     at wdc0 drive 1
  785 controller      wdc1    at isa? port "IO_WD2" bio irq 15 vector wdintr
  786 disk            wd2     at wdc1 drive 0
  787 disk            wd3     at wdc1 drive 1
  788 
  789 #
  790 # Options for `wdc':
  791 #
  792 # CMD640 enables serializing access to primary and secondary channel
  793 # of the CMD640B IDE Chip. The serializing will only take place
  794 # if this option is set *and* the chip is probed by the pci-system.
  795 #
  796 options         "CMD640"        #Enable work around for CMD640 h/w bug
  797 #
  798 # ATAPI enables the support for ATAPI-compatible IDE devices
  799 #
  800 options         ATAPI   #Enable ATAPI support for IDE bus
  801 options         ATAPI_STATIC    #Don't do it as an LKM
  802 
  803 # Use either the acd or the wcd device, not both!
  804 # IDE CD-ROM & CD-R/RW  driver - requires wdc controller and ATAPI option
  805 device          acd0 
  806 
  807 # IDE CD-ROM driver - requires wdc controller and ATAPI option
  808 device          wcd0
  809 
  810 # IDE floppy driver - requires wdc controller and ATAPI option
  811 device          wfd0
  812 
  813 #
  814 # Standard floppy disk controllers and floppy tapes: `fdc', `fd', and `ft'
  815 #
  816 controller      fdc0    at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
  817 #
  818 # FDC_DEBUG enables floppy debugging.  Since the debug output is huge, you
  819 # gotta turn it actually on by setting the variable fd_debug with DDB,
  820 # however.
  821 options         FDC_DEBUG
  822 # This option is undocumented on purpose.
  823 options         FDC_PRINT_BOGUS_CHIPTYPE
  824 #
  825 # Activate this line instead of the fdc0 line above if you happen to
  826 # have an Insight floppy tape.  Probing them proved to be dangerous
  827 # for people with floppy disks only, so it's "hidden" behind a flag:
  828 #controller fdc0 at isa? port "IO_FD1" bio flags 1 irq 6 drq 2 vector fdintr
  829 
  830 disk            fd0     at fdc0 drive 0
  831 disk            fd1     at fdc0 drive 1
  832 tape            ft0     at fdc0 drive 2
  833 
  834 
  835 #
  836 # Other standard PC hardware: `lpt', `mse', `psm', `sio', etc.
  837 #
  838 # lpt: printer port
  839 #       lpt specials:
  840 #               port can be specified as ?, this will cause the driver to scan
  841 #               the BIOS port list;
  842 #               the irq and vector clauses may be omitted, this
  843 #               will force the port into polling mode.
  844 # mse: Logitech and ATI InPort bus mouse ports
  845 # psm: PS/2 mouse port [note: conflicts with sc0/vt0, thus "conflicts" keywd]
  846 # sio: serial ports (see sio(4))
  847 
  848 device          lpt0    at isa? port? tty irq 7 vector lptintr
  849 device          lpt1    at isa? port "IO_LPT3" tty irq 5 vector lptintr
  850 device          mse0    at isa? port 0x23c tty irq 5 vector mseintr
  851 device          psm0    at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr
  852 # Options for psm:
  853 options         PSM_HOOKAPM             #hook the APM resume event, useful
  854                                         #for some laptops
  855 options         PSM_RESETAFTERSUSPEND   #reset the device at the resume event
  856 
  857 device          sio0    at isa? port "IO_COM1" tty irq 4 vector siointr
  858 
  859 # Options for sio:
  860 options         COMCONSOLE              #prefer serial console to video console
  861 options         COM_ESP                 #code for Hayes ESP
  862 options         COM_MULTIPORT           #code for some cards with shared IRQs
  863 options         DSI_SOFT_MODEM          #code for DSI Softmodems
  864 options         BREAK_TO_DEBUGGER       #a BREAK on a comconsole goes to 
  865                                         #DDB, if available.
  866 
  867 #
  868 # Network interfaces: `cx', `ed', `el', `ep', `ie', `is', `le', `lnc'
  869 #
  870 # ar: Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver (requires sppp)
  871 # cx: Cronyx/Sigma multiport sync/async (with Cisco or PPP framing)
  872 # ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503
  873 # el: 3Com 3C501 (slow!)
  874 # ep: 3Com 3C509 (buggy)
  875 # ex: Intel EtherExpress Pro/10 and other i82595-based adapters
  876 # fe: Fujitsu MB86960A/MB86965A Ethernet
  877 # ie: AT&T StarLAN 10 and EN100; 3Com 3C507; unknown NI5210
  878 # le: Digital Equipment EtherWorks 2 and EtherWorks 3 (DEPCA, DE100,
  879 #     DE101, DE200, DE201, DE202, DE203, DE204, DE205, DE422)
  880 # lnc: Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL)
  881 # sr: RISCom/N2 hdlc sync 1/2 port V.35/X.21 serial driver (requires sppp)
  882 # wl: Lucent Wavelan (ISA card only).
  883 # ze: IBM/National Semiconductor PCMCIA ethernet controller.
  884 # zp: 3Com PCMCIA Etherlink III (It does not require shared memory for
  885 #     send/receive operation, but it needs 'iomem' to read/write the
  886 #     attribute memory)
  887 #
  888 
  889 device ar0 at isa? port 0x300 net irq 10 iomem 0xd0000 vector arintr
  890 device cs0 at isa? port 0x300 net irq ? vector csintr
  891 device cx0 at isa? port 0x240 net irq 15 drq 7 vector cxintr
  892 device ed0 at isa? port 0x280 net irq 5 iomem 0xd8000 vector edintr
  893 device eg0 at isa? port 0x310 net irq 5 vector egintr
  894 device el0 at isa? port 0x300 net irq 9 vector elintr
  895 device ep0 at isa? port 0x300 net irq 10 vector epintr
  896 device ex0 at isa? port 0x300 net irq 10 iomem 0xd0000 vector exintr
  897 device fe0 at isa? port 0x300 net irq ? vector feintr
  898 device ie0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector ieintr
  899 device ie1 at isa? port 0x360 net irq 7 iomem 0xd0000 vector ieintr
  900 device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr
  901 device lnc0 at isa? port 0x300 net irq 10 drq 0 vector lncintr
  902 device sr0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector srintr
  903 options         WLCACHE         # enables the signal-strength cache
  904 options         WLDEBUG         # enables verbose debugging output
  905 device wl0 at isa? port 0x300 net irq ? vector wlintr
  906 # Needed so that we can (bogusly) include both the dedicated PCCARD
  907 # drivers and the generic support
  908 options LINT_PCCARD_HACK
  909 device ze0 at isa? port 0x300 net irq 5 iomem 0xd8000 vector zeintr
  910 device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr
  911 
  912 
  913 #
  914 # Audio drivers: `snd', `sb', `pas', `gus', `pca'
  915 #
  916 # snd: Voxware sound support code
  917 # sb: SoundBlaster PCM - SoundBlaster, SB Pro, SB16, ProAudioSpectrum
  918 # sbxvi: SoundBlaster 16
  919 # sbmidi: SoundBlaster 16 MIDI interface
  920 # pas: ProAudioSpectrum PCM and MIDI
  921 # gus: Gravis Ultrasound - Ultrasound, Ultrasound 16, Ultrasound MAX
  922 # gusxvi: Gravis Ultrasound 16-bit PCM  (do not use)
  923 # mss: Microsoft Sound System
  924 # opl: Yamaha OPL-2 and OPL-3 FM - SB, SB Pro, SB 16, ProAudioSpectrum
  925 # uart: stand-alone 6850 UART for MIDI
  926 # mpu: Roland MPU-401 stand-alone card
  927 # 
  928 # Beware!  The addresses specified below are also hard-coded in
  929 # i386/isa/sound/sound_config.h.  If you change the values here, you
  930 # must also change the values in the include file.
  931 #
  932 # pca: PCM audio through your PC speaker
  933 #
  934 # If you have a GUS-MAX card and want to use the CS4231 codec on the
  935 # card the drqs for the gus max must be 8 bit (1, 2, or 3).
  936 # 
  937 # If you would like to use the full duplex option on the gus, then define
  938 # flags to be the ``read dma channel''.
  939 #
  940 # options BROKEN_BUS_CLOCK      #PAS-16 isn't working and OPTI chipset
  941 # options SYMPHONY_PAS          #PAS-16 isn't working and SYMPHONY chipset
  942 # options EXCLUDE_SBPRO         #PAS-16
  943 # options SBC_IRQ=5             #PAS-16. Must match irq on sb0 line.
  944 # PAS16: The order of the pas0/sb0/opl0 is important since the
  945 #       sb emulation is enabled in the pas-16 attach.
  946 #
  947 # The i386/isa/sound/sound.doc has more information.
  948 
  949 # Controls all "VOXWARE" driver sound devices.  See Luigi's driver
  950 # below for an alternate which may work better for some cards.
  951 #
  952 controller      snd0
  953 device pas0     at isa? port 0x388 irq 10 drq 6 vector pasintr
  954 device sb0      at isa? port 0x220 irq 5 drq 1 vector sbintr
  955 device sbxvi0   at isa? drq 5
  956 device sbmidi0  at isa? port 0x330
  957 #device awe0     at isa? port 0x620 
  958 device gus0 at isa? port 0x220 irq 12 drq 1 vector gusintr
  959 #device gus0 at isa? port 0x220 irq 12 drq 1 flags 0x3 vector gusintr
  960 device mss0 at isa? port 0x530 irq 10 drq 1 vector adintr
  961 # Use this line for PAS avoid port conflict
  962 device opl0     at isa? port 0x38a
  963 # For normal case use next line
  964 # device opl0     at isa? port 0x388
  965 device mpu0     at isa? port 0x330 irq 6 drq 0
  966 device uart0 at isa? port 0x330 irq 5 vector "m6850intr"
  967 
  968 # More undocumented sound devices with bogus configurations for linting.
  969 # broken
  970 #device sscape0  at isa? port 0x330 irq 6 drq 0
  971 #device trix0    at isa? port 0x330 irq 6 drq 0 vector sscapeintr
  972 
  973 # Luigi's snd code (use INSTEAD of snd0 and all VOXWARE drivers!).
  974 # You may also wish to enable the pnp controller with this, for pnp
  975 # sound cards.
  976 #
  977 #device pcm0 at isa? port ? tty irq 10 drq 1 flags 0x0 vector pcmintr
  978 
  979 # Not controlled by `snd'
  980 device pca0 at isa? port IO_TIMER1 tty
  981 
  982 #
  983 # Miscellaneous hardware:
  984 #
  985 # mcd: Mitsumi CD-ROM
  986 # scd: Sony CD-ROM
  987 # matcd: Matsushita/Panasonic CD-ROM
  988 # wt: Wangtek and Archive QIC-02/QIC-36 tape drives
  989 # ctx: Cortex-I frame grabber
  990 # apm: Laptop Advanced Power Management (experimental)
  991 # spigot: The Creative Labs Video Spigot video-acquisition board
  992 # meteor: Matrox Meteor video capture board
  993 # bktr: Bt848 capture boards (http://www.freebsd.org/~fsmp/HomeAuto/Bt848.html)
  994 # cy: Cyclades serial driver
  995 # dgb: Digiboard PC/Xi and PC/Xe series driver (ALPHA QUALITY!)
  996 # gp:  National Instruments AT-GPIB and AT-GPIB/TNT board
  997 # asc: GI1904-based hand scanners, e.g. the Trust Amiscan Grey
  998 # gsc: Genius GS-4500 hand scanner.
  999 # joy: joystick
 1000 # labpc: National Instrument's Lab-PC and Lab-PC+
 1001 # rc: RISCom/8 multiport card
 1002 # tw: TW-523 power line interface for use with X-10 home control products
 1003 # si: Specialix SI/XIO 4-32 port terminal multiplexor
 1004 # stl: Stallion EasyIO and EasyConnection 8/32 (cd1400 based)
 1005 # stli: Stallion EasyConnection 8/64, ONboard, Brumby (intelligent)
 1006 
 1007 #
 1008 # Notes on APM
 1009 #  Some APM implementations will not work with the `statistics clock'
 1010 #  enabled, so it's disabled by default if the APM driver is enabled.
 1011 #  However, this is not true for all laptops.  Try removing the option
 1012 #  APM_BROKEN_STATCLOCK and see if suspend/resume work
 1013 #
 1014 
 1015 options APM_IDLE_CPU    # Tell APM to idle rather than halt'ing the cpu
 1016 
 1017 #
 1018 # Notes on the spigot:
 1019 #  The video spigot is at 0xad6.  This port address can not be changed.
 1020 #  The irq values may only be 10, 11, or 15
 1021 #  I/O memory is an 8kb region.  Possible values are:
 1022 #    0a0000, 0a2000, ..., 0fffff, f00000, f02000, ..., ffffff
 1023 #    The start address must be on an even boundary.
 1024 #  Add the following option if you want to allow non-root users to be able
 1025 #  to access the spigot.  This option is not secure because it allows users
 1026 #  direct access to the I/O page. 
 1027 #       options SPIGOT_UNSECURE
 1028 #
 1029 
 1030 # Notes on the Digiboard driver:
 1031 #
 1032 # The following flag values have special meanings:
 1033 #       0x01 - alternate layout of pins
 1034 #       0x02 - use the windowed PC/Xe in 64K mode
 1035 
 1036 # Notes on the Specialix SI/XIO driver:
 1037 #  **This is NOT a Specialix supported Driver!**
 1038 #  The host card is memory, not IO mapped.
 1039 #  The Rev 1 host cards use a 64K chunk, on a 32K boundary.
 1040 #  The Rev 2 host cards use a 32K chunk, on a 32K boundary.
 1041 #  The cards can use an IRQ of 11, 12 or 15.
 1042 
 1043 # Notes on the Stallion stl and stli drivers:
 1044 #  See src/i386/isa/README.stl for complete instructions.
 1045 #  This is version 0.0.5alpha, unsupported by Stallion.
 1046 #  The stl driver has a secondary IO port hard coded at 0x280.  You need
 1047 #     to change src/i386/isa/stallion.c if you reconfigure this on the boards.
 1048 #  The "flags" and "iosiz" settings on the stli driver depend on the board:
 1049 #       EasyConnection 8/64 ISA:     flags 23         iosiz 0x1000
 1050 #       EasyConnection 8/64 EISA:    flags 24         iosiz 0x10000
 1051 #       EasyConnection 8/64 MCA:     flags 25         iosiz 0x1000
 1052 #       ONboard ISA:                 flags 4          iosiz 0x10000
 1053 #       ONboard EISA:                flags 7          iosiz 0x10000
 1054 #       ONboard MCA:                 flags 3          iosiz 0x10000
 1055 #       Brumby:                      flags 2          iosiz 0x4000
 1056 #       Stallion:                    flags 1          iosiz 0x10000
 1057 
 1058 device          mcd0    at isa? port 0x300 bio irq 10 vector mcdintr
 1059 # for the Sony CDU31/33A CDROM
 1060 device          scd0    at isa? port 0x230 bio
 1061 # for the SoundBlaster 16 multicd - up to 4 devices
 1062 controller      matcd0  at isa? port 0x230 bio
 1063 device          wt0     at isa? port 0x300 bio irq 5 drq 1 vector wtintr
 1064 device          ctx0    at isa? port 0x230 iomem 0xd0000
 1065 device          spigot0 at isa? port 0xad6 irq 15 iomem 0xee000 vector spigintr
 1066 device          qcam0   at isa? port "IO_LPT3" tty
 1067 device          apm0    at isa?
 1068 options         APM_BROKEN_STATCLOCK
 1069 device          gp0     at isa? port 0x2c0 tty
 1070 device          gsc0    at isa? port "IO_GSC1" tty drq 3
 1071 device          joy0    at isa? port "IO_GAME"
 1072 device          cy0     at isa? tty irq 10 iomem 0xd4000 iosiz 0x2000 vector cyintr
 1073 device          dgb0    at isa? port 0x220 iomem 0xfc0000 iosiz ? tty
 1074 device          labpc0  at isa? port 0x260 tty irq 5 vector labpcintr
 1075 device          rc0     at isa? port 0x220 tty irq 12 vector rcintr
 1076 # the port and irq for tw0 are fictitious
 1077 device          tw0     at isa? port 0x380 tty irq 11 vector twintr
 1078 device          si0     at isa? iomem 0xd0000 tty irq 12
 1079 device          asc0    at isa? port IO_ASC1 tty drq 3 irq 10 vector ascintr
 1080 device          bqu0    at isa? port 0x150
 1081 device          stl0    at isa? port 0x2a0 tty irq 10 vector stlintr
 1082 device          stli0   at isa? port 0x2a0 tty iomem 0xcc000 flags 23 iosiz 0x1000
 1083 
 1084 #
 1085 # EISA devices:
 1086 #
 1087 # The EISA bus device is eisa0.  It provides auto-detection and
 1088 # configuration support for all devices on the EISA bus.
 1089 #
 1090 # The `ahb' device provides support for the Adaptec 174X adapter.
 1091 #
 1092 # The `ahc' device provides support for the Adaptec 274X and 284X
 1093 # adapters.  The 284X, although a VLB card responds to EISA probes.
 1094 #
 1095 # fea: DEC DEFEA EISA FDDI adapter
 1096 #
 1097 controller      eisa0
 1098 controller      ahb0
 1099 controller      ahc0
 1100 device          fea0
 1101 
 1102 # enable tagged command queueing, which is a major performance win on
 1103 # devices that support it (and controllers with enough SCB's)
 1104 #
 1105 # Note that some drives claim to grok tagged commands, but actually
 1106 # don't.  The HP C3725S is a known offender.
 1107 options AHC_TAGENABLE
 1108 
 1109 # enable SCB paging - See the ahc.4 man page for usage warnings.
 1110 # (IOW: better don't use it by now.)
 1111 options AHC_SCBPAGING_ENABLE
 1112 
 1113 # The aic7xxx driver will attempt to use memory mapped I/O for all PCI
 1114 # controllers that have it configured only if this option is set. Unfortunately,
 1115 # this doesn't work on some motherboards, which prevents it from being the
 1116 # default.
 1117 options AHC_ALLOW_MEMIO
 1118 
 1119 # By default, only 10 EISA slots are probed, since the slot numbers
 1120 # above clash with the configuration address space of the PCI subsystem,
 1121 # and the EISA probe is not very smart about this.  This is sufficient
 1122 # for most machines, but in particular the HP NetServer LC series comes
 1123 # with an onboard AIC7770 dual-channel SCSI controller on EISA slot #11,
 1124 # thus you need to bump this figure to 12 for them.
 1125 options "EISA_SLOTS=12"
 1126 
 1127 #
 1128 # PCI devices:
 1129 #
 1130 # The main PCI bus device is `pci'.  It provides auto-detection and
 1131 # configuration support for all devices on the PCI bus, using either
 1132 # configuration mode defined in the PCI specification.
 1133 #
 1134 # The `ahc' device provides support for the Adaptec 29/3940(U)(W)
 1135 # and motherboard based AIC7870/AIC7880 adapters.
 1136 #
 1137 # The `ncr' device provides support for the NCR 53C810 and 53C825
 1138 # self-contained SCSI host adapters.
 1139 #
 1140 # The `amd' device provides support for the Tekram DC-390 and 390T
 1141 # SCSI host adapters, but is expected to work with any AMD 53c974
 1142 # PCI SCSI chip and the AMD Ethernet+SCSI Combo chip, after some
 1143 # local patches were applied to the sources (that had originally
 1144 # been written by Tekram and limited to work with their SCSI cards).
 1145 #
 1146 # The `de' device provides support for the Digital Equipment DC21040
 1147 # self-contained Ethernet adapter.
 1148 #
 1149 # The `fxp' device provides support for the Intel EtherExpress Pro/100B
 1150 # PCI Fast Ethernet adapters.
 1151 #
 1152 # The 'tl' device provides support for the Texas Instruments TNETE100
 1153 # series 'ThunderLAN' cards and integrated ethernet controllers. This
 1154 # includes several Compaq Netelligent 10/100 cards and the built-in
 1155 # ethernet controllers in several Compaq Prosignia, Proliant and
 1156 # Deskpro systems. It also supports several Olicom 10Mbps and 10/100
 1157 # boards.
 1158 #
 1159 # The `tx' device provides support for the SMC 9432TX cards.
 1160 #
 1161 # The `vx' device provides support for the 3Com 3C590 and 3C595
 1162 # early support
 1163 #
 1164 # The `xl' driver provides support for the 3Com 3c900, 3c905 and
 1165 # 3c905B (Fast) Etherlink XL cards and integrated controllers. This
 1166 # includes the integrated 3c905B-TX chips in certain Dell Optiplex and
 1167 # Dell Precision desktop machines and the integrated 3c905-TX chips
 1168 # in Dell Latitude laptop docking stations.
 1169 #
 1170 # The `fpa' device provides support for the Digital DEFPA PCI FDDI
 1171 # adapter. pseudo-device fddi is also needed.
 1172 #
 1173 # The `meteor' device is a PCI video capture board. It can also have the
 1174 # following options:
 1175 #   options METEOR_ALLOC_PAGES=xxx      preallocate kernel pages for data entry
 1176 #       figure (ROWS*COLUMN*BYTES_PER_PIXEL*FRAME+PAGE_SIZE-1)/PAGE_SIZE
 1177 #   options METEOR_DEALLOC_PAGES        remove all allocated pages on close(2)
 1178 #   options METEOR_DEALLOC_ABOVE=xxx    remove all allocated pages above the
 1179 #       specified amount. If this value is below the allocated amount no action
 1180 #       taken
 1181 #   option METEOR_SYSTEM_DEFAULT={METEOR_PAL|METEOR_NTSC|METEOR_SECAM}, used
 1182 #       for initialization of fps routine when a signal is not present.
 1183 #
 1184 # The 'bktr' device is a PCI video capture board. It also has a TV tuner
 1185 # on board.
 1186 # The 'dpt' driver provides hardware RAID-{0,1,5} support, multi-initiator I/O
 1187 # and is part of the DIO (Distributed I/O) option.  Only the PCI controllers
 1188 # are supported.  the following options are controlled from here.
 1189 # See sys/dev/dpt for debugging and other subtle options.
 1190 #
 1191 #   DPT_VERIFY_HINTR        Performs some strict hardware interrupts testing.
 1192 #                           Increases interrupt latency so leave it off under
 1193 #                           normal conditions.
 1194 #   DPT_RESTRICTED_FREELIST Normally, the freelisat used by the DPT for queue
 1195 #                           management grows dynamically.  On heavily loaded
 1196 #                           systems this can consume 1-8MB of kernel memory.
 1197 #                           Enabling this option resticts the number of queue 
 1198 #                           slots to DPT_FREE_LIST_INCREMENT (64).
 1199 #   DPT_TRACK_CCB_STATES    Enabling thos option will try to enforce sanity in
 1200 #                           state transitions in the conntroller Command
 1201 #                           Blocks.  It is a debugging/development option.
 1202 #   DPT_MEASURE_PERFORMANCE Enables a set of (semi)invasive metrics. Various
 1203 #                           phases of the CCB's, as well as all SCSI commands 
 1204 #                           are timed and tallied.  Costs about 1us/command.
 1205 #   DPT_FREELIST_IS_STACK   For optimat L{1,2} CPU cache utilization, enable 
 1206 #                           this option.  It may invoke race conditions on some
 1207 #                           motherboards.
 1208 #   DPT_HANDLE_TIMEOUTS     Normally device timeouts are handled by the DPT 
 1209 #                           firmware.  With this option enabled, an independant
 1210 #                           mechanism is run in the FreeBSD kernel.  Leave this
 1211 #                           option enabled for now, as some hardware fails 
 1212 #                           without it.
 1213 #   DPT_TIMEOUT_FACTOR      Used to compute the excessive amount of time to
 1214 #                           wait in case of a command that is too late.  It is
 1215 #                           a multiplication factor.
 1216 #  DPT_DEBUG_xxxx           These are controllable from sys/dev/dpt/dpt.h
 1217 #
 1218 
 1219 options DPT_MEASURE_PERFORMANCE
 1220 
 1221 # The 'isp' driver provides support for the Qlogic ISP 1020, 1040, 1080
 1222 # and 1240 SCSI controllers and ISP 2100 and 2200 Fibre Channel SCSI
 1223 # controllers
 1224 #
 1225 #
 1226 #       SCSI_ISP_NO_FWLOAD_MASK - mask of isp unit numbers (obviously
 1227 #                                 a max of 32) that you wish to disable
 1228 #                                 to disable the loading of firmware on.
 1229 #       SCSI_ISP_NO_NVRAM_MASK  - mask of isp unit numbers (obviously
 1230 #                                 a max of 32) that you wish to disable
 1231 #                                 them picking up information from NVRAM
 1232 #                                 (for broken cards you can't fix the NVRAM
 1233 #                                 on- very rare, or for systems you can't
 1234 #                                 change NVRAM on (e.g. alpha) and you don't
 1235 #                                 like what's in there)
 1236 #       SCSI_ISP_PREFER_MEM_MAP - control preference for using memory mappings
 1237 #                                 instead of I/O space mappings. It defaults
 1238 #                                 to 1 for i386, 0 for alpha. Set to 1 to
 1239 #                                 unconditionally prefer mapping memory,
 1240 #                                 else it will use I/O space mappings. Of
 1241 #                                 course, this can fail if the PCI implement-
 1242 #                                 ation doesn't support what you want.
 1243 #
 1244 #       SCSI_ISP_FCDUPLEX       - mask of isp unit numbers (obviously
 1245 #                                 a max of 32) that you wish to set fibre
 1246 #                                 channel full duplex mode on.
 1247 #                                 to disable the loading of firmware on.
 1248 #       SCSI_ISP_FABRIC           enable loading of Fabric f/w flavor (2100).
 1249 #       SCSI_ISP_SCCLUN           enable loading of expanded lun f/w (2100).
 1250 #
 1251 #       ISP_DISABLE_1020_SUPPORT        Disable support for 1020/1040 cards
 1252 #       ISP_DISABLE_1080_SUPPORT        Disable support for 1080/1240 cards
 1253 #       ISP_DISABLE_2100_SUPPORT        Disable support for 2100 cards
 1254 #       (these really just to save code space)
 1255 #       (use of all three will cause the driver to not compile)
 1256 options SCSI_ISP_NO_FWLOAD_MASK=0x12    # disable FW load for isp1 and isp4
 1257 options SCSI_ISP_NO_NVRAM_MASK=0x1      # disable NVRAM for isp0
 1258 options SCSI_ISP_PREFER_MEM_MAP=0       # prefer I/O mapping
 1259 options SCSI_ISP_FCDUPLEX=0x4           # isp2 is a Fibre Channel card
 1260                                         # we want in full duplex mode.
 1261 #options ISP_DISABLE_1020_SUPPORT
 1262 #options ISP_DISABLE_1080_SUPPORT
 1263 #options ISP_DISABLE_2100_SUPPORT
 1264 
 1265 controller      pci0
 1266 controller      ahc1
 1267 controller      ncr0
 1268 controller      isp0
 1269 controller      amd0
 1270 controller      dpt0
 1271 device          de0
 1272 device          fxp0
 1273 device          tl0
 1274 device          tx0
 1275 device          vx0
 1276 device          xl0
 1277 device          fpa0
 1278 device          meteor0
 1279 device          bktr0
 1280 
 1281 #
 1282 # PCCARD/PCMCIA
 1283 #
 1284 # card: slot controller
 1285 # pcic: slots
 1286 controller      card0
 1287 controller      pcic0 at card?
 1288 controller      pcic1 at card?
 1289 
 1290 #
 1291 # Laptop/Notebook options:
 1292 #
 1293 # See also:
 1294 #  apm under `Miscellaneous hardware'
 1295 # above.
 1296 
 1297 # For older notebooks that signal a powerfail condition (external
 1298 # power supply dropped, or battery state low) by issuing an NMI:
 1299 
 1300 options         POWERFAIL_NMI   # make it beep instead of panicing
 1301 
 1302 # Kernel BOOTP support 
 1303 
 1304 options         BOOTP           # Use BOOTP to obtain IP address/hostname
 1305 options         BOOTP_NFSROOT   # NFS mount root filesystem using BOOTP info
 1306 options         "BOOTP_NFSV3"   # Use NFS v3 to NFS mount root
 1307 options         BOOTP_COMPAT    # Workaround for broken bootp daemons.
 1308 
 1309 # If you want to disable loadable kernel modules (LKM), you
 1310 # might want to use this option.
 1311 options         NO_LKM
 1312 
 1313 # More undocumented options for linting.
 1314 
 1315 options         CLK_CALIBRATION_LOOP
 1316 options         "CLK_USE_I8254_CALIBRATION"
 1317 options         "CLK_USE_I586_CALIBRATION"
 1318 options         COMPAT_LINUX
 1319 options         DEBUG
 1320 options         DEVFS_ROOT
 1321 options         "EXT2FS"
 1322 options         "I586_CTR_GUPROF"
 1323 options         "I586_PMC_GUPROF=0x70000"
 1324 options         "IBCS2"
 1325 options         KBD_MAXRETRY=4
 1326 options         KBD_MAXWAIT=6
 1327 options         KBD_RESETDELAY=201
 1328 options         KBDIO_DEBUG=2
 1329 options         MSGMNB=2049
 1330 options         MSGMNI=41
 1331 options         MSGSEG=2049
 1332 options         MSGSSZ=16
 1333 options         MSGTQL=41
 1334 options         NBUF=512
 1335 options         NMBCLUSTERS=1024
 1336 options         PSM_DEBUG=1
 1337 options         "SCSI_2_DEF"
 1338 options         SCSI_DELAY=8    # Be pessimistic about Joe SCSI device
 1339 options         SCSI_NCR_DEBUG
 1340 options         SCSI_NCR_DFLT_TAGS=4
 1341 options         SCSI_NCR_MAX_SYNC=10000
 1342 options         SCSI_NCR_MAX_WIDE=1
 1343 options         SCSI_NCR_MYADDR=7
 1344 options         SEMMAP=31
 1345 options         SEMMNI=11
 1346 options         SEMMNS=61
 1347 options         SEMMNU=31
 1348 options         SEMMSL=61
 1349 options         SEMOPM=101
 1350 options         SEMUME=11
 1351 options         SHOW_BUSYBUFS   # List buffers that prevent root unmount
 1352 options         SHMALL=1025
 1353 options         "SHMMAX=(SHMMAXPGS*PAGE_SIZE+1)"
 1354 options         SHMMAXPGS=1025
 1355 options         SHMMIN=2
 1356 options         SHMMNI=33
 1357 options         SHMSEG=9
 1358 options         SI_DEBUG
 1359 options         SPX_HACK

Cache object: 49607659ba13d3e5409c35f7f1ea694c


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.