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 _COMPAT_LINUX32 opt_compat.h # XXX: make sure opt_compat.h exists
104 COMPILING_LINT opt_global.h
106 DEADLKRES opt_watchdog.h
107 EXPERIMENTAL opt_global.h
109 FILEMON opt_dontuse.h
111 FULL_PREEMPTION opt_sched.h
113 IMGACT_BINMISC opt_dontuse.h
114 IPI_PREEMPTION opt_sched.h
116 GEOM_CACHE opt_geom.h
117 GEOM_CONCAT opt_geom.h
120 GEOM_JOURNAL opt_geom.h
121 GEOM_LABEL opt_geom.h
122 GEOM_LABEL_GPT opt_geom.h
123 GEOM_LINUX_LVM opt_geom.h
125 GEOM_MIRROR opt_geom.h
126 GEOM_MOUNTVER opt_geom.h
127 GEOM_MULTIPATH opt_geom.h
129 GEOM_PART_APM opt_geom.h
130 GEOM_PART_BSD opt_geom.h
131 GEOM_PART_BSD64 opt_geom.h
132 GEOM_PART_EBR opt_geom.h
133 GEOM_PART_GPT opt_geom.h
134 GEOM_PART_LDM opt_geom.h
135 GEOM_PART_MBR opt_geom.h
136 GEOM_PART_VTOC8 opt_geom.h
138 GEOM_RAID3 opt_geom.h
139 GEOM_SHSEC opt_geom.h
140 GEOM_STRIPE opt_geom.h
142 GEOM_UZIP_DEBUG opt_geom.h
143 GEOM_VINUM opt_geom.h
144 GEOM_VIRSTOR opt_geom.h
147 KDTRACE_HOOKS opt_global.h
148 KDTRACE_FRAME opt_kdtrace.h
149 KN_HASHSIZE opt_kqueue.h
154 KTRACE_REQUEST_POOL opt_ktrace.h
157 MAC_BIBA opt_dontuse.h
158 MAC_BSDEXTENDED opt_dontuse.h
159 MAC_DDB opt_dontuse.h
160 MAC_IFOFF opt_dontuse.h
161 MAC_LOMAC opt_dontuse.h
162 MAC_MLS opt_dontuse.h
163 MAC_NONE opt_dontuse.h
164 MAC_NTPD opt_dontuse.h
165 MAC_PARTITION opt_dontuse.h
166 MAC_PORTACL opt_dontuse.h
167 MAC_PRIORITY opt_dontuse.h
168 MAC_SEEOTHERUIDS opt_dontuse.h
170 MAC_STUB opt_dontuse.h
171 MAC_TEST opt_dontuse.h
172 MAC_VERIEXEC opt_dontuse.h
173 MAC_VERIEXEC_SHA1 opt_dontuse.h
174 MAC_VERIEXEC_SHA256 opt_dontuse.h
175 MAC_VERIEXEC_SHA384 opt_dontuse.h
176 MAC_VERIEXEC_SHA512 opt_dontuse.h
178 MD_ROOT_FSTYPE opt_md.h
179 MD_ROOT_READONLY opt_md.h
180 MD_ROOT_SIZE opt_md.h
183 MFI_DECODE_LOG opt_mfi.h
184 MPROF_BUFFERS opt_mprof.h
185 MPROF_HASH_SIZE opt_mprof.h
186 NEW_PCIB opt_global.h
187 NO_ADAPTIVE_MUTEXES opt_adaptive_mutexes.h
190 NO_OBSOLETE_CODE opt_global.h
191 NO_SYSCTL_DESCR opt_global.h
192 NSWBUF_MIN opt_param.h
193 MBUF_PACKET_ZONE_DISABLE opt_global.h
194 PANIC_REBOOT_WAIT_TIME opt_panic.h
198 PPC_PROBE_CHIPSET opt_ppc.h
200 PREEMPTION opt_sched.h
202 SCHED_4BSD opt_sched.h
203 SCHED_STATS opt_sched.h
204 SCHED_ULE opt_sched.h
206 SLHCI_DEBUG opt_slhci.h
222 SHMMAXPGS opt_sysvipc.h
226 SYSVMSG opt_sysvipc.h
227 SYSVSEM opt_sysvipc.h
228 SYSVSHM opt_sysvipc.h
229 SW_WATCHDOG opt_watchdog.h
233 UMTX_CHAINS opt_global.h
238 COVERAGE opt_global.h
245 # POSIX kernel options
246 P1003_1B_MQUEUE opt_posix.h
247 P1003_1B_SEMAPHORES opt_posix.h
248 _KPOSIX_PRIORITY_SCHEDULING opt_posix.h
250 # Do we want the config file compiled into the kernel?
251 INCLUDE_CONFIG_FILE opt_config.h
253 # Options for static filesystems. These should only be used at config
254 # time, since the corresponding lkms cannot work if there are any static
255 # dependencies. Unusability is enforced by hiding the defines for the
256 # options in a never-included header.
260 FDESCFS opt_dontuse.h
263 MSDOSFS opt_dontuse.h
266 PSEUDOFS opt_dontuse.h
271 UNIONFS opt_dontuse.h
275 PSEUDOFS_TRACE opt_pseudofs.h
278 TARFS_DEBUG opt_tarfs.h
281 KGSSAPI opt_kgssapi.h
282 KGSSAPI_DEBUG opt_kgssapi.h
284 # These static filesystems have one slightly bogus static dependency in
285 # sys/i386/i386/autoconf.c. If any of these filesystems are
286 # statically compiled into the kernel, code for mounting them as root
287 # filesystems will be enabled - but look below.
293 # filesystems and libiconv bridge
294 CD9660_ICONV opt_dontuse.h
295 MSDOSFS_ICONV opt_dontuse.h
296 UDF_ICONV opt_dontuse.h
298 # If you are following the conditions in the copyright,
299 # you can enable soft-updates which will speed up a lot of thigs
300 # and make the system safer from crashes at the same time.
301 # otherwise a STUB module will be compiled in.
302 SOFTUPDATES opt_ffs.h
304 # On small, embedded systems, it can be useful to turn off support for
305 # snapshots. It saves about 30-40k for a feature that would be lightly
306 # used, if it is used at all.
307 NO_FFS_SNAPSHOT opt_ffs.h
309 # Enabling this option turns on support for Access Control Lists in UFS,
310 # which can be used to support high security configurations. Depends on
314 # Enabling this option turns on support for extended attributes in UFS-based
315 # filesystems, which can be used to support high security configurations
316 # as well as new filesystem features.
317 UFS_EXTATTR opt_ufs.h
318 UFS_EXTATTR_AUTOSTART opt_ufs.h
320 # Enable fast hash lookups for large directories on UFS-based filesystems.
321 UFS_DIRHASH opt_ufs.h
323 # Enable gjournal-based UFS journal.
324 UFS_GJOURNAL opt_ufs.h
326 # The below sentence is not in English, and neither is this one.
327 # We plan to remove the static dependences above, with a
328 # <filesystem>_ROOT option to control if it usable as root. This list
329 # allows these options to be present in config files already (though
330 # they won't make any difference yet).
331 NFS_ROOT opt_nfsroot.h
336 # Enable debugnet(4) networking support.
337 DEBUGNET opt_global.h
338 # Enable netdump(4) client support.
340 # Enable netgdb(4) support.
343 # Options used only in subr_param.c.
348 VM_BCACHE_SIZE_MAX opt_param.h
349 VM_SWZONE_SIZE_MAX opt_param.h
355 # Generic SCSI options.
356 CAM_MAX_HIGHPOWER opt_cam.h
358 CAM_DEBUG_COMPILE opt_cam.h
359 CAM_DEBUG_DELAY opt_cam.h
360 CAM_DEBUG_BUS opt_cam.h
361 CAM_DEBUG_TARGET opt_cam.h
362 CAM_DEBUG_LUN opt_cam.h
363 CAM_DEBUG_FLAGS opt_cam.h
364 CAM_BOOT_DELAY opt_cam.h
365 CAM_IOSCHED_DYNAMIC opt_cam.h
366 CAM_IO_STATS opt_cam.h
367 CAM_TEST_FAILURE opt_cam.h
368 SCSI_DELAY opt_scsi.h
369 SCSI_NO_SENSE_STRINGS opt_scsi.h
370 SCSI_NO_OP_STRINGS opt_scsi.h
372 # Options used only in cam/ata/ata_da.c
373 ATA_STATIC_ID opt_ada.h
375 # Options used only in cam/scsi/scsi_cd.c
376 CHANGER_MIN_BUSY_SECONDS opt_cd.h
377 CHANGER_MAX_BUSY_SECONDS opt_cd.h
379 # Options used only in cam/scsi/scsi_da.c
380 DA_TRACK_REFS opt_da.h
382 # Options used only in cam/scsi/scsi_sa.c.
383 SA_IO_TIMEOUT opt_sa.h
384 SA_SPACE_TIMEOUT opt_sa.h
385 SA_REWIND_TIMEOUT opt_sa.h
386 SA_ERASE_TIMEOUT opt_sa.h
387 SA_1FM_AT_EOD opt_sa.h
389 # Options used only in cam/scsi/scsi_pt.c
390 SCSI_PT_DEFAULT_TIMEOUT opt_pt.h
392 # Options used only in cam/scsi/scsi_ses.c
393 SES_ENABLE_PASSTHROUGH opt_ses.h
395 # Options used in dev/sym/ (Symbios SCSI driver).
396 SYM_SETUP_SCSI_DIFF opt_sym.h #-HVD support for 825a, 875, 885
397 # disabled:0 (default), enabled:1
398 SYM_SETUP_PCI_PARITY opt_sym.h #-PCI parity checking
399 # disabled:0, enabled:1 (default)
400 SYM_SETUP_MAX_LUN opt_sym.h #-Number of LUNs supported
401 # default:8, range:[1..64]
403 # Options used only in dev/isp/*
404 ISP_TARGET_MODE opt_isp.h
405 ISP_FW_CRASH_DUMP opt_isp.h
406 ISP_DEFAULT_ROLES opt_isp.h
407 ISP_INTERNAL_TARGET opt_isp.h
408 ISP_FCTAPE_OFF opt_isp.h
410 # Options used only in dev/iscsi
411 ISCSI_INITIATOR_DEBUG opt_iscsi_initiator.h
420 ALTQ_CODEL opt_altq.h
421 ALTQ_DEBUG opt_altq.h
423 ALTQ_FAIRQ opt_altq.h
424 ALTQ_NOPCC opt_altq.h
429 BOOTP_BLOCKSIZE opt_bootp.h
430 BOOTP_COMPAT opt_bootp.h
431 BOOTP_NFSROOT opt_bootp.h
432 BOOTP_NFSV3 opt_bootp.h
433 BOOTP_WIRED_TO opt_bootp.h
436 RATELIMIT opt_ratelimit.h
437 RATELIMIT_DEBUG opt_ratelimit.h
442 IPFILTER opt_ipfilter.h
443 IPFILTER_DEFAULT_BLOCK opt_ipfilter.h
444 IPFILTER_LOG opt_ipfilter.h
445 IPFILTER_LOOKUP opt_ipfilter.h
446 IPFIREWALL opt_ipfw.h
447 IPFIREWALL_DEFAULT_TO_ACCEPT opt_ipfw.h
448 IPFIREWALL_NAT opt_ipfw.h
449 IPFIREWALL_NAT64 opt_ipfw.h
450 IPFIREWALL_NPTV6 opt_ipfw.h
451 IPFIREWALL_VERBOSE opt_ipfw.h
452 IPFIREWALL_VERBOSE_LIMIT opt_ipfw.h
453 IPFIREWALL_PMOD opt_ipfw.h
455 IPSEC_DEBUG opt_ipsec.h
456 IPSEC_SUPPORT opt_ipsec.h
464 MROUTING opt_mrouting.h
467 PF_DEFAULT_TO_DROP opt_pf.h
468 ROUTE_MPATH opt_route.h
469 ROUTETABLES opt_route.h
472 SLIP_IFF_OPTS opt_slip.h
475 TCP_BLACKBOX opt_global.h
476 TCP_HHOOK opt_global.h
477 TCP_OFFLOAD opt_inet.h # Enable code to dispatch TCP offloading
478 TCP_RFC7413 opt_inet.h
479 TCP_RFC7413_MAX_KEYS opt_inet.h
480 TCP_RFC7413_MAX_PSKS opt_inet.h
481 TCP_SIGNATURE opt_ipsec.h
482 VLAN_ARRAY opt_vlan.h
490 SCTP_SUPPORT opt_sctp.h
491 SCTP_DEBUG opt_sctp.h # Enable debug printfs
492 SCTP_LOCK_LOGGING opt_sctp.h # Log to KTR lock activity
493 SCTP_MBUF_LOGGING opt_sctp.h # Log to KTR general mbuf aloc/free
494 SCTP_MBCNT_LOGGING opt_sctp.h # Log to KTR mbcnt activity
495 SCTP_PACKET_LOGGING opt_sctp.h # Log to a packet buffer last N packets
496 SCTP_LTRACE_CHUNKS opt_sctp.h # Log to KTR chunks processed
497 SCTP_LTRACE_ERRORS opt_sctp.h # Log to KTR error returns.
498 SCTP_USE_PERCPU_STAT opt_sctp.h # Use per cpu stats.
499 SCTP_MCORE_INPUT opt_sctp.h # Have multiple input threads for input mbufs
500 SCTP_LOCAL_TRACE_BUF opt_sctp.h # Use tracebuffer exported via sysctl
501 SCTP_DETAILED_STR_STATS opt_sctp.h # Use per PR-SCTP policy stream stats
506 # Netgraph(4). Use option NETGRAPH to enable the base netgraph code.
507 # Each netgraph node type can be either be compiled into the kernel
508 # or loaded dynamically. To get the former, include the corresponding
509 # option below. Each type has its own man page, e.g. ng_async(4).
511 NETGRAPH_DEBUG opt_netgraph.h
512 NETGRAPH_ASYNC opt_netgraph.h
513 NETGRAPH_ATMLLC opt_netgraph.h
514 NETGRAPH_ATM_ATMPIF opt_netgraph.h
515 NETGRAPH_BLUETOOTH opt_netgraph.h
516 NETGRAPH_BLUETOOTH_BT3C opt_netgraph.h
517 NETGRAPH_BLUETOOTH_H4 opt_netgraph.h
518 NETGRAPH_BLUETOOTH_HCI opt_netgraph.h
519 NETGRAPH_BLUETOOTH_L2CAP opt_netgraph.h
520 NETGRAPH_BLUETOOTH_SOCKET opt_netgraph.h
521 NETGRAPH_BLUETOOTH_UBT opt_netgraph.h
522 NETGRAPH_BLUETOOTH_UBTBCMFW opt_netgraph.h
523 NETGRAPH_BPF opt_netgraph.h
524 NETGRAPH_BRIDGE opt_netgraph.h
525 NETGRAPH_CAR opt_netgraph.h
526 NETGRAPH_CHECKSUM opt_netgraph.h
527 NETGRAPH_CISCO opt_netgraph.h
528 NETGRAPH_DEFLATE opt_netgraph.h
529 NETGRAPH_DEVICE opt_netgraph.h
530 NETGRAPH_ECHO opt_netgraph.h
531 NETGRAPH_EIFACE opt_netgraph.h
532 NETGRAPH_ETHER opt_netgraph.h
533 NETGRAPH_ETHER_ECHO opt_netgraph.h
534 NETGRAPH_FEC opt_netgraph.h
535 NETGRAPH_FRAME_RELAY opt_netgraph.h
536 NETGRAPH_GIF opt_netgraph.h
537 NETGRAPH_GIF_DEMUX opt_netgraph.h
538 NETGRAPH_HOLE opt_netgraph.h
539 NETGRAPH_IFACE opt_netgraph.h
540 NETGRAPH_IP_INPUT opt_netgraph.h
541 NETGRAPH_IPFW opt_netgraph.h
542 NETGRAPH_KSOCKET opt_netgraph.h
543 NETGRAPH_L2TP opt_netgraph.h
544 NETGRAPH_LMI opt_netgraph.h
545 NETGRAPH_MPPC_COMPRESSION opt_netgraph.h
546 NETGRAPH_MPPC_ENCRYPTION opt_netgraph.h
547 NETGRAPH_NAT opt_netgraph.h
548 NETGRAPH_NETFLOW opt_netgraph.h
549 NETGRAPH_ONE2MANY opt_netgraph.h
550 NETGRAPH_PATCH opt_netgraph.h
551 NETGRAPH_PIPE opt_netgraph.h
552 NETGRAPH_PPP opt_netgraph.h
553 NETGRAPH_PPPOE opt_netgraph.h
554 NETGRAPH_PPTPGRE opt_netgraph.h
555 NETGRAPH_PRED1 opt_netgraph.h
556 NETGRAPH_RFC1490 opt_netgraph.h
557 NETGRAPH_SOCKET opt_netgraph.h
558 NETGRAPH_SPLIT opt_netgraph.h
559 NETGRAPH_SPPP opt_netgraph.h
560 NETGRAPH_TAG opt_netgraph.h
561 NETGRAPH_TCPMSS opt_netgraph.h
562 NETGRAPH_TEE opt_netgraph.h
563 NETGRAPH_TTY opt_netgraph.h
564 NETGRAPH_UI opt_netgraph.h
565 NETGRAPH_VJC opt_netgraph.h
566 NETGRAPH_VLAN opt_netgraph.h
569 NGATM_ATM opt_netgraph.h
570 NGATM_ATMBASE opt_netgraph.h
571 NGATM_SSCOP opt_netgraph.h
572 NGATM_SSCFU opt_netgraph.h
573 NGATM_UNI opt_netgraph.h
574 NGATM_CCATM opt_netgraph.h
579 TI_SF_BUF_JUMBO opt_ti.h
580 TI_JUMBO_HDRSPLIT opt_ti.h
582 # Misc debug flags. Most of these should probably be replaced with
583 # 'DEBUG', and then let people recompile just the interesting modules
584 # with 'make CC="cc -DDEBUG"'.
585 DEBUG_1284 opt_ppb_1284.h
587 PLIP_DEBUG opt_plip.h
588 LOCKF_DEBUG opt_debug_lockf.h
589 SI_DEBUG opt_debug_si.h
590 IFMEDIA_DEBUG opt_ifmedia.h
595 # ppbus related options
596 PERIPH_1284 opt_ppb_1284.h
597 DONTPROBE_1284 opt_ppb_1284.h
599 # smbus related options
600 ENABLE_ALART opt_intpm.h
602 # These cause changes all over the kernel
603 BLKDEV_IOSIZE opt_global.h
604 BURN_BRIDGES opt_global.h
606 DEBUG_LOCKS opt_global.h
607 DEBUG_VFS_LOCKS opt_global.h
608 DFLTPHYS opt_global.h
609 DIAGNOSTIC opt_global.h
610 INVARIANT_SUPPORT opt_global.h
611 INVARIANTS opt_global.h
612 KASSERT_PANIC_OPTIONAL opt_global.h
614 MAXMEMDOM opt_global.h
615 MAXPHYS opt_maxphys.h
616 MCLSHIFT opt_global.h
617 MUTEX_NOINLINE opt_global.h
618 LOCK_PROFILING opt_global.h
620 REGRESSION opt_global.h
621 RWLOCK_NOINLINE opt_global.h
622 SX_NOINLINE opt_global.h
623 VFS_BIO_DEBUG opt_global.h
625 # These are VM related options
626 VM_KMEM_SIZE opt_vm.h
627 VM_KMEM_SIZE_SCALE opt_vm.h
628 VM_KMEM_SIZE_MAX opt_vm.h
629 VM_NRESERVLEVEL opt_vm.h
630 VM_LEVEL_0_ORDER opt_vm.h
632 MALLOC_MAKE_FAILURES opt_vm.h
633 MALLOC_PROFILE opt_vm.h
634 MALLOC_DEBUG_MAXZONES opt_vm.h
636 # The MemGuard replacement allocator used for tamper-after-free detection
637 DEBUG_MEMGUARD opt_vm.h
639 # The RedZone malloc(9) protection
640 DEBUG_REDZONE opt_vm.h
642 # Standard SMP options
643 EARLY_AP_STARTUP opt_global.h
647 # Size of the kernel message buffer
648 MSGBUF_SIZE opt_msgbuf.h
651 NFS_MINATTRTIMO opt_nfs.h
652 NFS_MAXATTRTIMO opt_nfs.h
653 NFS_MINDIRATTRTIMO opt_nfs.h
654 NFS_MAXDIRATTRTIMO opt_nfs.h
658 TMPFS_PAGES_MINRESERVED opt_tmpfs.h
660 # Options for uart(4)
661 UART_PPS_ON_CTS opt_uart.h
662 UART_POLL_FREQ opt_uart.h
663 UART_DEV_TOLERANCE_PCT opt_uart.h
665 # options for bus/device framework
668 # options for USB support
670 USB_HOST_ALIGN opt_usb.h
671 USB_REQ_DEBUG opt_usb.h
672 USB_TEMPLATE opt_usb.h
673 USB_VERBOSE opt_usb.h
674 USB_DMA_SINGLE_ALLOC opt_usb.h
675 USB_EHCI_BIG_ENDIAN_DESC opt_usb.h
677 UKBD_DFLT_KEYMAP opt_ukbd.h
678 UPLCOM_INTR_INTERVAL opt_uplcom.h
679 UVSCOM_DEFAULT_OPKTSIZE opt_uvscom.h
680 UVSCOM_INTR_INTERVAL opt_uvscom.h
682 # options for the Realtek rtwn driver
683 RTWN_DEBUG opt_rtwn.h
684 RTWN_WITHOUT_UCODE opt_rtwn.h
686 # Embedded system options
692 PCFCLOCK_VERBOSE opt_pcfclock.h
693 PCFCLOCK_MAX_RETRIES opt_pcfclock.h
698 KTR_CPUMASK opt_ktr.h
699 KTR_COMPILE opt_global.h
700 KTR_BOOT_ENTRIES opt_global.h
701 KTR_ENTRIES opt_global.h
702 KTR_VERBOSE opt_ktr.h
704 WITNESS_KDB opt_witness.h
705 WITNESS_NO_VNODE opt_witness.h
706 WITNESS_SKIPSPIN opt_witness.h
707 WITNESS_COUNT opt_witness.h
708 OPENSOLARIS_WITNESS opt_global.h
710 EPOCH_TRACE opt_global.h
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
717 ACPI_EARLY_EPYC_WAR opt_acpi.h
719 # options for IOMMU support
726 # various 'device presence' options.
729 DEV_NETMAP opt_global.h
734 DEV_SPLASH opt_splash.h
739 BCE_NVRAM_WRITE_SUPPORT opt_bce.h
741 SOCKBUF_DEBUG opt_global.h
744 # options for hifn driver
745 HIFN_DEBUG opt_hifn.h
746 HIFN_RNDTEST opt_hifn.h
748 # options for safenet driver
749 SAFE_DEBUG opt_safe.h
750 SAFE_NO_RNG opt_safe.h
751 SAFE_RNDTEST opt_safe.h
754 MAXCONS opt_syscons.h
755 SC_ALT_MOUSE_IMAGE opt_syscons.h
756 SC_CUT_SPACES2TABS opt_syscons.h
757 SC_CUT_SEPCHARS opt_syscons.h
758 SC_DEBUG_LEVEL opt_syscons.h
759 SC_DFLT_FONT opt_syscons.h
760 SC_DFLT_TERM opt_syscons.h
761 SC_DISABLE_KDBKEY opt_syscons.h
762 SC_DISABLE_REBOOT opt_syscons.h
763 SC_HISTORY_SIZE opt_syscons.h
764 SC_KERNEL_CONS_ATTR opt_syscons.h
765 SC_KERNEL_CONS_ATTRS opt_syscons.h
766 SC_KERNEL_CONS_REV_ATTR opt_syscons.h
767 SC_MOUSE_CHAR opt_syscons.h
768 SC_NO_CUTPASTE opt_syscons.h
769 SC_NO_FONT_LOADING opt_syscons.h
770 SC_NO_HISTORY opt_syscons.h
771 SC_NO_MODE_CHANGE opt_syscons.h
772 SC_NO_SUSPEND_VTYSWITCH opt_syscons.h
773 SC_NO_SYSMOUSE opt_syscons.h
774 SC_NO_TERM_DUMB opt_syscons.h
775 SC_NO_TERM_SC opt_syscons.h
776 SC_NO_TERM_TEKEN opt_syscons.h
777 SC_NORM_ATTR opt_syscons.h
778 SC_NORM_REV_ATTR opt_syscons.h
779 SC_PIXEL_MODE opt_syscons.h
780 SC_RENDER_DEBUG opt_syscons.h
781 SC_TWOBUTTON_MOUSE opt_syscons.h
782 VT_ALT_TO_ESC_HACK opt_syscons.h
783 VT_FB_MAX_WIDTH opt_syscons.h
784 VT_FB_MAX_HEIGHT opt_syscons.h
785 VT_MAXWINDOWS opt_syscons.h
786 VT_TWOBUTTON_MOUSE opt_syscons.h
790 # teken terminal emulator options
791 TEKEN_CONS25 opt_teken.h
792 TEKEN_UTF8 opt_teken.h
793 TERMINAL_KERN_ATTR opt_teken.h
794 TERMINAL_NORM_ATTR opt_teken.h
797 PRINTF_BUFR_SIZE opt_printf.h
798 BOOT_TAG opt_printf.h
799 BOOT_TAG_SZ opt_printf.h
802 KBD_DISABLE_KEYMAP_LOAD opt_kbd.h
803 KBD_INSTALL_CDEV opt_kbd.h
804 KBD_MAXRETRY opt_kbd.h
805 KBD_MAXWAIT opt_kbd.h
806 KBD_RESETDELAY opt_kbd.h
807 KBDIO_DEBUG opt_kbd.h
809 KBDMUX_DFLT_KEYMAP opt_kbdmux.h
811 # options for the Atheros driver
815 ATH_DIAGAPI opt_ath.h
816 ATH_TX99_DIAG opt_ath.h
817 ATH_ENABLE_11N opt_ath.h
818 ATH_ENABLE_DFS opt_ath.h
819 ATH_EEPROM_FIRMWARE opt_ath.h
820 ATH_ENABLE_RADIOTAP_VENDOR_EXT opt_ath.h
821 ATH_DEBUG_ALQ opt_ath.h
822 ATH_KTR_INTR_DEBUG opt_ath.h
824 # options for the Atheros hal
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
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
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
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
852 # options for the Altera mSGDMA driver (altera_msgdma)
853 ALTERA_MSGDMA_DESC_STD opt_altera_msgdma.h
854 ALTERA_MSGDMA_DESC_EXT opt_altera_msgdma.h
855 ALTERA_MSGDMA_DESC_PF_STD opt_altera_msgdma.h
856 ALTERA_MSGDMA_DESC_PF_EXT opt_altera_msgdma.h
858 # options for the Broadcom BCM43xx driver (bwi)
860 BWI_DEBUG_VERBOSE opt_bwi.h
862 # options for the Brodacom BCM43xx driver (bwn)
864 BWN_GPL_PHY opt_bwn.h
865 BWN_USE_SIBA opt_bwn.h
867 # Options for the SIBA driver
868 SIBA_DEBUG opt_siba.h
870 # options for the Marvell 8335 wireless driver
871 MALO_DEBUG opt_malo.h
872 MALO_TXBUF opt_malo.h
873 MALO_RXBUF opt_malo.h
875 # options for the Marvell wireless driver
879 MWL_DIAGAPI opt_mwl.h
880 MWL_AGGR_SIZE opt_mwl.h
881 MWL_TX_NODROP opt_mwl.h
883 # Options for the Marvell NETA driver
884 MVNETA_MULTIQUEUE opt_mvneta.h
885 MVNETA_KTR opt_mvneta.h
887 # Options for the Intel 802.11ac wireless driver
890 # Options for the Intel 802.11n wireless driver
893 # Options for the Intel 3945ABG wireless driver
897 DCONS_BUF_SIZE opt_dcons.h
898 DCONS_POLL_HZ opt_dcons.h
899 DCONS_FORCE_CONSOLE opt_dcons.h
900 DCONS_FORCE_GDB opt_dcons.h
903 HWPMC_DEBUG opt_global.h
905 HWPMC_MIPS_BACKTRACE opt_hwpmc_hooks.h
907 # 802.11 support layer
908 IEEE80211_DEBUG opt_wlan.h
909 IEEE80211_DEBUG_REFCNT opt_wlan.h
910 IEEE80211_SUPPORT_MESH opt_wlan.h
911 IEEE80211_SUPPORT_SUPERG opt_wlan.h
912 IEEE80211_SUPPORT_TDMA opt_wlan.h
913 IEEE80211_ALQ opt_wlan.h
914 IEEE80211_DFS_DEBUG opt_wlan.h
916 # 802.11 TDMA support
917 TDMA_SLOTLEN_DEFAULT opt_tdma.h
918 TDMA_SLOTCNT_DEFAULT opt_tdma.h
919 TDMA_BINTVAL_DEFAULT opt_tdma.h
920 TDMA_TXRATE_11B_DEFAULT opt_tdma.h
921 TDMA_TXRATE_11G_DEFAULT opt_tdma.h
922 TDMA_TXRATE_11A_DEFAULT opt_tdma.h
923 TDMA_TXRATE_TURBO_DEFAULT opt_tdma.h
924 TDMA_TXRATE_HALF_DEFAULT opt_tdma.h
925 TDMA_TXRATE_QUARTER_DEFAULT opt_tdma.h
926 TDMA_TXRATE_11NA_DEFAULT opt_tdma.h
927 TDMA_TXRATE_11NG_DEFAULT opt_tdma.h
930 PICKMODE_DEBUG opt_videomode.h
932 # Network stack virtualization options
934 VNET_DEBUG opt_global.h
936 # Common Flash Interface (CFI) options
937 CFI_SUPPORT_STRATAFLASH opt_cfi.h
938 CFI_ARMEDANDDANGEROUS opt_cfi.h
939 CFI_HARDWAREBYTESWAP opt_cfi.h
943 SND_DIAGNOSTIC opt_snd.h
944 SND_FEEDER_MULTIFORMAT opt_snd.h
945 SND_FEEDER_FULL_MULTIFORMAT opt_snd.h
946 SND_FEEDER_RATE_HP opt_snd.h
948 SND_OLDSTEREO opt_snd.h
952 # Flattened device tree options
954 FDT_DTB_STATIC opt_platform.h
956 # OFED Infiniband stack
958 OFED_DEBUG_INIT opt_ofed.h
962 IPOIB_DEBUG opt_ofed.h
965 # Resource Accounting
967 RACCT_DEFAULT_TO_DISABLED opt_global.h
972 # Random number generator(s)
973 # Alternative RNG algorithm.
974 RANDOM_FENESTRASX opt_global.h
975 # With this, no entropy processor is loaded, but the entropy
976 # harvesting infrastructure is present. This means an entropy
977 # processor may be loaded as a module.
978 RANDOM_LOADABLE opt_global.h
979 # This turns on high-rate and potentially expensive harvesting in
980 # the uma slab allocator.
981 RANDOM_ENABLE_UMA opt_global.h
982 RANDOM_ENABLE_ETHER opt_global.h
984 # This options turns TPM into entropy source.
985 TPM_HARVEST opt_tpm.h
988 BHND_LOGLEVEL opt_global.h
990 # GPIO and child devices
991 GPIO_SPI_DEBUG opt_gpio.h
994 SPIGEN_LEGACY_CDEVNAME opt_spi.h
996 # etherswitch(4) driver
997 RTL8366_SOFT_RESET opt_etherswitch.h
999 # evdev protocol support
1000 EVDEV_SUPPORT opt_evdev.h
1001 EVDEV_DEBUG opt_evdev.h
1002 UINPUT_DEBUG opt_evdev.h
1004 # Hyper-V network driver
1007 # CAM-based MMC stack
1009 # Encrypted kernel crash dumps
1013 NVME_USE_NVD opt_nvme.h
1014 NVME_2X_RESET opt_nvme.h
1017 AMDSBWD_DEBUG opt_amdsbwd.h
1023 # options for HID support
1025 IICHID_DEBUG opt_hid.h
1026 IICHID_SAMPLING opt_hid.h
1027 HKBD_DFLT_KEYMAP opt_hkbd.h
1028 HIDRAW_MAKE_UHID_ALIAS opt_hid.h
1031 # The early kernel environment (loader environment, config(8)-provided static)
1032 # is typically cleared after the dynamic environment comes up to ensure that
1033 # we're not inadvertently holding on to 'secret' values in these stale envs.
1034 # This option is insecure except in controlled environments where the static
1035 # environment's contents are known to be safe.
1036 PRESERVE_EARLY_KENV opt_global.h