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