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