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