options revision 256381
1139749Simp# $FreeBSD: stable/10/sys/conf/options 256381 2013-10-12 15:31:36Z markm $
265832Snyan#
365832Snyan#        On the handling of kernel options
465832Snyan#
565832Snyan# All kernel options should be listed in NOTES, with suitable
665832Snyan# descriptions.  Negative options (options that make some code not
765832Snyan# compile) should be commented out; LINT (generated from NOTES) should
865832Snyan# compile as much code as possible.  Try to structure option-using
965832Snyan# code so that a single option only switch code on, or only switch
1065832Snyan# code off, to make it possible to have a full compile-test.  If
1165832Snyan# necessary, you can check for COMPILING_LINT to get maximum code
1265832Snyan# coverage.
1365832Snyan#
1465832Snyan# All new options shall also be listed in either "conf/options" or
1565832Snyan# "conf/options.<machine>".  Options that affect a single source-file
1665832Snyan# <xxx>.[c|s] should be directed into "opt_<xxx>.h", while options
1765832Snyan# that affect multiple files should either go in "opt_global.h" if
1865832Snyan# this is a kernel-wide option (used just about everywhere), or in
1965832Snyan# "opt_<option-name-in-lower-case>.h" if it affects only some files.
2065832Snyan# Note that the effect of listing only an option without a
2165832Snyan# header-file-name in conf/options (and cousins) is that the last
2265832Snyan# convention is followed.
2365832Snyan#
24119418Sobrien# This handling scheme is not yet fully implemented.
25119418Sobrien#
26119418Sobrien#
2765832Snyan# Format of this file:
2865832Snyan# Option name	filename
2965832Snyan#
3067158Sphk# If filename is missing, the default is
3165832Snyan# opt_<name-of-option-in-lower-case>.h
3265832Snyan
3365832SnyanAAC_DEBUG		opt_aac.h
3465832SnyanAACRAID_DEBUG		opt_aacraid.h
35140543SimpAHC_ALLOW_MEMIO		opt_aic7xxx.h
3665832SnyanAHC_TMODE_ENABLE	opt_aic7xxx.h
3765832SnyanAHC_DUMP_EEPROM		opt_aic7xxx.h
3865832SnyanAHC_DEBUG		opt_aic7xxx.h
3965832SnyanAHC_DEBUG_OPTS		opt_aic7xxx.h
4065832SnyanAHC_REG_PRETTY_PRINT	opt_aic7xxx.h
4165832SnyanAHD_DEBUG		opt_aic79xx.h
4265832SnyanAHD_DEBUG_OPTS		opt_aic79xx.h
4365832SnyanAHD_TMODE_ENABLE	opt_aic79xx.h	
4465832SnyanAHD_REG_PRETTY_PRINT	opt_aic79xx.h
45142135SimpADW_ALLOW_MEMIO		opt_adw.h
4665832Snyan
4765832SnyanTWA_DEBUG		opt_twa.h
4865832SnyanTWA_FLASH_FIRMWARE	opt_twa.h
4965832Snyan
50140528Simp# Debugging options.
51129764SimpALT_BREAK_TO_DEBUGGER	opt_kdb.h
52129764SimpBREAK_TO_DEBUGGER	opt_kdb.h
53129740SimpDDB
5465832SnyanDDB_BUFR_SIZE	opt_ddb.h
5565832SnyanDDB_CAPTURE_DEFAULTBUFSIZE	opt_ddb.h
56150458SimpDDB_CAPTURE_MAXBUFSIZE	opt_ddb.h
5765832SnyanDDB_CTF		opt_ddb.h
5865832SnyanDDB_NUMSYM	opt_ddb.h
5965832SnyanGDB
6065832SnyanKDB		opt_global.h
6165832SnyanKDB_TRACE	opt_kdb.h
6282778SshibaKDB_UNATTENDED	opt_kdb.h
63189728SimpKLD_DEBUG	opt_kld.h
64140041SimpSYSCTL_DEBUG	opt_sysctl.h
65189843SimpTEXTDUMP_PREFERRED	opt_ddb.h
66140543SimpTEXTDUMP_VERBOSE	opt_ddb.h
67151638Simp
68189843Simp# Miscellaneous options.
6982778SshibaADAPTIVE_LOCKMGRS
70140041SimpALQ
71147580SimpAUDIT		opt_global.h
72147580SimpBOOTHOWTO	opt_global.h
73147580SimpBOOTVERBOSE	opt_global.h
74147580SimpCALLOUT_PROFILING
75140041SimpCAPABILITIES	opt_capsicum.h
76190427SimpCAPABILITY_MODE	opt_capsicum.h
77189728SimpCOMPAT_43	opt_compat.h
78189728SimpCOMPAT_43TTY	opt_compat.h
7982778SshibaCOMPAT_FREEBSD4	opt_compat.h
80189728SimpCOMPAT_FREEBSD5	opt_compat.h
8182778SshibaCOMPAT_FREEBSD6	opt_compat.h
82189843SimpCOMPAT_FREEBSD7	opt_compat.h
83147580SimpCOMPILING_LINT	opt_global.h
84147580SimpCOMPRESS_USER_CORES opt_core.h
85147580SimpCY_PCI_FASTINTR
86189843SimpDEADLKRES	opt_watchdog.h
87147580SimpDIRECTIO
88151638SimpFILEMON		opt_dontuse.h
89189728SimpFFCLOCK
9082778SshibaFULL_PREEMPTION	opt_sched.h
9182778SshibaIPI_PREEMPTION	opt_sched.h
9282778SshibaGEOM_AES	opt_geom.h
93150396SimpGEOM_BDE	opt_geom.h
9482778SshibaGEOM_BSD	opt_geom.h
95140528SimpGEOM_CACHE	opt_geom.h
96140528SimpGEOM_CONCAT	opt_geom.h
97189728SimpGEOM_ELI	opt_geom.h
98189681SimpGEOM_FOX	opt_geom.h
9982778SshibaGEOM_GATE	opt_geom.h
100189728SimpGEOM_JOURNAL	opt_geom.h
101189728SimpGEOM_LABEL	opt_geom.h
102189728SimpGEOM_LINUX_LVM	opt_geom.h
103151638SimpGEOM_MBR	opt_geom.h
104151638SimpGEOM_MIRROR	opt_geom.h
105151638SimpGEOM_MULTIPATH	opt_geom.h
106151638SimpGEOM_NOP	opt_geom.h
107151638SimpGEOM_PART_APM	opt_geom.h
108151638SimpGEOM_PART_BSD	opt_geom.h
109151638SimpGEOM_PART_EBR	opt_geom.h
110151638SimpGEOM_PART_EBR_COMPAT	opt_geom.h
111151638SimpGEOM_PART_GPT	opt_geom.h
112151638SimpGEOM_PART_LDM	opt_geom.h
113189843SimpGEOM_PART_MBR	opt_geom.h
114189843SimpGEOM_PART_PC98	opt_geom.h
115189681SimpGEOM_PART_VTOC8	opt_geom.h
116189681SimpGEOM_PC98	opt_geom.h
117189681SimpGEOM_RAID	opt_geom.h
118189681SimpGEOM_RAID3	opt_geom.h
119189843SimpGEOM_SHSEC	opt_geom.h
120189681SimpGEOM_STRIPE	opt_geom.h
121189681SimpGEOM_SUNLABEL	opt_geom.h
122189681SimpGEOM_UNCOMPRESS	opt_geom.h
123152621SimpGEOM_UZIP	opt_geom.h
124189728SimpGEOM_VIRSTOR	opt_geom.h
125189728SimpGEOM_VOL	opt_geom.h
12682778SshibaGEOM_ZERO	opt_geom.h
12782778SshibaKDTRACE_HOOKS	opt_kdtrace.h
12865832SnyanKSTACK_MAX_PAGES
129189728SimpKSTACK_PAGES
130189728SimpKTRACE
131189728SimpKTRACE_REQUEST_POOL	opt_ktrace.h
132189728SimpLIBICONV
13365832SnyanMAC		opt_global.h
13465832SnyanMAC_BIBA	opt_dontuse.h
13565832SnyanMAC_BSDEXTENDED	opt_dontuse.h
13665832SnyanMAC_IFOFF	opt_dontuse.h
13765832SnyanMAC_LOMAC	opt_dontuse.h
13865832SnyanMAC_MLS		opt_dontuse.h
13965832SnyanMAC_NONE	opt_dontuse.h
14065832SnyanMAC_PARTITION	opt_dontuse.h
14165832SnyanMAC_PORTACL	opt_dontuse.h
14265832SnyanMAC_SEEOTHERUIDS	opt_dontuse.h
14365832SnyanMAC_STATIC	opt_mac.h
144189681SimpMAC_STUB	opt_dontuse.h
14565832SnyanMAC_TEST	opt_dontuse.h
146140543SimpMD_ROOT		opt_md.h
147140543SimpMD_ROOT_FSTYPE	opt_md.h
148189728SimpMD_ROOT_SIZE	opt_md.h
14965832SnyanMFI_DEBUG	opt_mfi.h
150150396SimpMFI_DECODE_LOG	opt_mfi.h
15165832SnyanMPROF_BUFFERS	opt_mprof.h
15265832SnyanMPROF_HASH_SIZE	opt_mprof.h
153189728SimpNEW_PCIB	opt_global.h
15465832SnyanNO_ADAPTIVE_MUTEXES	opt_adaptive_mutexes.h
15565832SnyanNO_ADAPTIVE_RWLOCKS
15665832SnyanNO_ADAPTIVE_SX
15765832SnyanNO_SYSCTL_DESCR	opt_global.h
15865832SnyanNSWBUF_MIN	opt_swap.h
15965832SnyanMBUF_PACKET_ZONE_DISABLE	opt_global.h
160189728SimpPANIC_REBOOT_WAIT_TIME	opt_panic.h
161140543SimpPPC_DEBUG	opt_ppc.h
162189728SimpPPC_PROBE_CHIPSET	opt_ppc.h
163140543SimpPPS_SYNC	opt_ntp.h
164140543SimpPREEMPTION	opt_sched.h
16565832SnyanPROCDESC	opt_procdesc.h
166140543SimpQUOTA
167140543SimpSCHED_4BSD	opt_sched.h
168140543SimpSCHED_STATS	opt_sched.h
169140543SimpSCHED_ULE	opt_sched.h
170150396SimpSLEEPQUEUE_PROFILING
171150396SimpSLHCI_DEBUG	opt_slhci.h
172150396SimpSPX_HACK
173150396SimpSTACK		opt_stack.h
174150396SimpSUIDDIR
175150396SimpMSGMNB		opt_sysvipc.h
176150396SimpMSGMNI		opt_sysvipc.h
177150396SimpMSGSEG		opt_sysvipc.h
178150396SimpMSGSSZ		opt_sysvipc.h
179150396SimpMSGTQL		opt_sysvipc.h
18065832SnyanSEMMNI		opt_sysvipc.h
18165832SnyanSEMMNS		opt_sysvipc.h
18265832SnyanSEMMNU		opt_sysvipc.h
18365832SnyanSEMMSL		opt_sysvipc.h
18465832SnyanSEMOPM		opt_sysvipc.h
18565832SnyanSEMUME		opt_sysvipc.h
18665832SnyanSHMALL		opt_sysvipc.h
18765832SnyanSHMMAX		opt_sysvipc.h
18865832SnyanSHMMAXPGS	opt_sysvipc.h
189147256SbrooksSHMMIN		opt_sysvipc.h
19065832SnyanSHMMNI		opt_sysvipc.h
191179493SjhbSHMSEG		opt_sysvipc.h
19265832SnyanSYSVMSG		opt_sysvipc.h
193179493SjhbSYSVSEM		opt_sysvipc.h
194179493SjhbSYSVSHM		opt_sysvipc.h
195106937SsamSW_WATCHDOG	opt_watchdog.h
196150306SimpTURNSTILE_PROFILING
197147256SbrooksUMTX_PROFILING
19865832SnyanVFS_AIO
199179493SjhbVERBOSE_SYSINIT	opt_global.h
20065832SnyanWLCACHE		opt_wavelan.h
20165832SnyanWLDEBUG		opt_wavelan.h
20265832Snyan
20365832Snyan# POSIX kernel options
20465832SnyanP1003_1B_MQUEUE			opt_posix.h
20565832SnyanP1003_1B_SEMAPHORES		opt_posix.h
20665832Snyan_KPOSIX_PRIORITY_SCHEDULING	opt_posix.h
20765832Snyan
20865832Snyan# Do we want the config file compiled into the kernel?
20965832SnyanINCLUDE_CONFIG_FILE	opt_config.h
21065832Snyan
21165832Snyan# Options for static filesystems.  These should only be used at config
21265832Snyan# time, since the corresponding lkms cannot work if there are any static
21365832Snyan# dependencies.  Unusability is enforced by hiding the defines for the
21465832Snyan# options in a never-included header.
21565832SnyanCD9660		opt_dontuse.h
21665832SnyanEXT2FS		opt_dontuse.h
21765832SnyanFDESCFS		opt_dontuse.h
21865832SnyanFFS		opt_dontuse.h
21965832SnyanFUSE		opt_dontuse.h
22065832SnyanMSDOSFS		opt_dontuse.h
22165832SnyanNANDFS		opt_dontuse.h
22265832SnyanNULLFS		opt_dontuse.h
22365832SnyanPROCFS		opt_dontuse.h
22465832SnyanPSEUDOFS	opt_dontuse.h
22565832SnyanREISERFS	opt_dontuse.h
226140543SimpSMBFS		opt_dontuse.h
22765832SnyanTMPFS		opt_dontuse.h
22865832SnyanUDF		opt_dontuse.h
22965832SnyanUNIONFS		opt_dontuse.h
23065832SnyanZFS		opt_dontuse.h
23165832Snyan
23265832Snyan# Pseudofs debugging
23365832SnyanPSEUDOFS_TRACE	opt_pseudofs.h
23465832Snyan
23565832Snyan# In-kernel GSS-API
23665832SnyanKGSSAPI		opt_kgssapi.h
23765832SnyanKGSSAPI_DEBUG	opt_kgssapi.h
23865832Snyan
23965832Snyan# These static filesystems have one slightly bogus static dependency in
24065832Snyan# sys/i386/i386/autoconf.c.  If any of these filesystems are
24165832Snyan# statically compiled into the kernel, code for mounting them as root
24265832Snyan# filesystems will be enabled - but look below.
24365832SnyanNFSCLIENT	opt_nfs.h
24465832SnyanNFSSERVER	opt_nfs.h
24565832Snyan
24665832Snyan# Use these options to compile the experimental nfs client and/or
24765832Snyan# server that supports NFSv4 into a kernel.
24865832Snyan# NFSCL - client
24965832Snyan# NFSD - server
25065832SnyanNFSCL		opt_nfs.h
25165832SnyanNFSD		opt_nfs.h
252147256Sbrooks
25365832Snyan# filesystems and libiconv bridge
25465832SnyanCD9660_ICONV	opt_dontuse.h
255147256SbrooksMSDOSFS_ICONV	opt_dontuse.h
25665832SnyanUDF_ICONV	opt_dontuse.h
25765832Snyan
25865832Snyan# If you are following the conditions in the copyright,
25965832Snyan# you can enable soft-updates which will speed up a lot of thigs
26065832Snyan# and make the system safer from crashes at the same time.
26165832Snyan# otherwise a STUB module will be compiled in.
26265832SnyanSOFTUPDATES	opt_ffs.h
26365832Snyan
26465832Snyan# On small, embedded systems, it can be useful to turn off support for
26565832Snyan# snapshots.  It saves about 30-40k for a feature that would be lightly
26665832Snyan# used, if it is used at all.
26765832SnyanNO_FFS_SNAPSHOT	opt_ffs.h
26865832Snyan
26965832Snyan# Enabling this option turns on support for Access Control Lists in UFS,
27065832Snyan# which can be used to support high security configurations.  Depends on
271151638Simp# UFS_EXTATTR.
272189728SimpUFS_ACL		opt_ufs.h
273151638Simp
274151638Simp# Enabling this option turns on support for extended attributes in UFS-based
275151638Simp# filesystems, which can be used to support high security configurations
276151638Simp# as well as new filesystem features.
277151638SimpUFS_EXTATTR	opt_ufs.h
278151638SimpUFS_EXTATTR_AUTOSTART	opt_ufs.h
279151638Simp
280151638Simp# Enable fast hash lookups for large directories on UFS-based filesystems.
281151638SimpUFS_DIRHASH	opt_ufs.h
282151638Simp
283151638Simp# Enable gjournal-based UFS journal.
284151638SimpUFS_GJOURNAL	opt_ufs.h
285151638Simp
286151638Simp# The below sentence is not in English, and neither is this one.
287151638Simp# We plan to remove the static dependences above, with a
288151638Simp# <filesystem>_ROOT option to control if it usable as root.  This list
289151638Simp# allows these options to be present in config files already (though
290151638Simp# they won't make any difference yet).
291151638SimpNFS_ROOT	opt_nfsroot.h
292151638Simp
293151638Simp# SMB/CIFS requester
294151638SimpNETSMB		opt_netsmb.h
295151638Simp
296151638Simp# Options used only in subr_param.c.
297151638SimpHZ		opt_param.h
298151638SimpMAXFILES	opt_param.h
299151638SimpNBUF		opt_param.h
300151638SimpNSFBUFS		opt_param.h
301151638SimpVM_BCACHE_SIZE_MAX	opt_param.h
302151638SimpVM_SWZONE_SIZE_MAX	opt_param.h
303151638SimpMAXUSERS
304151638SimpDFLDSIZ		opt_param.h
30565832SnyanMAXDSIZ		opt_param.h
30665832SnyanMAXSSIZ		opt_param.h
30765832Snyan
30865832Snyan# Generic SCSI options.
309199798SrwatsonCAM_MAX_HIGHPOWER	opt_cam.h
31065832SnyanCAMDEBUG		opt_cam.h
31165832SnyanCAM_DEBUG_COMPILE	opt_cam.h
312150458SimpCAM_DEBUG_DELAY		opt_cam.h
31365832SnyanCAM_DEBUG_BUS		opt_cam.h
31465832SnyanCAM_DEBUG_TARGET	opt_cam.h
31565832SnyanCAM_DEBUG_LUN		opt_cam.h
316140543SimpCAM_DEBUG_FLAGS		opt_cam.h
31765832SnyanCAM_BOOT_DELAY		opt_cam.h
31865832SnyanSCSI_DELAY		opt_scsi.h
31965832SnyanSCSI_NO_SENSE_STRINGS	opt_scsi.h
320189728SimpSCSI_NO_OP_STRINGS	opt_scsi.h
321189728Simp
322189728Simp# Options used only in cam/ata/ata_da.c
323189728SimpADA_TEST_FAILURE	opt_ada.h
324189728SimpATA_STATIC_ID		opt_ada.h
325189728Simp
32665832Snyan# Options used only in cam/scsi/scsi_cd.c
327151638SimpCHANGER_MIN_BUSY_SECONDS	opt_cd.h
328189728SimpCHANGER_MAX_BUSY_SECONDS	opt_cd.h
32965832Snyan
33065832Snyan# Options used only in cam/scsi/scsi_sa.c.
33165832SnyanSA_IO_TIMEOUT		opt_sa.h
33265832SnyanSA_SPACE_TIMEOUT	opt_sa.h
33365832SnyanSA_REWIND_TIMEOUT	opt_sa.h
33465832SnyanSA_ERASE_TIMEOUT	opt_sa.h
335189728SimpSA_1FM_AT_EOD		opt_sa.h
336189728Simp
337189728Simp# Options used only in cam/scsi/scsi_pt.c
338189728SimpSCSI_PT_DEFAULT_TIMEOUT	opt_pt.h
339142136Simp
34065832Snyan# Options used only in cam/scsi/scsi_ses.c
341189728SimpSES_ENABLE_PASSTHROUGH	opt_ses.h
34265832Snyan
343189728Simp# Options used in dev/sym/ (Symbios SCSI driver).
34465832SnyanSYM_SETUP_LP_PROBE_MAP	opt_sym.h	#-Low Priority Probe Map (bits)
345147256Sbrooks					# Allows the ncr to take precedence
346140543Simp					# 1 (1<<0) -> 810a, 860
347189728Simp					# 2 (1<<1) -> 825a, 875, 885, 895
348189728Simp					# 4 (1<<2) -> 895a, 896, 1510d 
349189728SimpSYM_SETUP_SCSI_DIFF	opt_sym.h	#-HVD support for 825a, 875, 885
350151638Simp					# disabled:0 (default), enabled:1
351151638SimpSYM_SETUP_PCI_PARITY	opt_sym.h	#-PCI parity checking
352189728Simp					# disabled:0, enabled:1 (default)
353189728SimpSYM_SETUP_MAX_LUN	opt_sym.h	#-Number of LUNs supported
354142136Simp					# default:8, range:[1..64]
35565832Snyan
356189728Simp# Options used only in pci/ncr.c
35765832SnyanSCSI_NCR_DEBUG		opt_ncr.h
358SCSI_NCR_MAX_SYNC	opt_ncr.h
359SCSI_NCR_MAX_WIDE	opt_ncr.h
360SCSI_NCR_MYADDR		opt_ncr.h
361
362# Options used only in dev/isp/*
363ISP_TARGET_MODE		opt_isp.h
364ISP_FW_CRASH_DUMP	opt_isp.h
365ISP_DEFAULT_ROLES	opt_isp.h
366ISP_INTERNAL_TARGET	opt_isp.h
367
368# Options used only in dev/iscsi
369ISCSI_INITIATOR_DEBUG	opt_iscsi_initiator.h
370
371# Net stuff.
372ACCEPT_FILTER_DATA
373ACCEPT_FILTER_DNS
374ACCEPT_FILTER_HTTP
375ALTQ			opt_global.h
376ALTQ_CBQ		opt_altq.h
377ALTQ_CDNR		opt_altq.h
378ALTQ_DEBUG		opt_altq.h
379ALTQ_HFSC		opt_altq.h
380ALTQ_NOPCC		opt_altq.h
381ALTQ_PRIQ		opt_altq.h
382ALTQ_RED		opt_altq.h
383ALTQ_RIO		opt_altq.h
384BOOTP			opt_bootp.h
385BOOTP_BLOCKSIZE		opt_bootp.h
386BOOTP_COMPAT		opt_bootp.h
387BOOTP_NFSROOT		opt_bootp.h
388BOOTP_NFSV3		opt_bootp.h
389BOOTP_WIRED_TO		opt_bootp.h
390DEVICE_POLLING
391DEV_ENC			opt_enc.h
392DEV_PF			opt_pf.h
393DEV_PFLOG		opt_pf.h
394DEV_PFSYNC		opt_pf.h
395DEV_VLAN		opt_vlan.h
396DUMMYNET		opt_ipdn.h
397ETHER_8022		opt_ef.h
398ETHER_8023		opt_ef.h
399ETHER_II		opt_ef.h
400ETHER_SNAP		opt_ef.h
401INET			opt_inet.h
402INET6			opt_inet6.h
403IPDIVERT
404IPFILTER		opt_ipfilter.h
405IPFILTER_DEFAULT_BLOCK	opt_ipfilter.h
406IPFILTER_LOG		opt_ipfilter.h
407IPFILTER_LOOKUP		opt_ipfilter.h
408IPFIREWALL		opt_ipfw.h
409IPFIREWALL_DEFAULT_TO_ACCEPT	opt_ipfw.h
410IPFIREWALL_NAT		opt_ipfw.h
411IPFIREWALL_VERBOSE	opt_ipfw.h
412IPFIREWALL_VERBOSE_LIMIT	opt_ipfw.h
413IPSEC			opt_ipsec.h
414IPSEC_DEBUG		opt_ipsec.h
415IPSEC_FILTERTUNNEL	opt_ipsec.h
416IPSEC_NAT_T		opt_ipsec.h
417IPSTEALTH
418IPX
419KRPC
420LIBALIAS
421LIBMBPOOL
422LIBMCHAIN
423MBUF_PROFILING
424MBUF_STRESS_TEST
425MROUTING		opt_mrouting.h
426NETATALK		opt_atalk.h
427NFSLOCKD
428PCBGROUP		opt_pcbgroup.h
429PF_DEFAULT_TO_DROP	opt_pf.h
430RADIX_MPATH		opt_mpath.h
431ROUTETABLES		opt_route.h
432SLIP_IFF_OPTS		opt_slip.h
433TCPDEBUG
434TCP_OFFLOAD		opt_inet.h # Enable code to dispatch TCP offloading
435TCP_SIGNATURE		opt_inet.h
436VLAN_ARRAY		opt_vlan.h
437XBONEHACK
438FLOWTABLE		opt_route.h
439
440#
441# SCTP
442#
443SCTP			opt_sctp.h
444SCTP_DEBUG		opt_sctp.h # Enable debug printfs
445SCTP_WITH_NO_CSUM	opt_sctp.h # Use this at your peril
446SCTP_LOCK_LOGGING	opt_sctp.h # Log to KTR lock activity
447SCTP_MBUF_LOGGING	opt_sctp.h # Log to KTR general mbuf aloc/free
448SCTP_MBCNT_LOGGING	opt_sctp.h # Log to KTR mbcnt activity
449SCTP_PACKET_LOGGING	opt_sctp.h # Log to a packet buffer last N packets
450SCTP_LTRACE_CHUNKS	opt_sctp.h # Log to KTR chunks processed
451SCTP_LTRACE_ERRORS	opt_sctp.h # Log to KTR error returns.
452SCTP_USE_PERCPU_STAT    opt_sctp.h # Use per cpu stats.
453SCTP_MCORE_INPUT        opt_sctp.h # Have multiple input threads for input mbufs
454#
455#
456#
457
458# Netgraph(4). Use option NETGRAPH to enable the base netgraph code.
459# Each netgraph node type can be either be compiled into the kernel
460# or loaded dynamically. To get the former, include the corresponding
461# option below. Each type has its own man page, e.g. ng_async(4).
462NETGRAPH
463NETGRAPH_DEBUG		opt_netgraph.h
464NETGRAPH_ASYNC		opt_netgraph.h
465NETGRAPH_ATMLLC		opt_netgraph.h
466NETGRAPH_ATM_ATMPIF	opt_netgraph.h
467NETGRAPH_BLUETOOTH	opt_netgraph.h
468NETGRAPH_BLUETOOTH_BT3C	opt_netgraph.h
469NETGRAPH_BLUETOOTH_H4	opt_netgraph.h
470NETGRAPH_BLUETOOTH_HCI	opt_netgraph.h
471NETGRAPH_BLUETOOTH_L2CAP	opt_netgraph.h
472NETGRAPH_BLUETOOTH_SOCKET	opt_netgraph.h
473NETGRAPH_BLUETOOTH_UBT	opt_netgraph.h
474NETGRAPH_BLUETOOTH_UBTBCMFW	opt_netgraph.h
475NETGRAPH_BPF		opt_netgraph.h
476NETGRAPH_BRIDGE		opt_netgraph.h
477NETGRAPH_CAR		opt_netgraph.h
478NETGRAPH_CISCO		opt_netgraph.h
479NETGRAPH_DEFLATE	opt_netgraph.h
480NETGRAPH_DEVICE		opt_netgraph.h
481NETGRAPH_ECHO		opt_netgraph.h
482NETGRAPH_EIFACE		opt_netgraph.h
483NETGRAPH_ETHER		opt_netgraph.h
484NETGRAPH_ETHER_ECHO	opt_netgraph.h
485NETGRAPH_FEC		opt_netgraph.h
486NETGRAPH_FRAME_RELAY	opt_netgraph.h
487NETGRAPH_GIF		opt_netgraph.h
488NETGRAPH_GIF_DEMUX	opt_netgraph.h
489NETGRAPH_HOLE		opt_netgraph.h
490NETGRAPH_IFACE		opt_netgraph.h
491NETGRAPH_IP_INPUT	opt_netgraph.h
492NETGRAPH_IPFW		opt_netgraph.h
493NETGRAPH_KSOCKET	opt_netgraph.h
494NETGRAPH_L2TP		opt_netgraph.h
495NETGRAPH_LMI		opt_netgraph.h
496# MPPC compression requires proprietary files (not included)
497NETGRAPH_MPPC_COMPRESSION	opt_netgraph.h
498NETGRAPH_MPPC_ENCRYPTION	opt_netgraph.h
499NETGRAPH_NAT		opt_netgraph.h
500NETGRAPH_NETFLOW	opt_netgraph.h
501NETGRAPH_ONE2MANY	opt_netgraph.h
502NETGRAPH_PATCH		opt_netgraph.h
503NETGRAPH_PIPE		opt_netgraph.h
504NETGRAPH_PPP		opt_netgraph.h
505NETGRAPH_PPPOE		opt_netgraph.h
506NETGRAPH_PPTPGRE	opt_netgraph.h
507NETGRAPH_PRED1		opt_netgraph.h
508NETGRAPH_RFC1490	opt_netgraph.h
509NETGRAPH_SOCKET		opt_netgraph.h
510NETGRAPH_SPLIT		opt_netgraph.h
511NETGRAPH_SPPP		opt_netgraph.h
512NETGRAPH_TAG		opt_netgraph.h
513NETGRAPH_TCPMSS		opt_netgraph.h
514NETGRAPH_TEE		opt_netgraph.h
515NETGRAPH_TTY		opt_netgraph.h
516NETGRAPH_UI		opt_netgraph.h
517NETGRAPH_VJC		opt_netgraph.h
518NETGRAPH_VLAN		opt_netgraph.h
519
520# NgATM options
521NGATM_ATM		opt_netgraph.h
522NGATM_ATMBASE		opt_netgraph.h
523NGATM_SSCOP		opt_netgraph.h
524NGATM_SSCFU		opt_netgraph.h
525NGATM_UNI		opt_netgraph.h
526NGATM_CCATM		opt_netgraph.h
527
528# DRM options
529DRM_DEBUG		opt_drm.h
530
531TI_SF_BUF_JUMBO		opt_ti.h
532TI_JUMBO_HDRSPLIT	opt_ti.h
533
534# XXX Conflict: # of devices vs network protocol (Native ATM).
535# This makes "atm.h" unusable.
536NATM
537
538# DPT driver debug flags
539DPT_MEASURE_PERFORMANCE	opt_dpt.h
540DPT_RESET_HBA		opt_dpt.h
541
542# Misc debug flags.  Most of these should probably be replaced with
543# 'DEBUG', and then let people recompile just the interesting modules
544# with 'make CC="cc -DDEBUG"'.
545CLUSTERDEBUG		opt_debug_cluster.h
546DEBUG_1284		opt_ppb_1284.h
547VP0_DEBUG		opt_vpo.h
548LPT_DEBUG		opt_lpt.h
549PLIP_DEBUG		opt_plip.h
550LOCKF_DEBUG		opt_debug_lockf.h
551NETATALKDEBUG		opt_atalk.h
552SI_DEBUG		opt_debug_si.h
553
554# Fb options
555FB_DEBUG		opt_fb.h
556FB_INSTALL_CDEV		opt_fb.h
557
558# ppbus related options
559PERIPH_1284		opt_ppb_1284.h
560DONTPROBE_1284		opt_ppb_1284.h
561
562# smbus related options
563ENABLE_ALART		opt_intpm.h
564
565# These cause changes all over the kernel
566BLKDEV_IOSIZE		opt_global.h
567BURN_BRIDGES		opt_global.h
568DEBUG			opt_global.h
569DEBUG_LOCKS		opt_global.h
570DEBUG_VFS_LOCKS		opt_global.h
571DFLTPHYS		opt_global.h
572DIAGNOSTIC		opt_global.h
573INVARIANT_SUPPORT	opt_global.h
574INVARIANTS		opt_global.h
575MAXCPU			opt_global.h
576MAXMEMDOM		opt_global.h
577MAXPHYS			opt_global.h
578MCLSHIFT		opt_global.h
579MUTEX_DEBUG		opt_global.h
580MUTEX_NOINLINE		opt_global.h
581LOCK_PROFILING		opt_global.h
582LOCK_PROFILING_FAST	opt_global.h
583MSIZE			opt_global.h
584REGRESSION		opt_global.h
585RWLOCK_NOINLINE		opt_global.h
586SX_NOINLINE		opt_global.h
587VFS_BIO_DEBUG		opt_global.h
588
589# These are VM related options
590VM_KMEM_SIZE		opt_vm.h
591VM_KMEM_SIZE_SCALE	opt_vm.h
592VM_KMEM_SIZE_MAX	opt_vm.h
593VM_NRESERVLEVEL		opt_vm.h
594VM_LEVEL_0_ORDER	opt_vm.h
595NO_SWAPPING		opt_vm.h
596MALLOC_MAKE_FAILURES	opt_vm.h
597MALLOC_PROFILE		opt_vm.h
598MALLOC_DEBUG_MAXZONES	opt_vm.h
599
600# The MemGuard replacement allocator used for tamper-after-free detection
601DEBUG_MEMGUARD		opt_vm.h
602
603# The RedZone malloc(9) protection
604DEBUG_REDZONE		opt_vm.h
605
606# Standard SMP options
607SMP			opt_global.h
608
609# Size of the kernel message buffer
610MSGBUF_SIZE		opt_msgbuf.h
611
612# NFS options
613NFS_MINATTRTIMO		opt_nfs.h
614NFS_MAXATTRTIMO		opt_nfs.h
615NFS_MINDIRATTRTIMO	opt_nfs.h
616NFS_MAXDIRATTRTIMO	opt_nfs.h
617NFS_GATHERDELAY		opt_nfs.h
618NFS_WDELAYHASHSIZ	opt_nfs.h
619NFS_DEBUG		opt_nfs.h
620
621# For the Bt848/Bt848A/Bt849/Bt878/Bt879 driver
622OVERRIDE_CARD			opt_bktr.h
623OVERRIDE_TUNER			opt_bktr.h
624OVERRIDE_DBX			opt_bktr.h
625OVERRIDE_MSP			opt_bktr.h
626BROOKTREE_SYSTEM_DEFAULT	opt_bktr.h
627BROOKTREE_ALLOC_PAGES		opt_bktr.h
628BKTR_OVERRIDE_CARD		opt_bktr.h
629BKTR_OVERRIDE_TUNER		opt_bktr.h
630BKTR_OVERRIDE_DBX		opt_bktr.h
631BKTR_OVERRIDE_MSP		opt_bktr.h
632BKTR_SYSTEM_DEFAULT		opt_bktr.h
633BKTR_ALLOC_PAGES		opt_bktr.h
634BKTR_USE_PLL			opt_bktr.h	
635BKTR_GPIO_ACCESS		opt_bktr.h
636BKTR_NO_MSP_RESET		opt_bktr.h
637BKTR_430_FX_MODE		opt_bktr.h
638BKTR_SIS_VIA_MODE		opt_bktr.h
639BKTR_USE_FREEBSD_SMBUS		opt_bktr.h
640BKTR_NEW_MSP34XX_DRIVER		opt_bktr.h
641
642# Options for uart(4)
643UART_PPS_ON_CTS		opt_uart.h
644UART_POLL_FREQ		opt_uart.h
645
646# options for bus/device framework
647BUS_DEBUG		opt_bus.h
648
649# options for USB support
650USB_DEBUG		opt_usb.h
651USB_HOST_ALIGN		opt_usb.h
652USB_REQ_DEBUG		opt_usb.h
653USB_TEMPLATE		opt_usb.h
654USB_VERBOSE		opt_usb.h
655USB_EHCI_BIG_ENDIAN_DESC	opt_usb.h
656U3G_DEBUG		opt_u3g.h
657UKBD_DFLT_KEYMAP	opt_ukbd.h
658UPLCOM_INTR_INTERVAL	opt_uplcom.h
659UVSCOM_DEFAULT_OPKTSIZE	opt_uvscom.h
660UVSCOM_INTR_INTERVAL	opt_uvscom.h
661
662# Embedded system options
663INIT_PATH
664
665ROOTDEVNAME
666
667FDC_DEBUG		opt_fdc.h
668PCFCLOCK_VERBOSE	opt_pcfclock.h
669PCFCLOCK_MAX_RETRIES	opt_pcfclock.h
670
671KTR			opt_global.h
672KTR_ALQ			opt_ktr.h
673KTR_MASK		opt_ktr.h
674KTR_CPUMASK		opt_ktr.h
675KTR_COMPILE		opt_global.h
676KTR_BOOT_ENTRIES	opt_global.h
677KTR_ENTRIES		opt_global.h
678KTR_VERBOSE		opt_ktr.h
679WITNESS			opt_global.h
680WITNESS_KDB		opt_witness.h
681WITNESS_NO_VNODE	opt_witness.h
682WITNESS_SKIPSPIN	opt_witness.h
683OPENSOLARIS_WITNESS	opt_global.h
684
685# options for ACPI support
686ACPI_DEBUG		opt_acpi.h
687ACPI_MAX_TASKS		opt_acpi.h
688ACPI_MAX_THREADS	opt_acpi.h
689
690# ISA support
691DEV_ISA			opt_isa.h
692ISAPNP			opt_isa.h
693
694# various 'device presence' options.
695DEV_BPF			opt_bpf.h
696DEV_NETMAP		opt_global.h
697DEV_MCA			opt_mca.h
698DEV_CARP		opt_carp.h
699DEV_SPLASH		opt_splash.h
700
701# EISA support
702DEV_EISA		opt_eisa.h
703EISA_SLOTS		opt_eisa.h
704
705# ed driver
706ED_HPP			opt_ed.h
707ED_3C503		opt_ed.h
708ED_SIC			opt_ed.h
709
710# bce driver
711BCE_DEBUG		opt_bce.h
712BCE_NVRAM_WRITE_SUPPORT	opt_bce.h
713
714SOCKBUF_DEBUG		opt_global.h
715
716
717# options for ubsec driver
718UBSEC_DEBUG		opt_ubsec.h
719UBSEC_RNDTEST		opt_ubsec.h
720UBSEC_NO_RNG		opt_ubsec.h
721
722# options for hifn driver
723HIFN_DEBUG		opt_hifn.h
724HIFN_RNDTEST		opt_hifn.h
725
726# options for safenet driver
727SAFE_DEBUG		opt_safe.h
728SAFE_NO_RNG		opt_safe.h
729SAFE_RNDTEST		opt_safe.h
730
731# syscons options
732MAXCONS			opt_syscons.h
733SC_ALT_MOUSE_IMAGE	opt_syscons.h
734SC_CUT_SPACES2TABS	opt_syscons.h
735SC_CUT_SEPCHARS		opt_syscons.h
736SC_DEBUG_LEVEL		opt_syscons.h
737SC_DFLT_FONT		opt_syscons.h
738SC_DISABLE_KDBKEY	opt_syscons.h
739SC_DISABLE_REBOOT	opt_syscons.h
740SC_HISTORY_SIZE		opt_syscons.h
741SC_KERNEL_CONS_ATTR	opt_syscons.h
742SC_KERNEL_CONS_REV_ATTR	opt_syscons.h
743SC_MOUSE_CHAR		opt_syscons.h
744SC_NO_CUTPASTE		opt_syscons.h
745SC_NO_FONT_LOADING	opt_syscons.h
746SC_NO_HISTORY		opt_syscons.h
747SC_NO_MODE_CHANGE	opt_syscons.h
748SC_NO_SUSPEND_VTYSWITCH	opt_syscons.h
749SC_NO_SYSMOUSE		opt_syscons.h
750SC_NORM_ATTR		opt_syscons.h
751SC_NORM_REV_ATTR	opt_syscons.h
752SC_PIXEL_MODE		opt_syscons.h
753SC_RENDER_DEBUG		opt_syscons.h
754SC_TWOBUTTON_MOUSE	opt_syscons.h
755
756# teken terminal emulator options
757TEKEN_CONS25		opt_teken.h
758TEKEN_UTF8		opt_teken.h
759
760# options for printf
761PRINTF_BUFR_SIZE	opt_printf.h
762
763# kbd options
764KBD_DISABLE_KEYMAP_LOAD	opt_kbd.h
765KBD_INSTALL_CDEV	opt_kbd.h
766KBD_MAXRETRY		opt_kbd.h
767KBD_MAXWAIT		opt_kbd.h
768KBD_RESETDELAY		opt_kbd.h
769KBDIO_DEBUG		opt_kbd.h
770
771# options for the Atheros driver
772ATH_DEBUG		opt_ath.h
773ATH_TXBUF		opt_ath.h
774ATH_RXBUF		opt_ath.h
775ATH_DIAGAPI		opt_ath.h
776ATH_TX99_DIAG		opt_ath.h
777ATH_ENABLE_11N		opt_ath.h
778ATH_ENABLE_DFS		opt_ath.h
779ATH_EEPROM_FIRMWARE	opt_ath.h
780ATH_ENABLE_RADIOTAP_VENDOR_EXT	opt_ath.h
781ATH_DEBUG_ALQ		opt_ath.h
782ATH_KTR_INTR_DEBUG	opt_ath.h
783
784# options for the Atheros hal
785AH_SUPPORT_AR5416	opt_ah.h
786# XXX For now, this breaks non-AR9130 chipsets, so only use it
787# XXX when actually targetting AR9130.
788AH_SUPPORT_AR9130	opt_ah.h
789
790# This is required for AR933x SoC support
791AH_SUPPORT_AR9330	opt_ah.h
792AH_SUPPORT_AR9340	opt_ah.h
793
794AH_DEBUG		opt_ah.h
795AH_ASSERT		opt_ah.h
796AH_DEBUG_ALQ		opt_ah.h
797AH_REGOPS_FUNC		opt_ah.h
798AH_WRITE_REGDOMAIN	opt_ah.h
799AH_DEBUG_COUNTRY	opt_ah.h
800AH_WRITE_EEPROM		opt_ah.h
801AH_PRIVATE_DIAG		opt_ah.h
802AH_NEED_DESC_SWAP	opt_ah.h
803AH_USE_INIPDGAIN	opt_ah.h
804AH_MAXCHAN		opt_ah.h
805AH_RXCFG_SDMAMW_4BYTES	opt_ah.h
806AH_INTERRUPT_DEBUGGING	opt_ah.h
807# AR5416 and later interrupt mitigation
808# XXX do not use this for AR9130
809AH_AR5416_INTERRUPT_MITIGATION	opt_ah.h
810
811# options for the Broadcom BCM43xx driver (bwi)
812BWI_DEBUG		opt_bwi.h
813BWI_DEBUG_VERBOSE	opt_bwi.h
814
815# options for the Marvell 8335 wireless driver
816MALO_DEBUG		opt_malo.h
817MALO_TXBUF		opt_malo.h
818MALO_RXBUF		opt_malo.h
819
820# options for the Marvell wireless driver
821MWL_DEBUG		opt_mwl.h
822MWL_TXBUF		opt_mwl.h
823MWL_RXBUF		opt_mwl.h
824MWL_DIAGAPI		opt_mwl.h
825MWL_AGGR_SIZE		opt_mwl.h
826MWL_TX_NODROP		opt_mwl.h
827
828# Options for the Intel 802.11n wireless driver
829IWN_DEBUG		opt_iwn.h
830
831# dcons options 
832DCONS_BUF_SIZE		opt_dcons.h
833DCONS_POLL_HZ		opt_dcons.h
834DCONS_FORCE_CONSOLE	opt_dcons.h
835DCONS_FORCE_GDB		opt_dcons.h
836
837# HWPMC options
838HWPMC_HOOKS
839HWPMC_MIPS_BACKTRACE 	opt_hwpmc_hooks.h
840
841# XBOX options for FreeBSD/i386, but some files are MI
842XBOX			opt_xbox.h
843
844# Interrupt filtering
845INTR_FILTER
846
847# 802.11 support layer
848IEEE80211_DEBUG		opt_wlan.h
849IEEE80211_DEBUG_REFCNT	opt_wlan.h
850IEEE80211_AMPDU_AGE	opt_wlan.h
851IEEE80211_SUPPORT_MESH	opt_wlan.h
852IEEE80211_SUPPORT_SUPERG	opt_wlan.h
853IEEE80211_SUPPORT_TDMA	opt_wlan.h
854IEEE80211_ALQ		opt_wlan.h
855IEEE80211_DFS_DEBUG	opt_wlan.h
856
857# 802.11 TDMA support
858TDMA_SLOTLEN_DEFAULT	opt_tdma.h
859TDMA_SLOTCNT_DEFAULT	opt_tdma.h
860TDMA_BINTVAL_DEFAULT	opt_tdma.h
861TDMA_TXRATE_11B_DEFAULT	opt_tdma.h
862TDMA_TXRATE_11G_DEFAULT	opt_tdma.h
863TDMA_TXRATE_11A_DEFAULT	opt_tdma.h
864TDMA_TXRATE_TURBO_DEFAULT	opt_tdma.h
865TDMA_TXRATE_HALF_DEFAULT	opt_tdma.h
866TDMA_TXRATE_QUARTER_DEFAULT	opt_tdma.h
867TDMA_TXRATE_11NA_DEFAULT	opt_tdma.h
868TDMA_TXRATE_11NG_DEFAULT	opt_tdma.h
869
870# Network stack virtualization options
871VIMAGE			opt_global.h
872VNET_DEBUG		opt_global.h
873
874# Common Flash Interface (CFI) options
875CFI_SUPPORT_STRATAFLASH	opt_cfi.h
876CFI_ARMEDANDDANGEROUS	opt_cfi.h
877
878# Sound options
879SND_DEBUG		opt_snd.h
880SND_DIAGNOSTIC		opt_snd.h
881SND_FEEDER_MULTIFORMAT	opt_snd.h
882SND_FEEDER_FULL_MULTIFORMAT	opt_snd.h
883SND_FEEDER_RATE_HP	opt_snd.h
884SND_PCM_64		opt_snd.h
885SND_OLDSTEREO		opt_snd.h
886
887X86BIOS
888
889# Flattened device tree options
890FDT		opt_platform.h
891FDT_DTB_STATIC	opt_platform.h
892
893# OFED Infiniband stack
894OFED		opt_ofed.h
895OFED_DEBUG_INIT	opt_ofed.h
896SDP		opt_ofed.h
897SDP_DEBUG	opt_ofed.h
898IPOIB		opt_ofed.h
899IPOIB_DEBUG	opt_ofed.h
900IPOIB_CM	opt_ofed.h
901
902# Resource Accounting
903RACCT		opt_global.h
904
905# Resource Limits
906RCTL		opt_global.h
907
908# Random number generator(s)
909RANDOM_YARROW	opt_random.h
910RANDOM_FORTUNA	opt_random.h
911RANDOM_DEBUG	opt_random.h
912RANDOM_RWFILE	opt_random.h
913