xref: /freebsd/sys/conf/options (revision 5f07565bcb5145794a2e1b653bf011c61e575d2d)
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
194718c85aSDima Dorfman# "opt_<option-name-in-lower-case>.h" if it affect 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
33acf1b64cSJustin T. Gibbs# Adaptec Array Controller driver options
34acf1b64cSJustin T. GibbsAAC_DEBUG		opt_aac.h	# Debugging levels:
35acf1b64cSJustin T. Gibbs					# 0 - quiet, only emit warnings
36acf1b64cSJustin T. Gibbs					# 1 - noisy, emit major function
37acf1b64cSJustin T. Gibbs					#     points and things done
38acf1b64cSJustin T. Gibbs					# 2 - extremely noisy, emit trace
39acf1b64cSJustin T. Gibbs					#     items in loops, etc.
40acf1b64cSJustin T. Gibbs
41bf21c633SJustin T. Gibbs# Adaptec aic7xxx SCSI controller options
42bf21c633SJustin T. GibbsAHC_ALLOW_MEMIO		opt_aic7xxx.h	# Allow PCI devices to use memory
43528784edSJustin T. Gibbs					# mapped I/O
44bf21c633SJustin T. Gibbs
45bf21c633SJustin T. GibbsAHC_TMODE_ENABLE	opt_aic7xxx.h	# Bitmap of units to enable
46bf21c633SJustin T. Gibbs					# targetmode operations.
47bf21c633SJustin T. Gibbs
4826b40483SJustin T. GibbsAHC_DUMP_EEPROM		opt_aic7xxx.h	# Dump the contents of our
4926b40483SJustin T. Gibbs					# configuration prom.
5026b40483SJustin T. Gibbs
514e7bbbf9SJustin T. GibbsAHC_DEBUG		opt_aic7xxx.h	# Compile in Aic7xxx Debugging code.
524e7bbbf9SJustin T. Gibbs
534e7bbbf9SJustin T. GibbsAHC_DEBUG_OPTS		opt_aic7xxx.h	# Aic7xxx driver debugging options.
544e7bbbf9SJustin T. Gibbs					# See sys/dev/aic7xxx/aic7xxx.h
554e7bbbf9SJustin T. Gibbs
564e7bbbf9SJustin T. GibbsAHC_REG_PRETTY_PRINT    opt_aic7xxx.h	# Print register bitfields in debug
574e7bbbf9SJustin T. Gibbs					# output.  Adds ~128k to driver.
58a08d5a42SJustin T. Gibbs
59cdd49e97SJustin T. Gibbs# Adaptec aic79xx SCSI controller options
604e7bbbf9SJustin T. GibbsAHD_DEBUG		opt_aic79xx.h	# Compile in Aic79xx Debugging code.
61cdd49e97SJustin T. Gibbs
62cdd49e97SJustin T. GibbsAHD_DEBUG_OPTS		opt_aic79xx.h	# Aic79xx driver debugging options.
634e7bbbf9SJustin T. Gibbs					# See sys/dev/aic7xxx/aic79xx.h
644e7bbbf9SJustin T. Gibbs
654e7bbbf9SJustin T. GibbsAHD_TMODE_ENABLE	opt_aic79xx.h	# Bitmap of units to enable
664e7bbbf9SJustin T. Gibbs					# targetmode operations.
674e7bbbf9SJustin T. Gibbs
684e7bbbf9SJustin T. GibbsAHD_REG_PRETTY_PRINT	opt_aic79xx.h	# Print register bitfields in debug
694e7bbbf9SJustin T. Gibbs					# output.  Adds ~215k to driver.
70cdd49e97SJustin T. Gibbs
71528784edSJustin T. GibbsADW_ALLOW_MEMIO		opt_adw.h	# Allow PCI devices to use memory
72528784edSJustin T. Gibbs					# mapped I/O
73528784edSJustin T. Gibbs
743d20a1ffSBruce Evans# Miscellaneous options.
754b124a4bSJeff RobersonALQ		opt_alq.h
762498cf8cSJohn BaldwinADAPTIVE_MUTEXES
77f71bb3a1SEivind EklundCOMPAT_43	opt_compat.h
78074453c2SAlfred PerlsteinCOMPAT_FREEBSD4	opt_compat.h
79f71bb3a1SEivind EklundCOMPAT_SUNOS	opt_compat.h
8023eeeff7SPeter WemmNO_COMPAT_FREEBSD4	opt_compat.h
81c866ec47SPoul-Henning KampCOMPILING_LINT	opt_global.h
82b8cf6ea7SBruce EvansCY_PCI_FASTINTR
83d8dbc77cSNick HibmaCONSPEED	opt_comconsole.h
840e41ee30SGarrett WollmanDDB
857085e708SBruce EvansDDB_NOKLDSYM	opt_ddb.h
860be15decSJohn BaldwinDDB_TRACE
870be15decSJohn BaldwinDDB_UNATTENDED
88562d05dfSPaul TrainaGDB_REMOTE_CHAT	opt_ddb.h
89d8dbc77cSNick HibmaGDBSPEED	opt_ddb.h
903bd65612SPoul-Henning KampNO_GEOM		opt_geom.h
913bd65612SPoul-Henning KampGEOM_AES	opt_geom.h
9219b5c7bcSPoul-Henning KampGEOM_BDE	opt_geom.h
933bd65612SPoul-Henning KampGEOM_BSD	opt_geom.h
943bd65612SPoul-Henning KampGEOM_GPT	opt_geom.h
953bd65612SPoul-Henning KampGEOM_MBR	opt_geom.h
963bd65612SPoul-Henning KampGEOM_PC98	opt_geom.h
973bd65612SPoul-Henning KampGEOM_SUNLABEL	opt_geom.h
98d94f38acSEivind EklundHW_WDOG
99e94ecf73SPeter WemmKSTACK_PAGES
100316ec49aSScott LongKSTACK_MAX_PAGES
1014bd49128SPeter WemmKTRACE
102363ba2bcSJohn BaldwinKTRACE_REQUEST_POOL	opt_ktrace.h
1036f2d8adbSBoris PopovLIBICONV
10471e4fff8SPoul-Henning KampMD_ROOT		opt_md.h
10571e4fff8SPoul-Henning KampMD_ROOT_SIZE	opt_md.h
1067f01180eSJohn BaldwinNDGBPORTS	opt_dgb.h
107404b3dcfSJohn BaldwinNODEVFS		opt_devfs.h
108c2906d55SPoul-Henning KampNTIMECOUNTER	opt_ntp.h
109f71bb3a1SEivind EklundNSWAPDEV	opt_swap.h
1105f07565bSJuli MallettPANIC_REBOOT_WAIT_TIME	opt_panic.h
111e0d781f3SEivind EklundPPS_SYNC	opt_ntp.h
11247a3594eSJohn BaldwinPUC_FASTINTR	opt_puc.h
1133d20a1ffSBruce EvansQUOTA
1145f07565bSJuli MallettSHOW_BUSYBUFS
115cecc50bcSEivind EklundSPX_HACK
116f71bb3a1SEivind EklundSUIDDIR		opt_suiddir.h
1170b911335SJohn BaldwinMSGMNB		opt_sysvipc.h
1180b911335SJohn BaldwinMSGMNI		opt_sysvipc.h
1190b911335SJohn BaldwinMSGSEG		opt_sysvipc.h
1200b911335SJohn BaldwinMSGSSZ		opt_sysvipc.h
1210b911335SJohn BaldwinMSGTQL		opt_sysvipc.h
122ab063af9SPeter WemmSEMMAP		opt_sysvipc.h
123ab063af9SPeter WemmSEMMNI		opt_sysvipc.h
124ab063af9SPeter WemmSEMMNS		opt_sysvipc.h
125ab063af9SPeter WemmSEMMNU		opt_sysvipc.h
126ab063af9SPeter WemmSEMMSL		opt_sysvipc.h
127ab063af9SPeter WemmSEMOPM		opt_sysvipc.h
128ab063af9SPeter WemmSEMUME		opt_sysvipc.h
1290b911335SJohn BaldwinSHMALL		opt_sysvipc.h
1300b911335SJohn BaldwinSHMMAX		opt_sysvipc.h
1310b911335SJohn BaldwinSHMMAXPGS	opt_sysvipc.h
1320b911335SJohn BaldwinSHMMIN		opt_sysvipc.h
1330b911335SJohn BaldwinSHMMNI		opt_sysvipc.h
1340b911335SJohn BaldwinSHMSEG		opt_sysvipc.h
1350b911335SJohn BaldwinSYSVMSG		opt_sysvipc.h
1360b911335SJohn BaldwinSYSVSEM		opt_sysvipc.h
1370b911335SJohn BaldwinSYSVSHM		opt_sysvipc.h
138dd85920aSJason EvansVFS_AIO
13997fef0a1SJohn BaldwinWLCACHE		opt_wavelan.h
14097fef0a1SJohn BaldwinWLDEBUG		opt_wavelan.h
141d03b4017SBruce Evans
1428a6472b7SPeter Dufault# POSIX kernel options
1438a6472b7SPeter Dufault_KPOSIX_PRIORITY_SCHEDULING	opt_posix.h
1443ffb9fadSAlfred PerlsteinP1003_1B_SEMAPHORES		opt_posix.h
145917e476dSPeter Dufault
14612e9f256SRobert Watson#####################################################################
14712e9f256SRobert Watson# SECURITY POLICY PARAMETERS
14812e9f256SRobert Watson
14912e9f256SRobert Watson# Support for Mandatory Access Control (MAC)
15012e9f256SRobert WatsonMAC		opt_mac.h
151eae2f20cSRobert WatsonMAC_BIBA	opt_dontuse.h
152eae2f20cSRobert WatsonMAC_BSDEXTENDED	opt_dontuse.h
153f050add5SRobert WatsonMAC_DEBUG	opt_mac.h
154eae2f20cSRobert WatsonMAC_IFOFF	opt_dontuse.h
155eae2f20cSRobert WatsonMAC_MLS		opt_dontuse.h
15612e9f256SRobert WatsonMAC_NONE	opt_dontuse.h
157eae2f20cSRobert WatsonMAC_PARTITION	opt_dontuse.h
158eae2f20cSRobert WatsonMAC_SEEOTHERUIDS	opt_dontuse.h
159eae2f20cSRobert WatsonMAC_TEST	opt_dontuse.h
160a996141fSRobert Watson
161808129f0SPeter Wemm# Do we want the config file compiled into the kernel?
162808129f0SPeter WemmINCLUDE_CONFIG_FILE	opt_config.h
163808129f0SPeter Wemm
164d03b4017SBruce Evans# Options for static filesystems.  These should only be used at config
165d03b4017SBruce Evans# time, since the corresponding lkms cannot work if there are any static
166d03b4017SBruce Evans# dependencies.  Unusability is enforced by hiding the defines for the
167d03b4017SBruce Evans# options in a never-included header.
168bcf77694SPeter WemmCD9660		opt_dontuse.h
169bcf77694SPeter WemmCODA		opt_dontuse.h
170f41991baSEivind EklundEXT2FS		opt_dontuse.h
17199d300a1SRuslan ErmilovFDESCFS		opt_dontuse.h
172dc765d22SDag-Erling SmørgravLINPROCFS	opt_dontuse.h
173f41991baSEivind EklundMSDOSFS		opt_dontuse.h
174d03b4017SBruce EvansNULLFS		opt_dontuse.h
175bcf77694SPeter WemmNWFS		opt_dontuse.h
17699d300a1SRuslan ErmilovPORTALFS	opt_dontuse.h
177d03b4017SBruce EvansPROCFS		opt_dontuse.h
17836b2d3b7SDag-Erling SmørgravPSEUDOFS	opt_dontuse.h
179d03b4017SBruce EvansUMAPFS		opt_dontuse.h
1807e8dac41SSemen UstimenkoNTFS		opt_dontuse.h
1810adb9b96SPeter WemmHPFS		opt_dontuse.h
182fbfee3f6SJohn BaldwinSMBFS		opt_dontuse.h
18399d300a1SRuslan ErmilovUNIONFS		opt_dontuse.h
184df263cbdSScott LongUDF		opt_dontuse.h
185d03b4017SBruce Evans
18661a42370SPeter Wemm# Broken - ffs_snapshot() dependency from ufs_lookup() :-(
18761a42370SPeter WemmFFS		opt_ffs_broken_fixme.h
18861a42370SPeter Wemm
1897b778b5eSEivind Eklund# These static filesystems has one slightly bogus static dependency in
1907b778b5eSEivind Eklund# sys/i386/i386/autoconf.c.  If any of these filesystems are
1917b778b5eSEivind Eklund# statically compiled into the kernel, code for mounting them as root
192bcf77694SPeter Wemm# filesystems will be enabled - but look below.
193eb25edbdSPeter WemmNFSCLIENT	opt_nfs.h
194eb25edbdSPeter WemmNFSSERVER	opt_nfs.h
1955a9714deSJoerg Wunsch
196b1897c19SJulian Elischer# If you are following the conditions in the copyright,
197b1897c19SJulian Elischer# you can enable soft-updates which will speed up a lot of thigs
198b1897c19SJulian Elischer# and make the system safer from crashes at the same time.
199b1897c19SJulian Elischer# otherwise a STUB module will be compiled in.
200b1897c19SJulian ElischerSOFTUPDATES	opt_ffs.h
201b1897c19SJulian Elischer
202a70f2747SRobert Watson# Enabling this option turns on support for Access Control Lists in UFS,
203a70f2747SRobert Watson# which can be used to support high security configurations.  Depends on
204a70f2747SRobert Watson# UFS_EXTATTR.
205a70f2747SRobert WatsonUFS_ACL		opt_ufs.h
206a70f2747SRobert Watson
207516081f2SRobert Watson# Enabling this option turns on support for extended attributes in UFS-based
208516081f2SRobert Watson# filesystems, which can be used to support high security configurations
209a64ed089SRobert Watson# as well as new filesystem features.
210516081f2SRobert WatsonUFS_EXTATTR	opt_ufs.h
211516081f2SRobert WatsonUFS_EXTATTR_AUTOSTART	opt_ufs.h
212a64ed089SRobert Watson
2139b5ad47fSIan Dowse# Enable fast hash lookups for large directories on UFS-based filesystems.
2149b5ad47fSIan DowseUFS_DIRHASH	opt_ufs.h
2159b5ad47fSIan Dowse
2167b778b5eSEivind Eklund# The above static dependencies are planned removed, with a
2177b778b5eSEivind Eklund# <filesystem>_ROOT option to control if it usable as root.  This list
2187b778b5eSEivind Eklund# allows these options to be present in config files already (though
2197b778b5eSEivind Eklund# they won't make any difference yet).
220df394affSJohn-Mark GurneyNFS_ROOT	opt_nfsroot.h
2217b778b5eSEivind Eklund
222fbfee3f6SJohn Baldwin# SMB/CIFS requester
223fbfee3f6SJohn BaldwinNETSMB			opt_netsmb.h
224fbfee3f6SJohn BaldwinNETSMBCRYPTO		opt_netsmb.h
225fbfee3f6SJohn Baldwin
226f74654deSPeter Wemm# Options used only in subr_param.c.
22734f3320eSKenjiro ChoHZ		opt_param.h
2285a00f364SDag-Erling SmørgravMAXFILES	opt_param.h
2293d20a1ffSBruce EvansNBUF		opt_param.h
2304bd49128SPeter WemmNMBCLUSTERS	opt_param.h
231dd0b2081SDavid GreenmanNSFBUFS		opt_param.h
2322f9e4e80SMatthew DillonVM_BCACHE_SIZE_MAX	opt_param.h
2332f9e4e80SMatthew DillonVM_SWZONE_SIZE_MAX	opt_param.h
234f74654deSPeter WemmMAXUSERS
235cbc89bfbSPaul SaabDFLDSIZ		opt_param.h
236cbc89bfbSPaul SaabMAXDSIZ		opt_param.h
237cbc89bfbSPaul SaabMAXSSIZ		opt_param.h
23881fc841cSBruce Evans
23981fc841cSBruce Evans# Generic SCSI options.
240bf21c633SJustin T. GibbsCAM_MAX_HIGHPOWER	opt_cam.h
241bf21c633SJustin T. GibbsCAMDEBUG		opt_cam.h
242da56bbefSJustin T. GibbsCAM_DEBUG_DELAY		opt_cam.h
243bf21c633SJustin T. GibbsCAM_DEBUG_BUS		opt_cam.h
244bf21c633SJustin T. GibbsCAM_DEBUG_TARGET	opt_cam.h
245bf21c633SJustin T. GibbsCAM_DEBUG_LUN		opt_cam.h
246bf21c633SJustin T. GibbsCAM_DEBUG_FLAGS		opt_cam.h
247d73ce756SMatt JacobCAM_NEW_TRAN_CODE	opt_cam.h
2483d20a1ffSBruce EvansSCSI_DELAY		opt_scsi.h
249bf21c633SJustin T. GibbsSCSI_NO_SENSE_STRINGS	opt_scsi.h
250bf21c633SJustin T. GibbsSCSI_NO_OP_STRINGS	opt_scsi.h
251bf21c633SJustin T. Gibbs
252d73ce756SMatt Jacob
253d73ce756SMatt Jacob
254bf21c633SJustin T. Gibbs# Options used only in cam/scsi/scsi_cd.c
255bf21c633SJustin T. GibbsCHANGER_MIN_BUSY_SECONDS	opt_cd.h
256bf21c633SJustin T. GibbsCHANGER_MAX_BUSY_SECONDS	opt_cd.h
25781fc841cSBruce Evans
2583ece1bd2SKenneth D. Merry# Options used only in cam/scsi/scsi_sa.c.
259b29f9e40SMatt JacobSA_IO_TIMEOUT		opt_sa.h
2609dfb4471SKenneth D. MerrySA_SPACE_TIMEOUT	opt_sa.h
2619dfb4471SKenneth D. MerrySA_REWIND_TIMEOUT	opt_sa.h
2629dfb4471SKenneth D. MerrySA_ERASE_TIMEOUT	opt_sa.h
263cb02c78aSMatt JacobSA_1FM_AT_EOD		opt_sa.h
264c30bc9dbSJoerg Wunsch
2653ece1bd2SKenneth D. Merry# Options used only in cam/scsi/scsi_pt.c
2663ece1bd2SKenneth D. MerrySCSI_PT_DEFAULT_TIMEOUT	opt_pt.h
2673ece1bd2SKenneth D. Merry
26852e48164SMatt Jacob# Options used only in cam/scsi/scsi_ses.c
26952e48164SMatt JacobSES_ENABLE_PASSTHROUGH	opt_ses.h
27052e48164SMatt Jacob
271410605d1SDavid E. O'Brien# Options used in dev/sym/ (Symbios SCSI driver).
272410605d1SDavid E. O'BrienSYM_SETUP_LP_PROBE_MAP	opt_sym.h	#-Low Priority Probe Map (bits)
273410605d1SDavid E. O'Brien					# Allows the ncr to take precedence
274410605d1SDavid E. O'Brien					# 1 (1<<0) -> 810a, 860
275410605d1SDavid E. O'Brien					# 2 (1<<1) -> 825a, 875, 885, 895
276410605d1SDavid E. O'Brien					# 4 (1<<2) -> 895a, 896, 1510d
277410605d1SDavid E. O'BrienSYM_SETUP_SCSI_DIFF	opt_sym.h	#-HVD support for 825a, 875, 885
278410605d1SDavid E. O'Brien					# disabled:0 (default), enabled:1
279410605d1SDavid E. O'BrienSYM_SETUP_PCI_PARITY	opt_sym.h	#-PCI parity checking
280410605d1SDavid E. O'Brien					# disabled:0, enabled:1 (default)
281410605d1SDavid E. O'BrienSYM_SETUP_MAX_LUN	opt_sym.h	#-Number of LUNs supported
282410605d1SDavid E. O'Brien					# default:8, range:[1..64]
283410605d1SDavid E. O'Brien
28421ffa5aeSStefan Eßer# Options used only in pci/ncr.c
2853d20a1ffSBruce EvansSCSI_NCR_DEBUG		opt_ncr.h
286a5bef142SBruce EvansSCSI_NCR_MAX_SYNC	opt_ncr.h
287a5bef142SBruce EvansSCSI_NCR_MAX_WIDE	opt_ncr.h
2883d20a1ffSBruce EvansSCSI_NCR_MYADDR		opt_ncr.h
28921ffa5aeSStefan Eßer
290355904d5SMatt Jacob# Options used only in dev/isp/*
29173e1de92SMatt JacobISP_TARGET_MODE		opt_isp.h
292355904d5SMatt JacobISP_FW_CRASH_DUMP	opt_isp.h
2933fc2ba4dSMatt Jacob
2941a2d9854SSøren Schmidt# Options used in the 'ata' ATA/ATAPI driver
2951a2d9854SSøren SchmidtATA_STATIC_ID		opt_ata.h
296b5d0be89SPeter WemmATA_NOPCI		opt_ata.h
297358f1800SPeter WemmDEV_ATADISK		opt_ata.h
298358f1800SPeter WemmDEV_ATAPICD		opt_ata.h
299358f1800SPeter WemmDEV_ATAPIST		opt_ata.h
300358f1800SPeter WemmDEV_ATAPIFD		opt_ata.h
301fd4b4eccSSøren SchmidtDEV_ATAPICAM		opt_ata.h
302fd4b4eccSSøren SchmidtATA_DEBUG		opt_ata.h
303fd4b4eccSSøren SchmidtATAPI_DEBUG		opt_ata.h
304fd4b4eccSSøren SchmidtACD_DEBUG		opt_ata.h
305fd4b4eccSSøren SchmidtAST_DEBUG		opt_ata.h
3061a2d9854SSøren Schmidt
30781fc841cSBruce Evans# Net stuff.
308a79b7128SAlfred PerlsteinACCEPT_FILTER_DATA
309a79b7128SAlfred PerlsteinACCEPT_FILTER_HTTP
310e4f4247aSEivind EklundBOOTP			opt_bootp.h
311e4f4247aSEivind EklundBOOTP_COMPAT		opt_bootp.h
312e4f4247aSEivind EklundBOOTP_NFSROOT		opt_bootp.h
313e4f4247aSEivind EklundBOOTP_NFSV3		opt_bootp.h
3148f7030a7STor EggeBOOTP_WIRED_TO		opt_bootp.h
315508d0661SLuigi RizzoBRIDGE			opt_bdg.h
3165d94d71cSBoris PopovETHER_II		opt_ef.h
3175d94d71cSBoris PopovETHER_8023		opt_ef.h
3185d94d71cSBoris PopovETHER_8022		opt_ef.h
3195d94d71cSBoris PopovETHER_SNAP		opt_ef.h
3204bd49128SPeter WemmMROUTING		opt_mrouting.h
3211d5e9e22SEivind EklundINET			opt_inet.h
322cfa1ca9dSYoshinobu InoueINET6			opt_inet6.h
3236a800098SYoshinobu InoueIPSEC			opt_ipsec.h
3246a800098SYoshinobu InoueIPSEC_ESP		opt_ipsec.h
3256a800098SYoshinobu InoueIPSEC_DEBUG		opt_ipsec.h
326b9234fafSSam LefflerFAST_IPSEC		opt_ipsec.h
327fbd1372aSJoerg WunschIPDIVERT
328508d0661SLuigi RizzoDUMMYNET		opt_ipdn.h
3299cc86ee9SGuido van RooijIPFILTER		opt_ipfilter.h
3309cc86ee9SGuido van RooijIPFILTER_LOG		opt_ipfilter.h
331276dd937SDarren ReedIPFILTER_DEFAULT_BLOCK	opt_ipfilter.h
3320656ae02SDarren ReedPFIL_HOOKS		opt_pfil_hooks.h
33374a9466cSGary PalmerIPFIREWALL		opt_ipfw.h
33474a9466cSGary PalmerIPFIREWALL_VERBOSE	opt_ipfw.h
335fb260479SBruce EvansIPFIREWALL_VERBOSE_LIMIT	opt_ipfw.h
336ffdd472dSPeter WemmIPFIREWALL_DEFAULT_TO_ACCEPT	opt_ipfw.h
337cdcc2613SJulian ElischerIPFIREWALL_FORWARD		opt_ipfw.h
338210d0432SYoshinobu InoueIPV6FIREWALL		opt_ip6fw.h
339210d0432SYoshinobu InoueIPV6FIREWALL_VERBOSE	opt_ip6fw.h
340210d0432SYoshinobu InoueIPV6FIREWALL_VERBOSE_LIMIT	opt_ip6fw.h
341210d0432SYoshinobu InoueIPV6FIREWALL_DEFAULT_TO_ACCEPT	opt_ip6fw.h
3421b968362SDag-Erling SmørgravIPSTEALTH
343430df5f4SEivind EklundIPX			opt_ipx.h
344430df5f4SEivind EklundIPXIP			opt_ipx.h
345430df5f4SEivind EklundIPTUNNEL		opt_ipx.h
346d8589bd5SBoris PopovLIBMCHAIN
347e83e2322SBoris PopovNCP			opt_ncp.h
3487262d3e4SEivind EklundNETATALK		opt_atalk.h
3498e96e13eSMaxim SobolevNS			opt_ns.h
35013c49711SPeter WemmPPP_BSDCOMP		opt_ppp.h
35113c49711SPeter WemmPPP_DEFLATE		opt_ppp.h
352d41238deSPeter WemmPPP_FILTER		opt_ppp.h
35364dddc18SKris KennawayRANDOM_IP_ID
354875f3161SDag-Erling SmørgravSLIP_IFF_OPTS		opt_slip.h
3550cc12cc5SJoerg WunschTCPDEBUG
356e46cd3d4SDag-Erling SmørgravTCP_DROP_SYNFIN		opt_tcp_input.h
357914594eaSKris KennawayXBONEHACK
3583458e54aSJulian Elischer
3594cf49a43SJulian Elischer# Netgraph(4). Use option NETGRAPH to enable the base netgraph code.
3604cf49a43SJulian Elischer# Each netgraph node type can be either be compiled into the kernel
3614cf49a43SJulian Elischer# or loaded dynamically. To get the former, include the corresponding
362ed2dbd31SArchie Cobbs# option below. Each type has its own man page, e.g. ng_async(4).
3634cf49a43SJulian ElischerNETGRAPH
3644cf49a43SJulian ElischerNETGRAPH_ASYNC		opt_netgraph.h
36592a3e552SArchie CobbsNETGRAPH_BPF		opt_netgraph.h
366ed2dbd31SArchie CobbsNETGRAPH_BRIDGE		opt_netgraph.h
3674cf49a43SJulian ElischerNETGRAPH_CISCO		opt_netgraph.h
3684cf49a43SJulian ElischerNETGRAPH_ECHO		opt_netgraph.h
369e1e1452dSArchie CobbsNETGRAPH_ETHER		opt_netgraph.h
3704cf49a43SJulian ElischerNETGRAPH_FRAME_RELAY	opt_netgraph.h
37194408d94SBrooks DavisNETGRAPH_GIF		opt_netgraph.h
37294408d94SBrooks DavisNETGRAPH_GIF_DEMUX	opt_netgraph.h
3734cf49a43SJulian ElischerNETGRAPH_HOLE		opt_netgraph.h
3744cf49a43SJulian ElischerNETGRAPH_IFACE		opt_netgraph.h
375c2eed105SBrooks DavisNETGRAPH_IP_INPUT	opt_netgraph.h
3766e874711SArchie CobbsNETGRAPH_KSOCKET	opt_netgraph.h
3774cf49a43SJulian ElischerNETGRAPH_LMI		opt_netgraph.h
378901fadf7SArchie CobbsNETGRAPH_L2TP		opt_netgraph.h
379a2b408adSArchie Cobbs# MPPC compression requires proprietary files (not included)
380a2b408adSArchie CobbsNETGRAPH_MPPC_COMPRESSION	opt_netgraph.h
381a2b408adSArchie CobbsNETGRAPH_MPPC_ENCRYPTION	opt_netgraph.h
3827d7a5b89SArchie CobbsNETGRAPH_ONE2MANY	opt_netgraph.h
3836827c8feSArchie CobbsNETGRAPH_PPP		opt_netgraph.h
3846827c8feSArchie CobbsNETGRAPH_PPPOE		opt_netgraph.h
385add85a1dSArchie CobbsNETGRAPH_PPTPGRE	opt_netgraph.h
3864cf49a43SJulian ElischerNETGRAPH_RFC1490	opt_netgraph.h
3874cf49a43SJulian ElischerNETGRAPH_SOCKET		opt_netgraph.h
3884d60fee2SBrooks DavisNETGRAPH_SPLIT		opt_netgraph.h
3894cf49a43SJulian ElischerNETGRAPH_TEE		opt_netgraph.h
3904cf49a43SJulian ElischerNETGRAPH_TTY		opt_netgraph.h
3914cf49a43SJulian ElischerNETGRAPH_UI		opt_netgraph.h
39206e36c4dSJulian ElischerNETGRAPH_VJC		opt_netgraph.h
3934cf49a43SJulian Elischer
39467a2a28fSEric Anholt# DRM options
39567a2a28fSEric AnholtDRM_LINUX		opt_drm.h
39667a2a28fSEric AnholtDRM_DEBUG		opt_drm.h
39767a2a28fSEric Anholt
39898cb733cSKenneth D. Merry
39998cb733cSKenneth D. MerryZERO_COPY_SOCKETS	opt_zero.h
40098cb733cSKenneth D. MerryTI_PRIVATE_JUMBOS	opt_ti.h
40198cb733cSKenneth D. MerryTI_JUMBO_HDRSPLIT	opt_ti.h
40298cb733cSKenneth D. Merry
4033f8c4506SPoul-Henning Kamp# ATM (HARP version)
4043f8c4506SPoul-Henning KampATM_CORE		opt_atm.h
4053f8c4506SPoul-Henning KampATM_IP			opt_atm.h
4063f8c4506SPoul-Henning KampATM_SIGPVC		opt_atm.h
4073f8c4506SPoul-Henning KampATM_SPANS		opt_atm.h
4083f8c4506SPoul-Henning KampATM_UNI			opt_atm.h
4093f8c4506SPoul-Henning Kamp
410e0d781f3SEivind Eklund# XXX Conflict: # of devices vs network protocol (Native ATM).
411e0d781f3SEivind Eklund# This makes "atm.h" unusable.
412e0d781f3SEivind EklundNATM			opt_natm.h
413e0d781f3SEivind Eklund
414528784edSJustin T. GibbsDPT_ALLOW_MEMIO		opt_dpt.h	# Allow PCI devices to use memory
415528784edSJustin T. Gibbs					# mapped I/O
4163458e54aSJulian Elischer# DPT driver debug flags
4173458e54aSJulian ElischerDPT_MEASURE_PERFORMANCE	opt_dpt.h
4183458e54aSJulian ElischerDPT_HANDLE_TIMEOUTS	opt_dpt.h
4193458e54aSJulian ElischerDPT_TIMEOUT_FACTOR	opt_dpt.h
4203458e54aSJulian ElischerDPT_LOST_IRQ		opt_dpt.h
421b755b885SEivind EklundDPT_RESET_HBA		opt_dpt.h
4223f2076daSEivind Eklund
423444476fdSMike Smith# Adaptec ASR and DPT V/VI controller options
424444476fdSMike SmithASR_MEASURE_PERFORMANCE	opt_asr.h
425444476fdSMike Smith
4263f2076daSEivind Eklund# Misc debug flags.  Most of these should probably be replaced with
4273f2076daSEivind Eklund# 'DEBUG', and then let people recompile just the interesting modules
428fdf94d1aSNicolas Souchu# with 'make CC="cc -DDEBUG"'.
4293f2076daSEivind EklundCLUSTERDEBUG		opt_debug_cluster.h
430a6de7b79SNicolas SouchuDEBUG_1284		opt_ppb_1284.h
431a6de7b79SNicolas SouchuVP0_DEBUG		opt_vpo.h
432fdf94d1aSNicolas SouchuLPT_DEBUG		opt_lpt.h
4337b7bf77eSNicolas SouchuPLIP_DEBUG		opt_plip.h
4343f2076daSEivind EklundLOCKF_DEBUG		opt_debug_lockf.h
4353f2076daSEivind EklundNPX_DEBUG		opt_debug_npx.h
4363f2076daSEivind EklundNETATALKDEBUG		opt_atalk.h
4373f2076daSEivind EklundSI_DEBUG		opt_debug_si.h
4383f2076daSEivind Eklund
439909232c4SEivind Eklund# Fb options
440909232c4SEivind EklundFB_DEBUG		opt_fb.h
441909232c4SEivind EklundFB_INSTALL_CDEV		opt_fb.h
442909232c4SEivind Eklund
44304fb1490SNicolas Souchu# ppbus related options
44404fb1490SNicolas SouchuPERIPH_1284		opt_ppb_1284.h
44504fb1490SNicolas SouchuDONTPROBE_1284		opt_ppb_1284.h
44604fb1490SNicolas Souchu
44704fb1490SNicolas Souchu# smbus related options
44804fb1490SNicolas SouchuENABLE_ALART		opt_intpm.h
4493f2076daSEivind Eklund
45014834de4SEivind Eklund# These cause changes all over the kernel
451909232c4SEivind EklundBLKDEV_IOSIZE		opt_global.h
45214834de4SEivind EklundDEBUG			opt_global.h
45315a1057cSEivind EklundDEBUG_LOCKS		opt_global.h
4545526d2d9SEivind EklundDEBUG_VFS_LOCKS		opt_global.h
4550e2d6cc8SJeff RobersonLOOKUP_SHARED		opt_global.h
45614834de4SEivind EklundDIAGNOSTIC		opt_global.h
457b1a7842bSJohn DysonENABLE_VFS_IOOPT	opt_global.h
45834b15f2aSJohn BaldwinINVARIANT_SUPPORT	opt_global.h
4595526d2d9SEivind EklundINVARIANTS		opt_global.h
4602c8f5a28SKenneth D. MerryMCLSHIFT		opt_global.h
4612c8f5a28SKenneth D. MerryMSIZE			opt_global.h
4620b5438c6SRobert WatsonREGRESSION		opt_global.h
4631432aa0cSJohn BaldwinRESTARTABLE_PANICS	opt_global.h
4645526d2d9SEivind EklundVFS_BIO_DEBUG		opt_global.h
465d9bed5beSJohn Dyson
466d9bed5beSJohn Dyson# These are VM related options
467d9bed5beSJohn DysonVM_KMEM_SIZE		opt_vm.h
468d9bed5beSJohn DysonVM_KMEM_SIZE_SCALE	opt_vm.h
469d9bed5beSJohn DysonVM_KMEM_SIZE_MAX	opt_vm.h
470faa5f8d8SAndrzej BialeckiNO_SWAPPING		opt_vm.h
471a59f8b9eSJeff RobersonMALLOC_PROFILE		opt_vm.h
47220f71813SJohn-Mark GurneyPQ_NOOPT		opt_vmpage.h
47320f71813SJohn-Mark GurneyPQ_NORMALCACHE		opt_vmpage.h
47420f71813SJohn-Mark GurneyPQ_MEDIUMCACHE		opt_vmpage.h
47520f71813SJohn-Mark GurneyPQ_LARGECACHE		opt_vmpage.h
47620f71813SJohn-Mark GurneyPQ_HUGECACHE		opt_vmpage.h
4779a20f99aSJohn BaldwinPQ_CACHESIZE		opt_vmpage.h
47820f71813SJohn-Mark Gurney
479ecd19816SMike Smith# Standard SMP options
480ecd19816SMike SmithSMP			opt_global.h
481751bf650SJun-ichiro itojun Hagino
48258067a99SPoul-Henning Kamp# Size of the kernel message buffer
48358067a99SPoul-Henning KampMSGBUF_SIZE		opt_msgbuf.h
484ecbb00a2SDoug Rabson
485df394affSJohn-Mark Gurney# NFS options
486df394affSJohn-Mark GurneyNFS_MINATTRTIMO		opt_nfs.h
487df394affSJohn-Mark GurneyNFS_MAXATTRTIMO		opt_nfs.h
488df394affSJohn-Mark GurneyNFS_MINDIRATTRTIMO	opt_nfs.h
489df394affSJohn-Mark GurneyNFS_MAXDIRATTRTIMO	opt_nfs.h
490df394affSJohn-Mark GurneyNFS_GATHERDELAY		opt_nfs.h
491df394affSJohn-Mark GurneyNFS_WDELAYHASHSIZ	opt_nfs.h
492df394affSJohn-Mark GurneyNFS_DEBUG		opt_nfs.h
493df394affSJohn-Mark Gurney
49424e89aa8SRoger Hardiman# For the Bt848/Bt848A/Bt849/Bt878/Bt879 driver
4955cd2d295SRoger HardimanOVERRIDE_CARD			opt_bktr.h
4965cd2d295SRoger HardimanOVERRIDE_TUNER			opt_bktr.h
4975cd2d295SRoger HardimanOVERRIDE_DBX			opt_bktr.h
4985cd2d295SRoger HardimanOVERRIDE_MSP			opt_bktr.h
4995cd2d295SRoger HardimanBROOKTREE_SYSTEM_DEFAULT	opt_bktr.h
50063883894SRoger HardimanBROOKTREE_ALLOC_PAGES		opt_bktr.h
50163883894SRoger HardimanBKTR_OVERRIDE_CARD		opt_bktr.h
50263883894SRoger HardimanBKTR_OVERRIDE_TUNER		opt_bktr.h
50363883894SRoger HardimanBKTR_OVERRIDE_DBX		opt_bktr.h
50463883894SRoger HardimanBKTR_OVERRIDE_MSP		opt_bktr.h
50563883894SRoger HardimanBKTR_SYSTEM_DEFAULT		opt_bktr.h
50663883894SRoger HardimanBKTR_ALLOC_PAGES		opt_bktr.h
5075cd2d295SRoger HardimanBKTR_USE_PLL			opt_bktr.h
5085cd2d295SRoger HardimanBKTR_GPIO_ACCESS		opt_bktr.h
5095cd2d295SRoger HardimanBKTR_NO_MSP_RESET		opt_bktr.h
5105cd2d295SRoger HardimanBKTR_430_FX_MODE		opt_bktr.h
5115cd2d295SRoger HardimanBKTR_SIS_VIA_MODE		opt_bktr.h
512c17d4340SNicolas SouchuBKTR_USE_FREEBSD_SMBUS		opt_bktr.h
51358dde31aSSøren Schmidt
514afc2d1c7SJordan K. Hubbard# meteor opt_meteor.h
515afc2d1c7SJordan K. HubbardMETEOR_ALLOC_PAGES	opt_meteor.h
516afc2d1c7SJordan K. HubbardMETEOR_TEST_VIDEO	opt_meteor.h
517afc2d1c7SJordan K. HubbardMETEOR_SYSTEM_DEFAULT	opt_meteor.h
518afc2d1c7SJordan K. HubbardMETEOR_DEALLOC_PAGES	opt_meteor.h
519afc2d1c7SJordan K. HubbardMETEOR_DEALLOC_ABOVE	opt_meteor.h
520afc2d1c7SJordan K. Hubbard
5216f42b336SPeter Wemm# Various mi ISA bus flags
5226f42b336SPeter WemmCOM_ESP			opt_sio.h
5236f42b336SPeter WemmCOM_MULTIPORT		opt_sio.h
524909232c4SEivind EklundBREAK_TO_DEBUGGER	opt_comconsole.h
52526b6ea69SPaul SaabALT_BREAK_TO_DEBUGGER	opt_comconsole.h
52603927d3cSPeter WemmDEV_ISA			opt_isa.h
5276f42b336SPeter Wemm
528ecbb00a2SDoug Rabson# Include tweaks for running under the SimOS machine simulator.
529ecbb00a2SDoug RabsonSIMOS			opt_simos.h
530709f2df6SDoug Rabson
531709f2df6SDoug Rabson# options for bus/device framework
532709f2df6SDoug RabsonBUS_DEBUG		opt_bus.h
5330cec007cSNick Hibma
5340cec007cSNick Hibma# options for USB support
5357dc1a5bdSNick HibmaUHCI_DEBUG		opt_usb.h
5367dc1a5bdSNick HibmaOHCI_DEBUG		opt_usb.h
5370cec007cSNick HibmaUSB_DEBUG		opt_usb.h
5387dc1a5bdSNick HibmaUGEN_DEBUG		opt_usb.h
5397dc1a5bdSNick HibmaUHID_DEBUG		opt_usb.h
5407dc1a5bdSNick HibmaUHUB_DEBUG		opt_usb.h
5417dc1a5bdSNick HibmaUKBD_DEBUG		opt_usb.h
5427dc1a5bdSNick HibmaULPT_DEBUG		opt_usb.h
5435628cc31SNick HibmaUMASS_DEBUG		opt_usb.h
5447dc1a5bdSNick HibmaUMS_DEBUG		opt_usb.h
545e2dbd15fSNick HibmaURIO_DEBUG		opt_usb.h
546f548daf0SJohn BaldwinUKBD_DFLT_KEYMAP	opt_ukbd.h
547a9d45962SPeter Wemm
548a9d45962SPeter Wemm# Vinum options
549a9d45962SPeter WemmVINUMDEBUG		opt_vinum.h
5509775e378SJohn Birrell
5519775e378SJohn Birrell# Embedded system options
5529775e378SJohn BirrellINIT_PATH		opt_init_path.h
553b307e58fSPoul-Henning Kamp
554b307e58fSPoul-Henning KampROOTDEVNAME		opt_rootdevname.h
555814ce988SDoug Rabson
556814ce988SDoug RabsonFDC_DEBUG		opt_fdc.h
5573b2d592cSJordan K. HubbardPCFCLOCK_VERBOSE	opt_pcfclock.h
5583b2d592cSJordan K. HubbardPCFCLOCK_MAX_RETRIES	opt_pcfclock.h
559f9d186edSScott Long
560f9d186edSScott Long# RAIDframe options
561f9d186edSScott LongRAID_AUTOCONFIG		opt_raid.h
562f9d186edSScott LongRAID_DEBUG		opt_raid.h
5639147e09eSColeman KaneTDFX_LINUX opt_tdfx.h
564b1f12b61STakanori Watanabe
5650384fff8SJason EvansKTR			opt_global.h
5664b124a4bSJeff RobersonKTR_ALQ			opt_ktr.h
567d8f03321SJohn BaldwinKTR_MASK		opt_ktr.h
568d8f03321SJohn BaldwinKTR_CPUMASK		opt_ktr.h
5690384fff8SJason EvansKTR_COMPILE		opt_global.h
5700384fff8SJason EvansKTR_ENTRIES		opt_global.h
571d8f03321SJohn BaldwinKTR_VERBOSE		opt_ktr.h
57236412d79SJohn BaldwinMUTEX_DEBUG		opt_global.h
5730384fff8SJason EvansWITNESS			opt_global.h
574660d1e3aSJohn BaldwinWITNESS_DDB		opt_witness.h
575660d1e3aSJohn BaldwinWITNESS_SKIPSPIN	opt_witness.h
5760384fff8SJason Evans
577b1f12b61STakanori Watanabe# options for ACPI support
578b1f12b61STakanori WatanabeACPI_DEBUG		opt_acpi.h
579c573e654SMitsuru IWASAKIACPI_NO_SEMAPHORES	opt_acpi.h
580c573e654SMitsuru IWASAKIACPI_MAX_THREADS	opt_acpi.h
58193bcdfe2SPoul-Henning Kamp
58293bcdfe2SPoul-Henning Kamp# options for DEVFS, see sys/fs/devfs/devfs.h
58393bcdfe2SPoul-Henning KampNDEVFSINO		opt_devfs.h
58493bcdfe2SPoul-Henning KampNDEVFSOVERFLOW		opt_devfs.h
585810d0bd1SPeter Wemm
586810d0bd1SPeter Wemm# various 'device presence' options.
587f444a0efSPeter WemmDEV_MCA			opt_mca.h
5885bb5f2c9SPeter WemmDEV_BPF			opt_bpf.h
5899b04180cSIan Dowse
5909b04180cSIan Dowse# ed driver
5919b04180cSIan DowseED_NO_MIIBUS		opt_ed.h
5920483b1a8SAndrew Gallatin
593073eef8cSWarner Losh# wi driver
594073eef8cSWarner LoshWI_SYMBOL_FIRMWARE	opt_wi.h
595073eef8cSWarner Losh
5960483b1a8SAndrew Gallatin# Polling device handling
5970483b1a8SAndrew GallatinDEVICE_POLLING		opt_global.h
5986c35e809SDag-Erling Smørgrav
5996c35e809SDag-Erling Smørgrav# Mutex profiling
6006c35e809SDag-Erling SmørgravMUTEX_PROFILING		opt_global.h
601073eef8cSWarner Losh
602