Deleted Added
full compact
NOTES (93719) NOTES (93731)
1#
2# NOTES -- Lines that can be cut/pasted into kernel and hints configs.
3#
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.
4# This file contains machine dependent kernel configuration notes. For
5# machine independent notes, look in /sys/conf/NOTES.
7#
6#
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.
7# $FreeBSD: head/sys/i386/conf/NOTES 93731 2002-04-03 18:09:17Z jhb $
10#
8#
11# Please use ``make LINT'' to create an old-style LINT file if you want to
12# do kernel test-builds.
13#
14# $FreeBSD: head/sys/i386/conf/NOTES 93719 2002-04-03 10:56:59Z ru $
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#
22machine i386
23
9
10#
11# This directive is mandatory; it defines the architecture to be
12# configured for; in this case, the 386 family based IBM-PC and
13# compatibles.
14#
15machine i386
16
24#
25# This is the ``identification'' of the kernel. Usually this should
26# be the same as the name of your kernel.
27#
28ident LINT
29
30#
31# The `maxusers' parameter controls the static sizing of a number of
32# internal system tables by a formula defined in subr_param.c. Setting
33# maxusers to 0 will cause the system to auto-size based on physical
34# memory.
35#
36maxusers 10
37
38#
39# We want LINT to cover profiling as well
40profile 2
41
42#
43# The `makeoptions' parameter allows variables to be passed to the
44# generated Makefile in the build area.
45#
46# CONF_CFLAGS gives some extra compiler flags that are added to ${CFLAGS}
47# after most other flags. Here we use it to inhibit use of non-optimal
48# gcc builtin functions (e.g., memcmp).
49#
50# DEBUG happens to be magic.
51# The following is equivalent to 'config -g KERNELNAME' and creates
52# 'kernel.debug' compiled with -g debugging as well as a normal
53# 'kernel'. Use 'make install.debug' to install the debug kernel
54# but that isn't normally necessary as the debug symbols are not loaded
55# by the kernel and are not useful there anyway.
56#
57# KERNEL can be overridden so that you can change the default name of your
58# kernel.
59#
60# MODULES_OVERRIDE can be used to limit modules built to a specific list.
61#
62makeoptions CONF_CFLAGS=-fno-builtin #Don't allow use of memcmp, etc.
63#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
64#makeoptions KERNEL=foo #Build kernel "foo" and install "/foo"
65# Only build Linux API modules and plus those parts of the sound system I need.
66#makeoptions MODULES_OVERRIDE="linux sound/snd sound/pcm sound/driver/maestro3"
67
68#
69# Certain applications can grow to be larger than the 512M limit
70# that FreeBSD initially imposes. Below are some options to
71# allow that limit to grow to 1GB, and can be increased further
72# with changing the parameters. MAXDSIZ is the maximum that the
73# limit can be set to, and the DFLDSIZ is the default value for
74# the limit. MAXSSIZ is the maximum that the stack limit can be
75# set to. You might want to set the default lower than the max,
76# and explicitly set the maximum with a shell command for processes
77# that regularly exceed the limit like INND.
78#
79options MAXDSIZ="(1024UL*1024*1024)"
80options MAXSSIZ="(128UL*1024*1024)"
81options DFLDSIZ="(1024UL*1024*1024)"
82
83#
84# BLKDEV_IOSIZE sets the default block size used in user block
85# device I/O. Note that this value will be overriden by the label
86# when specifying a block device from a label with a non-0
87# partition blocksize. The default is PAGE_SIZE.
88#
89options BLKDEV_IOSIZE=8192
90
91# Options for the VM subsystem
92options PQ_CACHESIZE=512 # color for 512k/16k cache
93options KSTACK_PAGES=3 # number of 4k stack pages per process
94# Deprecated options supported for backwards compatibility
95#options PQ_NOOPT # No coloring
96#options PQ_LARGECACHE # color for 512k/16k cache
97#options PQ_HUGECACHE # color for 1024k/16k cache
98#options PQ_MEDIUMCACHE # color for 256k/16k cache
99#options PQ_NORMALCACHE # color for 64k/16k cache
100
101# This allows you to actually store this configuration file into
102# the kernel binary itself, where it may be later read by saying:
103# strings -n 3 /boot/kernel/kernel | sed -n 's/^___//p' > MYKERNEL
104#
105options INCLUDE_CONFIG_FILE # Include this file in kernel
106
107options GEOM # Use the GEOMetry system for
108 # disk-I/O transformations.
109
110#
111# The root device and filesystem type can be compiled in;
112# this provides a fallback option if the root device cannot
113# be correctly guessed by the bootstrap code, or an override if
114# the RB_DFLTROOT flag (-r) is specified when booting the kernel.
115#
116options ROOTDEVNAME=\"ufs:da0s2e\"
117
118
119#####################################################################
120# SMP OPTIONS:
121#
17
18#####################################################################
19# SMP OPTIONS:
20#
122# SMP enables building of a Symmetric MultiProcessor Kernel.
123# APIC_IO enables the use of the IO APIC for Symmetric I/O.
124#
125# Notes:
126#
127# An SMP kernel will ONLY run on an Intel MP spec. qualified motherboard.
128#
129# Be sure to disable 'cpu I386_CPU' && 'cpu I486_CPU' for SMP kernels.
130#
131# Check the 'Rogue SMP hardware' section to see if additional options
132# are required by your hardware.
133#
134
135# Mandatory:
21# APIC_IO enables the use of the IO APIC for Symmetric I/O.
22#
23# Notes:
24#
25# An SMP kernel will ONLY run on an Intel MP spec. qualified motherboard.
26#
27# Be sure to disable 'cpu I386_CPU' && 'cpu I486_CPU' for SMP kernels.
28#
29# Check the 'Rogue SMP hardware' section to see if additional options
30# are required by your hardware.
31#
32
33# Mandatory:
136options SMP # Symmetric MultiProcessor Kernel
137options APIC_IO # Symmetric (APIC) I/O
138
139#
140# Rogue SMP hardware:
141#
142
143# Bridged PCI cards:
144#
145# The MP tables of most of the current generation MP motherboards
146# do NOT properly support bridged PCI cards. To use one of these
147# cards you should refer to ???
148
34options APIC_IO # Symmetric (APIC) I/O
35
36#
37# Rogue SMP hardware:
38#
39
40# Bridged PCI cards:
41#
42# The MP tables of most of the current generation MP motherboards
43# do NOT properly support bridged PCI cards. To use one of these
44# cards you should refer to ???
45
149# SMP Debugging Options:
150#
151# MUTEX_DEBUG enables various extra assertions in the mutex code.
152# WITNESS enables the mutex witness code which detects deadlocks and cycles
153# during locking operations.
154# WITNESS_DDB causes the witness code to drop into the kernel debugger if
155# a lock heirarchy violation occurs or if locks are held when going to
156# sleep.
157# WITNESS_SKIPSPIN disables the witness checks on spin mutexes.
158options MUTEX_DEBUG
159options WITNESS
160options WITNESS_DDB
161options WITNESS_SKIPSPIN
162
163
164#####################################################################
165# CPU OPTIONS
166
167#
168# You must specify at least one CPU (the one you intend to run on);
169# deleting the specification for CPUs you don't need to use may make
170# parts of the system run faster.

--- 118 unchanged lines hidden (view full) ---

289# bogus (but freely-distributable) math emulator, or a much more
290# fully-featured but GPL-licensed emulator taken from Linux.
291#
292options MATH_EMULATE #Support for x87 emulation
293# Don't enable both of these in a real config.
294options GPL_MATH_EMULATE #Support for x87 emulation via
295 #new math emulator
296
46
47#####################################################################
48# CPU OPTIONS
49
50#
51# You must specify at least one CPU (the one you intend to run on);
52# deleting the specification for CPUs you don't need to use may make
53# parts of the system run faster.

--- 118 unchanged lines hidden (view full) ---

