xref: /freebsd/sys/conf/options (revision 901fadf792b64dc16d56eb5c234152794b2cc584)
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
3411151a5bSDirk FroembergAAC_COMPAT_LINUX	opt_aac.h	# Enable the linux ioctl interface
359fcfed22SScott Long
36acf1b64cSJustin T. GibbsAAC_DEBUG		opt_aac.h	# Debugging levels:
37acf1b64cSJustin T. Gibbs					# 0 - quiet, only emit warnings
38acf1b64cSJustin T. Gibbs					# 1 - noisy, emit major function
39acf1b64cSJustin T. Gibbs					#     points and things done
40acf1b64cSJustin T. Gibbs					# 2 - extremely noisy, emit trace
41acf1b64cSJustin T. Gibbs					#     items in loops, etc.
42acf1b64cSJustin T. Gibbs
43bf21c633SJustin T. Gibbs# Adaptec aic7xxx SCSI controller options
44bf21c633SJustin T. GibbsAHC_ALLOW_MEMIO		opt_aic7xxx.h	# Allow PCI devices to use memory
45528784edSJustin T. Gibbs					# mapped I/O
46bf21c633SJustin T. Gibbs
47bf21c633SJustin T. GibbsAHC_TMODE_ENABLE	opt_aic7xxx.h	# Bitmap of units to enable
48bf21c633SJustin T. Gibbs					# targetmode operations.
49bf21c633SJustin T. Gibbs
5026b40483SJustin T. GibbsAHC_DUMP_EEPROM		opt_aic7xxx.h	# Dump the contents of our
5126b40483SJustin T. Gibbs					# configuration prom.
5226b40483SJustin T. Gibbs
53a08d5a42SJustin T. GibbsAHC_DEBUG_SEQUENCER	opt_aic7xxx.h	# Enable diagnostic sequencer code
54a08d5a42SJustin T. Gibbs
55cdd49e97SJustin T. Gibbs# Adaptec aic79xx SCSI controller options
56cdd49e97SJustin T. GibbsAHD_DEBUG		opt_aic79xx.h	# Compile in aic79xx debugging code.
57cdd49e97SJustin T. Gibbs
58cdd49e97SJustin T. GibbsAHD_DEBUG_OPTS		opt_aic79xx.h	# Aic79xx driver debugging options.
59cdd49e97SJustin T. Gibbs					# See sys/dev/aic79xx/aic79xx.h
60cdd49e97SJustin T. Gibbs
61528784edSJustin T. GibbsADW_ALLOW_MEMIO		opt_adw.h	# Allow PCI devices to use memory
62528784edSJustin T. Gibbs					# mapped I/O
63528784edSJustin T. Gibbs
643d20a1ffSBruce Evans# Miscellaneous options.
652498cf8cSJohn BaldwinADAPTIVE_MUTEXES
66f71bb3a1SEivind EklundCOMPAT_43	opt_compat.h
67074453c2SAlfred PerlsteinCOMPAT_FREEBSD4	opt_compat.h
68f71bb3a1SEivind EklundCOMPAT_SUNOS	opt_compat.h
69c866ec47SPoul-Henning KampCOMPILING_LINT	opt_global.h
70b8cf6ea7SBruce EvansCY_PCI_FASTINTR
71d8dbc77cSNick HibmaCONSPEED	opt_comconsole.h
720e41ee30SGarrett WollmanDDB
737085e708SBruce EvansDDB_NOKLDSYM	opt_ddb.h
741664f6f5SPaul TrainaDDB_UNATTENDED	opt_ddb.h
75562d05dfSPaul TrainaGDB_REMOTE_CHAT	opt_ddb.h
76d8dbc77cSNick HibmaGDBSPEED	opt_ddb.h
77404b3dcfSJohn BaldwinGEOM
78d94f38acSEivind EklundHW_WDOG
794bd49128SPeter WemmKTRACE
80363ba2bcSJohn BaldwinKTRACE_REQUEST_POOL	opt_ktrace.h
816f2d8adbSBoris PopovLIBICONV
8271e4fff8SPoul-Henning KampMD_ROOT		opt_md.h
8371e4fff8SPoul-Henning KampMD_ROOT_SIZE	opt_md.h
847f01180eSJohn BaldwinNDGBPORTS	opt_dgb.h
85404b3dcfSJohn BaldwinNODEVFS		opt_devfs.h
86c2906d55SPoul-Henning KampNTIMECOUNTER	opt_ntp.h
87f71bb3a1SEivind EklundNSWAPDEV	opt_swap.h
88e0d781f3SEivind EklundPPS_SYNC	opt_ntp.h
8947a3594eSJohn BaldwinPUC_FASTINTR	opt_puc.h
903d20a1ffSBruce EvansQUOTA
91cecc50bcSEivind EklundSPX_HACK
92f71bb3a1SEivind EklundSUIDDIR		opt_suiddir.h
930b911335SJohn BaldwinMSGMNB		opt_sysvipc.h
940b911335SJohn BaldwinMSGMNI		opt_sysvipc.h
950b911335SJohn BaldwinMSGSEG		opt_sysvipc.h
960b911335SJohn BaldwinMSGSSZ		opt_sysvipc.h
970b911335SJohn BaldwinMSGTQL		opt_sysvipc.h
98ab063af9SPeter WemmSEMMAP		opt_sysvipc.h
99ab063af9SPeter WemmSEMMNI		opt_sysvipc.h
100ab063af9SPeter WemmSEMMNS		opt_sysvipc.h
101ab063af9SPeter WemmSEMMNU		opt_sysvipc.h
102ab063af9SPeter WemmSEMMSL		opt_sysvipc.h
103ab063af9SPeter WemmSEMOPM		opt_sysvipc.h
104ab063af9SPeter WemmSEMUME		opt_sysvipc.h
1050b911335SJohn BaldwinSHMALL		opt_sysvipc.h
1060b911335SJohn BaldwinSHMMAX		opt_sysvipc.h
1070b911335SJohn BaldwinSHMMAXPGS	opt_sysvipc.h
1080b911335SJohn BaldwinSHMMIN		opt_sysvipc.h
1090b911335SJohn BaldwinSHMMNI		opt_sysvipc.h
1100b911335SJohn BaldwinSHMSEG		opt_sysvipc.h
1110b911335SJohn BaldwinSYSVMSG		opt_sysvipc.h
1120b911335SJohn BaldwinSYSVSEM		opt_sysvipc.h
1130b911335SJohn BaldwinSYSVSHM		opt_sysvipc.h
114dd85920aSJason EvansVFS_AIO
11597fef0a1SJohn BaldwinWLCACHE		opt_wavelan.h
11697fef0a1SJohn BaldwinWLDEBUG		opt_wavelan.h
117d03b4017SBruce Evans
1188a6472b7SPeter Dufault# POSIX kernel options
1198a6472b7SPeter DufaultP1003_1B			opt_posix.h
1208a6472b7SPeter Dufault_KPOSIX_PRIORITY_SCHEDULING	opt_posix.h
1218a6472b7SPeter Dufault_KPOSIX_VERSION			opt_posix.h
122917e476dSPeter Dufault
12312e9f256SRobert Watson#####################################################################
12412e9f256SRobert Watson# SECURITY POLICY PARAMETERS
12512e9f256SRobert Watson
12612e9f256SRobert Watson# Support for Mandatory Access Control (MAC)
12712e9f256SRobert WatsonMAC		opt_mac.h
128f050add5SRobert WatsonMAC_DEBUG	opt_mac.h
12912e9f256SRobert WatsonMAC_NONE	opt_dontuse.h
130a996141fSRobert Watson
131808129f0SPeter Wemm# Do we want the config file compiled into the kernel?
132808129f0SPeter WemmINCLUDE_CONFIG_FILE	opt_config.h
133808129f0SPeter Wemm
134d03b4017SBruce Evans# Options for static filesystems.  These should only be used at config
135d03b4017SBruce Evans# time, since the corresponding lkms cannot work if there are any static
136d03b4017SBruce Evans# dependencies.  Unusability is enforced by hiding the defines for the
137d03b4017SBruce Evans# options in a never-included header.
138bcf77694SPeter WemmCD9660		opt_dontuse.h
139bcf77694SPeter WemmCODA		opt_dontuse.h
140f41991baSEivind EklundEXT2FS		opt_dontuse.h
14199d300a1SRuslan ErmilovFDESCFS		opt_dontuse.h
142dc765d22SDag-Erling SmørgravLINPROCFS	opt_dontuse.h
143f41991baSEivind EklundMSDOSFS		opt_dontuse.h
144d03b4017SBruce EvansNULLFS		opt_dontuse.h
145bcf77694SPeter WemmNWFS		opt_dontuse.h
14699d300a1SRuslan ErmilovPORTALFS	opt_dontuse.h
147d03b4017SBruce EvansPROCFS		opt_dontuse.h
14836b2d3b7SDag-Erling SmørgravPSEUDOFS	opt_dontuse.h
149d03b4017SBruce EvansUMAPFS		opt_dontuse.h
1507e8dac41SSemen UstimenkoNTFS		opt_dontuse.h
1510adb9b96SPeter WemmHPFS		opt_dontuse.h
152fbfee3f6SJohn BaldwinSMBFS		opt_dontuse.h
15399d300a1SRuslan ErmilovUNIONFS		opt_dontuse.h
154df263cbdSScott LongUDF		opt_dontuse.h
155d03b4017SBruce Evans
15661a42370SPeter Wemm# Broken - ffs_snapshot() dependency from ufs_lookup() :-(
15761a42370SPeter WemmFFS		opt_ffs_broken_fixme.h
15861a42370SPeter Wemm
1597b778b5eSEivind Eklund# These static filesystems has one slightly bogus static dependency in
1607b778b5eSEivind Eklund# sys/i386/i386/autoconf.c.  If any of these filesystems are
1617b778b5eSEivind Eklund# statically compiled into the kernel, code for mounting them as root
162bcf77694SPeter Wemm# filesystems will be enabled - but look below.
163eb25edbdSPeter WemmNFSCLIENT	opt_nfs.h
164eb25edbdSPeter WemmNFSSERVER	opt_nfs.h
1655a9714deSJoerg Wunsch
166b1897c19SJulian Elischer# If you are following the conditions in the copyright,
167b1897c19SJulian Elischer# you can enable soft-updates which will speed up a lot of thigs
168b1897c19SJulian Elischer# and make the system safer from crashes at the same time.
169b1897c19SJulian Elischer# otherwise a STUB module will be compiled in.
170b1897c19SJulian ElischerSOFTUPDATES	opt_ffs.h
171b1897c19SJulian Elischer
172a70f2747SRobert Watson# Enabling this option turns on support for Access Control Lists in UFS,
173a70f2747SRobert Watson# which can be used to support high security configurations.  Depends on
174a70f2747SRobert Watson# UFS_EXTATTR.
175a70f2747SRobert WatsonUFS_ACL		opt_ufs.h
176a70f2747SRobert Watson
177516081f2SRobert Watson# Enabling this option turns on support for extended attributes in UFS-based
178516081f2SRobert Watson# filesystems, which can be used to support high security configurations
179a64ed089SRobert Watson# as well as new filesystem features.
180516081f2SRobert WatsonUFS_EXTATTR	opt_ufs.h
181516081f2SRobert WatsonUFS_EXTATTR_AUTOSTART	opt_ufs.h
182a64ed089SRobert Watson
1839b5ad47fSIan Dowse# Enable fast hash lookups for large directories on UFS-based filesystems.
1849b5ad47fSIan DowseUFS_DIRHASH	opt_ufs.h
1859b5ad47fSIan Dowse
1867b778b5eSEivind Eklund# The above static dependencies are planned removed, with a
1877b778b5eSEivind Eklund# <filesystem>_ROOT option to control if it usable as root.  This list
1887b778b5eSEivind Eklund# allows these options to be present in config files already (though
1897b778b5eSEivind Eklund# they won't make any difference yet).
190df394affSJohn-Mark GurneyNFS_ROOT	opt_nfsroot.h
1917b778b5eSEivind Eklund
192fbfee3f6SJohn Baldwin# SMB/CIFS requester
193fbfee3f6SJohn BaldwinNETSMB			opt_netsmb.h
194fbfee3f6SJohn BaldwinNETSMBCRYPTO		opt_netsmb.h
195fbfee3f6SJohn Baldwin
196f74654deSPeter Wemm# Options used only in subr_param.c.
19734f3320eSKenjiro ChoHZ		opt_param.h
1985a00f364SDag-Erling SmørgravMAXFILES	opt_param.h
1993d20a1ffSBruce EvansNBUF		opt_param.h
2004bd49128SPeter WemmNMBCLUSTERS	opt_param.h
201dd0b2081SDavid GreenmanNSFBUFS		opt_param.h
2022f9e4e80SMatthew DillonVM_BCACHE_SIZE_MAX	opt_param.h
2032f9e4e80SMatthew DillonVM_SWZONE_SIZE_MAX	opt_param.h
204f74654deSPeter WemmMAXUSERS
205cbc89bfbSPaul SaabDFLDSIZ		opt_param.h
206cbc89bfbSPaul SaabMAXDSIZ		opt_param.h
207cbc89bfbSPaul SaabMAXSSIZ		opt_param.h
20881fc841cSBruce Evans
20981fc841cSBruce Evans# Generic SCSI options.
210bf21c633SJustin T. GibbsCAM_MAX_HIGHPOWER	opt_cam.h
211bf21c633SJustin T. GibbsCAMDEBUG		opt_cam.h
212da56bbefSJustin T. GibbsCAM_DEBUG_DELAY		opt_cam.h
213bf21c633SJustin T. GibbsCAM_DEBUG_BUS		opt_cam.h
214bf21c633SJustin T. GibbsCAM_DEBUG_TARGET	opt_cam.h
215bf21c633SJustin T. GibbsCAM_DEBUG_LUN		opt_cam.h
216bf21c633SJustin T. GibbsCAM_DEBUG_FLAGS		opt_cam.h
217d73ce756SMatt JacobCAM_NEW_TRAN_CODE	opt_cam.h
2183d20a1ffSBruce EvansSCSI_DELAY		opt_scsi.h
219bf21c633SJustin T. GibbsSCSI_NO_SENSE_STRINGS	opt_scsi.h
220bf21c633SJustin T. GibbsSCSI_NO_OP_STRINGS	opt_scsi.h
221bf21c633SJustin T. Gibbs
222d73ce756SMatt Jacob
223d73ce756SMatt Jacob
224bf21c633SJustin T. Gibbs# Options used only in cam/scsi/scsi_cd.c
225bf21c633SJustin T. GibbsCHANGER_MIN_BUSY_SECONDS	opt_cd.h
226bf21c633SJustin T. GibbsCHANGER_MAX_BUSY_SECONDS	opt_cd.h
22781fc841cSBruce Evans
2283ece1bd2SKenneth D. Merry# Options used only in cam/scsi/scsi_sa.c.
229b29f9e40SMatt JacobSA_IO_TIMEOUT		opt_sa.h
2309dfb4471SKenneth D. MerrySA_SPACE_TIMEOUT	opt_sa.h
2319dfb4471SKenneth D. MerrySA_REWIND_TIMEOUT	opt_sa.h
2329dfb4471SKenneth D. MerrySA_ERASE_TIMEOUT	opt_sa.h
233cb02c78aSMatt JacobSA_1FM_AT_EOD		opt_sa.h
234c30bc9dbSJoerg Wunsch
2353ece1bd2SKenneth D. Merry# Options used only in cam/scsi/scsi_pt.c
2363ece1bd2SKenneth D. MerrySCSI_PT_DEFAULT_TIMEOUT	opt_pt.h
2373ece1bd2SKenneth D. Merry
23852e48164SMatt Jacob# Options used only in cam/scsi/scsi_ses.c
23952e48164SMatt JacobSES_ENABLE_PASSTHROUGH	opt_ses.h
24052e48164SMatt Jacob
241410605d1SDavid E. O'Brien# Options used in dev/sym/ (Symbios SCSI driver).
242410605d1SDavid E. O'BrienSYM_SETUP_LP_PROBE_MAP	opt_sym.h	#-Low Priority Probe Map (bits)
243410605d1SDavid E. O'Brien					# Allows the ncr to take precedence
244410605d1SDavid E. O'Brien					# 1 (1<<0) -> 810a, 860
245410605d1SDavid E. O'Brien					# 2 (1<<1) -> 825a, 875, 885, 895
246410605d1SDavid E. O'Brien					# 4 (1<<2) -> 895a, 896, 1510d
247410605d1SDavid E. O'BrienSYM_SETUP_SCSI_DIFF	opt_sym.h	#-HVD support for 825a, 875, 885
248410605d1SDavid E. O'Brien					# disabled:0 (default), enabled:1
249410605d1SDavid E. O'BrienSYM_SETUP_PCI_PARITY	opt_sym.h	#-PCI parity checking
250410605d1SDavid E. O'Brien					# disabled:0, enabled:1 (default)
251410605d1SDavid E. O'BrienSYM_SETUP_MAX_LUN	opt_sym.h	#-Number of LUNs supported
252410605d1SDavid E. O'Brien					# default:8, range:[1..64]
253410605d1SDavid E. O'Brien
25421ffa5aeSStefan Eßer# Options used only in pci/ncr.c
2553d20a1ffSBruce EvansSCSI_NCR_DEBUG		opt_ncr.h
256a5bef142SBruce EvansSCSI_NCR_MAX_SYNC	opt_ncr.h
257a5bef142SBruce EvansSCSI_NCR_MAX_WIDE	opt_ncr.h
2583d20a1ffSBruce EvansSCSI_NCR_MYADDR		opt_ncr.h
25921ffa5aeSStefan Eßer
260355904d5SMatt Jacob# Options used only in dev/isp/*
26173e1de92SMatt JacobISP_TARGET_MODE		opt_isp.h
262355904d5SMatt JacobISP_FW_CRASH_DUMP	opt_isp.h
2633fc2ba4dSMatt Jacob
2641a2d9854SSøren Schmidt# Options used in the 'ata' ATA/ATAPI driver
2651a2d9854SSøren SchmidtATA_STATIC_ID		opt_ata.h
266b5d0be89SPeter WemmATA_NOPCI		opt_ata.h
267358f1800SPeter WemmDEV_ATADISK		opt_ata.h
268358f1800SPeter WemmDEV_ATAPICD		opt_ata.h
269358f1800SPeter WemmDEV_ATAPIST		opt_ata.h
270358f1800SPeter WemmDEV_ATAPIFD		opt_ata.h
271fd4b4eccSSøren SchmidtDEV_ATAPICAM		opt_ata.h
272fd4b4eccSSøren SchmidtATA_DEBUG		opt_ata.h
273fd4b4eccSSøren SchmidtATAPI_DEBUG		opt_ata.h
274fd4b4eccSSøren SchmidtACD_DEBUG		opt_ata.h
275fd4b4eccSSøren SchmidtAST_DEBUG		opt_ata.h
2761a2d9854SSøren Schmidt
27781fc841cSBruce Evans# Net stuff.
278a79b7128SAlfred PerlsteinACCEPT_FILTER_DATA
279a79b7128SAlfred PerlsteinACCEPT_FILTER_HTTP
280e4f4247aSEivind EklundBOOTP			opt_bootp.h
281e4f4247aSEivind EklundBOOTP_COMPAT		opt_bootp.h
282e4f4247aSEivind EklundBOOTP_NFSROOT		opt_bootp.h
283e4f4247aSEivind EklundBOOTP_NFSV3		opt_bootp.h
2848f7030a7STor EggeBOOTP_WIRED_TO		opt_bootp.h
285508d0661SLuigi RizzoBRIDGE			opt_bdg.h
2865d94d71cSBoris PopovETHER_II		opt_ef.h
2875d94d71cSBoris PopovETHER_8023		opt_ef.h
2885d94d71cSBoris PopovETHER_8022		opt_ef.h
2895d94d71cSBoris PopovETHER_SNAP		opt_ef.h
2904bd49128SPeter WemmMROUTING		opt_mrouting.h
2911d5e9e22SEivind EklundINET			opt_inet.h
292cfa1ca9dSYoshinobu InoueINET6			opt_inet6.h
2936a800098SYoshinobu InoueIPSEC			opt_ipsec.h
2946a800098SYoshinobu InoueIPSEC_ESP		opt_ipsec.h
2956a800098SYoshinobu InoueIPSEC_DEBUG		opt_ipsec.h
296fbd1372aSJoerg WunschIPDIVERT
297508d0661SLuigi RizzoDUMMYNET		opt_ipdn.h
2989cc86ee9SGuido van RooijIPFILTER		opt_ipfilter.h
2999cc86ee9SGuido van RooijIPFILTER_LOG		opt_ipfilter.h
300276dd937SDarren ReedIPFILTER_DEFAULT_BLOCK	opt_ipfilter.h
3010656ae02SDarren ReedPFIL_HOOKS		opt_pfil_hooks.h
30274a9466cSGary PalmerIPFIREWALL		opt_ipfw.h
30374a9466cSGary PalmerIPFIREWALL_VERBOSE	opt_ipfw.h
304fb260479SBruce EvansIPFIREWALL_VERBOSE_LIMIT	opt_ipfw.h
305ffdd472dSPeter WemmIPFIREWALL_DEFAULT_TO_ACCEPT	opt_ipfw.h
306cdcc2613SJulian ElischerIPFIREWALL_FORWARD		opt_ipfw.h
307210d0432SYoshinobu InoueIPV6FIREWALL		opt_ip6fw.h
308210d0432SYoshinobu InoueIPV6FIREWALL_VERBOSE	opt_ip6fw.h
309210d0432SYoshinobu InoueIPV6FIREWALL_VERBOSE_LIMIT	opt_ip6fw.h
310210d0432SYoshinobu InoueIPV6FIREWALL_DEFAULT_TO_ACCEPT	opt_ip6fw.h
3111b968362SDag-Erling SmørgravIPSTEALTH
312430df5f4SEivind EklundIPX			opt_ipx.h
313430df5f4SEivind EklundIPXIP			opt_ipx.h
314430df5f4SEivind EklundIPTUNNEL		opt_ipx.h
315d8589bd5SBoris PopovLIBMCHAIN
316e83e2322SBoris PopovNCP			opt_ncp.h
3177262d3e4SEivind EklundNETATALK		opt_atalk.h
31813c49711SPeter WemmPPP_BSDCOMP		opt_ppp.h
31913c49711SPeter WemmPPP_DEFLATE		opt_ppp.h
320d41238deSPeter WemmPPP_FILTER		opt_ppp.h
32164dddc18SKris KennawayRANDOM_IP_ID
322875f3161SDag-Erling SmørgravSLIP_IFF_OPTS		opt_slip.h
3230cc12cc5SJoerg WunschTCPDEBUG
324e46cd3d4SDag-Erling SmørgravTCP_DROP_SYNFIN		opt_tcp_input.h
325914594eaSKris KennawayXBONEHACK
3263458e54aSJulian Elischer
3274cf49a43SJulian Elischer# Netgraph(4). Use option NETGRAPH to enable the base netgraph code.
3284cf49a43SJulian Elischer# Each netgraph node type can be either be compiled into the kernel
3294cf49a43SJulian Elischer# or loaded dynamically. To get the former, include the corresponding
330ed2dbd31SArchie Cobbs# option below. Each type has its own man page, e.g. ng_async(4).
3314cf49a43SJulian ElischerNETGRAPH
3324cf49a43SJulian ElischerNETGRAPH_ASYNC		opt_netgraph.h
33392a3e552SArchie CobbsNETGRAPH_BPF		opt_netgraph.h
334ed2dbd31SArchie CobbsNETGRAPH_BRIDGE		opt_netgraph.h
3354cf49a43SJulian ElischerNETGRAPH_CISCO		opt_netgraph.h
3364cf49a43SJulian ElischerNETGRAPH_ECHO		opt_netgraph.h
337e1e1452dSArchie CobbsNETGRAPH_ETHER		opt_netgraph.h
3384cf49a43SJulian ElischerNETGRAPH_FRAME_RELAY	opt_netgraph.h
33994408d94SBrooks DavisNETGRAPH_GIF		opt_netgraph.h
34094408d94SBrooks DavisNETGRAPH_GIF_DEMUX	opt_netgraph.h
3414cf49a43SJulian ElischerNETGRAPH_HOLE		opt_netgraph.h
3424cf49a43SJulian ElischerNETGRAPH_IFACE		opt_netgraph.h
343c2eed105SBrooks DavisNETGRAPH_IP_INPUT	opt_netgraph.h
3446e874711SArchie CobbsNETGRAPH_KSOCKET	opt_netgraph.h
3454cf49a43SJulian ElischerNETGRAPH_LMI		opt_netgraph.h
346901fadf7SArchie CobbsNETGRAPH_L2TP		opt_netgraph.h
347a2b408adSArchie Cobbs# MPPC compression requires proprietary files (not included)
348a2b408adSArchie CobbsNETGRAPH_MPPC_COMPRESSION	opt_netgraph.h
349a2b408adSArchie CobbsNETGRAPH_MPPC_ENCRYPTION	opt_netgraph.h
3507d7a5b89SArchie CobbsNETGRAPH_ONE2MANY	opt_netgraph.h
3516827c8feSArchie CobbsNETGRAPH_PPP		opt_netgraph.h
3526827c8feSArchie CobbsNETGRAPH_PPPOE		opt_netgraph.h
353add85a1dSArchie CobbsNETGRAPH_PPTPGRE	opt_netgraph.h
3544cf49a43SJulian ElischerNETGRAPH_RFC1490	opt_netgraph.h
3554cf49a43SJulian ElischerNETGRAPH_SOCKET		opt_netgraph.h
3564d60fee2SBrooks DavisNETGRAPH_SPLIT		opt_netgraph.h
3574cf49a43SJulian ElischerNETGRAPH_TEE		opt_netgraph.h
3584cf49a43SJulian ElischerNETGRAPH_TTY		opt_netgraph.h
3594cf49a43SJulian ElischerNETGRAPH_UI		opt_netgraph.h
36006e36c4dSJulian ElischerNETGRAPH_VJC		opt_netgraph.h
3614cf49a43SJulian Elischer
36267a2a28fSEric Anholt# DRM options
36367a2a28fSEric AnholtDRM_LINUX		opt_drm.h
36467a2a28fSEric AnholtDRM_DEBUG		opt_drm.h
36567a2a28fSEric Anholt
36698cb733cSKenneth D. Merry
36798cb733cSKenneth D. MerryZERO_COPY_SOCKETS	opt_zero.h
36898cb733cSKenneth D. MerryTI_PRIVATE_JUMBOS	opt_ti.h
36998cb733cSKenneth D. MerryTI_JUMBO_HDRSPLIT	opt_ti.h
37098cb733cSKenneth D. Merry
3713f8c4506SPoul-Henning Kamp# ATM (HARP version)
3723f8c4506SPoul-Henning KampATM_CORE		opt_atm.h
3733f8c4506SPoul-Henning KampATM_IP			opt_atm.h
3743f8c4506SPoul-Henning KampATM_SIGPVC		opt_atm.h
3753f8c4506SPoul-Henning KampATM_SPANS		opt_atm.h
3763f8c4506SPoul-Henning KampATM_UNI			opt_atm.h
3773f8c4506SPoul-Henning Kamp
378e0d781f3SEivind Eklund# XXX Conflict: # of devices vs network protocol (Native ATM).
379e0d781f3SEivind Eklund# This makes "atm.h" unusable.
380e0d781f3SEivind EklundNATM			opt_natm.h
381e0d781f3SEivind Eklund
382528784edSJustin T. GibbsDPT_ALLOW_MEMIO		opt_dpt.h	# Allow PCI devices to use memory
383528784edSJustin T. Gibbs					# mapped I/O
3843458e54aSJulian Elischer# DPT driver debug flags
3853458e54aSJulian ElischerDPT_MEASURE_PERFORMANCE	opt_dpt.h
3863458e54aSJulian ElischerDPT_HANDLE_TIMEOUTS	opt_dpt.h
3873458e54aSJulian ElischerDPT_TIMEOUT_FACTOR	opt_dpt.h
3883458e54aSJulian ElischerDPT_LOST_IRQ		opt_dpt.h
389b755b885SEivind EklundDPT_RESET_HBA		opt_dpt.h
3903f2076daSEivind Eklund
391444476fdSMike Smith# Adaptec ASR and DPT V/VI controller options
392444476fdSMike SmithASR_MEASURE_PERFORMANCE	opt_asr.h
393444476fdSMike Smith
3943f2076daSEivind Eklund# Misc debug flags.  Most of these should probably be replaced with
3953f2076daSEivind Eklund# 'DEBUG', and then let people recompile just the interesting modules
396fdf94d1aSNicolas Souchu# with 'make CC="cc -DDEBUG"'.
3973f2076daSEivind EklundCLUSTERDEBUG		opt_debug_cluster.h
398a6de7b79SNicolas SouchuDEBUG_1284		opt_ppb_1284.h
399a6de7b79SNicolas SouchuVP0_DEBUG		opt_vpo.h
400fdf94d1aSNicolas SouchuLPT_DEBUG		opt_lpt.h
4017b7bf77eSNicolas SouchuPLIP_DEBUG		opt_plip.h
4023f2076daSEivind EklundLOCKF_DEBUG		opt_debug_lockf.h
4033f2076daSEivind EklundNPX_DEBUG		opt_debug_npx.h
4043f2076daSEivind EklundNETATALKDEBUG		opt_atalk.h
4053f2076daSEivind EklundSI_DEBUG		opt_debug_si.h
4063f2076daSEivind Eklund
407909232c4SEivind Eklund# Fb options
408909232c4SEivind EklundFB_DEBUG		opt_fb.h
409909232c4SEivind EklundFB_INSTALL_CDEV		opt_fb.h
410909232c4SEivind Eklund
41104fb1490SNicolas Souchu# ppbus related options
41204fb1490SNicolas SouchuPERIPH_1284		opt_ppb_1284.h
41304fb1490SNicolas SouchuDONTPROBE_1284		opt_ppb_1284.h
41404fb1490SNicolas Souchu
41504fb1490SNicolas Souchu# smbus related options
41604fb1490SNicolas SouchuENABLE_ALART		opt_intpm.h
4173f2076daSEivind Eklund
41814834de4SEivind Eklund# These cause changes all over the kernel
419909232c4SEivind EklundBLKDEV_IOSIZE		opt_global.h
42014834de4SEivind EklundDEBUG			opt_global.h
42115a1057cSEivind EklundDEBUG_LOCKS		opt_global.h
4225526d2d9SEivind EklundDEBUG_VFS_LOCKS		opt_global.h
4230e2d6cc8SJeff RobersonLOOKUP_SHARED		opt_global.h
42414834de4SEivind EklundDIAGNOSTIC		opt_global.h
425b1a7842bSJohn DysonENABLE_VFS_IOOPT	opt_global.h
42634b15f2aSJohn BaldwinINVARIANT_SUPPORT	opt_global.h
4275526d2d9SEivind EklundINVARIANTS		opt_global.h
4282c8f5a28SKenneth D. MerryMCLSHIFT		opt_global.h
4292c8f5a28SKenneth D. MerryMSIZE			opt_global.h
4300b5438c6SRobert WatsonREGRESSION		opt_global.h
4311432aa0cSJohn BaldwinRESTARTABLE_PANICS	opt_global.h
4325526d2d9SEivind EklundVFS_BIO_DEBUG		opt_global.h
433d9bed5beSJohn Dyson
434d9bed5beSJohn Dyson# These are VM related options
435d9bed5beSJohn DysonVM_KMEM_SIZE		opt_vm.h
436d9bed5beSJohn DysonVM_KMEM_SIZE_SCALE	opt_vm.h
437d9bed5beSJohn DysonVM_KMEM_SIZE_MAX	opt_vm.h
438faa5f8d8SAndrzej BialeckiNO_SWAPPING		opt_vm.h
439a59f8b9eSJeff RobersonMALLOC_PROFILE		opt_vm.h
44020f71813SJohn-Mark GurneyPQ_NOOPT		opt_vmpage.h
44120f71813SJohn-Mark GurneyPQ_NORMALCACHE		opt_vmpage.h
44220f71813SJohn-Mark GurneyPQ_MEDIUMCACHE		opt_vmpage.h
44320f71813SJohn-Mark GurneyPQ_LARGECACHE		opt_vmpage.h
44420f71813SJohn-Mark GurneyPQ_HUGECACHE		opt_vmpage.h
4459a20f99aSJohn BaldwinPQ_CACHESIZE		opt_vmpage.h
44620f71813SJohn-Mark Gurney
447ecd19816SMike Smith# Standard SMP options
448ecd19816SMike SmithSMP			opt_global.h
449751bf650SJun-ichiro itojun Hagino
45058067a99SPoul-Henning Kamp# Size of the kernel message buffer
45158067a99SPoul-Henning KampMSGBUF_SIZE		opt_msgbuf.h
452ecbb00a2SDoug Rabson
453e261d589SJohn-Mark Gurney# PCI related options
4547a852c22SWarner LoshPCI_ALLOW_UNSUPPORTED_IO_RANGE	opt_pci.h
455e261d589SJohn-Mark Gurney
456df394affSJohn-Mark Gurney# NFS options
457df394affSJohn-Mark GurneyNFS_MINATTRTIMO		opt_nfs.h
458df394affSJohn-Mark GurneyNFS_MAXATTRTIMO		opt_nfs.h
459df394affSJohn-Mark GurneyNFS_MINDIRATTRTIMO	opt_nfs.h
460df394affSJohn-Mark GurneyNFS_MAXDIRATTRTIMO	opt_nfs.h
461df394affSJohn-Mark GurneyNFS_GATHERDELAY		opt_nfs.h
462df394affSJohn-Mark GurneyNFS_WDELAYHASHSIZ	opt_nfs.h
463df394affSJohn-Mark GurneyNFS_DEBUG		opt_nfs.h
464df394affSJohn-Mark Gurney
46524e89aa8SRoger Hardiman# For the Bt848/Bt848A/Bt849/Bt878/Bt879 driver
4665cd2d295SRoger HardimanOVERRIDE_CARD			opt_bktr.h
4675cd2d295SRoger HardimanOVERRIDE_TUNER			opt_bktr.h
4685cd2d295SRoger HardimanOVERRIDE_DBX			opt_bktr.h
4695cd2d295SRoger HardimanOVERRIDE_MSP			opt_bktr.h
4705cd2d295SRoger HardimanBROOKTREE_SYSTEM_DEFAULT	opt_bktr.h
47163883894SRoger HardimanBROOKTREE_ALLOC_PAGES		opt_bktr.h
47263883894SRoger HardimanBKTR_OVERRIDE_CARD		opt_bktr.h
47363883894SRoger HardimanBKTR_OVERRIDE_TUNER		opt_bktr.h
47463883894SRoger HardimanBKTR_OVERRIDE_DBX		opt_bktr.h
47563883894SRoger HardimanBKTR_OVERRIDE_MSP		opt_bktr.h
47663883894SRoger HardimanBKTR_SYSTEM_DEFAULT		opt_bktr.h
47763883894SRoger HardimanBKTR_ALLOC_PAGES		opt_bktr.h
4785cd2d295SRoger HardimanBKTR_USE_PLL			opt_bktr.h
4795cd2d295SRoger HardimanBKTR_GPIO_ACCESS		opt_bktr.h
4805cd2d295SRoger HardimanBKTR_NO_MSP_RESET		opt_bktr.h
4815cd2d295SRoger HardimanBKTR_430_FX_MODE		opt_bktr.h
4825cd2d295SRoger HardimanBKTR_SIS_VIA_MODE		opt_bktr.h
483c17d4340SNicolas SouchuBKTR_USE_FREEBSD_SMBUS		opt_bktr.h
48458dde31aSSøren Schmidt
485afc2d1c7SJordan K. Hubbard# meteor opt_meteor.h
486afc2d1c7SJordan K. HubbardMETEOR_ALLOC_PAGES	opt_meteor.h
487afc2d1c7SJordan K. HubbardMETEOR_TEST_VIDEO	opt_meteor.h
488afc2d1c7SJordan K. HubbardMETEOR_SYSTEM_DEFAULT	opt_meteor.h
489afc2d1c7SJordan K. HubbardMETEOR_DEALLOC_PAGES	opt_meteor.h
490afc2d1c7SJordan K. HubbardMETEOR_DEALLOC_ABOVE	opt_meteor.h
491afc2d1c7SJordan K. Hubbard
4926f42b336SPeter Wemm# Various mi ISA bus flags
4936f42b336SPeter WemmCOM_ESP			opt_sio.h
4946f42b336SPeter WemmCOM_MULTIPORT		opt_sio.h
495909232c4SEivind EklundBREAK_TO_DEBUGGER	opt_comconsole.h
49626b6ea69SPaul SaabALT_BREAK_TO_DEBUGGER	opt_comconsole.h
49703927d3cSPeter WemmDEV_ISA			opt_isa.h
4986f42b336SPeter Wemm
499ecbb00a2SDoug Rabson# Include tweaks for running under the SimOS machine simulator.
500ecbb00a2SDoug RabsonSIMOS			opt_simos.h
501709f2df6SDoug Rabson
502709f2df6SDoug Rabson# options for bus/device framework
503709f2df6SDoug RabsonBUS_DEBUG		opt_bus.h
5040cec007cSNick Hibma
5050cec007cSNick Hibma# options for USB support
5067dc1a5bdSNick HibmaUHCI_DEBUG		opt_usb.h
5077dc1a5bdSNick HibmaOHCI_DEBUG		opt_usb.h
5080cec007cSNick HibmaUSB_DEBUG		opt_usb.h
5097dc1a5bdSNick HibmaUGEN_DEBUG		opt_usb.h
5107dc1a5bdSNick HibmaUHID_DEBUG		opt_usb.h
5117dc1a5bdSNick HibmaUHUB_DEBUG		opt_usb.h
5127dc1a5bdSNick HibmaUKBD_DEBUG		opt_usb.h
5137dc1a5bdSNick HibmaULPT_DEBUG		opt_usb.h
5145628cc31SNick HibmaUMASS_DEBUG		opt_usb.h
5157dc1a5bdSNick HibmaUMS_DEBUG		opt_usb.h
516e2dbd15fSNick HibmaURIO_DEBUG		opt_usb.h
517f548daf0SJohn BaldwinUKBD_DFLT_KEYMAP	opt_ukbd.h
518a9d45962SPeter Wemm
519a9d45962SPeter Wemm# Vinum options
520a9d45962SPeter WemmVINUMDEBUG		opt_vinum.h
5219775e378SJohn Birrell
5229775e378SJohn Birrell# Embedded system options
5239775e378SJohn BirrellINIT_PATH		opt_init_path.h
524b307e58fSPoul-Henning Kamp
525b307e58fSPoul-Henning KampROOTDEVNAME		opt_rootdevname.h
526814ce988SDoug Rabson
527814ce988SDoug RabsonFDC_DEBUG		opt_fdc.h
5283b2d592cSJordan K. HubbardPCFCLOCK_VERBOSE	opt_pcfclock.h
5293b2d592cSJordan K. HubbardPCFCLOCK_MAX_RETRIES	opt_pcfclock.h
5309147e09eSColeman KaneTDFX_LINUX opt_tdfx.h
531b1f12b61STakanori Watanabe
5320384fff8SJason EvansKTR			opt_global.h
533d8f03321SJohn BaldwinKTR_MASK		opt_ktr.h
534d8f03321SJohn BaldwinKTR_CPUMASK		opt_ktr.h
5350384fff8SJason EvansKTR_COMPILE		opt_global.h
5360384fff8SJason EvansKTR_ENTRIES		opt_global.h
537d8f03321SJohn BaldwinKTR_VERBOSE		opt_ktr.h
53836412d79SJohn BaldwinMUTEX_DEBUG		opt_global.h
5390384fff8SJason EvansWITNESS			opt_global.h
540660d1e3aSJohn BaldwinWITNESS_DDB		opt_witness.h
541660d1e3aSJohn BaldwinWITNESS_SKIPSPIN	opt_witness.h
5420384fff8SJason Evans
543b1f12b61STakanori Watanabe# options for ACPI support
544b1f12b61STakanori WatanabeACPI_DEBUG		opt_acpi.h
545c573e654SMitsuru IWASAKIACPI_NO_SEMAPHORES	opt_acpi.h
546c573e654SMitsuru IWASAKIACPI_MAX_THREADS	opt_acpi.h
54793bcdfe2SPoul-Henning Kamp
54893bcdfe2SPoul-Henning Kamp# options for DEVFS, see sys/fs/devfs/devfs.h
54993bcdfe2SPoul-Henning KampNDEVFSINO		opt_devfs.h
55093bcdfe2SPoul-Henning KampNDEVFSOVERFLOW		opt_devfs.h
551810d0bd1SPeter Wemm
552810d0bd1SPeter Wemm# various 'device presence' options.
553f444a0efSPeter WemmDEV_MCA			opt_mca.h
5545bb5f2c9SPeter WemmDEV_BPF			opt_bpf.h
5559b04180cSIan Dowse
5569b04180cSIan Dowse# ed driver
5579b04180cSIan DowseED_NO_MIIBUS		opt_ed.h
5580483b1a8SAndrew Gallatin
559073eef8cSWarner Losh# wi driver
560073eef8cSWarner LoshWI_SYMBOL_FIRMWARE	opt_wi.h
561073eef8cSWarner Losh
5620483b1a8SAndrew Gallatin# Polling device handling
5630483b1a8SAndrew GallatinDEVICE_POLLING		opt_global.h
5646c35e809SDag-Erling Smørgrav
5656c35e809SDag-Erling Smørgrav# Mutex profiling
5666c35e809SDag-Erling SmørgravMUTEX_PROFILING		opt_global.h
567073eef8cSWarner Losh
568