xref: /freebsd/sys/conf/options (revision d2ce15bd43b3a1dcce08eecbff8d5d359946d972)
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.
50ALT_BREAK_TO_DEBUGGER	opt_kdb.h
51BREAK_TO_DEBUGGER	opt_kdb.h
52DDB
53DDB_BUFR_SIZE	opt_ddb.h
54DDB_CAPTURE_DEFAULTBUFSIZE	opt_ddb.h
55DDB_CAPTURE_MAXBUFSIZE	opt_ddb.h
56DDB_CTF		opt_ddb.h
57DDB_NUMSYM	opt_ddb.h
58GDB
59KDB		opt_global.h
60KDB_TRACE	opt_kdb.h
61KDB_UNATTENDED	opt_kdb.h
62KLD_DEBUG	opt_kld.h
63SYSCTL_DEBUG	opt_sysctl.h
64TEXTDUMP_PREFERRED	opt_ddb.h
65TEXTDUMP_VERBOSE	opt_ddb.h
66
67# Miscellaneous options.
68ADAPTIVE_LOCKMGRS
69ALQ
70AUDIT		opt_global.h
71BOOTHOWTO	opt_global.h
72BOOTVERBOSE	opt_global.h
73CALLOUT_PROFILING
74CAPABILITIES	opt_capsicum.h
75CAPABILITY_MODE	opt_capsicum.h
76COMPAT_43	opt_compat.h
77COMPAT_43TTY	opt_compat.h
78COMPAT_FREEBSD4	opt_compat.h
79COMPAT_FREEBSD5	opt_compat.h
80COMPAT_FREEBSD6	opt_compat.h
81COMPAT_FREEBSD7	opt_compat.h
82COMPILING_LINT	opt_global.h
83COMPRESS_USER_CORES opt_core.h
84CY_PCI_FASTINTR
85DEADLKRES	opt_watchdog.h
86DIRECTIO
87FFCLOCK
88FULL_PREEMPTION	opt_sched.h
89IPI_PREEMPTION	opt_sched.h
90GEOM_AES	opt_geom.h
91GEOM_BDE	opt_geom.h
92GEOM_BSD	opt_geom.h
93GEOM_CACHE	opt_geom.h
94GEOM_CONCAT	opt_geom.h
95GEOM_ELI	opt_geom.h
96GEOM_FOX	opt_geom.h
97GEOM_GATE	opt_geom.h
98GEOM_JOURNAL	opt_geom.h
99GEOM_LABEL	opt_geom.h
100GEOM_LINUX_LVM	opt_geom.h
101GEOM_MBR	opt_geom.h
102GEOM_MIRROR	opt_geom.h
103GEOM_MULTIPATH	opt_geom.h
104GEOM_NOP	opt_geom.h
105GEOM_PART_APM	opt_geom.h
106GEOM_PART_BSD	opt_geom.h
107GEOM_PART_EBR	opt_geom.h
108GEOM_PART_EBR_COMPAT	opt_geom.h
109GEOM_PART_GPT	opt_geom.h
110GEOM_PART_LDM	opt_geom.h
111GEOM_PART_MBR	opt_geom.h
112GEOM_PART_PC98	opt_geom.h
113GEOM_PART_VTOC8	opt_geom.h
114GEOM_PC98	opt_geom.h
115GEOM_RAID	opt_geom.h
116GEOM_RAID3	opt_geom.h
117GEOM_SHSEC	opt_geom.h
118GEOM_STRIPE	opt_geom.h
119GEOM_SUNLABEL	opt_geom.h
120GEOM_UNCOMPRESS	opt_geom.h
121GEOM_UZIP	opt_geom.h
122GEOM_VIRSTOR	opt_geom.h
123GEOM_VOL	opt_geom.h
124GEOM_ZERO	opt_geom.h
125KDTRACE_HOOKS	opt_kdtrace.h
126KSTACK_MAX_PAGES
127KSTACK_PAGES
128KTRACE
129KTRACE_REQUEST_POOL	opt_ktrace.h
130LIBICONV
131MAC		opt_global.h
132MAC_BIBA	opt_dontuse.h
133MAC_BSDEXTENDED	opt_dontuse.h
134MAC_IFOFF	opt_dontuse.h
135MAC_LOMAC	opt_dontuse.h
136MAC_MLS		opt_dontuse.h
137MAC_NONE	opt_dontuse.h
138MAC_PARTITION	opt_dontuse.h
139MAC_PORTACL	opt_dontuse.h
140MAC_SEEOTHERUIDS	opt_dontuse.h
141MAC_STATIC	opt_mac.h
142MAC_STUB	opt_dontuse.h
143MAC_TEST	opt_dontuse.h
144MD_ROOT		opt_md.h
145MD_ROOT_FSTYPE	opt_md.h
146MD_ROOT_SIZE	opt_md.h
147MFI_DEBUG	opt_mfi.h
148MFI_DECODE_LOG	opt_mfi.h
149MPROF_BUFFERS	opt_mprof.h
150MPROF_HASH_SIZE	opt_mprof.h
151NEW_PCIB	opt_global.h
152NO_ADAPTIVE_MUTEXES	opt_adaptive_mutexes.h
153NO_ADAPTIVE_RWLOCKS
154NO_ADAPTIVE_SX
155NO_SYSCTL_DESCR	opt_global.h
156NSWBUF_MIN	opt_swap.h
157MBUF_PACKET_ZONE_DISABLE	opt_global.h
158PANIC_REBOOT_WAIT_TIME	opt_panic.h
159PPC_DEBUG	opt_ppc.h
160PPC_PROBE_CHIPSET	opt_ppc.h
161PPS_SYNC	opt_ntp.h
162PREEMPTION	opt_sched.h
163PROCDESC	opt_procdesc.h
164QUOTA
165SCHED_4BSD	opt_sched.h
166SCHED_STATS	opt_sched.h
167SCHED_ULE	opt_sched.h
168SLEEPQUEUE_PROFILING
169SLHCI_DEBUG	opt_slhci.h
170SPX_HACK
171STACK		opt_stack.h
172SUIDDIR
173MSGMNB		opt_sysvipc.h
174MSGMNI		opt_sysvipc.h
175MSGSEG		opt_sysvipc.h
176MSGSSZ		opt_sysvipc.h
177MSGTQL		opt_sysvipc.h
178SEMMNI		opt_sysvipc.h
179SEMMNS		opt_sysvipc.h
180SEMMNU		opt_sysvipc.h
181SEMMSL		opt_sysvipc.h
182SEMOPM		opt_sysvipc.h
183SEMUME		opt_sysvipc.h
184SHMALL		opt_sysvipc.h
185SHMMAX		opt_sysvipc.h
186SHMMAXPGS	opt_sysvipc.h
187SHMMIN		opt_sysvipc.h
188SHMMNI		opt_sysvipc.h
189SHMSEG		opt_sysvipc.h
190SYSVMSG		opt_sysvipc.h
191SYSVSEM		opt_sysvipc.h
192SYSVSHM		opt_sysvipc.h
193SW_WATCHDOG	opt_watchdog.h
194TURNSTILE_PROFILING
195UMTX_PROFILING
196VFS_AIO
197VERBOSE_SYSINIT	opt_global.h
198WLCACHE		opt_wavelan.h
199WLDEBUG		opt_wavelan.h
200
201# POSIX kernel options
202P1003_1B_MQUEUE			opt_posix.h
203P1003_1B_SEMAPHORES		opt_posix.h
204_KPOSIX_PRIORITY_SCHEDULING	opt_posix.h
205
206# Do we want the config file compiled into the kernel?
207INCLUDE_CONFIG_FILE	opt_config.h
208
209# Options for static filesystems.  These should only be used at config
210# time, since the corresponding lkms cannot work if there are any static
211# dependencies.  Unusability is enforced by hiding the defines for the
212# options in a never-included header.
213CD9660		opt_dontuse.h
214EXT2FS		opt_dontuse.h
215FDESCFS		opt_dontuse.h
216FFS		opt_dontuse.h
217FUSE		opt_dontuse.h
218MSDOSFS		opt_dontuse.h
219NANDFS		opt_dontuse.h
220NULLFS		opt_dontuse.h
221PROCFS		opt_dontuse.h
222PSEUDOFS	opt_dontuse.h
223REISERFS	opt_dontuse.h
224TMPFS		opt_dontuse.h
225UDF		opt_dontuse.h
226UNIONFS		opt_dontuse.h
227
228# Pseudofs debugging
229PSEUDOFS_TRACE	opt_pseudofs.h
230
231# In-kernel GSS-API
232KGSSAPI		opt_kgssapi.h
233KGSSAPI_DEBUG	opt_kgssapi.h
234
235# These static filesystems have one slightly bogus static dependency in
236# sys/i386/i386/autoconf.c.  If any of these filesystems are
237# statically compiled into the kernel, code for mounting them as root
238# filesystems will be enabled - but look below.
239NFSCLIENT	opt_nfs.h
240NFSSERVER	opt_nfs.h
241
242# Use these options to compile the experimental nfs client and/or
243# server that supports NFSv4 into a kernel.
244# NFSCL - client
245# NFSD - server
246NFSCL		opt_nfs.h
247NFSD		opt_nfs.h
248
249# filesystems and libiconv bridge
250CD9660_ICONV	opt_dontuse.h
251MSDOSFS_ICONV	opt_dontuse.h
252UDF_ICONV	opt_dontuse.h
253
254# If you are following the conditions in the copyright,
255# you can enable soft-updates which will speed up a lot of thigs
256# and make the system safer from crashes at the same time.
257# otherwise a STUB module will be compiled in.
258SOFTUPDATES	opt_ffs.h
259
260# On small, embedded systems, it can be useful to turn off support for
261# snapshots.  It saves about 30-40k for a feature that would be lightly
262# used, if it is used at all.
263NO_FFS_SNAPSHOT	opt_ffs.h
264
265# Enabling this option turns on support for Access Control Lists in UFS,
266# which can be used to support high security configurations.  Depends on
267# UFS_EXTATTR.
268UFS_ACL		opt_ufs.h
269
270# Enabling this option turns on support for extended attributes in UFS-based
271# filesystems, which can be used to support high security configurations
272# as well as new filesystem features.
273UFS_EXTATTR	opt_ufs.h
274UFS_EXTATTR_AUTOSTART	opt_ufs.h
275
276# Enable fast hash lookups for large directories on UFS-based filesystems.
277UFS_DIRHASH	opt_ufs.h
278
279# Enable gjournal-based UFS journal.
280UFS_GJOURNAL	opt_ufs.h
281
282# The below sentence is not in English, and neither is this one.
283# We plan to remove the static dependences above, with a
284# <filesystem>_ROOT option to control if it usable as root.  This list
285# allows these options to be present in config files already (though
286# they won't make any difference yet).
287NFS_ROOT	opt_nfsroot.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_COMPILE	opt_cam.h
305CAM_DEBUG_DELAY		opt_cam.h
306CAM_DEBUG_BUS		opt_cam.h
307CAM_DEBUG_TARGET	opt_cam.h
308CAM_DEBUG_LUN		opt_cam.h
309CAM_DEBUG_FLAGS		opt_cam.h
310SCSI_DELAY		opt_scsi.h
311SCSI_NO_SENSE_STRINGS	opt_scsi.h
312SCSI_NO_OP_STRINGS	opt_scsi.h
313
314# Options used only in cam/ata/ata_da.c
315ADA_TEST_FAILURE	opt_ada.h
316ATA_STATIC_ID		opt_ada.h
317
318# Options used only in cam/scsi/scsi_cd.c
319CHANGER_MIN_BUSY_SECONDS	opt_cd.h
320CHANGER_MAX_BUSY_SECONDS	opt_cd.h
321
322# Options used only in cam/scsi/scsi_sa.c.
323SA_IO_TIMEOUT		opt_sa.h
324SA_SPACE_TIMEOUT	opt_sa.h
325SA_REWIND_TIMEOUT	opt_sa.h
326SA_ERASE_TIMEOUT	opt_sa.h
327SA_1FM_AT_EOD		opt_sa.h
328
329# Options used only in cam/scsi/scsi_pt.c
330SCSI_PT_DEFAULT_TIMEOUT	opt_pt.h
331
332# Options used only in cam/scsi/scsi_ses.c
333SES_ENABLE_PASSTHROUGH	opt_ses.h
334
335# Options used only in cam/ctl
336CTL_DISABLE		opt_ctl.h
337
338# Options used in dev/sym/ (Symbios SCSI driver).
339SYM_SETUP_LP_PROBE_MAP	opt_sym.h	#-Low Priority Probe Map (bits)
340					# Allows the ncr to take precedence
341					# 1 (1<<0) -> 810a, 860
342					# 2 (1<<1) -> 825a, 875, 885, 895
343					# 4 (1<<2) -> 895a, 896, 1510d
344SYM_SETUP_SCSI_DIFF	opt_sym.h	#-HVD support for 825a, 875, 885
345					# disabled:0 (default), enabled:1
346SYM_SETUP_PCI_PARITY	opt_sym.h	#-PCI parity checking
347					# disabled:0, enabled:1 (default)
348SYM_SETUP_MAX_LUN	opt_sym.h	#-Number of LUNs supported
349					# default:8, range:[1..64]
350
351# Options used only in pci/ncr.c
352SCSI_NCR_DEBUG		opt_ncr.h
353SCSI_NCR_MAX_SYNC	opt_ncr.h
354SCSI_NCR_MAX_WIDE	opt_ncr.h
355SCSI_NCR_MYADDR		opt_ncr.h
356
357# Options used only in dev/isp/*
358ISP_TARGET_MODE		opt_isp.h
359ISP_FW_CRASH_DUMP	opt_isp.h
360ISP_DEFAULT_ROLES	opt_isp.h
361ISP_INTERNAL_TARGET	opt_isp.h
362
363# Options used only in dev/iscsi
364ISCSI_INITIATOR_DEBUG	opt_iscsi_initiator.h
365
366# Net stuff.
367ACCEPT_FILTER_DATA
368ACCEPT_FILTER_DNS
369ACCEPT_FILTER_HTTP
370ALTQ			opt_global.h
371ALTQ_CBQ		opt_altq.h
372ALTQ_CDNR		opt_altq.h
373ALTQ_DEBUG		opt_altq.h
374ALTQ_HFSC		opt_altq.h
375ALTQ_NOPCC		opt_altq.h
376ALTQ_PRIQ		opt_altq.h
377ALTQ_RED		opt_altq.h
378ALTQ_RIO		opt_altq.h
379BOOTP			opt_bootp.h
380BOOTP_BLOCKSIZE		opt_bootp.h
381BOOTP_COMPAT		opt_bootp.h
382BOOTP_NFSROOT		opt_bootp.h
383BOOTP_NFSV3		opt_bootp.h
384BOOTP_WIRED_TO		opt_bootp.h
385DEVICE_POLLING
386DEV_ENC			opt_enc.h
387DEV_PF			opt_pf.h
388DEV_PFLOG		opt_pf.h
389DEV_PFSYNC		opt_pf.h
390DEV_VLAN		opt_vlan.h
391DUMMYNET		opt_ipdn.h
392ETHER_8022		opt_ef.h
393ETHER_8023		opt_ef.h
394ETHER_II		opt_ef.h
395ETHER_SNAP		opt_ef.h
396INET			opt_inet.h
397INET6			opt_inet6.h
398IPDIVERT
399IPFILTER		opt_ipfilter.h
400IPFILTER_DEFAULT_BLOCK	opt_ipfilter.h
401IPFILTER_LOG		opt_ipfilter.h
402IPFILTER_LOOKUP		opt_ipfilter.h
403IPFIREWALL		opt_ipfw.h
404IPFIREWALL_DEFAULT_TO_ACCEPT	opt_ipfw.h
405IPFIREWALL_NAT		opt_ipfw.h
406IPFIREWALL_VERBOSE	opt_ipfw.h
407IPFIREWALL_VERBOSE_LIMIT	opt_ipfw.h
408IPSEC			opt_ipsec.h
409IPSEC_DEBUG		opt_ipsec.h
410IPSEC_FILTERTUNNEL	opt_ipsec.h
411IPSEC_NAT_T		opt_ipsec.h
412IPSTEALTH
413IPX
414KRPC
415LIBALIAS
416LIBMBPOOL
417LIBMCHAIN
418MBUF_PROFILING
419MBUF_STRESS_TEST
420MROUTING		opt_mrouting.h
421NETATALK		opt_atalk.h
422NFSLOCKD
423PCBGROUP		opt_pcbgroup.h
424PF_DEFAULT_TO_DROP	opt_pf.h
425RADIX_MPATH		opt_mpath.h
426ROUTETABLES		opt_route.h
427SLIP_IFF_OPTS		opt_slip.h
428TCPDEBUG
429TCP_OFFLOAD		opt_inet.h # Enable code to dispatch TCP offloading
430TCP_SIGNATURE		opt_inet.h
431VLAN_ARRAY		opt_vlan.h
432XBONEHACK
433FLOWTABLE		opt_route.h
434
435#
436# SCTP
437#
438SCTP			opt_sctp.h
439SCTP_DEBUG		opt_sctp.h # Enable debug printfs
440SCTP_WITH_NO_CSUM	opt_sctp.h # Use this at your peril
441SCTP_LOCK_LOGGING	opt_sctp.h # Log to KTR lock activity
442SCTP_MBUF_LOGGING	opt_sctp.h # Log to KTR general mbuf aloc/free
443SCTP_MBCNT_LOGGING	opt_sctp.h # Log to KTR mbcnt activity
444SCTP_PACKET_LOGGING	opt_sctp.h # Log to a packet buffer last N packets
445SCTP_LTRACE_CHUNKS	opt_sctp.h # Log to KTR chunks processed
446SCTP_LTRACE_ERRORS	opt_sctp.h # Log to KTR error returns.
447SCTP_USE_PERCPU_STAT    opt_sctp.h # Use per cpu stats.
448SCTP_MCORE_INPUT        opt_sctp.h # Have multiple input threads for input mbufs
449#
450#
451#
452
453# Netgraph(4). Use option NETGRAPH to enable the base netgraph code.
454# Each netgraph node type can be either be compiled into the kernel
455# or loaded dynamically. To get the former, include the corresponding
456# option below. Each type has its own man page, e.g. ng_async(4).
457NETGRAPH
458NETGRAPH_DEBUG		opt_netgraph.h
459NETGRAPH_ASYNC		opt_netgraph.h
460NETGRAPH_ATMLLC		opt_netgraph.h
461NETGRAPH_ATM_ATMPIF	opt_netgraph.h
462NETGRAPH_BLUETOOTH	opt_netgraph.h
463NETGRAPH_BLUETOOTH_BT3C	opt_netgraph.h
464NETGRAPH_BLUETOOTH_H4	opt_netgraph.h
465NETGRAPH_BLUETOOTH_HCI	opt_netgraph.h
466NETGRAPH_BLUETOOTH_L2CAP	opt_netgraph.h
467NETGRAPH_BLUETOOTH_SOCKET	opt_netgraph.h
468NETGRAPH_BLUETOOTH_UBT	opt_netgraph.h
469NETGRAPH_BLUETOOTH_UBTBCMFW	opt_netgraph.h
470NETGRAPH_BPF		opt_netgraph.h
471NETGRAPH_BRIDGE		opt_netgraph.h
472NETGRAPH_CAR		opt_netgraph.h
473NETGRAPH_CISCO		opt_netgraph.h
474NETGRAPH_DEFLATE	opt_netgraph.h
475NETGRAPH_DEVICE		opt_netgraph.h
476NETGRAPH_ECHO		opt_netgraph.h
477NETGRAPH_EIFACE		opt_netgraph.h
478NETGRAPH_ETHER		opt_netgraph.h
479NETGRAPH_ETHER_ECHO	opt_netgraph.h
480NETGRAPH_FEC		opt_netgraph.h
481NETGRAPH_FRAME_RELAY	opt_netgraph.h
482NETGRAPH_GIF		opt_netgraph.h
483NETGRAPH_GIF_DEMUX	opt_netgraph.h
484NETGRAPH_HOLE		opt_netgraph.h
485NETGRAPH_IFACE		opt_netgraph.h
486NETGRAPH_IP_INPUT	opt_netgraph.h
487NETGRAPH_IPFW		opt_netgraph.h
488NETGRAPH_KSOCKET	opt_netgraph.h
489NETGRAPH_L2TP		opt_netgraph.h
490NETGRAPH_LMI		opt_netgraph.h
491# MPPC compression requires proprietary files (not included)
492NETGRAPH_MPPC_COMPRESSION	opt_netgraph.h
493NETGRAPH_MPPC_ENCRYPTION	opt_netgraph.h
494NETGRAPH_NAT		opt_netgraph.h
495NETGRAPH_NETFLOW	opt_netgraph.h
496NETGRAPH_ONE2MANY	opt_netgraph.h
497NETGRAPH_PATCH		opt_netgraph.h
498NETGRAPH_PIPE		opt_netgraph.h
499NETGRAPH_PPP		opt_netgraph.h
500NETGRAPH_PPPOE		opt_netgraph.h
501NETGRAPH_PPTPGRE	opt_netgraph.h
502NETGRAPH_PRED1		opt_netgraph.h
503NETGRAPH_RFC1490	opt_netgraph.h
504NETGRAPH_SOCKET		opt_netgraph.h
505NETGRAPH_SPLIT		opt_netgraph.h
506NETGRAPH_SPPP		opt_netgraph.h
507NETGRAPH_TAG		opt_netgraph.h
508NETGRAPH_TCPMSS		opt_netgraph.h
509NETGRAPH_TEE		opt_netgraph.h
510NETGRAPH_TTY		opt_netgraph.h
511NETGRAPH_UI		opt_netgraph.h
512NETGRAPH_VJC		opt_netgraph.h
513NETGRAPH_VLAN		opt_netgraph.h
514
515# NgATM options
516NGATM_ATM		opt_netgraph.h
517NGATM_ATMBASE		opt_netgraph.h
518NGATM_SSCOP		opt_netgraph.h
519NGATM_SSCFU		opt_netgraph.h
520NGATM_UNI		opt_netgraph.h
521NGATM_CCATM		opt_netgraph.h
522
523# DRM options
524DRM_DEBUG		opt_drm.h
525
526SOCKET_SEND_COW		opt_zero.h
527SOCKET_RECV_PFLIP	opt_zero.h
528TI_SF_BUF_JUMBO		opt_ti.h
529TI_JUMBO_HDRSPLIT	opt_ti.h
530
531# XXX Conflict: # of devices vs network protocol (Native ATM).
532# This makes "atm.h" unusable.
533NATM
534
535# DPT driver debug flags
536DPT_MEASURE_PERFORMANCE	opt_dpt.h
537DPT_HANDLE_TIMEOUTS	opt_dpt.h
538DPT_TIMEOUT_FACTOR	opt_dpt.h
539DPT_LOST_IRQ		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
576MAXPHYS			opt_global.h
577MCLSHIFT		opt_global.h
578MUTEX_DEBUG		opt_global.h
579MUTEX_NOINLINE		opt_global.h
580LOCK_PROFILING		opt_global.h
581LOCK_PROFILING_FAST	opt_global.h
582MSIZE			opt_global.h
583REGRESSION		opt_global.h
584RWLOCK_NOINLINE		opt_global.h
585SX_NOINLINE		opt_global.h
586VFS_BIO_DEBUG		opt_global.h
587
588# These are VM related options
589VM_KMEM_SIZE		opt_vm.h
590VM_KMEM_SIZE_SCALE	opt_vm.h
591VM_KMEM_SIZE_MAX	opt_vm.h
592VM_NDOMAIN		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 to support PPS
643UART_PPS_ON_CTS		opt_uart.h
644
645# options for bus/device framework
646BUS_DEBUG		opt_bus.h
647
648# options for USB support
649USB_DEBUG		opt_usb.h
650USB_HOST_ALIGN		opt_usb.h
651USB_REQ_DEBUG		opt_usb.h
652USB_VERBOSE		opt_usb.h
653USB_EHCI_BIG_ENDIAN_DESC	opt_usb.h
654U3G_DEBUG		opt_u3g.h
655UKBD_DFLT_KEYMAP	opt_ukbd.h
656UPLCOM_INTR_INTERVAL	opt_uplcom.h
657UVSCOM_DEFAULT_OPKTSIZE	opt_uvscom.h
658UVSCOM_INTR_INTERVAL	opt_uvscom.h
659
660# Embedded system options
661INIT_PATH
662
663ROOTDEVNAME
664
665FDC_DEBUG		opt_fdc.h
666PCFCLOCK_VERBOSE	opt_pcfclock.h
667PCFCLOCK_MAX_RETRIES	opt_pcfclock.h
668
669KTR			opt_global.h
670KTR_ALQ			opt_ktr.h
671KTR_MASK		opt_ktr.h
672KTR_CPUMASK		opt_ktr.h
673KTR_COMPILE		opt_global.h
674KTR_BOOT_ENTRIES	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_NETMAP		opt_global.h
693DEV_MCA			opt_mca.h
694DEV_CARP		opt_carp.h
695DEV_SPLASH		opt_splash.h
696
697# EISA support
698DEV_EISA		opt_eisa.h
699EISA_SLOTS		opt_eisa.h
700
701# ed driver
702ED_HPP			opt_ed.h
703ED_3C503		opt_ed.h
704ED_SIC			opt_ed.h
705
706# bce driver
707BCE_DEBUG		opt_bce.h
708BCE_NVRAM_WRITE_SUPPORT	opt_bce.h
709
710# bxe driver
711BXE_DEBUG		opt_bxe.h
712BXE_NVRAM_WRITE_SUPPORT	opt_bxe.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
790AH_DEBUG		opt_ah.h
791AH_ASSERT		opt_ah.h
792AH_DEBUG_ALQ		opt_ah.h
793AH_REGOPS_FUNC		opt_ah.h
794AH_WRITE_REGDOMAIN	opt_ah.h
795AH_DEBUG_COUNTRY	opt_ah.h
796AH_WRITE_EEPROM		opt_ah.h
797AH_PRIVATE_DIAG		opt_ah.h
798AH_NEED_DESC_SWAP	opt_ah.h
799AH_USE_INIPDGAIN	opt_ah.h
800AH_MAXCHAN		opt_ah.h
801AH_RXCFG_SDMAMW_4BYTES	opt_ah.h
802AH_INTERRUPT_DEBUGGING	opt_ah.h
803# AR5416 and later interrupt mitigation
804# XXX do not use this for AR9130
805AH_AR5416_INTERRUPT_MITIGATION	opt_ah.h
806
807# options for the Broadcom BCM43xx driver (bwi)
808BWI_DEBUG		opt_bwi.h
809BWI_DEBUG_VERBOSE	opt_bwi.h
810
811# options for the Marvell 8335 wireless driver
812MALO_DEBUG		opt_malo.h
813MALO_TXBUF		opt_malo.h
814MALO_RXBUF		opt_malo.h
815
816# options for the Marvell wireless driver
817MWL_DEBUG		opt_mwl.h
818MWL_TXBUF		opt_mwl.h
819MWL_RXBUF		opt_mwl.h
820MWL_DIAGAPI		opt_mwl.h
821MWL_AGGR_SIZE		opt_mwl.h
822MWL_TX_NODROP		opt_mwl.h
823
824# dcons options
825DCONS_BUF_SIZE		opt_dcons.h
826DCONS_POLL_HZ		opt_dcons.h
827DCONS_FORCE_CONSOLE	opt_dcons.h
828DCONS_FORCE_GDB		opt_dcons.h
829
830# HWPMC options
831HWPMC_HOOKS
832HWPMC_MIPS_BACKTRACE 	opt_hwpmc_hooks.h
833
834# XBOX options for FreeBSD/i386, but some files are MI
835XBOX			opt_xbox.h
836
837ZFS			opt_dontuse.h
838
839# Interrupt filtering
840INTR_FILTER
841
842# 802.11 support layer
843IEEE80211_DEBUG		opt_wlan.h
844IEEE80211_DEBUG_REFCNT	opt_wlan.h
845IEEE80211_AMPDU_AGE	opt_wlan.h
846IEEE80211_SUPPORT_MESH	opt_wlan.h
847IEEE80211_SUPPORT_SUPERG	opt_wlan.h
848IEEE80211_SUPPORT_TDMA	opt_wlan.h
849IEEE80211_ALQ		opt_wlan.h
850IEEE80211_DFS_DEBUG	opt_wlan.h
851
852# 802.11 TDMA support
853TDMA_SLOTLEN_DEFAULT	opt_tdma.h
854TDMA_SLOTCNT_DEFAULT	opt_tdma.h
855TDMA_BINTVAL_DEFAULT	opt_tdma.h
856TDMA_TXRATE_11B_DEFAULT	opt_tdma.h
857TDMA_TXRATE_11G_DEFAULT	opt_tdma.h
858TDMA_TXRATE_11A_DEFAULT	opt_tdma.h
859TDMA_TXRATE_TURBO_DEFAULT	opt_tdma.h
860TDMA_TXRATE_HALF_DEFAULT	opt_tdma.h
861TDMA_TXRATE_QUARTER_DEFAULT	opt_tdma.h
862TDMA_TXRATE_11NA_DEFAULT	opt_tdma.h
863TDMA_TXRATE_11NG_DEFAULT	opt_tdma.h
864
865# Network stack virtualization options
866VIMAGE			opt_global.h
867VNET_DEBUG		opt_global.h
868
869# Common Flash Interface (CFI) options
870CFI_SUPPORT_STRATAFLASH	opt_cfi.h
871CFI_ARMEDANDDANGEROUS	opt_cfi.h
872
873# Sound options
874SND_DEBUG		opt_snd.h
875SND_DIAGNOSTIC		opt_snd.h
876SND_FEEDER_MULTIFORMAT	opt_snd.h
877SND_FEEDER_FULL_MULTIFORMAT	opt_snd.h
878SND_FEEDER_RATE_HP	opt_snd.h
879SND_PCM_64		opt_snd.h
880SND_OLDSTEREO		opt_snd.h
881
882X86BIOS
883
884# Flattened device tree options
885FDT		opt_platform.h
886FDT_DTB_STATIC	opt_platform.h
887
888# OFED Infiniband stack
889OFED		opt_ofed.h
890OFED_DEBUG_INIT	opt_ofed.h
891SDP		opt_ofed.h
892SDP_DEBUG	opt_ofed.h
893IPOIB		opt_ofed.h
894IPOIB_DEBUG	opt_ofed.h
895IPOIB_CM	opt_ofed.h
896
897# Resource Accounting
898RACCT		opt_global.h
899
900# Resource Limits
901RCTL		opt_global.h
902