172# bogus (but freely-distributable) math emulator, or a much more
173# fully-featured but GPL-licensed emulator taken from Linux.
174#
175options MATH_EMULATE #Support for x87 emulation
176# Don't enable both of these in a real config.
177options GPL_MATH_EMULATE #Support for x87 emulation via
178 #new math emulator
179
297
298#####################################################################
299# COMPATIBILITY OPTIONS
300
301#
180#
302# Implement system calls compatible with 4.3BSD and older versions of
303# FreeBSD. You probably do NOT want to remove this as much current code
304# still relies on the 4.3 emulation.
305#
306options COMPAT_43
307
308#
309# These three options provide support for System V Interface
310# Definition-style interprocess communication, in the form of shared
311# memory, semaphores, and message queues, respectively.
312#
313options SYSVSHM
314options SYSVSEM
315options SYSVMSG
316
317
318#####################################################################
319# DEBUGGING OPTIONS
320
321#
322# Enable the kernel debugger.
323#
324options DDB
325
326#
327# Don't drop into DDB for a panic. Intended for unattended operation
328# where you may want to drop to DDB from the console, but still want
329# the machine to recover from a panic
330#
331options DDB_UNATTENDED
332
333#
334# If using GDB remote mode to debug the kernel, there's a non-standard
335# extension to the remote protocol that can be used to use the serial
336# port as both the debugging port and the system console. It's non-
337# standard and you're on your own if you enable it. See also the
338# "remotechat" variables in the FreeBSD specific version of gdb.
339#
340options GDB_REMOTE_CHAT
341
342#
343# KTRACE enables the system-call tracing facility ktrace(2).
344#
345options KTRACE #kernel tracing
346
347#
348# KTR is a kernel tracing mechanism imported from BSD/OS. Currently it
349# has no userland interface aside from a few sysctl's. It is enabled with
350# the KTR option. KTR_ENTRIES defines the number of entries in the circular
351# trace buffer. KTR_COMPILE defines the mask of events to compile into the
352# kernel as defined by the KTR_* constants in <sys/ktr.h>. KTR_MASK defines the
353# initial value of the ktr_mask variable which determines at runtime what
354# events to trace. KTR_CPUMASK determines which CPU's log events, with
355# bit X corresponding to cpu X. KTR_VERBOSE enables dumping of KTR events
356# to the console by default. This functionality can be toggled via the
357# debug.ktr_verbose sysctl and defaults to off if KTR_VERBOSE is not defined.
358#
359options KTR
360options KTR_ENTRIES=1024
361options KTR_COMPILE="(KTR_INTR|KTR_PROC)"
362options KTR_MASK=KTR_INTR
363options KTR_CPUMASK=0x3
364options KTR_VERBOSE
365
366#
367# The INVARIANTS option is used in a number of source files to enable
368# extra sanity checking of internal structures. This support is not
369# enabled by default because of the extra time it would take to check
370# for these conditions, which can only occur as a result of
371# programming errors.
372#
373options INVARIANTS
374
375#
376# The INVARIANT_SUPPORT option makes us compile in support for
377# verifying some of the internal structures. It is a prerequisite for
378# 'INVARIANTS', as enabling 'INVARIANTS' will make these functions be
379# called. The intent is that you can set 'INVARIANTS' for single
380# source files (by changing the source file or specifying it on the
381# command line) if you have 'INVARIANT_SUPPORT' enabled. Also, if you
382# wish to build a kernel module with 'INVARIANTS', then adding
383# 'INVARIANT_SUPPORT' to your kernel will provide all the necessary
384# infrastructure without the added overhead.
385#
386options INVARIANT_SUPPORT
387
388#
389# The DIAGNOSTIC option is used to enable extra debugging information
390# from some parts of the kernel. As this makes everything more noisy,
391# it is disabled by default.
392#
393options DIAGNOSTIC
394
395#
396# REGRESSION causes optional kernel interfaces necessary only for regression
397# testing to be enabled. These interfaces may consitute security risks
398# when enabled, as they permit processes to easily modify aspects of the
399# run-time environment to reproduce unlikely or unusual (possibly normally
400# impossible) scenarios.
401#
402options REGRESSION
403
404#
405# RESTARTABLE_PANICS allows one to continue from a panic as if it were
406# a call to the debugger via the Debugger() function instead. It is only
407# useful if a kernel debugger is present. To restart from a panic, reset
408# the panicstr variable to NULL and continue execution. This option is
409# for development use only and should NOT be used in production systems
410# to "workaround" a panic.
411#
412#options RESTARTABLE_PANICS
413
414#
415# PERFMON causes the driver for Pentium/Pentium Pro performance counters
416# to be compiled. See perfmon(4) for more information.
417#
418options PERFMON
419
181# PERFMON causes the driver for Pentium/Pentium Pro performance counters
182# to be compiled. See perfmon(4) for more information.
183#
184options PERFMON
185
420
421#
422# This option let some drivers co-exist that can't co-exist in a running
423# system. This is used to be able to compile all kernel code in one go for
424# quality assurance purposes (like this file, which the option takes it name
425# from.)
426#
427options COMPILING_LINT
428
429
430# XXX - this doesn't belong here either
431#options USERCONFIG #boot -c editor
432#options INTRO_USERCONFIG #imply -c and show intro screen
433#options VISUAL_USERCONFIG #visual boot -c editor
434
435#####################################################################
436# NETWORKING OPTIONS
437
438#
186
187#####################################################################
188# NETWORKING OPTIONS
189
190#
439# Protocol families:
440# Only the INET (Internet) family is officially supported in FreeBSD.
441# Source code for the NS (Xerox Network Service) is provided for amusement
442# value.
443#
444options INET #Internet communications protocols
445options INET6 #IPv6 communications protocols
446options IPSEC #IP security
447options IPSEC_ESP #IP security (crypto; define w/ IPSEC)
448options IPSEC_DEBUG #debug for IP security
449
450options IPX #IPX/SPX communications protocols
451options IPXIP #IPX in IP encapsulation (not available)
452options IPTUNNEL #IP in IPX encapsulation (not available)
453
454#options NCP #NetWare Core protocol
455
456options NETATALK #Appletalk communications protocols
457options NETATALKDEBUG #Appletalk debugging
458
459# These are currently broken but are shipped due to interest.
460#options NS #Xerox NS protocols
461#options NSIP #XNS over IP
462
463#
464# SMB/CIFS requester
465# NETSMB enables support for SMB protocol, it requires LIBMCHAIN and LIBICONV
466# options.
467# NETSMBCRYPTO enables support for encrypted passwords.
468options NETSMB #SMB/CIFS requester
469options NETSMBCRYPTO #encrypted password support for SMB
470
471# mchain library. It can be either loaded as KLD or compiled into kernel
472options LIBMCHAIN
473
474# netgraph(4). Enable the base netgraph code with the NETGRAPH option.
475# Individual node types can be enabled with the corresponding option
476# listed below; however, this is not strictly necessary as netgraph
477# will automatically load the corresponding KLD module if the node type
478# is not already compiled into the kernel. Each type below has a
479# corresponding man page, e.g., ng_async(8).
480options NETGRAPH #netgraph(4) system
481options NETGRAPH_ASYNC
482options NETGRAPH_BPF
483options NETGRAPH_CISCO
484options NETGRAPH_ECHO
485options NETGRAPH_ETHER
486options NETGRAPH_FRAME_RELAY
487options NETGRAPH_GIF
488options NETGRAPH_GIF_DEMUX
489options NETGRAPH_HOLE
490options NETGRAPH_IFACE
491options NETGRAPH_IP_INPUT
492options NETGRAPH_KSOCKET
493options NETGRAPH_LMI
494# MPPC compression requires proprietary files (not included)
495#options NETGRAPH_MPPC_COMPRESSION
496options NETGRAPH_MPPC_ENCRYPTION
497options NETGRAPH_ONE2MANY
498options NETGRAPH_PPP
499options NETGRAPH_PPPOE
500options NETGRAPH_PPTPGRE
501options NETGRAPH_RFC1490
502options NETGRAPH_SOCKET
503options NETGRAPH_SPLIT
504options NETGRAPH_TEE
505options NETGRAPH_TTY
506options NETGRAPH_UI
507options NETGRAPH_VJC
508
509device mn # Munich32x/Falc54 Nx64kbit/sec cards.
510device lmc # tulip based LanMedia WAN cards
511device musycc # LMC/SBE LMC1504 quad T1/E1
512
513#
514# Network interfaces:
515# The `loop' device is MANDATORY when networking is enabled.
516# The `ether' device provides generic code to handle
517# Ethernets; it is MANDATORY when a Ethernet device driver is
518# configured or token-ring is enabled.
519# The `fddi' device provides generic code to support FDDI.
520# The `arcnet' device provides generic code to support Arcnet.
521# The `sppp' device serves a similar role for certain types
522# of synchronous PPP links (like `cx', `ar').
523# The `sl' device implements the Serial Line IP (SLIP) service.
524# The `ppp' device implements the Point-to-Point Protocol.
525# The `bpf' device enables the Berkeley Packet Filter. Be
526# aware of the legal and administrative consequences of enabling this
527# option. The number of devices determines the maximum number of
528# simultaneous BPF clients programs runnable.
529# The `disc' device implements a minimal network interface,
530# which throws away all packets sent and never receives any. It is
531# included for testing purposes. This shows up as the `ds' interface.
532# The `tap' device is a pty-like virtual Ethernet interface
533# The `tun' device implements (user-)ppp and nos-tun
534# The `gif' device implements IPv6 over IP4 tunneling,
535# IPv4 over IPv6 tunneling, IPv4 over IPv4 tunneling and
536# IPv6 over IPv6 tunneling.
537# The XBONEHACK option allows the same pair of addresses to be configured on
538# multiple gif interfaces.
539# The `faith' device captures packets sent to it and diverts them
540# to the IPv4/IPv6 translation daemon.
541# The `stf' device implements 6to4 encapsulation.
542# The `ef' device provides support for multiple ethernet frame types
543# specified via ETHER_* options. See ef(4) for details.
544#
545# The PPP_BSDCOMP option enables support for compress(1) style entire
546# packet compression, the PPP_DEFLATE is for zlib/gzip style compression.
547# PPP_FILTER enables code for filtering the ppp data stream and selecting
548# events for resetting the demand dial activity timer - requires bpf.
549# See pppd(8) for more details.
550#
551device ether #Generic Ethernet
552device vlan #VLAN support
553device token #Generic TokenRing
554device fddi #Generic FDDI
555device arcnet #Generic Arcnet
556device sppp #Generic Synchronous PPP
557device loop 1 #Network loopback device
558device bpf #Berkeley packet filter
559device disc #Discard device (ds0, ds1, etc)
560device tap #Virtual Ethernet driver
561device tun #Tunnel driver (ppp(8), nos-tun(8))
562device sl #Serial Line IP
563device ppp 2 #Point-to-point protocol
564options PPP_BSDCOMP #PPP BSD-compress support
565options PPP_DEFLATE #PPP zlib/deflate/gzip support
566options PPP_FILTER #enable bpf filtering (needs bpf)
567
568device ef # Multiple ethernet frames support
569options ETHER_II # enable Ethernet_II frame
570options ETHER_8023 # enable Ethernet_802.3 (Novell) frame
571options ETHER_8022 # enable Ethernet_802.2 frame
572options ETHER_SNAP # enable Ethernet_802.2/SNAP frame
573
574# for IPv6
575device gif #IPv6 and IPv4 tunneling
576options XBONEHACK
577device faith #for IPv6 and IPv4 translation
578device stf #6to4 IPv6 over IPv4 encapsulation
579
580#
581# Internet family options:
582#
583# MROUTING enables the kernel multicast packet forwarder, which works
584# with mrouted(8).
585#
586# IPFIREWALL enables support for IP firewall construction, in
587# conjunction with the `ipfw' program. IPFIREWALL_VERBOSE sends
588# logged packets to the system logger. IPFIREWALL_VERBOSE_LIMIT
589# limits the number of times a matching entry can be logged.
590#
591# WARNING: IPFIREWALL defaults to a policy of "deny ip from any to any"
592# and if you do not add other rules during startup to allow access,
593# YOU WILL LOCK YOURSELF OUT. It is suggested that you set firewall_type=open
594# in /etc/rc.conf when first enabling this feature, then refining the
595# firewall rules in /etc/rc.firewall after you've tested that the new kernel
596# feature works properly.
597#
598# IPFIREWALL_DEFAULT_TO_ACCEPT causes the default rule (at boot) to
599# allow everything. Use with care, if a cracker can crash your
600# firewall machine, they can get to your protected machines. However,
601# if you are using it as an as-needed filter for specific problems as
602# they arise, then this may be for you. Changing the default to 'allow'
603# means that you won't get stuck if the kernel and /sbin/ipfw binary get
604# out of sync.
605#
606# IPDIVERT enables the divert IP sockets, used by ``ipfw divert''
607#
608# IPSTEALTH enables code to support stealth forwarding (i.e., forwarding
609# packets without touching the ttl). This can be useful to hide firewalls
610# from traceroute and similar tools.
611#
612# PFIL_HOOKS enables an abtraction layer which is meant to be used in
613# network code where filtering is required. See the pfil(9) man page.
614# This option is a subset of the IPFILTER option.
615#
616# TCPDEBUG enables code which keeps traces of the TCP state machine
617# for sockets with the SO_DEBUG option set, which can then be examined
618# using the trpt(8) utility.
619#
620options MROUTING # Multicast routing
621options IPFIREWALL #firewall
622options IPFIREWALL_VERBOSE #enable logging to syslogd(8)
623options IPFIREWALL_FORWARD #enable transparent proxy support
624options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity
625options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default
626options IPV6FIREWALL #firewall for IPv6
627options IPV6FIREWALL_VERBOSE
628options IPV6FIREWALL_VERBOSE_LIMIT=100
629options IPV6FIREWALL_DEFAULT_TO_ACCEPT
630options IPDIVERT #divert sockets
631options IPFILTER #ipfilter support
632options IPFILTER_LOG #ipfilter logging
633options IPFILTER_DEFAULT_BLOCK #block all packets by default
634options IPSTEALTH #support for stealth forwarding
635options PFIL_HOOKS
636options TCPDEBUG
637
638# RANDOM_IP_ID causes the ID field in IP packets to be randomized
639# instead of incremented by 1 with each packet generated. This
640# option closes a minor information leak which allows remote
641# observers to determine the rate of packet generation on the
642# machine by watching the counter.
643options RANDOM_IP_ID
644
645# Statically Link in accept filters
646options ACCEPT_FILTER_DATA
647options ACCEPT_FILTER_HTTP
648
649# TCP_DROP_SYNFIN adds support for ignoring TCP packets with SYN+FIN. This
650# prevents nmap et al. from identifying the TCP/IP stack, but breaks support
651# for RFC1644 extensions and is not recommended for web servers.
652#
653options TCP_DROP_SYNFIN #drop TCP packets with SYN+FIN
654
655# DUMMYNET enables the "dummynet" bandwidth limiter. You need
656# IPFIREWALL as well. See the dummynet(4) and ipfw(8) manpages for more info.
657# When you run DUMMYNET it is advisable to also have "options HZ=1000"
658# to achieve a smoother scheduling of the traffic.
659#
660# BRIDGE enables bridging between ethernet cards -- see bridge(4).
661# You can use IPFIREWALL and DUMMYNET together with bridging.
662#
663options DUMMYNET
664options BRIDGE
665
666#
667# ATM (HARP version) options
668#
669# ATM_CORE includes the base ATM functionality code. This must be included
670# for ATM support.
671#
672# ATM_IP includes support for running IP over ATM.
673#
674# At least one (and usually only one) of the following signalling managers
675# must be included (note that all signalling managers include PVC support):
676# ATM_SIGPVC includes support for the PVC-only signalling manager `sigpvc'.
677# ATM_SPANS includes support for the `spans' signalling manager, which runs
678# the FORE Systems's proprietary SPANS signalling protocol.
679# ATM_UNI includes support for the `uni30' and `uni31' signalling managers,
680# which run the ATM Forum UNI 3.x signalling protocols.
681#
682# The `hea' driver provides support for the Efficient Networks, Inc.
683# ENI-155p ATM PCI Adapter.
684#
685# The `hfa' driver provides support for the FORE Systems, Inc.
686# PCA-200E ATM PCI Adapter.
687#
688options ATM_CORE #core ATM protocol family
689options ATM_IP #IP over ATM support
690options ATM_SIGPVC #SIGPVC signalling manager
691options ATM_SPANS #SPANS signalling manager
692options ATM_UNI #UNI signalling manager
693device hea #Efficient ENI-155p ATM PCI
694device hfa #FORE PCA-200E ATM PCI
695
696#
697# DEVICE_POLLING adds support for mixed interrupt-polling handling
698# of network device drivers, which has significant benefits in terms
699# of robustness to overloads and responsivity, as well as permitting
700# accurate scheduling of the CPU time between kernel network processing
701# and other activities. The drawback is a moderate (up to 1/HZ seconds)
702# potential increase in response times.
703# It is strongly recommended to use HZ=1000 or 2000 with DEVICE_POLLING
704# to achieve smoother behaviour.

--- 4 unchanged lines hidden (view full) ---

709#
710# Only the "dc" "fxp" and "sis" devices support this mode of operation at
711# the time of this writing.
712
713options DEVICE_POLLING
714
715
716#####################################################################
191# DEVICE_POLLING adds support for mixed interrupt-polling handling
192# of network device drivers, which has significant benefits in terms
193# of robustness to overloads and responsivity, as well as permitting
194# accurate scheduling of the CPU time between kernel network processing
195# and other activities. The drawback is a moderate (up to 1/HZ seconds)
196# potential increase in response times.
197# It is strongly recommended to use HZ=1000 or 2000 with DEVICE_POLLING
198# to achieve smoother behaviour.

--- 4 unchanged lines hidden (view full) ---

