NOTES revision 118819
135137Sphk# $FreeBSD: head/sys/conf/NOTES 118819 2003-08-12 09:45:34Z alex $ 235137Sphk# 335137Sphk# NOTES -- Lines that can be cut/pasted into kernel and hints configs. 435137Sphk# 535137Sphk# Lines that begin with 'device', 'options', 'machine', 'ident', 'maxusers', 635137Sphk# 'makeoptions', 'hints', etc. go into the kernel configuration that you 735137Sphk# run config(8) with. 835137Sphk# 935137Sphk# Lines that begin with 'hint.' are NOT for config(8), they go into your 1035137Sphk# hints file. See /boot/device.hints and/or the 'hints' config(8) directive. 1135137Sphk# 1235137Sphk# Please use ``make LINT'' to create an old-style LINT file if you want to 1335137Sphk# do kernel test-builds. 1435137Sphk# 1535137Sphk# This file contains machine independent kernel configuration notes. For 1635137Sphk# machine dependent notes, look in /sys/<arch>/conf/NOTES. 1735137Sphk# 1835137Sphk 1935137Sphk# 2035137Sphk# NOTES conventions and style guide: 2135137Sphk# 2235137Sphk# Large block comments should begin and end with a line containing only a 2335137Sphk# comment character. 2435137Sphk# 2535137Sphk# To describe a particular object, a block comment (if it exists) should 2635137Sphk# come first. Next should come device, options, and hints lines in that 2735137Sphk# order. All device and option lines must be described by a comment that 2835137Sphk# doesn't just expand the device or option name. Use only a concise 2935137Sphk# comment on the same line if possible. Very detailed descriptions of 3061438Sasmodai# devices and subsystems belong in manpages. 3135137Sphk# 3235137Sphk# A space followed by a tab separates 'option' from an option name. Two 3335137Sphk# spaces followed by a tab separate 'device' from a device name. Comments 3435137Sphk# after an option or device should use one space after the comment character. 3535137Sphk# To comment out a negative option that disables code and thus should not be 3635137Sphk# enabled for LINT builds, precede 'option' with "#!". 3761438Sasmodai# 3861438Sasmodai 3935137Sphk# 4035137Sphk# This is the ``identification'' of the kernel. Usually this should 4135137Sphk# be the same as the name of your kernel. 4235137Sphk# 4361438Sasmodaiident LINT 4435137Sphk 4535137Sphk# 4635137Sphk# The `maxusers' parameter controls the static sizing of a number of 4735137Sphk# internal system tables by a formula defined in subr_param.c. 4835137Sphk# Omitting this parameter or setting it to 0 will cause the system to 4935137Sphk# auto-size based on physical memory. 5035137Sphk# 5145114Sphkmaxusers 10 5245114Sphk 5345114Sphk# 5445114Sphk# The `makeoptions' parameter allows variables to be passed to the 5545114Sphk# generated Makefile in the build area. 5645114Sphk# 5745114Sphk# CONF_CFLAGS gives some extra compiler flags that are added to ${CFLAGS} 5837669Scharnier# after most other flags. Here we use it to inhibit use of non-optimal 5937669Scharnier# gcc builtin functions (e.g., memcmp). 6050476Speter# 6137669Scharnier# DEBUG happens to be magic. 6235137Sphk# The following is equivalent to 'config -g KERNELNAME' and creates 63103417Smike# 'kernel.debug' compiled with -g debugging as well as a normal 64103417Smike# 'kernel'. Use 'make install.debug' to install the debug kernel 65103417Smike# but that isn't normally necessary as the debug symbols are not loaded 66103417Smike# by the kernel and are not useful there anyway. 67103417Smike# 68103417Smike# KERNEL can be overridden so that you can change the default name of your 69103417Smike# kernel. 70103417Smike# 71103417Smike# MODULES_OVERRIDE can be used to limit modules built to a specific list. 72103417Smike# 73103417Smikemakeoptions CONF_CFLAGS=-fno-builtin #Don't allow use of memcmp, etc. 7435734Scharnier#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 7535734Scharnier#makeoptions KERNEL=foo #Build kernel "foo" and install "/foo" 7635137Sphk# Only build Linux API modules and plus those parts of the sound system I need. 7735137Sphk#makeoptions MODULES_OVERRIDE="linux sound/snd sound/pcm sound/driver/maestro3" 7835137Sphkmakeoptions DESTDIR=/tmp 7935137Sphk 8035734Scharnier 8135137Sphk# 8235137Sphk# Certain applications can grow to be larger than the 512M limit 8335137Sphk# that FreeBSD initially imposes. Below are some options to 8435137Sphk# allow that limit to grow to 1GB, and can be increased further 8535137Sphk# with changing the parameters. MAXDSIZ is the maximum that the 8635137Sphk# limit can be set to, and the DFLDSIZ is the default value for 8735137Sphk# the limit. MAXSSIZ is the maximum that the stack limit can be 8835137Sphk# set to. You might want to set the default lower than the max, 8935137Sphk# and explicitly set the maximum with a shell command for processes 9092883Simp# that regularly exceed the limit like INND. 9135734Scharnier# 92204966Suqsoptions MAXDSIZ=(1024UL*1024*1024) 93204966Suqsoptions MAXSSIZ=(128UL*1024*1024) 9435137Sphkoptions DFLDSIZ=(1024UL*1024*1024) 9535137Sphk 9635137Sphk# 9735137Sphk# BLKDEV_IOSIZE sets the default block size used in user block 9835137Sphk# device I/O. Note that this value will be overriden by the label 99121540Speter# when specifying a block device from a label with a non-0 10035137Sphk# partition blocksize. The default is PAGE_SIZE. 10135137Sphk# 10237669Scharnieroptions BLKDEV_IOSIZE=8192 10335137Sphk 10435137Sphk# Options for the VM subsystem 10535137Sphk# L2 cache size (in KB) can be specified in PQ_CACHESIZE 10635137Sphkoptions PQ_CACHESIZE=512 # color for 512k/16k cache 10735137Sphk# Deprecated options supported for backwards compatibility 10835137Sphk#options PQ_NOOPT # No coloring 10935137Sphk#options PQ_LARGECACHE # color for 512k/16k cache 11035137Sphk#options PQ_HUGECACHE # color for 1024k/16k cache 111204966Suqs#options PQ_MEDIUMCACHE # color for 256k/16k cache 112204966Suqs#options PQ_NORMALCACHE # color for 64k/16k cache 11335137Sphk 11435137Sphk# This allows you to actually store this configuration file into 11535137Sphk# the kernel binary itself, where it may be later read by saying: 11635137Sphk# strings -n 3 /boot/kernel/kernel | sed -n 's/^___//p' > MYKERNEL 11735137Sphk# 118204966Suqsoptions INCLUDE_CONFIG_FILE # Include this file in kernel 11935137Sphk 120204966Suqsoptions GEOM_AES # Don't use, use GEOM_BDE 12135137Sphkoptions GEOM_APPLE # Apple partitioning 12235137Sphkoptions GEOM_BDE # Disk encryption. 12335137Sphkoptions GEOM_BSD # BSD disklabels 12435137Sphkoptions GEOM_FOX # Redundant path mitigation 12535137Sphkoptions GEOM_GPT # GPT partitioning 12635137Sphkoptions GEOM_MBR # DOS/MBR partitioning 12735137Sphkoptions GEOM_PC98 # NEC PC9800 partitioning 12835137Sphkoptions GEOM_SUNLABEL # Sun/Solaris partitioning 12935137Sphkoptions GEOM_VOL # Volume names from UFS superblock 130204966Suqs 131204966Suqs# 13235137Sphk# The root device and filesystem type can be compiled in; 13335137Sphk# this provides a fallback option if the root device cannot 13435137Sphk# be correctly guessed by the bootstrap code, or an override if 13538023Sbde# the RB_DFLTROOT flag (-r) is specified when booting the kernel. 13635137Sphk# 13735137Sphkoptions ROOTDEVNAME=\"ufs:da0s2e\" 13835137Sphk 13935137Sphk 14080203Skris##################################################################### 14135137Sphk# Scheduler options: 14235137Sphk# 14335137Sphk# Specifying one of SCHED_4BSD or SCHED_ULE is mandatory. These options 14435137Sphk# select which scheduler is compiled in. 14535137Sphk# 14635137Sphk# SCHED_4BSD is the historical, proven, BSD scheduler. It has a global run 14735137Sphk# queue and no cpu affinity which makes it suboptimal for SMP. It has very 14835137Sphk# good interactivity and priority selection. 14935137Sphk# 15035137Sphk# SCHED_ULE is a new experimental scheduler that has been designed for SMP, 15135137Sphk# but will work just fine on UP too. Users of this scheduler should expect 15235137Sphk# some hicups and be prepaired to provide feedback. 15335137Sphk# 15435137Sphkoptions SCHED_4BSD 15535137Sphk#options SCHED_ULE 15635137Sphk 15735137Sphk##################################################################### 15835137Sphk# SMP OPTIONS: 15935137Sphk# 16035137Sphk# SMP enables building of a Symmetric MultiProcessor Kernel. 16135137Sphk 16235137Sphk# Mandatory: 16337669Scharnieroptions SMP # Symmetric MultiProcessor Kernel 16435137Sphk 16535137Sphk# ADAPTIVE_MUTEXES changes the behavior of blocking mutexes to spin 16635137Sphk# if the thread that currently owns the mutex is executing on another 16735137Sphk# CPU. 16835137Sphkoptions ADAPTIVE_MUTEXES 16937669Scharnier 17035137Sphk# SMP Debugging Options: 17135137Sphk# 17235137Sphk# MUTEX_DEBUG enables various extra assertions in the mutex code. 17335137Sphk# WITNESS enables the witness code which detects deadlocks and cycles 17435137Sphk# during locking operations. 17535137Sphk# WITNESS_DDB causes the witness code to drop into the kernel debugger if 17635137Sphk# a lock heirarchy violation occurs or if locks are held when going to 17737669Scharnier# sleep. 17835137Sphk# WITNESS_SKIPSPIN disables the witness checks on spin mutexes. 17935137Sphkoptions MUTEX_DEBUG 18035137Sphkoptions WITNESS 18135137Sphkoptions WITNESS_DDB 18235137Sphkoptions WITNESS_SKIPSPIN 18335137Sphk 18435137Sphk# 18535137Sphk# MUTEX_PROFILING - Profiling mutual exclusion locks (mutexes). This 18637669Scharnier# records four numbers for each acquisition point (identified by 18735137Sphk# source file name and line number): longest time held, total time held, 18835137Sphk# number of non-recursive acquisitions, and average time held. Measurements 18935137Sphk# are made and stored in nanoseconds (using nanotime(9)), but are presented 19035137Sphk# in microseconds, which should be sufficient for the locks which actually 19135137Sphk# want this (those that are held long and / or often). The MUTEX_PROFILING 19235137Sphk# option has the following sysctl namespace for controlling and viewing its 19335137Sphk# operation: 194204966Suqs# 195204966Suqs# debug.mutex.prof.enable - enable / disable profiling 19635137Sphk# debug.mutex.prof.acquisitions - number of mutex acquisitions held 19735137Sphk# debug.mutex.prof.records - number of acquisition points recorded 19835137Sphk# debug.mutex.prof.maxrecords - max number of acquisition points 19937669Scharnier# debug.mutex.prof.rejected - number of rejections (due to full table) 20035137Sphk# debug.mutex.prof.hashsize - hash size 20135137Sphk# debug.mutex.prof.collisions - number of hash collisions 20235137Sphk# debug.mutex.prof.stats - profiling statistics 20335137Sphk# 20435137Sphkoptions MUTEX_PROFILING 20537669Scharnier 20635137Sphk 20735137Sphk##################################################################### 20835137Sphk# COMPATIBILITY OPTIONS 20935137Sphk 21035137Sphk# 21135137Sphk# Implement system calls compatible with 4.3BSD and older versions of 21235137Sphk# FreeBSD. You probably do NOT want to remove this as much current code 21337669Scharnier# still relies on the 4.3 emulation. Note that some architectures that 21435137Sphk# are supported by FreeBSD do not include support for certain important 21535137Sphk# aspects of this compatibility option, namely those related to the 21635137Sphk# signal delivery mechanism. 21735137Sphk# 21835137Sphkoptions COMPAT_43 21937669Scharnier 22035137Sphk# 22135137Sphk# Be compatible with SunOS. The COMPAT_43 option above pulls in most 22235137Sphk# (all?) of the changes that this option turns on. 22335137Sphk# 22480203Skrisoptions COMPAT_SUNOS 22535137Sphk 22635137Sphk# Enable FreeBSD4 compatibility syscalls 22735137Sphkoptions COMPAT_FREEBSD4 22835137Sphk 22935137Sphk# 23037669Scharnier# These three options provide support for System V Interface 23135137Sphk# Definition-style interprocess communication, in the form of shared 23235137Sphk# memory, semaphores, and message queues, respectively. 23335137Sphk# 23435137Sphkoptions SYSVSHM 23535137Sphkoptions SYSVSEM 23635137Sphkoptions SYSVMSG 23735137Sphk 23835137Sphk 23935137Sphk##################################################################### 24035137Sphk# DEBUGGING OPTIONS 24135137Sphk 24235137Sphk# 24335137Sphk# Enable the kernel debugger. 244204966Suqs# 24535137Sphkoptions DDB 24635137Sphk 24735137Sphk# 24874948Sphk# Use direct symbol lookup routines for ddb instead of the kernel linker 24945114Sphk# ones, so that symbols (mostly) work before the kernel linker has been 25045114Sphk# initialized. This is not the default because it breaks ddb's lookup of 25135137Sphk# symbols in loaded modules. 25235137Sphk# 25335137Sphk#!options DDB_NOKLDSYM 25474948Sphk 25535137Sphk# 25635137Sphk# Print a stack trace of the current thread out on the console for a panic. 25735137Sphk# 25835137Sphkoptions DDB_TRACE 25935137Sphk 26089583Sbillf# 26135137Sphk# Don't drop into DDB for a panic. Intended for unattended operation 26289583Sbillf# where you may want to drop to DDB from the console, but still want 26335137Sphk# the machine to recover from a panic 26435137Sphk# 26545114Sphkoptions DDB_UNATTENDED 26635137Sphk 26735137Sphk# 26835137Sphk# If using GDB remote mode to debug the kernel, there's a non-standard 26935137Sphk# extension to the remote protocol that can be used to use the serial 27035137Sphk# port as both the debugging port and the system console. It's non- 27135137Sphk# standard and you're on your own if you enable it. See also the 27235137Sphk# "remotechat" variables in the FreeBSD specific version of gdb. 27335137Sphk# 274204966Suqsoptions GDB_REMOTE_CHAT 27535137Sphk 27645114Sphk# 27745114Sphk# KTRACE enables the system-call tracing facility ktrace(2). To be more 27845114Sphk# SMP-friendly, KTRACE uses a worker thread to process most trace events 27935137Sphk# asynchronously to the thread generating the event. This requires a 28035137Sphk# pre-allocated store of objects representing trace events. The 28135137Sphk# KTRACE_REQUEST_POOL option specifies the initial size of this store. 28235137Sphk# The size of the pool can be adjusted both at boottime and runtime via 28335137Sphk# the kern.ktrace_request_pool tunable and sysctl. 284204966Suqs# 28535137Sphkoptions KTRACE #kernel tracing 28635734Scharnieroptions KTRACE_REQUEST_POOL=101 28735137Sphk 28835137Sphk# 28945114Sphk# KTR is a kernel tracing mechanism imported from BSD/OS. Currently it 29045114Sphk# has no userland interface aside from a few sysctl's. It is enabled with 29145114Sphk# the KTR option. KTR_ENTRIES defines the number of entries in the circular 29245114Sphk# trace buffer. KTR_COMPILE defines the mask of events to compile into the 29345114Sphk# kernel as defined by the KTR_* constants in <sys/ktr.h>. KTR_MASK defines the 29474948Sphk# initial value of the ktr_mask variable which determines at runtime what 29574948Sphk# events to trace. KTR_CPUMASK determines which CPU's log events, with 29674948Sphk# bit X corresponding to cpu X. KTR_VERBOSE enables dumping of KTR events 29774948Sphk# to the console by default. This functionality can be toggled via the 29874948Sphk# debug.ktr_verbose sysctl and defaults to off if KTR_VERBOSE is not defined. 29935137Sphk# 30035137Sphkoptions KTR 30161438Sasmodaioptions KTR_ENTRIES=1024 30235137Sphkoptions KTR_COMPILE=(KTR_INTR|KTR_PROC) 30335137Sphkoptions KTR_MASK=KTR_INTR 30435137Sphkoptions KTR_CPUMASK=0x3 30535137Sphkoptions KTR_VERBOSE 30635137Sphk 30735137Sphk# 308204966Suqs# The INVARIANTS option is used in a number of source files to enable 30935137Sphk# extra sanity checking of internal structures. This support is not 31035137Sphk# enabled by default because of the extra time it would take to check 31135137Sphk# for these conditions, which can only occur as a result of 31235137Sphk# programming errors. 31335137Sphk# 31435137Sphkoptions INVARIANTS 31535137Sphk 31635137Sphk# 31745114Sphk# The INVARIANT_SUPPORT option makes us compile in support for 31837669Scharnier# verifying some of the internal structures. It is a prerequisite for 31935137Sphk# 'INVARIANTS', as enabling 'INVARIANTS' will make these functions be 32035137Sphk# called. The intent is that you can set 'INVARIANTS' for single 32135137Sphk# source files (by changing the source file or specifying it on the 32274948Sphk# command line) if you have 'INVARIANT_SUPPORT' enabled. Also, if you 32374948Sphk# wish to build a kernel module with 'INVARIANTS', then adding 32474948Sphk# 'INVARIANT_SUPPORT' to your kernel will provide all the necessary 32574948Sphk# infrastructure without the added overhead. 32674948Sphk# 32774948Sphkoptions INVARIANT_SUPPORT 32874948Sphk 32974948Sphk# 33074948Sphk# The DIAGNOSTIC option is used to enable extra debugging information 33135137Sphk# from some parts of the kernel. As this makes everything more noisy, 33237669Scharnier# it is disabled by default. 33335137Sphk# 33435137Sphkoptions DIAGNOSTIC 33535137Sphk 33635137Sphk# 33735137Sphk# REGRESSION causes optional kernel interfaces necessary only for regression 33835137Sphk# testing to be enabled. These interfaces may consitute security risks 33935137Sphk# when enabled, as they permit processes to easily modify aspects of the 34035137Sphk# run-time environment to reproduce unlikely or unusual (possibly normally 34135137Sphk# impossible) scenarios. 34235137Sphk# 34335137Sphkoptions REGRESSION 34435137Sphk 34589583Sbillf# 34689583Sbillf# RESTARTABLE_PANICS allows one to continue from a panic as if it were 34789583Sbillf# a call to the debugger via the Debugger() function instead. It is only 34889583Sbillf# useful if a kernel debugger is present. To restart from a panic, reset 34989583Sbillf# the panicstr variable to NULL and continue execution. This option is 35035137Sphk# for development use only and should NOT be used in production systems 35135137Sphk# to "workaround" a panic. 35289583Sbillf# 35335137Sphk#options RESTARTABLE_PANICS 35435137Sphk 35589583Sbillf# 35635137Sphk# This option let some drivers co-exist that can't co-exist in a running 35737669Scharnier# system. This is used to be able to compile all kernel code in one go for 35835137Sphk# quality assurance purposes (like this file, which the option takes it name 35935137Sphk# from.) 36035137Sphk# 36135137Sphkoptions COMPILING_LINT 36237669Scharnier 36335137Sphk 36435137Sphk##################################################################### 36535137Sphk# NETWORKING OPTIONS 36635137Sphk 36735137Sphk# 36835137Sphk# Protocol families: 36935137Sphk# Only the INET (Internet) family is officially supported in FreeBSD. 37035137Sphk# 37135137Sphkoptions INET #Internet communications protocols 37235137Sphkoptions INET6 #IPv6 communications protocols 37335137Sphkoptions IPSEC #IP security 37435137Sphkoptions IPSEC_ESP #IP security (crypto; define w/ IPSEC) 37535137Sphkoptions IPSEC_DEBUG #debug for IP security 37635137Sphk# 37735137Sphk# Set IPSEC_FILTERGIF to force packets coming through a gif tunnel 37835137Sphk# to be processed by any configured packet filtering (ipfw, ipf). 37935137Sphk# The default is that packets coming from a tunnel are _not_ processed; 38035137Sphk# they are assumed trusted. 38135137Sphk# 38235137Sphk# Note that enabling this can be problematic as there are no mechanisms 38335137Sphk# in place for distinguishing packets coming out of a tunnel (e.g. no 38435137Sphk# encX devices as found on openbsd). 38537669Scharnier# 38635137Sphk#options IPSEC_FILTERGIF #filter ipsec packets from a tunnel 38735137Sphk 38835137Sphk#options FAST_IPSEC #new IPsec (cannot define w/ IPSEC) 38935137Sphk 39035137Sphkoptions IPX #IPX/SPX communications protocols 39135734Scharnieroptions IPXIP #IPX in IP encapsulation (not available) 392204966Suqs 39335734Scharnier#options NCP #NetWare Core protocol 39435734Scharnier 395141611Sruoptions NETATALK #Appletalk communications protocols 39635734Scharnieroptions NETATALKDEBUG #Appletalk debugging 39735734Scharnier 39835734Scharnier# 399# SMB/CIFS requester 400# NETSMB enables support for SMB protocol, it requires LIBMCHAIN and LIBICONV 401# options. 402# NETSMBCRYPTO enables support for encrypted passwords. 403options NETSMB #SMB/CIFS requester 404options NETSMBCRYPTO #encrypted password support for SMB 405 406# mchain library. It can be either loaded as KLD or compiled into kernel 407options LIBMCHAIN 408 409# netgraph(4). Enable the base netgraph code with the NETGRAPH option. 410# Individual node types can be enabled with the corresponding option 411# listed below; however, this is not strictly necessary as netgraph 412# will automatically load the corresponding KLD module if the node type 413# is not already compiled into the kernel. Each type below has a 414# corresponding man page, e.g., ng_async(8). 415options NETGRAPH #netgraph(4) system 416options NETGRAPH_ASYNC 417options NETGRAPH_BPF 418options NETGRAPH_BRIDGE 419options NETGRAPH_CISCO 420options NETGRAPH_ECHO 421options NETGRAPH_ETHER 422options NETGRAPH_FRAME_RELAY 423options NETGRAPH_GIF 424options NETGRAPH_GIF_DEMUX 425options NETGRAPH_HOLE 426options NETGRAPH_IFACE 427options NETGRAPH_IP_INPUT 428options NETGRAPH_KSOCKET 429options NETGRAPH_L2TP 430options NETGRAPH_LMI 431# MPPC compression requires proprietary files (not included) 432#options NETGRAPH_MPPC_COMPRESSION 433options NETGRAPH_MPPC_ENCRYPTION 434options NETGRAPH_ONE2MANY 435options NETGRAPH_PPP 436options NETGRAPH_PPPOE 437options NETGRAPH_PPTPGRE 438options NETGRAPH_RFC1490 439options NETGRAPH_SOCKET 440options NETGRAPH_SPLIT 441options NETGRAPH_TEE 442options NETGRAPH_TTY 443options NETGRAPH_UI 444options NETGRAPH_VJC 445options NETGRAPH_ATM_ATMPIF 446 447# NgATM - Netgraph ATM 448options NGATM_ATM 449 450device mn # Munich32x/Falc54 Nx64kbit/sec cards. 451device lmc # tulip based LanMedia WAN cards 452device musycc # LMC/SBE LMC1504 quad T1/E1 453 454# 455# Network interfaces: 456# The `loop' device is MANDATORY when networking is enabled. 457# The `ether' device provides generic code to handle 458# Ethernets; it is MANDATORY when an Ethernet device driver is 459# configured or token-ring is enabled. 460# The `wlan' device provides generic code to support 802.11 461# drivers, including host AP mode; it is MANDATORY for the wi 462# driver and will eventually be required by all 802.11 drivers. 463# The `fddi' device provides generic code to support FDDI. 464# The `arcnet' device provides generic code to support Arcnet. 465# The `sppp' device serves a similar role for certain types 466# of synchronous PPP links (like `cx', `ar'). 467# The `sl' device implements the Serial Line IP (SLIP) service. 468# The `ppp' device implements the Point-to-Point Protocol. 469# The `bpf' device enables the Berkeley Packet Filter. Be 470# aware of the legal and administrative consequences of enabling this 471# option. The number of devices determines the maximum number of 472# simultaneous BPF clients programs runnable. 473# The `disc' device implements a minimal network interface, 474# which throws away all packets sent and never receives any. It is 475# included for testing purposes. This shows up as the `ds' interface. 476# The `tap' device is a pty-like virtual Ethernet interface 477# The `tun' device implements (user-)ppp and nos-tun 478# The `gif' device implements IPv6 over IP4 tunneling, 479# IPv4 over IPv6 tunneling, IPv4 over IPv4 tunneling and 480# IPv6 over IPv6 tunneling. 481# The `gre' device implements two types of IP4 over IP4 tunneling: 482# GRE and MOBILE, as specified in the RFC1701 and RFC2004. 483# The XBONEHACK option allows the same pair of addresses to be configured on 484# multiple gif interfaces. 485# The `faith' device captures packets sent to it and diverts them 486# to the IPv4/IPv6 translation daemon. 487# The `stf' device implements 6to4 encapsulation. 488# The `ef' device provides support for multiple ethernet frame types 489# specified via ETHER_* options. See ef(4) for details. 490# 491# The PPP_BSDCOMP option enables support for compress(1) style entire 492# packet compression, the PPP_DEFLATE is for zlib/gzip style compression. 493# PPP_FILTER enables code for filtering the ppp data stream and selecting 494# events for resetting the demand dial activity timer - requires bpf. 495# See pppd(8) for more details. 496# 497device ether #Generic Ethernet 498device vlan #VLAN support 499device wlan #802.11 support 500device token #Generic TokenRing 501device fddi #Generic FDDI 502device arcnet #Generic Arcnet 503device sppp #Generic Synchronous PPP 504device loop #Network loopback device 505device bpf #Berkeley packet filter 506device disc #Discard device (ds0, ds1, etc) 507device tap #Virtual Ethernet driver 508device tun #Tunnel driver (ppp(8), nos-tun(8)) 509device sl #Serial Line IP 510device gre #IP over IP tunneling 511device ppp #Point-to-point protocol 512options PPP_BSDCOMP #PPP BSD-compress support 513options PPP_DEFLATE #PPP zlib/deflate/gzip support 514options PPP_FILTER #enable bpf filtering (needs bpf) 515 516device ef # Multiple ethernet frames support 517options ETHER_II # enable Ethernet_II frame 518options ETHER_8023 # enable Ethernet_802.3 (Novell) frame 519options ETHER_8022 # enable Ethernet_802.2 frame 520options ETHER_SNAP # enable Ethernet_802.2/SNAP frame 521 522# for IPv6 523device gif #IPv6 and IPv4 tunneling 524options XBONEHACK 525device faith #for IPv6 and IPv4 translation 526device stf #6to4 IPv6 over IPv4 encapsulation 527 528# 529# Internet family options: 530# 531# MROUTING enables the kernel multicast packet forwarder, which works 532# with mrouted(8). 533# 534# PIM enables Protocol Independent Multicast in the kernel. 535# Requires MROUTING enabled. 536# 537# IPFIREWALL enables support for IP firewall construction, in 538# conjunction with the `ipfw' program. IPFIREWALL_VERBOSE sends 539# logged packets to the system logger. IPFIREWALL_VERBOSE_LIMIT 540# limits the number of times a matching entry can be logged. 541# 542# WARNING: IPFIREWALL defaults to a policy of "deny ip from any to any" 543# and if you do not add other rules during startup to allow access, 544# YOU WILL LOCK YOURSELF OUT. It is suggested that you set firewall_type=open 545# in /etc/rc.conf when first enabling this feature, then refining the 546# firewall rules in /etc/rc.firewall after you've tested that the new kernel 547# feature works properly. 548# 549# IPFIREWALL_DEFAULT_TO_ACCEPT causes the default rule (at boot) to 550# allow everything. Use with care, if a cracker can crash your 551# firewall machine, they can get to your protected machines. However, 552# if you are using it as an as-needed filter for specific problems as 553# they arise, then this may be for you. Changing the default to 'allow' 554# means that you won't get stuck if the kernel and /sbin/ipfw binary get 555# out of sync. 556# 557# IPDIVERT enables the divert IP sockets, used by ``ipfw divert'' 558# 559# IPSTEALTH enables code to support stealth forwarding (i.e., forwarding 560# packets without touching the ttl). This can be useful to hide firewalls 561# from traceroute and similar tools. 562# 563# PFIL_HOOKS enables an abtraction layer which is meant to be used in 564# network code where filtering is required. See the pfil(9) man page. 565# This option is a subset of the IPFILTER option. 566# 567# TCPDEBUG enables code which keeps traces of the TCP state machine 568# for sockets with the SO_DEBUG option set, which can then be examined 569# using the trpt(8) utility. 570# 571options MROUTING # Multicast routing 572options PIM # Protocol Independent Multicast 573options IPFIREWALL #firewall 574options IPFIREWALL_VERBOSE #enable logging to syslogd(8) 575options IPFIREWALL_FORWARD #enable transparent proxy support 576options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity 577options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default 578options IPV6FIREWALL #firewall for IPv6 579options IPV6FIREWALL_VERBOSE 580options IPV6FIREWALL_VERBOSE_LIMIT=100 581options IPV6FIREWALL_DEFAULT_TO_ACCEPT 582options IPDIVERT #divert sockets 583options IPFILTER #ipfilter support 584options IPFILTER_LOG #ipfilter logging 585options IPFILTER_DEFAULT_BLOCK #block all packets by default 586options IPSTEALTH #support for stealth forwarding 587options PFIL_HOOKS 588options TCPDEBUG 589 590# The MBUF_STRESS_TEST option enables options which create 591# various random failures / extreme cases related to mbuf 592# functions. See the mbuf(9) manpage for a list of available 593# test cases. 594options MBUF_STRESS_TEST 595 596# RANDOM_IP_ID causes the ID field in IP packets to be randomized 597# instead of incremented by 1 with each packet generated. This 598# option closes a minor information leak which allows remote 599# observers to determine the rate of packet generation on the 600# machine by watching the counter. 601options RANDOM_IP_ID 602 603# Statically Link in accept filters 604options ACCEPT_FILTER_DATA 605options ACCEPT_FILTER_HTTP 606 607# TCP_DROP_SYNFIN adds support for ignoring TCP packets with SYN+FIN. This 608# prevents nmap et al. from identifying the TCP/IP stack, but breaks support 609# for RFC1644 extensions and is not recommended for web servers. 610# 611options TCP_DROP_SYNFIN #drop TCP packets with SYN+FIN 612 613# DUMMYNET enables the "dummynet" bandwidth limiter. You need 614# IPFIREWALL as well. See the dummynet(4) and ipfw(8) manpages for more info. 615# When you run DUMMYNET it is advisable to also have "options HZ=1000" 616# to achieve a smoother scheduling of the traffic. 617# 618# BRIDGE enables bridging between ethernet cards -- see bridge(4). 619# You can use IPFIREWALL and DUMMYNET together with bridging. 620# 621options DUMMYNET 622options BRIDGE 623 624# Zero copy sockets support. This enables "zero copy" for sending and 625# receving data via a socket. The send side works for any type of NIC, 626# the receive side only works for NICs that support MTUs greater than the 627# page size of your architecture and that support header splitting. See 628# zero_copy(9) for more details. 629options ZERO_COPY_SOCKETS 630 631# 632# ATM (HARP version) options 633# 634# ATM_CORE includes the base ATM functionality code. This must be included 635# for ATM support. 636# 637# ATM_IP includes support for running IP over ATM. 638# 639# At least one (and usually only one) of the following signalling managers 640# must be included (note that all signalling managers include PVC support): 641# ATM_SIGPVC includes support for the PVC-only signalling manager `sigpvc'. 642# ATM_SPANS includes support for the `spans' signalling manager, which runs 643# the FORE Systems's proprietary SPANS signalling protocol. 644# ATM_UNI includes support for the `uni30' and `uni31' signalling managers, 645# which run the ATM Forum UNI 3.x signalling protocols. 646# 647# The `hea' driver provides support for the Efficient Networks, Inc. 648# ENI-155p ATM PCI Adapter. 649# 650# The `hfa' driver provides support for the FORE Systems, Inc. 651# PCA-200E ATM PCI Adapter. 652# 653# The `harp' pseudo-driver makes all NATM interface drivers available to HARP. 654# 655options ATM_CORE #core ATM protocol family 656options ATM_IP #IP over ATM support 657options ATM_SIGPVC #SIGPVC signalling manager 658options ATM_SPANS #SPANS signalling manager 659options ATM_UNI #UNI signalling manager 660 661device hea #Efficient ENI-155p ATM PCI 662device hfa #FORE PCA-200E ATM PCI 663device harp #Pseudo-interface for NATM 664 665 666##################################################################### 667# FILESYSTEM OPTIONS 668 669# 670# Only the root, /usr, and /tmp filesystems need be statically 671# compiled; everything else will be automatically loaded at mount 672# time. (Exception: the UFS family--- FFS --- cannot 673# currently be demand-loaded.) Some people still prefer to statically 674# compile other filesystems as well. 675# 676# NB: The NULL, PORTAL, UMAP and UNION filesystems are known to be 677# buggy, and WILL panic your system if you attempt to do anything with 678# them. They are included here as an incentive for some enterprising 679# soul to sit down and fix them. 680# 681 682# One of these is mandatory: 683options FFS #Fast filesystem 684options NFSCLIENT #Network File System 685 686# The rest are optional: 687options CD9660 #ISO 9660 filesystem 688options FDESCFS #File descriptor filesystem 689options HPFS #OS/2 File system 690options MSDOSFS #MS DOS File System (FAT, FAT32) 691options NFSSERVER #Network File System 692options NTFS #NT File System 693options NULLFS #NULL filesystem 694#options NWFS #NetWare filesystem 695options PORTALFS #Portal filesystem 696options PROCFS #Process filesystem (requires PSEUDOFS) 697options PSEUDOFS #Pseudo-filesystem framework 698options SMBFS #SMB/CIFS filesystem 699options UDF #Universal Disk Format 700options UMAPFS #UID map filesystem 701options UNIONFS #Union filesystem 702# The xFS_ROOT options REQUIRE the associated ``options xFS'' 703options NFS_ROOT #NFS usable as root device 704 705# Soft updates is a technique for improving filesystem speed and 706# making abrupt shutdown less risky. 707# 708options SOFTUPDATES 709 710# Extended attributes allow additional data to be associated with files, 711# and is used for ACLs, Capabilities, and MAC labels. 712# See src/sys/ufs/ufs/README.extattr for more information. 713options UFS_EXTATTR 714options UFS_EXTATTR_AUTOSTART 715 716# Access Control List support for UFS filesystems. The current ACL 717# implementation requires extended attribute support, UFS_EXTATTR, 718# for the underlying filesystem. 719# See src/sys/ufs/ufs/README.acls for more information. 720options UFS_ACL 721 722# Directory hashing improves the speed of operations on very large 723# directories at the expense of some memory. 724options UFS_DIRHASH 725 726# Make space in the kernel for a root filesystem on a md device. 727# Define to the number of kilobytes to reserve for the filesystem. 728options MD_ROOT_SIZE=10 729 730# Make the md device a potential root device, either with preloaded 731# images of type mfs_root or md_root. 732options MD_ROOT 733 734# Disk quotas are supported when this option is enabled. 735options QUOTA #enable disk quotas 736 737# If you are running a machine just as a fileserver for PC and MAC 738# users, using SAMBA or Netatalk, you may consider setting this option 739# and keeping all those users' directories on a filesystem that is 740# mounted with the suiddir option. This gives new files the same 741# ownership as the directory (similar to group). It's a security hole 742# if you let these users run programs, so confine it to file-servers 743# (but it'll save you lots of headaches in those cases). Root owned 744# directories are exempt and X bits are cleared. The suid bit must be 745# set on the directory as well; see chmod(1) PC owners can't see/set 746# ownerships so they keep getting their toes trodden on. This saves 747# you all the support calls as the filesystem it's used on will act as 748# they expect: "It's my dir so it must be my file". 749# 750options SUIDDIR 751 752# NFS options: 753options NFS_MINATTRTIMO=3 # VREG attrib cache timeout in sec 754options NFS_MAXATTRTIMO=60 755options NFS_MINDIRATTRTIMO=30 # VDIR attrib cache timeout in sec 756options NFS_MAXDIRATTRTIMO=60 757options NFS_GATHERDELAY=10 # Default write gather delay (msec) 758options NFS_WDELAYHASHSIZ=16 # and with this 759options NFS_DEBUG # Enable NFS Debugging 760 761# Coda stuff: 762options CODA #CODA filesystem. 763device vcoda 4 #coda minicache <-> venus comm. 764 765# 766# Add support for the EXT2FS filesystem of Linux fame. Be a bit 767# careful with this - the ext2fs code has a tendency to lag behind 768# changes and not be exercised very much, so mounting read/write could 769# be dangerous (and even mounting read only could result in panics.) 770# 771options EXT2FS 772 773# Use real implementations of the aio_* system calls. There are numerous 774# stability and security issues in the current aio code that make it 775# unsuitable for inclusion on machines with untrusted local users. 776options VFS_AIO 777 778# Cryptographically secure random number generator; /dev/[u]random 779device random 780 781 782##################################################################### 783# POSIX P1003.1B 784 785# Real time extensions added in the 1993 Posix 786# _KPOSIX_PRIORITY_SCHEDULING: Build in _POSIX_PRIORITY_SCHEDULING 787 788options _KPOSIX_PRIORITY_SCHEDULING 789# p1003_1b_semaphores are very experimental, 790# user should be ready to assist in debugging if problems arise. 791options P1003_1B_SEMAPHORES 792 793 794##################################################################### 795# SECURITY POLICY PARAMETERS 796 797# Support for Mandatory Access Control (MAC): 798options MAC 799options MAC_BIBA 800options MAC_BSDEXTENDED 801options MAC_DEBUG 802options MAC_IFOFF 803options MAC_LOMAC 804options MAC_MLS 805options MAC_NONE 806options MAC_PARTITION 807options MAC_PORTACL 808options MAC_SEEOTHERUIDS 809options MAC_TEST 810 811 812##################################################################### 813# CLOCK OPTIONS 814 815# The granularity of operation is controlled by the kernel option HZ whose 816# default value (100) means a granularity of 10ms (1s/HZ). 817# Some subsystems, such as DUMMYNET, might benefit from a smaller 818# granularity such as 1ms or less, for a smoother scheduling of packets. 819# Consider, however, that reducing the granularity too much might 820# cause excessive overhead in clock interrupt processing, 821# potentially causing ticks to be missed and thus actually reducing 822# the accuracy of operation. 823 824options HZ=100 825 826# If you see the "calcru: negative time of %ld usec for pid %d (%s)\n" 827# message you probably have some broken sw/hw which disables interrupts 828# for too long. You can make the system more resistant to this by 829# choosing a high value for NTIMECOUNTER. The default is 5, there 830# is no upper limit but more than a couple of hundred are not productive. 831 832options NTIMECOUNTER=20 833 834# Enable support for the kernel PLL to use an external PPS signal, 835# under supervision of [x]ntpd(8) 836# More info in ntpd documentation: http://www.eecis.udel.edu/~ntp 837 838options PPS_SYNC 839 840 841##################################################################### 842# SCSI DEVICES 843 844# SCSI DEVICE CONFIGURATION 845 846# The SCSI subsystem consists of the `base' SCSI code, a number of 847# high-level SCSI device `type' drivers, and the low-level host-adapter 848# device drivers. The host adapters are listed in the ISA and PCI 849# device configuration sections below. 850# 851# It is possible to wire down your SCSI devices so that a given bus, 852# target, and LUN always come on line as the same device unit. In 853# earlier versions the unit numbers were assigned in the order that 854# the devices were probed on the SCSI bus. This means that if you 855# removed a disk drive, you may have had to rewrite your /etc/fstab 856# file, and also that you had to be careful when adding a new disk 857# as it may have been probed earlier and moved your device configuration 858# around. (See also option GEOM_VOL for a different solution to this 859# problem.) 860 861# This old behavior is maintained as the default behavior. The unit 862# assignment begins with the first non-wired down unit for a device 863# type. For example, if you wire a disk as "da3" then the first 864# non-wired disk will be assigned da4. 865 866# The syntax for wiring down devices is: 867 868hint.scbus.0.at="ahc0" 869hint.scbus.1.at="ahc1" 870hint.scbus.1.bus="0" 871hint.scbus.3.at="ahc2" 872hint.scbus.3.bus="0" 873hint.scbus.2.at="ahc2" 874hint.scbus.2.bus="1" 875hint.da.0.at="scbus0" 876hint.da.0.target="0" 877hint.da.0.unit="0" 878hint.da.1.at="scbus3" 879hint.da.1.target="1" 880hint.da.2.at="scbus2" 881hint.da.2.target="3" 882hint.sa.1.at="scbus1" 883hint.sa.1.target="6" 884 885# "units" (SCSI logical unit number) that are not specified are 886# treated as if specified as LUN 0. 887 888# All SCSI devices allocate as many units as are required. 889 890# The ch driver drives SCSI Media Changer ("jukebox") devices. 891# 892# The da driver drives SCSI Direct Access ("disk") and Optical Media 893# ("WORM") devices. 894# 895# The sa driver drives SCSI Sequential Access ("tape") devices. 896# 897# The cd driver drives SCSI Read Only Direct Access ("cd") devices. 898# 899# The ses driver drives SCSI Envinronment Services ("ses") and 900# SAF-TE ("SCSI Accessable Fault-Tolerant Enclosure") devices. 901# 902# The pt driver drives SCSI Processor devices. 903# 904# 905# Target Mode support is provided here but also requires that a SIM 906# (SCSI Host Adapter Driver) provide support as well. 907# 908# The targ driver provides target mode support as a Processor type device. 909# It exists to give the minimal context necessary to respond to Inquiry 910# commands. There is a sample user application that shows how the rest 911# of the command support might be done in /usr/share/examples/scsi_target. 912# 913# The targbh driver provides target mode support and exists to respond 914# to incoming commands that do not otherwise have a logical unit assigned 915# to them. 916# 917# The "unknown" device (uk? in pre-2.0.5) is now part of the base SCSI 918# configuration as the "pass" driver. 919 920device scbus #base SCSI code 921device ch #SCSI media changers 922device da #SCSI direct access devices (aka disks) 923device sa #SCSI tapes 924device cd #SCSI CD-ROMs 925device ses #SCSI Environmental Services (and SAF-TE) 926device pt #SCSI processor 927device targ #SCSI Target Mode Code 928device targbh #SCSI Target Mode Blackhole Device 929device pass #CAM passthrough driver 930 931# CAM OPTIONS: 932# debugging options: 933# -- NOTE -- If you specify one of the bus/target/lun options, you must 934# specify them all! 935# CAMDEBUG: When defined enables debugging macros 936# CAM_DEBUG_BUS: Debug the given bus. Use -1 to debug all busses. 937# CAM_DEBUG_TARGET: Debug the given target. Use -1 to debug all targets. 938# CAM_DEBUG_LUN: Debug the given lun. Use -1 to debug all luns. 939# CAM_DEBUG_FLAGS: OR together CAM_DEBUG_INFO, CAM_DEBUG_TRACE, 940# CAM_DEBUG_SUBTRACE, and CAM_DEBUG_CDB 941# 942# CAM_MAX_HIGHPOWER: Maximum number of concurrent high power (start unit) cmds 943# CAM_NEW_TRAN_CODE: this is the new transport layer code that will be switched 944# to soon 945# SCSI_NO_SENSE_STRINGS: When defined disables sense descriptions 946# SCSI_NO_OP_STRINGS: When defined disables opcode descriptions 947# SCSI_DELAY: The number of MILLISECONDS to freeze the SIM (scsi adapter) 948# queue after a bus reset, and the number of milliseconds to 949# freeze the device queue after a bus device reset. This 950# can be changed at boot and runtime with the 951# kern.cam.scsi_delay tunable/sysctl. 952options CAMDEBUG 953options CAM_DEBUG_BUS=-1 954options CAM_DEBUG_TARGET=-1 955options CAM_DEBUG_LUN=-1 956options CAM_DEBUG_FLAGS=(CAM_DEBUG_INFO|CAM_DEBUG_TRACE|CAM_DEBUG_CDB) 957options CAM_MAX_HIGHPOWER=4 958options SCSI_NO_SENSE_STRINGS 959options SCSI_NO_OP_STRINGS 960options SCSI_DELAY=8000 # Be pessimistic about Joe SCSI device 961 962# Options for the CAM SCSI disk driver: 963# DA_OLD_QUIRKS: Restore old USB and firewire quirks that have been 964# deprecated. Please also email scsi@freebsd.org if you 965# have a device that needs this option. 966options DA_OLD_QUIRKS 967 968# Options for the CAM CDROM driver: 969# CHANGER_MIN_BUSY_SECONDS: Guaranteed minimum time quantum for a changer LUN 970# CHANGER_MAX_BUSY_SECONDS: Maximum time quantum per changer LUN, only 971# enforced if there is I/O waiting for another LUN 972# The compiled in defaults for these variables are 2 and 10 seconds, 973# respectively. 974# 975# These can also be changed on the fly with the following sysctl variables: 976# kern.cam.cd.changer.min_busy_seconds 977# kern.cam.cd.changer.max_busy_seconds 978# 979options CHANGER_MIN_BUSY_SECONDS=2 980options CHANGER_MAX_BUSY_SECONDS=10 981 982# Options for the CAM sequential access driver: 983# SA_IO_TIMEOUT: Timeout for read/write/wfm operations, in minutes 984# SA_SPACE_TIMEOUT: Timeout for space operations, in minutes 985# SA_REWIND_TIMEOUT: Timeout for rewind operations, in minutes 986# SA_ERASE_TIMEOUT: Timeout for erase operations, in minutes 987# SA_1FM_AT_EOD: Default to model which only has a default one filemark at EOT. 988options SA_IO_TIMEOUT=4 989options SA_SPACE_TIMEOUT=60 990options SA_REWIND_TIMEOUT=(2*60) 991options SA_ERASE_TIMEOUT=(4*60) 992options SA_1FM_AT_EOD 993 994# Optional timeout for the CAM processor target (pt) device 995# This is specified in seconds. The default is 60 seconds. 996options SCSI_PT_DEFAULT_TIMEOUT=60 997 998# Optional enable of doing SES passthrough on other devices (e.g., disks) 999# 1000# Normally disabled because a lot of newer SCSI disks report themselves 1001# as having SES capabilities, but this can then clot up attempts to build 1002# build a topology with the SES device that's on the box these drives 1003# are in.... 1004options SES_ENABLE_PASSTHROUGH 1005 1006 1007##################################################################### 1008# MISCELLANEOUS DEVICES AND OPTIONS 1009 1010# The `pty' device usually turns out to be ``effectively mandatory'', 1011# as it is required for `telnetd', `rlogind', `screen', `emacs', and 1012# `xterm', among others. 1013 1014device pty #Pseudo ttys 1015device nmdm #back-to-back tty devices 1016device md #Memory/malloc disk 1017device snp #Snoop device - to look at pty/vty/etc.. 1018device ccd #Concatenated disk driver 1019 1020# Configuring Vinum into the kernel is not necessary, since the kld 1021# module gets started automatically when vinum(8) starts. This 1022# device is also untested. Use at your own risk. 1023# 1024# The option VINUMDEBUG must match the value set in CFLAGS 1025# in src/sbin/vinum/Makefile. Failure to do so will result in 1026# the following message from vinum(8): 1027# 1028# Can't get vinum config: Invalid argument 1029# 1030# see vinum(4) for more reasons not to use these options. 1031device vinum #Vinum concat/mirror/raid driver 1032options VINUMDEBUG #enable Vinum debugging hooks 1033 1034# RAIDframe device. RAID_AUTOCONFIG allows RAIDframe to search all of the 1035# disk devices in the system looking for components that it recognizes (already 1036# configured once before) and auto-configured them into arrays. 1037device raidframe 1038options RAID_AUTOCONFIG 1039 1040# Kernel side iconv library 1041options LIBICONV 1042 1043# Size of the kernel message buffer. Should be N * pagesize. 1044options MSGBUF_SIZE=40960 1045 1046# Maximum size of a tty or pty input buffer. 1047options TTYHOG=8193 1048 1049 1050##################################################################### 1051# HARDWARE DEVICE CONFIGURATION 1052 1053# For ISA the required hints are listed. 1054# EISA, MCA, PCI and pccard are self identifying buses, so no hints 1055# are needed. 1056 1057# 1058# Mandatory devices: 1059# 1060 1061# The keyboard controller; it controls the keyboard and the PS/2 mouse. 1062device atkbdc 1063hint.atkbdc.0.at="isa" 1064hint.atkbdc.0.port="0x060" 1065 1066# The AT keyboard 1067device atkbd 1068hint.atkbd.0.at="atkbdc" 1069hint.atkbd.0.irq="1" 1070 1071# Options for atkbd: 1072options ATKBD_DFLT_KEYMAP # specify the built-in keymap 1073makeoptions ATKBD_DFLT_KEYMAP=jp.106 1074 1075# These options are valid for other keyboard drivers as well. 1076options KBD_DISABLE_KEYMAP_LOAD # refuse to load a keymap 1077options KBD_INSTALL_CDEV # install a CDEV entry in /dev 1078 1079# `flags' for atkbd: 1080# 0x01 Force detection of keyboard, else we always assume a keyboard 1081# 0x02 Don't reset keyboard, useful for some newer ThinkPads 1082# 0x03 Force detection and avoid reset, might help with certain 1083# dockingstations 1084# 0x04 Old-style (XT) keyboard support, useful for older ThinkPads 1085 1086# PS/2 mouse 1087device psm 1088hint.psm.0.at="atkbdc" 1089hint.psm.0.irq="12" 1090 1091# Options for psm: 1092options PSM_HOOKRESUME #hook the system resume event, useful 1093 #for some laptops 1094options PSM_RESETAFTERSUSPEND #reset the device at the resume event 1095 1096# Video card driver for VGA adapters. 1097device vga 1098hint.vga.0.at="isa" 1099 1100# Options for vga: 1101# Try the following option if the mouse pointer is not drawn correctly 1102# or font does not seem to be loaded properly. May cause flicker on 1103# some systems. 1104options VGA_ALT_SEQACCESS 1105 1106# If you can dispense with some vga driver features, you may want to 1107# use the following options to save some memory. 1108#options VGA_NO_FONT_LOADING # don't save/load font 1109#options VGA_NO_MODE_CHANGE # don't change video modes 1110 1111# Older video cards may require this option for proper operation. 1112options VGA_SLOW_IOACCESS # do byte-wide i/o's to TS and GDC regs 1113 1114# The following option probably won't work with the LCD displays. 1115options VGA_WIDTH90 # support 90 column modes 1116 1117options FB_DEBUG # Frame buffer debugging 1118 1119device splash # Splash screen and screen saver support 1120 1121# Various screen savers. 1122device blank_saver 1123device daemon_saver 1124device fade_saver 1125device fire_saver 1126device green_saver 1127device logo_saver 1128device rain_saver 1129device star_saver 1130device warp_saver 1131 1132# The syscons console driver (sco color console compatible). 1133device sc 1134hint.sc.0.at="isa" 1135options MAXCONS=16 # number of virtual consoles 1136options SC_ALT_MOUSE_IMAGE # simplified mouse cursor in text mode 1137options SC_DFLT_FONT # compile font in 1138makeoptions SC_DFLT_FONT=cp850 1139options SC_DISABLE_DDBKEY # disable `debug' key 1140options SC_DISABLE_REBOOT # disable reboot key sequence 1141options SC_HISTORY_SIZE=200 # number of history buffer lines 1142options SC_MOUSE_CHAR=0x3 # char code for text mode mouse cursor 1143options SC_PIXEL_MODE # add support for the raster text mode 1144 1145# The following options will let you change the default colors of syscons. 1146options SC_NORM_ATTR=(FG_GREEN|BG_BLACK) 1147options SC_NORM_REV_ATTR=(FG_YELLOW|BG_GREEN) 1148options SC_KERNEL_CONS_ATTR=(FG_RED|BG_BLACK) 1149options SC_KERNEL_CONS_REV_ATTR=(FG_BLACK|BG_RED) 1150 1151# The following options will let you change the default behaviour of 1152# cut-n-paste feature 1153options SC_CUT_SPACES2TABS # convert leading spaces into tabs 1154options SC_CUT_SEPCHARS=\"x09\" # set of characters that delimit words 1155 # (default is single space - \"x20\") 1156 1157# If you have a two button mouse, you may want to add the following option 1158# to use the right button of the mouse to paste text. 1159options SC_TWOBUTTON_MOUSE 1160 1161# You can selectively disable features in syscons. 1162options SC_NO_CUTPASTE 1163options SC_NO_FONT_LOADING 1164options SC_NO_HISTORY 1165options SC_NO_SYSMOUSE 1166options SC_NO_SUSPEND_VTYSWITCH 1167 1168# `flags' for sc 1169# 0x80 Put the video card in the VESA 800x600 dots, 16 color mode 1170# 0x100 Probe for a keyboard device periodically if one is not present 1171 1172# 1173# Optional devices: 1174# 1175 1176# 1177# SCSI host adapters: 1178# 1179# adv: All Narrow SCSI bus AdvanSys controllers. 1180# adw: Second Generation AdvanSys controllers including the ADV940UW. 1181# aha: Adaptec 154x/1535/1640 1182# ahb: Adaptec 174x EISA controllers 1183# ahc: Adaptec 274x/284x/2910/293x/294x/394x/3950x/3960x/398X/4944/ 1184# 19160x/29160x, aic7770/aic78xx 1185# ahd: Adaptec 29320/39320 Controllers. 1186# aic: Adaptec 6260/6360, APA-1460 (PC Card), NEC PC9801-100 (C-BUS) 1187# amd: Support for the AMD 53C974 SCSI host adapter chip as found on devices 1188# such as the Tekram DC-390(T). 1189# bt: Most Buslogic controllers: including BT-445, BT-54x, BT-64x, BT-74x, 1190# BT-75x, BT-946, BT-948, BT-956, BT-958, SDC3211B, SDC3211F, SDC3222F 1191# isp: Qlogic ISP 1020, 1040 and 1040B PCI SCSI host adapters, 1192# ISP 1240 Dual Ultra SCSI, ISP 1080 and 1280 (Dual) Ultra2, 1193# ISP 12160 Ultra3 SCSI, 1194# Qlogic ISP 2100 and ISP 2200 1Gb Fibre Channel host adapters. 1195# Qlogic ISP 2300 and ISP 2312 2Gb Fibre Channel host adapters. 1196# ispfw: Firmware module for Qlogic host adapters 1197# mpt: LSI-Logic MPT/Fusion 53c1020 or 53c1030 Ultra4 1198# or FC9x9 Fibre Channel host adapters. 1199# ncr: NCR 53C810, 53C825 self-contained SCSI host adapters. 1200# sym: Symbios/Logic 53C8XX family of PCI-SCSI I/O processors: 1201# 53C810, 53C810A, 53C815, 53C825, 53C825A, 53C860, 53C875, 1202# 53C876, 53C885, 53C895, 53C895A, 53C896, 53C897, 53C1510D, 1203# 53C1010-33, 53C1010-66. 1204# trm: Tekram DC395U/UW/F DC315U adapters. 1205# wds: WD7000 1206 1207# 1208# Note that the order is important in order for Buslogic ISA/EISA cards to be 1209# probed correctly. 1210# 1211device bt 1212hint.bt.0.at="isa" 1213hint.bt.0.port="0x330" 1214device adv 1215hint.adv.0.at="isa" 1216device adw 1217device aha 1218hint.aha.0.at="isa" 1219device aic 1220hint.aic.0.at="isa" 1221device ahb 1222device ahc 1223device ahd 1224device amd 1225device isp 1226hint.isp.0.disable="1" 1227hint.isp.0.role="3" 1228hint.isp.0.prefer_iomap="1" 1229hint.isp.0.prefer_memmap="1" 1230hint.isp.0.fwload_disable="1" 1231hint.isp.0.ignore_nvram="1" 1232hint.isp.0.fullduplex="1" 1233hint.isp.0.topology="lport" 1234hint.isp.0.topology="nport" 1235hint.isp.0.topology="lport-only" 1236hint.isp.0.topology="nport-only" 1237# we can't get u_int64_t types, nor can we get strings if it's got 1238# a leading 0x, hence this silly dodge. 1239hint.isp.0.portwnn="w50000000aaaa0000" 1240hint.isp.0.nodewnn="w50000000aaaa0001" 1241device ispfw 1242device mpt 1243device ncr 1244device sym 1245device trm 1246device wds 1247hint.wds.0.at="isa" 1248hint.wds.0.port="0x350" 1249hint.wds.0.irq="11" 1250hint.wds.0.drq="6" 1251 1252# The aic7xxx driver will attempt to use memory mapped I/O for all PCI 1253# controllers that have it configured only if this option is set. Unfortunately, 1254# this doesn't work on some motherboards, which prevents it from being the 1255# default. 1256options AHC_ALLOW_MEMIO 1257 1258# Dump the contents of the ahc controller configuration PROM. 1259options AHC_DUMP_EEPROM 1260 1261# Bitmap of units to enable targetmode operations. 1262options AHC_TMODE_ENABLE 1263 1264# Compile in aic79xx debugging code. 1265options AHD_DEBUG 1266 1267# Aic79xx driver debugging options. 1268# See the ahd(4) manpage 1269options AHD_DEBUG_OPTS=0xFFFFFFFF 1270 1271# Print human-readable register definitions when debugging 1272options AHD_REG_PRETTY_PRINT 1273 1274# The adw driver will attempt to use memory mapped I/O for all PCI 1275# controllers that have it configured only if this option is set. 1276options ADW_ALLOW_MEMIO 1277 1278# Options used in dev/isp/ (Qlogic SCSI/FC driver). 1279# 1280# ISP_TARGET_MODE - enable target mode operation 1281# 1282options ISP_TARGET_MODE=1 1283 1284# Options used in dev/sym/ (Symbios SCSI driver). 1285#options SYM_SETUP_LP_PROBE_MAP #-Low Priority Probe Map (bits) 1286 # Allows the ncr to take precedence 1287 # 1 (1<<0) -> 810a, 860 1288 # 2 (1<<1) -> 825a, 875, 885, 895 1289 # 4 (1<<2) -> 895a, 896, 1510d 1290#options SYM_SETUP_SCSI_DIFF #-HVD support for 825a, 875, 885 1291 # disabled:0 (default), enabled:1 1292#options SYM_SETUP_PCI_PARITY #-PCI parity checking 1293 # disabled:0, enabled:1 (default) 1294#options SYM_SETUP_MAX_LUN #-Number of LUNs supported 1295 # default:8, range:[1..64] 1296 1297# The 'asr' driver provides support for current DPT/Adaptec SCSI RAID 1298# controllers (SmartRAID V and VI and later). 1299# These controllers require the CAM infrastructure. 1300# 1301device asr 1302 1303# The 'dpt' driver provides support for old DPT controllers (http://www.dpt.com/). 1304# These have hardware RAID-{0,1,5} support, and do multi-initiator I/O. 1305# The DPT controllers are commonly re-licensed under other brand-names - 1306# some controllers by Olivetti, Dec, HP, AT&T, SNI, AST, Alphatronic, NEC and 1307# Compaq are actually DPT controllers. 1308# 1309# See src/sys/dev/dpt for debugging and other subtle options. 1310# DPT_MEASURE_PERFORMANCE Enables a set of (semi)invasive metrics. Various 1311# instruments are enabled. The tools in 1312# /usr/sbin/dpt_* assume these to be enabled. 1313# DPT_HANDLE_TIMEOUTS Normally device timeouts are handled by the DPT. 1314# If you ant the driver to handle timeouts, enable 1315# this option. If your system is very busy, this 1316# option will create more trouble than solve. 1317# DPT_TIMEOUT_FACTOR Used to compute the excessive amount of time to 1318# wait when timing out with the above option. 1319# DPT_DEBUG_xxxx These are controllable from sys/dev/dpt/dpt.h 1320# DPT_LOST_IRQ When enabled, will try, once per second, to catch 1321# any interrupt that got lost. Seems to help in some 1322# DPT-firmware/Motherboard combinations. Minimal 1323# cost, great benefit. 1324# DPT_RESET_HBA Make "reset" actually reset the controller 1325# instead of fudging it. Only enable this if you 1326# are 100% certain you need it. 1327 1328device dpt 1329 1330# DPT options 1331#!CAM# options DPT_MEASURE_PERFORMANCE 1332#!CAM# options DPT_HANDLE_TIMEOUTS 1333options DPT_TIMEOUT_FACTOR=4 1334options DPT_LOST_IRQ 1335options DPT_RESET_HBA 1336options DPT_ALLOW_MEMIO 1337 1338# 1339# Compaq "CISS" RAID controllers (SmartRAID 5* series) 1340# These controllers have a SCSI-like interface, and require the 1341# CAM infrastructure. 1342# 1343device ciss 1344 1345# 1346# Intel Integrated RAID controllers. 1347# This driver was developed and is maintained by Intel. Contacts 1348# at Intel for this driver are 1349# "Kannanthanam, Boji T" <boji.t.kannanthanam@intel.com> and 1350# "Leubner, Achim" <achim.leubner@intel.com>. 1351# 1352device iir 1353 1354# 1355# Mylex AcceleRAID and eXtremeRAID controllers with v6 and later 1356# firmware. These controllers have a SCSI-like interface, and require 1357# the CAM infrastructure. 1358# 1359device mly 1360 1361# 1362# Compaq Smart RAID, Mylex DAC960 and AMI MegaRAID controllers. Only 1363# one entry is needed; the code will find and configure all supported 1364# controllers. 1365# 1366device ida # Compaq Smart RAID 1367device mlx # Mylex DAC960 1368device amr # AMI MegaRAID 1369 1370# 1371# 3ware ATA RAID 1372# 1373device twe # 3ware ATA RAID 1374 1375# 1376# The 'ATA' driver supports all ATA and ATAPI devices, including PC Card 1377# devices. You only need one "device ata" for it to find all 1378# PCI and PC Card ATA/ATAPI devices on modern machines. 1379device ata 1380device atadisk # ATA disk drives 1381device atapicd # ATAPI CDROM drives 1382device atapifd # ATAPI floppy drives 1383device atapist # ATAPI tape drives 1384device atapicam # emulate ATAPI devices as SCSI ditto via CAM 1385 # needs CAM to be present (scbus & pass) 1386# 1387# For older non-PCI, non-PnPBIOS systems, these are the hints lines to add: 1388hint.ata.0.at="isa" 1389hint.ata.0.port="0x1f0" 1390hint.ata.0.irq="14" 1391hint.ata.1.at="isa" 1392hint.ata.1.port="0x170" 1393hint.ata.1.irq="15" 1394 1395# 1396# The following options are valid on the ATA driver: 1397# 1398# ATA_STATIC_ID: controller numbering is static ie depends on location 1399# else the device numbers are dynamically allocated. 1400 1401options ATA_STATIC_ID 1402 1403# 1404# Standard floppy disk controllers and floppy tapes, supports 1405# the Y-E DATA External FDD (PC Card) 1406# 1407device fdc 1408hint.fdc.0.at="isa" 1409hint.fdc.0.port="0x3F0" 1410hint.fdc.0.irq="6" 1411hint.fdc.0.drq="2" 1412# 1413# FDC_DEBUG enables floppy debugging. Since the debug output is huge, you 1414# gotta turn it actually on by setting the variable fd_debug with DDB, 1415# however. 1416options FDC_DEBUG 1417# 1418# Activate this line if you happen to have an Insight floppy tape. 1419# Probing them proved to be dangerous for people with floppy disks only, 1420# so it's "hidden" behind a flag: 1421#hint.fdc.0.flags="1" 1422 1423# Specify floppy devices 1424hint.fd.0.at="fdc0" 1425hint.fd.0.drive="0" 1426hint.fd.1.at="fdc0" 1427hint.fd.1.drive="1" 1428 1429# 1430# sio: serial ports (see sio(4)), including support for various 1431# PC Card devices, such as Modem and NICs (see etc/defaults/pccard.conf) 1432 1433device sio 1434hint.sio.0.at="isa" 1435hint.sio.0.port="0x3F8" 1436hint.sio.0.flags="0x10" 1437hint.sio.0.irq="4" 1438 1439# 1440# `flags' for serial drivers that support consoles (only for sio now): 1441# 0x10 enable console support for this unit. The other console flags 1442# are ignored unless this is set. Enabling console support does 1443# not make the unit the preferred console - boot with -h or set 1444# the 0x20 flag for that. Currently, at most one unit can have 1445# console support; the first one (in config file order) with 1446# this flag set is preferred. Setting this flag for sio0 gives 1447# the old behaviour. 1448# 0x20 force this unit to be the console (unless there is another 1449# higher priority console). This replaces the COMCONSOLE option. 1450# 0x40 reserve this unit for low level console operations. Do not 1451# access the device in any normal way. 1452# 0x80 use this port for serial line gdb support in ddb. 1453# 1454# PnP `flags' 1455# 0x1 disable probing of this device. Used to prevent your modem 1456# from being attached as a PnP modem. 1457# 1458 1459# Options for serial drivers that support consoles (only for sio now): 1460options BREAK_TO_DEBUGGER #a BREAK on a comconsole goes to 1461 #DDB, if available. 1462options CONSPEED=115200 # speed for serial console 1463 # (default 9600) 1464 1465# Solaris implements a new BREAK which is initiated by a character 1466# sequence CR ~ ^b which is similar to a familiar pattern used on 1467# Sun servers by the Remote Console. 1468options ALT_BREAK_TO_DEBUGGER 1469 1470# Options for sio: 1471options COM_ESP #code for Hayes ESP 1472options COM_MULTIPORT #code for some cards with shared IRQs 1473 1474# Other flags for sio that aren't documented in the man page. 1475# 0x20000 enable hardware RTS/CTS and larger FIFOs. Only works for 1476# ST16650A-compatible UARTs. 1477 1478# PCI Universal Communications driver 1479# Supports various single and multi port PCI serial cards. Maybe later 1480# also the parallel ports on combination serial/parallel cards. New cards 1481# can be added in src/sys/dev/puc/pucdata.c. 1482# 1483# If the PUC_FASTINTR option is used the driver will try to use fast 1484# interrupts. The card must then be the only user of that interrupt. 1485# Interrupts cannot be shared when using PUC_FASTINTR. 1486device puc 1487options PUC_FASTINTR 1488 1489# 1490# Network interfaces: 1491# 1492# MII bus support is required for some PCI 10/100 ethernet NICs, 1493# namely those which use MII-compliant transceivers or implement 1494# tranceiver control interfaces that operate like an MII. Adding 1495# "device miibus0" to the kernel config pulls in support for 1496# the generic miibus API and all of the PHY drivers, including a 1497# generic one for PHYs that aren't specifically handled by an 1498# individual driver. 1499device miibus 1500 1501# an: Aironet 4500/4800 802.11 wireless adapters. Supports the PCMCIA, 1502# PCI and ISA varieties. 1503# awi: Support for IEEE 802.11 PC Card devices using the AMD Am79C930 and 1504# Harris (Intersil) Chipset with PCnetMobile firmware by AMD. 1505# bge: Support for gigabit ethernet adapters based on the Broadcom 1506# BCM570x family of controllers, including the 3Com 3c996-T, 1507# the Netgear GA302T, the SysKonnect SK-9D21 and SK-9D41, and 1508# the embedded gigE NICs on Dell PowerEdge 2550 servers. 1509# cm: Arcnet SMC COM90c26 / SMC COM90c56 1510# (and SMC COM90c66 in '56 compatibility mode) adapters. 1511# cnw: Xircom CNW/Netware Airsurfer PC Card adapter 1512# cs: IBM Etherjet and other Crystal Semi CS89x0-based adapters 1513# dc: Support for PCI fast ethernet adapters based on the DEC/Intel 21143 1514# and various workalikes including: 1515# the ADMtek AL981 Comet and AN985 Centaur, the ASIX Electronics 1516# AX88140A and AX88141, the Davicom DM9100 and DM9102, the Lite-On 1517# 82c168 and 82c169 PNIC, the Lite-On/Macronix LC82C115 PNIC II 1518# and the Macronix 98713/98713A/98715/98715A/98725 PMAC. This driver 1519# replaces the old al, ax, dm, pn and mx drivers. List of brands: 1520# Digital DE500-BA, Kingston KNE100TX, D-Link DFE-570TX, SOHOware SFA110, 1521# SVEC PN102-TX, CNet Pro110B, 120A, and 120B, Compex RL100-TX, 1522# LinkSys LNE100TX, LNE100TX V2.0, Jaton XpressNet, Alfa Inc GFC2204, 1523# KNE110TX. 1524# de: Digital Equipment DC21040 1525# em: Intel Pro/1000 Gigabit Ethernet 82542, 82543, 82544 based adapters. 1526# ep: 3Com 3C509, 3C529, 3C556, 3C562D, 3C563D, 3C572, 3C574X, 3C579, 3C589 1527# and PC Card devices using these chipsets. 1528# ex: Intel EtherExpress Pro/10 and other i82595-based adapters, 1529# Olicom Ethernet PC Card devices. 1530# fe: Fujitsu MB86960A/MB86965A Ethernet 1531# fea: DEC DEFEA EISA FDDI adapter 1532# fpa: Support for the Digital DEFPA PCI FDDI. `device fddi' is also needed. 1533# fxp: Intel EtherExpress Pro/100B 1534# (hint of prefer_iomap can be done to prefer I/O instead of Mem mapping) 1535# gx: Intel Pro/1000 Gigabit Ethernet (82542, 82543-F, 82543-T) 1536# lge: Support for PCI gigabit ethernet adapters based on the Level 1 1537# LXT1001 NetCellerator chipset. This includes the D-Link DGE-500SX, 1538# SMC TigerCard 1000 (SMC9462SX), and some Addtron cards. 1539# my: Myson Fast Ethernet (MTD80X, MTD89X) 1540# nge: Support for PCI gigabit ethernet adapters based on the National 1541# Semiconductor DP83820 and DP83821 chipset. This includes the 1542# SMC EZ Card 1000 (SMC9462TX), D-Link DGE-500T, Asante FriendlyNet 1543# GigaNIX 1000TA and 1000TPC, the Addtron AEG320T, the LinkSys 1544# EG1032 and EG1064, the Surecom EP-320G-TX and the Netgear GA622T. 1545# pcn: Support for PCI fast ethernet adapters based on the AMD Am79c97x 1546# chipsets, including the PCnet/FAST, PCnet/FAST+, PCnet/PRO and 1547# PCnet/Home. These were previously handled by the lnc driver (and 1548# still will be if you leave this driver out of the kernel). 1549# rl: Support for PCI fast ethernet adapters based on the RealTek 8129/8139 1550# chipset. Note that the RealTek driver defaults to using programmed 1551# I/O to do register accesses because memory mapped mode seems to cause 1552# severe lockups on SMP hardware. This driver also supports the 1553# Accton EN1207D `Cheetah' adapter, which uses a chip called 1554# the MPX 5030/5038, which is either a RealTek in disguise or a 1555# RealTek workalike. Note that the D-Link DFE-530TX+ uses the RealTek 1556# chipset and is supported by this driver, not the 'vr' driver. 1557# sf: Support for Adaptec Duralink PCI fast ethernet adapters based on the 1558# Adaptec AIC-6915 "starfire" controller. 1559# This includes dual and quad port cards, as well as one 100baseFX card. 1560# Most of these are 64-bit PCI devices, except for one single port 1561# card which is 32-bit. 1562# sis: Support for NICs based on the Silicon Integrated Systems SiS 900, 1563# SiS 7016 and NS DP83815 PCI fast ethernet controller chips. 1564# sbsh: Support for Granch SBNI16 SHDSL modem PCI adapters 1565# sk: Support for the SysKonnect SK-984x series PCI gigabit ethernet NICs. 1566# This includes the SK-9841 and SK-9842 single port cards (single mode 1567# and multimode fiber) and the SK-9843 and SK-9844 dual port cards 1568# (also single mode and multimode). 1569# The driver will autodetect the number of ports on the card and 1570# attach each one as a separate network interface. 1571# sn: Support for ISA and PC Card Ethernet devices using the 1572# SMC91C90/92/94/95 chips. 1573# ste: Sundance Technologies ST201 PCI fast ethernet controller, includes 1574# the D-Link DFE-550TX. 1575# ti: Support for PCI gigabit ethernet NICs based on the Alteon Networks 1576# Tigon 1 and Tigon 2 chipsets. This includes the Alteon AceNIC, the 1577# 3Com 3c985, the Netgear GA620 and various others. Note that you will 1578# probably want to bump up NMBCLUSTERS a lot to use this driver. 1579# tl: Support for the Texas Instruments TNETE100 series 'ThunderLAN' 1580# cards and integrated ethernet controllers. This includes several 1581# Compaq Netelligent 10/100 cards and the built-in ethernet controllers 1582# in several Compaq Prosignia, Proliant and Deskpro systems. It also 1583# supports several Olicom 10Mbps and 10/100 boards. 1584# tx: SMC 9432 TX, BTX and FTX cards. (SMC EtherPower II serie) 1585# txp: Support for 3Com 3cR990 cards with the "Typhoon" chipset 1586# vr: Support for various fast ethernet adapters based on the VIA 1587# Technologies VT3043 `Rhine I' and VT86C100A `Rhine II' chips, 1588# including the D-Link DFE530TX (see 'rl' for DFE530TX+), the Hawking 1589# Technologies PN102TX, and the AOpen/Acer ALN-320. 1590# vx: 3Com 3C590 and 3C595 1591# wb: Support for fast ethernet adapters based on the Winbond W89C840F chip. 1592# Note: this is not the same as the Winbond W89C940F, which is a 1593# NE2000 clone. 1594# wi: Lucent WaveLAN/IEEE 802.11 PCMCIA adapters. Note: this supports both 1595# the PCMCIA and ISA cards: the ISA card is really a PCMCIA to ISA 1596# bridge with a PCMCIA adapter plugged into it. 1597# xe: Xircom/Intel EtherExpress Pro100/16 PC Card ethernet controller, 1598# Accton Fast EtherCard-16, Compaq Netelligent 10/100 PC Card, 1599# Toshiba 10/100 Ethernet PC Card, Xircom 16-bit Ethernet + Modem 56 1600# xl: Support for the 3Com 3c900, 3c905, 3c905B and 3c905C (Fast) 1601# Etherlink XL cards and integrated controllers. This includes the 1602# integrated 3c905B-TX chips in certain Dell Optiplex and Dell 1603# Precision desktop machines and the integrated 3c905-TX chips 1604# in Dell Latitude laptop docking stations. 1605# Also supported: 3Com 3c980(C)-TX, 3Com 3cSOHO100-TX, 3Com 3c450-TX 1606 1607# Order for ISA/EISA devices is important here 1608 1609device cm 1610hint.cm.0.at="isa" 1611hint.cm.0.port="0x2e0" 1612hint.cm.0.irq="9" 1613hint.cm.0.maddr="0xdc000" 1614device cs 1615hint.cs.0.at="isa" 1616hint.cs.0.port="0x300" 1617device ep 1618device ex 1619device fe 1620hint.fe.0.at="isa" 1621hint.fe.0.port="0x300" 1622device fea 1623device sn 1624hint.sn.0.at="isa" 1625hint.sn.0.port="0x300" 1626hint.sn.0.irq="10" 1627device an 1628device awi 1629device cnw 1630device wi 1631device xe 1632 1633# PCI Ethernet NICs that use the common MII bus controller code. 1634device dc # DEC/Intel 21143 and various workalikes 1635device fxp # Intel EtherExpress PRO/100B (82557, 82558) 1636hint.fxp.0.prefer_iomap="0" 1637device my # Myson Fast Ethernet (MTD80X, MTD89X) 1638device rl # RealTek 8129/8139 1639device pcn # AMD Am79C97x PCI 10/100 NICs 1640device sf # Adaptec AIC-6915 (``Starfire'') 1641device sbsh # Granch SBNI16 SHDSL modem 1642device sis # Silicon Integrated Systems SiS 900/SiS 7016 1643device ste # Sundance ST201 (D-Link DFE-550TX) 1644device tl # Texas Instruments ThunderLAN 1645device tx # SMC EtherPower II (83c170 ``EPIC'') 1646device vr # VIA Rhine, Rhine II 1647device wb # Winbond W89C840F 1648device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') 1649 1650# PCI Ethernet NICs. 1651device de # DEC/Intel DC21x4x (``Tulip'') 1652device txp # 3Com 3cR990 (``Typhoon'') 1653device vx # 3Com 3c590, 3c595 (``Vortex'') 1654 1655# PCI Gigabit & FDDI NICs. 1656device bge 1657device gx 1658device lge 1659device nge 1660device sk 1661device ti 1662device fpa 1663 1664# Use "private" jumbo buffers allocated exclusively for the ti(4) driver. 1665# This option is incompatible with the TI_JUMBO_HDRSPLIT option below. 1666#options TI_PRIVATE_JUMBOS 1667# Turn on the header splitting option for the ti(4) driver firmware. This 1668# only works for Tigon II chips, and has no effect for Tigon I chips. 1669options TI_JUMBO_HDRSPLIT 1670 1671# These two options allow manipulating the mbuf cluster size and mbuf size, 1672# respectively. Be very careful with NIC driver modules when changing 1673# these from their default values, because that can potentially cause a 1674# mismatch between the mbuf size assumed by the kernel and the mbuf size 1675# assumed by a module. The only driver that currently has the ability to 1676# detect a mismatch is ti(4). 1677options MCLSHIFT=12 # mbuf cluster shift in bits, 12 == 4KB 1678options MSIZE=512 # mbuf size in bytes 1679 1680# 1681# ATM related options (Cranor version) 1682# (note: this driver cannot be used with the HARP ATM stack) 1683# 1684# The `en' device provides support for Efficient Networks (ENI) 1685# ENI-155 PCI midway cards, and the Adaptec 155Mbps PCI ATM cards (ANA-59x0). 1686# 1687# The `hatm' device provides support for Fore/Marconi HE155 and HE622 1688# ATM PCI cards. 1689# 1690# The `fatm' device provides support for Fore PCA200E ATM PCI cards. 1691# 1692# The `patm' device provides support for IDT77252 based cards like 1693# ProSum's ProATM-155 and ProATM-25 and IDT's evaluation boards. 1694# 1695# atm device provides generic atm functions and is required for 1696# atm devices. 1697# NATM enables the netnatm protocol family that can be used to 1698# bypass TCP/IP. 1699# 1700# utopia provides the access to the ATM PHY chips and is required for en, 1701# hatm and fatm. 1702# 1703# the current driver supports only PVC operations (no atm-arp, no multicast). 1704# for more details, please read the original documents at 1705# http://www.ccrc.wustl.edu/pub/chuck/tech/bsdatm/bsdatm.html 1706# 1707device atm 1708device en 1709device fatm #Fore PCA200E 1710device hatm #Fore/Marconi HE155/622 1711device patm #IDT77252 cards (ProATM and IDT) 1712device utopia #ATM PHY driver 1713options NATM #native ATM 1714 1715options LIBMBPOOL #needed by patm, iatm 1716 1717# 1718# Audio drivers: `pcm', `sbc', `gusc' 1719# 1720# pcm: PCM audio through various sound cards. 1721# 1722# This has support for a large number of new audio cards, based on 1723# CS423x, OPTi931, Yamaha OPL-SAx, and also for SB16, GusPnP. 1724# For more information about this driver and supported cards, 1725# see the pcm.4 man page. 1726# 1727# The flags of the device tells the device a bit more info about the 1728# device that normally is obtained through the PnP interface. 1729# bit 2..0 secondary DMA channel; 1730# bit 4 set if the board uses two dma channels; 1731# bit 15..8 board type, overrides autodetection; leave it 1732# zero if don't know what to put in (and you don't, 1733# since this is unsupported at the moment...). 1734# 1735# Supported cards include: 1736# Creative SoundBlaster ISA PnP/non-PnP 1737# Supports ESS and Avance ISA chips as well. 1738# Gravis UltraSound ISA PnP/non-PnP 1739# Crystal Semiconductor CS461x/428x PCI 1740# Neomagic 256AV (ac97) 1741# Most of the more common ISA/PnP sb/mss/ess compatable cards. 1742 1743device pcm 1744 1745# For non-pnp sound cards with no bridge drivers only: 1746hint.pcm.0.at="isa" 1747hint.pcm.0.irq="10" 1748hint.pcm.0.drq="1" 1749hint.pcm.0.flags="0x0" 1750 1751# 1752# midi: MIDI interfaces and synthesizers 1753# 1754 1755device midi 1756 1757# For non-pnp sound cards with no bridge drivers: 1758hint.midi.0.at="isa" 1759hint.midi.0.irq="5" 1760hint.midi.0.flags="0x0" 1761 1762# For serial ports (this example configures port 2): 1763# TODO: implement generic tty-midi interface so that we can use 1764# other uarts. 1765hint.midi.0.at="isa" 1766hint.midi.0.port="0x2F8" 1767hint.midi.0.irq="3" 1768 1769# 1770# seq: MIDI sequencer 1771# 1772 1773device seq 1774 1775# The bridge drivers for sound cards. These can be separately configured 1776# for providing services to the likes of new-midi. 1777# When used with 'device pcm' they also provide pcm sound services. 1778# 1779# sbc: Creative SoundBlaster ISA PnP/non-PnP 1780# Supports ESS and Avance ISA chips as well. 1781# gusc: Gravis UltraSound ISA PnP/non-PnP 1782# csa: Crystal Semiconductor CS461x/428x PCI 1783 1784# For non-PnP cards: 1785device sbc 1786hint.sbc.0.at="isa" 1787hint.sbc.0.port="0x220" 1788hint.sbc.0.irq="5" 1789hint.sbc.0.drq="1" 1790hint.sbc.0.flags="0x15" 1791device gusc 1792hint.gusc.0.at="isa" 1793hint.gusc.0.port="0x220" 1794hint.gusc.0.irq="5" 1795hint.gusc.0.drq="1" 1796hint.gusc.0.flags="0x13" 1797 1798# 1799# Miscellaneous hardware: 1800# 1801# scd: Sony CD-ROM using proprietary (non-ATAPI) interface 1802# mcd: Mitsumi CD-ROM using proprietary (non-ATAPI) interface 1803# meteor: Matrox Meteor video capture board 1804# bktr: Brooktree bt848/848a/849a/878/879 video capture and TV Tuner board 1805# cy: Cyclades serial driver 1806# joy: joystick (including IO DATA PCJOY PC Card joystick) 1807# rc: RISCom/8 multiport card 1808# rp: Comtrol Rocketport(ISA/PCI) - single card 1809# si: Specialix SI/XIO 4-32 port terminal multiplexor 1810# nmdm: nullmodem terminal driver (see nmdm(4)) 1811 1812# Notes on the Comtrol Rocketport driver: 1813# 1814# The exact values used for rp0 depend on how many boards you have 1815# in the system. The manufacturer's sample configs are listed as: 1816# 1817# device rp # core driver support 1818# 1819# Comtrol Rocketport ISA single card 1820# hint.rp.0.at="isa" 1821# hint.rp.0.port="0x280" 1822# 1823# If instead you have two ISA cards, one installed at 0x100 and the 1824# second installed at 0x180, then you should add the following to 1825# your kernel probe hints: 1826# hint.rp.0.at="isa" 1827# hint.rp.0.port="0x100" 1828# hint.rp.1.at="isa" 1829# hint.rp.1.port="0x180" 1830# 1831# For 4 ISA cards, it might be something like this: 1832# hint.rp.0.at="isa" 1833# hint.rp.0.port="0x180" 1834# hint.rp.1.at="isa" 1835# hint.rp.1.port="0x100" 1836# hint.rp.2.at="isa" 1837# hint.rp.2.port="0x340" 1838# hint.rp.3.at="isa" 1839# hint.rp.3.port="0x240" 1840# 1841# For PCI cards, you need no hints. 1842 1843# Mitsumi CD-ROM 1844device mcd 1845hint.mcd.0.at="isa" 1846hint.mcd.0.port="0x300" 1847# for the Sony CDU31/33A CDROM 1848device scd 1849hint.scd.0.at="isa" 1850hint.scd.0.port="0x230" 1851device joy # PnP aware, hints for nonpnp only 1852hint.joy.0.at="isa" 1853hint.joy.0.port="0x201" 1854device rc 1855hint.rc.0.at="isa" 1856hint.rc.0.port="0x220" 1857hint.rc.0.irq="12" 1858device rp 1859hint.rp.0.at="isa" 1860hint.rp.0.port="0x280" 1861device si 1862options SI_DEBUG 1863hint.si.0.at="isa" 1864hint.si.0.maddr="0xd0000" 1865hint.si.0.irq="12" 1866device nmdm 1867 1868# 1869# The `meteor' device is a PCI video capture board. It can also have the 1870# following options: 1871# options METEOR_ALLOC_PAGES=xxx preallocate kernel pages for data entry 1872# figure (ROWS*COLUMN*BYTES_PER_PIXEL*FRAME+PAGE_SIZE-1)/PAGE_SIZE 1873# options METEOR_DEALLOC_PAGES remove all allocated pages on close(2) 1874# options METEOR_DEALLOC_ABOVE=xxx remove all allocated pages above the 1875# specified amount. If this value is below the allocated amount no action 1876# taken 1877# options METEOR_SYSTEM_DEFAULT={METEOR_PAL|METEOR_NTSC|METEOR_SECAM}, used 1878# for initialization of fps routine when a signal is not present. 1879# 1880# The 'bktr' device is a PCI video capture device using the Brooktree 1881# bt848/bt848a/bt849a/bt878/bt879 chipset. When used with a TV Tuner it forms a 1882# TV card, eg Miro PC/TV, Hauppauge WinCast/TV WinTV, VideoLogic Captivator, 1883# Intel Smart Video III, AverMedia, IMS Turbo, FlyVideo. 1884# 1885# options OVERRIDE_CARD=xxx 1886# options OVERRIDE_TUNER=xxx 1887# options OVERRIDE_MSP=1 1888# options OVERRIDE_DBX=1 1889# These options can be used to override the auto detection 1890# The current values for xxx are found in src/sys/dev/bktr/bktr_card.h 1891# Using sysctl(8) run-time overrides on a per-card basis can be made 1892# 1893# options BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_PAL 1894# or 1895# options BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_NTSC 1896# Specifes the default video capture mode. 1897# This is required for Dual Crystal (28&35Mhz) boards where PAL is used 1898# to prevent hangs during initialisation. eg VideoLogic Captivator PCI. 1899# 1900# options BKTR_USE_PLL 1901# PAL or SECAM users who have a 28Mhz crystal (and no 35Mhz crystal) 1902# must enable PLL mode with this option. eg some new Bt878 cards. 1903# 1904# options BKTR_GPIO_ACCESS 1905# This enable IOCTLs which give user level access to the GPIO port. 1906# 1907# options BKTR_NO_MSP_RESET 1908# Prevents the MSP34xx reset. Good if you initialise the MSP in another OS first 1909# 1910# options BKTR_430_FX_MODE 1911# Switch Bt878/879 cards into Intel 430FX chipset compatibility mode. 1912# 1913# options BKTR_SIS_VIA_MODE 1914# Switch Bt878/879 cards into SIS/VIA chipset compatibility mode which is 1915# needed for some old SiS and VIA chipset motherboards. 1916# This also allows Bt878/879 chips to work on old OPTi (<1997) chipset 1917# motherboards and motherboards with bad or incomplete PCI 2.1 support. 1918# As a rough guess, old = before 1998 1919# 1920# options BKTR_NEW_MSP34XX_DRIVER 1921# Use new, more complete initialization scheme for the msp34* soundchip. 1922# Should fix stereo autodetection if the old driver does only output 1923# mono sound. 1924 1925device meteor 1 1926 1927# 1928# options BKTR_USE_FREEBSD_SMBUS 1929# Compile with FreeBSD SMBus implementation 1930# 1931# Brooktree driver has been ported to the new I2C framework. Thus, 1932# you'll need to have the following 3 lines in the kernel config. 1933# device smbus 1934# device iicbus 1935# device iicbb 1936# device iicsmb 1937# The iic and smb devices are only needed if you want to control other 1938# I2C slaves connected to the external connector of some cards. 1939# 1940device bktr 1941 1942# 1943# PC Card/PCMCIA 1944# (OLDCARD) 1945# 1946# card: pccard slots 1947# pcic: isa/pccard bridge 1948#device pcic 1949#hint.pcic.0.at="isa" 1950#hint.pcic.1.at="isa" 1951#device card 1 1952 1953# 1954# PC Card/PCMCIA and Cardbus 1955# (NEWCARD) 1956# 1957# Note that NEWCARD and OLDCARD are incompatible. Do not use both at the same 1958# time. 1959# 1960# pccbb: pci/cardbus bridge implementing YENTA interface 1961# pccard: pccard slots 1962# cardbus: cardbus slots 1963device cbb 1964device pccard 1965device cardbus 1966#device pcic ISA attachment currently busted 1967#hint.pcic.0.at="isa" 1968#hint.pcic.1.at="isa" 1969 1970# 1971# SMB bus 1972# 1973# System Management Bus support is provided by the 'smbus' device. 1974# Access to the SMBus device is via the 'smb' device (/dev/smb*), 1975# which is a child of the 'smbus' device. 1976# 1977# Supported devices: 1978# smb standard io through /dev/smb* 1979# 1980# Supported SMB interfaces: 1981# iicsmb I2C to SMB bridge with any iicbus interface 1982# bktr brooktree848 I2C hardware interface 1983# intpm Intel PIIX4 (82371AB, 82443MX) Power Management Unit 1984# alpm Acer Aladdin-IV/V/Pro2 Power Management Unit 1985# ichsmb Intel ICH SMBus controller chips (82801AA, 82801AB, 82801BA) 1986# viapm VIA VT82C586B/596B/686A and VT8233 Power Management Unit 1987# amdpm AMD 756 Power Management Unit 1988# nfpm NVIDIA nForce Power Management Unit 1989# 1990device smbus # Bus support, required for smb below. 1991 1992device intpm 1993device alpm 1994device ichsmb 1995device viapm 1996device amdpm 1997device nfpm 1998 1999device smb 2000 2001# 2002# I2C Bus 2003# 2004# Philips i2c bus support is provided by the `iicbus' device. 2005# 2006# Supported devices: 2007# ic i2c network interface 2008# iic i2c standard io 2009# iicsmb i2c to smb bridge. Allow i2c i/o with smb commands. 2010# 2011# Supported interfaces: 2012# bktr brooktree848 I2C software interface 2013# 2014# Other: 2015# iicbb generic I2C bit-banging code (needed by lpbb, bktr) 2016# 2017device iicbus # Bus support, required for ic/iic/iicsmb below. 2018device iicbb 2019 2020device ic 2021device iic 2022device iicsmb # smb over i2c bridge 2023 2024# Parallel-Port Bus 2025# 2026# Parallel port bus support is provided by the `ppbus' device. 2027# Multiple devices may be attached to the parallel port, devices 2028# are automatically probed and attached when found. 2029# 2030# Supported devices: 2031# vpo Iomega Zip Drive 2032# Requires SCSI disk support ('scbus' and 'da'), best 2033# performance is achieved with ports in EPP 1.9 mode. 2034# lpt Parallel Printer 2035# plip Parallel network interface 2036# ppi General-purpose I/O ("Geek Port") + IEEE1284 I/O 2037# pps Pulse per second Timing Interface 2038# lpbb Philips official parallel port I2C bit-banging interface 2039# 2040# Supported interfaces: 2041# ppc ISA-bus parallel port interfaces. 2042# 2043 2044options PPC_PROBE_CHIPSET # Enable chipset specific detection 2045 # (see flags in ppc(4)) 2046options DEBUG_1284 # IEEE1284 signaling protocol debug 2047options PERIPH_1284 # Makes your computer act as an IEEE1284 2048 # compliant peripheral 2049options DONTPROBE_1284 # Avoid boot detection of PnP parallel devices 2050options VP0_DEBUG # ZIP/ZIP+ debug 2051options LPT_DEBUG # Printer driver debug 2052options PPC_DEBUG # Parallel chipset level debug 2053options PLIP_DEBUG # Parallel network IP interface debug 2054options PCFCLOCK_VERBOSE # Verbose pcfclock driver 2055options PCFCLOCK_MAX_RETRIES=5 # Maximum read tries (default 10) 2056 2057device ppc 2058hint.ppc.0.at="isa" 2059hint.ppc.0.irq="7" 2060device ppbus 2061device vpo 2062device lpt 2063device plip 2064device ppi 2065device pps 2066device lpbb 2067device pcfclock 2068 2069# Kernel BOOTP support 2070 2071options BOOTP # Use BOOTP to obtain IP address/hostname 2072 # Requires NFSCLIENT and NFS_ROOT 2073options BOOTP_NFSROOT # NFS mount root filesystem using BOOTP info 2074options BOOTP_NFSV3 # Use NFS v3 to NFS mount root 2075options BOOTP_COMPAT # Workaround for broken bootp daemons. 2076options BOOTP_WIRED_TO=fxp0 # Use interface fxp0 for BOOTP 2077 2078# 2079# Add tie-ins for a hardware watchdog. This only enable the hooks; 2080# the user must still supply the actual driver. 2081# 2082options HW_WDOG 2083 2084# 2085# Add software watchdog routines. This will add some sysctl OIDs that 2086# can be used in combination with an external daemon to create a 2087# software-based watchdog solution. 2088# 2089options WATCHDOG 2090 2091# 2092# Disable swapping of upages and stack pages. This option removes all 2093# code which actually performs swapping, so it's not possible to turn 2094# it back on at run-time. 2095# 2096# This is sometimes usable for systems which don't have any swap space 2097# (see also sysctls "vm.defer_swapspace_pageouts" and 2098# "vm.disable_swapspace_pageouts") 2099# 2100#options NO_SWAPPING 2101 2102# Set the number of sf_bufs to allocate. sf_bufs are virtual buffers 2103# for sendfile(2) that are used to map file VM pages, and normally 2104# default to a quantity that is roughly 16*MAXUSERS+512. You would 2105# typically want about 4 of these for each simultaneous file send. 2106# 2107options NSFBUFS=1024 2108 2109# 2110# Enable extra debugging code for locks. This stores the filename and 2111# line of whatever acquired the lock in the lock itself, and change a 2112# number of function calls to pass around the relevant data. This is 2113# not at all useful unless you are debugging lock code. Also note 2114# that it is likely to break e.g. fstat(1) unless you recompile your 2115# userland with -DDEBUG_LOCKS as well. 2116# 2117options DEBUG_LOCKS 2118 2119 2120##################################################################### 2121# USB support 2122# UHCI controller 2123device uhci 2124# OHCI controller 2125device ohci 2126# EHCI controller 2127device ehci 2128# General USB code (mandatory for USB) 2129device usb 2130# 2131# USB Double Bulk Pipe devices 2132device udbp 2133# Generic USB device driver 2134device ugen 2135# Human Interface Device (anything with buttons and dials) 2136device uhid 2137# USB keyboard 2138device ukbd 2139# USB printer 2140device ulpt 2141# USB Iomega Zip 100 Drive (Requires scbus and da) 2142device umass 2143# USB support for Belkin F5U109 and Magic Control Technology serial adapters 2144device umct 2145# USB modem support 2146device umodem 2147# USB mouse 2148device ums 2149# Diamond Rio 500 Mp3 player 2150device urio 2151# USB scanners 2152device uscanner 2153# USB serial support 2154device ucom 2155# USB support for serial adapters based on the FT8U100AX and FT8U232AM 2156device uftdi 2157# USB support for Prolific PL-2303 serial adapters 2158device uplcom 2159# USB support for Belkin F5U103 and compatible serial adapters 2160device ubsa 2161# USB serial support for DDI pocket's PHS 2162device uvscom 2163# USB Visor and Palm devices 2164device uvisor 2165 2166# USB Fm Radio 2167device ufm 2168# 2169# ADMtek USB ethernet. Supports the LinkSys USB100TX, 2170# the Billionton USB100, the Melco LU-ATX, the D-Link DSB-650TX 2171# and the SMC 2202USB. Also works with the ADMtek AN986 Pegasus 2172# eval board. 2173device aue 2174# 2175# CATC USB-EL1201A USB ethernet. Supports the CATC Netmate 2176# and Netmate II, and the Belkin F5U111. 2177device cue 2178# 2179# Kawasaki LSI ethernet. Supports the LinkSys USB10T, 2180# Entrega USB-NET-E45, Peracom Ethernet Adapter, the 2181# 3Com 3c19250, the ADS Technologies USB-10BT, the ATen UC10T, 2182# the Netgear EA101, the D-Link DSB-650, the SMC 2102USB 2183# and 2104USB, and the Corega USB-T. 2184device kue 2185# 2186# RealTek RTL8150 USB to fast ethernet. Supports the Melco LUA-KTX 2187# and the GREEN HOUSE GH-USB100B. 2188device rue 2189 2190# debugging options for the USB subsystem 2191# 2192options USB_DEBUG 2193 2194# options for ukbd: 2195options UKBD_DFLT_KEYMAP # specify the built-in keymap 2196makeoptions UKBD_DFLT_KEYMAP=it.iso 2197 2198# options for uvscom: 2199options UVSCOM_DEFAULT_OPKTSIZE=8 # default output packet size 2200 2201##################################################################### 2202# Firewire support 2203 2204device firewire # Firewire bus code 2205device sbp # SCSI over Firewire (Requires scbus and da) 2206device fwe # Ethernet over Firewire (non-standard!) 2207 2208##################################################################### 2209# crypto subsystem 2210# 2211# This is a port of the openbsd crypto framework. Include this when 2212# configuring FAST_IPSEC and when you have a h/w crypto device to accelerate 2213# user applications that link to openssl. 2214# 2215# Drivers are ports from openbsd with some simple enhancements that have 2216# been fed back to openbsd. 2217 2218device crypto # core crypto support 2219device cryptodev # /dev/crypto for access to h/w 2220 2221device rndtest # FIPS 140-2 entropy tester 2222 2223device hifn # Hifn 7951, 7781, etc. 2224options HIFN_DEBUG # enable debugging support: hw.hifn.debug 2225options HIFN_RNDTEST # enable rndtest support 2226 2227device ubsec # Broadcom 5501, 5601, 58xx 2228options UBSEC_DEBUG # enable debugging support: hw.ubsec.debug 2229options UBSEC_RNDTEST # enable rndtest support 2230 2231##################################################################### 2232 2233 2234# 2235# Embedded system options: 2236# 2237# An embedded system might want to run something other than init. 2238options INIT_PATH=/sbin/init:/stand/sysinstall 2239 2240# Debug options 2241options BUS_DEBUG # enable newbus debugging 2242options DEBUG_VFS_LOCKS # enable vfs lock debugging 2243 2244##################################################################### 2245# SYSV IPC KERNEL PARAMETERS 2246# 2247# Maximum number of entries in a semaphore map. 2248options SEMMAP=31 2249 2250# Maximum number of System V semaphores that can be used on the system at 2251# one time. 2252options SEMMNI=11 2253 2254# Total number of semaphores system wide 2255options SEMMNS=61 2256 2257# Total number of undo structures in system 2258options SEMMNU=31 2259 2260# Maximum number of System V semaphores that can be used by a single process 2261# at one time. 2262options SEMMSL=61 2263 2264# Maximum number of operations that can be outstanding on a single System V 2265# semaphore at one time. 2266options SEMOPM=101 2267 2268# Maximum number of undo operations that can be outstanding on a single 2269# System V semaphore at one time. 2270options SEMUME=11 2271 2272# Maximum number of shared memory pages system wide. 2273options SHMALL=1025 2274 2275# Maximum size, in bytes, of a single System V shared memory region. 2276options SHMMAX=(SHMMAXPGS*PAGE_SIZE+1) 2277options SHMMAXPGS=1025 2278 2279# Minimum size, in bytes, of a single System V shared memory region. 2280options SHMMIN=2 2281 2282# Maximum number of shared memory regions that can be used on the system 2283# at one time. 2284options SHMMNI=33 2285 2286# Maximum number of System V shared memory regions that can be attached to 2287# a single process at one time. 2288options SHMSEG=9 2289 2290# Set the amount of time (in seconds) the system will wait before 2291# rebooting automatically when a kernel panic occurs. If set to (-1), 2292# the system will wait indefinitely until a key is pressed on the 2293# console. 2294options PANIC_REBOOT_WAIT_TIME=16 2295 2296# Attempt to bypass the buffer cache and put data directly into the 2297# userland buffer for read operation when O_DIRECT flag is set on the 2298# file. Both offset and length of the read operation must be 2299# multiples of the physical media sector size. 2300# 2301#options DIRECTIO 2302 2303# Specify a lower limit for the number of swap I/O buffers. They are 2304# (among other things) used when bypassing the buffer cache due to 2305# DIRECTIO kernel option enabled and O_DIRECT flag set on file. 2306# 2307#options NSWBUF_MIN=120 2308 2309##################################################################### 2310 2311# More undocumented options for linting. 2312# Note that documenting these are not considered an affront. 2313 2314options CAM_DEBUG_DELAY 2315 2316# VFS cluster debugging. 2317options CLUSTERDEBUG 2318 2319options DEBUG 2320 2321# Kernel filelock debugging. 2322options LOCKF_DEBUG 2323 2324# System V compatible message queues 2325# Please note that the values provided here are used to test kernel 2326# building. The defaults in the sources provide almost the same numbers. 2327# MSGSSZ must be a power of 2 between 8 and 1024. 2328options MSGMNB=2049 # Max number of chars in queue 2329options MSGMNI=41 # Max number of message queue identifiers 2330options MSGSEG=2049 # Max number of message segments 2331options MSGSSZ=16 # Size of a message segment 2332options MSGTQL=41 # Max number of messages in system 2333 2334options NBUF=512 # Number of buffer headers 2335 2336options NMBCLUSTERS=1024 # Number of mbuf clusters 2337 2338options SCSI_NCR_DEBUG 2339options SCSI_NCR_MAX_SYNC=10000 2340options SCSI_NCR_MAX_WIDE=1 2341options SCSI_NCR_MYADDR=7 2342 2343options SC_DEBUG_LEVEL=5 # Syscons debug level 2344options SC_RENDER_DEBUG # syscons rendering debugging 2345 2346options SHOW_BUSYBUFS # List buffers that prevent root unmount 2347options SLIP_IFF_OPTS 2348options VFS_BIO_DEBUG # VFS buffer I/O debugging 2349 2350options KSTACK_MAX_PAGES=32 # Maximum pages to give the kernel stack 2351 2352# Yet more undocumented options for linting. 2353options AAC_DEBUG 2354options ACD_DEBUG 2355options ACPI_MAX_THREADS=1 2356#!options ACPI_NO_SEMAPHORES 2357# Broken: 2358##options ASR_MEASURE_PERFORMANCE 2359options AST_DEBUG 2360options ATAPI_DEBUG 2361options ATA_DEBUG 2362# BKTR_ALLOC_PAGES has no effect except to cause warnings, and 2363# BROOKTREE_ALLOC_PAGES hasn't actually been superseded by it, since the 2364# driver still mostly spells this option BROOKTREE_ALLOC_PAGES. 2365##options BKTR_ALLOC_PAGES=(217*4+1) 2366options BROOKTREE_ALLOC_PAGES=(217*4+1) 2367options MAXFILES=999 2368# METEOR_TEST_VIDEO has no effect since meteor is broken. 2369options METEOR_TEST_VIDEO 2370options NDEVFSINO=1025 2371options NDEVFSOVERFLOW=32769 2372 2373# Yet more undocumented options for linting. 2374options VGA_DEBUG 2375