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
45 ADW_ALLOW_MEMIO opt_adw.h
50 ALT_BREAK_TO_DEBUGGER opt_kdb.h
51 BREAK_TO_DEBUGGER opt_kdb.h
52 BUF_TRACKING opt_global.h
54 DDB_BUFR_SIZE opt_ddb.h
55 DDB_CAPTURE_DEFAULTBUFSIZE opt_ddb.h
56 DDB_CAPTURE_MAXBUFSIZE opt_ddb.h
59 FULL_BUF_TRACKING opt_global.h
63 KDB_UNATTENDED opt_kdb.h
65 SYSCTL_DEBUG opt_sysctl.h
66 EARLY_PRINTF opt_global.h
67 TEXTDUMP_PREFERRED opt_ddb.h
68 TEXTDUMP_VERBOSE opt_ddb.h
69 NUM_CORE_FILES opt_global.h
71 TSLOGSIZE opt_global.h
73 # Miscellaneous options.
75 ALTERA_SDCARD_FAST_SIM opt_altera_sdcard.h
76 ATSE_CFI_HACK opt_cfi.h
78 BOOTHOWTO opt_global.h
79 BOOTVERBOSE opt_global.h
81 CAPABILITIES opt_capsicum.h
82 CAPABILITY_MODE opt_capsicum.h
83 COMPAT_43 opt_global.h
84 COMPAT_43TTY opt_global.h
85 COMPAT_FREEBSD4 opt_global.h
86 COMPAT_FREEBSD5 opt_global.h
87 COMPAT_FREEBSD6 opt_global.h
88 COMPAT_FREEBSD7 opt_global.h
89 COMPAT_FREEBSD9 opt_global.h
90 COMPAT_FREEBSD10 opt_global.h
91 COMPAT_FREEBSD11 opt_global.h
92 COMPAT_CLOUDABI32 opt_dontuse.h
93 COMPAT_CLOUDABI64 opt_dontuse.h
94 COMPAT_LINUXKPI opt_dontuse.h
95 _COMPAT_LINUX32 opt_compat.h # XXX: make sure opt_compat.h exists
96 COMPILING_LINT opt_global.h
98 DEADLKRES opt_watchdog.h
99 EXT_RESOURCES opt_global.h
101 FILEMON opt_dontuse.h
103 FULL_PREEMPTION opt_sched.h
105 IMAGACT_BINMISC opt_dontuse.h
106 IPI_PREEMPTION opt_sched.h
109 GEOM_CACHE opt_geom.h
110 GEOM_CONCAT opt_geom.h
114 GEOM_JOURNAL opt_geom.h
115 GEOM_LABEL opt_geom.h
116 GEOM_LABEL_GPT opt_geom.h
117 GEOM_LINUX_LVM opt_geom.h
120 GEOM_MIRROR opt_geom.h
121 GEOM_MOUNTVER opt_geom.h
122 GEOM_MULTIPATH opt_geom.h
124 GEOM_PART_APM opt_geom.h
125 GEOM_PART_BSD opt_geom.h
126 GEOM_PART_BSD64 opt_geom.h
127 GEOM_PART_EBR opt_geom.h
128 GEOM_PART_EBR_COMPAT opt_geom.h
129 GEOM_PART_GPT opt_geom.h
130 GEOM_PART_LDM opt_geom.h
131 GEOM_PART_MBR opt_geom.h
132 GEOM_PART_VTOC8 opt_geom.h
134 GEOM_RAID3 opt_geom.h
135 GEOM_SHSEC opt_geom.h
136 GEOM_STRIPE opt_geom.h
137 GEOM_SUNLABEL opt_geom.h
139 GEOM_UZIP_DEBUG opt_geom.h
140 GEOM_VINUM opt_geom.h
141 GEOM_VIRSTOR opt_geom.h
145 KDTRACE_HOOKS opt_global.h
146 KDTRACE_FRAME opt_kdtrace.h
147 KN_HASHSIZE opt_kqueue.h
152 KTRACE_REQUEST_POOL opt_ktrace.h
155 MAC_BIBA opt_dontuse.h
156 MAC_BSDEXTENDED opt_dontuse.h
157 MAC_IFOFF opt_dontuse.h
158 MAC_LOMAC opt_dontuse.h
159 MAC_MLS opt_dontuse.h
160 MAC_NONE opt_dontuse.h
161 MAC_NTPD opt_dontuse.h
162 MAC_PARTITION opt_dontuse.h
163 MAC_PORTACL opt_dontuse.h
164 MAC_SEEOTHERUIDS opt_dontuse.h
166 MAC_STUB opt_dontuse.h
167 MAC_TEST opt_dontuse.h
168 MAC_VERIEXEC opt_dontuse.h
169 MAC_VERIEXEC_SHA1 opt_dontuse.h
170 MAC_VERIEXEC_SHA256 opt_dontuse.h
171 MAC_VERIEXEC_SHA384 opt_dontuse.h
172 MAC_VERIEXEC_SHA512 opt_dontuse.h
174 MD_ROOT_FSTYPE opt_md.h
175 MD_ROOT_READONLY opt_md.h
176 MD_ROOT_SIZE opt_md.h
179 MFI_DECODE_LOG opt_mfi.h
180 MPROF_BUFFERS opt_mprof.h
181 MPROF_HASH_SIZE opt_mprof.h
182 NEW_PCIB opt_global.h
183 NO_ADAPTIVE_MUTEXES opt_adaptive_mutexes.h
186 NO_EVENTTIMERS opt_timer.h
187 NO_OBSOLETE_CODE opt_global.h
188 NO_SYSCTL_DESCR opt_global.h
189 NSWBUF_MIN opt_swap.h
190 MBUF_PACKET_ZONE_DISABLE opt_global.h
191 PANIC_REBOOT_WAIT_TIME opt_panic.h
195 PPC_PROBE_CHIPSET opt_ppc.h
197 PREEMPTION opt_sched.h
199 SCHED_4BSD opt_sched.h
200 SCHED_STATS opt_sched.h
201 SCHED_ULE opt_sched.h
203 SLHCI_DEBUG opt_slhci.h
220 SHMMAXPGS opt_sysvipc.h
224 SYSVMSG opt_sysvipc.h
225 SYSVSEM opt_sysvipc.h
226 SYSVSHM opt_sysvipc.h
227 SW_WATCHDOG opt_watchdog.h
231 UMTX_CHAINS opt_global.h
235 # POSIX kernel options
236 P1003_1B_MQUEUE opt_posix.h
237 P1003_1B_SEMAPHORES opt_posix.h
238 _KPOSIX_PRIORITY_SCHEDULING opt_posix.h
240 # Do we want the config file compiled into the kernel?
241 INCLUDE_CONFIG_FILE opt_config.h
243 # Options for static filesystems. These should only be used at config
244 # time, since the corresponding lkms cannot work if there are any static
245 # dependencies. Unusability is enforced by hiding the defines for the
246 # options in a never-included header.
250 FDESCFS opt_dontuse.h
253 MSDOSFS opt_dontuse.h
257 PSEUDOFS opt_dontuse.h
261 UNIONFS opt_dontuse.h
265 PSEUDOFS_TRACE opt_pseudofs.h
268 KGSSAPI opt_kgssapi.h
269 KGSSAPI_DEBUG opt_kgssapi.h
271 # These static filesystems have one slightly bogus static dependency in
272 # sys/i386/i386/autoconf.c. If any of these filesystems are
273 # statically compiled into the kernel, code for mounting them as root
274 # filesystems will be enabled - but look below.
280 # filesystems and libiconv bridge
281 CD9660_ICONV opt_dontuse.h
282 MSDOSFS_ICONV opt_dontuse.h
283 UDF_ICONV opt_dontuse.h
285 # If you are following the conditions in the copyright,
286 # you can enable soft-updates which will speed up a lot of thigs
287 # and make the system safer from crashes at the same time.
288 # otherwise a STUB module will be compiled in.
289 SOFTUPDATES opt_ffs.h
291 # On small, embedded systems, it can be useful to turn off support for
292 # snapshots. It saves about 30-40k for a feature that would be lightly
293 # used, if it is used at all.
294 NO_FFS_SNAPSHOT opt_ffs.h
296 # Enabling this option turns on support for Access Control Lists in UFS,
297 # which can be used to support high security configurations. Depends on
301 # Enabling this option turns on support for extended attributes in UFS-based
302 # filesystems, which can be used to support high security configurations
303 # as well as new filesystem features.
304 UFS_EXTATTR opt_ufs.h
305 UFS_EXTATTR_AUTOSTART opt_ufs.h
307 # Enable fast hash lookups for large directories on UFS-based filesystems.
308 UFS_DIRHASH opt_ufs.h
310 # Enable gjournal-based UFS journal.
311 UFS_GJOURNAL opt_ufs.h
313 # The below sentence is not in English, and neither is this one.
314 # We plan to remove the static dependences above, with a
315 # <filesystem>_ROOT option to control if it usable as root. This list
316 # allows these options to be present in config files already (though
317 # they won't make any difference yet).
318 NFS_ROOT opt_nfsroot.h
323 # Enable netdump(4) client support.
326 # Options used only in subr_param.c.
331 VM_BCACHE_SIZE_MAX opt_param.h
332 VM_SWZONE_SIZE_MAX opt_param.h
338 # Generic SCSI options.
339 CAM_MAX_HIGHPOWER opt_cam.h
341 CAM_DEBUG_COMPILE opt_cam.h
342 CAM_DEBUG_DELAY opt_cam.h
343 CAM_DEBUG_BUS opt_cam.h
344 CAM_DEBUG_TARGET opt_cam.h
345 CAM_DEBUG_LUN opt_cam.h
346 CAM_DEBUG_FLAGS opt_cam.h
347 CAM_BOOT_DELAY opt_cam.h
348 CAM_IOSCHED_DYNAMIC opt_cam.h
349 CAM_TEST_FAILURE opt_cam.h
350 SCSI_DELAY opt_scsi.h
351 SCSI_NO_SENSE_STRINGS opt_scsi.h
352 SCSI_NO_OP_STRINGS opt_scsi.h
354 # Options used only in cam/ata/ata_da.c
355 ATA_STATIC_ID opt_ada.h
357 # Options used only in cam/scsi/scsi_cd.c
358 CHANGER_MIN_BUSY_SECONDS opt_cd.h
359 CHANGER_MAX_BUSY_SECONDS opt_cd.h
361 # Options used only in cam/scsi/scsi_da.c
362 DA_TRACK_REFS opt_da.h
364 # Options used only in cam/scsi/scsi_sa.c.
365 SA_IO_TIMEOUT opt_sa.h
366 SA_SPACE_TIMEOUT opt_sa.h
367 SA_REWIND_TIMEOUT opt_sa.h
368 SA_ERASE_TIMEOUT opt_sa.h
369 SA_1FM_AT_EOD opt_sa.h
371 # Options used only in cam/scsi/scsi_pt.c
372 SCSI_PT_DEFAULT_TIMEOUT opt_pt.h
374 # Options used only in cam/scsi/scsi_ses.c
375 SES_ENABLE_PASSTHROUGH opt_ses.h
377 # Options used in dev/sym/ (Symbios SCSI driver).
378 SYM_SETUP_LP_PROBE_MAP opt_sym.h #-Low Priority Probe Map (bits)
379 # Allows the ncr to take precedence
380 # 1 (1<<0) -> 810a, 860
381 # 2 (1<<1) -> 825a, 875, 885, 895
382 # 4 (1<<2) -> 895a, 896, 1510d
383 SYM_SETUP_SCSI_DIFF opt_sym.h #-HVD support for 825a, 875, 885
384 # disabled:0 (default), enabled:1
385 SYM_SETUP_PCI_PARITY opt_sym.h #-PCI parity checking
386 # disabled:0, enabled:1 (default)
387 SYM_SETUP_MAX_LUN opt_sym.h #-Number of LUNs supported
388 # default:8, range:[1..64]
390 # Options used only in dev/ncr/*
391 SCSI_NCR_DEBUG opt_ncr.h
392 SCSI_NCR_MAX_SYNC opt_ncr.h
393 SCSI_NCR_MAX_WIDE opt_ncr.h
394 SCSI_NCR_MYADDR opt_ncr.h
396 # Options used only in dev/isp/*
397 ISP_TARGET_MODE opt_isp.h
398 ISP_FW_CRASH_DUMP opt_isp.h
399 ISP_DEFAULT_ROLES opt_isp.h
400 ISP_INTERNAL_TARGET opt_isp.h
401 ISP_FCTAPE_OFF opt_isp.h
403 # Options used only in dev/iscsi
404 ISCSI_INITIATOR_DEBUG opt_iscsi_initiator.h
413 ALTQ_CODEL opt_altq.h
414 ALTQ_DEBUG opt_altq.h
416 ALTQ_FAIRQ opt_altq.h
417 ALTQ_NOPCC opt_altq.h
422 BOOTP_BLOCKSIZE opt_bootp.h
423 BOOTP_COMPAT opt_bootp.h
424 BOOTP_NFSROOT opt_bootp.h
425 BOOTP_NFSV3 opt_bootp.h
426 BOOTP_WIRED_TO opt_bootp.h
429 RATELIMIT opt_ratelimit.h
430 RATELIMIT_DEBUG opt_ratelimit.h
434 IPFILTER opt_ipfilter.h
435 IPFILTER_DEFAULT_BLOCK opt_ipfilter.h
436 IPFILTER_LOG opt_ipfilter.h
437 IPFILTER_LOOKUP opt_ipfilter.h
438 IPFIREWALL opt_ipfw.h
439 IPFIREWALL_DEFAULT_TO_ACCEPT opt_ipfw.h
440 IPFIREWALL_NAT opt_ipfw.h
441 IPFIREWALL_NAT64 opt_ipfw.h
442 IPFIREWALL_NAT64_DIRECT_OUTPUT opt_ipfw.h
443 IPFIREWALL_NPTV6 opt_ipfw.h
444 IPFIREWALL_VERBOSE opt_ipfw.h
445 IPFIREWALL_VERBOSE_LIMIT opt_ipfw.h
446 IPFIREWALL_PMOD opt_ipfw.h
448 IPSEC_DEBUG opt_ipsec.h
449 IPSEC_SUPPORT opt_ipsec.h
456 MROUTING opt_mrouting.h
458 PCBGROUP opt_pcbgroup.h
459 PF_DEFAULT_TO_DROP opt_pf.h
460 RADIX_MPATH opt_mpath.h
461 ROUTETABLES opt_route.h
463 SLIP_IFF_OPTS opt_slip.h
467 TCP_BLACKBOX opt_global.h
469 TCP_OFFLOAD opt_inet.h # Enable code to dispatch TCP offloading
470 TCP_RFC7413 opt_inet.h
471 TCP_RFC7413_MAX_KEYS opt_inet.h
472 TCP_RFC7413_MAX_PSKS opt_inet.h
473 TCP_SIGNATURE opt_ipsec.h
474 VLAN_ARRAY opt_vlan.h
481 SCTP_DEBUG opt_sctp.h # Enable debug printfs
482 SCTP_LOCK_LOGGING opt_sctp.h # Log to KTR lock activity
483 SCTP_MBUF_LOGGING opt_sctp.h # Log to KTR general mbuf aloc/free
484 SCTP_MBCNT_LOGGING opt_sctp.h # Log to KTR mbcnt activity
485 SCTP_PACKET_LOGGING opt_sctp.h # Log to a packet buffer last N packets
486 SCTP_LTRACE_CHUNKS opt_sctp.h # Log to KTR chunks processed
487 SCTP_LTRACE_ERRORS opt_sctp.h # Log to KTR error returns.
488 SCTP_USE_PERCPU_STAT opt_sctp.h # Use per cpu stats.
489 SCTP_MCORE_INPUT opt_sctp.h # Have multiple input threads for input mbufs
490 SCTP_LOCAL_TRACE_BUF opt_sctp.h # Use tracebuffer exported via sysctl
491 SCTP_DETAILED_STR_STATS opt_sctp.h # Use per PR-SCTP policy stream stats
496 # Netgraph(4). Use option NETGRAPH to enable the base netgraph code.
497 # Each netgraph node type can be either be compiled into the kernel
498 # or loaded dynamically. To get the former, include the corresponding
499 # option below. Each type has its own man page, e.g. ng_async(4).
501 NETGRAPH_DEBUG opt_netgraph.h
502 NETGRAPH_ASYNC opt_netgraph.h
503 NETGRAPH_ATMLLC opt_netgraph.h
504 NETGRAPH_ATM_ATMPIF opt_netgraph.h
505 NETGRAPH_BLUETOOTH opt_netgraph.h
506 NETGRAPH_BLUETOOTH_BT3C opt_netgraph.h
507 NETGRAPH_BLUETOOTH_H4 opt_netgraph.h
508 NETGRAPH_BLUETOOTH_HCI opt_netgraph.h
509 NETGRAPH_BLUETOOTH_L2CAP opt_netgraph.h
510 NETGRAPH_BLUETOOTH_SOCKET opt_netgraph.h
511 NETGRAPH_BLUETOOTH_UBT opt_netgraph.h
512 NETGRAPH_BLUETOOTH_UBTBCMFW opt_netgraph.h
513 NETGRAPH_BPF opt_netgraph.h
514 NETGRAPH_BRIDGE opt_netgraph.h
515 NETGRAPH_CAR opt_netgraph.h
516 NETGRAPH_CISCO opt_netgraph.h
517 NETGRAPH_DEFLATE opt_netgraph.h
518 NETGRAPH_DEVICE opt_netgraph.h
519 NETGRAPH_ECHO opt_netgraph.h
520 NETGRAPH_EIFACE opt_netgraph.h
521 NETGRAPH_ETHER opt_netgraph.h
522 NETGRAPH_ETHER_ECHO opt_netgraph.h
523 NETGRAPH_FEC opt_netgraph.h
524 NETGRAPH_FRAME_RELAY opt_netgraph.h
525 NETGRAPH_GIF opt_netgraph.h
526 NETGRAPH_GIF_DEMUX opt_netgraph.h
527 NETGRAPH_HOLE opt_netgraph.h
528 NETGRAPH_IFACE opt_netgraph.h
529 NETGRAPH_IP_INPUT opt_netgraph.h
530 NETGRAPH_IPFW opt_netgraph.h
531 NETGRAPH_KSOCKET opt_netgraph.h
532 NETGRAPH_L2TP opt_netgraph.h
533 NETGRAPH_LMI opt_netgraph.h
534 NETGRAPH_MPPC_COMPRESSION opt_netgraph.h
535 NETGRAPH_MPPC_ENCRYPTION opt_netgraph.h
536 NETGRAPH_NAT opt_netgraph.h
537 NETGRAPH_NETFLOW opt_netgraph.h
538 NETGRAPH_ONE2MANY opt_netgraph.h
539 NETGRAPH_PATCH opt_netgraph.h
540 NETGRAPH_PIPE opt_netgraph.h
541 NETGRAPH_PPP opt_netgraph.h
542 NETGRAPH_PPPOE opt_netgraph.h
543 NETGRAPH_PPTPGRE opt_netgraph.h
544 NETGRAPH_PRED1 opt_netgraph.h
545 NETGRAPH_RFC1490 opt_netgraph.h
546 NETGRAPH_SOCKET opt_netgraph.h
547 NETGRAPH_SPLIT opt_netgraph.h
548 NETGRAPH_SPPP opt_netgraph.h
549 NETGRAPH_TAG opt_netgraph.h
550 NETGRAPH_TCPMSS opt_netgraph.h
551 NETGRAPH_TEE opt_netgraph.h
552 NETGRAPH_TTY opt_netgraph.h
553 NETGRAPH_UI opt_netgraph.h
554 NETGRAPH_VJC opt_netgraph.h
555 NETGRAPH_VLAN opt_netgraph.h
558 NGATM_ATM opt_netgraph.h
559 NGATM_ATMBASE opt_netgraph.h
560 NGATM_SSCOP opt_netgraph.h
561 NGATM_SSCFU opt_netgraph.h
562 NGATM_UNI opt_netgraph.h
563 NGATM_CCATM opt_netgraph.h
568 TI_SF_BUF_JUMBO opt_ti.h
569 TI_JUMBO_HDRSPLIT opt_ti.h
571 # DPT driver debug flags
572 DPT_MEASURE_PERFORMANCE opt_dpt.h
573 DPT_RESET_HBA opt_dpt.h
575 # Misc debug flags. Most of these should probably be replaced with
576 # 'DEBUG', and then let people recompile just the interesting modules
577 # with 'make CC="cc -DDEBUG"'.
578 CLUSTERDEBUG opt_debug_cluster.h
579 DEBUG_1284 opt_ppb_1284.h
582 PLIP_DEBUG opt_plip.h
583 LOCKF_DEBUG opt_debug_lockf.h
584 SI_DEBUG opt_debug_si.h
585 IFMEDIA_DEBUG opt_ifmedia.h
589 FB_INSTALL_CDEV opt_fb.h
591 # ppbus related options
592 PERIPH_1284 opt_ppb_1284.h
593 DONTPROBE_1284 opt_ppb_1284.h
595 # smbus related options
596 ENABLE_ALART opt_intpm.h
598 # These cause changes all over the kernel
599 BLKDEV_IOSIZE opt_global.h
600 BURN_BRIDGES opt_global.h
602 DEBUG_LOCKS opt_global.h
603 DEBUG_VFS_LOCKS opt_global.h
604 DFLTPHYS opt_global.h
605 DIAGNOSTIC opt_global.h
606 INVARIANT_SUPPORT opt_global.h
607 INVARIANTS opt_global.h
609 MAXMEMDOM opt_global.h
611 MCLSHIFT opt_global.h
612 MUTEX_NOINLINE opt_global.h
613 LOCK_PROFILING opt_global.h
614 LOCK_PROFILING_FAST opt_global.h
616 REGRESSION opt_global.h
617 RWLOCK_NOINLINE opt_global.h
618 SX_NOINLINE opt_global.h
619 VFS_BIO_DEBUG opt_global.h
621 # These are VM related options
622 VM_KMEM_SIZE opt_vm.h
623 VM_KMEM_SIZE_SCALE opt_vm.h
624 VM_KMEM_SIZE_MAX opt_vm.h
625 VM_NRESERVLEVEL opt_vm.h
626 VM_LEVEL_0_ORDER opt_vm.h
628 MALLOC_MAKE_FAILURES opt_vm.h
629 MALLOC_PROFILE opt_vm.h
630 MALLOC_DEBUG_MAXZONES opt_vm.h
632 # The MemGuard replacement allocator used for tamper-after-free detection
633 DEBUG_MEMGUARD opt_vm.h
635 # The RedZone malloc(9) protection
636 DEBUG_REDZONE opt_vm.h
638 # Standard SMP options
639 EARLY_AP_STARTUP opt_global.h
643 # Size of the kernel message buffer
644 MSGBUF_SIZE opt_msgbuf.h
647 NFS_MINATTRTIMO opt_nfs.h
648 NFS_MAXATTRTIMO opt_nfs.h
649 NFS_MINDIRATTRTIMO opt_nfs.h
650 NFS_MAXDIRATTRTIMO opt_nfs.h
653 # For the Bt848/Bt848A/Bt849/Bt878/Bt879 driver
654 OVERRIDE_CARD opt_bktr.h
655 OVERRIDE_TUNER opt_bktr.h
656 OVERRIDE_DBX opt_bktr.h
657 OVERRIDE_MSP opt_bktr.h
658 BROOKTREE_SYSTEM_DEFAULT opt_bktr.h
659 BROOKTREE_ALLOC_PAGES opt_bktr.h
660 BKTR_OVERRIDE_CARD opt_bktr.h
661 BKTR_OVERRIDE_TUNER opt_bktr.h
662 BKTR_OVERRIDE_DBX opt_bktr.h
663 BKTR_OVERRIDE_MSP opt_bktr.h
664 BKTR_SYSTEM_DEFAULT opt_bktr.h
665 BKTR_ALLOC_PAGES opt_bktr.h
666 BKTR_USE_PLL opt_bktr.h
667 BKTR_GPIO_ACCESS opt_bktr.h
668 BKTR_NO_MSP_RESET opt_bktr.h
669 BKTR_430_FX_MODE opt_bktr.h
670 BKTR_SIS_VIA_MODE opt_bktr.h
671 BKTR_USE_FREEBSD_SMBUS opt_bktr.h
672 BKTR_NEW_MSP34XX_DRIVER opt_bktr.h
674 # Options for uart(4)
675 UART_PPS_ON_CTS opt_uart.h
676 UART_POLL_FREQ opt_uart.h
677 UART_DEV_TOLERANCE_PCT opt_uart.h
679 # options for bus/device framework
682 # options for USB support
684 USB_HOST_ALIGN opt_usb.h
685 USB_REQ_DEBUG opt_usb.h
686 USB_TEMPLATE opt_usb.h
687 USB_VERBOSE opt_usb.h
688 USB_DMA_SINGLE_ALLOC opt_usb.h
689 USB_EHCI_BIG_ENDIAN_DESC opt_usb.h
691 UKBD_DFLT_KEYMAP opt_ukbd.h
692 UPLCOM_INTR_INTERVAL opt_uplcom.h
693 UVSCOM_DEFAULT_OPKTSIZE opt_uvscom.h
694 UVSCOM_INTR_INTERVAL opt_uvscom.h
696 # options for the Realtek rtwn driver
697 RTWN_DEBUG opt_rtwn.h
698 RTWN_WITHOUT_UCODE opt_rtwn.h
700 # Embedded system options
706 PCFCLOCK_VERBOSE opt_pcfclock.h
707 PCFCLOCK_MAX_RETRIES opt_pcfclock.h
712 KTR_CPUMASK opt_ktr.h
713 KTR_COMPILE opt_global.h
714 KTR_BOOT_ENTRIES opt_global.h
715 KTR_ENTRIES opt_global.h
716 KTR_VERBOSE opt_ktr.h
718 WITNESS_KDB opt_witness.h
719 WITNESS_NO_VNODE opt_witness.h
720 WITNESS_SKIPSPIN opt_witness.h
721 WITNESS_COUNT opt_witness.h
722 OPENSOLARIS_WITNESS opt_global.h
724 # options for ACPI support
725 ACPI_DEBUG opt_acpi.h
726 ACPI_MAX_TASKS opt_acpi.h
727 ACPI_MAX_THREADS opt_acpi.h
735 # various 'device presence' options.
738 DEV_NETMAP opt_global.h
743 DEV_RANDOM opt_global.h
744 DEV_SPLASH opt_splash.h
754 BCE_NVRAM_WRITE_SUPPORT opt_bce.h
756 SOCKBUF_DEBUG opt_global.h
759 # options for ubsec driver
760 UBSEC_DEBUG opt_ubsec.h
761 UBSEC_RNDTEST opt_ubsec.h
762 UBSEC_NO_RNG opt_ubsec.h
764 # options for hifn driver
765 HIFN_DEBUG opt_hifn.h
766 HIFN_RNDTEST opt_hifn.h
768 # options for safenet driver
769 SAFE_DEBUG opt_safe.h
770 SAFE_NO_RNG opt_safe.h
771 SAFE_RNDTEST opt_safe.h
774 MAXCONS opt_syscons.h
775 SC_ALT_MOUSE_IMAGE opt_syscons.h
776 SC_CUT_SPACES2TABS opt_syscons.h
777 SC_CUT_SEPCHARS opt_syscons.h
778 SC_DEBUG_LEVEL opt_syscons.h
779 SC_DFLT_FONT opt_syscons.h
780 SC_DISABLE_KDBKEY opt_syscons.h
781 SC_DISABLE_REBOOT opt_syscons.h
782 SC_HISTORY_SIZE opt_syscons.h
783 SC_KERNEL_CONS_ATTR opt_syscons.h
784 SC_KERNEL_CONS_ATTRS opt_syscons.h
785 SC_KERNEL_CONS_REV_ATTR opt_syscons.h
786 SC_MOUSE_CHAR opt_syscons.h
787 SC_NO_CUTPASTE opt_syscons.h
788 SC_NO_FONT_LOADING opt_syscons.h
789 SC_NO_HISTORY opt_syscons.h
790 SC_NO_MODE_CHANGE opt_syscons.h
791 SC_NO_SUSPEND_VTYSWITCH opt_syscons.h
792 SC_NO_SYSMOUSE opt_syscons.h
793 SC_NORM_ATTR opt_syscons.h
794 SC_NORM_REV_ATTR opt_syscons.h
795 SC_PIXEL_MODE opt_syscons.h
796 SC_RENDER_DEBUG opt_syscons.h
797 SC_TWOBUTTON_MOUSE opt_syscons.h
798 VT_ALT_TO_ESC_HACK opt_syscons.h
799 VT_FB_DEFAULT_WIDTH opt_syscons.h
800 VT_FB_DEFAULT_HEIGHT opt_syscons.h
801 VT_MAXWINDOWS opt_syscons.h
802 VT_TWOBUTTON_MOUSE opt_syscons.h
806 # teken terminal emulator options
807 TEKEN_CONS25 opt_teken.h
808 TEKEN_UTF8 opt_teken.h
809 TERMINAL_KERN_ATTR opt_teken.h
810 TERMINAL_NORM_ATTR opt_teken.h
813 PRINTF_BUFR_SIZE opt_printf.h
814 BOOT_TAG opt_printf.h
815 BOOT_TAG_SZ opt_printf.h
818 KBD_DISABLE_KEYMAP_LOAD opt_kbd.h
819 KBD_INSTALL_CDEV opt_kbd.h
820 KBD_MAXRETRY opt_kbd.h
821 KBD_MAXWAIT opt_kbd.h
822 KBD_RESETDELAY opt_kbd.h
823 KBDIO_DEBUG opt_kbd.h
825 KBDMUX_DFLT_KEYMAP opt_kbdmux.h
827 # options for the Atheros driver
831 ATH_DIAGAPI opt_ath.h
832 ATH_TX99_DIAG opt_ath.h
833 ATH_ENABLE_11N opt_ath.h
834 ATH_ENABLE_DFS opt_ath.h
835 ATH_EEPROM_FIRMWARE opt_ath.h
836 ATH_ENABLE_RADIOTAP_VENDOR_EXT opt_ath.h
837 ATH_DEBUG_ALQ opt_ath.h
838 ATH_KTR_INTR_DEBUG opt_ath.h
840 # options for the Atheros hal
841 AH_SUPPORT_AR5416 opt_ah.h
842 # XXX For now, this breaks non-AR9130 chipsets, so only use it
843 # XXX when actually targeting AR9130.
844 AH_SUPPORT_AR9130 opt_ah.h
846 # This is required for AR933x SoC support
847 AH_SUPPORT_AR9330 opt_ah.h
848 AH_SUPPORT_AR9340 opt_ah.h
849 AH_SUPPORT_QCA9530 opt_ah.h
850 AH_SUPPORT_QCA9550 opt_ah.h
854 AH_DEBUG_ALQ opt_ah.h
855 AH_REGOPS_FUNC opt_ah.h
856 AH_WRITE_REGDOMAIN opt_ah.h
857 AH_DEBUG_COUNTRY opt_ah.h
858 AH_WRITE_EEPROM opt_ah.h
859 AH_PRIVATE_DIAG opt_ah.h
860 AH_NEED_DESC_SWAP opt_ah.h
861 AH_USE_INIPDGAIN opt_ah.h
863 AH_RXCFG_SDMAMW_4BYTES opt_ah.h
864 AH_INTERRUPT_DEBUGGING opt_ah.h
865 # AR5416 and later interrupt mitigation
866 # XXX do not use this for AR9130
867 AH_AR5416_INTERRUPT_MITIGATION opt_ah.h
869 # options for the Broadcom BCM43xx driver (bwi)
871 BWI_DEBUG_VERBOSE opt_bwi.h
873 # options for the Brodacom BCM43xx driver (bwn)
875 BWN_GPL_PHY opt_bwn.h
876 BWN_USE_SIBA opt_bwn.h
878 # Options for the SIBA driver
879 SIBA_DEBUG opt_siba.h
881 # options for the Marvell 8335 wireless driver
882 MALO_DEBUG opt_malo.h
883 MALO_TXBUF opt_malo.h
884 MALO_RXBUF opt_malo.h
886 # options for the Marvell wireless driver
890 MWL_DIAGAPI opt_mwl.h
891 MWL_AGGR_SIZE opt_mwl.h
892 MWL_TX_NODROP opt_mwl.h
894 # Options for the Marvell NETA driver
895 MVNETA_MULTIQUEUE opt_mvneta.h
896 MVNETA_KTR opt_mvneta.h
898 # Options for the Intel 802.11ac wireless driver
901 # Options for the Intel 802.11n wireless driver
904 # Options for the Intel 3945ABG wireless driver
908 DCONS_BUF_SIZE opt_dcons.h
909 DCONS_POLL_HZ opt_dcons.h
910 DCONS_FORCE_CONSOLE opt_dcons.h
911 DCONS_FORCE_GDB opt_dcons.h
914 HWPMC_DEBUG opt_global.h
916 HWPMC_MIPS_BACKTRACE opt_hwpmc_hooks.h
918 # 802.11 support layer
919 IEEE80211_DEBUG opt_wlan.h
920 IEEE80211_DEBUG_REFCNT opt_wlan.h
921 IEEE80211_AMPDU_AGE opt_wlan.h
922 IEEE80211_SUPPORT_MESH opt_wlan.h
923 IEEE80211_SUPPORT_SUPERG opt_wlan.h
924 IEEE80211_SUPPORT_TDMA opt_wlan.h
925 IEEE80211_ALQ opt_wlan.h
926 IEEE80211_DFS_DEBUG opt_wlan.h
928 # 802.11 TDMA support
929 TDMA_SLOTLEN_DEFAULT opt_tdma.h
930 TDMA_SLOTCNT_DEFAULT opt_tdma.h
931 TDMA_BINTVAL_DEFAULT opt_tdma.h
932 TDMA_TXRATE_11B_DEFAULT opt_tdma.h
933 TDMA_TXRATE_11G_DEFAULT opt_tdma.h
934 TDMA_TXRATE_11A_DEFAULT opt_tdma.h
935 TDMA_TXRATE_TURBO_DEFAULT opt_tdma.h
936 TDMA_TXRATE_HALF_DEFAULT opt_tdma.h
937 TDMA_TXRATE_QUARTER_DEFAULT opt_tdma.h
938 TDMA_TXRATE_11NA_DEFAULT opt_tdma.h
939 TDMA_TXRATE_11NG_DEFAULT opt_tdma.h
942 PICKMODE_DEBUG opt_videomode.h
944 # Network stack virtualization options
946 VNET_DEBUG opt_global.h
948 # Common Flash Interface (CFI) options
949 CFI_SUPPORT_STRATAFLASH opt_cfi.h
950 CFI_ARMEDANDDANGEROUS opt_cfi.h
951 CFI_HARDWAREBYTESWAP opt_cfi.h
955 SND_DIAGNOSTIC opt_snd.h
956 SND_FEEDER_MULTIFORMAT opt_snd.h
957 SND_FEEDER_FULL_MULTIFORMAT opt_snd.h
958 SND_FEEDER_RATE_HP opt_snd.h
960 SND_OLDSTEREO opt_snd.h
964 # Flattened device tree options
966 FDT_DTB_STATIC opt_platform.h
968 # OFED Infiniband stack
970 OFED_DEBUG_INIT opt_ofed.h
974 IPOIB_DEBUG opt_ofed.h
977 # Resource Accounting
979 RACCT_DEFAULT_TO_DISABLED opt_global.h
984 # Random number generator(s)
985 # Which CSPRNG hash we get.
986 # If Yarrow is not chosen, Fortuna is selected.
987 RANDOM_YARROW opt_global.h
988 # With this, no entropy processor is loaded, but the entropy
989 # harvesting infrastructure is present. This means an entropy
990 # processor may be loaded as a module.
991 RANDOM_LOADABLE opt_global.h
992 # This turns on high-rate and potentially expensive harvesting in
993 # the uma slab allocator.
994 RANDOM_ENABLE_UMA opt_global.h
995 RANDOM_ENABLE_ETHER opt_global.h
998 BHND_LOGLEVEL opt_global.h
1000 # GPIO and child devices
1001 GPIO_SPI_DEBUG opt_gpio.h
1004 SPIGEN_LEGACY_CDEVNAME opt_spi.h
1006 # etherswitch(4) driver
1007 RTL8366_SOFT_RESET opt_etherswitch.h
1009 # evdev protocol support
1010 EVDEV_SUPPORT opt_evdev.h
1011 EVDEV_DEBUG opt_evdev.h
1012 UINPUT_DEBUG opt_evdev.h
1014 # Hyper-V network driver
1017 # CAM-based MMC stack
1019 # Encrypted kernel crash dumps
1023 NVME_USE_NVD opt_nvme.h
1026 AMDSBWD_DEBUG opt_amdsbwd.h