203#
204# Only the "dc" "fxp" and "sis" devices support this mode of operation at
205# the time of this writing.
206
207options DEVICE_POLLING
208
209
210#####################################################################
717# FILESYSTEM OPTIONS
718
719#
720# Only the root, /usr, and /tmp filesystems need be statically
721# compiled; everything else will be automatically loaded at mount
722# time. (Exception: the UFS family--- FFS --- cannot
723# currently be demand-loaded.) Some people still prefer to statically
724# compile other filesystems as well.
725#
726# NB: The NULL, PORTAL, UMAP and UNION filesystems are known to be
727# buggy, and WILL panic your system if you attempt to do anything with
728# them. They are included here as an incentive for some enterprising
729# soul to sit down and fix them.
730#
731
732# One of these is mandatory:
733options FFS #Fast filesystem
734options NFSCLIENT #Network File System
735options NFSSERVER #Network File System
736
737# The rest are optional:
738options CD9660 #ISO 9660 filesystem
739options FDESCFS #File descriptor filesystem
740options HPFS #OS/2 File system
741options MSDOSFS #MS DOS File System (FAT, FAT32)
742options NTFS #NT File System
743options NULLFS #NULL filesystem
744#options NWFS #NetWare filesystem
745options PORTALFS #Portal filesystem
746options PROCFS #Process filesystem (requires PSEUDOFS)
747options PSEUDOFS #Pseudo-filesystem framework
748options SMBFS #SMB/CIFS filesystem
749options UMAPFS #UID map filesystem
750options UNIONFS #Union filesystem
751# options NODEVFS #disable devices filesystem
752# The xFS_ROOT options REQUIRE the associated ``options xFS''
753options NFS_ROOT #NFS usable as root device
754# This code enables IFS, an FFS which exports inodes as the namespace.
755# You can find details in src/sys/ufs/ifs/README .
756options IFS
757
758# Soft updates is a technique for improving file system speed and
759# making abrupt shutdown less risky.
760#
761options SOFTUPDATES
762
763# Extended attributes allow additional data to be associated with files,
764# and is used for ACLs, Capabilities, and MAC labels.
765# See src/sys/ufs/ufs/README.extattr for more information.
766options UFS_EXTATTR
767options UFS_EXTATTR_AUTOSTART
768
769# Access Control List support for UFS filesystems. The current ACL
770# implementation requires extended attribute support, UFS_EXTATTR,
771# for the underlying filesystem.
772# See src/sys/ufs/ufs/README.acls for more information.
773options UFS_ACL
774
775# Directory hashing improves the speed of operations on very large
776# directories at the expense of some memory.
777options UFS_DIRHASH
778
779# Make space in the kernel for a root filesystem on a md device.
780# Define to the number of kilobytes to reserve for the filesystem.
781options MD_ROOT_SIZE=10
782
783# Make the md device a potential root device, either with preloaded
784# images of type mfs_root or md_root.
785options MD_ROOT
786
787# Allow this many swap-devices.
788#
789# In order to manage swap, the system must reserve bitmap space that
790# scales with the largest mounted swap device multiplied by NSWAPDEV,
791# irregardless of whether other swap devices exist or not. So it
792# is not a good idea to make this value too large.
793options NSWAPDEV=5
794
795# Disk quotas are supported when this option is enabled.
796options QUOTA #enable disk quotas
797
798# If you are running a machine just as a fileserver for PC and MAC
799# users, using SAMBA or Netatalk, you may consider setting this option
800# and keeping all those users' directories on a filesystem that is
801# mounted with the suiddir option. This gives new files the same
802# ownership as the directory (similar to group). It's a security hole
803# if you let these users run programs, so confine it to file-servers
804# (but it'll save you lots of headaches in those cases). Root owned
805# directories are exempt and X bits are cleared. The suid bit must be
806# set on the directory as well; see chmod(1) PC owners can't see/set
807# ownerships so they keep getting their toes trodden on. This saves
808# you all the support calls as the filesystem it's used on will act as
809# they expect: "It's my dir so it must be my file".
810#
811options SUIDDIR
812
813# NFS options:
814options NFS_MINATTRTIMO=3 # VREG attrib cache timeout in sec
815options NFS_MAXATTRTIMO=60
816options NFS_MINDIRATTRTIMO=30 # VDIR attrib cache timeout in sec
817options NFS_MAXDIRATTRTIMO=60
818options NFS_GATHERDELAY=10 # Default write gather delay (msec)
819options NFS_WDELAYHASHSIZ=16 # and with this
820options NFS_DEBUG # Enable NFS Debugging
821
822# Coda stuff:
823options CODA #CODA filesystem.
824device vcoda 4 #coda minicache <-> venus comm.
825
826#
827# Add support for the EXT2FS filesystem of Linux fame. Be a bit
828# careful with this - the ext2fs code has a tendency to lag behind
829# changes and not be exercised very much, so mounting read/write could
830# be dangerous (and even mounting read only could result in panics.)
831#
832options EXT2FS
833
834# Use real implementations of the aio_* system calls. There are numerous
835# stability and security issues in the current aio code that make it
836# unsuitable for inclusion on machines with untrusted local users.
837options VFS_AIO
838
839# Enable the code UFS IO optimization through the VM system. This allows
840# use VM operations instead of copying operations when possible.
841#
842# Even with this enabled, actual use of the code is still controlled by the
843# sysctl vfs.ioopt. 0 gives no optimization, 1 gives normal (use VM
844# operations if a request happens to fit), 2 gives agressive optimization
845# (the operations are split to do as much as possible through the VM system.)
846#
847# Enabling this will probably not give an overall speedup except for
848# special workloads.
849options ENABLE_VFS_IOOPT
850
851# Cryptographically secure random number generator; /dev/[u]random
852device random
853
854
855#####################################################################
856# POSIX P1003.1B
857
858# Real time extensions added in the 1993 Posix
859# P1003_1B: Infrastructure
860# _KPOSIX_PRIORITY_SCHEDULING: Build in _POSIX_PRIORITY_SCHEDULING
861# _KPOSIX_VERSION: Version kernel is built for
862
863options P1003_1B
864options _KPOSIX_PRIORITY_SCHEDULING
865options _KPOSIX_VERSION=199309L
866
867
868#####################################################################
869# CLOCK OPTIONS
870
211# CLOCK OPTIONS
212
871# The granularity of operation is controlled by the kernel option HZ whose
872# default value (100) means a granularity of 10ms (1s/HZ).
873# Some subsystems, such as DUMMYNET, might benefit from a smaller
874# granularity such as 1ms or less, for a smoother scheduling of packets.
875# Consider, however, that reducing the granularity too much might
876# cause excessive overhead in clock interrupt processing,
877# potentially causing ticks to be missed and thus actually reducing
878# the accuracy of operation.
879
880options HZ=100
881
882# The following options are used for debugging clock behavior only, and
883# should not be used for production systems.
884#
885# CLK_CALIBRATION_LOOP will run the clock calibration loop at startup
886# until the user presses a key.
887
888options CLK_CALIBRATION_LOOP
889
890# The following two options measure the frequency of the corresponding
891# clock relative to the RTC (onboard mc146818a).
892
893options CLK_USE_I8254_CALIBRATION
894options CLK_USE_TSC_CALIBRATION
895
896
897#####################################################################
213# The following options are used for debugging clock behavior only, and
214# should not be used for production systems.
215#
216# CLK_CALIBRATION_LOOP will run the clock calibration loop at startup
217# until the user presses a key.
218
219options CLK_CALIBRATION_LOOP
220
221# The following two options measure the frequency of the corresponding
222# clock relative to the RTC (onboard mc146818a).
223
224options CLK_USE_I8254_CALIBRATION
225options CLK_USE_TSC_CALIBRATION
226
227
228#####################################################################
898# SCSI DEVICES
899
900# SCSI DEVICE CONFIGURATION
901
902# The SCSI subsystem consists of the `base' SCSI code, a number of
903# high-level SCSI device `type' drivers, and the low-level host-adapter
904# device drivers. The host adapters are listed in the ISA and PCI
905# device configuration sections below.
906#
907# Beginning with FreeBSD 2.0.5 you can wire down your SCSI devices so
908# that a given bus, target, and LUN always come on line as the same
909# device unit. In earlier versions the unit numbers were assigned
910# in the order that the devices were probed on the SCSI bus. This
911# means that if you removed a disk drive, you may have had to rewrite
912# your /etc/fstab file, and also that you had to be careful when adding
913# a new disk as it may have been probed earlier and moved your device
914# configuration around.
915
916# This old behavior is maintained as the default behavior. The unit
917# assignment begins with the first non-wired down unit for a device
918# type. For example, if you wire a disk as "da3" then the first
919# non-wired disk will be assigned da4.
920
921# The syntax for wiring down devices is:
922
923hint.scbus.0.at="ahc0"
924hint.scbus.1.at="ahc1"
925hint.scbus.1.bus="0"
926hint.scbus.3.at="ahc2"
927hint.scbus.3.bus="0"
928hint.scbus.2.at="ahc2"
929hint.scbus.2.bus="1"
930hint.da.0.at="scbus0"
931hint.da.0.target="0"
932hint.da.0.unit="0"
933hint.da.1.at="scbus3"
934hint.da.1.target="1"
935hint.da.2.at="scbus2"
936hint.da.2.target="3"
937hint.sa.1.at="scbus1"
938hint.sa.1.target="6"
939
940# "units" (SCSI logical unit number) that are not specified are
941# treated as if specified as LUN 0.
942
943# All SCSI devices allocate as many units as are required.
944
945# The ch driver drives SCSI Media Changer ("jukebox") devices.
946#
947# The da driver drives SCSI Direct Access ("disk") and Optical Media
948# ("WORM") devices.
949#
950# The sa driver drives SCSI Sequential Access ("tape") devices.
951#
952# The cd driver drives SCSI Read Only Direct Access ("cd") devices.
953#
954# The ses driver drives SCSI Envinronment Services ("ses") and
955# SAF-TE ("SCSI Accessable Fault-Tolerant Enclosure") devices.
956#
957# The pt driver drives SCSI Processor devices.
958#
959#
960# Target Mode support is provided here but also requires that a SIM
961# (SCSI Host Adapter Driver) provide support as well.
962#
963# The targ driver provides target mode support as a Processor type device.
964# It exists to give the minimal context necessary to respond to Inquiry
965# commands. There is a sample user application that shows how the rest
966# of the command support might be done in /usr/share/examples/scsi_target.
967#
968# The targbh driver provides target mode support and exists to respond
969# to incoming commands that do not otherwise have a logical unit assigned
970# to them.
971#
972# The "unknown" device (uk? in pre-2.0.5) is now part of the base SCSI
973# configuration as the "pass" driver.
974
975device scbus #base SCSI code
976device ch #SCSI media changers
977device da #SCSI direct access devices (aka disks)
978device sa #SCSI tapes
979device cd #SCSI CD-ROMs
980device ses #SCSI Environmental Services (and SAF-TE)
981device pt #SCSI processor
982device targ #SCSI Target Mode Code
983device targbh #SCSI Target Mode Blackhole Device
984device pass #CAM passthrough driver
985
986# CAM OPTIONS:
987# debugging options:
988# -- NOTE -- If you specify one of the bus/target/lun options, you must
989# specify them all!
990# CAMDEBUG: When defined enables debugging macros
991# CAM_DEBUG_BUS: Debug the given bus. Use -1 to debug all busses.
992# CAM_DEBUG_TARGET: Debug the given target. Use -1 to debug all targets.
993# CAM_DEBUG_LUN: Debug the given lun. Use -1 to debug all luns.
994# CAM_DEBUG_FLAGS: OR together CAM_DEBUG_INFO, CAM_DEBUG_TRACE,
995# CAM_DEBUG_SUBTRACE, and CAM_DEBUG_CDB
996#
997# CAM_MAX_HIGHPOWER: Maximum number of concurrent high power (start unit) cmds
998# CAM_NEW_TRAN_CODE: this is the new transport layer code that will be switched
999# to soon
1000# SCSI_NO_SENSE_STRINGS: When defined disables sense descriptions
1001# SCSI_NO_OP_STRINGS: When defined disables opcode descriptions
1002# SCSI_DELAY: The number of MILLISECONDS to freeze the SIM (scsi adapter)
1003# queue after a bus reset, and the number of milliseconds to
1004# freeze the device queue after a bus device reset.
1005options CAMDEBUG
1006options CAM_DEBUG_BUS=-1
1007options CAM_DEBUG_TARGET=-1
1008options CAM_DEBUG_LUN=-1
1009options CAM_DEBUG_FLAGS="CAM_DEBUG_INFO|CAM_DEBUG_TRACE|CAM_DEBUG_CDB"
1010options CAM_MAX_HIGHPOWER=4
1011options SCSI_NO_SENSE_STRINGS
1012options SCSI_NO_OP_STRINGS
1013options SCSI_DELAY=8000 # Be pessimistic about Joe SCSI device
1014
1015# Options for the CAM CDROM driver:
1016# CHANGER_MIN_BUSY_SECONDS: Guaranteed minimum time quantum for a changer LUN
1017# CHANGER_MAX_BUSY_SECONDS: Maximum time quantum per changer LUN, only
1018# enforced if there is I/O waiting for another LUN
1019# The compiled in defaults for these variables are 2 and 10 seconds,
1020# respectively.
1021#
1022# These can also be changed on the fly with the following sysctl variables:
1023# kern.cam.cd.changer.min_busy_seconds
1024# kern.cam.cd.changer.max_busy_seconds
1025#
1026options CHANGER_MIN_BUSY_SECONDS=2
1027options CHANGER_MAX_BUSY_SECONDS=10
1028
1029# Options for the CAM sequential access driver:
1030# SA_IO_TIMEOUT: Timeout for read/write/wfm operations, in minutes
1031# SA_SPACE_TIMEOUT: Timeout for space operations, in minutes
1032# SA_REWIND_TIMEOUT: Timeout for rewind operations, in minutes
1033# SA_ERASE_TIMEOUT: Timeout for erase operations, in minutes
1034# SA_1FM_AT_EOD: Default to model which only has a default one filemark at EOT.
1035options SA_IO_TIMEOUT="(4)"
1036options SA_SPACE_TIMEOUT="(60)"
1037options SA_REWIND_TIMEOUT="(2*60)"
1038options SA_ERASE_TIMEOUT="(4*60)"
1039options SA_1FM_AT_EOD
1040
1041# Optional timeout for the CAM processor target (pt) device
1042# This is specified in seconds. The default is 60 seconds.
1043options SCSI_PT_DEFAULT_TIMEOUT="60"
1044
1045# Optional enable of doing SES passthrough on other devices (e.g., disks)
1046#
1047# Normally disabled because a lot of newer SCSI disks report themselves
1048# as having SES capabilities, but this can then clot up attempts to build
1049# build a topology with the SES device that's on the box these drives
1050# are in....
1051options SES_ENABLE_PASSTHROUGH
1052
1053
1054#####################################################################
1055# MISCELLANEOUS DEVICES AND OPTIONS
1056
229# MISCELLANEOUS DEVICES AND OPTIONS
230
1057# The `pty' device usually turns out to be ``effectively mandatory'',
1058# as it is required for `telnetd', `rlogind', `screen', `emacs', and
1059# `xterm', among others.
1060
1061device pty #Pseudo ttys
1062device nmdm #back-to-back tty devices
1063device speaker #Play IBM BASIC-style noises out your speaker
1064device gzip #Exec gzipped a.out's
231device speaker #Play IBM BASIC-style noises out your speaker
232device gzip #Exec gzipped a.out's
1065device md #Memory/malloc disk
1066device snp #Snoop device - to look at pty/vty/etc..
1067device ccd #Concatenated disk driver
1068
233
1069# Configuring Vinum into the kernel is not necessary, since the kld
1070# module gets started automatically when vinum(8) starts. This
1071# device is also untested. Use at your own risk.
1072#
1073# The option VINUMDEBUG must match the value set in CFLAGS
1074# in src/sbin/vinum/Makefile. Failure to do so will result in
1075# the following message from vinum(8):
1076#
1077# Can't get vinum config: Invalid argument
1078#
1079# see vinum(4) for more reasons not to use these options.
1080device vinum #Vinum concat/mirror/raid driver
1081options VINUMDEBUG #enable Vinum debugging hooks
1082
1083# Kernel side iconv library
1084options LIBICONV
1085
1086# Size of the kernel message buffer. Should be N * pagesize.
1087options MSGBUF_SIZE=40960
1088
1089
1090#####################################################################
1091# HARDWARE BUS CONFIGURATION
1092
234
235#####################################################################
236# HARDWARE BUS CONFIGURATION
237
1093# ISA, EISA, MCA and PCI bus:
1094
1095#
238#
1096# Mandatory ISA devices: isa, npx
239# ISA bus
1097#
240#
1098device isa
1099
1100#
1101# Options for `isa':
1102#
1103# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A
1104# interrupt controller. This saves about 0.7-1.25 usec for each interrupt.
1105# This option breaks suspend/resume on some portables.
1106#

--- 18 unchanged lines hidden (view full) ---

1125
1126options COMPAT_OLDISA #Use ISA shims and glue for old drivers
1127options AUTO_EOI_1
1128#options AUTO_EOI_2
1129
1130options MAXMEM="(128*1024)"
1131#options BROKEN_KEYBOARD_RESET
1132
241
242#
243# Options for `isa':
244#
245# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A
246# interrupt controller. This saves about 0.7-1.25 usec for each interrupt.
247# This option breaks suspend/resume on some portables.
248#

--- 18 unchanged lines hidden (view full) ---

267
268options COMPAT_OLDISA #Use ISA shims and glue for old drivers
269options AUTO_EOI_1
270#options AUTO_EOI_2
271
272options MAXMEM="(128*1024)"
273#options BROKEN_KEYBOARD_RESET
274
1133# Enable support for the kernel PLL to use an external PPS signal,
1134# under supervision of [x]ntpd(8)
1135# More info in ntpd documentation: http://www.eecis.udel.edu/~ntp
1136
1137options PPS_SYNC
1138
1139# If you see the "calcru: negative time of %ld usec for pid %d (%s)\n"
1140# message you probably have some broken sw/hw which disables interrupts
1141# for too long. You can make the system more resistant to this by
1142# choosing a high value for NTIMECOUNTER. The default is 5, there
1143# is no upper limit but more than a couple of hundred are not productive.
1144# A better strategy may be to sysctl -w kern.timecounter.method=1
1145
1146options NTIMECOUNTER=20
1147
1148#
1149# EISA bus
1150#
1151# The EISA bus device is `eisa'. It provides auto-detection and
1152# configuration support for all devices on the EISA bus.
1153
1154device eisa
1155

