xref: /freebsd/sys/conf/options (revision b76278407dc1b20319f598998ce72d13ada7cc6b)
1c3aac50fSPeter Wemm# $FreeBSD$
294db1b81SEivind Eklund#
394db1b81SEivind Eklund#        On the handling of kernel options
494db1b81SEivind Eklund#
586bbbabaSDima Dorfman# All kernel options should be listed in NOTES, with suitable
694db1b81SEivind Eklund# descriptions.  Negative options (options that make some code not
74718c85aSDima Dorfman# compile) should be commented out; LINT (generated from NOTES) should
84718c85aSDima Dorfman# compile as much code as possible.  Try to structure option-using
94718c85aSDima Dorfman# code so that a single option only switch code on, or only switch
104718c85aSDima Dorfman# code off, to make it possible to have a full compile-test.  If
114718c85aSDima Dorfman# necessary, you can check for COMPILING_LINT to get maximum code
124718c85aSDima Dorfman# coverage.
1394db1b81SEivind Eklund#
1494db1b81SEivind Eklund# All new options shall also be listed in either "conf/options" or
154718c85aSDima Dorfman# "conf/options.<machine>".  Options that affect a single source-file
164718c85aSDima Dorfman# <xxx>.[c|s] should be directed into "opt_<xxx>.h", while options
174718c85aSDima Dorfman# that affect multiple files should either go in "opt_global.h" if
184718c85aSDima Dorfman# this is a kernel-wide option (used just about everywhere), or in
19786da2bbSMatt Jacob# "opt_<option-name-in-lower-case>.h" if it affects only some files.
204718c85aSDima Dorfman# Note that the effect of listing only an option without a
214718c85aSDima Dorfman# header-file-name in conf/options (and cousins) is that the last
224718c85aSDima Dorfman# convention is followed.
2394db1b81SEivind Eklund#
2494db1b81SEivind Eklund# This handling scheme is not yet fully implemented.
2594db1b81SEivind Eklund#
2694db1b81SEivind Eklund#
2794db1b81SEivind Eklund# Format of this file:
284bd49128SPeter Wemm# Option name	filename
2994db1b81SEivind Eklund#
3094db1b81SEivind Eklund# If filename is missing, the default is
3194db1b81SEivind Eklund# opt_<name-of-option-in-lower-case>.h
3281fc841cSBruce Evans
33662d3818SScott LongAAC_DEBUG		opt_aac.h
34dce93cd0SAchim LeubnerAACRAID_DEBUG		opt_aacraid.h
35662d3818SScott LongAHC_ALLOW_MEMIO		opt_aic7xxx.h
36662d3818SScott LongAHC_TMODE_ENABLE	opt_aic7xxx.h
37662d3818SScott LongAHC_DUMP_EEPROM		opt_aic7xxx.h
38662d3818SScott LongAHC_DEBUG		opt_aic7xxx.h
39662d3818SScott LongAHC_DEBUG_OPTS		opt_aic7xxx.h
40662d3818SScott LongAHC_REG_PRETTY_PRINT	opt_aic7xxx.h
41662d3818SScott LongAHD_DEBUG		opt_aic79xx.h
42662d3818SScott LongAHD_DEBUG_OPTS		opt_aic79xx.h
43662d3818SScott LongAHD_TMODE_ENABLE	opt_aic79xx.h
44662d3818SScott LongAHD_REG_PRETTY_PRINT	opt_aic79xx.h
45662d3818SScott LongADW_ALLOW_MEMIO		opt_adw.h
46528784edSJustin T. Gibbs
479e429d38SVinod KashyapTWA_DEBUG		opt_twa.h
489e429d38SVinod KashyapTWA_FLASH_FIRMWARE	opt_twa.h
49f646fe1aSVinod Kashyap
50e2ee2173SMarcel Moolenaar# Debugging options.
51e5a09273SRobert WatsonALT_BREAK_TO_DEBUGGER	opt_kdb.h
52e5a09273SRobert WatsonBREAK_TO_DEBUGGER	opt_kdb.h
53e2ee2173SMarcel MoolenaarDDB
5451b93e47SAttilio RaoDDB_BUFR_SIZE	opt_ddb.h
55f33dc69dSRobert WatsonDDB_CAPTURE_DEFAULTBUFSIZE	opt_ddb.h
56f33dc69dSRobert WatsonDDB_CAPTURE_MAXBUFSIZE	opt_ddb.h
57c7d1b0ecSJohn BirrellDDB_CTF		opt_ddb.h
58e2ee2173SMarcel MoolenaarDDB_NUMSYM	opt_ddb.h
59e2ee2173SMarcel MoolenaarGDB
60e2ee2173SMarcel MoolenaarKDB		opt_global.h
61e2ee2173SMarcel MoolenaarKDB_TRACE	opt_kdb.h
62e2ee2173SMarcel MoolenaarKDB_UNATTENDED	opt_kdb.h
634e313b69SMax KhonKLD_DEBUG	opt_kld.h
64df970488SRobert WatsonSYSCTL_DEBUG	opt_sysctl.h
6526fbe13cSWarner LoshEARLY_PRINTF	opt_global.h
6621d748a9SAlfred PerlsteinTEXTDUMP_PREFERRED	opt_ddb.h
6721d748a9SAlfred PerlsteinTEXTDUMP_VERBOSE	opt_ddb.h
68e2ee2173SMarcel Moolenaar
693d20a1ffSBruce Evans# Miscellaneous options.
70651175c9SAttilio RaoADAPTIVE_LOCKMGRS
71d971c22bSRobert WatsonALQ
72e9088043SBrooks DavisALTERA_SDCARD_FAST_SIM	opt_altera_sdcard.h
731a440eb2SBrooks DavisATSE_CFI_HACK	opt_cfi.h
7407881ef9SRobert WatsonAUDIT		opt_global.h
7556fddc5dSBrooks DavisBOOTHOWTO	opt_global.h
7656fddc5dSBrooks DavisBOOTVERBOSE	opt_global.h
775b999a6bSDavide ItalianoCALLOUT_PROFILING
7855d4d6f4SJonathan AndersonCAPABILITIES	opt_capsicum.h
7924c1c3bfSJonathan AndersonCAPABILITY_MODE	opt_capsicum.h
80f71bb3a1SEivind EklundCOMPAT_43	opt_compat.h
81d3e64681SPoul-Henning KampCOMPAT_43TTY	opt_compat.h
82074453c2SAlfred PerlsteinCOMPAT_FREEBSD4	opt_compat.h
83b107fcf8SPeter WemmCOMPAT_FREEBSD5	opt_compat.h
846c9fdda7SRuslan ErmilovCOMPAT_FREEBSD6	opt_compat.h
855965c4b7SJohn BaldwinCOMPAT_FREEBSD7	opt_compat.h
86c866ec47SPoul-Henning KampCOMPILING_LINT	opt_global.h
87e7228204SAlfred PerlsteinCOMPRESS_USER_CORES opt_core.h
88d971c22bSRobert WatsonCY_PCI_FASTINTR
89f7829d0dSAttilio RaoDEADLKRES	opt_watchdog.h
90e9484e32SRuslan ErmilovDIRECTIO
916c6f1f01SPeter WemmFILEMON		opt_dontuse.h
92b0fdc837SLawrence StewartFFCLOCK
939923b511SScott LongFULL_PREEMPTION	opt_sched.h
9481e3caafSJustin HibbitsIMAGACT_BINMISC		opt_dontuse.h
956097174eSStephan UphoffIPI_PREEMPTION	opt_sched.h
963bd65612SPoul-Henning KampGEOM_AES	opt_geom.h
9719b5c7bcSPoul-Henning KampGEOM_BDE	opt_geom.h
983bd65612SPoul-Henning KampGEOM_BSD	opt_geom.h
995d9f25dcSRuslan ErmilovGEOM_CACHE	opt_geom.h
1007226443dSPawel Jakub DawidekGEOM_CONCAT	opt_geom.h
1015ca1fcfeSPawel Jakub DawidekGEOM_ELI	opt_geom.h
10222db1e9fSPoul-Henning KampGEOM_FOX	opt_geom.h
1037226443dSPawel Jakub DawidekGEOM_GATE	opt_geom.h
104f348204cSPawel Jakub DawidekGEOM_JOURNAL	opt_geom.h
105e1237b28SPawel Jakub DawidekGEOM_LABEL	opt_geom.h
106e8c166e8SMarcel MoolenaarGEOM_LABEL_GPT	opt_geom.h
1071669d8afSAndrew ThompsonGEOM_LINUX_LVM	opt_geom.h
1083bd65612SPoul-Henning KampGEOM_MBR	opt_geom.h
1098a8fbacaSPawel Jakub DawidekGEOM_MIRROR	opt_geom.h
1101db3766dSDag-Erling SmørgravGEOM_MULTIPATH	opt_geom.h
1117dc92b13SPawel Jakub DawidekGEOM_NOP	opt_geom.h
1121d3aed33SMarcel MoolenaarGEOM_PART_APM	opt_geom.h
1135aaa8fefSMarcel MoolenaarGEOM_PART_BSD	opt_geom.h
114d68d0cf5SAndrey V. ElsukovGEOM_PART_BSD64	opt_geom.h
11591e1be8bSMarcel MoolenaarGEOM_PART_EBR	opt_geom.h
1166ad9a99fSMarcel MoolenaarGEOM_PART_EBR_COMPAT	opt_geom.h
1171d3aed33SMarcel MoolenaarGEOM_PART_GPT	opt_geom.h
118e800e2e1SAndrey V. ElsukovGEOM_PART_LDM	opt_geom.h
1196bc50445SMarcel MoolenaarGEOM_PART_MBR	opt_geom.h
120b03fab12SMarcel MoolenaarGEOM_PART_PC98	opt_geom.h
121909f20c8SMarcel MoolenaarGEOM_PART_VTOC8	opt_geom.h
1223bd65612SPoul-Henning KampGEOM_PC98	opt_geom.h
12389b17223SAlexander MotinGEOM_RAID	opt_geom.h
124e81856c3SPawel Jakub DawidekGEOM_RAID3	opt_geom.h
125560cb857SPawel Jakub DawidekGEOM_SHSEC	opt_geom.h
1267dc92b13SPawel Jakub DawidekGEOM_STRIPE	opt_geom.h
1273bd65612SPoul-Henning KampGEOM_SUNLABEL	opt_geom.h
128ce96bb79SAleksandr RybalkoGEOM_UNCOMPRESS	opt_geom.h
12975261008SMax KhonGEOM_UZIP	opt_geom.h
13002e17f0bSMarius StroblGEOM_VINUM	opt_geom.h
131f854db0bSPawel Jakub DawidekGEOM_VIRSTOR	opt_geom.h
132cd53fddbSGordon TetlowGEOM_VOL	opt_geom.h
133869de957SPawel Jakub DawidekGEOM_ZERO	opt_geom.h
13454366c0bSAttilio RaoKDTRACE_HOOKS	opt_global.h
13530ff7b38SRui PauloKDTRACE_FRAME	opt_kdtrace.h
136faa9b054SAdrian ChaddKN_HASHSIZE	opt_kqueue.h
137316ec49aSScott LongKSTACK_MAX_PAGES
138d01cde04SBruce EvansKSTACK_PAGES
139*b7627840SKonstantin BelousovKSTACK_USAGE_PROF
1404bd49128SPeter WemmKTRACE
141363ba2bcSJohn BaldwinKTRACE_REQUEST_POOL	opt_ktrace.h
1426f2d8adbSBoris PopovLIBICONV
143bcf11e8dSRobert WatsonMAC		opt_global.h
144d971c22bSRobert WatsonMAC_BIBA	opt_dontuse.h
145d971c22bSRobert WatsonMAC_BSDEXTENDED	opt_dontuse.h
146d971c22bSRobert WatsonMAC_IFOFF	opt_dontuse.h
147d971c22bSRobert WatsonMAC_LOMAC	opt_dontuse.h
148d971c22bSRobert WatsonMAC_MLS		opt_dontuse.h
149d971c22bSRobert WatsonMAC_NONE	opt_dontuse.h
150d971c22bSRobert WatsonMAC_PARTITION	opt_dontuse.h
151d971c22bSRobert WatsonMAC_PORTACL	opt_dontuse.h
152d971c22bSRobert WatsonMAC_SEEOTHERUIDS	opt_dontuse.h
1530a05006dSRobert WatsonMAC_STATIC	opt_mac.h
154782f7255SRobert WatsonMAC_STUB	opt_dontuse.h
155d971c22bSRobert WatsonMAC_TEST	opt_dontuse.h
15671e4fff8SPoul-Henning KampMD_ROOT		opt_md.h
15722ff74b2SMarcel MoolenaarMD_ROOT_FSTYPE	opt_md.h
15871e4fff8SPoul-Henning KampMD_ROOT_SIZE	opt_md.h
1597f631a41SScott LongMFI_DEBUG	opt_mfi.h
160741367d5SDoug AmbriskoMFI_DECODE_LOG	opt_mfi.h
16100096801SJohn-Mark GurneyMPROF_BUFFERS	opt_mprof.h
16200096801SJohn-Mark GurneyMPROF_HASH_SIZE	opt_mprof.h
16383c41143SJohn BaldwinNEW_PCIB	opt_global.h
16402e4a320SJohn BaldwinNO_ADAPTIVE_MUTEXES	opt_adaptive_mutexes.h
165cd6e6e4eSJohn BaldwinNO_ADAPTIVE_RWLOCKS
1661ae1c2a3SAttilio RaoNO_ADAPTIVE_SX
1672a4eeaa4SIan LeporeNO_EVENTTIMERS		opt_timer.h
1682da4559fSWarner LoshNO_SYSCTL_DESCR	opt_global.h
1695bbb8060STor EggeNSWBUF_MIN	opt_swap.h
170f8bbd17fSKip MacyMBUF_PACKET_ZONE_DISABLE	opt_global.h
1715f07565bSJuli MallettPANIC_REBOOT_WAIT_TIME	opt_panic.h
172cea4d875SMarcel MoolenaarPPC_DEBUG	opt_ppc.h
173cea4d875SMarcel MoolenaarPPC_PROBE_CHIPSET	opt_ppc.h
174e0d781f3SEivind EklundPPS_SYNC	opt_ntp.h
1750c43612aSJohn BaldwinPREEMPTION	opt_sched.h
1763d20a1ffSBruce EvansQUOTA
177c3384118SJeff RobersonSCHED_4BSD	opt_sched.h
17875a66a92SJeff RobersonSCHED_STATS	opt_sched.h
179c3384118SJeff RobersonSCHED_ULE	opt_sched.h
180ef0ebfc3SJohn BaldwinSLEEPQUEUE_PROFILING
181f35f3346STakanori WatanabeSLHCI_DEBUG	opt_slhci.h
182cecc50bcSEivind EklundSPX_HACK
1833c90d1eaSRobert WatsonSTACK		opt_stack.h
184e9484e32SRuslan ErmilovSUIDDIR
1850b911335SJohn BaldwinMSGMNB		opt_sysvipc.h
1860b911335SJohn BaldwinMSGMNI		opt_sysvipc.h
1870b911335SJohn BaldwinMSGSEG		opt_sysvipc.h
1880b911335SJohn BaldwinMSGSSZ		opt_sysvipc.h
1890b911335SJohn BaldwinMSGTQL		opt_sysvipc.h
190ab063af9SPeter WemmSEMMNI		opt_sysvipc.h
191ab063af9SPeter WemmSEMMNS		opt_sysvipc.h
192ab063af9SPeter WemmSEMMNU		opt_sysvipc.h
193ab063af9SPeter WemmSEMMSL		opt_sysvipc.h
194ab063af9SPeter WemmSEMOPM		opt_sysvipc.h
195ab063af9SPeter WemmSEMUME		opt_sysvipc.h
1960b911335SJohn BaldwinSHMALL		opt_sysvipc.h
1970b911335SJohn BaldwinSHMMAX		opt_sysvipc.h
1980b911335SJohn BaldwinSHMMAXPGS	opt_sysvipc.h
1990b911335SJohn BaldwinSHMMIN		opt_sysvipc.h
2000b911335SJohn BaldwinSHMMNI		opt_sysvipc.h
2010b911335SJohn BaldwinSHMSEG		opt_sysvipc.h
2020b911335SJohn BaldwinSYSVMSG		opt_sysvipc.h
2030b911335SJohn BaldwinSYSVSEM		opt_sysvipc.h
2040b911335SJohn BaldwinSYSVSHM		opt_sysvipc.h
2054103b765SPoul-Henning KampSW_WATCHDOG	opt_watchdog.h
206ef0ebfc3SJohn BaldwinTURNSTILE_PROFILING
207c6111de5SDavide ItalianoUMTX_PROFILING
208dd85920aSJason EvansVFS_AIO
20926ab616fSBenno RiceVERBOSE_SYSINIT	opt_global.h
21097fef0a1SJohn BaldwinWLCACHE		opt_wavelan.h
21197fef0a1SJohn BaldwinWLDEBUG		opt_wavelan.h
212d03b4017SBruce Evans
2138a6472b7SPeter Dufault# POSIX kernel options
2140e263b06SDavid XuP1003_1B_MQUEUE			opt_posix.h
2153ffb9fadSAlfred PerlsteinP1003_1B_SEMAPHORES		opt_posix.h
216d01cde04SBruce Evans_KPOSIX_PRIORITY_SCHEDULING	opt_posix.h
217917e476dSPeter Dufault
218808129f0SPeter Wemm# Do we want the config file compiled into the kernel?
219808129f0SPeter WemmINCLUDE_CONFIG_FILE	opt_config.h
220808129f0SPeter Wemm
221d03b4017SBruce Evans# Options for static filesystems.  These should only be used at config
222d03b4017SBruce Evans# time, since the corresponding lkms cannot work if there are any static
223d03b4017SBruce Evans# dependencies.  Unusability is enforced by hiding the defines for the
224d03b4017SBruce Evans# options in a never-included header.
2253914ddf8SEdward Tomasz NapieralaAUTOFS		opt_dontuse.h
226bcf77694SPeter WemmCD9660		opt_dontuse.h
227f41991baSEivind EklundEXT2FS		opt_dontuse.h
22899d300a1SRuslan ErmilovFDESCFS		opt_dontuse.h
22916b1f68dSKonstantin BelousovFFS		opt_dontuse.h
2305fe58019SAttilio RaoFUSE		opt_dontuse.h
231f41991baSEivind EklundMSDOSFS		opt_dontuse.h
2327f725bcdSGrzegorz BernackiNANDFS		opt_dontuse.h
233d03b4017SBruce EvansNULLFS		opt_dontuse.h
234d03b4017SBruce EvansPROCFS		opt_dontuse.h
23536b2d3b7SDag-Erling SmørgravPSEUDOFS	opt_dontuse.h
236fe98fb32SJean-Sébastien PédronREISERFS	opt_dontuse.h
237237abf0cSDavide ItalianoSMBFS		opt_dontuse.h
238d1fa59e9SXin LITMPFS		opt_dontuse.h
239df263cbdSScott LongUDF		opt_dontuse.h
240d971c22bSRobert WatsonUNIONFS		opt_dontuse.h
24142713683SPeter WemmZFS		opt_dontuse.h
242d03b4017SBruce Evans
243bcc1205cSDag-Erling Smørgrav# Pseudofs debugging
244bcc1205cSDag-Erling SmørgravPSEUDOFS_TRACE	opt_pseudofs.h
245bcc1205cSDag-Erling Smørgrav
246a9148abdSDoug Rabson# In-kernel GSS-API
247a9148abdSDoug RabsonKGSSAPI		opt_kgssapi.h
248a9148abdSDoug RabsonKGSSAPI_DEBUG	opt_kgssapi.h
249a9148abdSDoug Rabson
250d971c22bSRobert Watson# These static filesystems have one slightly bogus static dependency in
2517b778b5eSEivind Eklund# sys/i386/i386/autoconf.c.  If any of these filesystems are
2527b778b5eSEivind Eklund# statically compiled into the kernel, code for mounting them as root
253bcf77694SPeter Wemm# filesystems will be enabled - but look below.
254eb25edbdSPeter WemmNFSCLIENT	opt_nfs.h
255eb25edbdSPeter WemmNFSSERVER	opt_nfs.h
2565a9714deSJoerg Wunsch
257bcbdacddSRick Macklem# Use these options to compile the experimental nfs client and/or
258bcbdacddSRick Macklem# server that supports NFSv4 into a kernel.
259bcbdacddSRick Macklem# NFSCL - client
260bcbdacddSRick Macklem# NFSD - server
261bcbdacddSRick MacklemNFSCL		opt_nfs.h
262bcbdacddSRick MacklemNFSD		opt_nfs.h
263bcbdacddSRick Macklem
264c4f02a89SMax Khon# filesystems and libiconv bridge
265c4f02a89SMax KhonCD9660_ICONV	opt_dontuse.h
266c4f02a89SMax KhonMSDOSFS_ICONV	opt_dontuse.h
267126f0dfaSScott LongUDF_ICONV	opt_dontuse.h
268c4f02a89SMax Khon
269b1897c19SJulian Elischer# If you are following the conditions in the copyright,
270b1897c19SJulian Elischer# you can enable soft-updates which will speed up a lot of thigs
271b1897c19SJulian Elischer# and make the system safer from crashes at the same time.
272b1897c19SJulian Elischer# otherwise a STUB module will be compiled in.
273b1897c19SJulian ElischerSOFTUPDATES	opt_ffs.h
274b1897c19SJulian Elischer
2755c65ae3aSWarner Losh# On small, embedded systems, it can be useful to turn off support for
2765c65ae3aSWarner Losh# snapshots.  It saves about 30-40k for a feature that would be lightly
2775c65ae3aSWarner Losh# used, if it is used at all.
2785c65ae3aSWarner LoshNO_FFS_SNAPSHOT	opt_ffs.h
2795c65ae3aSWarner Losh
280a70f2747SRobert Watson# Enabling this option turns on support for Access Control Lists in UFS,
281a70f2747SRobert Watson# which can be used to support high security configurations.  Depends on
282a70f2747SRobert Watson# UFS_EXTATTR.
283a70f2747SRobert WatsonUFS_ACL		opt_ufs.h
284a70f2747SRobert Watson
285516081f2SRobert Watson# Enabling this option turns on support for extended attributes in UFS-based
286516081f2SRobert Watson# filesystems, which can be used to support high security configurations
287a64ed089SRobert Watson# as well as new filesystem features.
288516081f2SRobert WatsonUFS_EXTATTR	opt_ufs.h
289516081f2SRobert WatsonUFS_EXTATTR_AUTOSTART	opt_ufs.h
290a64ed089SRobert Watson
2919b5ad47fSIan Dowse# Enable fast hash lookups for large directories on UFS-based filesystems.
2929b5ad47fSIan DowseUFS_DIRHASH	opt_ufs.h
2939b5ad47fSIan Dowse
294f348204cSPawel Jakub Dawidek# Enable gjournal-based UFS journal.
295f348204cSPawel Jakub DawidekUFS_GJOURNAL	opt_ufs.h
296f348204cSPawel Jakub Dawidek
297d971c22bSRobert Watson# The below sentence is not in English, and neither is this one.
298d971c22bSRobert Watson# We plan to remove the static dependences above, with a
2997b778b5eSEivind Eklund# <filesystem>_ROOT option to control if it usable as root.  This list
3007b778b5eSEivind Eklund# allows these options to be present in config files already (though
3017b778b5eSEivind Eklund# they won't make any difference yet).
302df394affSJohn-Mark GurneyNFS_ROOT	opt_nfsroot.h
3037b778b5eSEivind Eklund
304237abf0cSDavide Italiano# SMB/CIFS requester
305237abf0cSDavide ItalianoNETSMB		opt_netsmb.h
306237abf0cSDavide Italiano
307f74654deSPeter Wemm# Options used only in subr_param.c.
30834f3320eSKenjiro ChoHZ		opt_param.h
3095a00f364SDag-Erling SmørgravMAXFILES	opt_param.h
3103d20a1ffSBruce EvansNBUF		opt_param.h
311dd0b2081SDavid GreenmanNSFBUFS		opt_param.h
3122f9e4e80SMatthew DillonVM_BCACHE_SIZE_MAX	opt_param.h
3132f9e4e80SMatthew DillonVM_SWZONE_SIZE_MAX	opt_param.h
314f74654deSPeter WemmMAXUSERS
315cbc89bfbSPaul SaabDFLDSIZ		opt_param.h
316cbc89bfbSPaul SaabMAXDSIZ		opt_param.h
317cbc89bfbSPaul SaabMAXSSIZ		opt_param.h
31881fc841cSBruce Evans
31981fc841cSBruce Evans# Generic SCSI options.
320bf21c633SJustin T. GibbsCAM_MAX_HIGHPOWER	opt_cam.h
321bf21c633SJustin T. GibbsCAMDEBUG		opt_cam.h
322f0f25b9cSAlexander MotinCAM_DEBUG_COMPILE	opt_cam.h
323da56bbefSJustin T. GibbsCAM_DEBUG_DELAY		opt_cam.h
324bf21c633SJustin T. GibbsCAM_DEBUG_BUS		opt_cam.h
325bf21c633SJustin T. GibbsCAM_DEBUG_TARGET	opt_cam.h
326bf21c633SJustin T. GibbsCAM_DEBUG_LUN		opt_cam.h
327bf21c633SJustin T. GibbsCAM_DEBUG_FLAGS		opt_cam.h
3286b156f61SSean BrunoCAM_BOOT_DELAY		opt_cam.h
3293d20a1ffSBruce EvansSCSI_DELAY		opt_scsi.h
330bf21c633SJustin T. GibbsSCSI_NO_SENSE_STRINGS	opt_scsi.h
331bf21c633SJustin T. GibbsSCSI_NO_OP_STRINGS	opt_scsi.h
332bf21c633SJustin T. Gibbs
333e3a6d3a4SAlexander Motin# Options used only in cam/ata/ata_da.c
334e3a6d3a4SAlexander MotinADA_TEST_FAILURE	opt_ada.h
335d2ce15bdSMarius StroblATA_STATIC_ID		opt_ada.h
336e3a6d3a4SAlexander Motin
337bf21c633SJustin T. Gibbs# Options used only in cam/scsi/scsi_cd.c
338bf21c633SJustin T. GibbsCHANGER_MIN_BUSY_SECONDS	opt_cd.h
339bf21c633SJustin T. GibbsCHANGER_MAX_BUSY_SECONDS	opt_cd.h
34081fc841cSBruce Evans
3413ece1bd2SKenneth D. Merry# Options used only in cam/scsi/scsi_sa.c.
342b29f9e40SMatt JacobSA_IO_TIMEOUT		opt_sa.h
3439dfb4471SKenneth D. MerrySA_SPACE_TIMEOUT	opt_sa.h
3449dfb4471SKenneth D. MerrySA_REWIND_TIMEOUT	opt_sa.h
3459dfb4471SKenneth D. MerrySA_ERASE_TIMEOUT	opt_sa.h
346cb02c78aSMatt JacobSA_1FM_AT_EOD		opt_sa.h
347c30bc9dbSJoerg Wunsch
3483ece1bd2SKenneth D. Merry# Options used only in cam/scsi/scsi_pt.c
3493ece1bd2SKenneth D. MerrySCSI_PT_DEFAULT_TIMEOUT	opt_pt.h
3503ece1bd2SKenneth D. Merry
35152e48164SMatt Jacob# Options used only in cam/scsi/scsi_ses.c
35252e48164SMatt JacobSES_ENABLE_PASSTHROUGH	opt_ses.h
35352e48164SMatt Jacob
354410605d1SDavid E. O'Brien# Options used in dev/sym/ (Symbios SCSI driver).
355410605d1SDavid E. O'BrienSYM_SETUP_LP_PROBE_MAP	opt_sym.h	#-Low Priority Probe Map (bits)
356410605d1SDavid E. O'Brien					# Allows the ncr to take precedence
357410605d1SDavid E. O'Brien					# 1 (1<<0) -> 810a, 860
358410605d1SDavid E. O'Brien					# 2 (1<<1) -> 825a, 875, 885, 895
359410605d1SDavid E. O'Brien					# 4 (1<<2) -> 895a, 896, 1510d
360410605d1SDavid E. O'BrienSYM_SETUP_SCSI_DIFF	opt_sym.h	#-HVD support for 825a, 875, 885
361410605d1SDavid E. O'Brien					# disabled:0 (default), enabled:1
362410605d1SDavid E. O'BrienSYM_SETUP_PCI_PARITY	opt_sym.h	#-PCI parity checking
363410605d1SDavid E. O'Brien					# disabled:0, enabled:1 (default)
364410605d1SDavid E. O'BrienSYM_SETUP_MAX_LUN	opt_sym.h	#-Number of LUNs supported
365410605d1SDavid E. O'Brien					# default:8, range:[1..64]
366410605d1SDavid E. O'Brien
3673355bd61SRui Paulo# Options used only in dev/ncr/*
3683d20a1ffSBruce EvansSCSI_NCR_DEBUG		opt_ncr.h
369a5bef142SBruce EvansSCSI_NCR_MAX_SYNC	opt_ncr.h
370a5bef142SBruce EvansSCSI_NCR_MAX_WIDE	opt_ncr.h
3713d20a1ffSBruce EvansSCSI_NCR_MYADDR		opt_ncr.h
37221ffa5aeSStefan Eßer
373355904d5SMatt Jacob# Options used only in dev/isp/*
37473e1de92SMatt JacobISP_TARGET_MODE		opt_isp.h
375355904d5SMatt JacobISP_FW_CRASH_DUMP	opt_isp.h
376af606348SMatt JacobISP_DEFAULT_ROLES	opt_isp.h
37715f0f952SMatt JacobISP_INTERNAL_TARGET	opt_isp.h
3783fc2ba4dSMatt Jacob
379c5933b20SScott Long# Options used only in dev/iscsi
380c5933b20SScott LongISCSI_INITIATOR_DEBUG	opt_iscsi_initiator.h
381c5933b20SScott Long
38281fc841cSBruce Evans# Net stuff.
383a79b7128SAlfred PerlsteinACCEPT_FILTER_DATA
384744eaff7SDavid MaloneACCEPT_FILTER_DNS
385a79b7128SAlfred PerlsteinACCEPT_FILTER_HTTP
38602b199f1SMax LaierALTQ			opt_global.h
38702b199f1SMax LaierALTQ_CBQ		opt_altq.h
3882da4559fSWarner LoshALTQ_CDNR		opt_altq.h
3892da4559fSWarner LoshALTQ_DEBUG		opt_altq.h
3902da4559fSWarner LoshALTQ_HFSC		opt_altq.h
3912da4559fSWarner LoshALTQ_NOPCC		opt_altq.h
3922da4559fSWarner LoshALTQ_PRIQ		opt_altq.h
39302b199f1SMax LaierALTQ_RED		opt_altq.h
39402b199f1SMax LaierALTQ_RIO		opt_altq.h
3950ac40133SBrian SomersBOOTP			opt_bootp.h
396aea75fdeSBenno RiceBOOTP_BLOCKSIZE		opt_bootp.h
3970ac40133SBrian SomersBOOTP_COMPAT		opt_bootp.h
3980ac40133SBrian SomersBOOTP_NFSROOT		opt_bootp.h
3990ac40133SBrian SomersBOOTP_NFSV3		opt_bootp.h
4000ac40133SBrian SomersBOOTP_WIRED_TO		opt_bootp.h
401f0796cd2SGleb SmirnoffDEVICE_POLLING
402bdea400fSAndrew ThompsonDEV_ENC			opt_enc.h
403cc5934f5SMax LaierDEV_PF			opt_pf.h
404cc5934f5SMax LaierDEV_PFLOG		opt_pf.h
405cc5934f5SMax LaierDEV_PFSYNC		opt_pf.h
4062da4559fSWarner LoshDEV_VLAN		opt_vlan.h
4072da4559fSWarner LoshDUMMYNET		opt_ipdn.h
4081d5e9e22SEivind EklundINET			opt_inet.h
409cfa1ca9dSYoshinobu InoueINET6			opt_inet6.h
410fbd1372aSJoerg WunschIPDIVERT
4119cc86ee9SGuido van RooijIPFILTER		opt_ipfilter.h
4122da4559fSWarner LoshIPFILTER_DEFAULT_BLOCK	opt_ipfilter.h
4139cc86ee9SGuido van RooijIPFILTER_LOG		opt_ipfilter.h
4140c3757dfSDarren ReedIPFILTER_LOOKUP		opt_ipfilter.h
41574a9466cSGary PalmerIPFIREWALL		opt_ipfw.h
416ffdd472dSPeter WemmIPFIREWALL_DEFAULT_TO_ACCEPT	opt_ipfw.h
41761c0e134SPaolo PisatiIPFIREWALL_NAT		opt_ipfw.h
4182da4559fSWarner LoshIPFIREWALL_VERBOSE	opt_ipfw.h
4192da4559fSWarner LoshIPFIREWALL_VERBOSE_LIMIT	opt_ipfw.h
4202da4559fSWarner LoshIPSEC			opt_ipsec.h
4212da4559fSWarner LoshIPSEC_DEBUG		opt_ipsec.h
4222da4559fSWarner LoshIPSEC_FILTERTUNNEL	opt_ipsec.h
4237b495c44SVANHULLEBUS YvanIPSEC_NAT_T		opt_ipsec.h
4241b968362SDag-Erling SmørgravIPSTEALTH
4252da4559fSWarner LoshKRPC
4262da4559fSWarner LoshLIBALIAS
4277e9024cdSHartmut BrandtLIBMBPOOL
428d8589bd5SBoris PopovLIBMCHAIN
4296eeac1d9SJulian ElischerMBUF_PROFILING
4302da4559fSWarner LoshMBUF_STRESS_TEST
4312da4559fSWarner LoshMROUTING		opt_mrouting.h
4322da4559fSWarner LoshNFSLOCKD
43352cd27cbSRobert WatsonPCBGROUP		opt_pcbgroup.h
4347f7ef494SGleb SmirnoffPF_DEFAULT_TO_DROP	opt_pf.h
435e440aed9SQing LiRADIX_MPATH		opt_mpath.h
4362da4559fSWarner LoshROUTETABLES		opt_route.h
4377527624eSRobert WatsonRSS			opt_rss.h
438875f3161SDag-Erling SmørgravSLIP_IFF_OPTS		opt_slip.h
4390cc12cc5SJoerg WunschTCPDEBUG
44009fe6320SNavdeep ParharTCP_OFFLOAD		opt_inet.h # Enable code to dispatch TCP offloading
4411cfd4b53SBruce M SimpsonTCP_SIGNATURE		opt_inet.h
44275ee267cSGleb SmirnoffVLAN_ARRAY		opt_vlan.h
443914594eaSKris KennawayXBONEHACK
4443576e2f4SKip MacyFLOWTABLE		opt_route.h
4450ff96b4fSGleb SmirnoffFLOWTABLE_HASH_ALL	opt_route.h
4463458e54aSJulian Elischer
447f8829a4aSRandall Stewart#
448f8829a4aSRandall Stewart# SCTP
449f8829a4aSRandall Stewart#
450f8829a4aSRandall StewartSCTP			opt_sctp.h
45180fefe0aSRandall StewartSCTP_DEBUG		opt_sctp.h # Enable debug printfs
45280fefe0aSRandall StewartSCTP_WITH_NO_CSUM	opt_sctp.h # Use this at your peril
45380fefe0aSRandall StewartSCTP_LOCK_LOGGING	opt_sctp.h # Log to KTR lock activity
45480fefe0aSRandall StewartSCTP_MBUF_LOGGING	opt_sctp.h # Log to KTR general mbuf aloc/free
45580fefe0aSRandall StewartSCTP_MBCNT_LOGGING	opt_sctp.h # Log to KTR mbcnt activity
45680fefe0aSRandall StewartSCTP_PACKET_LOGGING	opt_sctp.h # Log to a packet buffer last N packets
45780fefe0aSRandall StewartSCTP_LTRACE_CHUNKS	opt_sctp.h # Log to KTR chunks processed
45880fefe0aSRandall StewartSCTP_LTRACE_ERRORS	opt_sctp.h # Log to KTR error returns.
459ff014514SRandall StewartSCTP_USE_PERCPU_STAT	opt_sctp.h # Use per cpu stats.
460bfc46083SRandall StewartSCTP_MCORE_INPUT	opt_sctp.h # Have multiple input threads for input mbufs
46100db3c63SMichael TuexenSCTP_LOCAL_TRACE_BUF	opt_sctp.h # Use tracebuffer exported via sysctl
462f0396ad1SMichael TuexenSCTP_DETAILED_STR_STATS	opt_sctp.h # Use per PR-SCTP policy stream stats
46380fefe0aSRandall Stewart#
46480fefe0aSRandall Stewart#
46580fefe0aSRandall Stewart#
466f8829a4aSRandall Stewart
4674cf49a43SJulian Elischer# Netgraph(4). Use option NETGRAPH to enable the base netgraph code.
4684cf49a43SJulian Elischer# Each netgraph node type can be either be compiled into the kernel
4694cf49a43SJulian Elischer# or loaded dynamically. To get the former, include the corresponding
470ed2dbd31SArchie Cobbs# option below. Each type has its own man page, e.g. ng_async(4).
4714cf49a43SJulian ElischerNETGRAPH
47273e87266SGleb SmirnoffNETGRAPH_DEBUG		opt_netgraph.h
4734cf49a43SJulian ElischerNETGRAPH_ASYNC		opt_netgraph.h
474bde778e9SBenno RiceNETGRAPH_ATMLLC		opt_netgraph.h
475b84b10f9SMaksim YevmenkinNETGRAPH_ATM_ATMPIF	opt_netgraph.h
476b84b10f9SMaksim YevmenkinNETGRAPH_BLUETOOTH	opt_netgraph.h
477b84b10f9SMaksim YevmenkinNETGRAPH_BLUETOOTH_BT3C	opt_netgraph.h
478b84b10f9SMaksim YevmenkinNETGRAPH_BLUETOOTH_H4	opt_netgraph.h
479b84b10f9SMaksim YevmenkinNETGRAPH_BLUETOOTH_HCI	opt_netgraph.h
480b84b10f9SMaksim YevmenkinNETGRAPH_BLUETOOTH_L2CAP	opt_netgraph.h
481b84b10f9SMaksim YevmenkinNETGRAPH_BLUETOOTH_SOCKET	opt_netgraph.h
482b84b10f9SMaksim YevmenkinNETGRAPH_BLUETOOTH_UBT	opt_netgraph.h
483b84b10f9SMaksim YevmenkinNETGRAPH_BLUETOOTH_UBTBCMFW	opt_netgraph.h
48492a3e552SArchie CobbsNETGRAPH_BPF		opt_netgraph.h
485ed2dbd31SArchie CobbsNETGRAPH_BRIDGE		opt_netgraph.h
4867d3b4a08SAlexander MotinNETGRAPH_CAR		opt_netgraph.h
4874cf49a43SJulian ElischerNETGRAPH_CISCO		opt_netgraph.h
4889e6f1d3bSGleb SmirnoffNETGRAPH_DEFLATE	opt_netgraph.h
48931578ac8SGleb SmirnoffNETGRAPH_DEVICE		opt_netgraph.h
4904cf49a43SJulian ElischerNETGRAPH_ECHO		opt_netgraph.h
4919d564133SRobert WatsonNETGRAPH_EIFACE		opt_netgraph.h
492e1e1452dSArchie CobbsNETGRAPH_ETHER		opt_netgraph.h
4931018c6cbSJulian ElischerNETGRAPH_ETHER_ECHO	opt_netgraph.h
494d07af9d9SRobert WatsonNETGRAPH_FEC		opt_netgraph.h
4954cf49a43SJulian ElischerNETGRAPH_FRAME_RELAY	opt_netgraph.h
49694408d94SBrooks DavisNETGRAPH_GIF		opt_netgraph.h
49794408d94SBrooks DavisNETGRAPH_GIF_DEMUX	opt_netgraph.h
4984cf49a43SJulian ElischerNETGRAPH_HOLE		opt_netgraph.h
4994cf49a43SJulian ElischerNETGRAPH_IFACE		opt_netgraph.h
500c2eed105SBrooks DavisNETGRAPH_IP_INPUT	opt_netgraph.h
501f2a7ef4eSGleb SmirnoffNETGRAPH_IPFW		opt_netgraph.h
5026e874711SArchie CobbsNETGRAPH_KSOCKET	opt_netgraph.h
503901fadf7SArchie CobbsNETGRAPH_L2TP		opt_netgraph.h
504d971c22bSRobert WatsonNETGRAPH_LMI		opt_netgraph.h
505a2b408adSArchie Cobbs# MPPC compression requires proprietary files (not included)
506a2b408adSArchie CobbsNETGRAPH_MPPC_COMPRESSION	opt_netgraph.h
507a2b408adSArchie CobbsNETGRAPH_MPPC_ENCRYPTION	opt_netgraph.h
508c4c9b52bSGleb SmirnoffNETGRAPH_NAT		opt_netgraph.h
509cec50deaSGleb SmirnoffNETGRAPH_NETFLOW	opt_netgraph.h
5107d7a5b89SArchie CobbsNETGRAPH_ONE2MANY	opt_netgraph.h
511d359a62dSAndrey V. ElsukovNETGRAPH_PATCH		opt_netgraph.h
512991633afSMarko ZecNETGRAPH_PIPE		opt_netgraph.h
5136827c8feSArchie CobbsNETGRAPH_PPP		opt_netgraph.h
5146827c8feSArchie CobbsNETGRAPH_PPPOE		opt_netgraph.h
515add85a1dSArchie CobbsNETGRAPH_PPTPGRE	opt_netgraph.h
5169e6f1d3bSGleb SmirnoffNETGRAPH_PRED1		opt_netgraph.h
5174cf49a43SJulian ElischerNETGRAPH_RFC1490	opt_netgraph.h
5184cf49a43SJulian ElischerNETGRAPH_SOCKET		opt_netgraph.h
5194d60fee2SBrooks DavisNETGRAPH_SPLIT		opt_netgraph.h
5200a6818e2SRoman KurakinNETGRAPH_SPPP		opt_netgraph.h
521d473c9d5SGleb SmirnoffNETGRAPH_TAG		opt_netgraph.h
522e9110049SGleb SmirnoffNETGRAPH_TCPMSS		opt_netgraph.h
5234cf49a43SJulian ElischerNETGRAPH_TEE		opt_netgraph.h
5244cf49a43SJulian ElischerNETGRAPH_TTY		opt_netgraph.h
5254cf49a43SJulian ElischerNETGRAPH_UI		opt_netgraph.h
52606e36c4dSJulian ElischerNETGRAPH_VJC		opt_netgraph.h
527b4263060SRuslan ErmilovNETGRAPH_VLAN		opt_netgraph.h
528666ea1b6SMaksim Yevmenkin
52902152e8fSHartmut Brandt# NgATM options
53002152e8fSHartmut BrandtNGATM_ATM		opt_netgraph.h
531027ebd2fSHartmut BrandtNGATM_ATMBASE		opt_netgraph.h
532027ebd2fSHartmut BrandtNGATM_SSCOP		opt_netgraph.h
533027ebd2fSHartmut BrandtNGATM_SSCFU		opt_netgraph.h
534ed91f9a5SHartmut BrandtNGATM_UNI		opt_netgraph.h
535a7e22394SHartmut BrandtNGATM_CCATM		opt_netgraph.h
53602152e8fSHartmut Brandt
53767a2a28fSEric Anholt# DRM options
53867a2a28fSEric AnholtDRM_DEBUG		opt_drm.h
53967a2a28fSEric Anholt
54010a4360cSPyun YongHyeonTI_SF_BUF_JUMBO		opt_ti.h
54198cb733cSKenneth D. MerryTI_JUMBO_HDRSPLIT	opt_ti.h
54298cb733cSKenneth D. Merry
543e0d781f3SEivind Eklund# XXX Conflict: # of devices vs network protocol (Native ATM).
544e0d781f3SEivind Eklund# This makes "atm.h" unusable.
545ed9adee7SDag-Erling SmørgravNATM
546e0d781f3SEivind Eklund
5473458e54aSJulian Elischer# DPT driver debug flags
5483458e54aSJulian ElischerDPT_MEASURE_PERFORMANCE	opt_dpt.h
549b755b885SEivind EklundDPT_RESET_HBA		opt_dpt.h
5503f2076daSEivind Eklund
5513f2076daSEivind Eklund# Misc debug flags.  Most of these should probably be replaced with
5523f2076daSEivind Eklund# 'DEBUG', and then let people recompile just the interesting modules
553fdf94d1aSNicolas Souchu# with 'make CC="cc -DDEBUG"'.
5543f2076daSEivind EklundCLUSTERDEBUG		opt_debug_cluster.h
555a6de7b79SNicolas SouchuDEBUG_1284		opt_ppb_1284.h
556a6de7b79SNicolas SouchuVP0_DEBUG		opt_vpo.h
557fdf94d1aSNicolas SouchuLPT_DEBUG		opt_lpt.h
5587b7bf77eSNicolas SouchuPLIP_DEBUG		opt_plip.h
5593f2076daSEivind EklundLOCKF_DEBUG		opt_debug_lockf.h
5603f2076daSEivind EklundSI_DEBUG		opt_debug_si.h
5613f2076daSEivind Eklund
562909232c4SEivind Eklund# Fb options
563909232c4SEivind EklundFB_DEBUG		opt_fb.h
564909232c4SEivind EklundFB_INSTALL_CDEV		opt_fb.h
565909232c4SEivind Eklund
56604fb1490SNicolas Souchu# ppbus related options
56704fb1490SNicolas SouchuPERIPH_1284		opt_ppb_1284.h
56804fb1490SNicolas SouchuDONTPROBE_1284		opt_ppb_1284.h
56904fb1490SNicolas Souchu
57004fb1490SNicolas Souchu# smbus related options
57104fb1490SNicolas SouchuENABLE_ALART		opt_intpm.h
5723f2076daSEivind Eklund
57314834de4SEivind Eklund# These cause changes all over the kernel
574909232c4SEivind EklundBLKDEV_IOSIZE		opt_global.h
57508ebe101SWarner LoshBURN_BRIDGES		opt_global.h
57614834de4SEivind EklundDEBUG			opt_global.h
57715a1057cSEivind EklundDEBUG_LOCKS		opt_global.h
5785526d2d9SEivind EklundDEBUG_VFS_LOCKS		opt_global.h
579e36dee2cSWarner LoshDFLTPHYS		opt_global.h
58014834de4SEivind EklundDIAGNOSTIC		opt_global.h
58134b15f2aSJohn BaldwinINVARIANT_SUPPORT	opt_global.h
5825526d2d9SEivind EklundINVARIANTS		opt_global.h
58368b739cdSAttilio RaoMAXCPU			opt_global.h
584941646f5SAttilio RaoMAXMEMDOM		opt_global.h
585e36dee2cSWarner LoshMAXPHYS			opt_global.h
5862c8f5a28SKenneth D. MerryMCLSHIFT		opt_global.h
587d01cde04SBruce EvansMUTEX_DEBUG		opt_global.h
588d01cde04SBruce EvansMUTEX_NOINLINE		opt_global.h
5897c0435b9SKip MacyLOCK_PROFILING		opt_global.h
590f183910bSKip MacyLOCK_PROFILING_FAST	opt_global.h
5912c8f5a28SKenneth D. MerryMSIZE			opt_global.h
5920b5438c6SRobert WatsonREGRESSION		opt_global.h
5933f08bd8bSJohn BaldwinRWLOCK_NOINLINE		opt_global.h
5944e7f640dSJohn BaldwinSX_NOINLINE		opt_global.h
5955526d2d9SEivind EklundVFS_BIO_DEBUG		opt_global.h
596d9bed5beSJohn Dyson
597d9bed5beSJohn Dyson# These are VM related options
598d9bed5beSJohn DysonVM_KMEM_SIZE		opt_vm.h
599d9bed5beSJohn DysonVM_KMEM_SIZE_SCALE	opt_vm.h
600d9bed5beSJohn DysonVM_KMEM_SIZE_MAX	opt_vm.h
601b8e7fc24SAlan CoxVM_NRESERVLEVEL		opt_vm.h
602b8e7fc24SAlan CoxVM_LEVEL_0_ORDER	opt_vm.h
603faa5f8d8SAndrzej BialeckiNO_SWAPPING		opt_vm.h
604eae870cdSRobert WatsonMALLOC_MAKE_FAILURES	opt_vm.h
605a59f8b9eSJeff RobersonMALLOC_PROFILE		opt_vm.h
606d7854da1SMatthew D FlemingMALLOC_DEBUG_MAXZONES	opt_vm.h
60720f71813SJohn-Mark Gurney
608e4eb384bSBosko Milekic# The MemGuard replacement allocator used for tamper-after-free detection
609e4eb384bSBosko MilekicDEBUG_MEMGUARD		opt_vm.h
610e4eb384bSBosko Milekic
611847a2a17SPawel Jakub Dawidek# The RedZone malloc(9) protection
612847a2a17SPawel Jakub DawidekDEBUG_REDZONE		opt_vm.h
613847a2a17SPawel Jakub Dawidek
614ecd19816SMike Smith# Standard SMP options
615ecd19816SMike SmithSMP			opt_global.h
616751bf650SJun-ichiro itojun Hagino
61758067a99SPoul-Henning Kamp# Size of the kernel message buffer
61858067a99SPoul-Henning KampMSGBUF_SIZE		opt_msgbuf.h
619ecbb00a2SDoug Rabson
620df394affSJohn-Mark Gurney# NFS options
621df394affSJohn-Mark GurneyNFS_MINATTRTIMO		opt_nfs.h
622df394affSJohn-Mark GurneyNFS_MAXATTRTIMO		opt_nfs.h
623df394affSJohn-Mark GurneyNFS_MINDIRATTRTIMO	opt_nfs.h
624df394affSJohn-Mark GurneyNFS_MAXDIRATTRTIMO	opt_nfs.h
625df394affSJohn-Mark GurneyNFS_GATHERDELAY		opt_nfs.h
626df394affSJohn-Mark GurneyNFS_WDELAYHASHSIZ	opt_nfs.h
627df394affSJohn-Mark GurneyNFS_DEBUG		opt_nfs.h
628df394affSJohn-Mark Gurney
62924e89aa8SRoger Hardiman# For the Bt848/Bt848A/Bt849/Bt878/Bt879 driver
6305cd2d295SRoger HardimanOVERRIDE_CARD			opt_bktr.h
6315cd2d295SRoger HardimanOVERRIDE_TUNER			opt_bktr.h
6325cd2d295SRoger HardimanOVERRIDE_DBX			opt_bktr.h
6335cd2d295SRoger HardimanOVERRIDE_MSP			opt_bktr.h
6345cd2d295SRoger HardimanBROOKTREE_SYSTEM_DEFAULT	opt_bktr.h
63563883894SRoger HardimanBROOKTREE_ALLOC_PAGES		opt_bktr.h
63663883894SRoger HardimanBKTR_OVERRIDE_CARD		opt_bktr.h
63763883894SRoger HardimanBKTR_OVERRIDE_TUNER		opt_bktr.h
63863883894SRoger HardimanBKTR_OVERRIDE_DBX		opt_bktr.h
63963883894SRoger HardimanBKTR_OVERRIDE_MSP		opt_bktr.h
64063883894SRoger HardimanBKTR_SYSTEM_DEFAULT		opt_bktr.h
64163883894SRoger HardimanBKTR_ALLOC_PAGES		opt_bktr.h
6425cd2d295SRoger HardimanBKTR_USE_PLL			opt_bktr.h
6435cd2d295SRoger HardimanBKTR_GPIO_ACCESS		opt_bktr.h
6445cd2d295SRoger HardimanBKTR_NO_MSP_RESET		opt_bktr.h
6455cd2d295SRoger HardimanBKTR_430_FX_MODE		opt_bktr.h
6465cd2d295SRoger HardimanBKTR_SIS_VIA_MODE		opt_bktr.h
647c17d4340SNicolas SouchuBKTR_USE_FREEBSD_SMBUS		opt_bktr.h
64830e27d96SAlexander LangerBKTR_NEW_MSP34XX_DRIVER		opt_bktr.h
64958dde31aSSøren Schmidt
6501662b008SIan Lepore# Options for uart(4)
6518194412bSMarcel MoolenaarUART_PPS_ON_CTS		opt_uart.h
6521662b008SIan LeporeUART_POLL_FREQ		opt_uart.h
6538194412bSMarcel Moolenaar
654709f2df6SDoug Rabson# options for bus/device framework
655709f2df6SDoug RabsonBUS_DEBUG		opt_bus.h
6560cec007cSNick Hibma
6570cec007cSNick Hibma# options for USB support
6580cec007cSNick HibmaUSB_DEBUG		opt_usb.h
659773dfc25SHans Petter SelaskyUSB_HOST_ALIGN		opt_usb.h
6603da99f72SAndrew ThompsonUSB_REQ_DEBUG		opt_usb.h
661fa49bce5SHans Petter SelaskyUSB_TEMPLATE		opt_usb.h
66231d22003SMarcel MoolenaarUSB_VERBOSE		opt_usb.h
663bfa98d2bSSam LefflerUSB_EHCI_BIG_ENDIAN_DESC	opt_usb.h
664fe75118bSNick HibmaU3G_DEBUG		opt_u3g.h
665f548daf0SJohn BaldwinUKBD_DFLT_KEYMAP	opt_ukbd.h
666565f53bbSShunsuke AkiyamaUPLCOM_INTR_INTERVAL	opt_uplcom.h
66720280807SShunsuke AkiyamaUVSCOM_DEFAULT_OPKTSIZE	opt_uvscom.h
668565f53bbSShunsuke AkiyamaUVSCOM_INTR_INTERVAL	opt_uvscom.h
669a9d45962SPeter Wemm
6709775e378SJohn Birrell# Embedded system options
671e9484e32SRuslan ErmilovINIT_PATH
672b307e58fSPoul-Henning Kamp
673e9484e32SRuslan ErmilovROOTDEVNAME
674814ce988SDoug Rabson
675814ce988SDoug RabsonFDC_DEBUG		opt_fdc.h
6763b2d592cSJordan K. HubbardPCFCLOCK_VERBOSE	opt_pcfclock.h
6773b2d592cSJordan K. HubbardPCFCLOCK_MAX_RETRIES	opt_pcfclock.h
678f9d186edSScott Long
6790384fff8SJason EvansKTR			opt_global.h
6804b124a4bSJeff RobersonKTR_ALQ			opt_ktr.h
681d8f03321SJohn BaldwinKTR_MASK		opt_ktr.h
682d8f03321SJohn BaldwinKTR_CPUMASK		opt_ktr.h
6830384fff8SJason EvansKTR_COMPILE		opt_global.h
68436b7dde4SAndriy GaponKTR_BOOT_ENTRIES	opt_global.h
6850384fff8SJason EvansKTR_ENTRIES		opt_global.h
686d8f03321SJohn BaldwinKTR_VERBOSE		opt_ktr.h
6870384fff8SJason EvansWITNESS			opt_global.h
688e2ee2173SMarcel MoolenaarWITNESS_KDB		opt_witness.h
689e63091eaSMarcel MoolenaarWITNESS_NO_VNODE	opt_witness.h
690660d1e3aSJohn BaldwinWITNESS_SKIPSPIN	opt_witness.h
691146cbf6fSWarner LoshWITNESS_COUNT		opt_witness.h
692c319ea15SAndriy GaponOPENSOLARIS_WITNESS	opt_global.h
6930384fff8SJason Evans
694b1f12b61STakanori Watanabe# options for ACPI support
695b1f12b61STakanori WatanabeACPI_DEBUG		opt_acpi.h
6963ff9febdSJung-uk KimACPI_MAX_TASKS		opt_acpi.h
697c573e654SMitsuru IWASAKIACPI_MAX_THREADS	opt_acpi.h
69886be9f0dSKonstantin BelousovACPI_DMAR		opt_acpi.h
69993bcdfe2SPoul-Henning Kamp
700acb8c149SMarius Strobl# ISA support
701acb8c149SMarius StroblDEV_ISA			opt_isa.h
702acb8c149SMarius StroblISAPNP			opt_isa.h
703acb8c149SMarius Strobl
704810d0bd1SPeter Wemm# various 'device presence' options.
705d01cde04SBruce EvansDEV_BPF			opt_bpf.h
706e4b68814SLuigi RizzoDEV_NETMAP		opt_global.h
707f444a0efSPeter WemmDEV_MCA			opt_mca.h
708a9771948SGleb SmirnoffDEV_CARP		opt_carp.h
70928ab032eSJake BurkholderDEV_SPLASH		opt_splash.h
7109b04180cSIan Dowse
711420a38ddSMarius Strobl# EISA support
712420a38ddSMarius StroblDEV_EISA		opt_eisa.h
71377bf7b3bSBernd WalterEISA_SLOTS		opt_eisa.h
71477bf7b3bSBernd Walter
7159b04180cSIan Dowse# ed driver
716969eaf21SWarner LoshED_HPP			opt_ed.h
717969eaf21SWarner LoshED_3C503		opt_ed.h
718969eaf21SWarner LoshED_SIC			opt_ed.h
7190483b1a8SAndrew Gallatin
720d8636a9aSPaul Saab# bce driver
721d8636a9aSPaul SaabBCE_DEBUG		opt_bce.h
722584d21f6SDoug AmbriskoBCE_NVRAM_WRITE_SUPPORT	opt_bce.h
723d8636a9aSPaul Saab
724395bb186SSam LefflerSOCKBUF_DEBUG		opt_global.h
725395bb186SSam Leffler
726dd46ab31SDavid Christensen
727b7c4858fSSam Leffler# options for ubsec driver
728b7c4858fSSam LefflerUBSEC_DEBUG		opt_ubsec.h
729b7c4858fSSam LefflerUBSEC_RNDTEST		opt_ubsec.h
730a826874fSSam LefflerUBSEC_NO_RNG		opt_ubsec.h
731b7c4858fSSam Leffler
732b7c4858fSSam Leffler# options for hifn driver
733b7c4858fSSam LefflerHIFN_DEBUG		opt_hifn.h
734b7c4858fSSam LefflerHIFN_RNDTEST		opt_hifn.h
73528ab032eSJake Burkholder
736fc66b6e9SSam Leffler# options for safenet driver
737fc66b6e9SSam LefflerSAFE_DEBUG		opt_safe.h
738fc66b6e9SSam LefflerSAFE_NO_RNG		opt_safe.h
739fc66b6e9SSam LefflerSAFE_RNDTEST		opt_safe.h
740fc66b6e9SSam Leffler
74127cf7d04SAleksandr Rybalko# syscons/vt options
74228ab032eSJake BurkholderMAXCONS			opt_syscons.h
74328ab032eSJake BurkholderSC_ALT_MOUSE_IMAGE	opt_syscons.h
74428ab032eSJake BurkholderSC_CUT_SPACES2TABS	opt_syscons.h
74528ab032eSJake BurkholderSC_CUT_SEPCHARS		opt_syscons.h
74628ab032eSJake BurkholderSC_DEBUG_LEVEL		opt_syscons.h
74728ab032eSJake BurkholderSC_DFLT_FONT		opt_syscons.h
748e2ee2173SMarcel MoolenaarSC_DISABLE_KDBKEY	opt_syscons.h
74928ab032eSJake BurkholderSC_DISABLE_REBOOT	opt_syscons.h
75028ab032eSJake BurkholderSC_HISTORY_SIZE		opt_syscons.h
75128ab032eSJake BurkholderSC_KERNEL_CONS_ATTR	opt_syscons.h
75228ab032eSJake BurkholderSC_KERNEL_CONS_REV_ATTR	opt_syscons.h
75328ab032eSJake BurkholderSC_MOUSE_CHAR		opt_syscons.h
75428ab032eSJake BurkholderSC_NO_CUTPASTE		opt_syscons.h
75528ab032eSJake BurkholderSC_NO_FONT_LOADING	opt_syscons.h
75628ab032eSJake BurkholderSC_NO_HISTORY		opt_syscons.h
7576e62b069SMarius StroblSC_NO_MODE_CHANGE	opt_syscons.h
758d01cde04SBruce EvansSC_NO_SUSPEND_VTYSWITCH	opt_syscons.h
75928ab032eSJake BurkholderSC_NO_SYSMOUSE		opt_syscons.h
76028ab032eSJake BurkholderSC_NORM_ATTR		opt_syscons.h
76128ab032eSJake BurkholderSC_NORM_REV_ATTR	opt_syscons.h
76228ab032eSJake BurkholderSC_PIXEL_MODE		opt_syscons.h
76328ab032eSJake BurkholderSC_RENDER_DEBUG		opt_syscons.h
76428ab032eSJake BurkholderSC_TWOBUTTON_MOUSE	opt_syscons.h
765775ed1ceSEd MasteVT_ALT_TO_ESC_HACK	opt_syscons.h
766775ed1ceSEd MasteVT_FB_DEFAULT_WIDTH	opt_syscons.h
767775ed1ceSEd MasteVT_FB_DEFAULT_HEIGHT	opt_syscons.h
768775ed1ceSEd MasteVT_MAXWINDOWS		opt_syscons.h
769775ed1ceSEd MasteVT_TWOBUTTON_MOUSE	opt_syscons.h
77000f4f023SAleksandr RybalkoDEV_SC			opt_syscons.h
77100f4f023SAleksandr RybalkoDEV_VT			opt_syscons.h
77200f4f023SAleksandr Rybalko
77383409a55SEd Schouten# teken terminal emulator options
774e42fc368SEd SchoutenTEKEN_CONS25		opt_teken.h
77583409a55SEd SchoutenTEKEN_UTF8		opt_teken.h
7767344ee18SMarius StroblTERMINAL_KERN_ATTR	opt_teken.h
7777344ee18SMarius StroblTERMINAL_NORM_ATTR	opt_teken.h
77883409a55SEd Schouten
779e0b65125SJohn Birrell# options for printf
780e0b65125SJohn BirrellPRINTF_BUFR_SIZE	opt_printf.h
781e0b65125SJohn Birrell
78228ab032eSJake Burkholder# kbd options
78328ab032eSJake BurkholderKBD_DISABLE_KEYMAP_LOAD	opt_kbd.h
78428ab032eSJake BurkholderKBD_INSTALL_CDEV	opt_kbd.h
78528ab032eSJake BurkholderKBD_MAXRETRY		opt_kbd.h
78628ab032eSJake BurkholderKBD_MAXWAIT		opt_kbd.h
78728ab032eSJake BurkholderKBD_RESETDELAY		opt_kbd.h
78828ab032eSJake BurkholderKBDIO_DEBUG		opt_kbd.h
789167f409fSSam Leffler
790a585a9a1SSam Leffler# options for the Atheros driver
791a585a9a1SSam LefflerATH_DEBUG		opt_ath.h
792a585a9a1SSam LefflerATH_TXBUF		opt_ath.h
793a585a9a1SSam LefflerATH_RXBUF		opt_ath.h
794a585a9a1SSam LefflerATH_DIAGAPI		opt_ath.h
795a585a9a1SSam LefflerATH_TX99_DIAG		opt_ath.h
79610dc8de4SAdrian ChaddATH_ENABLE_11N		opt_ath.h
79710dc8de4SAdrian ChaddATH_ENABLE_DFS		opt_ath.h
79879f57b35SAdrian ChaddATH_EEPROM_FIRMWARE	opt_ath.h
799e1b5ab97SAdrian ChaddATH_ENABLE_RADIOTAP_VENDOR_EXT	opt_ath.h
800425dd534SAdrian ChaddATH_DEBUG_ALQ		opt_ath.h
801425dd534SAdrian ChaddATH_KTR_INTR_DEBUG	opt_ath.h
802a585a9a1SSam Leffler
80333644623SSam Leffler# options for the Atheros hal
80433644623SSam LefflerAH_SUPPORT_AR5416	opt_ah.h
80574f355f0SAdrian Chadd# XXX For now, this breaks non-AR9130 chipsets, so only use it
80674f355f0SAdrian Chadd# XXX when actually targetting AR9130.
807f8813c75SJohn BaldwinAH_SUPPORT_AR9130	opt_ah.h
80833644623SSam Leffler
8098805f765SAdrian Chadd# This is required for AR933x SoC support
8108805f765SAdrian ChaddAH_SUPPORT_AR9330	opt_ah.h
8118805f765SAdrian ChaddAH_SUPPORT_AR9340	opt_ah.h
8128805f765SAdrian Chadd
81333644623SSam LefflerAH_DEBUG		opt_ah.h
81433644623SSam LefflerAH_ASSERT		opt_ah.h
81533644623SSam LefflerAH_DEBUG_ALQ		opt_ah.h
81633644623SSam LefflerAH_REGOPS_FUNC		opt_ah.h
81733644623SSam LefflerAH_WRITE_REGDOMAIN	opt_ah.h
81833644623SSam LefflerAH_DEBUG_COUNTRY	opt_ah.h
81933644623SSam LefflerAH_WRITE_EEPROM		opt_ah.h
82033644623SSam LefflerAH_PRIVATE_DIAG		opt_ah.h
82133644623SSam LefflerAH_NEED_DESC_SWAP	opt_ah.h
82233644623SSam LefflerAH_USE_INIPDGAIN	opt_ah.h
82359efa8b5SSam LefflerAH_MAXCHAN		opt_ah.h
824bc391cb2SWarner LoshAH_RXCFG_SDMAMW_4BYTES	opt_ah.h
825425dd534SAdrian ChaddAH_INTERRUPT_DEBUGGING	opt_ah.h
826b569f9f5SAdrian Chadd# AR5416 and later interrupt mitigation
82774f355f0SAdrian Chadd# XXX do not use this for AR9130
828b569f9f5SAdrian ChaddAH_AR5416_INTERRUPT_MITIGATION	opt_ah.h
829b569f9f5SAdrian Chadd
83012e36acbSWarner Losh# options for the Broadcom BCM43xx driver (bwi)
83112e36acbSWarner LoshBWI_DEBUG		opt_bwi.h
83212e36acbSWarner LoshBWI_DEBUG_VERBOSE	opt_bwi.h
83312e36acbSWarner Losh
834b032f27cSSam Leffler# options for the Marvell 8335 wireless driver
835b032f27cSSam LefflerMALO_DEBUG		opt_malo.h
836b032f27cSSam LefflerMALO_TXBUF		opt_malo.h
837b032f27cSSam LefflerMALO_RXBUF		opt_malo.h
838b032f27cSSam Leffler
839cf4c5a53SSam Leffler# options for the Marvell wireless driver
840cf4c5a53SSam LefflerMWL_DEBUG		opt_mwl.h
841cf4c5a53SSam LefflerMWL_TXBUF		opt_mwl.h
842cf4c5a53SSam LefflerMWL_RXBUF		opt_mwl.h
843cf4c5a53SSam LefflerMWL_DIAGAPI		opt_mwl.h
844cf4c5a53SSam LefflerMWL_AGGR_SIZE		opt_mwl.h
845cf4c5a53SSam LefflerMWL_TX_NODROP		opt_mwl.h
846cf4c5a53SSam Leffler
847c49debb6SAdrian Chadd# Options for the Intel 802.11n wireless driver
848c49debb6SAdrian ChaddIWN_DEBUG		opt_iwn.h
849c49debb6SAdrian Chadd
850869093b1SHidetoshi Shimokawa# dcons options
851869093b1SHidetoshi ShimokawaDCONS_BUF_SIZE		opt_dcons.h
852869093b1SHidetoshi ShimokawaDCONS_POLL_HZ		opt_dcons.h
853869093b1SHidetoshi ShimokawaDCONS_FORCE_CONSOLE	opt_dcons.h
854869093b1SHidetoshi ShimokawaDCONS_FORCE_GDB		opt_dcons.h
855f37a929cSPeter Wemm
856ebccf1e3SJoseph Koshy# HWPMC options
8574da0d332SPeter WemmHWPMC_HOOKS
8581b930fb7SOleksandr TymoshenkoHWPMC_MIPS_BACKTRACE 	opt_hwpmc_hooks.h
859e1fd210eSCraig Rodrigues
8608dfbd03dSWarner Losh# XBOX options for FreeBSD/i386, but some files are MI
8618dfbd03dSWarner LoshXBOX			opt_xbox.h
8628dfbd03dSWarner Losh
863566bd156SPaolo Pisati# Interrupt filtering
8648aa9e82eSJohn BaldwinINTR_FILTER
86526a4d66fSKip Macy
866b032f27cSSam Leffler# 802.11 support layer
867b032f27cSSam LefflerIEEE80211_DEBUG		opt_wlan.h
868b032f27cSSam LefflerIEEE80211_DEBUG_REFCNT	opt_wlan.h
869b032f27cSSam LefflerIEEE80211_AMPDU_AGE	opt_wlan.h
87059aa14a9SRui PauloIEEE80211_SUPPORT_MESH	opt_wlan.h
871616190d0SSam LefflerIEEE80211_SUPPORT_SUPERG	opt_wlan.h
87210ad9a77SSam LefflerIEEE80211_SUPPORT_TDMA	opt_wlan.h
873f4e2f6c9SAdrian ChaddIEEE80211_ALQ		opt_wlan.h
87462f8a13aSAdrian ChaddIEEE80211_DFS_DEBUG	opt_wlan.h
87510ad9a77SSam Leffler
87610ad9a77SSam Leffler# 802.11 TDMA support
87710ad9a77SSam LefflerTDMA_SLOTLEN_DEFAULT	opt_tdma.h
87810ad9a77SSam LefflerTDMA_SLOTCNT_DEFAULT	opt_tdma.h
87910ad9a77SSam LefflerTDMA_BINTVAL_DEFAULT	opt_tdma.h
88010ad9a77SSam LefflerTDMA_TXRATE_11B_DEFAULT	opt_tdma.h
88110ad9a77SSam LefflerTDMA_TXRATE_11G_DEFAULT	opt_tdma.h
88210ad9a77SSam LefflerTDMA_TXRATE_11A_DEFAULT	opt_tdma.h
8839e0ebab5SSam LefflerTDMA_TXRATE_TURBO_DEFAULT	opt_tdma.h
8849e0ebab5SSam LefflerTDMA_TXRATE_HALF_DEFAULT	opt_tdma.h
8859e0ebab5SSam LefflerTDMA_TXRATE_QUARTER_DEFAULT	opt_tdma.h
8869e0ebab5SSam LefflerTDMA_TXRATE_11NA_DEFAULT	opt_tdma.h
8879e0ebab5SSam LefflerTDMA_TXRATE_11NG_DEFAULT	opt_tdma.h
888b032f27cSSam Leffler
88967addcdeSMarko Zec# Network stack virtualization options
890457af166SJulian ElischerVIMAGE			opt_global.h
89167addcdeSMarko ZecVNET_DEBUG		opt_global.h
89263425a7fSSam Leffler
89363425a7fSSam Leffler# Common Flash Interface (CFI) options
89463425a7fSSam LefflerCFI_SUPPORT_STRATAFLASH	opt_cfi.h
89563425a7fSSam LefflerCFI_ARMEDANDDANGEROUS	opt_cfi.h
89690da2b28SAriff Abdullah
89790da2b28SAriff Abdullah# Sound options
89890da2b28SAriff AbdullahSND_DEBUG		opt_snd.h
89990da2b28SAriff AbdullahSND_DIAGNOSTIC		opt_snd.h
90090da2b28SAriff AbdullahSND_FEEDER_MULTIFORMAT	opt_snd.h
90190da2b28SAriff AbdullahSND_FEEDER_FULL_MULTIFORMAT	opt_snd.h
90290da2b28SAriff AbdullahSND_FEEDER_RATE_HP	opt_snd.h
90390da2b28SAriff AbdullahSND_PCM_64		opt_snd.h
90490da2b28SAriff AbdullahSND_OLDSTEREO		opt_snd.h
905efba048eSXin LI
906205d67b0SXin LIX86BIOS
90777e46080SRafal Jaworowski
90877e46080SRafal Jaworowski# Flattened device tree options
90977e46080SRafal JaworowskiFDT		opt_platform.h
91077e46080SRafal JaworowskiFDT_DTB_STATIC	opt_platform.h
911e4cd31ddSJeff Roberson
912e4cd31ddSJeff Roberson# OFED Infiniband stack
913e4cd31ddSJeff RobersonOFED		opt_ofed.h
914e4cd31ddSJeff RobersonOFED_DEBUG_INIT	opt_ofed.h
915e4cd31ddSJeff RobersonSDP		opt_ofed.h
916e4cd31ddSJeff RobersonSDP_DEBUG	opt_ofed.h
917eacace93SXin LIIPOIB		opt_ofed.h
918e4cd31ddSJeff RobersonIPOIB_DEBUG	opt_ofed.h
919e4cd31ddSJeff RobersonIPOIB_CM	opt_ofed.h
920c720b9bdSAdrian Chadd
921097055e2SEdward Tomasz Napierala# Resource Accounting
922097055e2SEdward Tomasz NapieralaRACCT		opt_global.h
923097055e2SEdward Tomasz Napierala
924ec125fbbSEdward Tomasz Napierala# Resource Limits
925ec125fbbSEdward Tomasz NapieralaRCTL		opt_global.h
926db3fcaf9SDag-Erling Smørgrav
927db3fcaf9SDag-Erling Smørgrav# Random number generator(s)
928997b0a64SDag-Erling SmørgravRANDOM_YARROW	opt_random.h
929997b0a64SDag-Erling SmørgravRANDOM_FORTUNA	opt_random.h
930db3fcaf9SDag-Erling SmørgravRANDOM_DEBUG	opt_random.h
931997b0a64SDag-Erling SmørgravRANDOM_RWFILE	opt_random.h
932