options revision 227333
198937Sdes# $FreeBSD: head/sys/conf/options 227333 2011-11-08 10:18:07Z attilio $
298937Sdes#
398937Sdes#        On the handling of kernel options
498937Sdes#
598937Sdes# All kernel options should be listed in NOTES, with suitable
698937Sdes# descriptions.  Negative options (options that make some code not
798937Sdes# compile) should be commented out; LINT (generated from NOTES) should
898937Sdes# compile as much code as possible.  Try to structure option-using
998937Sdes# code so that a single option only switch code on, or only switch
1098937Sdes# code off, to make it possible to have a full compile-test.  If
1198937Sdes# necessary, you can check for COMPILING_LINT to get maximum code
1298937Sdes# coverage.
1398937Sdes#
1498937Sdes# All new options shall also be listed in either "conf/options" or
1598937Sdes# "conf/options.<machine>".  Options that affect a single source-file
1698937Sdes# <xxx>.[c|s] should be directed into "opt_<xxx>.h", while options
1798937Sdes# that affect multiple files should either go in "opt_global.h" if
1898937Sdes# this is a kernel-wide option (used just about everywhere), or in
1998937Sdes# "opt_<option-name-in-lower-case>.h" if it affects only some files.
2098937Sdes# Note that the effect of listing only an option without a
2198937Sdes# header-file-name in conf/options (and cousins) is that the last
2298937Sdes# convention is followed.
2398937Sdes#
2498937Sdes# This handling scheme is not yet fully implemented.
2598937Sdes#
2698937Sdes#
2798937Sdes# Format of this file:
2898937Sdes# Option name	filename
2998937Sdes#
3098937Sdes# If filename is missing, the default is
3198937Sdes# opt_<name-of-option-in-lower-case>.h
3298937Sdes
3398937SdesAAC_DEBUG		opt_aac.h
3498937SdesAHC_ALLOW_MEMIO		opt_aic7xxx.h
3598937SdesAHC_TMODE_ENABLE	opt_aic7xxx.h
3698937SdesAHC_DUMP_EEPROM		opt_aic7xxx.h
3798937SdesAHC_DEBUG		opt_aic7xxx.h
3898937SdesAHC_DEBUG_OPTS		opt_aic7xxx.h
3998937SdesAHC_REG_PRETTY_PRINT	opt_aic7xxx.h
4098937SdesAHD_DEBUG		opt_aic79xx.h
4198937SdesAHD_DEBUG_OPTS		opt_aic79xx.h
4298937SdesAHD_TMODE_ENABLE	opt_aic79xx.h	
4398937SdesAHD_REG_PRETTY_PRINT	opt_aic79xx.h
4498937SdesADW_ALLOW_MEMIO		opt_adw.h
4598937Sdes
4698937SdesTWA_DEBUG		opt_twa.h
4798937SdesTWA_FLASH_FIRMWARE	opt_twa.h
4898937Sdes
4998937Sdes# Debugging options.
5098937SdesALT_BREAK_TO_DEBUGGER	opt_kdb.h
5198937SdesBREAK_TO_DEBUGGER	opt_kdb.h
5298937SdesDDB
5398937SdesDDB_BUFR_SIZE	opt_ddb.h
5498937SdesDDB_CAPTURE_DEFAULTBUFSIZE	opt_ddb.h
5598937SdesDDB_CAPTURE_MAXBUFSIZE	opt_ddb.h
5698937SdesDDB_CTF		opt_ddb.h
5798937SdesDDB_NUMSYM	opt_ddb.h
5898937SdesGDB
59215116SdesKDB		opt_global.h
6098937SdesKDB_TRACE	opt_kdb.h
6198937SdesKDB_UNATTENDED	opt_kdb.h
6298937SdesKLD_DEBUG	opt_kld.h
6398937SdesSYSCTL_DEBUG	opt_sysctl.h
6498937Sdes
6598937Sdes# Miscellaneous options.
66221420SdesADAPTIVE_LOCKMGRS
67221420SdesALQ
6898937SdesAUDIT		opt_global.h
6998937SdesCAPABILITIES	opt_capsicum.h
7098937SdesCAPABILITY_MODE	opt_capsicum.h
7198937SdesCODA_COMPAT_5	opt_coda.h
7298937SdesCOMPAT_43	opt_compat.h
7398937SdesCOMPAT_43TTY	opt_compat.h
7498937SdesCOMPAT_FREEBSD4	opt_compat.h
7598937SdesCOMPAT_FREEBSD5	opt_compat.h
7698937SdesCOMPAT_FREEBSD6	opt_compat.h
7798937SdesCOMPAT_FREEBSD7	opt_compat.h
7898937SdesCOMPILING_LINT	opt_global.h
7998937SdesCOMPRESS_USER_CORES opt_core.h
8098937SdesCY_PCI_FASTINTR
8198937SdesDEADLKRES	opt_watchdog.h
8298937SdesDIRECTIO
8398937SdesFULL_PREEMPTION	opt_sched.h
8498937SdesIPI_PREEMPTION	opt_sched.h
8598937SdesGEOM_AES	opt_geom.h
8698937SdesGEOM_BDE	opt_geom.h
8798937SdesGEOM_BSD	opt_geom.h
8898937SdesGEOM_CACHE	opt_geom.h
89221420SdesGEOM_CONCAT	opt_geom.h
9098937SdesGEOM_ELI	opt_geom.h
9198937SdesGEOM_FOX	opt_geom.h
9298937SdesGEOM_GATE	opt_geom.h
9398937SdesGEOM_JOURNAL	opt_geom.h
94221420SdesGEOM_LABEL	opt_geom.h
9598937SdesGEOM_LINUX_LVM	opt_geom.h
9698937SdesGEOM_MBR	opt_geom.h
9798937SdesGEOM_MIRROR	opt_geom.h
9898937SdesGEOM_MULTIPATH	opt_geom.h
9998937SdesGEOM_NOP	opt_geom.h
10098937SdesGEOM_PART_APM	opt_geom.h
10198937SdesGEOM_PART_BSD	opt_geom.h
10298937SdesGEOM_PART_EBR	opt_geom.h
10398937SdesGEOM_PART_EBR_COMPAT	opt_geom.h
10498937SdesGEOM_PART_GPT	opt_geom.h
10598937SdesGEOM_PART_MBR	opt_geom.h
10698937SdesGEOM_PART_PC98	opt_geom.h
10798937SdesGEOM_PART_VTOC8	opt_geom.h
10898937SdesGEOM_PC98	opt_geom.h
10998937SdesGEOM_RAID	opt_geom.h
11098937SdesGEOM_RAID3	opt_geom.h
11198937SdesGEOM_SHSEC	opt_geom.h
11298937SdesGEOM_STRIPE	opt_geom.h
11398937SdesGEOM_SUNLABEL	opt_geom.h
11498937SdesGEOM_UZIP	opt_geom.h
11598937SdesGEOM_VIRSTOR	opt_geom.h
11698937SdesGEOM_VOL	opt_geom.h
11798937SdesGEOM_ZERO	opt_geom.h
11898937SdesKDTRACE_HOOKS	opt_kdtrace.h
11998937SdesKSTACK_MAX_PAGES
120221420SdesKSTACK_PAGES
12198937SdesKTRACE
122221420SdesKTRACE_REQUEST_POOL	opt_ktrace.h
12398937SdesLIBICONV
12498937SdesMAC		opt_global.h
125149749SdesMAC_BIBA	opt_dontuse.h
12698937SdesMAC_BSDEXTENDED	opt_dontuse.h
12798937SdesMAC_IFOFF	opt_dontuse.h
12898937SdesMAC_LOMAC	opt_dontuse.h
129146998SdesMAC_MLS		opt_dontuse.h
130146998SdesMAC_NONE	opt_dontuse.h
13198937SdesMAC_PARTITION	opt_dontuse.h
132MAC_PORTACL	opt_dontuse.h
133MAC_SEEOTHERUIDS	opt_dontuse.h
134MAC_STATIC	opt_mac.h
135MAC_STUB	opt_dontuse.h
136MAC_TEST	opt_dontuse.h
137MD_ROOT		opt_md.h
138MD_ROOT_SIZE	opt_md.h
139MFI_DEBUG	opt_mfi.h
140MFI_DECODE_LOG	opt_mfi.h
141MPROF_BUFFERS	opt_mprof.h
142MPROF_HASH_SIZE	opt_mprof.h
143NEW_PCIB	opt_global.h
144NO_ADAPTIVE_MUTEXES	opt_adaptive_mutexes.h
145NO_ADAPTIVE_RWLOCKS
146NO_ADAPTIVE_SX
147NO_SYSCTL_DESCR	opt_global.h
148NSWBUF_MIN	opt_swap.h
149MBUF_PACKET_ZONE_DISABLE	opt_global.h
150PANIC_REBOOT_WAIT_TIME	opt_panic.h
151PPC_DEBUG	opt_ppc.h
152PPC_PROBE_CHIPSET	opt_ppc.h
153PPS_SYNC	opt_ntp.h
154PREEMPTION	opt_sched.h
155PROCDESC	opt_procdesc.h
156QUOTA
157SCHED_4BSD	opt_sched.h
158SCHED_STATS	opt_sched.h
159SCHED_ULE	opt_sched.h
160SLEEPQUEUE_PROFILING
161SLHCI_DEBUG	opt_slhci.h
162SPX_HACK
163STACK		opt_stack.h
164SUIDDIR
165MSGMNB		opt_sysvipc.h
166MSGMNI		opt_sysvipc.h
167MSGSEG		opt_sysvipc.h
168MSGSSZ		opt_sysvipc.h
169MSGTQL		opt_sysvipc.h
170SEMMNI		opt_sysvipc.h
171SEMMNS		opt_sysvipc.h
172SEMMNU		opt_sysvipc.h
173SEMMSL		opt_sysvipc.h
174SEMOPM		opt_sysvipc.h
175SEMUME		opt_sysvipc.h
176SHMALL		opt_sysvipc.h
177SHMMAX		opt_sysvipc.h
178SHMMAXPGS	opt_sysvipc.h
179SHMMIN		opt_sysvipc.h
180SHMMNI		opt_sysvipc.h
181SHMSEG		opt_sysvipc.h
182SYSVMSG		opt_sysvipc.h
183SYSVSEM		opt_sysvipc.h
184SYSVSHM		opt_sysvipc.h
185SW_WATCHDOG	opt_watchdog.h
186TURNSTILE_PROFILING
187VFS_AIO
188VFS_ALLOW_NONMPSAFE
189VERBOSE_SYSINIT	opt_global.h
190WLCACHE		opt_wavelan.h
191WLDEBUG		opt_wavelan.h
192
193# POSIX kernel options
194P1003_1B_MQUEUE			opt_posix.h
195P1003_1B_SEMAPHORES		opt_posix.h
196_KPOSIX_PRIORITY_SCHEDULING	opt_posix.h
197
198# Do we want the config file compiled into the kernel?
199INCLUDE_CONFIG_FILE	opt_config.h
200
201# Options for static filesystems.  These should only be used at config
202# time, since the corresponding lkms cannot work if there are any static
203# dependencies.  Unusability is enforced by hiding the defines for the
204# options in a never-included header.
205CD9660		opt_dontuse.h
206CODA		opt_dontuse.h
207EXT2FS		opt_dontuse.h
208FDESCFS		opt_dontuse.h
209FFS		opt_dontuse.h
210HPFS		opt_dontuse.h
211MSDOSFS		opt_dontuse.h
212NTFS		opt_dontuse.h
213NULLFS		opt_dontuse.h
214NWFS		opt_dontuse.h
215PORTALFS	opt_dontuse.h
216PROCFS		opt_dontuse.h
217PSEUDOFS	opt_dontuse.h
218REISERFS	opt_dontuse.h
219SMBFS		opt_dontuse.h
220TMPFS		opt_dontuse.h
221UDF		opt_dontuse.h
222UNIONFS		opt_dontuse.h
223
224# Pseudofs debugging
225PSEUDOFS_TRACE	opt_pseudofs.h
226
227# In-kernel GSS-API
228KGSSAPI		opt_kgssapi.h
229KGSSAPI_DEBUG	opt_kgssapi.h
230
231# These static filesystems have one slightly bogus static dependency in
232# sys/i386/i386/autoconf.c.  If any of these filesystems are
233# statically compiled into the kernel, code for mounting them as root
234# filesystems will be enabled - but look below.
235NFSCLIENT	opt_nfs.h
236NFSSERVER	opt_nfs.h
237
238# Use these options to compile the experimental nfs client and/or
239# server that supports NFSv4 into a kernel.
240# NFSCL - client
241# NFSD - server
242NFSCL		opt_nfs.h
243NFSD		opt_nfs.h
244
245# filesystems and libiconv bridge
246CD9660_ICONV	opt_dontuse.h
247MSDOSFS_ICONV	opt_dontuse.h
248NTFS_ICONV	opt_dontuse.h
249UDF_ICONV	opt_dontuse.h
250
251# If you are following the conditions in the copyright,
252# you can enable soft-updates which will speed up a lot of thigs
253# and make the system safer from crashes at the same time.
254# otherwise a STUB module will be compiled in.
255SOFTUPDATES	opt_ffs.h
256
257# On small, embedded systems, it can be useful to turn off support for
258# snapshots.  It saves about 30-40k for a feature that would be lightly
259# used, if it is used at all.
260NO_FFS_SNAPSHOT	opt_ffs.h
261
262# Enabling this option turns on support for Access Control Lists in UFS,
263# which can be used to support high security configurations.  Depends on
264# UFS_EXTATTR.
265UFS_ACL		opt_ufs.h
266
267# Enabling this option turns on support for extended attributes in UFS-based
268# filesystems, which can be used to support high security configurations
269# as well as new filesystem features.
270UFS_EXTATTR	opt_ufs.h
271UFS_EXTATTR_AUTOSTART	opt_ufs.h
272
273# Enable fast hash lookups for large directories on UFS-based filesystems.
274UFS_DIRHASH	opt_ufs.h
275
276# Enable gjournal-based UFS journal.
277UFS_GJOURNAL	opt_ufs.h
278
279# The below sentence is not in English, and neither is this one.
280# We plan to remove the static dependences above, with a
281# <filesystem>_ROOT option to control if it usable as root.  This list
282# allows these options to be present in config files already (though
283# they won't make any difference yet).
284NFS_ROOT	opt_nfsroot.h
285
286# SMB/CIFS requester
287NETSMB		opt_netsmb.h
288
289# Options used only in subr_param.c.
290HZ		opt_param.h
291MAXFILES	opt_param.h
292NBUF		opt_param.h
293NSFBUFS		opt_param.h
294VM_BCACHE_SIZE_MAX	opt_param.h
295VM_SWZONE_SIZE_MAX	opt_param.h
296MAXUSERS
297DFLDSIZ		opt_param.h
298MAXDSIZ		opt_param.h
299MAXSSIZ		opt_param.h
300
301# Generic SCSI options.
302CAM_MAX_HIGHPOWER	opt_cam.h
303CAMDEBUG		opt_cam.h
304CAM_DEBUG_DELAY		opt_cam.h
305CAM_DEBUG_BUS		opt_cam.h
306CAM_DEBUG_TARGET	opt_cam.h
307CAM_DEBUG_LUN		opt_cam.h
308CAM_DEBUG_FLAGS		opt_cam.h
309SCSI_DELAY		opt_scsi.h
310SCSI_NO_SENSE_STRINGS	opt_scsi.h
311SCSI_NO_OP_STRINGS	opt_scsi.h
312
313# Options used only in cam/ata/ata_da.c
314ADA_TEST_FAILURE       opt_ada.h
315
316# Options used only in cam/scsi/scsi_cd.c
317CHANGER_MIN_BUSY_SECONDS	opt_cd.h
318CHANGER_MAX_BUSY_SECONDS	opt_cd.h
319
320# Options used only in cam/scsi/scsi_sa.c.
321SA_IO_TIMEOUT		opt_sa.h
322SA_SPACE_TIMEOUT	opt_sa.h
323SA_REWIND_TIMEOUT	opt_sa.h
324SA_ERASE_TIMEOUT	opt_sa.h
325SA_1FM_AT_EOD		opt_sa.h
326
327# Options used only in cam/scsi/scsi_pt.c
328SCSI_PT_DEFAULT_TIMEOUT	opt_pt.h
329
330# Options used only in cam/scsi/scsi_ses.c
331SES_ENABLE_PASSTHROUGH	opt_ses.h
332
333# Options used in dev/sym/ (Symbios SCSI driver).
334SYM_SETUP_LP_PROBE_MAP	opt_sym.h	#-Low Priority Probe Map (bits)
335					# Allows the ncr to take precedence
336					# 1 (1<<0) -> 810a, 860
337					# 2 (1<<1) -> 825a, 875, 885, 895
338					# 4 (1<<2) -> 895a, 896, 1510d 
339SYM_SETUP_SCSI_DIFF	opt_sym.h	#-HVD support for 825a, 875, 885
340					# disabled:0 (default), enabled:1
341SYM_SETUP_PCI_PARITY	opt_sym.h	#-PCI parity checking
342					# disabled:0, enabled:1 (default)
343SYM_SETUP_MAX_LUN	opt_sym.h	#-Number of LUNs supported
344					# default:8, range:[1..64]
345
346# Options used only in pci/ncr.c
347SCSI_NCR_DEBUG		opt_ncr.h
348SCSI_NCR_MAX_SYNC	opt_ncr.h
349SCSI_NCR_MAX_WIDE	opt_ncr.h
350SCSI_NCR_MYADDR		opt_ncr.h
351
352# Options used only in dev/isp/*
353ISP_TARGET_MODE		opt_isp.h
354ISP_FW_CRASH_DUMP	opt_isp.h
355ISP_DEFAULT_ROLES	opt_isp.h
356ISP_INTERNAL_TARGET	opt_isp.h
357
358# Options used only in dev/iscsi
359ISCSI_INITIATOR_DEBUG	opt_iscsi_initiator.h
360
361# Options used in the 'ata' ATA/ATAPI driver
362ATA_STATIC_ID		opt_ata.h
363ATA_NOPCI		opt_ata.h
364ATA_REQUEST_TIMEOUT	opt_ata.h
365ATA_CAM			opt_ata.h
366
367# Net stuff.
368ACCEPT_FILTER_DATA
369ACCEPT_FILTER_DNS
370ACCEPT_FILTER_HTTP
371ALTQ			opt_global.h
372ALTQ_CBQ		opt_altq.h
373ALTQ_CDNR		opt_altq.h
374ALTQ_DEBUG		opt_altq.h
375ALTQ_HFSC		opt_altq.h
376ALTQ_NOPCC		opt_altq.h
377ALTQ_PRIQ		opt_altq.h
378ALTQ_RED		opt_altq.h
379ALTQ_RIO		opt_altq.h
380BOOTP			opt_bootp.h
381BOOTP_BLOCKSIZE		opt_bootp.h
382BOOTP_COMPAT		opt_bootp.h
383BOOTP_NFSROOT		opt_bootp.h
384BOOTP_NFSV3		opt_bootp.h
385BOOTP_WIRED_TO		opt_bootp.h
386DEVICE_POLLING
387DEV_ENC			opt_enc.h
388DEV_PF			opt_pf.h
389DEV_PFLOG		opt_pf.h
390DEV_PFSYNC		opt_pf.h
391DEV_VLAN		opt_vlan.h
392DUMMYNET		opt_ipdn.h
393ETHER_8022		opt_ef.h
394ETHER_8023		opt_ef.h
395ETHER_II		opt_ef.h
396ETHER_SNAP		opt_ef.h
397INET			opt_inet.h
398INET6			opt_inet6.h
399IPDIVERT
400IPFILTER		opt_ipfilter.h
401IPFILTER_DEFAULT_BLOCK	opt_ipfilter.h
402IPFILTER_LOG		opt_ipfilter.h
403IPFILTER_LOOKUP		opt_ipfilter.h
404IPFIREWALL		opt_ipfw.h
405IPFIREWALL_DEFAULT_TO_ACCEPT	opt_ipfw.h
406IPFIREWALL_FORWARD	opt_ipfw.h
407IPFIREWALL_NAT		opt_ipfw.h
408IPFIREWALL_VERBOSE	opt_ipfw.h
409IPFIREWALL_VERBOSE_LIMIT	opt_ipfw.h
410IPSEC			opt_ipsec.h
411IPSEC_DEBUG		opt_ipsec.h
412IPSEC_FILTERTUNNEL	opt_ipsec.h
413IPSEC_NAT_T		opt_ipsec.h
414IPSTEALTH
415IPX
416KRPC
417LIBALIAS
418LIBMBPOOL
419LIBMCHAIN
420MBUF_PROFILING
421MBUF_STRESS_TEST
422MROUTING		opt_mrouting.h
423NCP
424NETATALK		opt_atalk.h
425NFSLOCKD
426PCBGROUP		opt_pcbgroup.h
427RADIX_MPATH		opt_mpath.h
428ROUTETABLES		opt_route.h
429SLIP_IFF_OPTS		opt_slip.h
430TCPDEBUG
431TCP_OFFLOAD_DISABLE	opt_inet.h #Disable code to dispatch tcp offloading
432TCP_SIGNATURE		opt_inet.h
433VLAN_ARRAY		opt_vlan.h
434XBONEHACK
435FLOWTABLE		opt_route.h
436
437#
438# SCTP
439#
440SCTP			opt_sctp.h
441SCTP_DEBUG		opt_sctp.h # Enable debug printfs
442SCTP_WITH_NO_CSUM	opt_sctp.h # Use this at your peril
443SCTP_LOCK_LOGGING	opt_sctp.h # Log to KTR lock activity
444SCTP_MBUF_LOGGING	opt_sctp.h # Log to KTR general mbuf aloc/free
445SCTP_MBCNT_LOGGING	opt_sctp.h # Log to KTR mbcnt activity
446SCTP_PACKET_LOGGING	opt_sctp.h # Log to a packet buffer last N packets
447SCTP_LTRACE_CHUNKS	opt_sctp.h # Log to KTR chunks processed
448SCTP_LTRACE_ERRORS	opt_sctp.h # Log to KTR error returns.
449SCTP_USE_PERCPU_STAT    opt_sctp.h # Use per cpu stats.
450SCTP_MCORE_INPUT        opt_sctp.h # Have multiple input threads for input mbufs
451#
452#
453#
454
455# Netgraph(4). Use option NETGRAPH to enable the base netgraph code.
456# Each netgraph node type can be either be compiled into the kernel
457# or loaded dynamically. To get the former, include the corresponding
458# option below. Each type has its own man page, e.g. ng_async(4).
459NETGRAPH
460NETGRAPH_DEBUG		opt_netgraph.h
461NETGRAPH_ASYNC		opt_netgraph.h
462NETGRAPH_ATMLLC		opt_netgraph.h
463NETGRAPH_ATM_ATMPIF	opt_netgraph.h
464NETGRAPH_BLUETOOTH	opt_netgraph.h
465NETGRAPH_BLUETOOTH_BT3C	opt_netgraph.h
466NETGRAPH_BLUETOOTH_H4	opt_netgraph.h
467NETGRAPH_BLUETOOTH_HCI	opt_netgraph.h
468NETGRAPH_BLUETOOTH_L2CAP	opt_netgraph.h
469NETGRAPH_BLUETOOTH_SOCKET	opt_netgraph.h
470NETGRAPH_BLUETOOTH_UBT	opt_netgraph.h
471NETGRAPH_BLUETOOTH_UBTBCMFW	opt_netgraph.h
472NETGRAPH_BPF		opt_netgraph.h
473NETGRAPH_BRIDGE		opt_netgraph.h
474NETGRAPH_CAR		opt_netgraph.h
475NETGRAPH_CISCO		opt_netgraph.h
476NETGRAPH_DEFLATE	opt_netgraph.h
477NETGRAPH_DEVICE		opt_netgraph.h
478NETGRAPH_ECHO		opt_netgraph.h
479NETGRAPH_EIFACE		opt_netgraph.h
480NETGRAPH_ETHER		opt_netgraph.h
481NETGRAPH_ETHER_ECHO	opt_netgraph.h
482NETGRAPH_FEC		opt_netgraph.h
483NETGRAPH_FRAME_RELAY	opt_netgraph.h
484NETGRAPH_GIF		opt_netgraph.h
485NETGRAPH_GIF_DEMUX	opt_netgraph.h
486NETGRAPH_HOLE		opt_netgraph.h
487NETGRAPH_IFACE		opt_netgraph.h
488NETGRAPH_IP_INPUT	opt_netgraph.h
489NETGRAPH_IPFW		opt_netgraph.h
490NETGRAPH_KSOCKET	opt_netgraph.h
491NETGRAPH_L2TP		opt_netgraph.h
492NETGRAPH_LMI		opt_netgraph.h
493# MPPC compression requires proprietary files (not included)
494NETGRAPH_MPPC_COMPRESSION	opt_netgraph.h
495NETGRAPH_MPPC_ENCRYPTION	opt_netgraph.h
496NETGRAPH_NAT		opt_netgraph.h
497NETGRAPH_NETFLOW	opt_netgraph.h
498NETGRAPH_ONE2MANY	opt_netgraph.h
499NETGRAPH_PATCH		opt_netgraph.h
500NETGRAPH_PIPE		opt_netgraph.h
501NETGRAPH_PPP		opt_netgraph.h
502NETGRAPH_PPPOE		opt_netgraph.h
503NETGRAPH_PPTPGRE	opt_netgraph.h
504NETGRAPH_PRED1		opt_netgraph.h
505NETGRAPH_RFC1490	opt_netgraph.h
506NETGRAPH_SOCKET		opt_netgraph.h
507NETGRAPH_SPLIT		opt_netgraph.h
508NETGRAPH_SPPP		opt_netgraph.h
509NETGRAPH_TAG		opt_netgraph.h
510NETGRAPH_TCPMSS		opt_netgraph.h
511NETGRAPH_TEE		opt_netgraph.h
512NETGRAPH_TTY		opt_netgraph.h
513NETGRAPH_UI		opt_netgraph.h
514NETGRAPH_VJC		opt_netgraph.h
515NETGRAPH_VLAN		opt_netgraph.h
516
517# NgATM options
518NGATM_ATM		opt_netgraph.h
519NGATM_ATMBASE		opt_netgraph.h
520NGATM_SSCOP		opt_netgraph.h
521NGATM_SSCFU		opt_netgraph.h
522NGATM_UNI		opt_netgraph.h
523NGATM_CCATM		opt_netgraph.h
524
525# DRM options
526DRM_DEBUG		opt_drm.h
527
528ZERO_COPY_SOCKETS	opt_zero.h
529TI_PRIVATE_JUMBOS	opt_ti.h
530TI_JUMBO_HDRSPLIT	opt_ti.h
531BCE_JUMBO_HDRSPLIT	opt_bce.h
532
533# XXX Conflict: # of devices vs network protocol (Native ATM).
534# This makes "atm.h" unusable.
535NATM
536
537# DPT driver debug flags
538DPT_MEASURE_PERFORMANCE	opt_dpt.h
539DPT_HANDLE_TIMEOUTS	opt_dpt.h
540DPT_TIMEOUT_FACTOR	opt_dpt.h
541DPT_LOST_IRQ		opt_dpt.h
542DPT_RESET_HBA		opt_dpt.h
543
544# Misc debug flags.  Most of these should probably be replaced with
545# 'DEBUG', and then let people recompile just the interesting modules
546# with 'make CC="cc -DDEBUG"'.
547CLUSTERDEBUG		opt_debug_cluster.h
548DEBUG_1284		opt_ppb_1284.h
549VP0_DEBUG		opt_vpo.h
550LPT_DEBUG		opt_lpt.h
551PLIP_DEBUG		opt_plip.h
552LOCKF_DEBUG		opt_debug_lockf.h
553NETATALKDEBUG		opt_atalk.h
554SI_DEBUG		opt_debug_si.h
555
556# Fb options
557FB_DEBUG		opt_fb.h
558FB_INSTALL_CDEV		opt_fb.h
559
560# ppbus related options
561PERIPH_1284		opt_ppb_1284.h
562DONTPROBE_1284		opt_ppb_1284.h
563
564# smbus related options
565ENABLE_ALART		opt_intpm.h
566
567# These cause changes all over the kernel
568BLKDEV_IOSIZE		opt_global.h
569BURN_BRIDGES		opt_global.h
570DEBUG			opt_global.h
571DEBUG_LOCKS		opt_global.h
572DEBUG_VFS_LOCKS		opt_global.h
573DFLTPHYS		opt_global.h
574DIAGNOSTIC		opt_global.h
575INVARIANT_SUPPORT	opt_global.h
576INVARIANTS		opt_global.h
577MAXCPU			opt_global.h
578MAXPHYS			opt_global.h
579MCLSHIFT		opt_global.h
580MUTEX_DEBUG		opt_global.h
581MUTEX_NOINLINE		opt_global.h
582LOCK_PROFILING		opt_global.h
583LOCK_PROFILING_FAST	opt_global.h
584MSIZE			opt_global.h
585REGRESSION		opt_global.h
586RWLOCK_NOINLINE		opt_global.h
587SX_NOINLINE		opt_global.h
588VFS_BIO_DEBUG		opt_global.h
589
590# These are VM related options
591VM_KMEM_SIZE		opt_vm.h
592VM_KMEM_SIZE_SCALE	opt_vm.h
593VM_KMEM_SIZE_MAX	opt_vm.h
594VM_NRESERVLEVEL		opt_vm.h
595VM_LEVEL_0_ORDER	opt_vm.h
596NO_SWAPPING		opt_vm.h
597MALLOC_MAKE_FAILURES	opt_vm.h
598MALLOC_PROFILE		opt_vm.h
599MALLOC_DEBUG_MAXZONES	opt_vm.h
600
601# The MemGuard replacement allocator used for tamper-after-free detection
602DEBUG_MEMGUARD		opt_vm.h
603
604# The RedZone malloc(9) protection
605DEBUG_REDZONE		opt_vm.h
606
607# Standard SMP options
608SMP			opt_global.h
609
610# Size of the kernel message buffer
611MSGBUF_SIZE		opt_msgbuf.h
612
613# NFS options
614NFS_MINATTRTIMO		opt_nfs.h
615NFS_MAXATTRTIMO		opt_nfs.h
616NFS_MINDIRATTRTIMO	opt_nfs.h
617NFS_MAXDIRATTRTIMO	opt_nfs.h
618NFS_GATHERDELAY		opt_nfs.h
619NFS_WDELAYHASHSIZ	opt_nfs.h
620NFS_DEBUG		opt_nfs.h
621
622# For the Bt848/Bt848A/Bt849/Bt878/Bt879 driver
623OVERRIDE_CARD			opt_bktr.h
624OVERRIDE_TUNER			opt_bktr.h
625OVERRIDE_DBX			opt_bktr.h
626OVERRIDE_MSP			opt_bktr.h
627BROOKTREE_SYSTEM_DEFAULT	opt_bktr.h
628BROOKTREE_ALLOC_PAGES		opt_bktr.h
629BKTR_OVERRIDE_CARD		opt_bktr.h
630BKTR_OVERRIDE_TUNER		opt_bktr.h
631BKTR_OVERRIDE_DBX		opt_bktr.h
632BKTR_OVERRIDE_MSP		opt_bktr.h
633BKTR_SYSTEM_DEFAULT		opt_bktr.h
634BKTR_ALLOC_PAGES		opt_bktr.h
635BKTR_USE_PLL			opt_bktr.h	
636BKTR_GPIO_ACCESS		opt_bktr.h
637BKTR_NO_MSP_RESET		opt_bktr.h
638BKTR_430_FX_MODE		opt_bktr.h
639BKTR_SIS_VIA_MODE		opt_bktr.h
640BKTR_USE_FREEBSD_SMBUS		opt_bktr.h
641BKTR_NEW_MSP34XX_DRIVER		opt_bktr.h
642
643# Options to support PPS
644UART_PPS_ON_CTS		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_VERBOSE		opt_usb.h
654USB_EHCI_BIG_ENDIAN_DESC	opt_usb.h
655U3G_DEBUG		opt_u3g.h
656UKBD_DFLT_KEYMAP	opt_ukbd.h
657UPLCOM_INTR_INTERVAL	opt_uplcom.h
658UVSCOM_DEFAULT_OPKTSIZE	opt_uvscom.h
659UVSCOM_INTR_INTERVAL	opt_uvscom.h
660
661# Embedded system options
662INIT_PATH
663
664ROOTDEVNAME
665
666FDC_DEBUG		opt_fdc.h
667PCFCLOCK_VERBOSE	opt_pcfclock.h
668PCFCLOCK_MAX_RETRIES	opt_pcfclock.h
669
670KTR			opt_global.h
671KTR_ALQ			opt_ktr.h
672KTR_MASK		opt_ktr.h
673KTR_CPUMASK		opt_ktr.h
674KTR_COMPILE		opt_global.h
675KTR_ENTRIES		opt_global.h
676KTR_VERBOSE		opt_ktr.h
677WITNESS			opt_global.h
678WITNESS_KDB		opt_witness.h
679WITNESS_SKIPSPIN	opt_witness.h
680
681# options for ACPI support
682ACPI_DEBUG		opt_acpi.h
683ACPI_MAX_TASKS		opt_acpi.h
684ACPI_MAX_THREADS	opt_acpi.h
685
686# ISA support
687DEV_ISA			opt_isa.h
688ISAPNP			opt_isa.h
689
690# various 'device presence' options.
691DEV_BPF			opt_bpf.h
692DEV_MCA			opt_mca.h
693DEV_CARP		opt_carp.h
694DEV_SPLASH		opt_splash.h
695
696# EISA support
697DEV_EISA		opt_eisa.h
698EISA_SLOTS		opt_eisa.h
699
700# ed driver
701ED_HPP			opt_ed.h
702ED_3C503		opt_ed.h
703ED_SIC			opt_ed.h
704
705# bce driver
706BCE_DEBUG		opt_bce.h
707BCE_NVRAM_WRITE_SUPPORT	opt_bce.h
708
709# bxe driver
710BXE_DEBUG		opt_bxe.h
711BXE_NVRAM_WRITE_SUPPORT	opt_bxe.h
712
713SOCKBUF_DEBUG		opt_global.h
714
715
716# options for ubsec driver
717UBSEC_DEBUG		opt_ubsec.h
718UBSEC_RNDTEST		opt_ubsec.h
719UBSEC_NO_RNG		opt_ubsec.h
720
721# options for hifn driver
722HIFN_DEBUG		opt_hifn.h
723HIFN_RNDTEST		opt_hifn.h
724
725# options for safenet driver
726SAFE_DEBUG		opt_safe.h
727SAFE_NO_RNG		opt_safe.h
728SAFE_RNDTEST		opt_safe.h
729
730# syscons options
731MAXCONS			opt_syscons.h
732SC_ALT_MOUSE_IMAGE	opt_syscons.h
733SC_CUT_SPACES2TABS	opt_syscons.h
734SC_CUT_SEPCHARS		opt_syscons.h
735SC_DEBUG_LEVEL		opt_syscons.h
736SC_DFLT_FONT		opt_syscons.h
737SC_DISABLE_KDBKEY	opt_syscons.h
738SC_DISABLE_REBOOT	opt_syscons.h
739SC_HISTORY_SIZE		opt_syscons.h
740SC_KERNEL_CONS_ATTR	opt_syscons.h
741SC_KERNEL_CONS_REV_ATTR	opt_syscons.h
742SC_MOUSE_CHAR		opt_syscons.h
743SC_NO_CUTPASTE		opt_syscons.h
744SC_NO_FONT_LOADING	opt_syscons.h
745SC_NO_HISTORY		opt_syscons.h
746SC_NO_MODE_CHANGE	opt_syscons.h
747SC_NO_SUSPEND_VTYSWITCH	opt_syscons.h
748SC_NO_SYSMOUSE		opt_syscons.h
749SC_NORM_ATTR		opt_syscons.h
750SC_NORM_REV_ATTR	opt_syscons.h
751SC_PIXEL_MODE		opt_syscons.h
752SC_RENDER_DEBUG		opt_syscons.h
753SC_TWOBUTTON_MOUSE	opt_syscons.h
754
755# teken terminal emulator options
756TEKEN_CONS25		opt_teken.h
757TEKEN_UTF8		opt_teken.h
758
759# options for printf
760PRINTF_BUFR_SIZE	opt_printf.h
761
762# kbd options
763KBD_DISABLE_KEYMAP_LOAD	opt_kbd.h
764KBD_INSTALL_CDEV	opt_kbd.h
765KBD_MAXRETRY		opt_kbd.h
766KBD_MAXWAIT		opt_kbd.h
767KBD_RESETDELAY		opt_kbd.h
768KBDIO_DEBUG		opt_kbd.h
769
770# options for the Atheros driver
771ATH_DEBUG		opt_ath.h
772ATH_TXBUF		opt_ath.h
773ATH_RXBUF		opt_ath.h
774ATH_DIAGAPI		opt_ath.h
775ATH_TX99_DIAG		opt_ath.h
776ATH_ENABLE_11N		opt_ath.h
777ATH_ENABLE_DFS		opt_ath.h
778
779# options for the Atheros hal
780AH_SUPPORT_AR5416	opt_ah.h
781# XXX For now, this breaks non-AR9130 chipsets, so only use it
782# XXX when actually targetting AR9130.
783AH_SUPPORT_AR9130	opt_ah.h
784
785AH_DEBUG		opt_ah.h
786AH_ASSERT		opt_ah.h
787AH_DEBUG_ALQ		opt_ah.h
788AH_REGOPS_FUNC		opt_ah.h
789AH_WRITE_REGDOMAIN	opt_ah.h
790AH_DEBUG_COUNTRY	opt_ah.h
791AH_WRITE_EEPROM		opt_ah.h
792AH_PRIVATE_DIAG		opt_ah.h
793AH_NEED_DESC_SWAP	opt_ah.h
794AH_USE_INIPDGAIN	opt_ah.h
795AH_MAXCHAN		opt_ah.h
796AH_RXCFG_SDMAMW_4BYTES	opt_ah.h
797
798# AR5416 and later interrupt mitigation
799# XXX do not use this for AR9130
800AH_AR5416_INTERRUPT_MITIGATION	opt_ah.h
801
802# options for the Broadcom BCM43xx driver (bwi)
803BWI_DEBUG		opt_bwi.h
804BWI_DEBUG_VERBOSE	opt_bwi.h
805
806# options for the Marvell 8335 wireless driver
807MALO_DEBUG		opt_malo.h
808MALO_TXBUF		opt_malo.h
809MALO_RXBUF		opt_malo.h
810
811# options for the Marvell wireless driver
812MWL_DEBUG		opt_mwl.h
813MWL_TXBUF		opt_mwl.h
814MWL_RXBUF		opt_mwl.h
815MWL_DIAGAPI		opt_mwl.h
816MWL_AGGR_SIZE		opt_mwl.h
817MWL_TX_NODROP		opt_mwl.h
818
819# dcons options 
820DCONS_BUF_SIZE		opt_dcons.h
821DCONS_POLL_HZ		opt_dcons.h
822DCONS_FORCE_CONSOLE	opt_dcons.h
823DCONS_FORCE_GDB		opt_dcons.h
824
825# HWPMC options
826HWPMC_HOOKS
827
828# XBOX options for FreeBSD/i386, but some files are MI
829XBOX			opt_xbox.h
830
831# XFS
832XFS
833
834# Interrupt filtering
835INTR_FILTER
836
837# 802.11 support layer
838IEEE80211_DEBUG		opt_wlan.h
839IEEE80211_DEBUG_REFCNT	opt_wlan.h
840IEEE80211_AMPDU_AGE	opt_wlan.h
841IEEE80211_SUPPORT_MESH	opt_wlan.h
842IEEE80211_SUPPORT_SUPERG	opt_wlan.h
843IEEE80211_SUPPORT_TDMA	opt_wlan.h
844IEEE80211_ALQ		opt_wlan.h
845
846# 802.11 TDMA support
847TDMA_SLOTLEN_DEFAULT	opt_tdma.h
848TDMA_SLOTCNT_DEFAULT	opt_tdma.h
849TDMA_BINTVAL_DEFAULT	opt_tdma.h
850TDMA_TXRATE_11B_DEFAULT	opt_tdma.h
851TDMA_TXRATE_11G_DEFAULT	opt_tdma.h
852TDMA_TXRATE_11A_DEFAULT	opt_tdma.h
853TDMA_TXRATE_TURBO_DEFAULT	opt_tdma.h
854TDMA_TXRATE_HALF_DEFAULT	opt_tdma.h
855TDMA_TXRATE_QUARTER_DEFAULT	opt_tdma.h
856TDMA_TXRATE_11NA_DEFAULT	opt_tdma.h
857TDMA_TXRATE_11NG_DEFAULT	opt_tdma.h
858
859# Network stack virtualization options
860VIMAGE			opt_global.h
861VNET_DEBUG		opt_global.h
862
863# Common Flash Interface (CFI) options
864CFI_SUPPORT_STRATAFLASH	opt_cfi.h
865CFI_ARMEDANDDANGEROUS	opt_cfi.h
866
867# Sound options
868SND_DEBUG		opt_snd.h
869SND_DIAGNOSTIC		opt_snd.h
870SND_FEEDER_MULTIFORMAT	opt_snd.h
871SND_FEEDER_FULL_MULTIFORMAT	opt_snd.h
872SND_FEEDER_RATE_HP	opt_snd.h
873SND_PCM_64		opt_snd.h
874SND_OLDSTEREO		opt_snd.h
875
876X86BIOS
877
878# Flattened device tree options
879FDT		opt_platform.h
880FDT_DTB_STATIC	opt_platform.h
881
882# OFED Infiniband stack
883OFED		opt_ofed.h
884OFED_DEBUG_INIT	opt_ofed.h
885SDP		opt_ofed.h
886SDP_DEBUG	opt_ofed.h
887IPOIB_DEBUG	opt_ofed.h
888IPOIB_CM	opt_ofed.h
889
890# Resource Accounting
891RACCT		opt_global.h
892
893# Resource Limits
894RCTL		opt_global.h
895
896# At least one of the AR71XX ubiquiti boards has a Redboot configuration
897# that "lies" about the amount of RAM it has. Until a cleaner method is
898# defined, this option will suffice in overriding what Redboot says.
899AR71XX_REALMEM    opt_global.h
900
901