--- 12 unchanged lines hidden (view full) ---

1168# configuration support for all devices on the MCA bus.
1169# No hints are required for MCA.
1170
1171device mca
1172
1173#
1174# PCI bus & PCI options:
1175#
275#
276# EISA bus
277#
278# The EISA bus device is `eisa'. It provides auto-detection and
279# configuration support for all devices on the EISA bus.
280
281device eisa
282

--- 12 unchanged lines hidden (view full) ---

295# configuration support for all devices on the MCA bus.
296# No hints are required for MCA.
297
298device mca
299
300#
301# PCI bus & PCI options:
302#
1176# The main PCI bus device is `pci'. It provides auto-detection and
1177# configuration support for all devices on the PCI bus, using either
1178# configuration mode defined in the PCI specification.
1179
303
1180device pci
1181
1182#
1183# AGP GART support
1184device agp
1185
1186# PCI options
1187#
1188#Enable pci resources left off by a "lazy" BIOS:
1189options PCI_ENABLE_IO_MODES
1190
1191
1192#####################################################################
1193# HARDWARE DEVICE CONFIGURATION
1194
304#
305# AGP GART support
306device agp
307
308# PCI options
309#
310#Enable pci resources left off by a "lazy" BIOS:
311options PCI_ENABLE_IO_MODES
312
313
314#####################################################################
315# HARDWARE DEVICE CONFIGURATION
316
1195# EISA support is available for some device, so they can be auto-probed.
1196# MicroChannel (MCA) support is available for some devices.
1197# For ISA the required hints are listed.
1198# EISA, MCA, PCI and pccard are self identifying buses, so no hints
1199# are needed.
1200
1201#
1202# Mandatory devices:
1203#
1204
1205# The keyboard controller; it controls the keyboard and the PS/2 mouse.
1206device atkbdc 1
1207hint.atkbdc.0.at="isa"
1208hint.atkbdc.0.port="0x060"

--- 83 unchanged lines hidden (view full) ---

1292options PCVT_META_ESC
1293options PCVT_NSCREENS=9
1294options PCVT_PRETTYSCRNS
1295options PCVT_SCREENSAVER
1296options PCVT_USEKBDSEC
1297options PCVT_VT220KEYB
1298options PCVT_GREENSAVER
1299
317#
318# Mandatory devices:
319#
320
321# The keyboard controller; it controls the keyboard and the PS/2 mouse.
322device atkbdc 1
323hint.atkbdc.0.at="isa"
324hint.atkbdc.0.port="0x060"

--- 83 unchanged lines hidden (view full) ---

408options PCVT_META_ESC
409options PCVT_NSCREENS=9
410options PCVT_PRETTYSCRNS
411options PCVT_SCREENSAVER
412options PCVT_USEKBDSEC
413options PCVT_VT220KEYB
414options PCVT_GREENSAVER
415
1300# The syscons console driver (sco color console compatible).
1301device sc 1
1302hint.sc.0.at="isa"
1303options MAXCONS=16 # number of virtual consoles
1304options SC_ALT_MOUSE_IMAGE # simplified mouse cursor in text mode
1305options SC_DFLT_FONT # compile font in
1306makeoptions SC_DFLT_FONT=cp850
1307options SC_DISABLE_DDBKEY # disable `debug' key
1308options SC_DISABLE_REBOOT # disable reboot key sequence
1309options SC_HISTORY_SIZE=200 # number of history buffer lines
1310options SC_MOUSE_CHAR=0x3 # char code for text mode mouse cursor
1311options SC_PIXEL_MODE # add support for the raster text mode
1312
1313# The following options will let you change the default colors of syscons.
1314options SC_NORM_ATTR="(FG_GREEN|BG_BLACK)"
1315options SC_NORM_REV_ATTR="(FG_YELLOW|BG_GREEN)"
1316options SC_KERNEL_CONS_ATTR="(FG_RED|BG_BLACK)"
1317options SC_KERNEL_CONS_REV_ATTR="(FG_BLACK|BG_RED)"
1318
1319# The following options will let you change the default behaviour of
1320# cut-n-paste feature
1321options SC_CUT_SPACES2TABS # convert leading spaces into tabs
1322options SC_CUT_SEPCHARS="\x20" # set of characters that delimit words
1323 # (default is single space - "\x20")
1324
1325# If you have a two button mouse, you may want to add the following option
1326# to use the right button of the mouse to paste text.
1327options SC_TWOBUTTON_MOUSE
1328
1329# You can selectively disable features in syscons.
1330options SC_NO_CUTPASTE
1331options SC_NO_FONT_LOADING
1332options SC_NO_HISTORY
1333options SC_NO_SYSMOUSE
1334
1335# `flags' for sc
1336# 0x80 Put the video card in the VESA 800x600 dots, 16 color mode
1337# 0x100 Probe for a keyboard device periodically if one is not present
1338
1339# 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support. This will create
1340# the /dev/3dfx0 device to work with glide implementations. This should get
1341# linked to /dev/3dfx and /dev/voodoo. Note that this is not the same as
1342# the tdfx DRI module from XFree86 and is completely unrelated.
1343#
1344# To enable Linuxulator support, one must also include COMPAT_LINUX in the
1345# config as well, or you will not have the dependencies. The other option
1346# is to load both as modules.

--- 51 unchanged lines hidden (view full) ---

1398#
1399# Optional devices:
1400#
1401
1402#
1403# SCSI host adapters:
1404#
1405# adv: All Narrow SCSI bus AdvanSys controllers.
416# 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support. This will create
417# the /dev/3dfx0 device to work with glide implementations. This should get
418# linked to /dev/3dfx and /dev/voodoo. Note that this is not the same as
419# the tdfx DRI module from XFree86 and is completely unrelated.
420#
421# To enable Linuxulator support, one must also include COMPAT_LINUX in the
422# config as well, or you will not have the dependencies. The other option
423# is to load both as modules.

--- 51 unchanged lines hidden (view full) ---

475#
476# Optional devices:
477#
478
479#
480# SCSI host adapters:
481#
482# adv: All Narrow SCSI bus AdvanSys controllers.
1406# adw: Second Generation AdvanSys controllers including the ADV940UW.
1407# aha: Adaptec 154x/1535/1640
1408# ahb: Adaptec 174x EISA controllers
1409# ahc: Adaptec 274x/284x/2910/293x/294x/394x/3950x/3960x/398X/4944/
1410# 19160x/29160x, aic7770/aic78xx
1411# aic: Adaptec 6260/6360, APA-1460 (PC Card), NEC PC9801-100 (C-BUS)
1412# amd: Support for the AMD 53C974 SCSI host adapter chip as found on devices
1413# such as the Tekram DC-390(T).
1414# bt: Most Buslogic controllers: including BT-445, BT-54x, BT-64x, BT-74x,

--- 18 unchanged lines hidden (view full) ---

1433# Note that the order is important in order for Buslogic ISA/EISA cards to be
1434# probed correctly.
1435#
1436device bt
1437hint.bt.0.at="isa"
1438hint.bt.0.port="0x330"
1439device adv
1440hint.adv.0.at="isa"
483# aha: Adaptec 154x/1535/1640
484# ahb: Adaptec 174x EISA controllers
485# ahc: Adaptec 274x/284x/2910/293x/294x/394x/3950x/3960x/398X/4944/
486# 19160x/29160x, aic7770/aic78xx
487# aic: Adaptec 6260/6360, APA-1460 (PC Card), NEC PC9801-100 (C-BUS)
488# amd: Support for the AMD 53C974 SCSI host adapter chip as found on devices
489# such as the Tekram DC-390(T).
490# bt: Most Buslogic controllers: including BT-445, BT-54x, BT-64x, BT-74x,

--- 18 unchanged lines hidden (view full) ---

