xref: /freebsd/sys/conf/options (revision 404b3dcf21bce841b6be20b86791c8b7182299d4)
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
893d20a1ffSBruce EvansQUOTA
90cecc50bcSEivind EklundSPX_HACK
91f71bb3a1SEivind EklundSUIDDIR		opt_suiddir.h
923d20a1ffSBruce EvansSYSVMSG		opt_sysvipc.h
933d20a1ffSBruce EvansSYSVSEM		opt_sysvipc.h
943d20a1ffSBruce EvansSYSVSHM		opt_sysvipc.h
95255108f3SPeter WemmSHMALL		opt_sysvipc.h
96255108f3SPeter WemmSHMMAX		opt_sysvipc.h
97255108f3SPeter WemmSHMMAXPGS	opt_sysvipc.h
98255108f3SPeter WemmSHMMIN		opt_sysvipc.h
99255108f3SPeter WemmSHMMNI		opt_sysvipc.h
100255108f3SPeter WemmSHMSEG		opt_sysvipc.h
101ab063af9SPeter WemmSEMMAP		opt_sysvipc.h
102ab063af9SPeter WemmSEMMNI		opt_sysvipc.h
103ab063af9SPeter WemmSEMMNS		opt_sysvipc.h
104ab063af9SPeter WemmSEMMNU		opt_sysvipc.h
105ab063af9SPeter WemmSEMMSL		opt_sysvipc.h
106ab063af9SPeter WemmSEMOPM		opt_sysvipc.h
107ab063af9SPeter WemmSEMUME		opt_sysvipc.h
108ab063af9SPeter WemmMSGMNB		opt_sysvipc.h
109ab063af9SPeter WemmMSGMNI		opt_sysvipc.h
110ab063af9SPeter WemmMSGSEG		opt_sysvipc.h
111ab063af9SPeter WemmMSGSSZ		opt_sysvipc.h
112ab063af9SPeter WemmMSGTQL		opt_sysvipc.h
113dd85920aSJason EvansVFS_AIO
11497fef0a1SJohn BaldwinWLCACHE		opt_wavelan.h
11597fef0a1SJohn BaldwinWLDEBUG		opt_wavelan.h
116d03b4017SBruce Evans
1178a6472b7SPeter Dufault# POSIX kernel options
1188a6472b7SPeter DufaultP1003_1B			opt_posix.h
1198a6472b7SPeter Dufault_KPOSIX_PRIORITY_SCHEDULING	opt_posix.h
1208a6472b7SPeter Dufault_KPOSIX_VERSION			opt_posix.h
121917e476dSPeter Dufault
122a996141fSRobert Watson# TrustedBSD and POSIX.1e Kernel Options
123a996141fSRobert Watson
124808129f0SPeter Wemm# Do we want the config file compiled into the kernel?
125808129f0SPeter WemmINCLUDE_CONFIG_FILE	opt_config.h
126808129f0SPeter Wemm
127d03b4017SBruce Evans# Options for static filesystems.  These should only be used at config
128d03b4017SBruce Evans# time, since the corresponding lkms cannot work if there are any static
129d03b4017SBruce Evans# dependencies.  Unusability is enforced by hiding the defines for the
130d03b4017SBruce Evans# options in a never-included header.
131bcf77694SPeter WemmCD9660		opt_dontuse.h
132bcf77694SPeter WemmCODA		opt_dontuse.h
133f41991baSEivind EklundEXT2FS		opt_dontuse.h
13499d300a1SRuslan ErmilovFDESCFS		opt_dontuse.h
135dc765d22SDag-Erling SmørgravLINPROCFS	opt_dontuse.h
136f41991baSEivind EklundMSDOSFS		opt_dontuse.h
137d03b4017SBruce EvansNULLFS		opt_dontuse.h
138bcf77694SPeter WemmNWFS		opt_dontuse.h
13999d300a1SRuslan ErmilovPORTALFS	opt_dontuse.h
140d03b4017SBruce EvansPROCFS		opt_dontuse.h
14136b2d3b7SDag-Erling SmørgravPSEUDOFS	opt_dontuse.h
142d03b4017SBruce EvansUMAPFS		opt_dontuse.h
1437e8dac41SSemen UstimenkoNTFS		opt_dontuse.h
1440adb9b96SPeter WemmHPFS		opt_dontuse.h
14599d300a1SRuslan ErmilovUNIONFS		opt_dontuse.h
146df263cbdSScott LongUDF		opt_dontuse.h
147d03b4017SBruce Evans
14861a42370SPeter Wemm# Broken - ffs_snapshot() dependency from ufs_lookup() :-(
14961a42370SPeter WemmFFS		opt_ffs_broken_fixme.h
15061a42370SPeter Wemm
1517b778b5eSEivind Eklund# These static filesystems has one slightly bogus static dependency in
1527b778b5eSEivind Eklund# sys/i386/i386/autoconf.c.  If any of these filesystems are
1537b778b5eSEivind Eklund# statically compiled into the kernel, code for mounting them as root
154bcf77694SPeter Wemm# filesystems will be enabled - but look below.
155eb25edbdSPeter WemmNFSCLIENT	opt_nfs.h
156eb25edbdSPeter WemmNFSSERVER	opt_nfs.h
1575a9714deSJoerg Wunsch
158b1897c19SJulian Elischer# If you are following the conditions in the copyright,
159b1897c19SJulian Elischer# you can enable soft-updates which will speed up a lot of thigs
160b1897c19SJulian Elischer# and make the system safer from crashes at the same time.
161b1897c19SJulian Elischer# otherwise a STUB module will be compiled in.
162b1897c19SJulian ElischerSOFTUPDATES	opt_ffs.h
163b1897c19SJulian Elischer
164a70f2747SRobert Watson# Enabling this option turns on support for Access Control Lists in UFS,
165a70f2747SRobert Watson# which can be used to support high security configurations.  Depends on
166a70f2747SRobert Watson# UFS_EXTATTR.
167a70f2747SRobert WatsonUFS_ACL		opt_ufs.h
168a70f2747SRobert Watson
169516081f2SRobert Watson# Enabling this option turns on support for extended attributes in UFS-based
170516081f2SRobert Watson# filesystems, which can be used to support high security configurations
171a64ed089SRobert Watson# as well as new filesystem features.
172516081f2SRobert WatsonUFS_EXTATTR	opt_ufs.h
173516081f2SRobert WatsonUFS_EXTATTR_AUTOSTART	opt_ufs.h
174a64ed089SRobert Watson
1759b5ad47fSIan Dowse# Enable fast hash lookups for large directories on UFS-based filesystems.
1769b5ad47fSIan DowseUFS_DIRHASH	opt_ufs.h
1779b5ad47fSIan Dowse
1787b778b5eSEivind Eklund# The above static dependencies are planned removed, with a
1797b778b5eSEivind Eklund# <filesystem>_ROOT option to control if it usable as root.  This list
1807b778b5eSEivind Eklund# allows these options to be present in config files already (though
1817b778b5eSEivind Eklund# they won't make any difference yet).
182df394affSJohn-Mark GurneyNFS_ROOT	opt_nfsroot.h
1837b778b5eSEivind Eklund
184f74654deSPeter Wemm# Options used only in subr_param.c.
18534f3320eSKenjiro ChoHZ		opt_param.h
1865a00f364SDag-Erling SmørgravMAXFILES	opt_param.h
1873d20a1ffSBruce EvansNBUF		opt_param.h
1884bd49128SPeter WemmNMBCLUSTERS	opt_param.h
189dd0b2081SDavid GreenmanNSFBUFS		opt_param.h
1902f9e4e80SMatthew DillonVM_BCACHE_SIZE_MAX	opt_param.h
1912f9e4e80SMatthew DillonVM_SWZONE_SIZE_MAX	opt_param.h
192f74654deSPeter WemmMAXUSERS
193cbc89bfbSPaul SaabDFLDSIZ		opt_param.h
194cbc89bfbSPaul SaabMAXDSIZ		opt_param.h
195cbc89bfbSPaul SaabMAXSSIZ		opt_param.h
19681fc841cSBruce Evans
19781fc841cSBruce Evans# Generic SCSI options.
198bf21c633SJustin T. GibbsCAM_MAX_HIGHPOWER	opt_cam.h
199bf21c633SJustin T. GibbsCAMDEBUG		opt_cam.h
200da56bbefSJustin T. GibbsCAM_DEBUG_DELAY		opt_cam.h
201bf21c633SJustin T. GibbsCAM_DEBUG_BUS		opt_cam.h
202bf21c633SJustin T. GibbsCAM_DEBUG_TARGET	opt_cam.h
203bf21c633SJustin T. GibbsCAM_DEBUG_LUN		opt_cam.h
204bf21c633SJustin T. GibbsCAM_DEBUG_FLAGS		opt_cam.h
205d73ce756SMatt JacobCAM_NEW_TRAN_CODE	opt_cam.h
2063d20a1ffSBruce EvansSCSI_DELAY		opt_scsi.h
207bf21c633SJustin T. GibbsSCSI_NO_SENSE_STRINGS	opt_scsi.h
208bf21c633SJustin T. GibbsSCSI_NO_OP_STRINGS	opt_scsi.h
209bf21c633SJustin T. Gibbs
210d73ce756SMatt Jacob
211d73ce756SMatt Jacob
212bf21c633SJustin T. Gibbs# Options used only in cam/scsi/scsi_cd.c
213bf21c633SJustin T. GibbsCHANGER_MIN_BUSY_SECONDS	opt_cd.h
214bf21c633SJustin T. GibbsCHANGER_MAX_BUSY_SECONDS	opt_cd.h
21581fc841cSBruce Evans
2163ece1bd2SKenneth D. Merry# Options used only in cam/scsi/scsi_sa.c.
217b29f9e40SMatt JacobSA_IO_TIMEOUT		opt_sa.h
2189dfb4471SKenneth D. MerrySA_SPACE_TIMEOUT	opt_sa.h
2199dfb4471SKenneth D. MerrySA_REWIND_TIMEOUT	opt_sa.h
2209dfb4471SKenneth D. MerrySA_ERASE_TIMEOUT	opt_sa.h
221cb02c78aSMatt JacobSA_1FM_AT_EOD		opt_sa.h
222c30bc9dbSJoerg Wunsch
2233ece1bd2SKenneth D. Merry# Options used only in cam/scsi/scsi_pt.c
2243ece1bd2SKenneth D. MerrySCSI_PT_DEFAULT_TIMEOUT	opt_pt.h
2253ece1bd2SKenneth D. Merry
22652e48164SMatt Jacob# Options used only in cam/scsi/scsi_ses.c
22752e48164SMatt JacobSES_ENABLE_PASSTHROUGH	opt_ses.h
22852e48164SMatt Jacob
229410605d1SDavid E. O'Brien# Options used in dev/sym/ (Symbios SCSI driver).
230410605d1SDavid E. O'BrienSYM_SETUP_LP_PROBE_MAP	opt_sym.h	#-Low Priority Probe Map (bits)
231410605d1SDavid E. O'Brien					# Allows the ncr to take precedence
232410605d1SDavid E. O'Brien					# 1 (1<<0) -> 810a, 860
233410605d1SDavid E. O'Brien					# 2 (1<<1) -> 825a, 875, 885, 895
234410605d1SDavid E. O'Brien					# 4 (1<<2) -> 895a, 896, 1510d
235410605d1SDavid E. O'BrienSYM_SETUP_SCSI_DIFF	opt_sym.h	#-HVD support for 825a, 875, 885
236410605d1SDavid E. O'Brien					# disabled:0 (default), enabled:1
237410605d1SDavid E. O'BrienSYM_SETUP_PCI_PARITY	opt_sym.h	#-PCI parity checking
238410605d1SDavid E. O'Brien					# disabled:0, enabled:1 (default)
239410605d1SDavid E. O'BrienSYM_SETUP_MAX_LUN	opt_sym.h	#-Number of LUNs supported
240410605d1SDavid E. O'Brien					# default:8, range:[1..64]
241410605d1SDavid E. O'Brien
24221ffa5aeSStefan Eßer# Options used only in pci/ncr.c
2433d20a1ffSBruce EvansSCSI_NCR_DEBUG		opt_ncr.h
244a5bef142SBruce EvansSCSI_NCR_MAX_SYNC	opt_ncr.h
245a5bef142SBruce EvansSCSI_NCR_MAX_WIDE	opt_ncr.h
2463d20a1ffSBruce EvansSCSI_NCR_MYADDR		opt_ncr.h
24721ffa5aeSStefan Eßer
248355904d5SMatt Jacob# Options used only in dev/isp/*
24973e1de92SMatt JacobISP_TARGET_MODE		opt_isp.h
250355904d5SMatt JacobISP_FW_CRASH_DUMP	opt_isp.h
2513fc2ba4dSMatt Jacob
2521a2d9854SSøren Schmidt# Options used in the 'ata' ATA/ATAPI driver
253b41686b9SDag-Erling SmørgravACD_DEBUG		opt_ata.h
254b41686b9SDag-Erling SmørgravAST_DEBUG		opt_ata.h
255b41686b9SDag-Erling SmørgravATAPI_DEBUG		opt_ata.h
256b41686b9SDag-Erling SmørgravATA_DEBUG		opt_ata.h
2571a2d9854SSøren SchmidtATA_STATIC_ID		opt_ata.h
258358f1800SPeter WemmDEV_ATADISK		opt_ata.h
259358f1800SPeter WemmDEV_ATAPICD		opt_ata.h
260358f1800SPeter WemmDEV_ATAPIST		opt_ata.h
261358f1800SPeter WemmDEV_ATAPIFD		opt_ata.h
2621a2d9854SSøren Schmidt
26381fc841cSBruce Evans# Net stuff.
264a79b7128SAlfred PerlsteinACCEPT_FILTER_DATA
265a79b7128SAlfred PerlsteinACCEPT_FILTER_HTTP
266e4f4247aSEivind EklundBOOTP			opt_bootp.h
267e4f4247aSEivind EklundBOOTP_COMPAT		opt_bootp.h
268e4f4247aSEivind EklundBOOTP_NFSROOT		opt_bootp.h
269e4f4247aSEivind EklundBOOTP_NFSV3		opt_bootp.h
2708f7030a7STor EggeBOOTP_WIRED_TO		opt_bootp.h
271508d0661SLuigi RizzoBRIDGE			opt_bdg.h
2725d94d71cSBoris PopovETHER_II		opt_ef.h
2735d94d71cSBoris PopovETHER_8023		opt_ef.h
2745d94d71cSBoris PopovETHER_8022		opt_ef.h
2755d94d71cSBoris PopovETHER_SNAP		opt_ef.h
2764bd49128SPeter WemmMROUTING		opt_mrouting.h
2771d5e9e22SEivind EklundINET			opt_inet.h
278cfa1ca9dSYoshinobu InoueINET6			opt_inet6.h
2796a800098SYoshinobu InoueIPSEC			opt_ipsec.h
2806a800098SYoshinobu InoueIPSEC_ESP		opt_ipsec.h
2816a800098SYoshinobu InoueIPSEC_DEBUG		opt_ipsec.h
282fbd1372aSJoerg WunschIPDIVERT
283508d0661SLuigi RizzoDUMMYNET		opt_ipdn.h
2849cc86ee9SGuido van RooijIPFILTER		opt_ipfilter.h
2859cc86ee9SGuido van RooijIPFILTER_LOG		opt_ipfilter.h
286276dd937SDarren ReedIPFILTER_DEFAULT_BLOCK	opt_ipfilter.h
2870656ae02SDarren ReedPFIL_HOOKS		opt_pfil_hooks.h
28874a9466cSGary PalmerIPFIREWALL		opt_ipfw.h
28974a9466cSGary PalmerIPFIREWALL_VERBOSE	opt_ipfw.h
290fb260479SBruce EvansIPFIREWALL_VERBOSE_LIMIT	opt_ipfw.h
291ffdd472dSPeter WemmIPFIREWALL_DEFAULT_TO_ACCEPT	opt_ipfw.h
292cdcc2613SJulian ElischerIPFIREWALL_FORWARD		opt_ipfw.h
293210d0432SYoshinobu InoueIPV6FIREWALL		opt_ip6fw.h
294210d0432SYoshinobu InoueIPV6FIREWALL_VERBOSE	opt_ip6fw.h
295210d0432SYoshinobu InoueIPV6FIREWALL_VERBOSE_LIMIT	opt_ip6fw.h
296210d0432SYoshinobu InoueIPV6FIREWALL_DEFAULT_TO_ACCEPT	opt_ip6fw.h
2971b968362SDag-Erling SmørgravIPSTEALTH
298430df5f4SEivind EklundIPX			opt_ipx.h
299430df5f4SEivind EklundIPXIP			opt_ipx.h
300430df5f4SEivind EklundIPTUNNEL		opt_ipx.h
301d8589bd5SBoris PopovLIBMCHAIN
302e83e2322SBoris PopovNCP			opt_ncp.h
3037262d3e4SEivind EklundNETATALK		opt_atalk.h
30413c49711SPeter WemmPPP_BSDCOMP		opt_ppp.h
30513c49711SPeter WemmPPP_DEFLATE		opt_ppp.h
306d41238deSPeter WemmPPP_FILTER		opt_ppp.h
30764dddc18SKris KennawayRANDOM_IP_ID
308875f3161SDag-Erling SmørgravSLIP_IFF_OPTS		opt_slip.h
3090cc12cc5SJoerg WunschTCPDEBUG
310e46cd3d4SDag-Erling SmørgravTCP_DROP_SYNFIN		opt_tcp_input.h
311914594eaSKris KennawayXBONEHACK
3123458e54aSJulian Elischer
3134cf49a43SJulian Elischer# Netgraph(4). Use option NETGRAPH to enable the base netgraph code.
3144cf49a43SJulian Elischer# Each netgraph node type can be either be compiled into the kernel
3154cf49a43SJulian Elischer# or loaded dynamically. To get the former, include the corresponding
316ed2dbd31SArchie Cobbs# option below. Each type has its own man page, e.g. ng_async(4).
3174cf49a43SJulian ElischerNETGRAPH
3184cf49a43SJulian ElischerNETGRAPH_ASYNC		opt_netgraph.h
31992a3e552SArchie CobbsNETGRAPH_BPF		opt_netgraph.h
320ed2dbd31SArchie CobbsNETGRAPH_BRIDGE		opt_netgraph.h
3214cf49a43SJulian ElischerNETGRAPH_CISCO		opt_netgraph.h
3224cf49a43SJulian ElischerNETGRAPH_ECHO		opt_netgraph.h
323e1e1452dSArchie CobbsNETGRAPH_ETHER		opt_netgraph.h
3244cf49a43SJulian ElischerNETGRAPH_FRAME_RELAY	opt_netgraph.h
32594408d94SBrooks DavisNETGRAPH_GIF		opt_netgraph.h
32694408d94SBrooks DavisNETGRAPH_GIF_DEMUX	opt_netgraph.h
3274cf49a43SJulian ElischerNETGRAPH_HOLE		opt_netgraph.h
3284cf49a43SJulian ElischerNETGRAPH_IFACE		opt_netgraph.h
329c2eed105SBrooks DavisNETGRAPH_IP_INPUT	opt_netgraph.h
3306e874711SArchie CobbsNETGRAPH_KSOCKET	opt_netgraph.h
3314cf49a43SJulian ElischerNETGRAPH_LMI		opt_netgraph.h
332a2b408adSArchie Cobbs# MPPC compression requires proprietary files (not included)
333a2b408adSArchie CobbsNETGRAPH_MPPC_COMPRESSION	opt_netgraph.h
334a2b408adSArchie CobbsNETGRAPH_MPPC_ENCRYPTION	opt_netgraph.h
3357d7a5b89SArchie CobbsNETGRAPH_ONE2MANY	opt_netgraph.h
3366827c8feSArchie CobbsNETGRAPH_PPP		opt_netgraph.h
3376827c8feSArchie CobbsNETGRAPH_PPPOE		opt_netgraph.h
338add85a1dSArchie CobbsNETGRAPH_PPTPGRE	opt_netgraph.h
3394cf49a43SJulian ElischerNETGRAPH_RFC1490	opt_netgraph.h
3404cf49a43SJulian ElischerNETGRAPH_SOCKET		opt_netgraph.h
3414d60fee2SBrooks DavisNETGRAPH_SPLIT		opt_netgraph.h
3424cf49a43SJulian ElischerNETGRAPH_TEE		opt_netgraph.h
3434cf49a43SJulian ElischerNETGRAPH_TTY		opt_netgraph.h
3444cf49a43SJulian ElischerNETGRAPH_UI		opt_netgraph.h
34506e36c4dSJulian ElischerNETGRAPH_VJC		opt_netgraph.h
3464cf49a43SJulian Elischer
34767a2a28fSEric Anholt# DRM options
34867a2a28fSEric AnholtDRM_LINUX		opt_drm.h
34967a2a28fSEric AnholtDRM_DEBUG		opt_drm.h
35067a2a28fSEric Anholt
35198cb733cSKenneth D. Merry
35298cb733cSKenneth D. MerryZERO_COPY_SOCKETS	opt_zero.h
35398cb733cSKenneth D. MerryTI_PRIVATE_JUMBOS	opt_ti.h
35498cb733cSKenneth D. MerryTI_JUMBO_HDRSPLIT	opt_ti.h
35598cb733cSKenneth D. Merry
3563f8c4506SPoul-Henning Kamp# ATM (HARP version)
3573f8c4506SPoul-Henning KampATM_CORE		opt_atm.h
3583f8c4506SPoul-Henning KampATM_IP			opt_atm.h
3593f8c4506SPoul-Henning KampATM_SIGPVC		opt_atm.h
3603f8c4506SPoul-Henning KampATM_SPANS		opt_atm.h
3613f8c4506SPoul-Henning KampATM_UNI			opt_atm.h
3623f8c4506SPoul-Henning Kamp
363e0d781f3SEivind Eklund# XXX Conflict: # of devices vs network protocol (Native ATM).
364e0d781f3SEivind Eklund# This makes "atm.h" unusable.
365e0d781f3SEivind EklundNATM			opt_natm.h
366e0d781f3SEivind Eklund
367528784edSJustin T. GibbsDPT_ALLOW_MEMIO		opt_dpt.h	# Allow PCI devices to use memory
368528784edSJustin T. Gibbs					# mapped I/O
3693458e54aSJulian Elischer# DPT driver debug flags
3703458e54aSJulian ElischerDPT_MEASURE_PERFORMANCE	opt_dpt.h
3713458e54aSJulian ElischerDPT_HANDLE_TIMEOUTS	opt_dpt.h
3723458e54aSJulian ElischerDPT_TIMEOUT_FACTOR	opt_dpt.h
3733458e54aSJulian ElischerDPT_LOST_IRQ		opt_dpt.h
374b755b885SEivind EklundDPT_RESET_HBA		opt_dpt.h
3753f2076daSEivind Eklund
376444476fdSMike Smith# Adaptec ASR and DPT V/VI controller options
377444476fdSMike SmithASR_MEASURE_PERFORMANCE	opt_asr.h
378444476fdSMike Smith
3793f2076daSEivind Eklund# Misc debug flags.  Most of these should probably be replaced with
3803f2076daSEivind Eklund# 'DEBUG', and then let people recompile just the interesting modules
381fdf94d1aSNicolas Souchu# with 'make CC="cc -DDEBUG"'.
3823f2076daSEivind EklundCLUSTERDEBUG		opt_debug_cluster.h
383a6de7b79SNicolas SouchuDEBUG_1284		opt_ppb_1284.h
384a6de7b79SNicolas SouchuVP0_DEBUG		opt_vpo.h
385fdf94d1aSNicolas SouchuLPT_DEBUG		opt_lpt.h
3867b7bf77eSNicolas SouchuPLIP_DEBUG		opt_plip.h
3873f2076daSEivind EklundLOCKF_DEBUG		opt_debug_lockf.h
3883f2076daSEivind EklundNPX_DEBUG		opt_debug_npx.h
3893f2076daSEivind EklundNETATALKDEBUG		opt_atalk.h
3903f2076daSEivind EklundSI_DEBUG		opt_debug_si.h
3913f2076daSEivind Eklund
392909232c4SEivind Eklund# Fb options
393909232c4SEivind EklundFB_DEBUG		opt_fb.h
394909232c4SEivind EklundFB_INSTALL_CDEV		opt_fb.h
395909232c4SEivind Eklund
39604fb1490SNicolas Souchu# ppbus related options
39704fb1490SNicolas SouchuPERIPH_1284		opt_ppb_1284.h
39804fb1490SNicolas SouchuDONTPROBE_1284		opt_ppb_1284.h
39904fb1490SNicolas Souchu
40004fb1490SNicolas Souchu# smbus related options
40104fb1490SNicolas SouchuENABLE_ALART		opt_intpm.h
4023f2076daSEivind Eklund
40314834de4SEivind Eklund# These cause changes all over the kernel
404909232c4SEivind EklundBLKDEV_IOSIZE		opt_global.h
40514834de4SEivind EklundDEBUG			opt_global.h
40615a1057cSEivind EklundDEBUG_LOCKS		opt_global.h
4075526d2d9SEivind EklundDEBUG_VFS_LOCKS		opt_global.h
4080e2d6cc8SJeff RobersonLOOKUP_SHARED		opt_global.h
40914834de4SEivind EklundDIAGNOSTIC		opt_global.h
410b1a7842bSJohn DysonENABLE_VFS_IOOPT	opt_global.h
41134b15f2aSJohn BaldwinINVARIANT_SUPPORT	opt_global.h
4125526d2d9SEivind EklundINVARIANTS		opt_global.h
4132c8f5a28SKenneth D. MerryMCLSHIFT		opt_global.h
4142c8f5a28SKenneth D. MerryMSIZE			opt_global.h
4150b5438c6SRobert WatsonREGRESSION		opt_global.h
4161432aa0cSJohn BaldwinRESTARTABLE_PANICS	opt_global.h
4175526d2d9SEivind EklundVFS_BIO_DEBUG		opt_global.h
418d9bed5beSJohn Dyson
419d9bed5beSJohn Dyson# These are VM related options
420d9bed5beSJohn DysonVM_KMEM_SIZE		opt_vm.h
421d9bed5beSJohn DysonVM_KMEM_SIZE_SCALE	opt_vm.h
422d9bed5beSJohn DysonVM_KMEM_SIZE_MAX	opt_vm.h
423faa5f8d8SAndrzej BialeckiNO_SWAPPING		opt_vm.h
424a59f8b9eSJeff RobersonMALLOC_PROFILE		opt_vm.h
42520f71813SJohn-Mark GurneyPQ_NOOPT		opt_vmpage.h
42620f71813SJohn-Mark GurneyPQ_NORMALCACHE		opt_vmpage.h
42720f71813SJohn-Mark GurneyPQ_MEDIUMCACHE		opt_vmpage.h
42820f71813SJohn-Mark GurneyPQ_LARGECACHE		opt_vmpage.h
42920f71813SJohn-Mark GurneyPQ_HUGECACHE		opt_vmpage.h
4309a20f99aSJohn BaldwinPQ_CACHESIZE		opt_vmpage.h
43120f71813SJohn-Mark Gurney
432ecd19816SMike Smith# Standard SMP options
433ecd19816SMike SmithSMP			opt_global.h
434751bf650SJun-ichiro itojun Hagino
43558067a99SPoul-Henning Kamp# Size of the kernel message buffer
43658067a99SPoul-Henning KampMSGBUF_SIZE		opt_msgbuf.h
437ecbb00a2SDoug Rabson
438e261d589SJohn-Mark Gurney# PCI related options
439c93d0240SThomas MoestlPCI_ENABLE_IO_MODES	opt_pci.h
4407a852c22SWarner LoshPCI_ALLOW_UNSUPPORTED_IO_RANGE	opt_pci.h
441e261d589SJohn-Mark Gurney
442df394affSJohn-Mark Gurney# NFS options
443df394affSJohn-Mark GurneyNFS_MINATTRTIMO		opt_nfs.h
444df394affSJohn-Mark GurneyNFS_MAXATTRTIMO		opt_nfs.h
445df394affSJohn-Mark GurneyNFS_MINDIRATTRTIMO	opt_nfs.h
446df394affSJohn-Mark GurneyNFS_MAXDIRATTRTIMO	opt_nfs.h
447df394affSJohn-Mark GurneyNFS_GATHERDELAY		opt_nfs.h
448df394affSJohn-Mark GurneyNFS_WDELAYHASHSIZ	opt_nfs.h
449df394affSJohn-Mark GurneyNFS_DEBUG		opt_nfs.h
450df394affSJohn-Mark Gurney
45124e89aa8SRoger Hardiman# For the Bt848/Bt848A/Bt849/Bt878/Bt879 driver
4525cd2d295SRoger HardimanOVERRIDE_CARD			opt_bktr.h
4535cd2d295SRoger HardimanOVERRIDE_TUNER			opt_bktr.h
4545cd2d295SRoger HardimanOVERRIDE_DBX			opt_bktr.h
4555cd2d295SRoger HardimanOVERRIDE_MSP			opt_bktr.h
4565cd2d295SRoger HardimanBROOKTREE_SYSTEM_DEFAULT	opt_bktr.h
45763883894SRoger HardimanBROOKTREE_ALLOC_PAGES		opt_bktr.h
45863883894SRoger HardimanBKTR_OVERRIDE_CARD		opt_bktr.h
45963883894SRoger HardimanBKTR_OVERRIDE_TUNER		opt_bktr.h
46063883894SRoger HardimanBKTR_OVERRIDE_DBX		opt_bktr.h
46163883894SRoger HardimanBKTR_OVERRIDE_MSP		opt_bktr.h
46263883894SRoger HardimanBKTR_SYSTEM_DEFAULT		opt_bktr.h
46363883894SRoger HardimanBKTR_ALLOC_PAGES		opt_bktr.h
4645cd2d295SRoger HardimanBKTR_USE_PLL			opt_bktr.h
4655cd2d295SRoger HardimanBKTR_GPIO_ACCESS		opt_bktr.h
4665cd2d295SRoger HardimanBKTR_NO_MSP_RESET		opt_bktr.h
4675cd2d295SRoger HardimanBKTR_430_FX_MODE		opt_bktr.h
4685cd2d295SRoger HardimanBKTR_SIS_VIA_MODE		opt_bktr.h
469c17d4340SNicolas SouchuBKTR_USE_FREEBSD_SMBUS		opt_bktr.h
47058dde31aSSøren Schmidt
471afc2d1c7SJordan K. Hubbard# meteor opt_meteor.h
472afc2d1c7SJordan K. HubbardMETEOR_ALLOC_PAGES	opt_meteor.h
473afc2d1c7SJordan K. HubbardMETEOR_TEST_VIDEO	opt_meteor.h
474afc2d1c7SJordan K. HubbardMETEOR_SYSTEM_DEFAULT	opt_meteor.h
475afc2d1c7SJordan K. HubbardMETEOR_DEALLOC_PAGES	opt_meteor.h
476afc2d1c7SJordan K. HubbardMETEOR_DEALLOC_ABOVE	opt_meteor.h
477afc2d1c7SJordan K. Hubbard
4786f42b336SPeter Wemm# Various mi ISA bus flags
4796f42b336SPeter WemmCOM_ESP			opt_sio.h
4806f42b336SPeter WemmCOM_MULTIPORT		opt_sio.h
481909232c4SEivind EklundBREAK_TO_DEBUGGER	opt_comconsole.h
48226b6ea69SPaul SaabALT_BREAK_TO_DEBUGGER	opt_comconsole.h
48303927d3cSPeter WemmDEV_ISA			opt_isa.h
4846f42b336SPeter Wemm
485ecbb00a2SDoug Rabson# Include tweaks for running under the SimOS machine simulator.
486ecbb00a2SDoug RabsonSIMOS			opt_simos.h
487709f2df6SDoug Rabson
488709f2df6SDoug Rabson# options for bus/device framework
489709f2df6SDoug RabsonBUS_DEBUG		opt_bus.h
4900cec007cSNick Hibma
4910cec007cSNick Hibma# options for USB support
4927dc1a5bdSNick HibmaUHCI_DEBUG		opt_usb.h
4937dc1a5bdSNick HibmaOHCI_DEBUG		opt_usb.h
4940cec007cSNick HibmaUSB_DEBUG		opt_usb.h
4957dc1a5bdSNick HibmaUGEN_DEBUG		opt_usb.h
4967dc1a5bdSNick HibmaUHID_DEBUG		opt_usb.h
4977dc1a5bdSNick HibmaUHUB_DEBUG		opt_usb.h
4987dc1a5bdSNick HibmaUKBD_DEBUG		opt_usb.h
4997dc1a5bdSNick HibmaULPT_DEBUG		opt_usb.h
5005628cc31SNick HibmaUMASS_DEBUG		opt_usb.h
5017dc1a5bdSNick HibmaUMS_DEBUG		opt_usb.h
502e2dbd15fSNick HibmaURIO_DEBUG		opt_usb.h
503f548daf0SJohn BaldwinUKBD_DFLT_KEYMAP	opt_ukbd.h
504a9d45962SPeter Wemm
505a9d45962SPeter Wemm# Vinum options
506a9d45962SPeter WemmVINUMDEBUG		opt_vinum.h
5079775e378SJohn Birrell
5089775e378SJohn Birrell# Embedded system options
5099775e378SJohn BirrellINIT_PATH		opt_init_path.h
510b307e58fSPoul-Henning Kamp
511b307e58fSPoul-Henning KampROOTDEVNAME		opt_rootdevname.h
512814ce988SDoug Rabson
513814ce988SDoug RabsonFDC_DEBUG		opt_fdc.h
5143b2d592cSJordan K. HubbardPCFCLOCK_VERBOSE	opt_pcfclock.h
5153b2d592cSJordan K. HubbardPCFCLOCK_MAX_RETRIES	opt_pcfclock.h
5169147e09eSColeman KaneTDFX_LINUX opt_tdfx.h
517b1f12b61STakanori Watanabe
5180384fff8SJason EvansKTR			opt_global.h
519d8f03321SJohn BaldwinKTR_MASK		opt_ktr.h
520d8f03321SJohn BaldwinKTR_CPUMASK		opt_ktr.h
5210384fff8SJason EvansKTR_COMPILE		opt_global.h
5220384fff8SJason EvansKTR_ENTRIES		opt_global.h
523d8f03321SJohn BaldwinKTR_VERBOSE		opt_ktr.h
52436412d79SJohn BaldwinMUTEX_DEBUG		opt_global.h
5250384fff8SJason EvansWITNESS			opt_global.h
526660d1e3aSJohn BaldwinWITNESS_DDB		opt_witness.h
527660d1e3aSJohn BaldwinWITNESS_SKIPSPIN	opt_witness.h
5280384fff8SJason Evans
529b1f12b61STakanori Watanabe# options for ACPI support
530b1f12b61STakanori WatanabeACPI_DEBUG		opt_acpi.h
531c573e654SMitsuru IWASAKIACPI_NO_SEMAPHORES	opt_acpi.h
532c573e654SMitsuru IWASAKIACPI_MAX_THREADS	opt_acpi.h
53393bcdfe2SPoul-Henning Kamp
53493bcdfe2SPoul-Henning Kamp# options for DEVFS, see sys/fs/devfs/devfs.h
53593bcdfe2SPoul-Henning KampNDEVFSINO		opt_devfs.h
53693bcdfe2SPoul-Henning KampNDEVFSOVERFLOW		opt_devfs.h
537810d0bd1SPeter Wemm
538810d0bd1SPeter Wemm# various 'device presence' options.
539f444a0efSPeter WemmDEV_MCA			opt_mca.h
5405bb5f2c9SPeter WemmDEV_BPF			opt_bpf.h
5419b04180cSIan Dowse
5429b04180cSIan Dowse# ed driver
5439b04180cSIan DowseED_NO_MIIBUS		opt_ed.h
5440483b1a8SAndrew Gallatin
5450483b1a8SAndrew Gallatin# Polling device handling
5460483b1a8SAndrew GallatinDEVICE_POLLING		opt_global.h
5476c35e809SDag-Erling Smørgrav
5486c35e809SDag-Erling Smørgrav# Mutex profiling
5496c35e809SDag-Erling SmørgravMUTEX_PROFILING		opt_global.h
550