NOTES (128467) | NOTES (128514) |
---|---|
1# $FreeBSD: head/sys/conf/NOTES 128467 2004-04-20 13:07:53Z bms $ | 1# $FreeBSD: head/sys/conf/NOTES 128514 2004-04-21 04:46:32Z bde $ |
2# 3# NOTES -- Lines that can be cut/pasted into kernel and hints configs. 4# 5# Lines that begin with 'device', 'options', 'machine', 'ident', 'maxusers', 6# 'makeoptions', 'hints', etc. go into the kernel configuration that you 7# run config(8) with. 8# 9# Lines that begin with 'hint.' are NOT for config(8), they go into your --- 12 unchanged lines hidden (view full) --- 22# Large block comments should begin and end with a line containing only a 23# comment character. 24# 25# To describe a particular object, a block comment (if it exists) should 26# come first. Next should come device, options, and hints lines in that 27# order. All device and option lines must be described by a comment that 28# doesn't just expand the device or option name. Use only a concise 29# comment on the same line if possible. Very detailed descriptions of | 2# 3# NOTES -- Lines that can be cut/pasted into kernel and hints configs. 4# 5# Lines that begin with 'device', 'options', 'machine', 'ident', 'maxusers', 6# 'makeoptions', 'hints', etc. go into the kernel configuration that you 7# run config(8) with. 8# 9# Lines that begin with 'hint.' are NOT for config(8), they go into your --- 12 unchanged lines hidden (view full) --- 22# Large block comments should begin and end with a line containing only a 23# comment character. 24# 25# To describe a particular object, a block comment (if it exists) should 26# come first. Next should come device, options, and hints lines in that 27# order. All device and option lines must be described by a comment that 28# doesn't just expand the device or option name. Use only a concise 29# comment on the same line if possible. Very detailed descriptions of |
30# devices and subsystems belong in manpages. | 30# devices and subsystems belong in man pages. |
31# 32# A space followed by a tab separates 'options' from an option name. Two 33# spaces followed by a tab separate 'device' from a device name. Comments 34# after an option or device should use one space after the comment character. 35# To comment out a negative option that disables code and thus should not be 36# enabled for LINT builds, precede 'options' with "#!". 37# 38 --- 145 unchanged lines hidden (view full) --- 184# sleep. 185# WITNESS_SKIPSPIN disables the witness checks on spin mutexes. 186options MUTEX_DEBUG 187options WITNESS 188options WITNESS_DDB 189options WITNESS_SKIPSPIN 190 191# MUTEX_PROFILING - Profiling mutual exclusion locks (mutexes). See | 31# 32# A space followed by a tab separates 'options' from an option name. Two 33# spaces followed by a tab separate 'device' from a device name. Comments 34# after an option or device should use one space after the comment character. 35# To comment out a negative option that disables code and thus should not be 36# enabled for LINT builds, precede 'options' with "#!". 37# 38 --- 145 unchanged lines hidden (view full) --- 184# sleep. 185# WITNESS_SKIPSPIN disables the witness checks on spin mutexes. 186options MUTEX_DEBUG 187options WITNESS 188options WITNESS_DDB 189options WITNESS_SKIPSPIN 190 191# MUTEX_PROFILING - Profiling mutual exclusion locks (mutexes). See |
192# the MUTEX_PROFILING(9) manual page for details. | 192# MUTEX_PROFILING(9) for details. |
193options MUTEX_PROFILING 194 195 196##################################################################### 197# COMPATIBILITY OPTIONS 198 199# 200# Implement system calls compatible with 4.3BSD and older versions of --- 364 unchanged lines hidden (view full) --- 565# 566# IPDIVERT enables the divert IP sockets, used by ``ipfw divert'' 567# 568# IPSTEALTH enables code to support stealth forwarding (i.e., forwarding 569# packets without touching the ttl). This can be useful to hide firewalls 570# from traceroute and similar tools. 571# 572# PFIL_HOOKS enables an abtraction layer which is meant to be used in | 193options MUTEX_PROFILING 194 195 196##################################################################### 197# COMPATIBILITY OPTIONS 198 199# 200# Implement system calls compatible with 4.3BSD and older versions of --- 364 unchanged lines hidden (view full) --- 565# 566# IPDIVERT enables the divert IP sockets, used by ``ipfw divert'' 567# 568# IPSTEALTH enables code to support stealth forwarding (i.e., forwarding 569# packets without touching the ttl). This can be useful to hide firewalls 570# from traceroute and similar tools. 571# 572# PFIL_HOOKS enables an abtraction layer which is meant to be used in |
573# network code where filtering is required. See the pfil(9) man page. 574# This option is required by the IPFILTER option and the PF device. | 573# network code where filtering is required. See pfil(9). This option is 574# required by the IPFILTER option and the PF device. |
575# 576# TCPDEBUG enables code which keeps traces of the TCP state machine 577# for sockets with the SO_DEBUG option set, which can then be examined 578# using the trpt(8) utility. 579# 580options MROUTING # Multicast routing 581options PIM # Protocol Independent Multicast 582options IPFIREWALL #firewall --- 9 unchanged lines hidden (view full) --- 592options IPFILTER_LOG #ipfilter logging 593options IPFILTER_DEFAULT_BLOCK #block all packets by default 594options IPSTEALTH #support for stealth forwarding 595options PFIL_HOOKS #required by IPFILTER 596options TCPDEBUG 597 598# The MBUF_STRESS_TEST option enables options which create 599# various random failures / extreme cases related to mbuf | 575# 576# TCPDEBUG enables code which keeps traces of the TCP state machine 577# for sockets with the SO_DEBUG option set, which can then be examined 578# using the trpt(8) utility. 579# 580options MROUTING # Multicast routing 581options PIM # Protocol Independent Multicast 582options IPFIREWALL #firewall --- 9 unchanged lines hidden (view full) --- 592options IPFILTER_LOG #ipfilter logging 593options IPFILTER_DEFAULT_BLOCK #block all packets by default 594options IPSTEALTH #support for stealth forwarding 595options PFIL_HOOKS #required by IPFILTER 596options TCPDEBUG 597 598# The MBUF_STRESS_TEST option enables options which create 599# various random failures / extreme cases related to mbuf |
600# functions. See the mbuf(9) manpage for a list of available 601# test cases. | 600# functions. See mbuf(9) for a list of available test cases. |
602options MBUF_STRESS_TEST 603 604# RANDOM_IP_ID causes the ID field in IP packets to be randomized 605# instead of incremented by 1 with each packet generated. This 606# option closes a minor information leak which allows remote 607# observers to determine the rate of packet generation on the 608# machine by watching the counter. 609options RANDOM_IP_ID --- 11 unchanged lines hidden (view full) --- 621# TCP_SIGNATURE adds support for RFC 2385 (TCP-MD5) digests. These are 622# carried in TCP option 19. This option is commonly used to protect 623# TCP sessions (e.g. BGP) where IPSEC is not available nor desirable. 624# This is enabled on a per-socket basis using the TCP_MD5SIG socket option. 625# This requires the use of 'device crypto', 'options FAST_IPSEC', and 626# 'device cryptodev' as it depends on the non-KAME IPSEC SADB code. 627#options TCP_SIGNATURE #include support for RFC 2385 628 | 601options MBUF_STRESS_TEST 602 603# RANDOM_IP_ID causes the ID field in IP packets to be randomized 604# instead of incremented by 1 with each packet generated. This 605# option closes a minor information leak which allows remote 606# observers to determine the rate of packet generation on the 607# machine by watching the counter. 608options RANDOM_IP_ID --- 11 unchanged lines hidden (view full) --- 620# TCP_SIGNATURE adds support for RFC 2385 (TCP-MD5) digests. These are 621# carried in TCP option 19. This option is commonly used to protect 622# TCP sessions (e.g. BGP) where IPSEC is not available nor desirable. 623# This is enabled on a per-socket basis using the TCP_MD5SIG socket option. 624# This requires the use of 'device crypto', 'options FAST_IPSEC', and 625# 'device cryptodev' as it depends on the non-KAME IPSEC SADB code. 626#options TCP_SIGNATURE #include support for RFC 2385 627 |
629# DUMMYNET enables the "dummynet" bandwidth limiter. You need 630# IPFIREWALL as well. See the dummynet(4) and ipfw(8) manpages for more info. 631# When you run DUMMYNET it is advisable to also have "options HZ=1000" 632# to achieve a smoother scheduling of the traffic. | 628# DUMMYNET enables the "dummynet" bandwidth limiter. You need IPFIREWALL 629# as well. See dummynet(4) and ipfw(8) for more info. When you run 630# DUMMYNET it is advisable to also have "options HZ=1000" to achieve a 631# smoother scheduling of the traffic. |
633# 634# BRIDGE enables bridging between ethernet cards -- see bridge(4). 635# You can use IPFIREWALL and DUMMYNET together with bridging. 636# 637options DUMMYNET 638options BRIDGE 639 640# Zero copy sockets support. This enables "zero copy" for sending and --- 626 unchanged lines hidden (view full) --- 1267options AHC_TMODE_ENABLE 1268 1269# Compile in Aic7xxx Debugging code. 1270options AHC_DEBUG 1271 1272# Aic7xxx driver debugging options. See sys/dev/aic7xxx/aic7xxx.h 1273options AHC_DEBUG_OPTS 1274 | 632# 633# BRIDGE enables bridging between ethernet cards -- see bridge(4). 634# You can use IPFIREWALL and DUMMYNET together with bridging. 635# 636options DUMMYNET 637options BRIDGE 638 639# Zero copy sockets support. This enables "zero copy" for sending and --- 626 unchanged lines hidden (view full) --- 1266options AHC_TMODE_ENABLE 1267 1268# Compile in Aic7xxx Debugging code. 1269options AHC_DEBUG 1270 1271# Aic7xxx driver debugging options. See sys/dev/aic7xxx/aic7xxx.h 1272options AHC_DEBUG_OPTS 1273 |
1275# Print register bitfields in debug output. Adds ~128k to driver. 1276# See the ahc(4) manpage | 1274# Print register bitfields in debug output. Adds ~128k to driver 1275# See ahc(4). |
1277options AHC_REG_PRETTY_PRINT 1278 1279# Compile in aic79xx debugging code. 1280options AHD_DEBUG 1281 | 1276options AHC_REG_PRETTY_PRINT 1277 1278# Compile in aic79xx debugging code. 1279options AHD_DEBUG 1280 |
1282# Aic79xx driver debugging options. Adds ~215k to driver. 1283# See the ahd(4) manpage | 1281# Aic79xx driver debugging options. Adds ~215k to driver. See ahd(4). |
1284options AHD_DEBUG_OPTS=0xFFFFFFFF 1285 1286# Print human-readable register definitions when debugging 1287options AHD_REG_PRETTY_PRINT 1288 1289# Bitmap of units to enable targetmode operations. 1290options AHD_TMODE_ENABLE 1291 --- 467 unchanged lines hidden (view full) --- 1759 1760# 1761# Audio drivers: `pcm', `sbc', `gusc' 1762# 1763# pcm: PCM audio through various sound cards. 1764# 1765# This has support for a large number of new audio cards, based on 1766# CS423x, OPTi931, Yamaha OPL-SAx, and also for SB16, GusPnP. | 1282options AHD_DEBUG_OPTS=0xFFFFFFFF 1283 1284# Print human-readable register definitions when debugging 1285options AHD_REG_PRETTY_PRINT 1286 1287# Bitmap of units to enable targetmode operations. 1288options AHD_TMODE_ENABLE 1289 --- 467 unchanged lines hidden (view full) --- 1757 1758# 1759# Audio drivers: `pcm', `sbc', `gusc' 1760# 1761# pcm: PCM audio through various sound cards. 1762# 1763# This has support for a large number of new audio cards, based on 1764# CS423x, OPTi931, Yamaha OPL-SAx, and also for SB16, GusPnP. |
1767# For more information about this driver and supported cards, 1768# see the pcm.4 man page. | 1765# For more information about this driver and supported cards, see pcm(4). |
1769# 1770# The flags of the device tells the device a bit more info about the 1771# device that normally is obtained through the PnP interface. 1772# bit 2..0 secondary DMA channel; 1773# bit 4 set if the board uses two dma channels; 1774# bit 15..8 board type, overrides autodetection; leave it 1775# zero if don't know what to put in (and you don't, 1776# since this is unsupported at the moment...). --- 648 unchanged lines hidden --- | 1766# 1767# The flags of the device tells the device a bit more info about the 1768# device that normally is obtained through the PnP interface. 1769# bit 2..0 secondary DMA channel; 1770# bit 4 set if the board uses two dma channels; 1771# bit 15..8 board type, overrides autodetection; leave it 1772# zero if don't know what to put in (and you don't, 1773# since this is unsupported at the moment...). --- 648 unchanged lines hidden --- |