509# Note that the order is important in order for Buslogic ISA/EISA cards to be
510# probed correctly.
511#
512device bt
513hint.bt.0.at="isa"
514hint.bt.0.port="0x330"
515device adv
516hint.adv.0.at="isa"
1441device adw
1442device aha
1443hint.aha.0.at="isa"
1444device aic
1445hint.aic.0.at="isa"
1446device ahb
517device aha
518hint.aha.0.at="isa"
519device aic
520hint.aic.0.at="isa"
521device ahb
1447device ahc
1448device amd
1449device isp
1450hint.isp.0.disable="1"
1451hint.isp.0.role="3"
1452hint.isp.0.prefer_iomap="1"
1453hint.isp.0.prefer_memmap="1"
1454hint.isp.0.fwload_disable="1"
1455hint.isp.0.ignore_nvram="1"
1456hint.isp.0.fullduplex="1"
1457hint.isp.0.topology="lport"
1458hint.isp.0.topology="nport"
1459hint.isp.0.topology="lport-only"
1460hint.isp.0.topology="nport-only"
1461# we can't get u_int64_t types, nor can we get strings if it's got
1462# a leading 0x, hence this silly dodge.
1463hint.isp.0.portwnn="w50000000aaaa0000"
1464hint.isp.0.nodewnn="w50000000aaaa0001"
1465device ispfw
1466device ncr
1467device ncv
1468device nsp
1469device sym
1470device stg
1471hint.stg.0.at="isa"
1472hint.stg.0.port="0x140"
1473hint.stg.0.port="11"
1474device wds
1475hint.wds.0.at="isa"
1476hint.wds.0.port="0x350"
1477hint.wds.0.irq="11"
1478hint.wds.0.drq="6"
1479
522device stg
523hint.stg.0.at="isa"
524hint.stg.0.port="0x140"
525hint.stg.0.port="11"
526device wds
527hint.wds.0.at="isa"
528hint.wds.0.port="0x350"
529hint.wds.0.irq="11"
530hint.wds.0.drq="6"
531
1480# The aic7xxx driver will attempt to use memory mapped I/O for all PCI
1481# controllers that have it configured only if this option is set. Unfortunately,
1482# this doesn't work on some motherboards, which prevents it from being the
1483# default.
1484options AHC_ALLOW_MEMIO
1485
1486# Enable diagnostic sequencer code.
1487options AHC_DEBUG_SEQUENCER
1488
1489# Dump the contents of the ahc controller configuration PROM.
1490options AHC_DUMP_EEPROM
1491
1492# Bitmap of units to enable targetmode operations.
1493options AHC_TMODE_ENABLE
1494
1495# The adw driver will attempt to use memory mapped I/O for all PCI
1496# controllers that have it configured only if this option is set.
1497options ADW_ALLOW_MEMIO
1498
1499# Options used in dev/isp/ (Qlogic SCSI/FC driver).
1500#
1501# ISP_TARGET_MODE - enable target mode operation
1502#
1503#options ISP_TARGET_MODE=1
1504
1505# Options used in dev/sym/ (Symbios SCSI driver).
1506#options SYM_SETUP_LP_PROBE_MAP #-Low Priority Probe Map (bits)
1507 # Allows the ncr to take precedence
1508 # 1 (1<<0) -> 810a, 860
1509 # 2 (1<<1) -> 825a, 875, 885, 895
1510 # 4 (1<<2) -> 895a, 896, 1510d
1511#options SYM_SETUP_SCSI_DIFF #-HVD support for 825a, 875, 885
1512 # disabled:0 (default), enabled:1
1513#options SYM_SETUP_PCI_PARITY #-PCI parity checking
1514 # disabled:0, enabled:1 (default)
1515#options SYM_SETUP_MAX_LUN #-Number of LUNs supported
1516 # default:8, range:[1..64]
1517
1518# The 'asr' driver provides support for current DPT/Adaptec SCSI RAID
1519# controllers (SmartRAID V and VI and later).
1520# These controllers require the CAM infrastructure.
1521#
1522device asr
1523
1524# The 'dpt' driver provides support for old DPT controllers (http://www.dpt.com/).
1525# These have hardware RAID-{0,1,5} support, and do multi-initiator I/O.
1526# The DPT controllers are commonly re-licensed under other brand-names -
1527# some controllers by Olivetti, Dec, HP, AT&T, SNI, AST, Alphatronic, NEC and
1528# Compaq are actually DPT controllers.
1529#
1530# See src/sys/dev/dpt for debugging and other subtle options.
1531# DPT_MEASURE_PERFORMANCE Enables a set of (semi)invasive metrics. Various
1532# instruments are enabled. The tools in
1533# /usr/sbin/dpt_* assume these to be enabled.
1534# DPT_HANDLE_TIMEOUTS Normally device timeouts are handled by the DPT.
1535# If you ant the driver to handle timeouts, enable
1536# this option. If your system is very busy, this
1537# option will create more trouble than solve.
1538# DPT_TIMEOUT_FACTOR Used to compute the excessive amount of time to
1539# wait when timing out with the above option.
1540# DPT_DEBUG_xxxx These are controllable from sys/dev/dpt/dpt.h
1541# DPT_LOST_IRQ When enabled, will try, once per second, to catch
1542# any interrupt that got lost. Seems to help in some
1543# DPT-firmware/Motherboard combinations. Minimal
1544# cost, great benefit.
1545# DPT_RESET_HBA Make "reset" actually reset the controller
1546# instead of fudging it. Only enable this if you
1547# are 100% certain you need it.
1548
1549device dpt
1550
1551# DPT options
1552#!CAM# options DPT_MEASURE_PERFORMANCE
1553#!CAM# options DPT_HANDLE_TIMEOUTS
1554options DPT_TIMEOUT_FACTOR=4
1555options DPT_LOST_IRQ
1556options DPT_RESET_HBA
1557options DPT_ALLOW_MEMIO
1558
1559#
1560# Compaq "CISS" RAID controllers (SmartRAID 5* series)
1561# These controllers have a SCSI-like interface, and require the
1562# CAM infrastructure.
1563#
1564device ciss
1565
1566#
1567# Intel Integrated RAID controllers.
1568# This driver was developed and is maintained by Intel. Contacts
1569# at Intel for this driver are
1570# "Kannanthanam, Boji T" <boji.t.kannanthanam@intel.com> and
1571# "Leubner, Achim" <achim.leubner@intel.com>.
1572#
1573device iir
1574
1575#
1576# Mylex AcceleRAID and eXtremeRAID controllers with v6 and later
1577# firmware. These controllers have a SCSI-like interface, and require
1578# the CAM infrastructure.
1579#
1580device mly
1581
1582#
1583# Adaptec FSA RAID controllers, including integrated DELL controllers,
1584# the Dell PERC 2/QC and the HP NetRAID-4M
1585#
1586# AAC_COMPAT_LINUX Include code to support Linux-binary management
1587# utilities (requires Linux compatibility
1588# support).
1589#
1590device aac
1591
1592#
1593# Compaq Smart RAID, Mylex DAC960 and AMI MegaRAID controllers. Only
1594# one entry is needed; the code will find and configure all supported
1595# controllers.
1596#
1597device ida # Compaq Smart RAID
1598device mlx # Mylex DAC960
1599device amr # AMI MegaRAID
1600
1601#
1602# 3ware ATA RAID
1603#
1604device twe # 3ware ATA RAID
1605
1606#
1607# The 'ATA' driver supports all ATA and ATAPI devices, including PC Card
1608# devices. You only need one "device ata" for it to find all
1609# PCI and PC Card ATA/ATAPI devices on modern machines.
1610device ata
1611device atadisk # ATA disk drives
1612device atapicd # ATAPI CDROM drives
1613device atapifd # ATAPI floppy drives
1614device atapist # ATAPI tape drives
1615
1616#
1617# For older non-PCI, non-PnPBIOS systems, these are the hints lines to add:
1618hint.ata.0.at="isa"
1619hint.ata.0.port="0x1f0"
1620hint.ata.0.irq="14"
1621hint.ata.1.at="isa"
1622hint.ata.1.port="0x170"
1623hint.ata.1.irq="15"
1624
1625#
1626# The following options are valid on the ATA driver:
1627#
1628# ATA_STATIC_ID: controller numbering is static ie depends on location
1629# else the device numbers are dynamically allocated.
1630
1631options ATA_STATIC_ID
1632
1633#
1634# Standard floppy disk controllers and floppy tapes, supports
1635# the Y-E DATA External FDD (PC Card)
1636#
1637device fdc
1638hint.fdc.0.at="isa"
1639hint.fdc.0.port="0x3F0"
1640hint.fdc.0.irq="6"
1641hint.fdc.0.drq="2"
1642#
1643# FDC_DEBUG enables floppy debugging. Since the debug output is huge, you
1644# gotta turn it actually on by setting the variable fd_debug with DDB,
1645# however.
1646options FDC_DEBUG
1647#
1648# Activate this line if you happen to have an Insight floppy tape.
1649# Probing them proved to be dangerous for people with floppy disks only,
1650# so it's "hidden" behind a flag:
1651#hint.fdc.0.flags="1"
1652
1653# Specify floppy devices
1654hint.fd.0.at="fdc0"
1655hint.fd.0.drive="0"
1656hint.fd.1.at="fdc0"
1657hint.fd.1.drive="1"
1658
1659# M-systems DiskOnchip products see src/sys/contrib/dev/fla/README
1660device fla
1661hint.fla.0.at="isa"
1662
1663#
532# M-systems DiskOnchip products see src/sys/contrib/dev/fla/README
533device fla
534hint.fla.0.at="isa"
535
536#
1664# Other standard PC hardware:
1665#
1666# mse: Logitech and ATI InPort bus mouse ports
537# mse: Logitech and ATI InPort bus mouse ports
1667# sio: serial ports (see sio(4)), including support for various
1668# PC Card devices, such as Modem and NICs (see etc/defaults/pccard.conf)
1669
1670device mse
1671hint.mse.0.at="isa"
1672hint.mse.0.port="0x23c"
1673hint.mse.0.irq="5"
1674
538
539device mse
540hint.mse.0.at="isa"
541hint.mse.0.port="0x23c"
542hint.mse.0.irq="5"
543
1675device sio
1676hint.sio.0.at="isa"
1677hint.sio.0.port="0x3F8"
1678hint.sio.0.flags="0x10"
1679hint.sio.0.irq="4"
1680
1681#
544#
1682# `flags' for serial drivers that support consoles (only for sio now):
1683# 0x10 enable console support for this unit. The other console flags
1684# are ignored unless this is set. Enabling console support does
1685# not make the unit the preferred console - boot with -h or set
1686# the 0x20 flag for that. Currently, at most one unit can have
1687# console support; the first one (in config file order) with
1688# this flag set is preferred. Setting this flag for sio0 gives
1689# the old behaviour.
1690# 0x20 force this unit to be the console (unless there is another
1691# higher priority console). This replaces the COMCONSOLE option.
1692# 0x40 reserve this unit for low level console operations. Do not
1693# access the device in any normal way.
1694# 0x80 use this port for serial line gdb support in ddb.
1695#
1696# PnP `flags' (set via userconfig using pnp x flags y)
1697# 0x1 disable probing of this device. Used to prevent your modem
1698# from being attached as a PnP modem.
1699#
1700
1701# Options for serial drivers that support consoles (only for sio now):
1702options BREAK_TO_DEBUGGER #a BREAK on a comconsole goes to
1703 #DDB, if available.
1704options CONSPEED=115200 # speed for serial console
1705 # (default 9600)
1706
1707# Solaris implements a new BREAK which is initiated by a character
1708# sequence CR ~ ^b which is similar to a familiar pattern used on
1709# Sun servers by the Remote Console.
1710options ALT_BREAK_TO_DEBUGGER
1711
1712# Options for sio:
1713options COM_ESP #code for Hayes ESP
1714options COM_MULTIPORT #code for some cards with shared IRQs
1715
1716# Other flags for sio that aren't documented in the man page.
1717# 0x20000 enable hardware RTS/CTS and larger FIFOs. Only works for
1718# ST16650A-compatible UARTs.
1719
1720# PCI Universal Communications driver
1721# Supports various single and multi port PCI serial cards. Maybe later
1722# also the parallel ports on combination serial/parallel cards. New cards
1723# can be added in src/sys/dev/puc/pucdata.c.
1724#
1725# If the PUC_FASTINTR option is used the driver will try to use fast
1726# interrupts. The card must then be the only user of that interrupt.
1727# Interrupts cannot be shared when using PUC_FASTINTR.
1728device puc
1729options PUC_FASTINTR
1730
1731#
1732# Network interfaces:
1733#
545# Network interfaces:
546#
1734# MII bus support is required for some PCI 10/100 ethernet NICs,
1735# namely those which use MII-compliant transceivers or implement
1736# tranceiver control interfaces that operate like an MII. Adding
1737# "device miibus0" to the kernel config pulls in support for
1738# the generic miibus API and all of the PHY drivers, including a
1739# generic one for PHYs that aren't specifically handled by an
1740# individual driver.
1741device miibus
1742
1743# an: Aironet 4500/4800 802.11 wireless adapters. Supports the PCMCIA,
1744# PCI and ISA varieties.
1745# ar: Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver
1746# (requires sppp)
1747# awi: Support for IEEE 802.11 PC Card devices using the AMD Am79C930 and
1748# Harris (Intersil) Chipset with PCnetMobile firmware by AMD.
547
548# an: Aironet 4500/4800 802.11 wireless adapters. Supports the PCMCIA,
549# PCI and ISA varieties.
550# ar: Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver
551# (requires sppp)
552# awi: Support for IEEE 802.11 PC Card devices using the AMD Am79C930 and
553# Harris (Intersil) Chipset with PCnetMobile firmware by AMD.
1749# bge: Support for gigabit ethernet adapters based on the Broadcom
1750# BCM570x family of controllers, including the 3Com 3c996-T,
1751# the Netgear GA302T, the SysKonnect SK-9D21 and SK-9D41, and
1752# the embedded gigE NICs on Dell PowerEdge 2550 servers.
1753# cnw: Xircom CNW/Netware Airsurfer PC Card adapter
1754# cm: Arcnet SMC COM90c26 / SMC COM90c56
1755# (and SMC COM90c66 in '56 compatibility mode) adapters.
1756# cs: IBM Etherjet and other Crystal Semi CS89x0-based adapters
1757# cx: Cronyx/Sigma multiport sync/async (with Cisco or PPP framing)
554# cnw: Xircom CNW/Netware Airsurfer PC Card adapter
555# cm: Arcnet SMC COM90c26 / SMC COM90c56
556# (and SMC COM90c66 in '56 compatibility mode) adapters.
557# cs: IBM Etherjet and other Crystal Semi CS89x0-based adapters
558# cx: Cronyx/Sigma multiport sync/async (with Cisco or PPP framing)
1758# dc: Support for PCI fast ethernet adapters based on the DEC/Intel 21143
1759# and various workalikes including:
1760# the ADMtek AL981 Comet and AN985 Centaur, the ASIX Electronics
1761# AX88140A and AX88141, the Davicom DM9100 and DM9102, the Lite-On
1762# 82c168 and 82c169 PNIC, the Lite-On/Macronix LC82C115 PNIC II
1763# and the Macronix 98713/98713A/98715/98715A/98725 PMAC. This driver
1764# replaces the old al, ax, dm, pn and mx drivers. List of brands:
1765# Digital DE500-BA, Kingston KNE100TX, D-Link DFE-570TX, SOHOware SFA110,
1766# SVEC PN102-TX, CNet Pro110B, 120A, and 120B, Compex RL100-TX,
1767# LinkSys LNE100TX, LNE100TX V2.0, Jaton XpressNet, Alfa Inc GFC2204,
1768# KNE110TX.
1769# de: Digital Equipment DC21040
1770# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503
1771# HP PC Lan+, various PC Card devices (refer to etc/defauls/pccard.conf)
1772# (requires miibus)
1773# el: 3Com 3C501 (slow!)
559# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503
560# HP PC Lan+, various PC Card devices (refer to etc/defauls/pccard.conf)
561# (requires miibus)
562# el: 3Com 3C501 (slow!)
1774# em: Intel Pro/1000 Gigabit Ethernet 82542, 82543, 82544 based adapters.
1775# ep: 3Com 3C509, 3C529, 3C556, 3C562D, 3C563D, 3C572, 3C574X, 3C579, 3C589
1776# and PC Card devices using these chipsets.
1777# ex: Intel EtherExpress Pro/10 and other i82595-based adapters,
1778# Olicom Ethernet PC Card devices.
1779# fe: Fujitsu MB86960A/MB86965A Ethernet
1780# fea: DEC DEFEA EISA FDDI adapter
563# ep: 3Com 3C509, 3C529, 3C556, 3C562D, 3C563D, 3C572, 3C574X, 3C579, 3C589
564# and PC Card devices using these chipsets.
565# ex: Intel EtherExpress Pro/10 and other i82595-based adapters,
566# Olicom Ethernet PC Card devices.
567# fe: Fujitsu MB86960A/MB86965A Ethernet
568# fea: DEC DEFEA EISA FDDI adapter
1781# fpa: Support for the Digital DEFPA PCI FDDI. `device fddi' is also needed.
1782# fxp: Intel EtherExpress Pro/100B
1783# (hint of prefer_iomap can be done to prefer I/O instead of Mem mapping)
1784# gx: Intel Pro/1000 Gigabit Ethernet (82542, 82543-F, 82543-T)
1785# ie: AT&T StarLAN 10 and EN100; 3Com 3C507; unknown NI5210;
1786# Intel EtherExpress
1787# le: Digital Equipment EtherWorks 2 and EtherWorks 3 (DEPCA, DE100,
1788# DE101, DE200, DE201, DE202, DE203, DE204, DE205, DE422)
1789# lnc: Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, AMD Am7990 and
1790# Am79C960)
569# ie: AT&T StarLAN 10 and EN100; 3Com 3C507; unknown NI5210;
570# Intel EtherExpress
571# le: Digital Equipment EtherWorks 2 and EtherWorks 3 (DEPCA, DE100,
572# DE101, DE200, DE201, DE202, DE203, DE204, DE205, DE422)
573# lnc: Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, AMD Am7990 and
574# Am79C960)
1791# lge: Support for PCI gigabit ethernet adapters based on the Level 1
1792# LXT1001 NetCellerator chipset. This includes the D-Link DGE-500SX,
1793# SMC TigerCard 1000 (SMC9462SX), and some Addtron cards.
1794# nge: Support for PCI gigabit ethernet adapters based on the National
1795# Semiconductor DP83820 and DP83821 chipset. This includes the
1796# SMC EZ Card 1000 (SMC9462TX), D-Link DGE-500T, Asante FriendlyNet
1797# GigaNIX 1000TA and 1000TPC, the Addtron AEG320T, the LinkSys
1798# EG1032 and EG1064, the Surecom EP-320G-TX and the Netgear GA622T.
1799# oltr: Olicom ISA token-ring adapters OC-3115, OC-3117, OC-3118 and OC-3133
1800# (no hints needed).
1801# Olicom PCI token-ring adapters OC-3136, OC-3137, OC-3139, OC-3140,
1802# OC-3141, OC-3540, OC-3250
1803# rdp: RealTek RTL 8002-based pocket ethernet adapters
1804# sbni: Granch SBNI12-xx ISA and PCI adapters
575# oltr: Olicom ISA token-ring adapters OC-3115, OC-3117, OC-3118 and OC-3133
576# (no hints needed).
577# Olicom PCI token-ring adapters OC-3136, OC-3137, OC-3139, OC-3140,
578# OC-3141, OC-3540, OC-3250
579# rdp: RealTek RTL 8002-based pocket ethernet adapters
580# sbni: Granch SBNI12-xx ISA and PCI adapters
1805# pcn: Support for PCI fast ethernet adapters based on the AMD Am79c97x
1806# chipsets, including the PCnet/FAST, PCnet/FAST+, PCnet/PRO and
1807# PCnet/Home. These were previously handled by the lnc driver (and
1808# still will be if you leave this driver out of the kernel).
1809# rl: Support for PCI fast ethernet adapters based on the RealTek 8129/8139
1810# chipset. Note that the RealTek driver defaults to using programmed
1811# I/O to do register accesses because memory mapped mode seems to cause
1812# severe lockups on SMP hardware. This driver also supports the
1813# Accton EN1207D `Cheetah' adapter, which uses a chip called
1814# the MPX 5030/5038, which is either a RealTek in disguise or a
1815# RealTek workalike. Note that the D-Link DFE-530TX+ uses the RealTek
1816# chipset and is supported by this driver, not the 'vr' driver.
1817# sf: Support for Adaptec Duralink PCI fast ethernet adapters based on the
1818# Adaptec AIC-6915 "starfire" controller.
1819# This includes dual and quad port cards, as well as one 100baseFX card.
1820# Most of these are 64-bit PCI devices, except for one single port
1821# card which is 32-bit.
1822# sis: Support for NICs based on the Silicon Integrated Systems SiS 900,
1823# SiS 7016 and NS DP83815 PCI fast ethernet controller chips.
1824# sk: Support for the SysKonnect SK-984x series PCI gigabit ethernet NICs.
1825# This includes the SK-9841 and SK-9842 single port cards (single mode
1826# and multimode fiber) and the SK-9843 and SK-9844 dual port cards
1827# (also single mode and multimode).
1828# The driver will autodetect the number of ports on the card and
1829# attach each one as a separate network interface.
1830# sn: Support for ISA and PC Card Ethernet devices using the
1831# SMC91C90/92/94/95 chips.
1832# sr: RISCom/N2 hdlc sync 1/2 port V.35/X.21 serial driver (requires sppp)
581# sn: Support for ISA and PC Card Ethernet devices using the
582# SMC91C90/92/94/95 chips.
583# sr: RISCom/N2 hdlc sync 1/2 port V.35/X.21 serial driver (requires sppp)
1833# ste: Sundance Technologies ST201 PCI fast ethernet controller, includes
1834# the D-Link DFE-550TX.
1835# ti: Support for PCI gigabit ethernet NICs based on the Alteon Networks
1836# Tigon 1 and Tigon 2 chipsets. This includes the Alteon AceNIC, the
1837# 3Com 3c985, the Netgear GA620 and various others. Note that you will
1838# probably want to bump up NMBCLUSTERS a lot to use this driver.
1839# tl: Support for the Texas Instruments TNETE100 series 'ThunderLAN'
1840# cards and integrated ethernet controllers. This includes several
1841# Compaq Netelligent 10/100 cards and the built-in ethernet controllers
1842# in several Compaq Prosignia, Proliant and Deskpro systems. It also
1843# supports several Olicom 10Mbps and 10/100 boards.
1844# tx: SMC 9432 TX, BTX and FTX cards. (SMC EtherPower II serie)
1845# txp: Support for 3Com 3cR990 cards with the "Typhoon" chipset
1846# vr: Support for various fast ethernet adapters based on the VIA
1847# Technologies VT3043 `Rhine I' and VT86C100A `Rhine II' chips,
1848# including the D-Link DFE530TX (see 'rl' for DFE530TX+), the Hawking
1849# Technologies PN102TX, and the AOpen/Acer ALN-320.
1850# vx: 3Com 3C590 and 3C595
1851# wb: Support for fast ethernet adapters based on the Winbond W89C840F chip.
1852# Note: this is not the same as the Winbond W89C940F, which is a
1853# NE2000 clone.
1854# wl: Lucent Wavelan (ISA card only).
1855# wi: Lucent WaveLAN/IEEE 802.11 PCMCIA adapters. Note: this supports both
1856# the PCMCIA and ISA cards: the ISA card is really a PCMCIA to ISA
1857# bridge with a PCMCIA adapter plugged into it.
1858# xe: Xircom/Intel EtherExpress Pro100/16 PC Card ethernet controller,
1859# Accton Fast EtherCard-16, Compaq Netelligent 10/100 PC Card,
1860# Toshiba 10/100 Ethernet PC Card, Xircom 16-bit Ethernet + Modem 56
584# wl: Lucent Wavelan (ISA card only).
585# wi: Lucent WaveLAN/IEEE 802.11 PCMCIA adapters. Note: this supports both
586# the PCMCIA and ISA cards: the ISA card is really a PCMCIA to ISA
587# bridge with a PCMCIA adapter plugged into it.
588# xe: Xircom/Intel EtherExpress Pro100/16 PC Card ethernet controller,
589# Accton Fast EtherCard-16, Compaq Netelligent 10/100 PC Card,
590# Toshiba 10/100 Ethernet PC Card, Xircom 16-bit Ethernet + Modem 56
1861# xl: Support for the 3Com 3c900, 3c905, 3c905B and 3c905C (Fast)
1862# Etherlink XL cards and integrated controllers. This includes the
1863# integrated 3c905B-TX chips in certain Dell Optiplex and Dell
1864# Precision desktop machines and the integrated 3c905-TX chips
1865# in Dell Latitude laptop docking stations.
1866# Also supported: 3Com 3c980(C)-TX, 3Com 3cSOHO100-TX, 3Com 3c450-TX
1867
1868# Order for ISA/EISA devices is important here
1869
1870device ar 1
1871hint.ar.0.at="isa"
1872hint.ar.0.port="0x300"
1873hint.ar.0.irq="10"
1874hint.ar.0.maddr="0xd0000"

