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