xref: /freebsd/sys/conf/options (revision 5f3431b5ade253e5ea547b3bff5c61145da6c741)
1c3aac50fSPeter Wemm# $FreeBSD$
294db1b81SEivind Eklund#
394db1b81SEivind Eklund#        On the handling of kernel options
494db1b81SEivind Eklund#
594db1b81SEivind Eklund# All kernel options should be listed in LINT, with suitable
694db1b81SEivind Eklund# descriptions.  Negative options (options that make some code not
794db1b81SEivind Eklund# compile) should be commented out; LINT should compile as much code
894db1b81SEivind Eklund# as possible.  Try to structure option-using code so that a single
994db1b81SEivind Eklund# option only switch code on, or only switch code off, to make it
10c866ec47SPoul-Henning Kamp# possible to have a full compile-test.  If necessary, you can check
113a1c1575SPoul-Henning Kamp# for COMPILING_LINT to get maximum code coverage.
1294db1b81SEivind Eklund#
1394db1b81SEivind Eklund# All new options shall also be listed in either "conf/options" or
1494db1b81SEivind Eklund# "<machine>/conf/options.<machine>".  Options that affect a single
1594db1b81SEivind Eklund# source-file <xxx>.[c|s] should be directed into "opt_<xxx>.h", while
1694db1b81SEivind Eklund# options that affect multiple files should either go in
1794db1b81SEivind Eklund# "opt_global.h" if this is a kernel-wide option (used just about
1894db1b81SEivind Eklund# everywhere), or in "opt_<option-name-in-lower-case>.h" if it affect
1994db1b81SEivind Eklund# only some files.  Note that the effect of listing only an option
2094db1b81SEivind Eklund# without a header-file-name in conf/options (and cousins) is that the
2194db1b81SEivind Eklund# last convention is followed.
2294db1b81SEivind Eklund#
2394db1b81SEivind Eklund# This handling scheme is not yet fully implemented.
2494db1b81SEivind Eklund#
2594db1b81SEivind Eklund#
2694db1b81SEivind Eklund# Format of this file:
274bd49128SPeter Wemm# Option name	filename
2894db1b81SEivind Eklund#
2994db1b81SEivind Eklund# If filename is missing, the default is
3094db1b81SEivind Eklund# opt_<name-of-option-in-lower-case>.h
3181fc841cSBruce Evans
32bf21c633SJustin T. Gibbs# Adaptec aic7xxx SCSI controller options
33bf21c633SJustin T. GibbsAHC_ALLOW_MEMIO		opt_aic7xxx.h	# Allow PCI devices to use memory
34528784edSJustin T. Gibbs					# mapped I/O
35bf21c633SJustin T. Gibbs
36bf21c633SJustin T. GibbsAHC_TMODE_ENABLE	opt_aic7xxx.h	# Bitmap of units to enable
37bf21c633SJustin T. Gibbs					# targetmode operations.
38bf21c633SJustin T. Gibbs
3926b40483SJustin T. GibbsAHC_DUMP_EEPROM		opt_aic7xxx.h	# Dump the contents of our
4026b40483SJustin T. Gibbs					# configuration prom.
4126b40483SJustin T. Gibbs
42528784edSJustin T. GibbsADW_ALLOW_MEMIO		opt_adw.h	# Allow PCI devices to use memory
43528784edSJustin T. Gibbs					# mapped I/O
44528784edSJustin T. Gibbs
453d20a1ffSBruce Evans# Miscellaneous options.
46f71bb3a1SEivind EklundCOMPAT_43	opt_compat.h
47f71bb3a1SEivind EklundCOMPAT_SUNOS	opt_compat.h
48c866ec47SPoul-Henning KampCOMPILING_LINT	opt_global.h
49b8cf6ea7SBruce EvansCY_PCI_FASTINTR
500e41ee30SGarrett WollmanDDB
511664f6f5SPaul TrainaDDB_UNATTENDED	opt_ddb.h
52562d05dfSPaul TrainaGDB_REMOTE_CHAT	opt_ddb.h
537b778b5eSEivind EklundDEVFS
54d94f38acSEivind EklundHW_WDOG
554bd49128SPeter WemmKTRACE
56f2744793SSheldon HearnMD_NSECT	opt_md.h
5771e4fff8SPoul-Henning KampMD_ROOT		opt_md.h
5871e4fff8SPoul-Henning KampMD_ROOT_SIZE	opt_md.h
597b778b5eSEivind EklundMFS_ROOT	opt_mfs.h
601315dabdSBruce EvansMFS_ROOT_SIZE	opt_mfs.h
61c2906d55SPoul-Henning KampNTIMECOUNTER	opt_ntp.h
62f71bb3a1SEivind EklundNSWAPDEV	opt_swap.h
63e0d781f3SEivind EklundPPS_SYNC	opt_ntp.h
643d20a1ffSBruce EvansQUOTA
65cecc50bcSEivind EklundSPX_HACK
66f71bb3a1SEivind EklundSUIDDIR		opt_suiddir.h
673d20a1ffSBruce EvansSYSVMSG		opt_sysvipc.h
683d20a1ffSBruce EvansSYSVSEM		opt_sysvipc.h
693d20a1ffSBruce EvansSYSVSHM		opt_sysvipc.h
70255108f3SPeter WemmSHMALL		opt_sysvipc.h
71255108f3SPeter WemmSHMMAX		opt_sysvipc.h
72255108f3SPeter WemmSHMMAXPGS	opt_sysvipc.h
73255108f3SPeter WemmSHMMIN		opt_sysvipc.h
74255108f3SPeter WemmSHMMNI		opt_sysvipc.h
75255108f3SPeter WemmSHMSEG		opt_sysvipc.h
76ab063af9SPeter WemmSEMMAP		opt_sysvipc.h
77ab063af9SPeter WemmSEMMNI		opt_sysvipc.h
78ab063af9SPeter WemmSEMMNS		opt_sysvipc.h
79ab063af9SPeter WemmSEMMNU		opt_sysvipc.h
80ab063af9SPeter WemmSEMMSL		opt_sysvipc.h
81ab063af9SPeter WemmSEMOPM		opt_sysvipc.h
82ab063af9SPeter WemmSEMUME		opt_sysvipc.h
83ab063af9SPeter WemmMSGMNB		opt_sysvipc.h
84ab063af9SPeter WemmMSGMNI		opt_sysvipc.h
85ab063af9SPeter WemmMSGSEG		opt_sysvipc.h
86ab063af9SPeter WemmMSGSSZ		opt_sysvipc.h
87ab063af9SPeter WemmMSGTQL		opt_sysvipc.h
883d20a1ffSBruce EvansUCONSOLE
89dd85920aSJason EvansVFS_AIO
90d03b4017SBruce Evans
918a6472b7SPeter Dufault# POSIX kernel options
928a6472b7SPeter DufaultP1003_1B			opt_posix.h
938a6472b7SPeter Dufault_KPOSIX_PRIORITY_SCHEDULING	opt_posix.h
948a6472b7SPeter Dufault_KPOSIX_VERSION			opt_posix.h
95917e476dSPeter Dufault
96a996141fSRobert Watson# TrustedBSD and POSIX.1e Kernel Options
97a996141fSRobert WatsonCAPABILITIES	opt_cap.h
98a996141fSRobert Watson
99808129f0SPeter Wemm# Do we want the config file compiled into the kernel?
100808129f0SPeter WemmINCLUDE_CONFIG_FILE	opt_config.h
101808129f0SPeter Wemm
102d03b4017SBruce Evans# Options for static file systems.  These should only be used at config
103d03b4017SBruce Evans# time, since the corresponding lkms cannot work if there are any static
104d03b4017SBruce Evans# dependencies.  Unusability is enforced by hiding the defines for the
105d03b4017SBruce Evans# options in a never-included header.
106f41991baSEivind EklundEXT2FS		opt_dontuse.h
107d03b4017SBruce EvansFDESC		opt_dontuse.h
108d03b4017SBruce EvansKERNFS		opt_dontuse.h
1096cce9950SJoerg WunschMFS		opt_dontuse.h
110f41991baSEivind EklundMSDOSFS		opt_dontuse.h
111d03b4017SBruce EvansNULLFS		opt_dontuse.h
112d03b4017SBruce EvansPORTAL		opt_dontuse.h
113d03b4017SBruce EvansPROCFS		opt_dontuse.h
114d03b4017SBruce EvansUMAPFS		opt_dontuse.h
1157e8dac41SSemen UstimenkoNTFS		opt_dontuse.h
116d03b4017SBruce Evans
1177b778b5eSEivind Eklund# These static filesystems has one slightly bogus static dependency in
1187b778b5eSEivind Eklund# sys/i386/i386/autoconf.c.  If any of these filesystems are
1197b778b5eSEivind Eklund# statically compiled into the kernel, code for mounting them as root
1207b778b5eSEivind Eklund# filesystems will be enabled - but look below.  Boot-code is purposely
1217b778b5eSEivind Eklund# unavailable for the LKM-based versions.
1229afcea2fSRobert V. BaronCODA
1235a9714deSJoerg WunschCD9660
1247b778b5eSEivind EklundFFS
1250b0c10b4SAdrian ChaddIFS
1267b778b5eSEivind EklundNFS
127e83e2322SBoris PopovNWFS
1285a9714deSJoerg Wunsch
129b1897c19SJulian Elischer# If you are following the conditions in the copyright,
130b1897c19SJulian Elischer# you can enable soft-updates which will speed up a lot of thigs
131b1897c19SJulian Elischer# and make the system safer from crashes at the same time.
132b1897c19SJulian Elischer# otherwise a STUB module will be compiled in.
133b1897c19SJulian ElischerSOFTUPDATES	opt_ffs.h
134b1897c19SJulian Elischer
135a64ed089SRobert Watson# Enabling this option turns on support for extended attributes
136a64ed089SRobert Watson# in FFS, which can be used to support high security configurations
137a64ed089SRobert Watson# as well as new file system features.
138a64ed089SRobert WatsonFFS_EXTATTR	opt_ffs.h
139a64ed089SRobert Watson
1407b778b5eSEivind Eklund# The above static dependencies are planned removed, with a
1417b778b5eSEivind Eklund# <filesystem>_ROOT option to control if it usable as root.  This list
1427b778b5eSEivind Eklund# allows these options to be present in config files already (though
1437b778b5eSEivind Eklund# they won't make any difference yet).
1447b778b5eSEivind EklundCD9660_ROOT	opt_cd9660.h
1457b778b5eSEivind EklundFFS_ROOT	opt_ffs.h
146df394affSJohn-Mark GurneyNFS_ROOT	opt_nfsroot.h
1477b778b5eSEivind Eklund
148d03b4017SBruce Evans# The union static file system has bogus static dependencies, so it isn't
149d03b4017SBruce Evans# hidden yet.
150d03b4017SBruce EvansUNION
151d03b4017SBruce Evans
15281fc841cSBruce Evans# Options used only in param.c.
15334f3320eSKenjiro ChoHZ		opt_param.h
1545a00f364SDag-Erling SmørgravMAXFILES	opt_param.h
15595de6ecfSBruce EvansMAXUSERS	opt_param.h
1563d20a1ffSBruce EvansNBUF		opt_param.h
1574bd49128SPeter WemmNMBCLUSTERS	opt_param.h
158dd0b2081SDavid GreenmanNSFBUFS		opt_param.h
15981fc841cSBruce Evans
16081fc841cSBruce Evans# Generic SCSI options.
161bf21c633SJustin T. GibbsCAM_MAX_HIGHPOWER	opt_cam.h
162bf21c633SJustin T. GibbsCAMDEBUG		opt_cam.h
163da56bbefSJustin T. GibbsCAM_DEBUG_DELAY		opt_cam.h
164bf21c633SJustin T. GibbsCAM_DEBUG_BUS		opt_cam.h
165bf21c633SJustin T. GibbsCAM_DEBUG_TARGET	opt_cam.h
166bf21c633SJustin T. GibbsCAM_DEBUG_LUN		opt_cam.h
167bf21c633SJustin T. GibbsCAM_DEBUG_FLAGS		opt_cam.h
1683d20a1ffSBruce EvansSCSI_DELAY		opt_scsi.h
169bf21c633SJustin T. GibbsSCSI_NO_SENSE_STRINGS	opt_scsi.h
170bf21c633SJustin T. GibbsSCSI_NO_OP_STRINGS	opt_scsi.h
171bf21c633SJustin T. Gibbs
172bf21c633SJustin T. Gibbs# Options used only in cam/scsi/scsi_cd.c
173bf21c633SJustin T. GibbsCHANGER_MIN_BUSY_SECONDS	opt_cd.h
174bf21c633SJustin T. GibbsCHANGER_MAX_BUSY_SECONDS	opt_cd.h
17581fc841cSBruce Evans
1763ece1bd2SKenneth D. Merry# Options used only in cam/scsi/scsi_sa.c.
1779dfb4471SKenneth D. MerrySA_SPACE_TIMEOUT	opt_sa.h
1789dfb4471SKenneth D. MerrySA_REWIND_TIMEOUT	opt_sa.h
1799dfb4471SKenneth D. MerrySA_ERASE_TIMEOUT	opt_sa.h
180cb02c78aSMatt JacobSA_1FM_AT_EOD		opt_sa.h
181c30bc9dbSJoerg Wunsch
1823ece1bd2SKenneth D. Merry# Options used only in cam/scsi/scsi_pt.c
1833ece1bd2SKenneth D. MerrySCSI_PT_DEFAULT_TIMEOUT	opt_pt.h
1843ece1bd2SKenneth D. Merry
18552e48164SMatt Jacob# Options used only in cam/scsi/scsi_ses.c
18652e48164SMatt JacobSES_ENABLE_PASSTHROUGH	opt_ses.h
18752e48164SMatt Jacob
188410605d1SDavid E. O'Brien# Options used in dev/sym/ (Symbios SCSI driver).
189410605d1SDavid E. O'BrienSYM_SETUP_LP_PROBE_MAP	opt_sym.h	#-Low Priority Probe Map (bits)
190410605d1SDavid E. O'Brien					# Allows the ncr to take precedence
191410605d1SDavid E. O'Brien					# 1 (1<<0) -> 810a, 860
192410605d1SDavid E. O'Brien					# 2 (1<<1) -> 825a, 875, 885, 895
193410605d1SDavid E. O'Brien					# 4 (1<<2) -> 895a, 896, 1510d
194410605d1SDavid E. O'BrienSYM_SETUP_SCSI_DIFF	opt_sym.h	#-HVD support for 825a, 875, 885
195410605d1SDavid E. O'Brien					# disabled:0 (default), enabled:1
196410605d1SDavid E. O'BrienSYM_SETUP_PCI_PARITY	opt_sym.h	#-PCI parity checking
197410605d1SDavid E. O'Brien					# disabled:0, enabled:1 (default)
198410605d1SDavid E. O'BrienSYM_SETUP_MAX_LUN	opt_sym.h	#-Number of LUNs supported
199410605d1SDavid E. O'Brien					# default:8, range:[1..64]
200410605d1SDavid E. O'Brien
20121ffa5aeSStefan Eßer# Options used only in pci/ncr.c
2023d20a1ffSBruce EvansSCSI_NCR_DEBUG		opt_ncr.h
203a5bef142SBruce EvansSCSI_NCR_MAX_SYNC	opt_ncr.h
204a5bef142SBruce EvansSCSI_NCR_MAX_WIDE	opt_ncr.h
2053d20a1ffSBruce EvansSCSI_NCR_MYADDR		opt_ncr.h
20621ffa5aeSStefan Eßer
2073fc2ba4dSMatt Jacob# Options used only in pci/isp_pci.c
20873e1de92SMatt JacobISP_TARGET_MODE		opt_isp.h
2093fc2ba4dSMatt Jacob
2101a2d9854SSøren Schmidt# Options used in the 'ata' ATA/ATAPI driver
2111a2d9854SSøren SchmidtATA_STATIC_ID		opt_ata.h
2123de25e2fSSøren SchmidtATA_ENABLE_ATAPI_DMA	opt_ata.h
213c8c827ccSSøren SchmidtATA_ENABLE_TAGS		opt_ata.h
2141a2d9854SSøren Schmidt
21581fc841cSBruce Evans# Resource limits.
216e9822d92SJoerg WunschDFLDSIZ			opt_rlimit.h
2173d20a1ffSBruce EvansMAXDSIZ			opt_rlimit.h
21881fc841cSBruce Evans
21981fc841cSBruce Evans# Net stuff.
220a79b7128SAlfred PerlsteinACCEPT_FILTER_DATA
221a79b7128SAlfred PerlsteinACCEPT_FILTER_HTTP
222e4f4247aSEivind EklundBOOTP			opt_bootp.h
223e4f4247aSEivind EklundBOOTP_COMPAT		opt_bootp.h
224e4f4247aSEivind EklundBOOTP_NFSROOT		opt_bootp.h
225e4f4247aSEivind EklundBOOTP_NFSV3		opt_bootp.h
2268f7030a7STor EggeBOOTP_WIRED_TO		opt_bootp.h
227508d0661SLuigi RizzoBRIDGE			opt_bdg.h
2285d94d71cSBoris PopovETHER_II		opt_ef.h
2295d94d71cSBoris PopovETHER_8023		opt_ef.h
2305d94d71cSBoris PopovETHER_8022		opt_ef.h
2315d94d71cSBoris PopovETHER_SNAP		opt_ef.h
2324bd49128SPeter WemmMROUTING		opt_mrouting.h
2331d5e9e22SEivind EklundINET			opt_inet.h
234cfa1ca9dSYoshinobu InoueINET6			opt_inet6.h
2356a800098SYoshinobu InoueIPSEC			opt_ipsec.h
2366a800098SYoshinobu InoueIPSEC_ESP		opt_ipsec.h
2376a800098SYoshinobu InoueIPSEC_DEBUG		opt_ipsec.h
238fbd1372aSJoerg WunschIPDIVERT
239508d0661SLuigi RizzoDUMMYNET		opt_ipdn.h
2409cc86ee9SGuido van RooijIPFILTER		opt_ipfilter.h
2419cc86ee9SGuido van RooijIPFILTER_LOG		opt_ipfilter.h
242276dd937SDarren ReedIPFILTER_DEFAULT_BLOCK	opt_ipfilter.h
2430656ae02SDarren ReedPFIL_HOOKS		opt_pfil_hooks.h
24474a9466cSGary PalmerIPFIREWALL		opt_ipfw.h
24574a9466cSGary PalmerIPFIREWALL_VERBOSE	opt_ipfw.h
246fb260479SBruce EvansIPFIREWALL_VERBOSE_LIMIT	opt_ipfw.h
247ffdd472dSPeter WemmIPFIREWALL_DEFAULT_TO_ACCEPT	opt_ipfw.h
248cdcc2613SJulian ElischerIPFIREWALL_FORWARD		opt_ipfw.h
249210d0432SYoshinobu InoueIPV6FIREWALL		opt_ip6fw.h
250210d0432SYoshinobu InoueIPV6FIREWALL_VERBOSE	opt_ip6fw.h
251210d0432SYoshinobu InoueIPV6FIREWALL_VERBOSE_LIMIT	opt_ip6fw.h
252210d0432SYoshinobu InoueIPV6FIREWALL_DEFAULT_TO_ACCEPT	opt_ip6fw.h
2531b968362SDag-Erling SmørgravIPSTEALTH
254430df5f4SEivind EklundIPX			opt_ipx.h
255430df5f4SEivind EklundIPXIP			opt_ipx.h
256430df5f4SEivind EklundIPTUNNEL		opt_ipx.h
257e83e2322SBoris PopovNCP			opt_ncp.h
2587262d3e4SEivind EklundNETATALK		opt_atalk.h
25913c49711SPeter WemmPPP_BSDCOMP		opt_ppp.h
26013c49711SPeter WemmPPP_DEFLATE		opt_ppp.h
261d41238deSPeter WemmPPP_FILTER		opt_ppp.h
262875f3161SDag-Erling SmørgravSLIP_IFF_OPTS		opt_slip.h
26392252381SEivind EklundTCP_COMPAT_42		opt_compat.h
2640cc12cc5SJoerg WunschTCPDEBUG
265e46cd3d4SDag-Erling SmørgravTCP_DROP_SYNFIN		opt_tcp_input.h
266f8613305SDag-Erling SmørgravTCP_RESTRICT_RST	opt_tcp_input.h
267914594eaSKris KennawayXBONEHACK
2683458e54aSJulian Elischer
2694cf49a43SJulian Elischer# Netgraph(4). Use option NETGRAPH to enable the base netgraph code.
2704cf49a43SJulian Elischer# Each netgraph node type can be either be compiled into the kernel
2714cf49a43SJulian Elischer# or loaded dynamically. To get the former, include the corresponding
272ed2dbd31SArchie Cobbs# option below. Each type has its own man page, e.g. ng_async(4).
2734cf49a43SJulian ElischerNETGRAPH
2744cf49a43SJulian ElischerNETGRAPH_ASYNC		opt_netgraph.h
27592a3e552SArchie CobbsNETGRAPH_BPF		opt_netgraph.h
276ed2dbd31SArchie CobbsNETGRAPH_BRIDGE		opt_netgraph.h
2774cf49a43SJulian ElischerNETGRAPH_CISCO		opt_netgraph.h
2784cf49a43SJulian ElischerNETGRAPH_ECHO		opt_netgraph.h
279e1e1452dSArchie CobbsNETGRAPH_ETHER		opt_netgraph.h
2804cf49a43SJulian ElischerNETGRAPH_FRAME_RELAY	opt_netgraph.h
2814cf49a43SJulian ElischerNETGRAPH_HOLE		opt_netgraph.h
2824cf49a43SJulian ElischerNETGRAPH_IFACE		opt_netgraph.h
2836e874711SArchie CobbsNETGRAPH_KSOCKET	opt_netgraph.h
2844cf49a43SJulian ElischerNETGRAPH_LMI		opt_netgraph.h
285a2b408adSArchie Cobbs# MPPC compression requires proprietary files (not included)
286a2b408adSArchie CobbsNETGRAPH_MPPC_COMPRESSION	opt_netgraph.h
287a2b408adSArchie CobbsNETGRAPH_MPPC_ENCRYPTION	opt_netgraph.h
2886827c8feSArchie CobbsNETGRAPH_PPP		opt_netgraph.h
2896827c8feSArchie CobbsNETGRAPH_PPPOE		opt_netgraph.h
290add85a1dSArchie CobbsNETGRAPH_PPTPGRE	opt_netgraph.h
2914cf49a43SJulian ElischerNETGRAPH_RFC1490	opt_netgraph.h
2924cf49a43SJulian ElischerNETGRAPH_SOCKET		opt_netgraph.h
2934cf49a43SJulian ElischerNETGRAPH_TEE		opt_netgraph.h
2944cf49a43SJulian ElischerNETGRAPH_TTY		opt_netgraph.h
2954cf49a43SJulian ElischerNETGRAPH_UI		opt_netgraph.h
29606e36c4dSJulian ElischerNETGRAPH_VJC		opt_netgraph.h
2974cf49a43SJulian Elischer
2983f8c4506SPoul-Henning Kamp# ATM (HARP version)
2993f8c4506SPoul-Henning KampATM_CORE		opt_atm.h
3003f8c4506SPoul-Henning KampATM_IP			opt_atm.h
3013f8c4506SPoul-Henning KampATM_SIGPVC		opt_atm.h
3023f8c4506SPoul-Henning KampATM_SPANS		opt_atm.h
3033f8c4506SPoul-Henning KampATM_UNI			opt_atm.h
3043f8c4506SPoul-Henning Kamp
305e0d781f3SEivind Eklund# XXX Conflict: # of devices vs network protocol (Native ATM).
306e0d781f3SEivind Eklund# This makes "atm.h" unusable.
307e0d781f3SEivind EklundNATM			opt_natm.h
308e0d781f3SEivind Eklund
309528784edSJustin T. GibbsDPT_ALLOW_MEMIO		opt_dpt.h	# Allow PCI devices to use memory
310528784edSJustin T. Gibbs					# mapped I/O
3113458e54aSJulian Elischer# DPT driver debug flags
3123458e54aSJulian ElischerDPT_MEASURE_PERFORMANCE	opt_dpt.h
3133458e54aSJulian ElischerDPT_HANDLE_TIMEOUTS	opt_dpt.h
3143458e54aSJulian ElischerDPT_TIMEOUT_FACTOR	opt_dpt.h
3153458e54aSJulian ElischerDPT_LOST_IRQ		opt_dpt.h
316b755b885SEivind EklundDPT_RESET_HBA		opt_dpt.h
3173f2076daSEivind Eklund
318444476fdSMike Smith# Adaptec ASR and DPT V/VI controller options
319444476fdSMike SmithASR_MEASURE_PERFORMANCE	opt_asr.h
320444476fdSMike Smith
3213f2076daSEivind Eklund# Misc debug flags.  Most of these should probably be replaced with
3223f2076daSEivind Eklund# 'DEBUG', and then let people recompile just the interesting modules
323fdf94d1aSNicolas Souchu# with 'make CC="cc -DDEBUG"'.
3243f2076daSEivind EklundCLUSTERDEBUG		opt_debug_cluster.h
325a6de7b79SNicolas SouchuDEBUG_1284		opt_ppb_1284.h
326a6de7b79SNicolas SouchuVP0_DEBUG		opt_vpo.h
327fdf94d1aSNicolas SouchuLPT_DEBUG		opt_lpt.h
3287b7bf77eSNicolas SouchuPLIP_DEBUG		opt_plip.h
3293f2076daSEivind EklundLOCKF_DEBUG		opt_debug_lockf.h
3303f2076daSEivind EklundLOUTB			opt_debug_outb.h
3313f2076daSEivind EklundNPX_DEBUG		opt_debug_npx.h
3323f2076daSEivind EklundNETATALKDEBUG		opt_atalk.h
3333f2076daSEivind EklundSI_DEBUG		opt_debug_si.h
3343f2076daSEivind Eklund
335909232c4SEivind Eklund# Fb options
336909232c4SEivind EklundFB_DEBUG		opt_fb.h
337909232c4SEivind EklundFB_INSTALL_CDEV		opt_fb.h
338909232c4SEivind Eklund
33904fb1490SNicolas Souchu# ppbus related options
34004fb1490SNicolas SouchuPERIPH_1284		opt_ppb_1284.h
34104fb1490SNicolas SouchuDONTPROBE_1284		opt_ppb_1284.h
34204fb1490SNicolas Souchu
34304fb1490SNicolas Souchu# smbus related options
34404fb1490SNicolas SouchuENABLE_ALART		opt_intpm.h
3453f2076daSEivind Eklund
34614834de4SEivind Eklund# These cause changes all over the kernel
347909232c4SEivind EklundBLKDEV_IOSIZE		opt_global.h
34814834de4SEivind EklundDEBUG			opt_global.h
34915a1057cSEivind EklundDEBUG_LOCKS		opt_global.h
3505526d2d9SEivind EklundDEBUG_VFS_LOCKS		opt_global.h
35114834de4SEivind EklundDIAGNOSTIC		opt_global.h
352b1a7842bSJohn DysonENABLE_VFS_IOOPT	opt_global.h
3535526d2d9SEivind EklundINVARIANT_SUPPORT	opt_global.h
3545526d2d9SEivind EklundINVARIANTS		opt_global.h
3555526d2d9SEivind EklundSIMPLELOCK_DEBUG	opt_global.h
3565526d2d9SEivind EklundVFS_BIO_DEBUG		opt_global.h
357d9bed5beSJohn Dyson
358d9bed5beSJohn Dyson# These are VM related options
359d9bed5beSJohn DysonVM_KMEM_SIZE		opt_vm.h
360d9bed5beSJohn DysonVM_KMEM_SIZE_SCALE	opt_vm.h
361d9bed5beSJohn DysonVM_KMEM_SIZE_MAX	opt_vm.h
362faa5f8d8SAndrzej BialeckiNO_SWAPPING		opt_vm.h
36320f71813SJohn-Mark GurneyPQ_NOOPT		opt_vmpage.h
36420f71813SJohn-Mark GurneyPQ_NORMALCACHE		opt_vmpage.h
36520f71813SJohn-Mark GurneyPQ_MEDIUMCACHE		opt_vmpage.h
36620f71813SJohn-Mark GurneyPQ_LARGECACHE		opt_vmpage.h
36720f71813SJohn-Mark GurneyPQ_HUGECACHE		opt_vmpage.h
3689a20f99aSJohn BaldwinPQ_CACHESIZE		opt_vmpage.h
36920f71813SJohn-Mark Gurney
370ecd19816SMike Smith# Standard SMP options
371ecd19816SMike SmithSMP			opt_global.h
372751bf650SJun-ichiro itojun Hagino
373751bf650SJun-ichiro itojun Hagino# sys/netkey
374751bf650SJun-ichiro itojun HaginoKEY
37558067a99SPoul-Henning Kamp
37658067a99SPoul-Henning Kamp# Size of the kernel message buffer
37758067a99SPoul-Henning KampMSGBUF_SIZE		opt_msgbuf.h
378ecbb00a2SDoug Rabson
379e261d589SJohn-Mark Gurney# PCI related options
380e261d589SJohn-Mark GurneyPCI_QUIET		opt_pci.h
38180060e88SPeter WemmCOMPAT_OLDPCI
382e261d589SJohn-Mark Gurney
383df394affSJohn-Mark Gurney# NFS options
384df394affSJohn-Mark GurneyNFS_MINATTRTIMO		opt_nfs.h
385df394affSJohn-Mark GurneyNFS_MAXATTRTIMO		opt_nfs.h
386df394affSJohn-Mark GurneyNFS_MINDIRATTRTIMO	opt_nfs.h
387df394affSJohn-Mark GurneyNFS_MAXDIRATTRTIMO	opt_nfs.h
388df394affSJohn-Mark GurneyNFS_GATHERDELAY		opt_nfs.h
389df394affSJohn-Mark GurneyNFS_UIDHASHSIZ		opt_nfs.h
390df394affSJohn-Mark GurneyNFS_WDELAYHASHSIZ	opt_nfs.h
391df394affSJohn-Mark GurneyNFS_MUIDHASHSIZ		opt_nfs.h
392df394affSJohn-Mark GurneyNFS_NOSERVER		opt_nfs.h
393df394affSJohn-Mark GurneyNFS_DEBUG		opt_nfs.h
394df394affSJohn-Mark Gurney
39524e89aa8SRoger Hardiman# For the Bt848/Bt848A/Bt849/Bt878/Bt879 driver
3965cd2d295SRoger HardimanOVERRIDE_CARD			opt_bktr.h
3975cd2d295SRoger HardimanOVERRIDE_TUNER			opt_bktr.h
3985cd2d295SRoger HardimanOVERRIDE_DBX			opt_bktr.h
3995cd2d295SRoger HardimanOVERRIDE_MSP			opt_bktr.h
4005cd2d295SRoger HardimanBROOKTREE_SYSTEM_DEFAULT	opt_bktr.h
40163883894SRoger HardimanBROOKTREE_ALLOC_PAGES		opt_bktr.h
40263883894SRoger HardimanBKTR_OVERRIDE_CARD		opt_bktr.h
40363883894SRoger HardimanBKTR_OVERRIDE_TUNER		opt_bktr.h
40463883894SRoger HardimanBKTR_OVERRIDE_DBX		opt_bktr.h
40563883894SRoger HardimanBKTR_OVERRIDE_MSP		opt_bktr.h
40663883894SRoger HardimanBKTR_SYSTEM_DEFAULT		opt_bktr.h
40763883894SRoger HardimanBKTR_ALLOC_PAGES		opt_bktr.h
4085cd2d295SRoger HardimanBKTR_USE_PLL			opt_bktr.h
4095cd2d295SRoger HardimanBKTR_GPIO_ACCESS		opt_bktr.h
4105cd2d295SRoger HardimanBKTR_NO_MSP_RESET		opt_bktr.h
4115cd2d295SRoger HardimanBKTR_430_FX_MODE		opt_bktr.h
4125cd2d295SRoger HardimanBKTR_SIS_VIA_MODE		opt_bktr.h
41358dde31aSSøren Schmidt
414afc2d1c7SJordan K. Hubbard# meteor opt_meteor.h
415afc2d1c7SJordan K. HubbardMETEOR_ALLOC_PAGES	opt_meteor.h
416afc2d1c7SJordan K. HubbardMETEOR_TEST_VIDEO	opt_meteor.h
417afc2d1c7SJordan K. HubbardMETEOR_SYSTEM_DEFAULT	opt_meteor.h
418afc2d1c7SJordan K. HubbardMETEOR_DEALLOC_PAGES	opt_meteor.h
419afc2d1c7SJordan K. HubbardMETEOR_DEALLOC_ABOVE	opt_meteor.h
420afc2d1c7SJordan K. Hubbard
4216f42b336SPeter Wemm# Various mi ISA bus flags
4226f42b336SPeter WemmCOM_ESP			opt_sio.h
4236f42b336SPeter WemmCOM_MULTIPORT		opt_sio.h
424909232c4SEivind EklundBREAK_TO_DEBUGGER	opt_comconsole.h
42526b6ea69SPaul SaabALT_BREAK_TO_DEBUGGER	opt_comconsole.h
4266f42b336SPeter Wemm
427ecbb00a2SDoug Rabson# Include tweaks for running under the SimOS machine simulator.
428ecbb00a2SDoug RabsonSIMOS			opt_simos.h
429709f2df6SDoug Rabson
430709f2df6SDoug Rabson# options for bus/device framework
431709f2df6SDoug RabsonBUS_DEBUG		opt_bus.h
43287263c3cSPeter WemmDEVICE_SYSCTLS		opt_bus.h
4330cec007cSNick Hibma
4340cec007cSNick Hibma# options for USB support
4357dc1a5bdSNick HibmaUHCI_DEBUG		opt_usb.h
4367dc1a5bdSNick HibmaOHCI_DEBUG		opt_usb.h
4370cec007cSNick HibmaUSB_DEBUG		opt_usb.h
4387dc1a5bdSNick HibmaUGEN_DEBUG		opt_usb.h
4397dc1a5bdSNick HibmaUHID_DEBUG		opt_usb.h
4407dc1a5bdSNick HibmaUHUB_DEBUG		opt_usb.h
4417dc1a5bdSNick HibmaUKBD_DEBUG		opt_usb.h
4427dc1a5bdSNick HibmaULPT_DEBUG		opt_usb.h
4435628cc31SNick HibmaUMASS_DEBUG		opt_usb.h
4447dc1a5bdSNick HibmaUMS_DEBUG		opt_usb.h
445e2dbd15fSNick HibmaURIO_DEBUG		opt_usb.h
446f548daf0SJohn BaldwinUKBD_DFLT_KEYMAP	opt_ukbd.h
447a9d45962SPeter Wemm
448a9d45962SPeter Wemm# Vinum options
449a9d45962SPeter WemmVINUMDEBUG		opt_vinum.h
4509775e378SJohn Birrell
4519775e378SJohn Birrell# Embedded system options
4529775e378SJohn BirrellINIT_PATH		opt_init_path.h
453b307e58fSPoul-Henning Kamp
454b307e58fSPoul-Henning KampROOTDEVNAME		opt_rootdevname.h
455814ce988SDoug Rabson
456814ce988SDoug RabsonFDC_DEBUG		opt_fdc.h
4573b2d592cSJordan K. HubbardPCFCLOCK_VERBOSE	opt_pcfclock.h
4583b2d592cSJordan K. HubbardPCFCLOCK_MAX_RETRIES	opt_pcfclock.h
4599147e09eSColeman KaneTDFX_LINUX opt_tdfx.h
460b1f12b61STakanori Watanabe
4610384fff8SJason EvansKTR			opt_global.h
4620384fff8SJason EvansKTR_MASK		opt_global.h
4630384fff8SJason EvansKTR_CPUMASK		opt_global.h
4640384fff8SJason EvansKTR_COMPILE		opt_global.h
4650384fff8SJason EvansKTR_ENTRIES		opt_global.h
4660384fff8SJason EvansKTR_EXTEND		opt_global.h
46736412d79SJohn BaldwinMUTEX_DEBUG		opt_global.h
4680384fff8SJason EvansWITNESS			opt_global.h
469660d1e3aSJohn BaldwinWITNESS_DDB		opt_witness.h
470660d1e3aSJohn BaldwinWITNESS_SKIPSPIN	opt_witness.h
4710384fff8SJason Evans
472b1f12b61STakanori Watanabe# options for ACPI support
473b1f12b61STakanori WatanabeACPI_DEBUG		opt_acpi.h
474b1f12b61STakanori WatanabeAML_DEBUG		opt_acpi.h
475b1f12b61STakanori WatanabeACPI_NO_ENABLE_ON_BOOT	opt_acpi.h
47693bcdfe2SPoul-Henning Kamp
47793bcdfe2SPoul-Henning Kamp# options for DEVFS, see sys/fs/devfs/devfs.h
47893bcdfe2SPoul-Henning KampNDEVFSINO		opt_devfs.h
47993bcdfe2SPoul-Henning KampNDEVFSOVERFLOW		opt_devfs.h
4805f3431b5SMark Murray
4815f3431b5SMark Murray# options for device random
4825f3431b5SMark MurrayNOBLOCKRANDOM
483