xref: /freebsd/sys/conf/options (revision 9fd69f37d28cfd7438cac3eeb45fe9dd46b4d7dd)
1# $FreeBSD$
2#
3#        On the handling of kernel options
4#
5# All kernel options should be listed in NOTES, with suitable
6# descriptions.  Negative options (options that make some code not
7# compile) should be commented out; LINT (generated from NOTES) should
8# compile as much code as possible.  Try to structure option-using
9# code so that a single option only switch code on, or only switch
10# code off, to make it possible to have a full compile-test.  If
11# necessary, you can check for COMPILING_LINT to get maximum code
12# coverage.
13#
14# All new options shall also be listed in either "conf/options" or
15# "conf/options.<machine>".  Options that affect a single source-file
16# <xxx>.[c|s] should be directed into "opt_<xxx>.h", while options
17# that affect multiple files should either go in "opt_global.h" if
18# this is a kernel-wide option (used just about everywhere), or in
19# "opt_<option-name-in-lower-case>.h" if it affects only some files.
20# Note that the effect of listing only an option without a
21# header-file-name in conf/options (and cousins) is that the last
22# convention is followed.
23#
24# This handling scheme is not yet fully implemented.
25#
26#
27# Format of this file:
28# Option name	filename
29#
30# If filename is missing, the default is
31# opt_<name-of-option-in-lower-case>.h
32
33AAC_DEBUG		opt_aac.h
34AHC_ALLOW_MEMIO		opt_aic7xxx.h
35AHC_TMODE_ENABLE	opt_aic7xxx.h
36AHC_DUMP_EEPROM		opt_aic7xxx.h
37AHC_DEBUG		opt_aic7xxx.h
38AHC_DEBUG_OPTS		opt_aic7xxx.h
39AHC_REG_PRETTY_PRINT	opt_aic7xxx.h
40AHD_DEBUG		opt_aic79xx.h
41AHD_DEBUG_OPTS		opt_aic79xx.h
42AHD_TMODE_ENABLE	opt_aic79xx.h
43AHD_REG_PRETTY_PRINT	opt_aic79xx.h
44ADW_ALLOW_MEMIO		opt_adw.h
45
46TWA_DEBUG		opt_twa.h
47TWA_FLASH_FIRMWARE	opt_twa.h
48
49# Debugging options.
50DDB
51DDB_BUFR_SIZE	opt_ddb.h
52DDB_CAPTURE_DEFAULTBUFSIZE	opt_ddb.h
53DDB_CAPTURE_MAXBUFSIZE	opt_ddb.h
54DDB_CTF		opt_ddb.h
55DDB_NUMSYM	opt_ddb.h
56GDB
57KDB		opt_global.h
58KDB_TRACE	opt_kdb.h
59KDB_UNATTENDED	opt_kdb.h
60SYSCTL_DEBUG	opt_sysctl.h
61
62# Miscellaneous options.
63ADAPTIVE_LOCKMGRS
64ALQ
65AUDIT		opt_global.h
66CODA_COMPAT_5	opt_coda.h
67COMPAT_43	opt_compat.h
68COMPAT_43TTY	opt_compat.h
69COMPAT_FREEBSD4	opt_compat.h
70COMPAT_FREEBSD5	opt_compat.h
71COMPAT_FREEBSD6	opt_compat.h
72COMPAT_FREEBSD7	opt_compat.h
73COMPILING_LINT	opt_global.h
74CY_PCI_FASTINTR
75DEADLKRES	opt_watchdog.h
76DIRECTIO
77FULL_PREEMPTION	opt_sched.h
78IPI_PREEMPTION	opt_sched.h
79GEOM_AES	opt_geom.h
80GEOM_BDE	opt_geom.h
81GEOM_BSD	opt_geom.h
82GEOM_CACHE	opt_geom.h
83GEOM_CONCAT	opt_geom.h
84GEOM_ELI	opt_geom.h
85GEOM_FOX	opt_geom.h
86GEOM_GATE	opt_geom.h
87GEOM_JOURNAL	opt_geom.h
88GEOM_LABEL	opt_geom.h
89GEOM_LINUX_LVM	opt_geom.h
90GEOM_MBR	opt_geom.h
91GEOM_MIRROR	opt_geom.h
92GEOM_MULTIPATH	opt_geom.h
93GEOM_NOP	opt_geom.h
94GEOM_PART_APM	opt_geom.h
95GEOM_PART_BSD	opt_geom.h
96GEOM_PART_EBR	opt_geom.h
97GEOM_PART_EBR_COMPAT	opt_geom.h
98GEOM_PART_GPT	opt_geom.h
99GEOM_PART_MBR	opt_geom.h
100GEOM_PART_PC98	opt_geom.h
101GEOM_PART_VTOC8	opt_geom.h
102GEOM_PC98	opt_geom.h
103GEOM_RAID3	opt_geom.h
104GEOM_SHSEC	opt_geom.h
105GEOM_STRIPE	opt_geom.h
106GEOM_SUNLABEL	opt_geom.h
107GEOM_UZIP	opt_geom.h
108GEOM_VIRSTOR	opt_geom.h
109GEOM_VOL	opt_geom.h
110GEOM_ZERO	opt_geom.h
111KDTRACE_HOOKS	opt_kdtrace.h
112KSTACK_MAX_PAGES
113KSTACK_PAGES
114KTRACE
115KTRACE_REQUEST_POOL	opt_ktrace.h
116LIBICONV
117MAC		opt_global.h
118MAC_BIBA	opt_dontuse.h
119MAC_BSDEXTENDED	opt_dontuse.h
120MAC_IFOFF	opt_dontuse.h
121MAC_LOMAC	opt_dontuse.h
122MAC_MLS		opt_dontuse.h
123MAC_NONE	opt_dontuse.h
124MAC_PARTITION	opt_dontuse.h
125MAC_PORTACL	opt_dontuse.h
126MAC_SEEOTHERUIDS	opt_dontuse.h
127MAC_STATIC	opt_mac.h
128MAC_STUB	opt_dontuse.h
129MAC_TEST	opt_dontuse.h
130MD_ROOT		opt_md.h
131MD_ROOT_SIZE	opt_md.h
132MFI_DEBUG	opt_mfi.h
133MFI_DECODE_LOG	opt_mfi.h
134MPROF_BUFFERS	opt_mprof.h
135MPROF_HASH_SIZE	opt_mprof.h
136NO_ADAPTIVE_MUTEXES	opt_adaptive_mutexes.h
137NO_ADAPTIVE_RWLOCKS
138NO_ADAPTIVE_SX
139NO_SYSCTL_DESCR	opt_global.h
140NSWBUF_MIN	opt_swap.h
141MBUF_PACKET_ZONE_DISABLE	opt_global.h
142PANIC_REBOOT_WAIT_TIME	opt_panic.h
143PPC_DEBUG	opt_ppc.h
144PPC_PROBE_CHIPSET	opt_ppc.h
145PPS_SYNC	opt_ntp.h
146PREEMPTION	opt_sched.h
147QUOTA
148SCHED_4BSD	opt_sched.h
149SCHED_STATS	opt_sched.h
150SCHED_ULE	opt_sched.h
151SHOW_BUSYBUFS
152SLEEPQUEUE_PROFILING
153SLHCI_DEBUG	opt_slhci.h
154SPX_HACK
155STACK		opt_stack.h
156SUIDDIR
157MSGMNB		opt_sysvipc.h
158MSGMNI		opt_sysvipc.h
159MSGSEG		opt_sysvipc.h
160MSGSSZ		opt_sysvipc.h
161MSGTQL		opt_sysvipc.h
162SEMMAP		opt_sysvipc.h
163SEMMNI		opt_sysvipc.h
164SEMMNS		opt_sysvipc.h
165SEMMNU		opt_sysvipc.h
166SEMMSL		opt_sysvipc.h
167SEMOPM		opt_sysvipc.h
168SEMUME		opt_sysvipc.h
169SHMALL		opt_sysvipc.h
170SHMMAX		opt_sysvipc.h
171SHMMAXPGS	opt_sysvipc.h
172SHMMIN		opt_sysvipc.h
173SHMMNI		opt_sysvipc.h
174SHMSEG		opt_sysvipc.h
175SYSVMSG		opt_sysvipc.h
176SYSVSEM		opt_sysvipc.h
177SYSVSHM		opt_sysvipc.h
178SW_WATCHDOG	opt_watchdog.h
179TURNSTILE_PROFILING
180VFS_AIO
181VERBOSE_SYSINIT	opt_global.h
182WLCACHE		opt_wavelan.h
183WLDEBUG		opt_wavelan.h
184
185# POSIX kernel options
186P1003_1B_MQUEUE			opt_posix.h
187P1003_1B_SEMAPHORES		opt_posix.h
188_KPOSIX_PRIORITY_SCHEDULING	opt_posix.h
189
190# Do we want the config file compiled into the kernel?
191INCLUDE_CONFIG_FILE	opt_config.h
192
193# Options for static filesystems.  These should only be used at config
194# time, since the corresponding lkms cannot work if there are any static
195# dependencies.  Unusability is enforced by hiding the defines for the
196# options in a never-included header.
197CD9660		opt_dontuse.h
198CODA		opt_dontuse.h
199EXT2FS		opt_dontuse.h
200FDESCFS		opt_dontuse.h
201HPFS		opt_dontuse.h
202MSDOSFS		opt_dontuse.h
203NTFS		opt_dontuse.h
204NULLFS		opt_dontuse.h
205NWFS		opt_dontuse.h
206PORTALFS	opt_dontuse.h
207PROCFS		opt_dontuse.h
208PSEUDOFS	opt_dontuse.h
209REISERFS	opt_dontuse.h
210SMBFS		opt_dontuse.h
211TMPFS		opt_dontuse.h
212UDF		opt_dontuse.h
213UNIONFS		opt_dontuse.h
214
215# Pseudofs debugging
216PSEUDOFS_TRACE	opt_pseudofs.h
217
218# Broken - ffs_snapshot() dependency from ufs_lookup() :-(
219FFS		opt_ffs_broken_fixme.h
220
221# In-kernel GSS-API
222KGSSAPI		opt_kgssapi.h
223KGSSAPI_DEBUG	opt_kgssapi.h
224
225# These static filesystems have one slightly bogus static dependency in
226# sys/i386/i386/autoconf.c.  If any of these filesystems are
227# statically compiled into the kernel, code for mounting them as root
228# filesystems will be enabled - but look below.
229NFSCLIENT	opt_nfs.h
230NFSSERVER	opt_nfs.h
231
232# Use these options to compile the experimental nfs client and/or
233# server that supports NFSv4 into a kernel.
234# NFSCL - client
235# NFSD - server
236NFSCL		opt_nfs.h
237NFSD		opt_nfs.h
238
239# filesystems and libiconv bridge
240CD9660_ICONV	opt_dontuse.h
241MSDOSFS_ICONV	opt_dontuse.h
242NTFS_ICONV	opt_dontuse.h
243UDF_ICONV	opt_dontuse.h
244
245# If you are following the conditions in the copyright,
246# you can enable soft-updates which will speed up a lot of thigs
247# and make the system safer from crashes at the same time.
248# otherwise a STUB module will be compiled in.
249SOFTUPDATES	opt_ffs.h
250
251# On small, embedded systems, it can be useful to turn off support for
252# snapshots.  It saves about 30-40k for a feature that would be lightly
253# used, if it is used at all.
254NO_FFS_SNAPSHOT	opt_ffs.h
255
256# Enabling this option turns on support for Access Control Lists in UFS,
257# which can be used to support high security configurations.  Depends on
258# UFS_EXTATTR.
259UFS_ACL		opt_ufs.h
260
261# Enabling this option turns on support for extended attributes in UFS-based
262# filesystems, which can be used to support high security configurations
263# as well as new filesystem features.
264UFS_EXTATTR	opt_ufs.h
265UFS_EXTATTR_AUTOSTART	opt_ufs.h
266
267# Enable fast hash lookups for large directories on UFS-based filesystems.
268UFS_DIRHASH	opt_ufs.h
269
270# Enable gjournal-based UFS journal.
271UFS_GJOURNAL	opt_ufs.h
272
273# The below sentence is not in English, and neither is this one.
274# We plan to remove the static dependences above, with a
275# <filesystem>_ROOT option to control if it usable as root.  This list
276# allows these options to be present in config files already (though
277# they won't make any difference yet).
278NFS_ROOT	opt_nfsroot.h
279
280# SMB/CIFS requester
281NETSMB		opt_netsmb.h
282
283# Options used only in subr_param.c.
284HZ		opt_param.h
285MAXFILES	opt_param.h
286NBUF		opt_param.h
287NSFBUFS		opt_param.h
288VM_BCACHE_SIZE_MAX	opt_param.h
289VM_SWZONE_SIZE_MAX	opt_param.h
290MAXUSERS
291DFLDSIZ		opt_param.h
292MAXDSIZ		opt_param.h
293MAXSSIZ		opt_param.h
294
295# Generic SCSI options.
296CAM_MAX_HIGHPOWER	opt_cam.h
297CAMDEBUG		opt_cam.h
298CAM_DEBUG_DELAY		opt_cam.h
299CAM_DEBUG_BUS		opt_cam.h
300CAM_DEBUG_TARGET	opt_cam.h
301CAM_DEBUG_LUN		opt_cam.h
302CAM_DEBUG_FLAGS		opt_cam.h
303SCSI_DELAY		opt_scsi.h
304SCSI_NO_SENSE_STRINGS	opt_scsi.h
305SCSI_NO_OP_STRINGS	opt_scsi.h
306
307# Options used only in cam/scsi/scsi_cd.c
308CHANGER_MIN_BUSY_SECONDS	opt_cd.h
309CHANGER_MAX_BUSY_SECONDS	opt_cd.h
310
311# Options used only in cam/scsi/scsi_sa.c.
312SA_IO_TIMEOUT		opt_sa.h
313SA_SPACE_TIMEOUT	opt_sa.h
314SA_REWIND_TIMEOUT	opt_sa.h
315SA_ERASE_TIMEOUT	opt_sa.h
316SA_1FM_AT_EOD		opt_sa.h
317
318# Options used only in cam/scsi/scsi_pt.c
319SCSI_PT_DEFAULT_TIMEOUT	opt_pt.h
320
321# Options used only in cam/scsi/scsi_ses.c
322SES_ENABLE_PASSTHROUGH	opt_ses.h
323
324# Options used in dev/sym/ (Symbios SCSI driver).
325SYM_SETUP_LP_PROBE_MAP	opt_sym.h	#-Low Priority Probe Map (bits)
326					# Allows the ncr to take precedence
327					# 1 (1<<0) -> 810a, 860
328					# 2 (1<<1) -> 825a, 875, 885, 895
329					# 4 (1<<2) -> 895a, 896, 1510d
330SYM_SETUP_SCSI_DIFF	opt_sym.h	#-HVD support for 825a, 875, 885
331					# disabled:0 (default), enabled:1
332SYM_SETUP_PCI_PARITY	opt_sym.h	#-PCI parity checking
333					# disabled:0, enabled:1 (default)
334SYM_SETUP_MAX_LUN	opt_sym.h	#-Number of LUNs supported
335					# default:8, range:[1..64]
336
337# Options used only in pci/ncr.c
338SCSI_NCR_DEBUG		opt_ncr.h
339SCSI_NCR_MAX_SYNC	opt_ncr.h
340SCSI_NCR_MAX_WIDE	opt_ncr.h
341SCSI_NCR_MYADDR		opt_ncr.h
342
343# Options used only in dev/isp/*
344ISP_TARGET_MODE		opt_isp.h
345ISP_FW_CRASH_DUMP	opt_isp.h
346ISP_DEFAULT_ROLES	opt_isp.h
347
348# Options used only in dev/iscsi
349ISCSI_INITIATOR_DEBUG	opt_iscsi_initiator.h
350
351# Options used in the 'ata' ATA/ATAPI driver
352ATA_STATIC_ID		opt_ata.h
353ATA_NOPCI		opt_ata.h
354ATA_REQUEST_TIMEOUT	opt_ata.h
355ATA_CAM			opt_ata.h
356
357# Net stuff.
358ACCEPT_FILTER_DATA
359ACCEPT_FILTER_DNS
360ACCEPT_FILTER_HTTP
361ALTQ			opt_global.h
362ALTQ_CBQ		opt_altq.h
363ALTQ_CDNR		opt_altq.h
364ALTQ_DEBUG		opt_altq.h
365ALTQ_HFSC		opt_altq.h
366ALTQ_NOPCC		opt_altq.h
367ALTQ_PRIQ		opt_altq.h
368ALTQ_RED		opt_altq.h
369ALTQ_RIO		opt_altq.h
370BOOTP			opt_bootp.h
371BOOTP_BLOCKSIZE		opt_bootp.h
372BOOTP_COMPAT		opt_bootp.h
373BOOTP_NFSROOT		opt_bootp.h
374BOOTP_NFSV3		opt_bootp.h
375BOOTP_WIRED_TO		opt_bootp.h
376DEVICE_POLLING
377DEV_ENC			opt_enc.h
378DEV_PF			opt_pf.h
379DEV_PFLOG		opt_pf.h
380DEV_PFSYNC		opt_pf.h
381DEV_VLAN		opt_vlan.h
382DUMMYNET		opt_ipdn.h
383ETHER_8022		opt_ef.h
384ETHER_8023		opt_ef.h
385ETHER_II		opt_ef.h
386ETHER_SNAP		opt_ef.h
387INET			opt_inet.h
388INET6			opt_inet6.h
389IPDIVERT
390IPFILTER		opt_ipfilter.h
391IPFILTER_DEFAULT_BLOCK	opt_ipfilter.h
392IPFILTER_LOG		opt_ipfilter.h
393IPFILTER_LOOKUP		opt_ipfilter.h
394IPFIREWALL		opt_ipfw.h
395IPFIREWALL_DEFAULT_TO_ACCEPT	opt_ipfw.h
396IPFIREWALL_FORWARD	opt_ipfw.h
397IPFIREWALL_NAT		opt_ipfw.h
398IPFIREWALL_VERBOSE	opt_ipfw.h
399IPFIREWALL_VERBOSE_LIMIT	opt_ipfw.h
400IPSEC			opt_ipsec.h
401IPSEC_DEBUG		opt_ipsec.h
402IPSEC_FILTERTUNNEL	opt_ipsec.h
403IPSEC_NAT_T		opt_ipsec.h
404IPSTEALTH
405IPX
406KRPC
407LIBALIAS
408LIBMBPOOL
409LIBMCHAIN
410MBUF_PROFILING
411MBUF_STRESS_TEST
412MROUTING		opt_mrouting.h
413NCP
414NETATALK		opt_atalk.h
415NFSLOCKD
416RADIX_MPATH		opt_mpath.h
417ROUTETABLES		opt_route.h
418SLIP_IFF_OPTS		opt_slip.h
419TCPDEBUG
420TCP_OFFLOAD_DISABLE	opt_inet.h #Disable code to dispatch tcp offloading
421TCP_SIGNATURE		opt_inet.h
422TCP_SORECEIVE_STREAM	opt_inet.h
423VLAN_ARRAY		opt_vlan.h
424XBONEHACK
425FLOWTABLE		opt_route.h
426
427#
428# SCTP
429#
430SCTP			opt_sctp.h
431SCTP_DEBUG		opt_sctp.h # Enable debug printfs
432SCTP_WITH_NO_CSUM	opt_sctp.h # Use this at your peril
433SCTP_LOCK_LOGGING	opt_sctp.h # Log to KTR lock activity
434SCTP_MBUF_LOGGING	opt_sctp.h # Log to KTR general mbuf aloc/free
435SCTP_MBCNT_LOGGING	opt_sctp.h # Log to KTR mbcnt activity
436SCTP_PACKET_LOGGING	opt_sctp.h # Log to a packet buffer last N packets
437SCTP_LTRACE_CHUNKS	opt_sctp.h # Log to KTR chunks processed
438SCTP_LTRACE_ERRORS	opt_sctp.h # Log to KTR error returns.
439#
440#
441#
442
443# Netgraph(4). Use option NETGRAPH to enable the base netgraph code.
444# Each netgraph node type can be either be compiled into the kernel
445# or loaded dynamically. To get the former, include the corresponding
446# option below. Each type has its own man page, e.g. ng_async(4).
447NETGRAPH
448NETGRAPH_DEBUG		opt_netgraph.h
449NETGRAPH_ASYNC		opt_netgraph.h
450NETGRAPH_ATMLLC		opt_netgraph.h
451NETGRAPH_ATM_ATMPIF	opt_netgraph.h
452NETGRAPH_BLUETOOTH	opt_netgraph.h
453NETGRAPH_BLUETOOTH_BT3C	opt_netgraph.h
454NETGRAPH_BLUETOOTH_H4	opt_netgraph.h
455NETGRAPH_BLUETOOTH_HCI	opt_netgraph.h
456NETGRAPH_BLUETOOTH_L2CAP	opt_netgraph.h
457NETGRAPH_BLUETOOTH_SOCKET	opt_netgraph.h
458NETGRAPH_BLUETOOTH_UBT	opt_netgraph.h
459NETGRAPH_BLUETOOTH_UBTBCMFW	opt_netgraph.h
460NETGRAPH_BPF		opt_netgraph.h
461NETGRAPH_BRIDGE		opt_netgraph.h
462NETGRAPH_CAR		opt_netgraph.h
463NETGRAPH_CISCO		opt_netgraph.h
464NETGRAPH_DEFLATE	opt_netgraph.h
465NETGRAPH_DEVICE		opt_netgraph.h
466NETGRAPH_ECHO		opt_netgraph.h
467NETGRAPH_EIFACE		opt_netgraph.h
468NETGRAPH_ETHER		opt_netgraph.h
469NETGRAPH_ETHER_ECHO	opt_netgraph.h
470NETGRAPH_FEC		opt_netgraph.h
471NETGRAPH_FRAME_RELAY	opt_netgraph.h
472NETGRAPH_GIF		opt_netgraph.h
473NETGRAPH_GIF_DEMUX	opt_netgraph.h
474NETGRAPH_HOLE		opt_netgraph.h
475NETGRAPH_IFACE		opt_netgraph.h
476NETGRAPH_IP_INPUT	opt_netgraph.h
477NETGRAPH_IPFW		opt_netgraph.h
478NETGRAPH_KSOCKET	opt_netgraph.h
479NETGRAPH_L2TP		opt_netgraph.h
480NETGRAPH_LMI		opt_netgraph.h
481# MPPC compression requires proprietary files (not included)
482NETGRAPH_MPPC_COMPRESSION	opt_netgraph.h
483NETGRAPH_MPPC_ENCRYPTION	opt_netgraph.h
484NETGRAPH_NAT		opt_netgraph.h
485NETGRAPH_NETFLOW	opt_netgraph.h
486NETGRAPH_ONE2MANY	opt_netgraph.h
487NETGRAPH_PIPE		opt_netgraph.h
488NETGRAPH_PPP		opt_netgraph.h
489NETGRAPH_PPPOE		opt_netgraph.h
490NETGRAPH_PPTPGRE	opt_netgraph.h
491NETGRAPH_PRED1		opt_netgraph.h
492NETGRAPH_RFC1490	opt_netgraph.h
493NETGRAPH_SOCKET		opt_netgraph.h
494NETGRAPH_SPLIT		opt_netgraph.h
495NETGRAPH_SPPP		opt_netgraph.h
496NETGRAPH_TAG		opt_netgraph.h
497NETGRAPH_TCPMSS		opt_netgraph.h
498NETGRAPH_TEE		opt_netgraph.h
499NETGRAPH_TTY		opt_netgraph.h
500NETGRAPH_UI		opt_netgraph.h
501NETGRAPH_VJC		opt_netgraph.h
502NETGRAPH_VLAN		opt_netgraph.h
503
504# NgATM options
505NGATM_ATM		opt_netgraph.h
506NGATM_ATMBASE		opt_netgraph.h
507NGATM_SSCOP		opt_netgraph.h
508NGATM_SSCFU		opt_netgraph.h
509NGATM_UNI		opt_netgraph.h
510NGATM_CCATM		opt_netgraph.h
511
512# DRM options
513DRM_DEBUG		opt_drm.h
514
515ZERO_COPY_SOCKETS	opt_zero.h
516TI_PRIVATE_JUMBOS	opt_ti.h
517TI_JUMBO_HDRSPLIT	opt_ti.h
518BCE_JUMBO_HDRSPLIT	opt_bce.h
519
520# XXX Conflict: # of devices vs network protocol (Native ATM).
521# This makes "atm.h" unusable.
522NATM
523
524# DPT driver debug flags
525DPT_MEASURE_PERFORMANCE	opt_dpt.h
526DPT_HANDLE_TIMEOUTS	opt_dpt.h
527DPT_TIMEOUT_FACTOR	opt_dpt.h
528DPT_LOST_IRQ		opt_dpt.h
529DPT_RESET_HBA		opt_dpt.h
530
531# Misc debug flags.  Most of these should probably be replaced with
532# 'DEBUG', and then let people recompile just the interesting modules
533# with 'make CC="cc -DDEBUG"'.
534CLUSTERDEBUG		opt_debug_cluster.h
535DEBUG_1284		opt_ppb_1284.h
536VP0_DEBUG		opt_vpo.h
537LPT_DEBUG		opt_lpt.h
538PLIP_DEBUG		opt_plip.h
539LOCKF_DEBUG		opt_debug_lockf.h
540NETATALKDEBUG		opt_atalk.h
541SI_DEBUG		opt_debug_si.h
542
543# Fb options
544FB_DEBUG		opt_fb.h
545FB_INSTALL_CDEV		opt_fb.h
546
547# ppbus related options
548PERIPH_1284		opt_ppb_1284.h
549DONTPROBE_1284		opt_ppb_1284.h
550
551# smbus related options
552ENABLE_ALART		opt_intpm.h
553
554# These cause changes all over the kernel
555BLKDEV_IOSIZE		opt_global.h
556BURN_BRIDGES		opt_global.h
557DEBUG			opt_global.h
558DEBUG_LOCKS		opt_global.h
559DEBUG_VFS_LOCKS		opt_global.h
560DFLTPHYS		opt_global.h
561DIAGNOSTIC		opt_global.h
562INVARIANT_SUPPORT	opt_global.h
563INVARIANTS		opt_global.h
564MAXPHYS			opt_global.h
565MCLSHIFT		opt_global.h
566MUTEX_DEBUG		opt_global.h
567MUTEX_NOINLINE		opt_global.h
568LOCK_PROFILING		opt_global.h
569LOCK_PROFILING_FAST	opt_global.h
570MSIZE			opt_global.h
571REGRESSION		opt_global.h
572RESTARTABLE_PANICS	opt_global.h
573RWLOCK_NOINLINE		opt_global.h
574SX_NOINLINE		opt_global.h
575VFS_BIO_DEBUG		opt_global.h
576
577# These are VM related options
578VM_KMEM_SIZE		opt_vm.h
579VM_KMEM_SIZE_SCALE	opt_vm.h
580VM_KMEM_SIZE_MAX	opt_vm.h
581VM_NRESERVLEVEL		opt_vm.h
582VM_LEVEL_0_ORDER	opt_vm.h
583NO_SWAPPING		opt_vm.h
584MALLOC_MAKE_FAILURES	opt_vm.h
585MALLOC_PROFILE		opt_vm.h
586
587# The MemGuard replacement allocator used for tamper-after-free detection
588DEBUG_MEMGUARD		opt_vm.h
589
590# The RedZone malloc(9) protection
591DEBUG_REDZONE		opt_vm.h
592
593# Standard SMP options
594SMP			opt_global.h
595
596# Size of the kernel message buffer
597MSGBUF_SIZE		opt_msgbuf.h
598
599# NFS options
600NFS_MINATTRTIMO		opt_nfs.h
601NFS_MAXATTRTIMO		opt_nfs.h
602NFS_MINDIRATTRTIMO	opt_nfs.h
603NFS_MAXDIRATTRTIMO	opt_nfs.h
604NFS_GATHERDELAY		opt_nfs.h
605NFS_WDELAYHASHSIZ	opt_nfs.h
606NFS_DEBUG		opt_nfs.h
607
608# For the Bt848/Bt848A/Bt849/Bt878/Bt879 driver
609OVERRIDE_CARD			opt_bktr.h
610OVERRIDE_TUNER			opt_bktr.h
611OVERRIDE_DBX			opt_bktr.h
612OVERRIDE_MSP			opt_bktr.h
613BROOKTREE_SYSTEM_DEFAULT	opt_bktr.h
614BROOKTREE_ALLOC_PAGES		opt_bktr.h
615BKTR_OVERRIDE_CARD		opt_bktr.h
616BKTR_OVERRIDE_TUNER		opt_bktr.h
617BKTR_OVERRIDE_DBX		opt_bktr.h
618BKTR_OVERRIDE_MSP		opt_bktr.h
619BKTR_SYSTEM_DEFAULT		opt_bktr.h
620BKTR_ALLOC_PAGES		opt_bktr.h
621BKTR_USE_PLL			opt_bktr.h
622BKTR_GPIO_ACCESS		opt_bktr.h
623BKTR_NO_MSP_RESET		opt_bktr.h
624BKTR_430_FX_MODE		opt_bktr.h
625BKTR_SIS_VIA_MODE		opt_bktr.h
626BKTR_USE_FREEBSD_SMBUS		opt_bktr.h
627BKTR_NEW_MSP34XX_DRIVER		opt_bktr.h
628
629BREAK_TO_DEBUGGER	opt_comconsole.h
630ALT_BREAK_TO_DEBUGGER	opt_comconsole.h
631
632# Options to support PPS
633UART_PPS_ON_CTS		opt_uart.h
634
635# options for bus/device framework
636BUS_DEBUG		opt_bus.h
637
638# options for USB support
639USB_DEBUG		opt_usb.h
640USB_VERBOSE		opt_usb.h
641USB_EHCI_BIG_ENDIAN_DESC	opt_usb.h
642U3G_DEBUG		opt_u3g.h
643UKBD_DFLT_KEYMAP	opt_ukbd.h
644UPLCOM_INTR_INTERVAL	opt_uplcom.h
645UVSCOM_DEFAULT_OPKTSIZE	opt_uvscom.h
646UVSCOM_INTR_INTERVAL	opt_uvscom.h
647
648# Embedded system options
649INIT_PATH
650
651ROOTDEVNAME
652
653FDC_DEBUG		opt_fdc.h
654PCFCLOCK_VERBOSE	opt_pcfclock.h
655PCFCLOCK_MAX_RETRIES	opt_pcfclock.h
656
657KTR			opt_global.h
658KTR_ALQ			opt_ktr.h
659KTR_MASK		opt_ktr.h
660KTR_CPUMASK		opt_ktr.h
661KTR_COMPILE		opt_global.h
662KTR_ENTRIES		opt_global.h
663KTR_VERBOSE		opt_ktr.h
664WITNESS			opt_global.h
665WITNESS_KDB		opt_witness.h
666WITNESS_SKIPSPIN	opt_witness.h
667
668# options for ACPI support
669ACPI_DEBUG		opt_acpi.h
670ACPI_MAX_TASKS		opt_acpi.h
671ACPI_MAX_THREADS	opt_acpi.h
672
673# ISA support
674DEV_ISA			opt_isa.h
675ISAPNP			opt_isa.h
676
677# various 'device presence' options.
678DEV_BPF			opt_bpf.h
679DEV_MCA			opt_mca.h
680DEV_CARP		opt_carp.h
681DEV_SPLASH		opt_splash.h
682
683# EISA support
684DEV_EISA		opt_eisa.h
685EISA_SLOTS		opt_eisa.h
686
687# ed driver
688ED_HPP			opt_ed.h
689ED_3C503		opt_ed.h
690ED_SIC			opt_ed.h
691
692# bce driver
693BCE_DEBUG		opt_bce.h
694
695SOCKBUF_DEBUG		opt_global.h
696
697# options for ubsec driver
698UBSEC_DEBUG		opt_ubsec.h
699UBSEC_RNDTEST		opt_ubsec.h
700UBSEC_NO_RNG		opt_ubsec.h
701
702# options for hifn driver
703HIFN_DEBUG		opt_hifn.h
704HIFN_RNDTEST		opt_hifn.h
705
706# options for safenet driver
707SAFE_DEBUG		opt_safe.h
708SAFE_NO_RNG		opt_safe.h
709SAFE_RNDTEST		opt_safe.h
710
711# syscons options
712MAXCONS			opt_syscons.h
713SC_ALT_MOUSE_IMAGE	opt_syscons.h
714SC_CUT_SPACES2TABS	opt_syscons.h
715SC_CUT_SEPCHARS		opt_syscons.h
716SC_DEBUG_LEVEL		opt_syscons.h
717SC_DFLT_FONT		opt_syscons.h
718SC_DISABLE_KDBKEY	opt_syscons.h
719SC_DISABLE_REBOOT	opt_syscons.h
720SC_HISTORY_SIZE		opt_syscons.h
721SC_KERNEL_CONS_ATTR	opt_syscons.h
722SC_KERNEL_CONS_REV_ATTR	opt_syscons.h
723SC_MOUSE_CHAR		opt_syscons.h
724SC_NO_CUTPASTE		opt_syscons.h
725SC_NO_FONT_LOADING	opt_syscons.h
726SC_NO_HISTORY		opt_syscons.h
727SC_NO_MODE_CHANGE	opt_syscons.h
728SC_NO_SUSPEND_VTYSWITCH	opt_syscons.h
729SC_NO_SYSMOUSE		opt_syscons.h
730SC_NORM_ATTR		opt_syscons.h
731SC_NORM_REV_ATTR	opt_syscons.h
732SC_PIXEL_MODE		opt_syscons.h
733SC_RENDER_DEBUG		opt_syscons.h
734SC_TWOBUTTON_MOUSE	opt_syscons.h
735
736# teken terminal emulator options
737TEKEN_CONS25		opt_teken.h
738TEKEN_UTF8		opt_teken.h
739
740# options for printf
741PRINTF_BUFR_SIZE	opt_printf.h
742
743# kbd options
744KBD_DISABLE_KEYMAP_LOAD	opt_kbd.h
745KBD_INSTALL_CDEV	opt_kbd.h
746KBD_MAXRETRY		opt_kbd.h
747KBD_MAXWAIT		opt_kbd.h
748KBD_RESETDELAY		opt_kbd.h
749KBDIO_DEBUG		opt_kbd.h
750
751# options for the Atheros driver
752ATH_DEBUG		opt_ath.h
753ATH_TXBUF		opt_ath.h
754ATH_RXBUF		opt_ath.h
755ATH_DIAGAPI		opt_ath.h
756ATH_TX99_DIAG		opt_ath.h
757
758# options for the Atheros hal
759AH_SUPPORT_AR5416	opt_ah.h
760
761AH_DEBUG		opt_ah.h
762AH_ASSERT		opt_ah.h
763AH_DEBUG_ALQ		opt_ah.h
764AH_REGOPS_FUNC		opt_ah.h
765AH_WRITE_REGDOMAIN	opt_ah.h
766AH_DEBUG_COUNTRY	opt_ah.h
767AH_WRITE_EEPROM		opt_ah.h
768AH_PRIVATE_DIAG		opt_ah.h
769AH_NEED_DESC_SWAP	opt_ah.h
770AH_USE_INIPDGAIN	opt_ah.h
771AH_MAXCHAN		opt_ah.h
772
773# options for the Broadcom BCM43xx driver (bwi)
774BWI_DEBUG		opt_bwi.h
775BWI_DEBUG_VERBOSE	opt_bwi.h
776
777# options for the Marvell 8335 wireless driver
778MALO_DEBUG		opt_malo.h
779MALO_TXBUF		opt_malo.h
780MALO_RXBUF		opt_malo.h
781
782# options for the Marvell wireless driver
783MWL_DEBUG		opt_mwl.h
784MWL_TXBUF		opt_mwl.h
785MWL_RXBUF		opt_mwl.h
786MWL_DIAGAPI		opt_mwl.h
787MWL_AGGR_SIZE		opt_mwl.h
788MWL_TX_NODROP		opt_mwl.h
789
790# dcons options
791DCONS_BUF_SIZE		opt_dcons.h
792DCONS_POLL_HZ		opt_dcons.h
793DCONS_FORCE_CONSOLE	opt_dcons.h
794DCONS_FORCE_GDB		opt_dcons.h
795
796# HWPMC options
797HWPMC_HOOKS
798
799# XBOX options for FreeBSD/i386, but some files are MI
800XBOX			opt_xbox.h
801
802# XFS
803XFS
804
805# Interrupt filtering
806INTR_FILTER
807
808# 802.11 support layer
809IEEE80211_DEBUG		opt_wlan.h
810IEEE80211_DEBUG_REFCNT	opt_wlan.h
811IEEE80211_AMPDU_AGE	opt_wlan.h
812IEEE80211_SUPPORT_MESH	opt_wlan.h
813IEEE80211_SUPPORT_SUPERG	opt_wlan.h
814IEEE80211_SUPPORT_TDMA	opt_wlan.h
815
816# 802.11 TDMA support
817TDMA_SLOTLEN_DEFAULT	opt_tdma.h
818TDMA_SLOTCNT_DEFAULT	opt_tdma.h
819TDMA_BINTVAL_DEFAULT	opt_tdma.h
820TDMA_TXRATE_11B_DEFAULT	opt_tdma.h
821TDMA_TXRATE_11G_DEFAULT	opt_tdma.h
822TDMA_TXRATE_11A_DEFAULT	opt_tdma.h
823TDMA_TXRATE_TURBO_DEFAULT	opt_tdma.h
824TDMA_TXRATE_HALF_DEFAULT	opt_tdma.h
825TDMA_TXRATE_QUARTER_DEFAULT	opt_tdma.h
826TDMA_TXRATE_11NA_DEFAULT	opt_tdma.h
827TDMA_TXRATE_11NG_DEFAULT	opt_tdma.h
828
829# Network stack virtualization options
830VIMAGE			opt_global.h
831VNET_DEBUG		opt_global.h
832
833# Common Flash Interface (CFI) options
834CFI_SUPPORT_STRATAFLASH	opt_cfi.h
835CFI_ARMEDANDDANGEROUS	opt_cfi.h
836
837# Sound options
838SND_DEBUG		opt_snd.h
839SND_DIAGNOSTIC		opt_snd.h
840SND_FEEDER_MULTIFORMAT	opt_snd.h
841SND_FEEDER_FULL_MULTIFORMAT	opt_snd.h
842SND_FEEDER_RATE_HP	opt_snd.h
843SND_PCM_64		opt_snd.h
844SND_OLDSTEREO		opt_snd.h
845
846X86BIOS
847