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