--- 73 unchanged lines hidden (view full) ---

1948device wl 1
1949hint.wl.0.at="isa"
1950hint.wl.0.port="0x300"
1951device xe
1952
1953device oltr
1954hint.oltr.0.at="isa"
1955
591
592# Order for ISA/EISA devices is important here
593
594device ar 1
595hint.ar.0.at="isa"
596hint.ar.0.port="0x300"
597hint.ar.0.irq="10"
598hint.ar.0.maddr="0xd0000"

--- 73 unchanged lines hidden (view full) ---

672device wl 1
673hint.wl.0.at="isa"
674hint.wl.0.port="0x300"
675device xe
676
677device oltr
678hint.oltr.0.at="isa"
679
1956# PCI Ethernet NICs that use the common MII bus controller code.
1957device dc # DEC/Intel 21143 and various workalikes
1958device fxp # Intel EtherExpress PRO/100B (82557, 82558)
1959hint.fxp.0.prefer_iomap="0"
1960device rl # RealTek 8129/8139
1961device pcn # AMD Am79C97x PCI 10/100 NICs
1962device sf # Adaptec AIC-6915 (``Starfire'')
1963device sis # Silicon Integrated Systems SiS 900/SiS 7016
1964device ste # Sundance ST201 (D-Link DFE-550TX)
1965device tl # Texas Instruments ThunderLAN
1966device tx # SMC EtherPower II (83c170 ``EPIC'')
1967device vr # VIA Rhine, Rhine II
1968device wb # Winbond W89C840F
1969device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'')
1970
1971# PCI Ethernet NICs.
1972device de # DEC/Intel DC21x4x (``Tulip'')
1973device txp # 3Com 3cR990 (``Typhoon'')
1974device vx # 3Com 3c590, 3c595 (``Vortex'')
1975
1976# PCI Gigabit & FDDI NICs.
1977device bge
1978device gx
1979device lge
1980device nge
1981device sk
1982device ti
1983device fpa 1
1984
1985#
680#
1986# ATM related options (Cranor version)
1987# (note: this driver cannot be used with the HARP ATM stack)
1988#
1989# The `en' device provides support for Efficient Networks (ENI)
1990# ENI-155 PCI midway cards, and the Adaptec 155Mbps PCI ATM cards (ANA-59x0).
1991#
1992# atm device provides generic atm functions and is required for
1993# atm devices.
1994# NATM enables the netnatm protocol family that can be used to
1995# bypass TCP/IP.
1996#
1997# the current driver supports only PVC operations (no atm-arp, no multicast).
1998# for more details, please read the original documents at
1999# http://www.ccrc.wustl.edu/pub/chuck/tech/bsdatm/bsdatm.html
2000#
2001device atm
2002device en
2003options NATM #native ATM
2004
2005#
2006# Audio drivers: `pcm', `sbc', `gusc', `pca'
2007#
2008# pcm: PCM audio through various sound cards.
2009#
681# Audio drivers: `pcm', `sbc', `gusc', `pca'
682#
683# pcm: PCM audio through various sound cards.
684#
2010# This has support for a large number of new audio cards, based on
2011# CS423x, OPTi931, Yamaha OPL-SAx, and also for SB16, GusPnP.
2012# For more information about this driver and supported cards,
2013# see the pcm.4 man page.
2014#
2015# The flags of the device tells the device a bit more info about the
2016# device that normally is obtained through the PnP interface.
2017# bit 2..0 secondary DMA channel;
2018# bit 4 set if the board uses two dma channels;
2019# bit 15..8 board type, overrides autodetection; leave it
2020# zero if don't know what to put in (and you don't,
2021# since this is unsupported at the moment...).
2022#
685# The flags of the device tells the device a bit more info about the
686# device that normally is obtained through the PnP interface.
687# bit 2..0 secondary DMA channel;
688# bit 4 set if the board uses two dma channels;
689# bit 15..8 board type, overrides autodetection; leave it
690# zero if don't know what to put in (and you don't,
691# since this is unsupported at the moment...).
692#
2023# This driver will use the new PnP code if it's available.
2024#
2025# pca: PCM audio through your PC speaker
2026#
2027# Supported cards include:
2028# Creative SoundBlaster ISA PnP/non-PnP
2029# Supports ESS and Avance ISA chips as well.
2030# Gravis UltraSound ISA PnP/non-PnP
693# pca: PCM audio through your PC speaker
694#
695# Supported cards include:
696# Creative SoundBlaster ISA PnP/non-PnP
697# Supports ESS and Avance ISA chips as well.
698# Gravis UltraSound ISA PnP/non-PnP
2031# Crystal Semiconductor CS461x/428x PCI
2032# Neomagic 256AV (ac97)
2033# Most of the more common ISA/PnP sb/mss/ess compatable cards.
2034
699# Most of the more common ISA/PnP sb/mss/ess compatable cards.
700
2035device pcm
2036
2037# For non-pnp sound cards with no bridge drivers only:
2038hint.pcm.0.at="isa"
2039hint.pcm.0.irq="10"
2040hint.pcm.0.drq="1"
2041hint.pcm.0.flags="0x0"
2042
701# For non-pnp sound cards with no bridge drivers only:
702hint.pcm.0.at="isa"
703hint.pcm.0.irq="10"
704hint.pcm.0.drq="1"
705hint.pcm.0.flags="0x0"
706
2043# For PnP/PCI sound cards, no hints are required.
2044
2045#
2046# midi: MIDI interfaces and synthesizers
2047#
2048
707#
708# midi: MIDI interfaces and synthesizers
709#
710
2049device midi
2050
2051# For non-pnp sound cards with no bridge drivers:
2052hint.midi.0.at="isa"
2053hint.midi.0.irq="5"
2054hint.midi.0.flags="0x0"
2055
2056# For serial ports (this example configures port 2):
2057# TODO: implement generic tty-midi interface so that we can use
2058# other uarts.
2059hint.midi.0.at="isa"
2060hint.midi.0.port="0x2F8"
2061hint.midi.0.irq="3"
2062
711# For non-pnp sound cards with no bridge drivers:
712hint.midi.0.at="isa"
713hint.midi.0.irq="5"
714hint.midi.0.flags="0x0"
715
716# For serial ports (this example configures port 2):
717# TODO: implement generic tty-midi interface so that we can use
718# other uarts.
719hint.midi.0.at="isa"
720hint.midi.0.port="0x2F8"
721hint.midi.0.irq="3"
722
2063#
2064# seq: MIDI sequencer
2065#
2066
2067device seq
2068
2069# The bridge drivers for sound cards. These can be separately configured
2070# for providing services to the likes of new-midi.
2071# When used with 'device pcm' they also provide pcm sound services.
2072#
2073# sbc: Creative SoundBlaster ISA PnP/non-PnP
2074# Supports ESS and Avance ISA chips as well.
2075# gusc: Gravis UltraSound ISA PnP/non-PnP
2076# csa: Crystal Semiconductor CS461x/428x PCI

--- 22 unchanged lines hidden (view full) ---

2099# mcd: Mitsumi CD-ROM using proprietary (non-ATAPI) interface
2100# scd: Sony CD-ROM using proprietary (non-ATAPI) interface
2101# matcd: Matsushita/Panasonic CD-ROM using proprietary (non-ATAPI) interface
2102# wt: Wangtek and Archive QIC-02/QIC-36 tape drives
2103# ctx: Cortex-I frame grabber
2104# apm: Laptop Advanced Power Management (experimental)
2105# pmtimer: Timer device driver for power management events (APM or ACPI)
2106# spigot: The Creative Labs Video Spigot video-acquisition board
723# The bridge drivers for sound cards. These can be separately configured
724# for providing services to the likes of new-midi.
725# When used with 'device pcm' they also provide pcm sound services.
726#
727# sbc: Creative SoundBlaster ISA PnP/non-PnP
728# Supports ESS and Avance ISA chips as well.
729# gusc: Gravis UltraSound ISA PnP/non-PnP
730# csa: Crystal Semiconductor CS461x/428x PCI

--- 22 unchanged lines hidden (view full) ---

753# mcd: Mitsumi CD-ROM using proprietary (non-ATAPI) interface
754# scd: Sony CD-ROM using proprietary (non-ATAPI) interface
755# matcd: Matsushita/Panasonic CD-ROM using proprietary (non-ATAPI) interface
756# wt: Wangtek and Archive QIC-02/QIC-36 tape drives
757# ctx: Cortex-I frame grabber
758# apm: Laptop Advanced Power Management (experimental)
759# pmtimer: Timer device driver for power management events (APM or ACPI)
760# spigot: The Creative Labs Video Spigot video-acquisition board
2107# meteor: Matrox Meteor video capture board
2108# bktr: Brooktree bt848/848a/849a/878/879 video capture and TV Tuner board
2109# cy: Cyclades serial driver
2110# dgb: Digiboard PC/Xi and PC/Xe series driver (ALPHA QUALITY!)
2111# digi: Digiboard driver
2112# gp: National Instruments AT-GPIB and AT-GPIB/TNT board, PCMCIA-GPIB
2113# asc: GI1904-based hand scanners, e.g. the Trust Amiscan Grey
2114# gsc: Genius GS-4500 hand scanner.
2115# joy: joystick (including IO DATA PCJOY PC Card joystick)
2116# rc: RISCom/8 multiport card
761# dgb: Digiboard PC/Xi and PC/Xe series driver (ALPHA QUALITY!)
762# digi: Digiboard driver
763# gp: National Instruments AT-GPIB and AT-GPIB/TNT board, PCMCIA-GPIB
764# asc: GI1904-based hand scanners, e.g. the Trust Amiscan Grey
765# gsc: Genius GS-4500 hand scanner.
766# joy: joystick (including IO DATA PCJOY PC Card joystick)
767# rc: RISCom/8 multiport card
2117# rp: Comtrol Rocketport(ISA) - single card
2118# tw: TW-523 power line interface for use with X-10 home control products
2119# si: Specialix SI/XIO 4-32 port terminal multiplexor
2120# spic: Sony Programmable I/O controller (VAIO notebooks)
2121# stl: Stallion EasyIO and EasyConnection 8/32 (cd1400 based)
2122# stli: Stallion EasyConnection 8/64, ONboard, Brumby (intelligent)
768# tw: TW-523 power line interface for use with X-10 home control products
769# si: Specialix SI/XIO 4-32 port terminal multiplexor
770# spic: Sony Programmable I/O controller (VAIO notebooks)
771# stl: Stallion EasyIO and EasyConnection 8/32 (cd1400 based)
772# stli: Stallion EasyConnection 8/64, ONboard, Brumby (intelligent)
2123# nmdm: nullmodem terminal driver (see nmdm(4))
2124
2125# Notes on APM
2126# The flags takes the following meaning for apm0:
2127# 0x0020 Statclock is broken.
2128# If apm is omitted, some systems require sysctl -w kern.timecounter.method=1
2129# for correct timekeeping.
2130
2131# Notes on the spigot:
2132# The video spigot is at 0xad6. This port address can not be changed.
2133# The irq values may only be 10, 11, or 15
2134# I/O memory is an 8kb region. Possible values are:
2135# 0a0000, 0a2000, ..., 0fffff, f00000, f02000, ..., ffffff
2136# The start address must be on an even boundary.
2137# Add the following option if you want to allow non-root users to be able
2138# to access the spigot. This option is not secure because it allows users
2139# direct access to the I/O page.
2140# options SPIGOT_UNSECURE
2141
773
774# Notes on APM
775# The flags takes the following meaning for apm0:
776# 0x0020 Statclock is broken.
777# If apm is omitted, some systems require sysctl -w kern.timecounter.method=1
778# for correct timekeeping.
779
780# Notes on the spigot:
781# The video spigot is at 0xad6. This port address can not be changed.
782# The irq values may only be 10, 11, or 15
783# I/O memory is an 8kb region. Possible values are:
784# 0a0000, 0a2000, ..., 0fffff, f00000, f02000, ..., ffffff
785# The start address must be on an even boundary.
786# Add the following option if you want to allow non-root users to be able
787# to access the spigot. This option is not secure because it allows users
788# direct access to the I/O page.
789# options SPIGOT_UNSECURE
790
2142# Notes on the Comtrol Rocketport driver:
2143#
2144# The exact values used for rp0 depend on how many boards you have
2145# in the system. The manufacturer's sample configs are listed as:
2146#
2147# device rp # core driver support
2148#
2149# Comtrol Rocketport ISA single card
2150# hints.rp.0.at="isa"
2151# hints.rp.0.port="0x280"
2152#
2153# If instead you have two ISA cards, one installed at 0x100 and the
2154# second installed at 0x180, then you should add the following to
2155# your kernel probe hints:
2156# hints.rp.0.at="isa"
2157# hints.rp.0.port="0x100"
2158# hints.rp.1.at="isa"
2159# hints.rp.1.port="0x180"
2160#
2161# For 4 ISA cards, it might be something like this:
2162# hints.rp.0.at="isa"
2163# hints.rp.0.port="0x180"
2164# hints.rp.1.at="isa"
2165# hints.rp.1.port="0x100"
2166# hints.rp.2.at="isa"
2167# hints.rp.2.port="0x340"
2168# hints.rp.3.at="isa"
2169# hints.rp.3.port="0x240"
2170#
2171# And for PCI cards, you need no hints.
2172
2173# Notes on the Digiboard driver:
2174#
2175# The following flag values have special meanings in dgb:
2176# 0x01 - alternate layout of pins
2177# 0x02 - use the windowed PC/Xe in 64K mode
2178
2179# Notes on the Specialix SI/XIO driver:
2180# The host card is memory, not IO mapped.

