1 # $FreeBSD: src/sys/conf/options,v 1.191.2.53 2003/06/04 17:56:58 sam Exp $
3 # On the handling of kernel options
5 # All kernel options should be listed in LINT64, with suitable
6 # descriptions. Negative options (options that make some code not
7 # compile) should be commented out; LINT64 should compile as much code
8 # as possible. Try to structure option-using code so that a single
9 # option only switch code on, or only switch code off, to make it
10 # possible to have a full compile-test. If necessary, you can include
11 # "opt_lint.h" and check for COMPILING_LINT64 to get maximum code
14 # All new options shall also be listed in either "conf/options" or
15 # "platform/<platform>/conf/options". Options that affect a single
16 # source-file <xxx>.[c|s] should be directed into "opt_<xxx>.h", while
17 # options that affect multiple files should either go in
18 # "opt_global.h" if this is a kernel-wide option (used just about
19 # everywhere), or in "opt_<option-name-in-lower-case>.h" if it affect
20 # only some files. Note that the effect of listing only an option
21 # without a header-file-name in conf/options (and cousins) is that the
22 # last 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
33 # Adaptec Array Controller driver options
36 ADW_ALLOW_MEMIO opt_adw.h # Allow PCI devices to use memory
41 #options for ACPI support
43 ACPI_NO_SEMAPHORES opt_acpi.h
44 ACPI_ENABLE_PCI opt_acpi.h
46 # Miscellaneous options.
47 COMPILING_LINT opt_lint.h
50 DDB_UNATTENDED opt_ddb.h
51 GDB_REMOTE_CHAT opt_ddb.h
81 # POSIX kernel options
82 _KPOSIX_PRIORITY_SCHEDULING opt_posix.h
84 # Do we want the config file compiled into the kernel?
85 INCLUDE_CONFIG_FILE opt_config.h
87 # Options for static file systems. These should only be used at config
88 # time, since the corresponding lkms cannot work if there are any static
89 # dependencies. Unusability is enforced by hiding the defines for the
90 # options in a never-included header.
106 # These static filesystems has one slightly bogus static dependency in
107 # sys/platform/.../i386/autoconf.c. If any of these filesystems are
108 # statically compiled into the kernel, code for mounting them as root
109 # filesystems will be enabled - but look below. Boot-code is purposely
110 # unavailable for the LKM-based versions.
115 # filesystems and libiconv bridge
116 CD9660_ICONV opt_dontuse.h
117 MSDOSFS_ICONV opt_dontuse.h
118 NTFS_ICONV opt_dontuse.h
123 # If you are following the conditions in the copyright,
124 # you can enable soft-updates which will speed up a lot of things
125 # and make the system safer from crashes at the same time.
126 # otherwise a STUB module will be compiled in.
127 SOFTUPDATES opt_ffs.h
129 # Enable fast hash lookups for large directories on UFS-based filesystems.
130 UFS_DIRHASH opt_ufs.h
132 # The above static dependencies are planned removed, with a
133 # <filesystem>_ROOT option to control if it usable as root. This list
134 # allows these options to be present in config files already (though
135 # they won't make any difference yet).
136 NFS_ROOT opt_nfsroot.h
138 # Options used only in subr_param.c.
142 NMBCLUSTERS opt_param.h
144 VM_BCACHE_SIZE_MAX opt_param.h
145 VM_SWZONE_SIZE_MAX opt_param.h
151 # Generic SCSI options.
152 CAM_MAX_HIGHPOWER opt_cam.h
154 CAM_DEBUG_DELAY opt_cam.h
155 CAM_DEBUG_BUS opt_cam.h
156 CAM_DEBUG_TARGET opt_cam.h
157 CAM_DEBUG_LUN opt_cam.h
158 CAM_DEBUG_FLAGS opt_cam.h
159 SCSI_DELAY opt_scsi.h
160 SCSI_NO_SENSE_STRINGS opt_scsi.h
161 SCSI_NO_OP_STRINGS opt_scsi.h
164 ISCSI_INITIATOR_DEBUG opt_iscsi_initiator.h
166 # Options used only in cam/scsi/scsi_cd.c
167 CHANGER_MIN_BUSY_SECONDS opt_cd.h
168 CHANGER_MAX_BUSY_SECONDS opt_cd.h
170 # Options used only in cam/scsi/scsi_sa.c.
171 SA_IO_TIMEOUT opt_sa.h
172 SA_SPACE_TIMEOUT opt_sa.h
173 SA_REWIND_TIMEOUT opt_sa.h
174 SA_ERASE_TIMEOUT opt_sa.h
175 SA_1FM_AT_EOD opt_sa.h
177 # Options used only in cam/scsi/scsi_pt.c
178 SCSI_PT_DEFAULT_TIMEOUT opt_pt.h
180 # Options used only in cam/scsi/scsi_ses.c
181 SES_ENABLE_PASSTHROUGH opt_ses.h
183 # Options used in dev/sym/ (Symbios SCSI driver).
184 SYM_SETUP_LP_PROBE_MAP opt_sym.h #-Low Priority Probe Map (bits)
185 # Allows the ncr to take precedence
186 # 1 (1<<0) -> 810a, 860
187 # 2 (1<<1) -> 825a, 875, 885, 895
188 # 4 (1<<2) -> 895a, 896, 1510d
189 SYM_SETUP_SCSI_DIFF opt_sym.h #-HVD support for 825a, 875, 885
190 # disabled:0 (default), enabled:1
191 SYM_SETUP_PCI_PARITY opt_sym.h #-PCI parity checking
192 # disabled:0, enabled:1 (default)
193 SYM_SETUP_MAX_LUN opt_sym.h #-Number of LUNs supported
194 # default:8, range:[1..64]
196 # Options used only in pci/ncr.c
197 SCSI_NCR_DEBUG opt_ncr.h
198 SCSI_NCR_MAX_SYNC opt_ncr.h
199 SCSI_NCR_MAX_WIDE opt_ncr.h
200 SCSI_NCR_MYADDR opt_ncr.h
202 # Options used only in pci/isp_pci.c
203 ISP_TARGET_MODE opt_isp.h
205 # Options used in the 'nata' ATA/ATAPI driver
206 ATA_STATIC_ID opt_ata.h
216 ALTQ_FAIRQ opt_altq.h
217 ALTQ_NOPCC opt_altq.h
218 ALTQ_DEBUG opt_altq.h
223 BOOTP_COMPAT opt_bootp.h
224 BOOTP_NFSROOT opt_bootp.h
225 BOOTP_WIRED_TO opt_bootp.h
227 MROUTING opt_mrouting.h
232 IPSEC_ESP opt_ipsec.h
233 IPSEC_DEBUG opt_ipsec.h
234 IPSEC_FILTERGIF opt_ipsec.h
235 FAST_IPSEC opt_ipsec.h
238 DUMMYNET_DEBUG opt_ipdn.h
239 IPFIREWALL opt_ipfw.h
240 IPFIREWALL3 opt_ipfw.h
241 IPFIREWALL_DEBUG opt_ipfw.h
242 IPFIREWALL_VERBOSE opt_ipfw.h
243 IPFIREWALL_VERBOSE_LIMIT opt_ipfw.h
244 IPFIREWALL_DEFAULT_TO_ACCEPT opt_ipfw.h
245 IPV6FIREWALL opt_ip6fw.h
246 IPV6FIREWALL_VERBOSE opt_ip6fw.h
247 IPV6FIREWALL_VERBOSE_LIMIT opt_ip6fw.h
248 IPV6FIREWALL_DEFAULT_TO_ACCEPT opt_ip6fw.h
253 TCP_SIGNATURE opt_inet.h
254 TCP_DROP_SYNFIN opt_tcp_input.h
258 MBUF_STRESS_TEST opt_mbuf_stress_test.h
260 # (New netgraph, port still in progress)
262 # Netgraph(4). Use option NETGRAPH7 to enable the base netgraph code.
263 # Each netgraph node type can be either be compiled into the kernel
264 # or loaded dynamically. To get the former, include the corresponding
265 # option below. Each type has its own man page, e.g. ng_async(4).
267 NETGRAPH7_DEBUG opt_netgraph.h
268 NETGRAPH7_ASYNC opt_netgraph.h
269 NETGRAPH7_ATMLLC opt_netgraph.h
270 NETGRAPH7_ATM_ATMPIF opt_netgraph.h
271 NETGRAPH7_BLUETOOTH opt_netgraph.h
272 NETGRAPH7_BLUETOOTH_BT3C opt_netgraph.h
273 NETGRAPH7_BLUETOOTH_H4 opt_netgraph.h
274 NETGRAPH7_BLUETOOTH_HCI opt_netgraph.h
275 NETGRAPH7_BLUETOOTH_L2CAP opt_netgraph.h
276 NETGRAPH7_BLUETOOTH_SOCKET opt_netgraph.h
277 NETGRAPH7_BLUETOOTH_UBT opt_netgraph.h
278 NETGRAPH7_BLUETOOTH_UBTBCMFW opt_netgraph.h
279 NETGRAPH7_BPF opt_netgraph.h
280 NETGRAPH7_BRIDGE opt_netgraph.h
281 NETGRAPH7_CAR opt_netgraph.h
282 NETGRAPH7_CISCO opt_netgraph.h
283 NETGRAPH7_DEFLATE opt_netgraph.h
284 NETGRAPH7_DEVICE opt_netgraph.h
285 NETGRAPH7_ECHO opt_netgraph.h
286 NETGRAPH7_EIFACE opt_netgraph.h
287 NETGRAPH7_ETF opt_netgraph.h
288 NETGRAPH7_ETHER opt_netgraph.h
289 NETGRAPH7_FEC opt_netgraph.h
290 NETGRAPH7_FRAME_RELAY opt_netgraph.h
291 NETGRAPH7_GIF opt_netgraph.h
292 NETGRAPH7_GIF_DEMUX opt_netgraph.h
293 NETGRAPH7_HOLE opt_netgraph.h
294 NETGRAPH7_HUB opt_netgraph.h
295 NETGRAPH7_IFACE opt_netgraph.h
296 NETGRAPH7_IP_INPUT opt_netgraph.h
297 NETGRAPH7_IPFW opt_netgraph.h
298 NETGRAPH7_KSOCKET opt_netgraph.h
299 NETGRAPH7_L2TP opt_netgraph.h
300 NETGRAPH7_LMI opt_netgraph.h
301 # MPPC compression requires proprietary files (not included)
302 NETGRAPH7_MPPC_COMPRESSION opt_netgraph.h
303 NETGRAPH7_MPPC_ENCRYPTION opt_netgraph.h
304 NETGRAPH7_NAT opt_netgraph.h
305 NETGRAPH7_NETFLOW opt_netgraph.h
306 NETGRAPH7_ONE2MANY opt_netgraph.h
307 NETGRAPH7_PPP opt_netgraph.h
308 NETGRAPH7_PPPOE opt_netgraph.h
309 NETGRAPH7_PPTPGRE opt_netgraph.h
310 NETGRAPH7_PRED1 opt_netgraph.h
311 NETGRAPH7_RFC1490 opt_netgraph.h
312 NETGRAPH7_SOCKET opt_netgraph.h
313 NETGRAPH7_SPLIT opt_netgraph.h
314 NETGRAPH7_SPPP opt_netgraph.h
315 NETGRAPH7_TAG opt_netgraph.h
316 NETGRAPH7_TCPMSS opt_netgraph.h
317 NETGRAPH7_TEE opt_netgraph.h
318 NETGRAPH7_TTY opt_netgraph.h
319 NETGRAPH7_UI opt_netgraph.h
320 NETGRAPH7_VJC opt_netgraph.h
323 NGATM7_ATM opt_netgraph.h
324 NGATM7_ATMBASE opt_netgraph.h
325 NGATM7_SSCOP opt_netgraph.h
326 NGATM7_SSCFU opt_netgraph.h
327 NGATM7_UNI opt_netgraph.h
328 NGATM7_CCATM opt_netgraph.h
330 # Netgraph(4). Use option NETGRAPH to enable the base netgraph code.
331 # Each netgraph node type can be either be compiled into the kernel
332 # or loaded dynamically. To get the former, include the corresponding
333 # option below. Each type has its own man page, e.g. ng_async(8).
335 NETGRAPH_ASYNC opt_netgraph.h
336 NETGRAPH_BPF opt_netgraph.h
337 NETGRAPH_BRIDGE opt_netgraph.h
338 NETGRAPH_CISCO opt_netgraph.h
339 NETGRAPH_ECHO opt_netgraph.h
340 NETGRAPH_EIFACE opt_netgraph.h
341 NETGRAPH_ETHER opt_netgraph.h
342 NETGRAPH_FEC opt_netgraph.h
343 NETGRAPH_FRAME_RELAY opt_netgraph.h
344 NETGRAPH_HOLE opt_netgraph.h
345 NETGRAPH_IFACE opt_netgraph.h
346 NETGRAPH_KSOCKET opt_netgraph.h
347 NETGRAPH_LMI opt_netgraph.h
348 NETGRAPH_L2TP opt_netgraph.h
349 # MPPC compression requires proprietary files (not included)
350 NETGRAPH_MPPC_COMPRESSION opt_netgraph.h
351 NETGRAPH_MPPC_ENCRYPTION opt_netgraph.h
352 NETGRAPH_ONE2MANY opt_netgraph.h
353 NETGRAPH_PPP opt_netgraph.h
354 NETGRAPH_PPPOE opt_netgraph.h
355 NETGRAPH_PPTPGRE opt_netgraph.h
356 NETGRAPH_RFC1490 opt_netgraph.h
357 NETGRAPH_SOCKET opt_netgraph.h
358 NETGRAPH_TEE opt_netgraph.h
359 NETGRAPH_TTY opt_netgraph.h
360 NETGRAPH_UI opt_netgraph.h
361 NETGRAPH_VJC opt_netgraph.h
368 VGA_SWITCHEROO opt_drm.h
370 # DPT driver debug flags
371 DPT_MEASURE_PERFORMANCE opt_dpt.h
372 DPT_HANDLE_TIMEOUTS opt_dpt.h
373 DPT_TIMEOUT_FACTOR opt_dpt.h
374 DPT_LOST_IRQ opt_dpt.h
375 DPT_RESET_HBA opt_dpt.h
377 # Misc debug flags. Most of these should probably be replaced with
378 # 'DEBUG', and then let people recompile just the interesting modules
379 # with 'make CC="cc -DDEBUG"'.
380 CLUSTERDEBUG opt_debug_cluster.h
381 DEBUG_1284 opt_ppb_1284.h
384 PLIP_DEBUG opt_plip.h
385 LOCKF_DEBUG opt_debug_lockf.h
386 SI_DEBUG opt_debug_si.h
390 FB_INSTALL_CDEV opt_fb.h
392 # ppbus related options
393 PERIPH_1284 opt_ppb_1284.h
394 DONTPROBE_1284 opt_ppb_1284.h
396 # smbus related options
397 ENABLE_ALART opt_intpm.h
399 # These cause changes all over the kernel
400 NO_LWKT_SPLIT_USERPRI opt_global.h
401 BLKDEV_IOSIZE opt_global.h
403 DEBUG_LOCKS opt_global.h
404 DEBUG_LOCKS_LATENCY opt_global.h
405 DEBUG_CRIT_SECTIONS opt_global.h
406 DIAGNOSTIC opt_global.h
407 INVARIANTS opt_global.h
408 VFS_BIO_DEBUG opt_global.h
409 SOCKBUF_DEBUG opt_global.h
410 PANIC_DEBUG opt_global.h
411 MBUF_DEBUG opt_global.h
412 PMAP_DEBUG opt_global.h
413 VM_PAGE_DEBUG opt_global.h
414 SLAB_DEBUG opt_global.h
416 # Sample system/interrupt PC
417 DEBUG_PCTRACK opt_pctrack.h
419 # These are VM related options
425 # Size of the kernel message buffer
426 MSGBUF_SIZE opt_msgbuf.h
429 NFS_MINATTRTIMO opt_nfs.h
430 NFS_MAXATTRTIMO opt_nfs.h
431 NFS_MINDIRATTRTIMO opt_nfs.h
432 NFS_MAXDIRATTRTIMO opt_nfs.h
433 NFS_GATHERDELAY opt_nfs.h
434 NFS_UIDHASHSIZ opt_nfs.h
435 NFS_WDELAYHASHSIZ opt_nfs.h
436 NFS_MUIDHASHSIZ opt_nfs.h
437 NFS_NOSERVER opt_nfs.h
441 MSDOSFS_DEBUG opt_msdosfs.h
443 # For the Bt848/Bt848A/Bt849/Bt878/Bt879 driver
444 BROOKTREE_SYSTEM_DEFAULT opt_bktr.h
445 BROOKTREE_ALLOC_PAGES opt_bktr.h
446 BKTR_OVERRIDE_CARD opt_bktr.h
447 BKTR_OVERRIDE_TUNER opt_bktr.h
448 BKTR_OVERRIDE_DBX opt_bktr.h
449 BKTR_OVERRIDE_MSP opt_bktr.h
450 BKTR_SYSTEM_DEFAULT opt_bktr.h
451 BKTR_ALLOC_PAGES opt_bktr.h
452 BKTR_USE_PLL opt_bktr.h
453 BKTR_GPIO_ACCESS opt_bktr.h
454 BKTR_NO_MSP_RESET opt_bktr.h
455 BKTR_430_FX_MODE opt_bktr.h
456 BKTR_SIS_VIA_MODE opt_bktr.h
457 BKTR_NEW_MSP34XX_DRIVER opt_bktr.h
459 # Various mi ISA bus flags
461 COM_MULTIPORT opt_sio.h
462 BREAK_TO_DEBUGGER opt_comconsole.h
463 ALT_BREAK_TO_DEBUGGER opt_comconsole.h
465 # options for bus/device framework
468 # options for USB support
472 # options for the Realtek RTL8188*U/RTL8192CU driver (urtwn)
473 URTWN_WITHOUT_UCODE opt_urtwn.h
476 VINUMDEBUG opt_vinum.h
478 # Embedded system options
479 UKBD_DFLT_KEYMAP opt_ukbd.h
480 INIT_PATH opt_init_path.h
482 ROOTDEVNAME opt_rootdevname.h
485 PCFCLOCK_VERBOSE opt_pcfclock.h
486 PCFCLOCK_MAX_RETRIES opt_pcfclock.h
488 # Network device queue based polling
489 IFPOLL_ENABLE opt_ifpoll.h
491 # options for ubsec driver
492 UBSEC_DEBUG opt_ubsec.h
493 UBSEC_RNDTEST opt_ubsec.h
494 UBSEC_NO_RNG opt_ubsec.h
496 # options for hifn driver
497 HIFN_DEBUG opt_hifn.h
498 HIFN_RNDTEST opt_hifn.h
499 HIFN_NO_RNG opt_hifn.h
501 # options for safenet driver
502 SAFE_DEBUG opt_safe.h
503 SAFE_NO_RNG opt_safe.h
504 SAFE_RNDTEST opt_safe.h
508 KTR_ENTRIES opt_global.h
510 KTR_ACPI_EC opt_ktr.h
512 KTR_DMCRYPT opt_ktr.h
513 KTR_ETHERNET opt_ktr.h
519 KTR_IF_START opt_ktr.h
521 KTR_KERNENTRY opt_ktr.h
523 KTR_SERIALIZER opt_ktr.h
524 KTR_SPIN_CONTENTION opt_ktr.h
525 KTR_TESTLOG opt_ktr.h
528 KTR_USCHED_BSD4 opt_ktr.h
529 KTR_USCHED_DFLY opt_ktr.h
530 KTR_VERBOSE opt_ktr.h
531 KTR_IF_POLL opt_ktr.h
533 KTR_SOWAKEUP opt_ktr.h
536 NTFS_DEBUG opt_ntfs.h
538 # options for the Atheros driver
540 #ATH_DEBUG_ALQ opt_ath.h
541 ATH_DIAGAPI opt_ath.h
542 #ATH_EEPROM_FIRMWARE opt_ath.h
543 #ATH_ENABLE_11N opt_ath.h
544 ATH_ENABLE_DFS opt_ath.h
545 #ATH_ENABLE_RADIOTAP_VENDOR_EXT opt_ath.h
546 ATH_KTR_INTR_DEBUG opt_ath.h
547 #ATH_TX99_DIAG opt_ath.h
550 AH_AR5416_INTERRUPT_MITIGATION opt_ah.h
553 #AH_DEBUG_ALQ opt_ah.h
554 #AH_DEBUG_COUNTRY opt_ah.h
555 AH_INTERRUPT_DEBUGGING opt_ah.h
557 AH_NEED_DESC_SWAP opt_ah.h
558 AH_PRIVATE_DIAG opt_ah.h
559 AH_RXCFG_SDMAMW_4BYTES opt_ah.h
560 AH_SUPPORT_AR5416 opt_ah.h
561 AH_SUPPORT_AR9130 opt_ah.h
562 AH_SUPPORT_AR9330 opt_ah.h
563 AH_SUPPORT_AR9340 opt_ah.h
564 AH_USE_INIPDGAIN opt_ah.h
565 #AH_WRITE_EEPROM opt_ah.h
566 #AH_WRITE_REGDOMAIN opt_ah.h
569 BCE_RSS_DEBUG opt_bce.h
570 BCE_TSS_DEBUG opt_bce.h
573 BNX_RSS_DEBUG opt_bnx.h
574 BNX_TSO_DEBUG opt_bnx.h
575 BNX_TSS_DEBUG opt_bnx.h
579 BWN_RXRING_SLOTS opt_bwn.h
580 BWN_TXRING_SLOTS opt_bwn.h
583 SIBA_DEBUG opt_siba.h
586 EMX_RSS_DEBUG opt_emx.h
587 EMX_TSO_DEBUG opt_emx.h
588 EMX_TSS_DEBUG opt_emx.h
591 JME_RSS_DEBUG opt_jme.h
594 IGB_RSS_DEBUG opt_igb.h
595 IGB_TSS_DEBUG opt_igb.h
596 IGB_MSIX_DEBUG opt_igb.h
599 IX_RSS_DEBUG opt_ix.h
601 # Options for the Intel 802.11ac wireless driver
604 # Options for the Intel 802.11n wireless driver
607 # Options for the Intel 3945ABG wireless driver
611 DCONS_BUF_SIZE opt_dcons.h
612 DCONS_POLL_HZ opt_dcons.h
613 DCONS_FORCE_CONSOLE opt_dcons.h
614 DCONS_FORCE_GDB opt_dcons.h
616 # deprecated drivers and options
617 I_WANT_DEPRECATED_STUFF opt_deprecated.h
619 # Receive Side Scaling (now basecode)
623 WDOG_DISABLE_ON_PANIC opt_panic.h
624 ERROR_LED_ON_PANIC opt_panic.h
626 # 802.11 support layer
627 IEEE80211_DEBUG opt_wlan.h
628 IEEE80211_DEBUG_REFCNT opt_wlan.h
629 IEEE80211_SUPPORT_MESH opt_wlan.h
630 IEEE80211_SUPPORT_SUPERG opt_wlan.h
631 IEEE80211_SUPPORT_TDMA opt_wlan.h
633 # 802.11 TDMA support
634 TDMA_SLOTLEN_DEFAULT opt_tdma.h
635 TDMA_SLOTCNT_DEFAULT opt_tdma.h
636 TDMA_BINTVAL_DEFAULT opt_tdma.h
637 TDMA_TXRATE_11B_DEFAULT opt_tdma.h
638 TDMA_TXRATE_11G_DEFAULT opt_tdma.h
639 TDMA_TXRATE_11A_DEFAULT opt_tdma.h
640 TDMA_TXRATE_TURBO_DEFAULT opt_tdma.h
641 TDMA_TXRATE_HALF_DEFAULT opt_tdma.h
642 TDMA_TXRATE_QUARTER_DEFAULT opt_tdma.h
643 TDMA_TXRATE_11NA_DEFAULT opt_tdma.h
644 TDMA_TXRATE_11NG_DEFAULT opt_tdma.h
648 SND_DIAGNOSTIC opt_snd.h
649 SND_FEEDER_MULTIFORMAT opt_snd.h
650 SND_FEEDER_FULL_MULTIFORMAT opt_snd.h
651 SND_FEEDER_RATE_HP opt_snd.h
653 SND_OLDSTEREO opt_snd.h
655 PANIC_REBOOT_WAIT_TIME opt_panic.h
657 # Obsolete options (will be removed in the future)
659 FFS_ROOT opt_dontuse.h