3 # On the handling of kernel options
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
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.
24 # This handling scheme is not yet fully implemented.
27 # Format of this file:
28 # Option name filename
30 # If filename is missing, the default is
31 # opt_<name-of-option-in-lower-case>.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
47 ALT_BREAK_TO_DEBUGGER opt_kdb.h
48 BREAK_TO_DEBUGGER opt_kdb.h
49 BUF_TRACKING opt_global.h
51 DDB_BUFR_SIZE opt_ddb.h
52 DDB_CAPTURE_DEFAULTBUFSIZE opt_ddb.h
53 DDB_CAPTURE_MAXBUFSIZE opt_ddb.h
56 EARLY_PRINTF opt_global.h
57 FULL_BUF_TRACKING opt_global.h
61 KDB_UNATTENDED opt_kdb.h
63 NUM_CORE_FILES opt_global.h
64 QUEUE_MACRO_DEBUG_TRACE opt_global.h
65 QUEUE_MACRO_DEBUG_TRASH opt_global.h
66 SYSCTL_DEBUG opt_sysctl.h
67 TEXTDUMP_PREFERRED opt_ddb.h
68 TEXTDUMP_VERBOSE opt_ddb.h
70 TSLOGSIZE opt_global.h
72 # Miscellaneous options.
74 ALTERA_SDCARD_FAST_SIM opt_altera_sdcard.h
75 ATSE_CFI_HACK opt_cfi.h
77 BOOTHOWTO opt_global.h
78 BOOTVERBOSE opt_global.h
80 CAPABILITIES opt_capsicum.h
81 CAPABILITY_MODE opt_capsicum.h
89 CC_NEWRENO opt_global.h
91 COMPAT_43 opt_global.h
92 COMPAT_43TTY opt_global.h
93 COMPAT_FREEBSD4 opt_global.h
94 COMPAT_FREEBSD5 opt_global.h
95 COMPAT_FREEBSD6 opt_global.h
96 COMPAT_FREEBSD7 opt_global.h
97 COMPAT_FREEBSD9 opt_global.h
98 COMPAT_FREEBSD10 opt_global.h
99 COMPAT_FREEBSD11 opt_global.h
100 COMPAT_FREEBSD12 opt_global.h
101 COMPAT_FREEBSD13 opt_global.h
102 COMPAT_LINUXKPI opt_dontuse.h
103 COMPILING_LINT opt_global.h
105 DEADLKRES opt_watchdog.h
106 EXPERIMENTAL opt_global.h
108 FILEMON opt_dontuse.h
110 FULL_PREEMPTION opt_sched.h
112 IMGACT_BINMISC opt_dontuse.h
113 IPI_PREEMPTION opt_sched.h
115 GEOM_CACHE opt_geom.h
116 GEOM_CONCAT opt_geom.h
119 GEOM_JOURNAL opt_geom.h
120 GEOM_LABEL opt_geom.h
121 GEOM_LABEL_GPT opt_geom.h
122 GEOM_LINUX_LVM opt_geom.h
124 GEOM_MIRROR opt_geom.h
125 GEOM_MOUNTVER opt_geom.h
126 GEOM_MULTIPATH opt_geom.h
128 GEOM_PART_APM opt_geom.h
129 GEOM_PART_BSD opt_geom.h
130 GEOM_PART_BSD64 opt_geom.h
131 GEOM_PART_EBR opt_geom.h
132 GEOM_PART_GPT opt_geom.h
133 GEOM_PART_LDM opt_geom.h
134 GEOM_PART_MBR opt_geom.h
135 GEOM_PART_VTOC8 opt_geom.h
137 GEOM_RAID3 opt_geom.h
138 GEOM_SHSEC opt_geom.h
139 GEOM_STRIPE opt_geom.h
141 GEOM_UZIP_DEBUG opt_geom.h
142 GEOM_VINUM opt_geom.h
143 GEOM_VIRSTOR opt_geom.h
146 KDTRACE_HOOKS opt_global.h
147 KDTRACE_FRAME opt_kdtrace.h
148 KN_HASHSIZE opt_kqueue.h
153 KTRACE_REQUEST_POOL opt_ktrace.h
156 MAC_BIBA opt_dontuse.h
157 MAC_BSDEXTENDED opt_dontuse.h
158 MAC_DDB opt_dontuse.h
159 MAC_IFOFF opt_dontuse.h
160 MAC_LOMAC opt_dontuse.h
161 MAC_MLS opt_dontuse.h
162 MAC_NONE opt_dontuse.h
163 MAC_NTPD opt_dontuse.h
164 MAC_PARTITION opt_dontuse.h
165 MAC_PORTACL opt_dontuse.h
166 MAC_PRIORITY opt_dontuse.h
167 MAC_SEEOTHERUIDS opt_dontuse.h
169 MAC_STUB opt_dontuse.h
170 MAC_TEST opt_dontuse.h
171 MAC_VERIEXEC opt_dontuse.h
172 MAC_VERIEXEC_SHA1 opt_dontuse.h
173 MAC_VERIEXEC_SHA256 opt_dontuse.h
174 MAC_VERIEXEC_SHA384 opt_dontuse.h
175 MAC_VERIEXEC_SHA512 opt_dontuse.h
177 MD_ROOT_FSTYPE opt_md.h
178 MD_ROOT_READONLY opt_md.h
179 MD_ROOT_SIZE opt_md.h
182 MFI_DECODE_LOG opt_mfi.h
183 MPROF_BUFFERS opt_mprof.h
184 MPROF_HASH_SIZE opt_mprof.h
185 NEW_PCIB opt_global.h
186 NO_ADAPTIVE_MUTEXES opt_adaptive_mutexes.h
189 NO_OBSOLETE_CODE opt_global.h
190 NO_SYSCTL_DESCR opt_global.h
191 NSWBUF_MIN opt_param.h
192 MBUF_PACKET_ZONE_DISABLE opt_global.h
193 PANIC_REBOOT_WAIT_TIME opt_panic.h
197 PPC_PROBE_CHIPSET opt_ppc.h
199 PREEMPTION opt_sched.h
201 SCHED_4BSD opt_sched.h
202 SCHED_STATS opt_sched.h
203 SCHED_ULE opt_sched.h
205 SLHCI_DEBUG opt_slhci.h
221 SHMMAXPGS opt_sysvipc.h
225 SYSVMSG opt_sysvipc.h
226 SYSVSEM opt_sysvipc.h
227 SYSVSHM opt_sysvipc.h
228 SW_WATCHDOG opt_watchdog.h
230 TCP_REQUEST_TRK opt_global.h
231 TCP_ACCOUNTING opt_inet.h
233 # TCP SaD Detection is an experimental Sack attack Detection (SaD)
234 # algorithm that uses "normal" behaviour with SACK's to detect
235 # a possible attack. It is strictly experimental at this point.
237 TCP_SAD_DETECTION opt_inet.h
240 UMTX_CHAINS opt_global.h
245 COVERAGE opt_global.h
252 # POSIX kernel options
253 P1003_1B_MQUEUE opt_posix.h
254 P1003_1B_SEMAPHORES opt_posix.h
255 _KPOSIX_PRIORITY_SCHEDULING opt_posix.h
257 # Do we want the config file compiled into the kernel?
258 INCLUDE_CONFIG_FILE opt_config.h
260 # Options for static filesystems. These should only be used at config
261 # time, since the corresponding lkms cannot work if there are any static
262 # dependencies. Unusability is enforced by hiding the defines for the
263 # options in a never-included header.
267 FDESCFS opt_dontuse.h
270 MSDOSFS opt_dontuse.h
273 PSEUDOFS opt_dontuse.h
278 UNIONFS opt_dontuse.h
282 PSEUDOFS_TRACE opt_pseudofs.h
285 TARFS_DEBUG opt_tarfs.h
288 KGSSAPI opt_kgssapi.h
289 KGSSAPI_DEBUG opt_kgssapi.h
291 # These static filesystems have one slightly bogus static dependency in
292 # sys/i386/i386/autoconf.c. If any of these filesystems are
293 # statically compiled into the kernel, code for mounting them as root
294 # filesystems will be enabled - but look below.
300 # filesystems and libiconv bridge
301 CD9660_ICONV opt_dontuse.h
302 MSDOSFS_ICONV opt_dontuse.h
303 UDF_ICONV opt_dontuse.h
305 # If you are following the conditions in the copyright,
306 # you can enable soft-updates which will speed up a lot of thigs
307 # and make the system safer from crashes at the same time.
308 # otherwise a STUB module will be compiled in.
309 SOFTUPDATES opt_ffs.h
311 # On small, embedded systems, it can be useful to turn off support for
312 # snapshots. It saves about 30-40k for a feature that would be lightly
313 # used, if it is used at all.
314 NO_FFS_SNAPSHOT opt_ffs.h
316 # Enabling this option turns on support for Access Control Lists in UFS,
317 # which can be used to support high security configurations. Depends on
321 # Enabling this option turns on support for extended attributes in UFS-based
322 # filesystems, which can be used to support high security configurations
323 # as well as new filesystem features.
324 UFS_EXTATTR opt_ufs.h
325 UFS_EXTATTR_AUTOSTART opt_ufs.h
327 # Enable fast hash lookups for large directories on UFS-based filesystems.
328 UFS_DIRHASH opt_ufs.h
330 # Enable gjournal-based UFS journal.
331 UFS_GJOURNAL opt_ufs.h
333 # The below sentence is not in English, and neither is this one.
334 # We plan to remove the static dependences above, with a
335 # <filesystem>_ROOT option to control if it usable as root. This list
336 # allows these options to be present in config files already (though
337 # they won't make any difference yet).
338 NFS_ROOT opt_nfsroot.h
343 # Enable debugnet(4) networking support.
344 DEBUGNET opt_global.h
345 # Enable netdump(4) client support.
347 # Enable netgdb(4) support.
350 # Options used only in subr_param.c.
355 VM_BCACHE_SIZE_MAX opt_param.h
356 VM_SWZONE_SIZE_MAX opt_param.h
362 # Generic SCSI options.
363 CAM_MAX_HIGHPOWER opt_cam.h
365 CAM_DEBUG_COMPILE opt_cam.h
366 CAM_DEBUG_DELAY opt_cam.h
367 CAM_DEBUG_BUS opt_cam.h
368 CAM_DEBUG_TARGET opt_cam.h
369 CAM_DEBUG_LUN opt_cam.h
370 CAM_DEBUG_FLAGS opt_cam.h
371 CAM_BOOT_DELAY opt_cam.h
372 CAM_IOSCHED_DYNAMIC opt_cam.h
373 CAM_IO_STATS opt_cam.h
374 CAM_TEST_FAILURE opt_cam.h
375 SCSI_DELAY opt_scsi.h
376 SCSI_NO_SENSE_STRINGS opt_scsi.h
377 SCSI_NO_OP_STRINGS opt_scsi.h
379 # Options used only in cam/ata/ata_da.c
380 ATA_STATIC_ID opt_ada.h
382 # Options used only in cam/scsi/scsi_cd.c
383 CHANGER_MIN_BUSY_SECONDS opt_cd.h
384 CHANGER_MAX_BUSY_SECONDS opt_cd.h
386 # Options used only in cam/scsi/scsi_da.c
387 DA_TRACK_REFS opt_da.h
389 # Options used only in cam/scsi/scsi_sa.c.
390 SA_IO_TIMEOUT opt_sa.h
391 SA_SPACE_TIMEOUT opt_sa.h
392 SA_REWIND_TIMEOUT opt_sa.h
393 SA_ERASE_TIMEOUT opt_sa.h
394 SA_1FM_AT_EOD opt_sa.h
396 # Options used only in cam/scsi/scsi_pt.c
397 SCSI_PT_DEFAULT_TIMEOUT opt_pt.h
399 # Options used only in cam/scsi/scsi_ses.c
400 SES_ENABLE_PASSTHROUGH opt_ses.h
402 # Options used in dev/sym/ (Symbios SCSI driver).
403 SYM_SETUP_SCSI_DIFF opt_sym.h #-HVD support for 825a, 875, 885
404 # disabled:0 (default), enabled:1
405 SYM_SETUP_PCI_PARITY opt_sym.h #-PCI parity checking
406 # disabled:0, enabled:1 (default)
407 SYM_SETUP_MAX_LUN opt_sym.h #-Number of LUNs supported
408 # default:8, range:[1..64]
410 # Options used only in dev/isp/*
411 ISP_TARGET_MODE opt_isp.h
412 ISP_FW_CRASH_DUMP opt_isp.h
413 ISP_DEFAULT_ROLES opt_isp.h
414 ISP_INTERNAL_TARGET opt_isp.h
415 ISP_FCTAPE_OFF opt_isp.h
417 # Options used only in dev/iscsi
418 ISCSI_INITIATOR_DEBUG opt_iscsi_initiator.h
427 ALTQ_CODEL opt_altq.h
428 ALTQ_DEBUG opt_altq.h
430 ALTQ_FAIRQ opt_altq.h
431 ALTQ_NOPCC opt_altq.h
436 BOOTP_BLOCKSIZE opt_bootp.h
437 BOOTP_COMPAT opt_bootp.h
438 BOOTP_NFSROOT opt_bootp.h
439 BOOTP_NFSV3 opt_bootp.h
440 BOOTP_WIRED_TO opt_bootp.h
443 RATELIMIT opt_ratelimit.h
444 RATELIMIT_DEBUG opt_ratelimit.h
449 IPFILTER opt_ipfilter.h
450 IPFILTER_DEFAULT_BLOCK opt_ipfilter.h
451 IPFILTER_LOG opt_ipfilter.h
452 IPFILTER_LOOKUP opt_ipfilter.h
453 IPFIREWALL opt_ipfw.h
454 IPFIREWALL_DEFAULT_TO_ACCEPT opt_ipfw.h
455 IPFIREWALL_NAT opt_ipfw.h
456 IPFIREWALL_NAT64 opt_ipfw.h
457 IPFIREWALL_NPTV6 opt_ipfw.h
458 IPFIREWALL_VERBOSE opt_ipfw.h
459 IPFIREWALL_VERBOSE_LIMIT opt_ipfw.h
460 IPFIREWALL_PMOD opt_ipfw.h
462 IPSEC_DEBUG opt_ipsec.h
463 IPSEC_SUPPORT opt_ipsec.h
471 MROUTING opt_mrouting.h
473 NETLINK opt_netlink.h
474 PF_DEFAULT_TO_DROP opt_pf.h
475 ROUTE_MPATH opt_route.h
476 ROUTETABLES opt_route.h
479 SLIP_IFF_OPTS opt_slip.h
482 TCP_BLACKBOX opt_global.h
483 TCP_HHOOK opt_global.h
484 TCP_OFFLOAD opt_inet.h # Enable code to dispatch TCP offloading
485 TCP_RFC7413 opt_inet.h
486 TCP_RFC7413_MAX_KEYS opt_inet.h
487 TCP_RFC7413_MAX_PSKS opt_inet.h
488 TCP_SIGNATURE opt_ipsec.h
489 VLAN_ARRAY opt_vlan.h
497 SCTP_SUPPORT opt_sctp.h
498 SCTP_DEBUG opt_sctp.h # Enable debug printfs
499 SCTP_LOCK_LOGGING opt_sctp.h # Log to KTR lock activity
500 SCTP_MBUF_LOGGING opt_sctp.h # Log to KTR general mbuf aloc/free
501 SCTP_MBCNT_LOGGING opt_sctp.h # Log to KTR mbcnt activity
502 SCTP_PACKET_LOGGING opt_sctp.h # Log to a packet buffer last N packets
503 SCTP_LTRACE_CHUNKS opt_sctp.h # Log to KTR chunks processed
504 SCTP_LTRACE_ERRORS opt_sctp.h # Log to KTR error returns.
505 SCTP_USE_PERCPU_STAT opt_sctp.h # Use per cpu stats.
506 SCTP_MCORE_INPUT opt_sctp.h # Have multiple input threads for input mbufs
507 SCTP_LOCAL_TRACE_BUF opt_sctp.h # Use tracebuffer exported via sysctl
508 SCTP_DETAILED_STR_STATS opt_sctp.h # Use per PR-SCTP policy stream stats
513 # Netgraph(4). Use option NETGRAPH to enable the base netgraph code.
514 # Each netgraph node type can be either be compiled into the kernel
515 # or loaded dynamically. To get the former, include the corresponding
516 # option below. Each type has its own man page, e.g. ng_async(4).
518 NETGRAPH_DEBUG opt_netgraph.h
519 NETGRAPH_ASYNC opt_netgraph.h
520 NETGRAPH_BLUETOOTH opt_netgraph.h
521 NETGRAPH_BLUETOOTH_BT3C opt_netgraph.h
522 NETGRAPH_BLUETOOTH_H4 opt_netgraph.h
523 NETGRAPH_BLUETOOTH_HCI opt_netgraph.h
524 NETGRAPH_BLUETOOTH_L2CAP opt_netgraph.h
525 NETGRAPH_BLUETOOTH_SOCKET opt_netgraph.h
526 NETGRAPH_BLUETOOTH_UBT opt_netgraph.h
527 NETGRAPH_BLUETOOTH_UBTBCMFW opt_netgraph.h
528 NETGRAPH_BPF opt_netgraph.h
529 NETGRAPH_BRIDGE opt_netgraph.h
530 NETGRAPH_CAR opt_netgraph.h
531 NETGRAPH_CHECKSUM opt_netgraph.h
532 NETGRAPH_CISCO opt_netgraph.h
533 NETGRAPH_DEFLATE opt_netgraph.h
534 NETGRAPH_DEVICE opt_netgraph.h
535 NETGRAPH_ECHO opt_netgraph.h
536 NETGRAPH_EIFACE opt_netgraph.h
537 NETGRAPH_ETHER opt_netgraph.h
538 NETGRAPH_ETHER_ECHO opt_netgraph.h
539 NETGRAPH_FEC opt_netgraph.h
540 NETGRAPH_FRAME_RELAY opt_netgraph.h
541 NETGRAPH_GIF opt_netgraph.h
542 NETGRAPH_GIF_DEMUX opt_netgraph.h
543 NETGRAPH_HOLE opt_netgraph.h
544 NETGRAPH_IFACE opt_netgraph.h
545 NETGRAPH_IP_INPUT opt_netgraph.h
546 NETGRAPH_IPFW opt_netgraph.h
547 NETGRAPH_KSOCKET opt_netgraph.h
548 NETGRAPH_L2TP opt_netgraph.h
549 NETGRAPH_LMI opt_netgraph.h
550 NETGRAPH_MPPC_COMPRESSION opt_netgraph.h
551 NETGRAPH_MPPC_ENCRYPTION opt_netgraph.h
552 NETGRAPH_NAT opt_netgraph.h
553 NETGRAPH_NETFLOW opt_netgraph.h
554 NETGRAPH_ONE2MANY opt_netgraph.h
555 NETGRAPH_PATCH opt_netgraph.h
556 NETGRAPH_PIPE opt_netgraph.h
557 NETGRAPH_PPP opt_netgraph.h
558 NETGRAPH_PPPOE opt_netgraph.h
559 NETGRAPH_PPTPGRE opt_netgraph.h
560 NETGRAPH_PRED1 opt_netgraph.h
561 NETGRAPH_RFC1490 opt_netgraph.h
562 NETGRAPH_SOCKET opt_netgraph.h
563 NETGRAPH_SPLIT opt_netgraph.h
564 NETGRAPH_SPPP opt_netgraph.h
565 NETGRAPH_TAG opt_netgraph.h
566 NETGRAPH_TCPMSS opt_netgraph.h
567 NETGRAPH_TEE opt_netgraph.h
568 NETGRAPH_TTY opt_netgraph.h
569 NETGRAPH_UI opt_netgraph.h
570 NETGRAPH_VJC opt_netgraph.h
571 NETGRAPH_VLAN opt_netgraph.h
576 TI_SF_BUF_JUMBO opt_ti.h
577 TI_JUMBO_HDRSPLIT opt_ti.h
579 # Misc debug flags. Most of these should probably be replaced with
580 # 'DEBUG', and then let people recompile just the interesting modules
581 # with 'make CC="cc -DDEBUG"'.
582 DEBUG_1284 opt_ppb_1284.h
584 PLIP_DEBUG opt_plip.h
585 LOCKF_DEBUG opt_debug_lockf.h
586 SI_DEBUG opt_debug_si.h
587 IFMEDIA_DEBUG opt_ifmedia.h
592 # ppbus related options
593 PERIPH_1284 opt_ppb_1284.h
594 DONTPROBE_1284 opt_ppb_1284.h
596 # smbus related options
597 ENABLE_ALART opt_intpm.h
599 # These cause changes all over the kernel
600 BLKDEV_IOSIZE opt_global.h
601 BURN_BRIDGES opt_global.h
603 DEBUG_LOCKS opt_global.h
604 DEBUG_VFS_LOCKS opt_global.h
605 DFLTPHYS opt_global.h
606 DIAGNOSTIC opt_global.h
607 INVARIANT_SUPPORT opt_global.h
608 INVARIANTS opt_global.h
609 KASSERT_PANIC_OPTIONAL opt_global.h
611 MAXMEMDOM opt_global.h
612 MAXPHYS opt_maxphys.h
613 MCLSHIFT opt_global.h
614 MUTEX_NOINLINE opt_global.h
615 LOCK_PROFILING opt_global.h
617 REGRESSION opt_global.h
618 RWLOCK_NOINLINE opt_global.h
619 SX_NOINLINE opt_global.h
620 VFS_BIO_DEBUG opt_global.h
622 # These are VM related options
623 VM_KMEM_SIZE opt_vm.h
624 VM_KMEM_SIZE_SCALE opt_vm.h
625 VM_KMEM_SIZE_MAX opt_vm.h
626 VM_NRESERVLEVEL opt_vm.h
627 VM_LEVEL_0_ORDER opt_vm.h
629 MALLOC_MAKE_FAILURES opt_vm.h
630 MALLOC_PROFILE opt_vm.h
631 MALLOC_DEBUG_MAXZONES opt_vm.h
633 # The MemGuard replacement allocator used for tamper-after-free detection
634 DEBUG_MEMGUARD opt_vm.h
636 # The RedZone malloc(9) protection
637 DEBUG_REDZONE opt_vm.h
639 # Standard SMP options
640 EARLY_AP_STARTUP opt_global.h
644 # Size of the kernel message buffer
645 MSGBUF_SIZE opt_msgbuf.h
648 NFS_MINATTRTIMO opt_nfs.h
649 NFS_MAXATTRTIMO opt_nfs.h
650 NFS_MINDIRATTRTIMO opt_nfs.h
651 NFS_MAXDIRATTRTIMO opt_nfs.h
655 TMPFS_PAGES_MINRESERVED opt_tmpfs.h
657 # Options for uart(4)
658 UART_PPS_ON_CTS opt_uart.h
659 UART_POLL_FREQ opt_uart.h
660 UART_DEV_TOLERANCE_PCT opt_uart.h
662 # options for bus/device framework
665 # options for USB support
667 USB_HOST_ALIGN opt_usb.h
668 USB_REQ_DEBUG opt_usb.h
669 USB_TEMPLATE opt_usb.h
670 USB_VERBOSE opt_usb.h
671 USB_DMA_SINGLE_ALLOC opt_usb.h
672 USB_EHCI_BIG_ENDIAN_DESC opt_usb.h
674 UKBD_DFLT_KEYMAP opt_ukbd.h
675 UPLCOM_INTR_INTERVAL opt_uplcom.h
676 UVSCOM_DEFAULT_OPKTSIZE opt_uvscom.h
677 UVSCOM_INTR_INTERVAL opt_uvscom.h
679 # options for the Realtek rtwn driver
680 RTWN_DEBUG opt_rtwn.h
681 RTWN_WITHOUT_UCODE opt_rtwn.h
683 # Embedded system options
689 PCFCLOCK_VERBOSE opt_pcfclock.h
690 PCFCLOCK_MAX_RETRIES opt_pcfclock.h
695 KTR_CPUMASK opt_ktr.h
696 KTR_COMPILE opt_global.h
697 KTR_BOOT_ENTRIES opt_global.h
698 KTR_ENTRIES opt_global.h
699 KTR_VERBOSE opt_ktr.h
701 WITNESS_KDB opt_witness.h
702 WITNESS_NO_VNODE opt_witness.h
703 WITNESS_SKIPSPIN opt_witness.h
704 WITNESS_COUNT opt_witness.h
705 OPENSOLARIS_WITNESS opt_global.h
707 EPOCH_TRACE opt_global.h
709 # options for ACPI support
710 ACPI_DEBUG opt_acpi.h
711 ACPI_MAX_TASKS opt_acpi.h
712 ACPI_MAX_THREADS opt_acpi.h
714 ACPI_EARLY_EPYC_WAR opt_acpi.h
716 # options for IOMMU support
723 # various 'device presence' options.
726 DEV_NETMAP opt_global.h
731 DEV_SPLASH opt_splash.h
736 BCE_NVRAM_WRITE_SUPPORT opt_bce.h
738 SOCKBUF_DEBUG opt_global.h
741 # options for hifn driver
742 HIFN_DEBUG opt_hifn.h
743 HIFN_RNDTEST opt_hifn.h
745 # options for safenet driver
746 SAFE_DEBUG opt_safe.h
747 SAFE_NO_RNG opt_safe.h
748 SAFE_RNDTEST opt_safe.h
751 MAXCONS opt_syscons.h
752 SC_ALT_MOUSE_IMAGE opt_syscons.h
753 SC_CUT_SPACES2TABS opt_syscons.h
754 SC_CUT_SEPCHARS opt_syscons.h
755 SC_DEBUG_LEVEL opt_syscons.h
756 SC_DFLT_FONT opt_syscons.h
757 SC_DFLT_TERM opt_syscons.h
758 SC_DISABLE_KDBKEY opt_syscons.h
759 SC_DISABLE_REBOOT opt_syscons.h
760 SC_HISTORY_SIZE opt_syscons.h
761 SC_KERNEL_CONS_ATTR opt_syscons.h
762 SC_KERNEL_CONS_ATTRS opt_syscons.h
763 SC_KERNEL_CONS_REV_ATTR opt_syscons.h
764 SC_MOUSE_CHAR opt_syscons.h
765 SC_NO_CUTPASTE opt_syscons.h
766 SC_NO_FONT_LOADING opt_syscons.h
767 SC_NO_HISTORY opt_syscons.h
768 SC_NO_MODE_CHANGE opt_syscons.h
769 SC_NO_SUSPEND_VTYSWITCH opt_syscons.h
770 SC_NO_SYSMOUSE opt_syscons.h
771 SC_NO_TERM_DUMB opt_syscons.h
772 SC_NO_TERM_SC opt_syscons.h
773 SC_NO_TERM_TEKEN opt_syscons.h
774 SC_NORM_ATTR opt_syscons.h
775 SC_NORM_REV_ATTR opt_syscons.h
776 SC_PIXEL_MODE opt_syscons.h
777 SC_RENDER_DEBUG opt_syscons.h
778 SC_TWOBUTTON_MOUSE opt_syscons.h
779 VT_ALT_TO_ESC_HACK opt_syscons.h
780 VT_FB_MAX_WIDTH opt_syscons.h
781 VT_FB_MAX_HEIGHT opt_syscons.h
782 VT_MAXWINDOWS opt_syscons.h
783 VT_TWOBUTTON_MOUSE opt_syscons.h
787 # teken terminal emulator options
788 TEKEN_CONS25 opt_teken.h
789 TEKEN_UTF8 opt_teken.h
790 TERMINAL_KERN_ATTR opt_teken.h
791 TERMINAL_NORM_ATTR opt_teken.h
794 PRINTF_BUFR_SIZE opt_printf.h
795 BOOT_TAG opt_printf.h
796 BOOT_TAG_SZ opt_printf.h
799 KBD_DISABLE_KEYMAP_LOAD opt_kbd.h
800 KBD_INSTALL_CDEV opt_kbd.h
801 KBD_MAXRETRY opt_kbd.h
802 KBD_MAXWAIT opt_kbd.h
803 KBD_RESETDELAY opt_kbd.h
806 KBDIO_DEBUG opt_kbd.h
807 KBDMUX_DFLT_KEYMAP opt_kbdmux.h
809 # options for the Atheros driver
813 ATH_DIAGAPI opt_ath.h
814 ATH_TX99_DIAG opt_ath.h
815 ATH_ENABLE_11N opt_ath.h
816 ATH_ENABLE_DFS opt_ath.h
817 ATH_EEPROM_FIRMWARE opt_ath.h
818 ATH_ENABLE_RADIOTAP_VENDOR_EXT opt_ath.h
819 ATH_DEBUG_ALQ opt_ath.h
820 ATH_KTR_INTR_DEBUG opt_ath.h
822 # options for the Atheros hal
823 # XXX For now, this breaks non-AR9130 chipsets, so only use it
824 # XXX when actually targeting AR9130.
825 AH_SUPPORT_AR9130 opt_ah.h
827 # This is required for AR933x SoC support
828 AH_SUPPORT_AR9330 opt_ah.h
829 AH_SUPPORT_AR9340 opt_ah.h
830 AH_SUPPORT_QCA9530 opt_ah.h
831 AH_SUPPORT_QCA9550 opt_ah.h
835 AH_DEBUG_ALQ opt_ah.h
836 AH_REGOPS_FUNC opt_ah.h
837 AH_WRITE_REGDOMAIN opt_ah.h
838 AH_DEBUG_COUNTRY opt_ah.h
839 AH_WRITE_EEPROM opt_ah.h
840 AH_PRIVATE_DIAG opt_ah.h
841 AH_NEED_DESC_SWAP opt_ah.h
842 AH_USE_INIPDGAIN opt_ah.h
844 AH_RXCFG_SDMAMW_4BYTES opt_ah.h
845 AH_INTERRUPT_DEBUGGING opt_ah.h
846 # AR5416 and later interrupt mitigation
847 # XXX do not use this for AR9130
848 AH_AR5416_INTERRUPT_MITIGATION opt_ah.h
850 # options for the Altera mSGDMA driver (altera_msgdma)
851 ALTERA_MSGDMA_DESC_STD opt_altera_msgdma.h
852 ALTERA_MSGDMA_DESC_EXT opt_altera_msgdma.h
853 ALTERA_MSGDMA_DESC_PF_STD opt_altera_msgdma.h
854 ALTERA_MSGDMA_DESC_PF_EXT opt_altera_msgdma.h
856 # options for the Broadcom BCM43xx driver (bwi)
858 BWI_DEBUG_VERBOSE opt_bwi.h
860 # options for the Brodacom BCM43xx driver (bwn)
862 BWN_GPL_PHY opt_bwn.h
863 BWN_USE_SIBA opt_bwn.h
865 # Options for the SIBA driver
866 SIBA_DEBUG opt_siba.h
868 # options for the Marvell 8335 wireless driver
869 MALO_DEBUG opt_malo.h
870 MALO_TXBUF opt_malo.h
871 MALO_RXBUF opt_malo.h
873 # options for the Marvell wireless driver
877 MWL_DIAGAPI opt_mwl.h
878 MWL_AGGR_SIZE opt_mwl.h
879 MWL_TX_NODROP opt_mwl.h
881 # Options for the Marvell NETA driver
882 MVNETA_MULTIQUEUE opt_mvneta.h
883 MVNETA_KTR opt_mvneta.h
885 # Options for the Intel 802.11ac wireless driver
888 # Options for the Intel 802.11n wireless driver
891 # Options for the Intel 3945ABG wireless driver
895 DCONS_BUF_SIZE opt_dcons.h
896 DCONS_POLL_HZ opt_dcons.h
897 DCONS_FORCE_CONSOLE opt_dcons.h
898 DCONS_FORCE_GDB opt_dcons.h
901 HWPMC_DEBUG opt_global.h
903 HWPMC_MIPS_BACKTRACE opt_hwpmc_hooks.h
905 # 802.11 support layer
906 IEEE80211_DEBUG opt_wlan.h
907 IEEE80211_DEBUG_REFCNT 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
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
928 PICKMODE_DEBUG opt_videomode.h
930 # Network stack virtualization options
932 VNET_DEBUG opt_global.h
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
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
946 SND_OLDSTEREO opt_snd.h
950 # Flattened device tree options
952 FDT_DTB_STATIC opt_platform.h
954 # OFED Infiniband stack
956 OFED_DEBUG_INIT opt_ofed.h
960 IPOIB_DEBUG opt_ofed.h
963 # Resource Accounting
965 RACCT_DEFAULT_TO_DISABLED opt_global.h
970 # Random number generator(s)
971 # Alternative RNG algorithm.
972 RANDOM_FENESTRASX opt_global.h
973 # With this, no entropy processor is loaded, but the entropy
974 # harvesting infrastructure is present. This means an entropy
975 # processor may be loaded as a module.
976 RANDOM_LOADABLE opt_global.h
977 # This turns on high-rate and potentially expensive harvesting in
978 # the uma slab allocator.
979 RANDOM_ENABLE_UMA opt_global.h
980 RANDOM_ENABLE_ETHER opt_global.h
982 # This options turns TPM into entropy source.
983 TPM_HARVEST opt_tpm.h
986 BHND_LOGLEVEL opt_global.h
988 # GPIO and child devices
989 GPIO_SPI_DEBUG opt_gpio.h
992 SPIGEN_LEGACY_CDEVNAME opt_spi.h
994 # etherswitch(4) driver
995 RTL8366_SOFT_RESET opt_etherswitch.h
997 # evdev protocol support
998 EVDEV_SUPPORT opt_evdev.h
999 EVDEV_DEBUG opt_evdev.h
1000 UINPUT_DEBUG opt_evdev.h
1002 # Hyper-V network driver
1005 # CAM-based MMC stack
1007 # Encrypted kernel crash dumps
1011 NVME_USE_NVD opt_nvme.h
1012 NVME_2X_RESET opt_nvme.h
1015 AMDSBWD_DEBUG opt_amdsbwd.h
1021 # options for HID support
1023 IICHID_DEBUG opt_hid.h
1024 IICHID_SAMPLING opt_hid.h
1025 HKBD_DFLT_KEYMAP opt_hkbd.h
1026 HIDRAW_MAKE_UHID_ALIAS opt_hid.h
1029 # The early kernel environment (loader environment, config(8)-provided static)
1030 # is typically cleared after the dynamic environment comes up to ensure that
1031 # we're not inadvertently holding on to 'secret' values in these stale envs.
1032 # This option is insecure except in controlled environments where the static
1033 # environment's contents are known to be safe.
1034 PRESERVE_EARLY_KENV opt_global.h