--- 63 unchanged lines hidden (view full) ---

2244hint.gp.0.port="0x2c0"
2245device gsc 1
2246hint.gsc.0.at="isa"
2247hint.gsc.0.port="0x270"
2248hint.gsc.0.drq="3"
2249device joy # PnP aware, hints for nonpnp only
2250hint.joy.0.at="isa"
2251hint.joy.0.port="0x201"
791# Notes on the Digiboard driver:
792#
793# The following flag values have special meanings in dgb:
794# 0x01 - alternate layout of pins
795# 0x02 - use the windowed PC/Xe in 64K mode
796
797# Notes on the Specialix SI/XIO driver:
798# The host card is memory, not IO mapped.

--- 63 unchanged lines hidden (view full) ---

862hint.gp.0.port="0x2c0"
863device gsc 1
864hint.gsc.0.at="isa"
865hint.gsc.0.port="0x270"
866hint.gsc.0.drq="3"
867device joy # PnP aware, hints for nonpnp only
868hint.joy.0.at="isa"
869hint.joy.0.port="0x201"
2252device cy 1
2253options CY_PCI_FASTINTR # Use with cy_pci unless irq is shared
2254hint.cy.0.at="isa"
2255hint.cy.0.irq="10"
2256hint.cy.0.maddr="0xd4000"
2257hint.cy.0.msize="0x2000"
2258device dgb 1
2259options NDGBPORTS=16 # Defaults to 16*NDGB
2260hint.dgb.0.at="isa"
2261hint.dgb.0.port="0x220"
2262hint.dgb.0.maddr="0xfc000"
2263device digi
2264hint.digi.0.at="isa"
2265hint.digi.0.port="0x104"

--- 5 unchanged lines hidden (view full) ---

2271device digi_EPCX_PCI
2272device digi_Xe
2273device digi_Xem
2274device digi_Xr
2275device rc 1
2276hint.rc.0.at="isa"
2277hint.rc.0.port="0x220"
2278hint.rc.0.irq="12"
870device dgb 1
871options NDGBPORTS=16 # Defaults to 16*NDGB
872hint.dgb.0.at="isa"
873hint.dgb.0.port="0x220"
874hint.dgb.0.maddr="0xfc000"
875device digi
876hint.digi.0.at="isa"
877hint.digi.0.port="0x104"

--- 5 unchanged lines hidden (view full) ---

883device digi_EPCX_PCI
884device digi_Xe
885device digi_Xem
886device digi_Xr
887device rc 1
888hint.rc.0.at="isa"
889hint.rc.0.port="0x220"
890hint.rc.0.irq="12"
2279device rp
2280hint.rp.0.at="isa"
2281hint.rp.0.port="0x280"
2282# the port and irq for tw0 are fictitious
2283device tw 1
2284hint.tw.0.at="isa"
2285hint.tw.0.port="0x380"
2286hint.tw.0.irq="11"
2287device si
2288options SI_DEBUG
2289hint.si.0.at="isa"

--- 18 unchanged lines hidden (view full) ---

2308hint.stli.0.flags="23"
2309hint.stli.0.msize="0x1000"
2310# You are unlikely to have the hardware for loran <phk@FreeBSD.org>
2311device loran
2312hint.loran.0.at="isa"
2313hint.loran.0.irq="5"
2314# HOT1 Xilinx 6200 card (http://www.vcc.com/)
2315device xrpu
891# the port and irq for tw0 are fictitious
892device tw 1
893hint.tw.0.at="isa"
894hint.tw.0.port="0x380"
895hint.tw.0.irq="11"
896device si
897options SI_DEBUG
898hint.si.0.at="isa"

--- 18 unchanged lines hidden (view full) ---

917hint.stli.0.flags="23"
918hint.stli.0.msize="0x1000"
919# You are unlikely to have the hardware for loran <phk@FreeBSD.org>
920device loran
921hint.loran.0.at="isa"
922hint.loran.0.irq="5"
923# HOT1 Xilinx 6200 card (http://www.vcc.com/)
924device xrpu
2316# nullmodem terminal driver
2317device nmdm
2318
2319#
925
926#
2320# The `meteor' device is a PCI video capture board. It can also have the
2321# following options:
2322# options METEOR_ALLOC_PAGES=xxx preallocate kernel pages for data entry
2323# figure (ROWS*COLUMN*BYTES_PER_PIXEL*FRAME+PAGE_SIZE-1)/PAGE_SIZE
2324# options METEOR_DEALLOC_PAGES remove all allocated pages on close(2)
2325# options METEOR_DEALLOC_ABOVE=xxx remove all allocated pages above the
2326# specified amount. If this value is below the allocated amount no action
2327# taken
2328# options METEOR_SYSTEM_DEFAULT={METEOR_PAL|METEOR_NTSC|METEOR_SECAM}, used
2329# for initialization of fps routine when a signal is not present.
2330#
2331# The 'bktr' device is a PCI video capture device using the Brooktree
2332# bt848/bt848a/bt849a/bt878/bt879 chipset. When used with a TV Tuner it forms a
2333# TV card, eg Miro PC/TV, Hauppauge WinCast/TV WinTV, VideoLogic Captivator,
2334# Intel Smart Video III, AverMedia, IMS Turbo, FlyVideo.
2335#
2336# options OVERRIDE_CARD=xxx
2337# options OVERRIDE_TUNER=xxx
2338# options OVERRIDE_MSP=1
2339# options OVERRIDE_DBX=1
2340# These options can be used to override the auto detection
2341# The current values for xxx are found in src/sys/dev/bktr/bktr_card.h
2342# Using sysctl(8) run-time overrides on a per-card basis can be made
2343#
2344# options BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_PAL
2345# or
2346# options BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_NTSC
2347# Specifes the default video capture mode.
2348# This is required for Dual Crystal (28&35Mhz) boards where PAL is used
2349# to prevent hangs during initialisation. eg VideoLogic Captivator PCI.
2350#
2351# options BKTR_USE_PLL
2352# PAL or SECAM users who have a 28Mhz crystal (and no 35Mhz crystal)
2353# must enable PLL mode with this option. eg some new Bt878 cards.
2354#
2355# options BKTR_GPIO_ACCESS
2356# This enable IOCTLs which give user level access to the GPIO port.
2357#
2358# options BKTR_NO_MSP_RESET
2359# Prevents the MSP34xx reset. Good if you initialise the MSP in another OS first
2360#
2361# options BKTR_430_FX_MODE
2362# Switch Bt878/879 cards into Intel 430FX chipset compatibility mode.
2363#
2364# options BKTR_SIS_VIA_MODE
2365# Switch Bt878/879 cards into SIS/VIA chipset compatibility mode which is
2366# needed for some old SiS and VIA chipset motherboards.
2367# This also allows Bt878/879 chips to work on old OPTi (<1997) chipset
2368# motherboards and motherboards with bad or incomplete PCI 2.1 support.
2369# As a rough guess, old = before 1998
2370#
2371
2372device meteor 1
2373
2374#
2375# options BKTR_USE_FREEBSD_SMBUS
2376# Compile with FreeBSD SMBus implementation
2377#
2378# Brooktree driver has been ported to the new I2C framework. Thus,
2379# you'll need to have the following 3 lines in the kernel config.
2380# device smbus
2381# device iicbus
2382# device iicbb
2383# device iicsmb
2384# The iic and smb devices are only needed if you want to control other
2385# I2C slaves connected to the external connector of some cards.
2386#
2387device bktr 1
2388
2389#
2390# PC Card/PCMCIA
2391# (OLDCARD)
2392#
2393# card: pccard slots
2394# pcic: isa/pccard bridge
2395device pcic
2396hint.pcic.0.at="isa"
2397hint.pcic.1.at="isa"

--- 23 unchanged lines hidden (view full) ---

2421# For older notebooks that signal a powerfail condition (external
2422# power supply dropped, or battery state low) by issuing an NMI:
2423
2424options POWERFAIL_NMI # make it beep instead of panicing
2425
2426#
2427# SMB bus
2428#
927# PC Card/PCMCIA
928# (OLDCARD)
929#
930# card: pccard slots
931# pcic: isa/pccard bridge
932device pcic
933hint.pcic.0.at="isa"
934hint.pcic.1.at="isa"

--- 23 unchanged lines hidden (view full) ---

958# For older notebooks that signal a powerfail condition (external
959# power supply dropped, or battery state low) by issuing an NMI:
960
961options POWERFAIL_NMI # make it beep instead of panicing
962
963#
964# SMB bus
965#
2429# System Management Bus support is provided by the 'smbus' device.
2430# Access to the SMBus device is via the 'smb' device (/dev/smb*),
2431# which is a child of the 'smbus' device.
2432#
2433# Supported devices:
2434# smb standard io through /dev/smb*
2435#
2436# Supported SMB interfaces:
966# Supported SMB interfaces:
2437# iicsmb I2C to SMB bridge with any iicbus interface
2438# bktr brooktree848 I2C hardware interface
2439# intpm Intel PIIX4 (82371AB, 82443MX) Power Management Unit
2440# alpm Acer Aladdin-IV/V/Pro2 Power Management Unit
2441# ichsmb Intel ICH SMBus controller chips (82801AA, 82801AB, 82801BA)
2442# viapm VIA VT82C586B/596B/686A and VT8233 Power Management Unit
2443#
967# intpm Intel PIIX4 (82371AB, 82443MX) Power Management Unit
968# alpm Acer Aladdin-IV/V/Pro2 Power Management Unit
969# ichsmb Intel ICH SMBus controller chips (82801AA, 82801AB, 82801BA)
970# viapm VIA VT82C586B/596B/686A and VT8233 Power Management Unit
971#
2444device smbus # Bus support, required for smb below.
2445
2446device intpm
2447device alpm
2448device ichsmb
2449device viapm
2450
972device intpm
973device alpm
974device ichsmb
975device viapm
976
2451device smb
2452
2453#
2454# I2C Bus
2455#
2456# Philips i2c bus support is provided by the `iicbus' device.
2457#
977#
978# I2C Bus
979#
980# Philips i2c bus support is provided by the `iicbus' device.
981#
2458# Supported devices:
2459# ic i2c network interface
2460# iic i2c standard io
2461# iicsmb i2c to smb bridge. Allow i2c i/o with smb commands.
2462#
2463# Supported interfaces:
2464# pcf Philips PCF8584 ISA-bus controller
982# Supported interfaces:
983# pcf Philips PCF8584 ISA-bus controller
2465# bktr brooktree848 I2C software interface
2466#
984#
2467# Other:
2468# iicbb generic I2C bit-banging code (needed by lpbb, bktr)
2469#
2470device iicbus # Bus support, required for ic/iic/iicsmb below.
2471device iicbb
2472
2473device ic
2474device iic
2475device iicsmb # smb over i2c bridge
2476
2477device pcf
2478hint.pcf.0.at="isa"
2479hint.pcf.0.port="0x320"
2480hint.pcf.0.irq="5"
2481
2482#---------------------------------------------------------------------------
2483# ISDN4BSD
2484#

--- 212 unchanged lines hidden (view full) ---

2697# B-channel interface to the netgraph subsystem
2698device "i4bing" 2
2699#
2700# CAPI driver needed for active ISDN cards (see iavc driver above)
2701device "i4bcapi"
2702#
2703#---------------------------------------------------------------------------
2704
985device pcf
986hint.pcf.0.at="isa"
987hint.pcf.0.port="0x320"
988hint.pcf.0.irq="5"
989
990#---------------------------------------------------------------------------
991# ISDN4BSD
992#

--- 212 unchanged lines hidden (view full) ---

