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