]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/conf/NOTES
Bmake bits for Gcc 3.1.
[FreeBSD/FreeBSD.git] / sys / conf / NOTES
1 #
2 # NOTES -- Lines that can be cut/pasted into kernel and hints configs.
3 #
4 # Lines that begin with 'device', 'options', 'machine', 'ident', 'maxusers',
5 # 'makeoptions', 'hints' etc go into the kernel configuration that you
6 # run config(8) with.
7 #
8 # Lines that begin with 'hints.' are NOT for config(8), they go into your
9 # hints file.  See /boot/device.hints and/or the 'hints' config(8) directive.
10 #
11 # Please use ``make LINT'' to create an old-style LINT file if you want to
12 # do kernel test-builds.
13 #
14 # This file contains machine independent kernel configuration notes.  For
15 # machine dependent notes, look in /sys/<arch>/conf/NOTES.
16 #
17 # $FreeBSD$
18 #
19
20 #
21 # This is the ``identification'' of the kernel.  Usually this should
22 # be the same as the name of your kernel.
23 #
24 ident           LINT
25
26 #
27 # The `maxusers' parameter controls the static sizing of a number of
28 # internal system tables by a formula defined in subr_param.c.  Setting
29 # maxusers to 0 will cause the system to auto-size based on physical 
30 # memory.
31 #
32 maxusers        10
33
34 #
35 # We want LINT to cover profiling as well
36 profile         2
37
38 #
39 # The `makeoptions' parameter allows variables to be passed to the
40 # generated Makefile in the build area.
41 #
42 # CONF_CFLAGS gives some extra compiler flags that are added to ${CFLAGS}
43 # after most other flags.  Here we use it to inhibit use of non-optimal
44 # gcc builtin functions (e.g., memcmp).
45 #
46 # DEBUG happens to be magic.
47 # The following is equivalent to 'config -g KERNELNAME' and creates
48 # 'kernel.debug' compiled with -g debugging as well as a normal
49 # 'kernel'.  Use 'make install.debug' to install the debug kernel
50 # but that isn't normally necessary as the debug symbols are not loaded
51 # by the kernel and are not useful there anyway.
52 #
53 # KERNEL can be overridden so that you can change the default name of your
54 # kernel.
55 #
56 # MODULES_OVERRIDE can be used to limit modules built to a specific list.
57 #
58 makeoptions     CONF_CFLAGS=-fno-builtin  #Don't allow use of memcmp, etc.
59 #makeoptions    DEBUG=-g                #Build kernel with gdb(1) debug symbols
60 #makeoptions    KERNEL=foo              #Build kernel "foo" and install "/foo"
61 # Only build Linux API modules and plus those parts of the sound system I need.
62 #makeoptions    MODULES_OVERRIDE="linux sound/snd sound/pcm sound/driver/maestro3"
63
64 #
65 # Certain applications can grow to be larger than the 512M limit
66 # that FreeBSD initially imposes.  Below are some options to
67 # allow that limit to grow to 1GB, and can be increased further
68 # with changing the parameters.  MAXDSIZ is the maximum that the
69 # limit can be set to, and the DFLDSIZ is the default value for
70 # the limit.  MAXSSIZ is the maximum that the stack limit can be
71 # set to.  You might want to set the default lower than the max, 
72 # and explicitly set the maximum with a shell command for processes
73 # that regularly exceed the limit like INND.
74 #
75 options         MAXDSIZ="(1024UL*1024*1024)"
76 options         MAXSSIZ="(128UL*1024*1024)"
77 options         DFLDSIZ="(1024UL*1024*1024)"
78
79 #
80 # BLKDEV_IOSIZE sets the default block size used in user block
81 # device I/O.  Note that this value will be overriden by the label
82 # when specifying a block device from a label with a non-0
83 # partition blocksize.  The default is PAGE_SIZE.
84 #
85 options         BLKDEV_IOSIZE=8192
86
87 # Options for the VM subsystem
88 options         PQ_CACHESIZE=512        # color for 512k/16k cache
89 options         KSTACK_PAGES=3          # number of stack pages per process
90 # Deprecated options supported for backwards compatibility
91 #options        PQ_NOOPT                # No coloring
92 #options        PQ_LARGECACHE           # color for 512k/16k cache
93 #options        PQ_HUGECACHE            # color for 1024k/16k cache
94 #options        PQ_MEDIUMCACHE          # color for 256k/16k cache
95 #options        PQ_NORMALCACHE          # color for 64k/16k cache
96
97 # This allows you to actually store this configuration file into
98 # the kernel binary itself, where it may be later read by saying:
99 #    strings -n 3 /boot/kernel/kernel | sed -n 's/^___//p' > MYKERNEL
100 #
101 options         INCLUDE_CONFIG_FILE     # Include this file in kernel
102
103 options GEOM                            # Use the GEOMetry system for
104                                         # disk-I/O transformations.
105
106 #
107 # The root device and filesystem type can be compiled in;
108 # this provides a fallback option if the root device cannot
109 # be correctly guessed by the bootstrap code, or an override if
110 # the RB_DFLTROOT flag (-r) is specified when booting the kernel.
111 #
112 options         ROOTDEVNAME=\"ufs:da0s2e\"
113
114 \f
115 #####################################################################
116 # SMP OPTIONS:
117 #
118 # SMP enables building of a Symmetric MultiProcessor Kernel.
119
120 # Mandatory:
121 options         SMP                     # Symmetric MultiProcessor Kernel
122
123 # SMP Debugging Options:
124 #
125 # MUTEX_DEBUG enables various extra assertions in the mutex code.
126 # WITNESS enables the witness code which detects deadlocks and cycles
127 #         during locking operations.
128 # WITNESS_DDB causes the witness code to drop into the kernel debugger if
129 #         a lock heirarchy violation occurs or if locks are held when going to
130 #         sleep.
131 # WITNESS_SKIPSPIN disables the witness checks on spin mutexes.
132 options         MUTEX_DEBUG
133 options         WITNESS
134 options         WITNESS_DDB
135 options         WITNESS_SKIPSPIN
136
137 #
138 # MUTEX_PROFILING - Profiling mutual exclusion locks (mutexes).  This
139 # records four numbers for each acquisition point (identified by
140 # source file name and line number): longest time held, total time held,
141 # number of non-recursive acquisitions, and average time held. Measurements
142 # are made and stored in nanoseconds (using nanotime(9)), but are presented
143 # in microseconds, which should be sufficient for the locks which actually
144 # want this (those that are held long and / or often).  The MUTEX_PROFILING
145 # option has the following sysctl namespace for controlling and viewing its
146 # operation:
147 #
148 #  debug.mutex.prof.enable - enable / disable profiling
149 #  debug.mutex.prof.acquisitions - number of mutex acquisitions held
150 #  debug.mutex.prof.records - number of acquisition points recorded
151 #  debug.mutex.prof.maxrecords - max number of acquisition points
152 #  debug.mutex.prof.rejected - number of rejections (due to full table)
153 #  debug.mutex.prof.hashsize - hash size
154 #  debug.mutex.prof.collisions - number of hash collisions
155 #  debug.mutex.prof.stats - profiling statistics
156 #
157 options         MUTEX_PROFILING
158
159 \f
160 #####################################################################
161 # COMPATIBILITY OPTIONS                                             
162
163 #
164 # Implement system calls compatible with 4.3BSD and older versions of
165 # FreeBSD.  You probably do NOT want to remove this as much current code
166 # still relies on the 4.3 emulation.
167 #
168 options         COMPAT_43
169
170 #
171 # These three options provide support for System V Interface
172 # Definition-style interprocess communication, in the form of shared
173 # memory, semaphores, and message queues, respectively.
174 #
175 options         SYSVSHM
176 options         SYSVSEM
177 options         SYSVMSG
178
179 \f
180 #####################################################################
181 # DEBUGGING OPTIONS
182
183 #
184 # Enable the kernel debugger.
185 #
186 options         DDB
187
188 #
189 # Use direct symbol lookup routines for ddb instead of the kernel linker
190 # ones, so that symbols (mostly) work before the kernel linker has been
191 # initialized.  This is not the default because it breaks ddb's lookup of
192 # symbols in loaded modules.
193 #
194 #!options       DDB_NOKLDSYM
195
196 #
197 # Don't drop into DDB for a panic. Intended for unattended operation
198 # where you may want to drop to DDB from the console, but still want
199 # the machine to recover from a panic
200 #
201 options         DDB_UNATTENDED
202
203 #
204 # If using GDB remote mode to debug the kernel, there's a non-standard
205 # extension to the remote protocol that can be used to use the serial
206 # port as both the debugging port and the system console.  It's non-
207 # standard and you're on your own if you enable it.  See also the
208 # "remotechat" variables in the FreeBSD specific version of gdb.
209 #
210 options         GDB_REMOTE_CHAT
211
212 #
213 # KTRACE enables the system-call tracing facility ktrace(2).
214 #
215 options         KTRACE                  #kernel tracing
216
217 #
218 # KTR is a kernel tracing mechanism imported from BSD/OS.  Currently it
219 # has no userland interface aside from a few sysctl's.  It is enabled with
220 # the KTR option.  KTR_ENTRIES defines the number of entries in the circular
221 # trace buffer.  KTR_COMPILE defines the mask of events to compile into the
222 # kernel as defined by the KTR_* constants in <sys/ktr.h>.  KTR_MASK defines the
223 # initial value of the ktr_mask variable which determines at runtime what
224 # events to trace.  KTR_CPUMASK determines which CPU's log events, with
225 # bit X corresponding to cpu X.  KTR_VERBOSE enables dumping of KTR events
226 # to the console by default.  This functionality can be toggled via the
227 # debug.ktr_verbose sysctl and defaults to off if KTR_VERBOSE is not defined.
228 #
229 options         KTR
230 options         KTR_ENTRIES=1024
231 options         KTR_COMPILE="(KTR_INTR|KTR_PROC)"
232 options         KTR_MASK=KTR_INTR
233 options         KTR_CPUMASK=0x3
234 options         KTR_VERBOSE
235
236 #
237 # The INVARIANTS option is used in a number of source files to enable
238 # extra sanity checking of internal structures.  This support is not
239 # enabled by default because of the extra time it would take to check
240 # for these conditions, which can only occur as a result of
241 # programming errors.
242 #
243 options         INVARIANTS
244
245 #
246 # The INVARIANT_SUPPORT option makes us compile in support for
247 # verifying some of the internal structures.  It is a prerequisite for
248 # 'INVARIANTS', as enabling 'INVARIANTS' will make these functions be
249 # called.  The intent is that you can set 'INVARIANTS' for single
250 # source files (by changing the source file or specifying it on the
251 # command line) if you have 'INVARIANT_SUPPORT' enabled.  Also, if you
252 # wish to build a kernel module with 'INVARIANTS', then adding
253 # 'INVARIANT_SUPPORT' to your kernel will provide all the necessary
254 # infrastructure without the added overhead.
255 #
256 options         INVARIANT_SUPPORT
257
258 #
259 # The DIAGNOSTIC option is used to enable extra debugging information
260 # from some parts of the kernel.  As this makes everything more noisy,
261 # it is disabled by default.
262 #
263 options         DIAGNOSTIC
264
265 #
266 # REGRESSION causes optional kernel interfaces necessary only for regression
267 # testing to be enabled.  These interfaces may consitute security risks
268 # when enabled, as they permit processes to easily modify aspects of the
269 # run-time environment to reproduce unlikely or unusual (possibly normally
270 # impossible) scenarios.
271 #
272 options         REGRESSION
273
274 #
275 # RESTARTABLE_PANICS allows one to continue from a panic as if it were
276 # a call to the debugger via the Debugger() function instead.  It is only
277 # useful if a kernel debugger is present.  To restart from a panic, reset
278 # the panicstr variable to NULL and continue execution.  This option is
279 # for development use only and should NOT be used in production systems
280 # to "workaround" a panic.
281 #
282 #options        RESTARTABLE_PANICS
283
284 #
285 # This option let some drivers co-exist that can't co-exist in a running
286 # system.  This is used to be able to compile all kernel code in one go for
287 # quality assurance purposes (like this file, which the option takes it name
288 # from.)
289 #
290 options         COMPILING_LINT
291
292 \f
293 #####################################################################
294 # NETWORKING OPTIONS
295
296 #
297 # Protocol families:
298 #  Only the INET (Internet) family is officially supported in FreeBSD.
299 #  Source code for the NS (Xerox Network Service) is provided for amusement
300 #  value.
301 #
302 options         INET                    #Internet communications protocols
303 options         INET6                   #IPv6 communications protocols
304 options         IPSEC                   #IP security
305 options         IPSEC_ESP               #IP security (crypto; define w/ IPSEC)
306 options         IPSEC_DEBUG             #debug for IP security
307
308 options         IPX                     #IPX/SPX communications protocols
309 options         IPXIP                   #IPX in IP encapsulation (not available)
310 options         IPTUNNEL                #IP in IPX encapsulation (not available)
311
312 #options        NCP                     #NetWare Core protocol
313
314 options         NETATALK                #Appletalk communications protocols
315 options         NETATALKDEBUG           #Appletalk debugging
316
317 # These are currently broken but are shipped due to interest.
318 #options        NS                      #Xerox NS protocols
319 #options        NSIP                    #XNS over IP
320
321 #
322 # SMB/CIFS requester
323 # NETSMB enables support for SMB protocol, it requires LIBMCHAIN and LIBICONV
324 # options.
325 # NETSMBCRYPTO enables support for encrypted passwords.
326 options         NETSMB                  #SMB/CIFS requester
327 options         NETSMBCRYPTO            #encrypted password support for SMB
328
329 # mchain library. It can be either loaded as KLD or compiled into kernel
330 options         LIBMCHAIN
331
332 # netgraph(4). Enable the base netgraph code with the NETGRAPH option.
333 # Individual node types can be enabled with the corresponding option
334 # listed below; however, this is not strictly necessary as netgraph
335 # will automatically load the corresponding KLD module if the node type
336 # is not already compiled into the kernel. Each type below has a
337 # corresponding man page, e.g., ng_async(8).
338 options         NETGRAPH                #netgraph(4) system
339 options         NETGRAPH_ASYNC
340 options         NETGRAPH_BPF
341 options         NETGRAPH_CISCO
342 options         NETGRAPH_ECHO
343 options         NETGRAPH_ETHER
344 options         NETGRAPH_FRAME_RELAY
345 options         NETGRAPH_GIF
346 options         NETGRAPH_GIF_DEMUX
347 options         NETGRAPH_HOLE
348 options         NETGRAPH_IFACE
349 options         NETGRAPH_IP_INPUT
350 options         NETGRAPH_KSOCKET
351 options         NETGRAPH_LMI
352 # MPPC compression requires proprietary files (not included)
353 #options        NETGRAPH_MPPC_COMPRESSION
354 options         NETGRAPH_MPPC_ENCRYPTION
355 options         NETGRAPH_ONE2MANY
356 options         NETGRAPH_PPP
357 options         NETGRAPH_PPPOE
358 options         NETGRAPH_PPTPGRE
359 options         NETGRAPH_RFC1490
360 options         NETGRAPH_SOCKET
361 options         NETGRAPH_SPLIT
362 options         NETGRAPH_TEE
363 options         NETGRAPH_TTY
364 options         NETGRAPH_UI
365 options         NETGRAPH_VJC
366
367 device          mn      # Munich32x/Falc54 Nx64kbit/sec cards.
368 device          lmc     # tulip based LanMedia WAN cards
369 device          musycc  # LMC/SBE LMC1504 quad T1/E1
370
371 #
372 # Network interfaces:
373 #  The `loop' device is MANDATORY when networking is enabled.
374 #  The `ether' device provides generic code to handle
375 #  Ethernets; it is MANDATORY when a Ethernet device driver is
376 #  configured or token-ring is enabled.
377 #  The `fddi' device provides generic code to support FDDI.
378 #  The `arcnet' device provides generic code to support Arcnet.
379 #  The `sppp' device serves a similar role for certain types
380 #  of synchronous PPP links (like `cx', `ar').
381 #  The `sl' device implements the Serial Line IP (SLIP) service.
382 #  The `ppp' device implements the Point-to-Point Protocol.
383 #  The `bpf' device enables the Berkeley Packet Filter.  Be
384 #  aware of the legal and administrative consequences of enabling this
385 #  option.  The number of devices determines the maximum number of
386 #  simultaneous BPF clients programs runnable.
387 #  The `disc' device implements a minimal network interface,
388 #  which throws away all packets sent and never receives any.  It is
389 #  included for testing purposes.  This shows up as the `ds' interface.
390 #  The `tap' device is a pty-like virtual Ethernet interface
391 #  The `tun' device implements (user-)ppp and nos-tun
392 #  The `gif' device implements IPv6 over IP4 tunneling,
393 #  IPv4 over IPv6 tunneling, IPv4 over IPv4 tunneling and
394 #  IPv6 over IPv6 tunneling.
395 #  The XBONEHACK option allows the same pair of addresses to be configured on
396 #  multiple gif interfaces.
397 #  The `faith' device captures packets sent to it and diverts them
398 #  to the IPv4/IPv6 translation daemon.
399 #  The `stf' device implements 6to4 encapsulation.
400 #  The `ef' device provides support for multiple ethernet frame types
401 #  specified via ETHER_* options. See ef(4) for details.
402 #
403 # The PPP_BSDCOMP option enables support for compress(1) style entire
404 # packet compression, the PPP_DEFLATE is for zlib/gzip style compression.
405 # PPP_FILTER enables code for filtering the ppp data stream and selecting
406 # events for resetting the demand dial activity timer - requires bpf.
407 # See pppd(8) for more details.
408 #
409 device          ether                   #Generic Ethernet
410 device          vlan                    #VLAN support
411 device          token                   #Generic TokenRing
412 device          fddi                    #Generic FDDI
413 device          arcnet                  #Generic Arcnet
414 device          sppp                    #Generic Synchronous PPP
415 device          loop    1               #Network loopback device
416 device          bpf                     #Berkeley packet filter
417 device          disc                    #Discard device (ds0, ds1, etc)
418 device          tap                     #Virtual Ethernet driver
419 device          tun                     #Tunnel driver (ppp(8), nos-tun(8))
420 device          sl                      #Serial Line IP
421 device          ppp     2               #Point-to-point protocol
422 options         PPP_BSDCOMP             #PPP BSD-compress support
423 options         PPP_DEFLATE             #PPP zlib/deflate/gzip support
424 options         PPP_FILTER              #enable bpf filtering (needs bpf)
425
426 device          ef                      # Multiple ethernet frames support
427 options         ETHER_II                # enable Ethernet_II frame
428 options         ETHER_8023              # enable Ethernet_802.3 (Novell) frame
429 options         ETHER_8022              # enable Ethernet_802.2 frame
430 options         ETHER_SNAP              # enable Ethernet_802.2/SNAP frame
431
432 # for IPv6
433 device          gif                     #IPv6 and IPv4 tunneling
434 options         XBONEHACK
435 device          faith                   #for IPv6 and IPv4 translation
436 device          stf                     #6to4 IPv6 over IPv4 encapsulation
437
438 #
439 # Internet family options:
440 #
441 # MROUTING enables the kernel multicast packet forwarder, which works
442 # with mrouted(8).
443 #
444 # IPFIREWALL enables support for IP firewall construction, in
445 # conjunction with the `ipfw' program.  IPFIREWALL_VERBOSE sends
446 # logged packets to the system logger.  IPFIREWALL_VERBOSE_LIMIT
447 # limits the number of times a matching entry can be logged.
448 #
449 # WARNING:  IPFIREWALL defaults to a policy of "deny ip from any to any"
450 # and if you do not add other rules during startup to allow access,
451 # YOU WILL LOCK YOURSELF OUT.  It is suggested that you set firewall_type=open
452 # in /etc/rc.conf when first enabling this feature, then refining the
453 # firewall rules in /etc/rc.firewall after you've tested that the new kernel
454 # feature works properly.
455 #
456 # IPFIREWALL_DEFAULT_TO_ACCEPT causes the default rule (at boot) to
457 # allow everything.  Use with care, if a cracker can crash your
458 # firewall machine, they can get to your protected machines.  However,
459 # if you are using it as an as-needed filter for specific problems as
460 # they arise, then this may be for you.  Changing the default to 'allow'
461 # means that you won't get stuck if the kernel and /sbin/ipfw binary get
462 # out of sync.
463 #
464 # IPDIVERT enables the divert IP sockets, used by ``ipfw divert''
465 #
466 # IPSTEALTH enables code to support stealth forwarding (i.e., forwarding
467 # packets without touching the ttl).  This can be useful to hide firewalls
468 # from traceroute and similar tools.
469 #
470 # PFIL_HOOKS enables an abtraction layer which is meant to be used in
471 # network code where filtering is required.  See the pfil(9) man page.
472 # This option is a subset of the IPFILTER option.
473 #
474 # TCPDEBUG enables code which keeps traces of the TCP state machine
475 # for sockets with the SO_DEBUG option set, which can then be examined
476 # using the trpt(8) utility.
477 #
478 options         MROUTING                # Multicast routing
479 options         IPFIREWALL              #firewall
480 options         IPFIREWALL_VERBOSE      #enable logging to syslogd(8)
481 options         IPFIREWALL_FORWARD      #enable transparent proxy support
482 options         IPFIREWALL_VERBOSE_LIMIT=100    #limit verbosity
483 options         IPFIREWALL_DEFAULT_TO_ACCEPT    #allow everything by default
484 options         IPV6FIREWALL            #firewall for IPv6
485 options         IPV6FIREWALL_VERBOSE
486 options         IPV6FIREWALL_VERBOSE_LIMIT=100
487 options         IPV6FIREWALL_DEFAULT_TO_ACCEPT
488 options         IPDIVERT                #divert sockets
489 options         IPFILTER                #ipfilter support
490 options         IPFILTER_LOG            #ipfilter logging
491 options         IPFILTER_DEFAULT_BLOCK  #block all packets by default
492 options         IPSTEALTH               #support for stealth forwarding
493 options         PFIL_HOOKS
494 options         TCPDEBUG
495
496 # RANDOM_IP_ID causes the ID field in IP packets to be randomized
497 # instead of incremented by 1 with each packet generated.  This
498 # option closes a minor information leak which allows remote
499 # observers to determine the rate of packet generation on the
500 # machine by watching the counter.
501 options         RANDOM_IP_ID
502
503 # Statically Link in accept filters
504 options         ACCEPT_FILTER_DATA
505 options         ACCEPT_FILTER_HTTP
506
507 # TCP_DROP_SYNFIN adds support for ignoring TCP packets with SYN+FIN. This
508 # prevents nmap et al. from identifying the TCP/IP stack, but breaks support
509 # for RFC1644 extensions and is not recommended for web servers.
510 #
511 options         TCP_DROP_SYNFIN         #drop TCP packets with SYN+FIN
512
513 # DUMMYNET enables the "dummynet" bandwidth limiter. You need
514 # IPFIREWALL as well. See the dummynet(4) and ipfw(8) manpages for more info.
515 # When you run DUMMYNET it is advisable to also have "options HZ=1000"
516 # to achieve a smoother scheduling of the traffic.
517 #
518 # BRIDGE enables bridging between ethernet cards -- see bridge(4).
519 # You can use IPFIREWALL and DUMMYNET together with bridging.
520 #
521 options         DUMMYNET
522 options         BRIDGE
523
524 #
525 # ATM (HARP version) options
526 #
527 # ATM_CORE includes the base ATM functionality code.  This must be included
528 #       for ATM support.
529 #
530 # ATM_IP includes support for running IP over ATM.
531 #
532 # At least one (and usually only one) of the following signalling managers
533 # must be included (note that all signalling managers include PVC support):
534 # ATM_SIGPVC includes support for the PVC-only signalling manager `sigpvc'.
535 # ATM_SPANS includes support for the `spans' signalling manager, which runs
536 #       the FORE Systems's proprietary SPANS signalling protocol.
537 # ATM_UNI includes support for the `uni30' and `uni31' signalling managers,
538 #       which run the ATM Forum UNI 3.x signalling protocols.
539 #
540 # The `hea' driver provides support for the Efficient Networks, Inc.
541 # ENI-155p ATM PCI Adapter.
542 #
543 # The `hfa' driver provides support for the FORE Systems, Inc.
544 # PCA-200E ATM PCI Adapter.
545 #
546 options         ATM_CORE                #core ATM protocol family
547 options         ATM_IP                  #IP over ATM support
548 options         ATM_SIGPVC              #SIGPVC signalling manager
549 options         ATM_SPANS               #SPANS signalling manager
550 options         ATM_UNI                 #UNI signalling manager
551 # Broken:
552 ##device        hea                     #Efficient ENI-155p ATM PCI
553 device          hfa                     #FORE PCA-200E ATM PCI
554
555 \f
556 #####################################################################
557 # FILESYSTEM OPTIONS
558
559 #
560 # Only the root, /usr, and /tmp filesystems need be statically
561 # compiled; everything else will be automatically loaded at mount
562 # time.  (Exception: the UFS family--- FFS --- cannot
563 # currently be demand-loaded.)  Some people still prefer to statically
564 # compile other filesystems as well.
565 #
566 # NB: The NULL, PORTAL, UMAP and UNION filesystems are known to be
567 # buggy, and WILL panic your system if you attempt to do anything with
568 # them.  They are included here as an incentive for some enterprising
569 # soul to sit down and fix them.
570 #
571
572 # One of these is mandatory:
573 options         FFS                     #Fast filesystem
574 options         NFSCLIENT               #Network File System
575 options         NFSSERVER               #Network File System
576
577 # The rest are optional:
578 options         CD9660                  #ISO 9660 filesystem
579 options         FDESCFS                 #File descriptor filesystem
580 options         HPFS                    #OS/2 File system
581 options         MSDOSFS                 #MS DOS File System (FAT, FAT32)
582 options         NTFS                    #NT File System
583 options         NULLFS                  #NULL filesystem
584 #options        NWFS                    #NetWare filesystem
585 options         PORTALFS                #Portal filesystem
586 options         PROCFS                  #Process filesystem (requires PSEUDOFS)
587 options         PSEUDOFS                #Pseudo-filesystem framework
588 options         SMBFS                   #SMB/CIFS filesystem
589 options         UDF                     #Universal Disk Format
590 options         UMAPFS                  #UID map filesystem
591 options         UNIONFS                 #Union filesystem
592 # options       NODEVFS                 #disable devices filesystem
593 # The xFS_ROOT options REQUIRE the associated ``options xFS''
594 options         NFS_ROOT                #NFS usable as root device
595 # This code enables IFS, an FFS which exports inodes as the namespace.
596 # You can find details in src/sys/ufs/ifs/README .
597 options         IFS
598
599 # Soft updates is a technique for improving file system speed and
600 # making abrupt shutdown less risky.
601 #
602 options         SOFTUPDATES
603
604 # Extended attributes allow additional data to be associated with files,
605 # and is used for ACLs, Capabilities, and MAC labels.
606 # See src/sys/ufs/ufs/README.extattr for more information.
607 options         UFS_EXTATTR
608 options         UFS_EXTATTR_AUTOSTART
609
610 # Access Control List support for UFS filesystems.  The current ACL
611 # implementation requires extended attribute support, UFS_EXTATTR,
612 # for the underlying filesystem.
613 # See src/sys/ufs/ufs/README.acls for more information.
614 options         UFS_ACL
615
616 # Directory hashing improves the speed of operations on very large
617 # directories at the expense of some memory.
618 options         UFS_DIRHASH
619
620 # Make space in the kernel for a root filesystem on a md device.
621 # Define to the number of kilobytes to reserve for the filesystem.
622 options         MD_ROOT_SIZE=10
623
624 # Make the md device a potential root device, either with preloaded
625 # images of type mfs_root or md_root.
626 options         MD_ROOT
627
628 # Allow this many swap-devices.
629 #
630 # In order to manage swap, the system must reserve bitmap space that
631 # scales with the largest mounted swap device multiplied by NSWAPDEV, 
632 # irregardless of whether other swap devices exist or not.  So it
633 # is not a good idea to make this value too large.
634 options         NSWAPDEV=5
635
636 # Disk quotas are supported when this option is enabled.
637 options         QUOTA                   #enable disk quotas
638
639 # If you are running a machine just as a fileserver for PC and MAC
640 # users, using SAMBA or Netatalk, you may consider setting this option
641 # and keeping all those users' directories on a filesystem that is
642 # mounted with the suiddir option. This gives new files the same
643 # ownership as the directory (similar to group). It's a security hole
644 # if you let these users run programs, so confine it to file-servers
645 # (but it'll save you lots of headaches in those cases). Root owned
646 # directories are exempt and X bits are cleared. The suid bit must be
647 # set on the directory as well; see chmod(1) PC owners can't see/set
648 # ownerships so they keep getting their toes trodden on. This saves
649 # you all the support calls as the filesystem it's used on will act as
650 # they expect: "It's my dir so it must be my file".
651 #
652 options         SUIDDIR
653
654 # NFS options:
655 options         NFS_MINATTRTIMO=3       # VREG attrib cache timeout in sec
656 options         NFS_MAXATTRTIMO=60
657 options         NFS_MINDIRATTRTIMO=30   # VDIR attrib cache timeout in sec
658 options         NFS_MAXDIRATTRTIMO=60
659 options         NFS_GATHERDELAY=10      # Default write gather delay (msec)
660 options         NFS_WDELAYHASHSIZ=16    # and with this
661 options         NFS_DEBUG               # Enable NFS Debugging
662
663 # Coda stuff:
664 options         CODA                    #CODA filesystem.
665 device          vcoda   4               #coda minicache <-> venus comm.
666
667 #
668 # Add support for the EXT2FS filesystem of Linux fame.  Be a bit
669 # careful with this - the ext2fs code has a tendency to lag behind
670 # changes and not be exercised very much, so mounting read/write could
671 # be dangerous (and even mounting read only could result in panics.)
672 #
673 options         EXT2FS
674
675 # Use real implementations of the aio_* system calls.  There are numerous
676 # stability and security issues in the current aio code that make it
677 # unsuitable for inclusion on machines with untrusted local users.
678 options         VFS_AIO
679
680 # Enable the code UFS IO optimization through the VM system.  This allows
681 # use VM operations instead of copying operations when possible.
682
683 # Even with this enabled, actual use of the code is still controlled by the
684 # sysctl vfs.ioopt.  0 gives no optimization, 1 gives normal (use VM
685 # operations if a request happens to fit), 2 gives agressive optimization
686 # (the operations are split to do as much as possible through the VM system.)
687 #
688 # Enabling this will probably not give an overall speedup except for
689 # special workloads.
690 options         ENABLE_VFS_IOOPT
691
692 # Cryptographically secure random number generator; /dev/[u]random
693 device          random
694
695 \f
696 #####################################################################
697 # POSIX P1003.1B
698
699 # Real time extensions added in the 1993 Posix
700 # P1003_1B: Infrastructure
701 # _KPOSIX_PRIORITY_SCHEDULING: Build in _POSIX_PRIORITY_SCHEDULING
702 # _KPOSIX_VERSION:             Version kernel is built for
703
704 options         P1003_1B
705 options         _KPOSIX_PRIORITY_SCHEDULING
706 options         _KPOSIX_VERSION=199309L
707
708 \f
709 #####################################################################
710 # CLOCK OPTIONS
711
712 # The granularity of operation is controlled by the kernel option HZ whose
713 # default value (100) means a granularity of 10ms (1s/HZ).
714 # Some subsystems, such as DUMMYNET, might benefit from a smaller
715 # granularity such as 1ms or less, for a smoother scheduling of packets.
716 # Consider, however, that reducing the granularity too much might
717 # cause excessive overhead in clock interrupt processing,
718 # potentially causing ticks to be missed and thus actually reducing
719 # the accuracy of operation.
720
721 options         HZ=100
722
723 \f
724 #####################################################################
725 # SCSI DEVICES
726
727 # SCSI DEVICE CONFIGURATION
728
729 # The SCSI subsystem consists of the `base' SCSI code, a number of
730 # high-level SCSI device `type' drivers, and the low-level host-adapter
731 # device drivers.  The host adapters are listed in the ISA and PCI
732 # device configuration sections below.
733 #
734 # Beginning with FreeBSD 2.0.5 you can wire down your SCSI devices so
735 # that a given bus, target, and LUN always come on line as the same
736 # device unit.  In earlier versions the unit numbers were assigned
737 # in the order that the devices were probed on the SCSI bus.  This
738 # means that if you removed a disk drive, you may have had to rewrite
739 # your /etc/fstab file, and also that you had to be careful when adding
740 # a new disk as it may have been probed earlier and moved your device
741 # configuration around.
742
743 # This old behavior is maintained as the default behavior.  The unit
744 # assignment begins with the first non-wired down unit for a device
745 # type.  For example, if you wire a disk as "da3" then the first
746 # non-wired disk will be assigned da4.
747
748 # The syntax for wiring down devices is:
749
750 hint.scbus.0.at="ahc0"
751 hint.scbus.1.at="ahc1"
752 hint.scbus.1.bus="0"
753 hint.scbus.3.at="ahc2"
754 hint.scbus.3.bus="0"
755 hint.scbus.2.at="ahc2"
756 hint.scbus.2.bus="1"
757 hint.da.0.at="scbus0"
758 hint.da.0.target="0"
759 hint.da.0.unit="0"
760 hint.da.1.at="scbus3"
761 hint.da.1.target="1"
762 hint.da.2.at="scbus2"
763 hint.da.2.target="3"
764 hint.sa.1.at="scbus1"
765 hint.sa.1.target="6"
766
767 # "units" (SCSI logical unit number) that are not specified are
768 # treated as if specified as LUN 0.
769
770 # All SCSI devices allocate as many units as are required.
771
772 # The ch driver drives SCSI Media Changer ("jukebox") devices.
773 #
774 # The da driver drives SCSI Direct Access ("disk") and Optical Media
775 # ("WORM") devices.
776 #
777 # The sa driver drives SCSI Sequential Access ("tape") devices.
778 #
779 # The cd driver drives SCSI Read Only Direct Access ("cd") devices.
780 #
781 # The ses driver drives SCSI Envinronment Services ("ses") and
782 # SAF-TE ("SCSI Accessable Fault-Tolerant Enclosure") devices.
783 #
784 # The pt driver drives SCSI Processor devices.
785 #
786
787 # Target Mode support is provided here but also requires that a SIM
788 # (SCSI Host Adapter Driver) provide support as well.
789 #
790 # The targ driver provides target mode support as a Processor type device.
791 # It exists to give the minimal context necessary to respond to Inquiry
792 # commands. There is a sample user application that shows how the rest
793 # of the command support might be done in /usr/share/examples/scsi_target.
794 #
795 # The targbh driver provides target mode support and exists to respond
796 # to incoming commands that do not otherwise have a logical unit assigned
797 # to them.
798
799 # The "unknown" device (uk? in pre-2.0.5) is now part of the base SCSI
800 # configuration as the "pass" driver.
801
802 device          scbus           #base SCSI code
803 device          ch              #SCSI media changers
804 device          da              #SCSI direct access devices (aka disks)
805 device          sa              #SCSI tapes
806 device          cd              #SCSI CD-ROMs
807 device          ses             #SCSI Environmental Services (and SAF-TE)
808 device          pt              #SCSI processor 
809 device          targ            #SCSI Target Mode Code
810 device          targbh          #SCSI Target Mode Blackhole Device
811 device          pass            #CAM passthrough driver
812
813 # CAM OPTIONS:
814 # debugging options:
815 # -- NOTE --  If you specify one of the bus/target/lun options, you must
816 #             specify them all!
817 # CAMDEBUG: When defined enables debugging macros
818 # CAM_DEBUG_BUS:  Debug the given bus.  Use -1 to debug all busses.
819 # CAM_DEBUG_TARGET:  Debug the given target.  Use -1 to debug all targets.
820 # CAM_DEBUG_LUN:  Debug the given lun.  Use -1 to debug all luns.
821 # CAM_DEBUG_FLAGS:  OR together CAM_DEBUG_INFO, CAM_DEBUG_TRACE,
822 #                   CAM_DEBUG_SUBTRACE, and CAM_DEBUG_CDB
823 #
824 # CAM_MAX_HIGHPOWER: Maximum number of concurrent high power (start unit) cmds
825 # CAM_NEW_TRAN_CODE: this is the new transport layer code that will be switched
826 #                       to soon
827 # SCSI_NO_SENSE_STRINGS: When defined disables sense descriptions
828 # SCSI_NO_OP_STRINGS: When defined disables opcode descriptions
829 # SCSI_DELAY: The number of MILLISECONDS to freeze the SIM (scsi adapter)
830 #             queue after a bus reset, and the number of milliseconds to
831 #             freeze the device queue after a bus device reset.
832 options         CAMDEBUG
833 options         CAM_DEBUG_BUS=-1
834 options         CAM_DEBUG_TARGET=-1
835 options         CAM_DEBUG_LUN=-1
836 options         CAM_DEBUG_FLAGS="CAM_DEBUG_INFO|CAM_DEBUG_TRACE|CAM_DEBUG_CDB"
837 options         CAM_MAX_HIGHPOWER=4
838 options         SCSI_NO_SENSE_STRINGS
839 options         SCSI_NO_OP_STRINGS
840 options         SCSI_DELAY=8000 # Be pessimistic about Joe SCSI device
841
842 # Options for the CAM CDROM driver:
843 # CHANGER_MIN_BUSY_SECONDS: Guaranteed minimum time quantum for a changer LUN
844 # CHANGER_MAX_BUSY_SECONDS: Maximum time quantum per changer LUN, only
845 #                           enforced if there is I/O waiting for another LUN
846 # The compiled in defaults for these variables are 2 and 10 seconds,
847 # respectively.
848 #
849 # These can also be changed on the fly with the following sysctl variables:
850 # kern.cam.cd.changer.min_busy_seconds
851 # kern.cam.cd.changer.max_busy_seconds
852 #
853 options         CHANGER_MIN_BUSY_SECONDS=2
854 options         CHANGER_MAX_BUSY_SECONDS=10
855
856 # Options for the CAM sequential access driver:
857 # SA_IO_TIMEOUT: Timeout for read/write/wfm  operations, in minutes
858 # SA_SPACE_TIMEOUT: Timeout for space operations, in minutes
859 # SA_REWIND_TIMEOUT: Timeout for rewind operations, in minutes
860 # SA_ERASE_TIMEOUT: Timeout for erase operations, in minutes
861 # SA_1FM_AT_EOD: Default to model which only has a default one filemark at EOT.
862 options         SA_IO_TIMEOUT="(4)"
863 options         SA_SPACE_TIMEOUT="(60)"
864 options         SA_REWIND_TIMEOUT="(2*60)"
865 options         SA_ERASE_TIMEOUT="(4*60)"
866 options         SA_1FM_AT_EOD
867
868 # Optional timeout for the CAM processor target (pt) device
869 # This is specified in seconds.  The default is 60 seconds.
870 options         SCSI_PT_DEFAULT_TIMEOUT="60"
871
872 # Optional enable of doing SES passthrough on other devices (e.g., disks)
873 #
874 # Normally disabled because a lot of newer SCSI disks report themselves
875 # as having SES capabilities, but this can then clot up attempts to build
876 # build a topology with the SES device that's on the box these drives
877 # are in....
878 options         SES_ENABLE_PASSTHROUGH
879
880 \f
881 #####################################################################
882 # MISCELLANEOUS DEVICES AND OPTIONS
883
884 # The `pty' device usually turns out to be ``effectively mandatory'',
885 # as it is required for `telnetd', `rlogind', `screen', `emacs', and
886 # `xterm', among others.
887
888 device          pty             #Pseudo ttys
889 device          nmdm            #back-to-back tty devices
890 device          md              #Memory/malloc disk
891 device          snp             #Snoop device - to look at pty/vty/etc..
892 device          ccd             #Concatenated disk driver
893
894 # Configuring Vinum into the kernel is not necessary, since the kld
895 # module gets started automatically when vinum(8) starts.  This
896 # device is also untested.  Use at your own risk.
897 #
898 # The option VINUMDEBUG must match the value set in CFLAGS
899 # in src/sbin/vinum/Makefile.  Failure to do so will result in
900 # the following message from vinum(8):
901 #
902 # Can't get vinum config: Invalid argument
903 #
904 # see vinum(4) for more reasons not to use these options.
905 device          vinum           #Vinum concat/mirror/raid driver
906 options         VINUMDEBUG      #enable Vinum debugging hooks
907
908 # Kernel side iconv library
909 options         LIBICONV
910
911 # Size of the kernel message buffer.  Should be N * pagesize.
912 options         MSGBUF_SIZE=40960
913
914 \f
915 #####################################################################
916 # HARDWARE BUS CONFIGURATION
917
918 #
919 # ISA bus
920 #
921
922 options         COMPAT_OLDISA   #Use ISA shims and glue for old drivers
923
924 # Enable support for the kernel PLL to use an external PPS signal,
925 # under supervision of [x]ntpd(8)
926 # More info in ntpd documentation: http://www.eecis.udel.edu/~ntp
927
928 options         PPS_SYNC
929
930 # If you see the "calcru: negative time of %ld usec for pid %d (%s)\n"
931 # message you probably have some broken sw/hw which disables interrupts
932 # for too long.  You can make the system more resistant to this by
933 # choosing a high value for NTIMECOUNTER.  The default is 5, there
934 # is no upper limit but more than a couple of hundred are not productive.
935
936 options         NTIMECOUNTER=20
937
938
939 # EISA bus
940 #
941
942 # By default, only 10 EISA slots are probed, since the slot numbers
943 # above clash with the configuration address space of the PCI subsystem,
944 # and the EISA probe is not very smart about this.  This is sufficient
945 # for most machines, but in particular the HP NetServer LC series comes
946 # with an onboard AIC7770 dual-channel SCSI controller on EISA slot #11,
947 # thus you need to bump this figure to 12 for them.
948 options         EISA_SLOTS=12
949
950 #
951 # PCI bus & PCI options:
952 #
953
954 \f
955 #####################################################################
956 # HARDWARE DEVICE CONFIGURATION
957
958 # For ISA the required hints are listed.
959 # EISA, MCA, PCI and pccard are self identifying buses, so no hints
960 # are needed.
961
962 #
963 # Mandatory devices:
964 #
965
966 # The keyboard controller; it controls the keyboard and the PS/2 mouse.
967 device          atkbdc  1
968 hint.atkbdc.0.at="isa"
969 hint.atkbdc.0.port="0x060"
970
971 # The AT keyboard
972 device          atkbd
973 hint.atkbd.0.at="atkbdc"
974 hint.atkbd.0.irq="1"
975
976 # Options for atkbd:
977 options         ATKBD_DFLT_KEYMAP       # specify the built-in keymap
978 makeoptions     ATKBD_DFLT_KEYMAP="jp.106"
979
980 # These options are valid for other keyboard drivers as well.
981 options         KBD_DISABLE_KEYMAP_LOAD # refuse to load a keymap
982 options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
983
984 # `flags' for atkbd:
985 #       0x01    Force detection of keyboard, else we always assume a keyboard
986 #       0x02    Don't reset keyboard, useful for some newer ThinkPads
987 #       0x03    Force detection and avoid reset, might help with certain
988 #               dockingstations
989 #       0x04    Old-style (XT) keyboard support, useful for older ThinkPads
990
991 # PS/2 mouse
992 device          psm
993 hint.psm.0.at="atkbdc"
994 hint.psm.0.irq="12"
995
996 # Options for psm:
997 options         PSM_HOOKRESUME          #hook the system resume event, useful
998                                         #for some laptops
999 options         PSM_RESETAFTERSUSPEND   #reset the device at the resume event
1000
1001 # The video card driver.
1002 device          vga
1003 hint.vga.0.at="isa"
1004
1005 # Options for vga:
1006 # Try the following option if the mouse pointer is not drawn correctly
1007 # or font does not seem to be loaded properly.  May cause flicker on
1008 # some systems.
1009 options         VGA_ALT_SEQACCESS
1010
1011 # If you can dispense with some vga driver features, you may want to
1012 # use the following options to save some memory.
1013 #options        VGA_NO_FONT_LOADING     # don't save/load font
1014 #options        VGA_NO_MODE_CHANGE      # don't change video modes
1015
1016 # Older video cards may require this option for proper operation.
1017 options         VGA_SLOW_IOACCESS       # do byte-wide i/o's to TS and GDC regs
1018
1019 # The following option probably won't work with the LCD displays.
1020 options         VGA_WIDTH90             # support 90 column modes
1021
1022 options         FB_DEBUG                # Frame buffer debugging
1023 options         FB_INSTALL_CDEV         # install a CDEV entry in /dev
1024
1025 # Splash screen at start up!  Screen savers require this too.
1026 device          splash
1027
1028 # Various screen savers.
1029 device          apm_saver               # Requires APM
1030 device          blank_saver
1031 device          daemon_saver
1032 device          fade_saver
1033 device          fire_saver
1034 device          green_saver
1035 device          logo_saver
1036 device          rain_saver
1037 device          star_saver
1038 device          warp_saver
1039
1040 # The syscons console driver (sco color console compatible).
1041 device          sc      1
1042 hint.sc.0.at="isa"
1043 options         MAXCONS=16              # number of virtual consoles
1044 options         SC_ALT_MOUSE_IMAGE      # simplified mouse cursor in text mode
1045 options         SC_DFLT_FONT            # compile font in
1046 makeoptions     SC_DFLT_FONT=cp850
1047 options         SC_DISABLE_DDBKEY       # disable `debug' key
1048 options         SC_DISABLE_REBOOT       # disable reboot key sequence
1049 options         SC_HISTORY_SIZE=200     # number of history buffer lines
1050 options         SC_MOUSE_CHAR=0x3       # char code for text mode mouse cursor
1051 options         SC_PIXEL_MODE           # add support for the raster text mode
1052
1053 # The following options will let you change the default colors of syscons.
1054 options         SC_NORM_ATTR="(FG_GREEN|BG_BLACK)"
1055 options         SC_NORM_REV_ATTR="(FG_YELLOW|BG_GREEN)"
1056 options         SC_KERNEL_CONS_ATTR="(FG_RED|BG_BLACK)"
1057 options         SC_KERNEL_CONS_REV_ATTR="(FG_BLACK|BG_RED)"
1058
1059 # The following options will let you change the default behaviour of
1060 # cut-n-paste feature
1061 options         SC_CUT_SPACES2TABS      # convert leading spaces into tabs
1062 options         SC_CUT_SEPCHARS="\x20"  # set of characters that delimit words
1063                                         # (default is single space - "\x20")
1064
1065 # If you have a two button mouse, you may want to add the following option
1066 # to use the right button of the mouse to paste text.
1067 options         SC_TWOBUTTON_MOUSE
1068
1069 # You can selectively disable features in syscons.
1070 options         SC_NO_CUTPASTE
1071 options         SC_NO_FONT_LOADING
1072 options         SC_NO_HISTORY
1073 options         SC_NO_SYSMOUSE
1074
1075 # `flags' for sc
1076 #       0x80    Put the video card in the VESA 800x600 dots, 16 color mode
1077 #       0x100   Probe for a keyboard device periodically if one is not present
1078
1079 #
1080 # ACPI support using the Intel ACPI Component Architecture reference
1081 # implementation.
1082 #
1083 # ACPI_DEBUG enables the use of the debug.acpi.level and debug.acpi.layer
1084 # kernel environment variables to select initial debugging levels for the
1085 # Intel ACPICA code.  (Note that the Intel code must also have USE_DEBUGGER
1086 # defined when it is built).
1087 #
1088 # Note that building ACPI into the kernel is deprecated; the module is
1089 # normally loaded automatically by the loader.
1090 #
1091 device          acpica
1092 options         ACPI_DEBUG
1093
1094 #
1095 # Optional devices:
1096 #
1097
1098 # DRM options:
1099 # gammadrm:  3Dlabs Oxygen GMX 2000
1100 # mgadrm:    AGP Matrox G200, G400, G450, G550
1101 # tdfxdrm:   3dfx Voodoo 3/4/5 and Banshee
1102 # r128drm:   AGP ATI Rage 128
1103 # radeondrm: AGP ATI Radeon, including 7200 and 7500
1104 # DRM_LINUX: include linux compatibility, requires COMPAT_LINUX
1105 # DRM_DEBUG: inlcude debugging code, very slow
1106 #
1107 # mga, r128, and radeon require AGP in the kernel
1108
1109 device          gammadrm
1110 device          mgadrm
1111 device          "r128drm"
1112 device          radeondrm
1113 device          tdfxdrm
1114
1115 options         DRM_DEBUG
1116 options         DRM_LINUX
1117
1118 # 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support. This will create
1119 # the /dev/3dfx0 device to work with glide implementations. This should get
1120 # linked to /dev/3dfx and /dev/voodoo. Note that this is not the same as
1121 # the tdfx DRI module from XFree86 and is completely unrelated.
1122 #
1123 # To enable Linuxulator support, one must also include COMPAT_LINUX in the
1124 # config as well, or you will not have the dependencies. The other option
1125 # is to load both as modules.
1126
1127 device          tdfx                    # Enable 3Dfx Voodoo support
1128 options         TDFX_LINUX              # Enable Linuxulator support
1129
1130 #
1131 # SCSI host adapters:
1132 #
1133 # adv: All Narrow SCSI bus AdvanSys controllers.
1134 # adw: Second Generation AdvanSys controllers including the ADV940UW.
1135 # aha: Adaptec 154x/1535/1640
1136 # ahb: Adaptec 174x EISA controllers
1137 # ahc: Adaptec 274x/284x/2910/293x/294x/394x/3950x/3960x/398X/4944/
1138 #      19160x/29160x, aic7770/aic78xx
1139 # aic: Adaptec 6260/6360, APA-1460 (PC Card), NEC PC9801-100 (C-BUS)
1140 # amd: Support for the AMD 53C974 SCSI host adapter chip as found on devices
1141 #      such as the Tekram DC-390(T).
1142 # bt:  Most Buslogic controllers: including BT-445, BT-54x, BT-64x, BT-74x,
1143 #      BT-75x, BT-946, BT-948, BT-956, BT-958, SDC3211B, SDC3211F, SDC3222F
1144 # isp: Qlogic ISP 1020, 1040 and 1040B PCI SCSI host adapters,
1145 #      ISP 1240 Dual Ultra SCSI, ISP 1080 and 1280 (Dual) Ultra2,
1146 #      ISP 12160 Ultra3 SCSI,
1147 #      Qlogic ISP 2100 and ISP 2200 1Gb Fibre Channel host adapters.
1148 #      Qlogic ISP 2300 and ISP 2312 2Gb Fibre Channel host adapters.
1149 # ispfw: Firmware module for Qlogic host adapters
1150 # ncr: NCR 53C810, 53C825 self-contained SCSI host adapters.
1151 # ncv: NCR 53C500 based SCSI host adapters.
1152 # nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters.
1153 # stg: TMC 18C30, 18C50 based SCSI host adapters.
1154 # sym: Symbios/Logic 53C8XX family of PCI-SCSI I/O processors:
1155 #      53C810, 53C810A, 53C815, 53C825,  53C825A, 53C860, 53C875, 
1156 #      53C876, 53C885,  53C895, 53C895A, 53C896,  53C897, 53C1510D, 
1157 #      53C1010-33, 53C1010-66.
1158 # wds: WD7000
1159
1160 #
1161 # Note that the order is important in order for Buslogic ISA/EISA cards to be
1162 # probed correctly.
1163 #
1164 device          bt
1165 hint.bt.0.at="isa"
1166 hint.bt.0.port="0x330"
1167 device          adv
1168 hint.adv.0.at="isa"
1169 device          adw
1170 device          aha
1171 hint.aha.0.at="isa"
1172 device          aic
1173 hint.aic.0.at="isa"
1174 device          ahb
1175 device          ahc
1176 device          amd
1177 device          isp
1178 hint.isp.0.disable="1"
1179 hint.isp.0.role="3"
1180 hint.isp.0.prefer_iomap="1"
1181 hint.isp.0.prefer_memmap="1"
1182 hint.isp.0.fwload_disable="1"
1183 hint.isp.0.ignore_nvram="1"
1184 hint.isp.0.fullduplex="1"
1185 hint.isp.0.topology="lport"
1186 hint.isp.0.topology="nport"
1187 hint.isp.0.topology="lport-only"
1188 hint.isp.0.topology="nport-only"
1189 # we can't get u_int64_t types, nor can we get strings if it's got
1190 # a leading 0x, hence this silly dodge.
1191 hint.isp.0.portwnn="w50000000aaaa0000"
1192 hint.isp.0.nodewnn="w50000000aaaa0001"
1193 device          ispfw
1194 device          ncr
1195 device          ncv
1196 device          nsp
1197 device          sym
1198 device          stg
1199 hint.stg.0.at="isa"
1200 hint.stg.0.port="0x140"
1201 hint.stg.0.port="11"
1202 device          wds
1203 hint.wds.0.at="isa"
1204 hint.wds.0.port="0x350"
1205 hint.wds.0.irq="11"
1206 hint.wds.0.drq="6"
1207
1208 # The aic7xxx driver will attempt to use memory mapped I/O for all PCI
1209 # controllers that have it configured only if this option is set. Unfortunately,
1210 # this doesn't work on some motherboards, which prevents it from being the
1211 # default.
1212 options         AHC_ALLOW_MEMIO
1213
1214 # Enable diagnostic sequencer code.
1215 options         AHC_DEBUG_SEQUENCER
1216
1217 # Dump the contents of the ahc controller configuration PROM.
1218 options         AHC_DUMP_EEPROM
1219
1220 # Bitmap of units to enable targetmode operations.
1221 options         AHC_TMODE_ENABLE
1222
1223 # The adw driver will attempt to use memory mapped I/O for all PCI
1224 # controllers that have it configured only if this option is set.
1225 options         ADW_ALLOW_MEMIO
1226
1227 # Options used in dev/isp/ (Qlogic SCSI/FC driver).
1228 #
1229 #       ISP_TARGET_MODE         -       enable target mode operation
1230 #
1231 #options        ISP_TARGET_MODE=1
1232
1233 # Options used in dev/sym/ (Symbios SCSI driver).
1234 #options        SYM_SETUP_LP_PROBE_MAP  #-Low Priority Probe Map (bits)
1235                                         # Allows the ncr to take precedence
1236                                         # 1 (1<<0) -> 810a, 860
1237                                         # 2 (1<<1) -> 825a, 875, 885, 895
1238                                         # 4 (1<<2) -> 895a, 896, 1510d 
1239 #options        SYM_SETUP_SCSI_DIFF     #-HVD support for 825a, 875, 885
1240                                         # disabled:0 (default), enabled:1
1241 #options        SYM_SETUP_PCI_PARITY    #-PCI parity checking
1242                                         # disabled:0, enabled:1 (default)
1243 #options        SYM_SETUP_MAX_LUN       #-Number of LUNs supported
1244                                         # default:8, range:[1..64]
1245
1246 # The 'asr' driver provides support for current DPT/Adaptec SCSI RAID
1247 # controllers (SmartRAID V and VI and later).
1248 # These controllers require the CAM infrastructure.
1249 #
1250 device          asr
1251
1252 # The 'dpt' driver provides support for old DPT controllers (http://www.dpt.com/).
1253 # These have hardware RAID-{0,1,5} support, and do multi-initiator I/O.
1254 # The DPT controllers are commonly re-licensed under other brand-names -
1255 # some controllers by Olivetti, Dec, HP, AT&T, SNI, AST, Alphatronic, NEC and
1256 # Compaq are actually DPT controllers.
1257 #
1258 # See src/sys/dev/dpt for debugging and other subtle options.
1259 #   DPT_MEASURE_PERFORMANCE Enables a set of (semi)invasive metrics. Various
1260 #                           instruments are enabled.  The tools in
1261 #                           /usr/sbin/dpt_* assume these to be enabled.
1262 #   DPT_HANDLE_TIMEOUTS     Normally device timeouts are handled by the DPT.
1263 #                           If you ant the driver to handle timeouts, enable
1264 #                           this option.  If your system is very busy, this
1265 #                           option will create more trouble than solve.
1266 #   DPT_TIMEOUT_FACTOR      Used to compute the excessive amount of time to
1267 #                           wait when timing out with the above option.
1268 #  DPT_DEBUG_xxxx           These are controllable from sys/dev/dpt/dpt.h
1269 #  DPT_LOST_IRQ             When enabled, will try, once per second, to catch
1270 #                           any interrupt that got lost.  Seems to help in some
1271 #                           DPT-firmware/Motherboard combinations.  Minimal
1272 #                           cost, great benefit.
1273 #  DPT_RESET_HBA            Make "reset" actually reset the controller
1274 #                           instead of fudging it.  Only enable this if you
1275 #                           are 100% certain you need it.
1276
1277 device          dpt
1278
1279 # DPT options
1280 #!CAM# options  DPT_MEASURE_PERFORMANCE
1281 #!CAM# options  DPT_HANDLE_TIMEOUTS
1282 options         DPT_TIMEOUT_FACTOR=4
1283 options         DPT_LOST_IRQ
1284 options         DPT_RESET_HBA
1285 options         DPT_ALLOW_MEMIO
1286
1287 #
1288 # Compaq "CISS" RAID controllers (SmartRAID 5* series)
1289 # These controllers have a SCSI-like interface, and require the
1290 # CAM infrastructure.
1291 #
1292 device          ciss
1293
1294 #
1295 # Intel Integrated RAID controllers.
1296 # This driver was developed and is maintained by Intel.  Contacts
1297 # at Intel for this driver are
1298 # "Kannanthanam, Boji T" <boji.t.kannanthanam@intel.com> and
1299 # "Leubner, Achim" <achim.leubner@intel.com>.
1300 #
1301 device          iir
1302
1303 #
1304 # Mylex AcceleRAID and eXtremeRAID controllers with v6 and later
1305 # firmware.  These controllers have a SCSI-like interface, and require
1306 # the CAM infrastructure.
1307 #
1308 device          mly
1309
1310 #
1311 # Adaptec FSA RAID controllers, including integrated DELL controllers,
1312 # the Dell PERC 2/QC and the HP NetRAID-4M
1313 #
1314 # AAC_COMPAT_LINUX      Include code to support Linux-binary management
1315 #                       utilities (requires Linux compatibility
1316 #                       support).
1317 #
1318 device          aac
1319 device          aacp    # SCSI Passthrough interface (optional, CAM required)
1320
1321 #
1322 # Compaq Smart RAID, Mylex DAC960 and AMI MegaRAID controllers.  Only
1323 # one entry is needed; the code will find and configure all supported
1324 # controllers.
1325 #
1326 device          ida             # Compaq Smart RAID
1327 device          mlx             # Mylex DAC960
1328 device          amr             # AMI MegaRAID
1329
1330 #
1331 # 3ware ATA RAID
1332 #
1333 device          twe             # 3ware ATA RAID
1334
1335 #
1336 # The 'ATA' driver supports all ATA and ATAPI devices, including PC Card
1337 # devices. You only need one "device ata" for it to find all
1338 # PCI and PC Card ATA/ATAPI devices on modern machines.
1339 device          ata
1340 device          atadisk         # ATA disk drives
1341 device          atapicd         # ATAPI CDROM drives
1342 device          atapifd         # ATAPI floppy drives
1343 device          atapist         # ATAPI tape drives
1344
1345 #
1346 # For older non-PCI, non-PnPBIOS systems, these are the hints lines to add:
1347 hint.ata.0.at="isa"
1348 hint.ata.0.port="0x1f0"
1349 hint.ata.0.irq="14"
1350 hint.ata.1.at="isa"
1351 hint.ata.1.port="0x170"
1352 hint.ata.1.irq="15"
1353
1354 #
1355 # The following options are valid on the ATA driver:
1356 #
1357 # ATA_STATIC_ID:        controller numbering is static ie depends on location
1358 #                       else the device numbers are dynamically allocated.
1359
1360 options         ATA_STATIC_ID
1361
1362 #
1363 # Standard floppy disk controllers and floppy tapes, supports
1364 # the Y-E DATA External FDD (PC Card)
1365 #
1366 device          fdc
1367 hint.fdc.0.at="isa"
1368 hint.fdc.0.port="0x3F0"
1369 hint.fdc.0.irq="6"
1370 hint.fdc.0.drq="2"
1371 #
1372 # FDC_DEBUG enables floppy debugging.  Since the debug output is huge, you
1373 # gotta turn it actually on by setting the variable fd_debug with DDB,
1374 # however.
1375 options         FDC_DEBUG
1376 #
1377 # Activate this line if you happen to have an Insight floppy tape.
1378 # Probing them proved to be dangerous for people with floppy disks only,
1379 # so it's "hidden" behind a flag:
1380 #hint.fdc.0.flags="1"
1381
1382 # Specify floppy devices
1383 hint.fd.0.at="fdc0"
1384 hint.fd.0.drive="0"
1385 hint.fd.1.at="fdc0"
1386 hint.fd.1.drive="1"
1387
1388 #
1389 # sio: serial ports (see sio(4)), including support for various
1390 #      PC Card devices, such as Modem and NICs (see etc/defaults/pccard.conf)
1391
1392 device          sio
1393 hint.sio.0.at="isa"
1394 hint.sio.0.port="0x3F8"
1395 hint.sio.0.flags="0x10"
1396 hint.sio.0.irq="4"
1397
1398 #
1399 # `flags' for serial drivers that support consoles (only for sio now):
1400 #       0x10    enable console support for this unit.  The other console flags
1401 #               are ignored unless this is set.  Enabling console support does
1402 #               not make the unit the preferred console - boot with -h or set
1403 #               the 0x20 flag for that.  Currently, at most one unit can have
1404 #               console support; the first one (in config file order) with
1405 #               this flag set is preferred.  Setting this flag for sio0 gives
1406 #               the old behaviour.
1407 #       0x20    force this unit to be the console (unless there is another
1408 #               higher priority console).  This replaces the COMCONSOLE option.
1409 #       0x40    reserve this unit for low level console operations.  Do not
1410 #               access the device in any normal way.
1411 #       0x80    use this port for serial line gdb support in ddb.
1412 #
1413 # PnP `flags'
1414 #       0x1     disable probing of this device.  Used to prevent your modem
1415 #               from being attached as a PnP modem.
1416 #
1417
1418 # Options for serial drivers that support consoles (only for sio now):
1419 options         BREAK_TO_DEBUGGER       #a BREAK on a comconsole goes to
1420                                         #DDB, if available.
1421 options         CONSPEED=115200         # speed for serial console
1422                                         # (default 9600)
1423
1424 # Solaris implements a new BREAK which is initiated by a character
1425 # sequence CR ~ ^b which is similar to a familiar pattern used on
1426 # Sun servers by the Remote Console.
1427 options         ALT_BREAK_TO_DEBUGGER
1428
1429 # Options for sio:
1430 options         COM_ESP                 #code for Hayes ESP
1431 options         COM_MULTIPORT           #code for some cards with shared IRQs
1432
1433 # Other flags for sio that aren't documented in the man page.
1434 #       0x20000 enable hardware RTS/CTS and larger FIFOs.  Only works for
1435 #               ST16650A-compatible UARTs.
1436
1437 # PCI Universal Communications driver
1438 # Supports various single and multi port PCI serial cards. Maybe later
1439 # also the parallel ports on combination serial/parallel cards. New cards
1440 # can be added in src/sys/dev/puc/pucdata.c.
1441 #
1442 # If the PUC_FASTINTR option is used the driver will try to use fast
1443 # interrupts. The card must then be the only user of that interrupt.
1444 # Interrupts cannot be shared when using PUC_FASTINTR.
1445 device          puc
1446 options         PUC_FASTINTR
1447
1448 #
1449 # Network interfaces:
1450 #
1451 # MII bus support is required for some PCI 10/100 ethernet NICs,
1452 # namely those which use MII-compliant transceivers or implement
1453 # tranceiver control interfaces that operate like an MII. Adding
1454 # "device miibus0" to the kernel config pulls in support for
1455 # the generic miibus API and all of the PHY drivers, including a
1456 # generic one for PHYs that aren't specifically handled by an
1457 # individual driver.
1458 device          miibus
1459
1460 # an:   Aironet 4500/4800 802.11 wireless adapters. Supports the PCMCIA,
1461 #       PCI and ISA varieties.
1462 # ar:   Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver
1463 #       (requires sppp)
1464 # awi:  Support for IEEE 802.11 PC Card devices using the AMD Am79C930 and
1465 #       Harris (Intersil) Chipset with PCnetMobile firmware by AMD.
1466 # bge:  Support for gigabit ethernet adapters based on the Broadcom
1467 #       BCM570x family of controllers, including the 3Com 3c996-T,
1468 #       the Netgear GA302T, the SysKonnect SK-9D21 and SK-9D41, and
1469 #       the embedded gigE NICs on Dell PowerEdge 2550 servers.
1470 # cm:   Arcnet SMC COM90c26 / SMC COM90c56
1471 #       (and SMC COM90c66 in '56 compatibility mode) adapters.
1472 # cnw:  Xircom CNW/Netware Airsurfer PC Card adapter
1473 # cs:   IBM Etherjet and other Crystal Semi CS89x0-based adapters
1474 # dc:   Support for PCI fast ethernet adapters based on the DEC/Intel 21143
1475 #       and various workalikes including:
1476 #       the ADMtek AL981 Comet and AN985 Centaur, the ASIX Electronics
1477 #       AX88140A and AX88141, the Davicom DM9100 and DM9102, the Lite-On
1478 #       82c168 and 82c169 PNIC, the Lite-On/Macronix LC82C115 PNIC II
1479 #       and the Macronix 98713/98713A/98715/98715A/98725 PMAC. This driver
1480 #       replaces the old al, ax, dm, pn and mx drivers.  List of brands:
1481 #       Digital DE500-BA, Kingston KNE100TX, D-Link DFE-570TX, SOHOware SFA110, 
1482 #       SVEC PN102-TX, CNet Pro110B, 120A, and 120B, Compex RL100-TX, 
1483 #       LinkSys LNE100TX, LNE100TX V2.0, Jaton XpressNet, Alfa Inc GFC2204,
1484 #       KNE110TX.
1485 # de:   Digital Equipment DC21040
1486 # ed:   Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503
1487 #       HP PC Lan+, various PC Card devices (refer to etc/defauls/pccard.conf)
1488 #       (requires miibus)
1489 # em:   Intel Pro/1000 Gigabit Ethernet 82542, 82543, 82544 based adapters.
1490 # ep:   3Com 3C509, 3C529, 3C556, 3C562D, 3C563D, 3C572, 3C574X, 3C579, 3C589
1491 #       and PC Card devices using these chipsets.
1492 # ex:   Intel EtherExpress Pro/10 and other i82595-based adapters,
1493 #       Olicom Ethernet PC Card devices.
1494 # fe:   Fujitsu MB86960A/MB86965A Ethernet
1495 # fea:  DEC DEFEA EISA FDDI adapter
1496 # fpa:  Support for the Digital DEFPA PCI FDDI. `device fddi' is also needed.
1497 # fxp:  Intel EtherExpress Pro/100B
1498 #       (hint of prefer_iomap can be done to prefer I/O instead of Mem mapping)
1499 # gx:   Intel Pro/1000 Gigabit Ethernet (82542, 82543-F, 82543-T)
1500 # lge:  Support for PCI gigabit ethernet adapters based on the Level 1
1501 #       LXT1001 NetCellerator chipset. This includes the D-Link DGE-500SX,
1502 #       SMC TigerCard 1000 (SMC9462SX), and some Addtron cards.
1503 # lnc:  Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, AMD Am7990 and
1504 #       Am79C960)
1505 # nge:  Support for PCI gigabit ethernet adapters based on the National
1506 #       Semiconductor DP83820 and DP83821 chipset. This includes the
1507 #       SMC EZ Card 1000 (SMC9462TX), D-Link DGE-500T, Asante FriendlyNet
1508 #       GigaNIX 1000TA and 1000TPC, the Addtron AEG320T, the LinkSys
1509 #       EG1032 and EG1064, the Surecom EP-320G-TX and the Netgear GA622T.
1510 # pcn:  Support for PCI fast ethernet adapters based on the AMD Am79c97x
1511 #       chipsets, including the PCnet/FAST, PCnet/FAST+, PCnet/PRO and
1512 #       PCnet/Home. These were previously handled by the lnc driver (and
1513 #       still will be if you leave this driver out of the kernel).
1514 # rl:   Support for PCI fast ethernet adapters based on the RealTek 8129/8139
1515 #       chipset.  Note that the RealTek driver defaults to using programmed
1516 #       I/O to do register accesses because memory mapped mode seems to cause
1517 #       severe lockups on SMP hardware.  This driver also supports the
1518 #       Accton EN1207D `Cheetah' adapter, which uses a chip called
1519 #       the MPX 5030/5038, which is either a RealTek in disguise or a
1520 #       RealTek workalike.  Note that the D-Link DFE-530TX+ uses the RealTek
1521 #       chipset and is supported by this driver, not the 'vr' driver.
1522 # sf:   Support for Adaptec Duralink PCI fast ethernet adapters based on the
1523 #       Adaptec AIC-6915 "starfire" controller.
1524 #       This includes dual and quad port cards, as well as one 100baseFX card.
1525 #       Most of these are 64-bit PCI devices, except for one single port
1526 #       card which is 32-bit.
1527 # sis:  Support for NICs based on the Silicon Integrated Systems SiS 900,
1528 #       SiS 7016 and NS DP83815 PCI fast ethernet controller chips.
1529 # sk:   Support for the SysKonnect SK-984x series PCI gigabit ethernet NICs.
1530 #       This includes the SK-9841 and SK-9842 single port cards (single mode
1531 #       and multimode fiber) and the SK-9843 and SK-9844 dual port cards
1532 #       (also single mode and multimode).
1533 #       The driver will autodetect the number of ports on the card and
1534 #       attach each one as a separate network interface.
1535 # sn:   Support for ISA and PC Card Ethernet devices using the
1536 #       SMC91C90/92/94/95 chips.
1537 # sr:   RISCom/N2 hdlc sync 1/2 port V.35/X.21 serial driver (requires sppp)
1538 # ste:  Sundance Technologies ST201 PCI fast ethernet controller, includes
1539 #       the D-Link DFE-550TX.
1540 # ti:   Support for PCI gigabit ethernet NICs based on the Alteon Networks
1541 #       Tigon 1 and Tigon 2 chipsets.  This includes the Alteon AceNIC, the
1542 #       3Com 3c985, the Netgear GA620 and various others.  Note that you will
1543 #       probably want to bump up NMBCLUSTERS a lot to use this driver.
1544 # tl:   Support for the Texas Instruments TNETE100 series 'ThunderLAN'
1545 #       cards and integrated ethernet controllers.  This includes several
1546 #       Compaq Netelligent 10/100 cards and the built-in ethernet controllers
1547 #       in several Compaq Prosignia, Proliant and Deskpro systems.  It also
1548 #       supports several Olicom 10Mbps and 10/100 boards.
1549 # tx:   SMC 9432 TX, BTX and FTX cards. (SMC EtherPower II serie)
1550 # txp:  Support for 3Com 3cR990 cards with the "Typhoon" chipset
1551 # vr:   Support for various fast ethernet adapters based on the VIA
1552 #       Technologies VT3043 `Rhine I' and VT86C100A `Rhine II' chips,
1553 #       including the D-Link DFE530TX (see 'rl' for DFE530TX+), the Hawking 
1554 #       Technologies PN102TX, and the AOpen/Acer ALN-320.
1555 # vx:   3Com 3C590 and 3C595
1556 # wb:   Support for fast ethernet adapters based on the Winbond W89C840F chip.
1557 #       Note: this is not the same as the Winbond W89C940F, which is a
1558 #       NE2000 clone.
1559 # wi:   Lucent WaveLAN/IEEE 802.11 PCMCIA adapters. Note: this supports both
1560 #       the PCMCIA and ISA cards: the ISA card is really a PCMCIA to ISA
1561 #       bridge with a PCMCIA adapter plugged into it.
1562 # wl:   Lucent Wavelan (ISA card only).
1563 # xe:   Xircom/Intel EtherExpress Pro100/16 PC Card ethernet controller,
1564 #       Accton Fast EtherCard-16, Compaq Netelligent 10/100 PC Card,
1565 #       Toshiba 10/100 Ethernet PC Card, Xircom 16-bit Ethernet + Modem 56
1566 # xl:   Support for the 3Com 3c900, 3c905, 3c905B and 3c905C (Fast)
1567 #       Etherlink XL cards and integrated controllers.  This includes the
1568 #       integrated 3c905B-TX chips in certain Dell Optiplex and Dell
1569 #       Precision desktop machines and the integrated 3c905-TX chips
1570 #       in Dell Latitude laptop docking stations.
1571 #       Also supported: 3Com 3c980(C)-TX, 3Com 3cSOHO100-TX, 3Com 3c450-TX
1572
1573 # Order for ISA/EISA devices is important here
1574
1575 device          ar      1
1576 hint.ar.0.at="isa"
1577 hint.ar.0.port="0x300"
1578 hint.ar.0.irq="10"
1579 hint.ar.0.maddr="0xd0000"
1580 device          cm
1581 hint.cm.0.at="isa"
1582 hint.cm.0.port="0x2e0"
1583 hint.cm.0.irq="9"
1584 hint.cm.0.maddr="0xdc000"
1585 device          cs
1586 hint.cs.0.at="isa"
1587 hint.cs.0.port="0x300"
1588 device          ed
1589 #options        ED_NO_MIIBUS            # Disable ed miibus support
1590 hint.ed.0.at="isa"
1591 hint.ed.0.port="0x280"
1592 hint.ed.0.irq="5"
1593 hint.ed.0.maddr="0xd8000"
1594 device          ep
1595 device          ex
1596 device          fe      1
1597 hint.fe.0.at="isa"
1598 hint.fe.0.port="0x300"
1599 device          fea
1600 device          lnc     1
1601 hint.lnc.0.at="isa"
1602 hint.lnc.0.port="0x280"
1603 hint.lnc.0.irq="10"
1604 hint.lnc.0.drq="0"
1605 device          sr      1
1606 hint.sr.0.at="isa"
1607 hint.sr.0.port="0x300"
1608 hint.sr.0.irq="5"
1609 hint.sr.0.maddr="0xd0000"
1610 device          sn
1611 hint.sn.0.at="isa"
1612 hint.sn.0.port="0x300"
1613 hint.sn.0.irq="10"
1614 device          an
1615 device          awi
1616 device          cnw
1617 device          wi
1618 options         WLCACHE         # enables the signal-strength cache
1619 options         WLDEBUG         # enables verbose debugging output
1620 device          wl      1
1621 hint.wl.0.at="isa"
1622 hint.wl.0.port="0x300"
1623 device          xe
1624
1625 # PCI Ethernet NICs that use the common MII bus controller code.
1626 device          dc              # DEC/Intel 21143 and various workalikes
1627 device          fxp             # Intel EtherExpress PRO/100B (82557, 82558)
1628 hint.fxp.0.prefer_iomap="0"
1629 device          rl              # RealTek 8129/8139
1630 device          pcn             # AMD Am79C97x PCI 10/100 NICs
1631 device          sf              # Adaptec AIC-6915 (``Starfire'')
1632 device          sis             # Silicon Integrated Systems SiS 900/SiS 7016
1633 device          ste             # Sundance ST201 (D-Link DFE-550TX)
1634 device          tl              # Texas Instruments ThunderLAN
1635 device          tx              # SMC EtherPower II (83c170 ``EPIC'')
1636 device          vr              # VIA Rhine, Rhine II
1637 device          wb              # Winbond W89C840F
1638 device          xl              # 3Com 3c90x (``Boomerang'', ``Cyclone'')
1639
1640 # PCI Ethernet NICs.
1641 device          de              # DEC/Intel DC21x4x (``Tulip'')
1642 device          txp             # 3Com 3cR990 (``Typhoon'')
1643 device          vx              # 3Com 3c590, 3c595 (``Vortex'')
1644 device          my              # Myson controllers
1645
1646 # PCI Gigabit & FDDI NICs.
1647 device          bge
1648 device          gx
1649 device          lge
1650 device          nge
1651 device          sk
1652 device          ti
1653 device          fpa     1
1654
1655 #
1656 # ATM related options (Cranor version)
1657 # (note: this driver cannot be used with the HARP ATM stack)
1658 #
1659 # The `en' device provides support for Efficient Networks (ENI)
1660 # ENI-155 PCI midway cards, and the Adaptec 155Mbps PCI ATM cards (ANA-59x0).
1661 #
1662 # atm device provides generic atm functions and is required for
1663 # atm devices.
1664 # NATM enables the netnatm protocol family that can be used to
1665 # bypass TCP/IP.
1666 #
1667 # the current driver supports only PVC operations (no atm-arp, no multicast).
1668 # for more details, please read the original documents at
1669 # http://www.ccrc.wustl.edu/pub/chuck/tech/bsdatm/bsdatm.html
1670 #
1671 device          atm
1672 device          en
1673 options         NATM                    #native ATM
1674
1675 #
1676 # Audio drivers: `pcm', `sbc', `gusc'
1677 #
1678 # pcm: PCM audio through various sound cards.
1679 #
1680 # This has support for a large number of new audio cards, based on
1681 # CS423x, OPTi931, Yamaha OPL-SAx, and also for SB16, GusPnP.
1682 # For more information about this driver and supported cards,
1683 # see the pcm.4 man page.
1684 #
1685 # The flags of the device tells the device a bit more info about the
1686 # device that normally is obtained through the PnP interface.
1687 #       bit  2..0   secondary DMA channel;
1688 #       bit  4      set if the board uses two dma channels;
1689 #       bit 15..8   board type, overrides autodetection; leave it
1690 #                   zero if don't know what to put in (and you don't,
1691 #                   since this is unsupported at the moment...).
1692 #
1693 # Supported cards include:
1694 # Creative SoundBlaster ISA PnP/non-PnP
1695 # Supports ESS and Avance ISA chips as well.
1696 # Gravis UltraSound ISA PnP/non-PnP
1697 # Crystal Semiconductor CS461x/428x PCI
1698 # Neomagic 256AV (ac97)
1699 # Most of the more common ISA/PnP sb/mss/ess compatable cards.
1700
1701 device          pcm
1702
1703 # For non-pnp sound cards with no bridge drivers only:
1704 hint.pcm.0.at="isa"
1705 hint.pcm.0.irq="10"
1706 hint.pcm.0.drq="1"
1707 hint.pcm.0.flags="0x0"
1708
1709 #
1710 # midi: MIDI interfaces and synthesizers
1711 #
1712
1713 device          midi
1714
1715 # For non-pnp sound cards with no bridge drivers:
1716 hint.midi.0.at="isa"
1717 hint.midi.0.irq="5"
1718 hint.midi.0.flags="0x0"
1719
1720 # For serial ports (this example configures port 2):
1721 # TODO: implement generic tty-midi interface so that we can use
1722 #       other uarts.
1723 hint.midi.0.at="isa"
1724 hint.midi.0.port="0x2F8"
1725 hint.midi.0.irq="3"
1726
1727 #
1728 # seq: MIDI sequencer
1729 #
1730
1731 device          seq
1732
1733 # The bridge drivers for sound cards.  These can be separately configured
1734 # for providing services to the likes of new-midi.
1735 # When used with 'device pcm' they also provide pcm sound services.
1736 #
1737 # sbc:  Creative SoundBlaster ISA PnP/non-PnP
1738 #       Supports ESS and Avance ISA chips as well.
1739 # gusc: Gravis UltraSound ISA PnP/non-PnP
1740 # csa:  Crystal Semiconductor CS461x/428x PCI
1741
1742 # For non-PnP cards:
1743 device          sbc
1744 hint.sbc.0.at="isa"
1745 hint.sbc.0.port="0x220"
1746 hint.sbc.0.irq="5"
1747 hint.sbc.0.drq="1"
1748 hint.sbc.0.flags="0x15"
1749 device          gusc
1750 hint.gusc.0.at="isa"
1751 hint.gusc.0.port="0x220"
1752 hint.gusc.0.irq="5"
1753 hint.gusc.0.drq="1"
1754 hint.gusc.0.flags="0x13"
1755
1756 #
1757 # Miscellaneous hardware:
1758 #
1759 # meteor: Matrox Meteor video capture board
1760 # bktr: Brooktree bt848/848a/849a/878/879 video capture and TV Tuner board
1761 # cy: Cyclades serial driver
1762 # dgb: Digiboard PC/Xi and PC/Xe series driver (ALPHA QUALITY!)
1763 # digi: Digiboard driver
1764 # joy: joystick (including IO DATA PCJOY PC Card joystick)
1765 # rp: Comtrol Rocketport(ISA/PCI) - single card
1766 # si: Specialix SI/XIO 4-32 port terminal multiplexor
1767 # nmdm: nullmodem terminal driver (see nmdm(4))
1768
1769 # Notes on the Digiboard driver:
1770 #
1771 # The following flag values have special meanings in dgb:
1772 #       0x01 - alternate layout of pins
1773 #       0x02 - use the windowed PC/Xe in 64K mode
1774
1775 # Notes on the Comtrol Rocketport driver:
1776 #
1777 # The exact values used for rp0 depend on how many boards you have
1778 # in the system.  The manufacturer's sample configs are listed as:
1779 #
1780 #               device  rp      # core driver support
1781 #
1782 #   Comtrol Rocketport ISA single card
1783 #               hints.rp.0.at="isa"
1784 #               hints.rp.0.port="0x280"
1785 #
1786 #   If instead you have two ISA cards, one installed at 0x100 and the
1787 #   second installed at 0x180, then you should add the following to
1788 #   your kernel probe hints:
1789 #               hints.rp.0.at="isa"
1790 #               hints.rp.0.port="0x100"
1791 #               hints.rp.1.at="isa"
1792 #               hints.rp.1.port="0x180"
1793 #
1794 #   For 4 ISA cards, it might be something like this:
1795 #               hints.rp.0.at="isa"
1796 #               hints.rp.0.port="0x180"
1797 #               hints.rp.1.at="isa"
1798 #               hints.rp.1.port="0x100"
1799 #               hints.rp.2.at="isa"
1800 #               hints.rp.2.port="0x340"
1801 #               hints.rp.3.at="isa"
1802 #               hints.rp.3.port="0x240"
1803 #
1804 #   For PCI cards, you need no hints.
1805
1806 device          joy                     # PnP aware, hints for nonpnp only
1807 hint.joy.0.at="isa"
1808 hint.joy.0.port="0x201"
1809 device          cy      1
1810 options         CY_PCI_FASTINTR         # Use with cy_pci unless irq is shared
1811 hint.cy.0.at="isa"
1812 hint.cy.0.irq="10"
1813 hint.cy.0.maddr="0xd4000"
1814 hint.cy.0.msize="0x2000"
1815 device          dgb     1
1816 options         NDGBPORTS=16            # Defaults to 16*NDGB
1817 hint.dgb.0.at="isa"
1818 hint.dgb.0.port="0x220"
1819 hint.dgb.0.maddr="0xfc000"
1820 device          digi
1821 hint.digi.0.at="isa"
1822 hint.digi.0.port="0x104"
1823 hint.digi.0.maddr="0xd0000"
1824 # BIOS & FEP/OS components of device digi.
1825 device          digi_CX
1826 device          digi_CX_PCI
1827 device          digi_EPCX
1828 device          digi_EPCX_PCI
1829 device          digi_Xe
1830 device          digi_Xem
1831 device          digi_Xr
1832 device          rp
1833 hint.rp.0.at="isa"
1834 hint.rp.0.port="0x280"
1835 device          si
1836 options         SI_DEBUG
1837 hint.si.0.at="isa"
1838 hint.si.0.maddr="0xd0000"
1839 hint.si.0.irq="12"
1840 device          nmdm
1841 # HOT1 Xilinx 6200 card (http://www.vcc.com/)
1842 device          xrpu
1843
1844 #
1845 # The `meteor' device is a PCI video capture board. It can also have the
1846 # following options:
1847 #   options METEOR_ALLOC_PAGES=xxx      preallocate kernel pages for data entry
1848 #       figure (ROWS*COLUMN*BYTES_PER_PIXEL*FRAME+PAGE_SIZE-1)/PAGE_SIZE
1849 #   options METEOR_DEALLOC_PAGES        remove all allocated pages on close(2)
1850 #   options METEOR_DEALLOC_ABOVE=xxx    remove all allocated pages above the
1851 #       specified amount. If this value is below the allocated amount no action
1852 #       taken
1853 #   options METEOR_SYSTEM_DEFAULT={METEOR_PAL|METEOR_NTSC|METEOR_SECAM}, used
1854 #       for initialization of fps routine when a signal is not present.
1855 #
1856 # The 'bktr' device is a PCI video capture device using the Brooktree
1857 # bt848/bt848a/bt849a/bt878/bt879 chipset. When used with a TV Tuner it forms a
1858 # TV card, eg Miro PC/TV, Hauppauge WinCast/TV WinTV, VideoLogic Captivator,
1859 # Intel Smart Video III, AverMedia, IMS Turbo, FlyVideo.
1860 #
1861 # options       OVERRIDE_CARD=xxx
1862 # options       OVERRIDE_TUNER=xxx
1863 # options       OVERRIDE_MSP=1
1864 # options       OVERRIDE_DBX=1
1865 # These options can be used to override the auto detection
1866 # The current values for xxx are found in src/sys/dev/bktr/bktr_card.h
1867 # Using sysctl(8) run-time overrides on a per-card basis can be made
1868 #
1869 # options       BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_PAL
1870 # or
1871 # options       BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_NTSC
1872 # Specifes the default video capture mode.
1873 # This is required for Dual Crystal (28&35Mhz) boards where PAL is used
1874 # to prevent hangs during initialisation.  eg VideoLogic Captivator PCI.
1875 #
1876 # options       BKTR_USE_PLL
1877 # PAL or SECAM users who have a 28Mhz crystal (and no 35Mhz crystal)
1878 # must enable PLL mode with this option. eg some new Bt878 cards.
1879 #
1880 # options       BKTR_GPIO_ACCESS
1881 # This enable IOCTLs which give user level access to the GPIO port.
1882 #
1883 # options       BKTR_NO_MSP_RESET
1884 # Prevents the MSP34xx reset. Good if you initialise the MSP in another OS first
1885 #
1886 # options       BKTR_430_FX_MODE
1887 # Switch Bt878/879 cards into Intel 430FX chipset compatibility mode.
1888 #
1889 # options       BKTR_SIS_VIA_MODE
1890 # Switch Bt878/879 cards into SIS/VIA chipset compatibility mode which is
1891 # needed for some old SiS and VIA chipset motherboards.
1892 # This also allows Bt878/879 chips to work on old OPTi (<1997) chipset
1893 # motherboards and motherboards with bad or incomplete PCI 2.1 support.
1894 # As a rough guess, old = before 1998
1895 #
1896
1897 device          meteor  1
1898
1899 #
1900 # options       BKTR_USE_FREEBSD_SMBUS
1901 # Compile with FreeBSD SMBus implementation
1902 #
1903 # Brooktree driver has been ported to the new I2C framework. Thus,
1904 # you'll need to have the following 3 lines in the kernel config.
1905 #     device smbus
1906 #     device iicbus
1907 #     device iicbb
1908 #     device iicsmb
1909 # The iic and smb devices are only needed if you want to control other
1910 # I2C slaves connected to the external connector of some cards.
1911 #
1912 device          bktr    1
1913
1914 #
1915 # PC Card/PCMCIA
1916 # (OLDCARD)
1917 #
1918 # card: pccard slots
1919 # pcic: isa/pccard bridge
1920 device          pcic
1921 hint.pcic.0.at="isa"
1922 hint.pcic.1.at="isa"
1923 device          card
1924
1925 #
1926 # PC Card/PCMCIA and Cardbus
1927 # (NEWCARD)
1928 #
1929 # Note that NEWCARD and OLDCARD are incompatible.  Do not use both at the same
1930 # time.
1931 #
1932 # pccbb: isa/pccard and pci/cardbus bridge
1933 # pccard: pccard slots
1934 # cardbus: cardbus slots
1935 #device         pccbb
1936 #device         pccard
1937 #device         cardbus
1938
1939 #
1940 # SMB bus
1941 #
1942 # System Management Bus support is provided by the 'smbus' device.
1943 # Access to the SMBus device is via the 'smb' device (/dev/smb*),
1944 # which is a child of the 'smbus' device.
1945 #
1946 # Supported devices:
1947 # smb           standard io through /dev/smb*
1948 #
1949 # Supported SMB interfaces:
1950 # iicsmb        I2C to SMB bridge with any iicbus interface
1951 # bktr          brooktree848 I2C hardware interface
1952 # intpm         Intel PIIX4 (82371AB, 82443MX) Power Management Unit
1953 # alpm          Acer Aladdin-IV/V/Pro2 Power Management Unit
1954 # ichsmb        Intel ICH SMBus controller chips (82801AA, 82801AB, 82801BA)
1955 # viapm         VIA VT82C586B/596B/686A and VT8233 Power Management Unit 
1956 #
1957 device          smbus           # Bus support, required for smb below.
1958
1959 device          intpm
1960 device          alpm
1961 device          ichsmb
1962 device          viapm
1963
1964 device          smb
1965
1966 #
1967 # I2C Bus
1968 #
1969 # Philips i2c bus support is provided by the `iicbus' device.
1970 #
1971 # Supported devices:
1972 # ic    i2c network interface
1973 # iic   i2c standard io
1974 # iicsmb i2c to smb bridge. Allow i2c i/o with smb commands.
1975 #
1976 # Supported interfaces:
1977 # bktr  brooktree848 I2C software interface
1978 #
1979 # Other:
1980 # iicbb generic I2C bit-banging code (needed by lpbb, bktr)
1981 #
1982 device          iicbus          # Bus support, required for ic/iic/iicsmb below.
1983 device          iicbb
1984
1985 device          ic
1986 device          iic
1987 device          iicsmb          # smb over i2c bridge
1988
1989 # Parallel-Port Bus
1990 #
1991 # Parallel port bus support is provided by the `ppbus' device.
1992 # Multiple devices may be attached to the parallel port, devices
1993 # are automatically probed and attached when found.
1994 #
1995 # Supported devices:
1996 # vpo   Iomega Zip Drive
1997 #       Requires SCSI disk support ('scbus' and 'da'), best
1998 #       performance is achieved with ports in EPP 1.9 mode.
1999 # lpt   Parallel Printer
2000 # plip  Parallel network interface
2001 # ppi   General-purpose I/O ("Geek Port") + IEEE1284 I/O
2002 # pps   Pulse per second Timing Interface
2003 # lpbb  Philips official parallel port I2C bit-banging interface
2004 #
2005 # Supported interfaces:
2006 # ppc   ISA-bus parallel port interfaces.
2007 #
2008
2009 options         PPC_PROBE_CHIPSET # Enable chipset specific detection
2010                                   # (see flags in ppc(4))
2011 options         DEBUG_1284      # IEEE1284 signaling protocol debug
2012 options         PERIPH_1284     # Makes your computer act as a IEEE1284
2013                                 # compliant peripheral
2014 options         DONTPROBE_1284  # Avoid boot detection of PnP parallel devices
2015 options         VP0_DEBUG       # ZIP/ZIP+ debug
2016 options         LPT_DEBUG       # Printer driver debug
2017 options         PPC_DEBUG       # Parallel chipset level debug
2018 options         PLIP_DEBUG      # Parallel network IP interface debug
2019 options         PCFCLOCK_VERBOSE         # Verbose pcfclock driver
2020 options         PCFCLOCK_MAX_RETRIES=5   # Maximum read tries (default 10)
2021
2022 device          ppc
2023 hint.ppc.0.at="isa"
2024 hint.ppc.0.irq="7"
2025 device          ppbus
2026 device          vpo
2027 device          lpt
2028 device          plip
2029 device          ppi
2030 device          pps
2031 device          lpbb
2032 device          pcfclock
2033
2034 # Kernel BOOTP support
2035
2036 options         BOOTP           # Use BOOTP to obtain IP address/hostname
2037                                 # Requires NFSCLIENT and NFS_ROOT
2038 options         BOOTP_NFSROOT   # NFS mount root filesystem using BOOTP info
2039 options         BOOTP_NFSV3     # Use NFS v3 to NFS mount root
2040 options         BOOTP_COMPAT    # Workaround for broken bootp daemons.
2041 options         BOOTP_WIRED_TO=fxp0 # Use interface fxp0 for BOOTP
2042
2043 #
2044 # Add tie-ins for a hardware watchdog.  This only enable the hooks;
2045 # the user must still supply the actual driver.
2046 #
2047 options         HW_WDOG
2048
2049 #
2050 # Disable swapping. This option removes all code which actually performs
2051 # swapping, so it's not possible to turn it back on at run-time.
2052 #
2053 # This is sometimes usable for systems which don't have any swap space
2054 # (see also sysctls "vm.defer_swapspace_pageouts" and
2055 # "vm.disable_swapspace_pageouts")
2056 #
2057 #options        NO_SWAPPING
2058
2059 # Set the number of sf_bufs to allocate. sf_bufs are virtual buffers
2060 # for sendfile(2) that are used to map file VM pages, and normally
2061 # default to a quantity that is roughly 16*MAXUSERS+512. You would
2062 # typically want about 4 of these for each simultaneous file send.
2063 #
2064 options         NSFBUFS=1024
2065
2066 #
2067 # Enable extra debugging code for locks.  This stores the filename and
2068 # line of whatever acquired the lock in the lock itself, and change a
2069 # number of function calls to pass around the relevant data.  This is
2070 # not at all useful unless you are debugging lock code.  Also note
2071 # that it is likely to break e.g. fstat(1) unless you recompile your
2072 # userland with -DDEBUG_LOCKS as well.
2073 #
2074 options         DEBUG_LOCKS
2075
2076 \f
2077 #####################################################################
2078 # USB support
2079 # UHCI controller
2080 device          uhci
2081 # OHCI controller
2082 device          ohci
2083 # General USB code (mandatory for USB)
2084 device          usb
2085 #
2086 # USB Double Bulk Pipe devices
2087 device          udbp
2088 # Generic USB device driver
2089 device          ugen
2090 # Human Interface Device (anything with buttons and dials)
2091 device          uhid
2092 # USB keyboard
2093 device          ukbd
2094 # USB printer
2095 device          ulpt
2096 # USB Iomega Zip 100 Drive (Requires scbus and da)
2097 device          umass
2098 # USB modem support
2099 device          umodem
2100 # USB mouse
2101 device          ums
2102 # Diamond Rio 500 Mp3 player
2103 device          urio
2104 # USB scanners
2105 device          uscanner
2106 # USB serial support
2107 device          ucom
2108 device          uplcom
2109 # USB serial support for DDI pocket's PHS
2110 device          uvscom
2111 # USB Fm Radio
2112 device          ufm
2113 #
2114 # ADMtek USB ethernet. Supports the LinkSys USB100TX,
2115 # the Billionton USB100, the Melco LU-ATX, the D-Link DSB-650TX
2116 # and the SMC 2202USB. Also works with the ADMtek AN986 Pegasus
2117 # eval board.
2118 device          aue
2119 #
2120 # CATC USB-EL1201A USB ethernet. Supports the CATC Netmate
2121 # and Netmate II, and the Belkin F5U111.
2122 device          cue
2123 #
2124 # Kawasaki LSI ethernet. Supports the LinkSys USB10T,
2125 # Entrega USB-NET-E45, Peracom Ethernet Adapter, the
2126 # 3Com 3c19250, the ADS Technologies USB-10BT, the ATen UC10T,
2127 # the Netgear EA101, the D-Link DSB-650, the SMC 2102USB
2128 # and 2104USB, and the Corega USB-T.
2129 device          kue
2130
2131 # debugging options for the USB subsystem
2132 #
2133 options         UHCI_DEBUG
2134 options         OHCI_DEBUG
2135 options         USB_DEBUG
2136
2137 options         UGEN_DEBUG
2138 options         UHID_DEBUG
2139 options         UHUB_DEBUG
2140 options         UKBD_DEBUG
2141 options         ULPT_DEBUG
2142 options         UMASS_DEBUG
2143 options         UMS_DEBUG
2144 options         URIO_DEBUG
2145
2146 # options for ukbd:
2147 options         UKBD_DFLT_KEYMAP        # specify the built-in keymap
2148 makeoptions     UKBD_DFLT_KEYMAP=it.iso
2149
2150 #
2151 # Embedded system options:
2152 #
2153 # An embedded system might want to run something other than init.
2154 options         INIT_PATH="/sbin/init:/stand/sysinstall"
2155
2156 # Debug options
2157 options         BUS_DEBUG       # enable newbus debugging
2158 options         DEBUG_VFS_LOCKS # enable vfs lock debugging
2159 options         NPX_DEBUG       # enable npx debugging (FPU/math emu)
2160
2161 #####################################################################
2162 # SYSV IPC KERNEL PARAMETERS
2163 #
2164 # Maximum number of entries in a semaphore map.
2165 options         SEMMAP=31
2166
2167 # Maximum number of System V semaphores that can be used on the system at
2168 # one time. 
2169 options         SEMMNI=11
2170
2171 # Total number of semaphores system wide
2172 options         SEMMNS=61
2173
2174 # Total number of undo structures in system
2175 options         SEMMNU=31
2176
2177 # Maximum number of System V semaphores that can be used by a single process
2178 # at one time. 
2179 options         SEMMSL=61
2180
2181 # Maximum number of operations that can be outstanding on a single System V
2182 # semaphore at one time. 
2183 options         SEMOPM=101
2184
2185 # Maximum number of undo operations that can be outstanding on a single
2186 # System V semaphore at one time. 
2187 options         SEMUME=11
2188
2189 # Maximum number of shared memory pages system wide.
2190 options         SHMALL=1025
2191
2192 # Maximum size, in bytes, of a single System V shared memory region. 
2193 options         SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)"
2194 options         SHMMAXPGS=1025
2195
2196 # Minimum size, in bytes, of a single System V shared memory region. 
2197 options         SHMMIN=2
2198
2199 # Maximum number of shared memory regions that can be used on the system
2200 # at one time. 
2201 options         SHMMNI=33
2202
2203 # Maximum number of System V shared memory regions that can be attached to
2204 # a single process at one time. 
2205 options         SHMSEG=9
2206
2207 # Set the amount of time (in seconds) the system will wait before
2208 # rebooting automatically when a kernel panic occurs.  If set to (-1),
2209 # the system will wait indefinitely until a key is pressed on the
2210 # console.
2211 options         PANIC_REBOOT_WAIT_TIME=16
2212
2213 #####################################################################
2214
2215 # More undocumented options for linting.
2216 # Note that documenting these are not considered an affront.
2217
2218 options         CAM_DEBUG_DELAY
2219
2220 # VFS cluster debugging.
2221 options         CLUSTERDEBUG
2222
2223 options         DEBUG
2224
2225 # Kernel filelock debugging.
2226 options         LOCKF_DEBUG
2227
2228 # System V compatible message queues
2229 # Please note that the values provided here are used to test kernel
2230 # building.  The defaults in the sources provide almost the same numbers.
2231 # MSGSSZ must be a power of 2 between 8 and 1024.
2232 options         MSGMNB=2049     # Max number of chars in queue
2233 options         MSGMNI=41       # Max number of message queue identifiers
2234 options         MSGSEG=2049     # Max number of message segments
2235 options         MSGSSZ=16       # Size of a message segment
2236 options         MSGTQL=41       # Max number of messages in system
2237
2238 options         NBUF=512        # Number of buffer headers
2239
2240 options         NMBCLUSTERS=1024        # Number of mbuf clusters
2241
2242 options         SCSI_NCR_DEBUG
2243 options         SCSI_NCR_MAX_SYNC=10000
2244 options         SCSI_NCR_MAX_WIDE=1
2245 options         SCSI_NCR_MYADDR=7
2246
2247 options         SC_DEBUG_LEVEL=5        # Syscons debug level
2248 options         SC_RENDER_DEBUG # syscons rendering debugging
2249
2250 options         SHOW_BUSYBUFS   # List buffers that prevent root unmount
2251 options         SLIP_IFF_OPTS
2252 options         VFS_BIO_DEBUG   # VFS buffer I/O debugging
2253
2254 # Yet more undocumented options for linting.
2255 options         AAC_DEBUG
2256 options         ACD_DEBUG
2257 options         ACPI_MAX_THREADS=1
2258 #!options       ACPI_NO_SEMAPHORES
2259 # Broken:
2260 ##options       ASR_MEASURE_PERFORMANCE
2261 options         AST_DEBUG
2262 options         ATAPI_DEBUG
2263 options         ATA_DEBUG
2264 # BKTR_ALLOC_PAGES has no effect except to cause warnings, and
2265 # BROOKTREE_ALLOC_PAGES hasn't actually been superseded by it, since the
2266 # driver still mostly spells this option BROOKTREE_ALLOC_PAGES.
2267 ##options       BKTR_ALLOC_PAGES="(217*4+1)"
2268 options         BROOKTREE_ALLOC_PAGES="(217*4+1)"
2269 # Broken:
2270 ##options       CAPABILITIES
2271 options         MAXFILES=999
2272 # METEOR_TEST_VIDEO has no effect since meteor is broken.
2273 options         METEOR_TEST_VIDEO
2274 options         NDEVFSINO=1025
2275 options         NDEVFSOVERFLOW=32769
2276 options         NETGRAPH_BRIDGE
2277 # SIMOS is broken since it is alpha-only but not ifdefed.
2278 ##options       SIMOS
2279
2280 # Yet more undocumented options for linting.
2281 options         VGA_DEBUG