1205# B-channel interface to the netgraph subsystem
1206device "i4bing" 2
1207#
1208# CAPI driver needed for active ISDN cards (see iavc driver above)
1209device "i4bcapi"
1210#
1211#---------------------------------------------------------------------------
1212
2705# Parallel-Port Bus
2706#
1213#
2707# Parallel port bus support is provided by the `ppbus' device.
2708# Multiple devices may be attached to the parallel port, devices
2709# are automatically probed and attached when found.
2710#
2711# Supported devices:
2712# vpo Iomega Zip Drive
2713# Requires SCSI disk support ('scbus' and 'da'), best
2714# performance is achieved with ports in EPP 1.9 mode.
2715# lpt Parallel Printer
2716# plip Parallel network interface
2717# ppi General-purpose I/O ("Geek Port") + IEEE1284 I/O
2718# pps Pulse per second Timing Interface
2719# lpbb Philips official parallel port I2C bit-banging interface
2720#
2721# Supported interfaces:
2722# ppc ISA-bus parallel port interfaces.
2723#
2724
2725options PPC_PROBE_CHIPSET # Enable chipset specific detection
2726 # (see flags in ppc(4))
2727options DEBUG_1284 # IEEE1284 signaling protocol debug
2728options PERIPH_1284 # Makes your computer act as a IEEE1284
2729 # compliant peripheral
2730options DONTPROBE_1284 # Avoid boot detection of PnP parallel devices
2731options VP0_DEBUG # ZIP/ZIP+ debug
2732options LPT_DEBUG # Printer driver debug
2733options PPC_DEBUG # Parallel chipset level debug
2734options PLIP_DEBUG # Parallel network IP interface debug
2735options PCFCLOCK_VERBOSE # Verbose pcfclock driver
2736options PCFCLOCK_MAX_RETRIES=5 # Maximum read tries (default 10)
2737
2738device ppc
2739hint.ppc.0.at="isa"
2740hint.ppc.0.irq="7"
2741device ppbus
2742device vpo
2743device lpt
2744device plip
2745device ppi
2746device pps
2747device lpbb
2748device pcfclock
2749
2750# Kernel BOOTP support
2751
2752options BOOTP # Use BOOTP to obtain IP address/hostname
2753options BOOTP_NFSROOT # NFS mount root filesystem using BOOTP info
2754options BOOTP_NFSV3 # Use NFS v3 to NFS mount root
2755options BOOTP_COMPAT # Workaround for broken bootp daemons.
2756options BOOTP_WIRED_TO=fxp0 # Use interface fxp0 for BOOTP
2757
2758#
2759# Add tie-ins for a hardware watchdog. This only enable the hooks;
2760# the user must still supply the actual driver.
2761#
2762options HW_WDOG
2763
2764#
2765# Set the number of PV entries per process. Increasing this can
2766# stop panics related to heavy use of shared memory. However, that can
2767# (combined with large amounts of physical memory) cause panics at
2768# boot time due the kernel running out of VM space.
2769#
2770# If you're tweaking this, you might also want to increase the sysctls
2771# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target".
2772#

--- 5 unchanged lines hidden (view full) ---

2778# Change the size of the kernel virtual address space. Due to
2779# constraints in loader(8) on i386, this must be a multiple of 4.
2780# 256 = 1 GB of kernel address space. Increasing this also causes
2781# a reduction of the address space in user processes. 512 splits
2782# the 4GB cpu address space in half (2GB user, 2GB kernel).
2783#
2784options KVA_PAGES=260
2785
1214# Set the number of PV entries per process. Increasing this can
1215# stop panics related to heavy use of shared memory. However, that can
1216# (combined with large amounts of physical memory) cause panics at
1217# boot time due the kernel running out of VM space.
1218#
1219# If you're tweaking this, you might also want to increase the sysctls
1220# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target".
1221#

--- 5 unchanged lines hidden (view full) ---

1227# Change the size of the kernel virtual address space. Due to
1228# constraints in loader(8) on i386, this must be a multiple of 4.
1229# 256 = 1 GB of kernel address space. Increasing this also causes
1230# a reduction of the address space in user processes. 512 splits
1231# the 4GB cpu address space in half (2GB user, 2GB kernel).
1232#
1233options KVA_PAGES=260
1234
2786#
2787# Disable swapping. This option removes all code which actually performs
2788# swapping, so it's not possible to turn it back on at run-time.
2789#
2790# This is sometimes usable for systems which don't have any swap space
2791# (see also sysctls "vm.defer_swapspace_pageouts" and
2792# "vm.disable_swapspace_pageouts")
2793#
2794#options NO_SWAPPING
2795
2796# Set the number of sf_bufs to allocate. sf_bufs are virtual buffers
2797# for sendfile(2) that are used to map file VM pages, and normally
2798# default to a quantity that is roughly 16*MAXUSERS+512. You would
2799# typically want about 4 of these for each simultaneous file send.
2800#
2801options NSFBUFS=1024
2802
2803#
2804# Enable extra debugging code for locks. This stores the filename and
2805# line of whatever acquired the lock in the lock itself, and change a
2806# number of function calls to pass around the relevant data. This is
2807# not at all useful unless you are debugging lock code. Also note
2808# that it is likely to break e.g. fstat(1) unless you recompile your
2809# userland with -DDEBUG_LOCKS as well.
2810#
2811options DEBUG_LOCKS
2812
2813
2814#####################################################################
2815# ABI Emulation
2816
2817# Enable iBCS2 runtime support for SCO and ISC binaries
2818options IBCS2
2819
2820# Emulate spx device for client side of SVR3 local X interface

--- 21 unchanged lines hidden (view full) ---

2842# those circumstances.
2843# Caveat: At this time, `options KTRACE' is required for the svr4 emulator
2844# (whether static or dynamic).
2845#
2846options COMPAT_SVR4 # build emulator statically
2847options DEBUG_SVR4 # enable verbose debugging
2848device streams # STREAMS network driver (required for svr4).
2849
1235
1236#####################################################################
1237# ABI Emulation
1238
1239# Enable iBCS2 runtime support for SCO and ISC binaries
1240options IBCS2
1241
1242# Emulate spx device for client side of SVR3 local X interface

--- 21 unchanged lines hidden (view full) ---

1264# those circumstances.
1265# Caveat: At this time, `options KTRACE' is required for the svr4 emulator
1266# (whether static or dynamic).
1267#
1268options COMPAT_SVR4 # build emulator statically
1269options DEBUG_SVR4 # enable verbose debugging
1270device streams # STREAMS network driver (required for svr4).
1271
2850
2851#####################################################################
1272#####################################################################
2852# USB support
2853# UHCI controller
2854device uhci
2855# OHCI controller
2856device ohci
2857# General USB code (mandatory for USB)
2858device usb
2859#
2860# USB Double Bulk Pipe devices
2861device udbp
2862# Generic USB device driver
2863device ugen
2864# Human Interface Device (anything with buttons and dials)
2865device uhid
2866# USB keyboard
2867device ukbd
2868# USB printer
2869device ulpt
2870# USB Iomega Zip 100 Drive (Requires scbus and da)
2871device umass
2872# USB modem support
2873device umodem
2874# USB mouse
2875device ums
2876# Diamond Rio 500 Mp3 player
2877device urio
2878# USB scanners
2879device uscanner
2880# USB serial support
2881device ucom
2882device uplcom
2883# USB serial support for DDI pocket's PHS
2884device uvscom
2885# USB Fm Radio
2886device ufm
2887#
2888# ADMtek USB ethernet. Supports the LinkSys USB100TX,
2889# the Billionton USB100, the Melco LU-ATX, the D-Link DSB-650TX
2890# and the SMC 2202USB. Also works with the ADMtek AN986 Pegasus
2891# eval board.
2892device aue
2893#
2894# CATC USB-EL1201A USB ethernet. Supports the CATC Netmate
2895# and Netmate II, and the Belkin F5U111.
2896device cue
2897#
2898# Kawasaki LSI ethernet. Supports the LinkSys USB10T,
2899# Entrega USB-NET-E45, Peracom Ethernet Adapter, the
2900# 3Com 3c19250, the ADS Technologies USB-10BT, the ATen UC10T,
2901# the Netgear EA101, the D-Link DSB-650, the SMC 2102USB
2902# and 2104USB, and the Corega USB-T.
2903device kue
2904
1273
2905# debugging options for the USB subsystem
2906#
2907options UHCI_DEBUG
2908options OHCI_DEBUG
2909options USB_DEBUG
2910
2911options UGEN_DEBUG
2912options UHID_DEBUG
2913options UHUB_DEBUG
2914options UKBD_DEBUG
2915options ULPT_DEBUG
2916options UMASS_DEBUG
2917options UMS_DEBUG
2918options URIO_DEBUG
2919
2920# options for ukbd:
2921options UKBD_DFLT_KEYMAP # specify the built-in keymap
2922makeoptions UKBD_DFLT_KEYMAP=it.iso
2923
2924#
2925# Embedded system options:
2926#
2927# An embedded system might want to run something other than init.
2928options INIT_PATH="/sbin/init:/stand/sysinstall"
2929
2930# Debug options
2931options BUS_DEBUG # enable newbus debugging
2932options DEBUG_VFS_LOCKS # enable vfs lock debugging
2933options NPX_DEBUG # enable npx debugging (FPU/math emu)
2934
2935#####################################################################
2936# SYSV IPC KERNEL PARAMETERS
2937#
2938# Maximum number of entries in a semaphore map.
2939options SEMMAP=31
2940
2941# Maximum number of System V semaphores that can be used on the system at
2942# one time.
2943options SEMMNI=11
2944
2945# Total number of semaphores system wide
2946options SEMMNS=61
2947
2948# Total number of undo structures in system
2949options SEMMNU=31
2950
2951# Maximum number of System V semaphores that can be used by a single process
2952# at one time.
2953options SEMMSL=61
2954
2955# Maximum number of operations that can be outstanding on a single System V
2956# semaphore at one time.
2957options SEMOPM=101
2958
2959# Maximum number of undo operations that can be outstanding on a single
2960# System V semaphore at one time.
2961options SEMUME=11
2962
2963# Maximum number of shared memory pages system wide.
2964options SHMALL=1025
2965
2966# Maximum size, in bytes, of a single System V shared memory region.
2967options SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)"
2968options SHMMAXPGS=1025
2969
2970# Minimum size, in bytes, of a single System V shared memory region.
2971options SHMMIN=2
2972
2973# Maximum number of shared memory regions that can be used on the system
2974# at one time.
2975options SHMMNI=33
2976
2977# Maximum number of System V shared memory regions that can be attached to
2978# a single process at one time.
2979options SHMSEG=9
2980
2981# Set the amount of time (in seconds) the system will wait before
2982# rebooting automatically when a kernel panic occurs. If set to (-1),
2983# the system will wait indefinitely until a key is pressed on the
2984# console.
2985options PANIC_REBOOT_WAIT_TIME=16
2986
2987#####################################################################
2988
2989# More undocumented options for linting.
2990# Note that documenting these are not considered an affront.
2991
1274# More undocumented options for linting.
1275# Note that documenting these are not considered an affront.
1276
2992options CAM_DEBUG_DELAY
2993
2994# VFS cluster debugging.
2995options CLUSTERDEBUG
2996
2997options DEBUG
2998
2999# PECOFF module (Win32 Execution Format)
3000options PECOFF_SUPPORT
3001options PECOFF_DEBUG
3002
3003# Disable the 4 MByte PSE CPU feature.
3004#options DISABLE_PSE
3005
3006options ENABLE_ALART
3007options I4B_SMP_WORKAROUND
3008options I586_PMC_GUPROF=0x70000
3009options KBDIO_DEBUG=2
3010options KBD_MAXRETRY=4
3011options KBD_MAXWAIT=6
3012options KBD_RESETDELAY=201
3013
1277# PECOFF module (Win32 Execution Format)
1278options PECOFF_SUPPORT
1279options PECOFF_DEBUG
1280
1281# Disable the 4 MByte PSE CPU feature.
1282#options DISABLE_PSE
1283
1284options ENABLE_ALART
1285options I4B_SMP_WORKAROUND
1286options I586_PMC_GUPROF=0x70000
1287options KBDIO_DEBUG=2
1288options KBD_MAXRETRY=4
1289options KBD_MAXWAIT=6
1290options KBD_RESETDELAY=201
1291
3014# Kernel filelock debugging.
3015options LOCKF_DEBUG
3016
3017# System V compatible message queues
3018# Please note that the values provided here are used to test kernel
3019# building. The defaults in the sources provide almost the same numbers.
3020# MSGSSZ must be a power of 2 between 8 and 1024.
3021options MSGMNB=2049 # Max number of chars in queue
3022options MSGMNI=41 # Max number of message queue identifiers
3023options MSGSEG=2049 # Max number of message segments
3024options MSGSSZ=16 # Size of a message segment
3025options MSGTQL=41 # Max number of messages in system
3026
3027options NBUF=512 # Number of buffer headers
3028
3029options NMBCLUSTERS=1024 # Number of mbuf clusters
3030
3031options PSM_DEBUG=1
3032
1292options PSM_DEBUG=1
1293
3033options SCSI_NCR_DEBUG
3034options SCSI_NCR_MAX_SYNC=10000
3035options SCSI_NCR_MAX_WIDE=1
3036options SCSI_NCR_MYADDR=7
3037
3038options SC_DEBUG_LEVEL=5 # Syscons debug level
3039options SC_RENDER_DEBUG # syscons rendering debugging
3040
3041options SHOW_BUSYBUFS # List buffers that prevent root unmount
3042options SLIP_IFF_OPTS
3043options TIMER_FREQ="((14318182+6)/12)"
1294options TIMER_FREQ="((14318182+6)/12)"
3044options VFS_BIO_DEBUG # VFS buffer I/O debugging
3045
3046options VM_KMEM_SIZE
3047options VM_KMEM_SIZE_MAX
3048options VM_KMEM_SIZE_SCALE
3049
3050# Yet more undocumented options for linting.
1295
1296options VM_KMEM_SIZE
1297options VM_KMEM_SIZE_MAX
1298options VM_KMEM_SIZE_SCALE
1299
1300# Yet more undocumented options for linting.
3051options AAC_DEBUG
3052options ACD_DEBUG
3053options ACPI_MAX_THREADS=1
3054#!options ACPI_NO_SEMAPHORES
3055# Broken:
3056##options ASR_MEASURE_PERFORMANCE
3057options AST_DEBUG
3058options ATAPI_DEBUG
3059options ATA_DEBUG
3060# BKTR_ALLOC_PAGES has no effect except to cause warnings, and
3061# BROOKTREE_ALLOC_PAGES hasn't actually been superseded by it, since the
3062# driver still mostly spells this option BROOKTREE_ALLOC_PAGES.
3063##options BKTR_ALLOC_PAGES="(217*4+1)"
3064options BROOKTREE_ALLOC_PAGES="(217*4+1)"
3065# Broken:
3066##options CAPABILITIES
3067options COMPAT_SUNOS
1301options COMPAT_SUNOS
3068options MAXFILES=999
3069# METEOR_TEST_VIDEO has no effect since meteor is broken.
3070options METEOR_TEST_VIDEO
3071options NDEVFSINO=1025
3072options NDEVFSOVERFLOW=32769
3073options NETGRAPH_BRIDGE
3074# SIMOS is broken since it is alpha-only but not ifdefed.
3075##options SIMOS
3076options VESA_DEBUG
3077options VGA_DEBUG
1302options VESA_DEBUG
1303options VGA_DEBUG