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 LINT, with suitable
6 # descriptions. Negative options (options that make some code not
7 # compile) should be commented out; LINT 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_LINT 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 # Adaptec aic7xxx SCSI controller options
37 AHC_ALLOW_MEMIO opt_aic7xxx.h # Allow PCI devices to use memory
40 AHC_TMODE_ENABLE opt_aic7xxx.h # Bitmap of units to enable
41 # targetmode operations.
43 AHC_DUMP_EEPROM opt_aic7xxx.h # Dump the contents of our
46 AHC_DEBUG opt_aic7xxx.h # Compile in Aic7xxx Debugging code.
48 AHC_DEBUG_OPTS opt_aic7xxx.h # Aic7xxx driver debugging options.
49 # See sys/dev/aic7xxx/aic7xxx.h
51 AHC_REG_PRETTY_PRINT opt_aic7xxx.h # Print register bitfields in debug
52 # output. Adds ~15k to driver.
54 # Adaptec aic79xx SCSI controller options
55 AHD_DEBUG opt_aic79xx.h # Compile in Aic79xx Debugging code.
57 AHD_DEBUG_OPTS opt_aic79xx.h # Aic79xx driver debugging options.
58 # See sys/dev/aic7xxx/aic79xx.h
60 AHD_TMODE_ENABLE opt_aic79xx.h # Bitmap of units to enable
61 # targetmode operations.
63 AHD_REG_PRETTY_PRINT opt_aic79xx.h # Print register bitfields in debug
64 # output. Adds ~15k to driver.
66 ADW_ALLOW_MEMIO opt_adw.h # Allow PCI devices to use memory
70 #options for ACPI support
72 ACPI_NO_SEMAPHORES opt_acpi.h
73 ACPI_ENABLE_PCI opt_acpi.h
75 # Miscellaneous options.
76 COMPAT_DF12 opt_compatdf12.h
77 COMPAT_43 opt_compat.h
78 COMPAT_SUNOS opt_compat.h
79 COMPILING_LINT opt_lint.h
82 DDB_UNATTENDED opt_ddb.h
83 GDB_REMOTE_CHAT opt_ddb.h
101 SHMMAXPGS opt_sysvipc.h
120 DIRECTIO opt_directio.h
122 # POSIX kernel options
124 _KPOSIX_PRIORITY_SCHEDULING opt_posix.h
125 _KPOSIX_VERSION opt_posix.h
127 # Do we want the config file compiled into the kernel?
128 INCLUDE_CONFIG_FILE opt_config.h
130 # Options for static file systems. These should only be used at config
131 # time, since the corresponding lkms cannot work if there are any static
132 # dependencies. Unusability is enforced by hiding the defines for the
133 # options in a never-included header.
138 MSDOSFS opt_dontuse.h
147 # These static filesystems has one slightly bogus static dependency in
148 # sys/platform/.../i386/autoconf.c. If any of these filesystems are
149 # statically compiled into the kernel, code for mounting them as root
150 # filesystems will be enabled - but look below. Boot-code is purposely
151 # unavailable for the LKM-based versions.
160 # filesystems and libiconv bridge
161 CD9660_ICONV opt_dontuse.h
162 MSDOSFS_ICONV opt_dontuse.h
163 NTFS_ICONV opt_dontuse.h
167 NETSMBCRYPTO opt_netsmb.h
169 # If you are following the conditions in the copyright,
170 # you can enable soft-updates which will speed up a lot of things
171 # and make the system safer from crashes at the same time.
172 # otherwise a STUB module will be compiled in.
173 SOFTUPDATES opt_ffs.h
175 # Enable fast hash lookups for large directories on UFS-based filesystems.
176 UFS_DIRHASH opt_ufs.h
178 # The above static dependencies are planned removed, with a
179 # <filesystem>_ROOT option to control if it usable as root. This list
180 # allows these options to be present in config files already (though
181 # they won't make any difference yet).
183 NFS_ROOT opt_nfsroot.h
185 # The union static file system has bogus static dependencies, so it isn't
189 # Options used only in subr_param.c.
193 NMBCLUSTERS opt_param.h
195 VM_BCACHE_SIZE_MAX opt_param.h
196 VM_SWZONE_SIZE_MAX opt_param.h
202 # Generic SCSI options.
203 CAM_MAX_HIGHPOWER opt_cam.h
205 CAM_DEBUG_DELAY opt_cam.h
206 CAM_DEBUG_BUS opt_cam.h
207 CAM_DEBUG_TARGET opt_cam.h
208 CAM_DEBUG_LUN opt_cam.h
209 CAM_DEBUG_FLAGS opt_cam.h
210 SCSI_DELAY opt_scsi.h
211 SCSI_NO_SENSE_STRINGS opt_scsi.h
212 SCSI_NO_OP_STRINGS opt_scsi.h
215 ISCSI_INITIATOR_DEBUG opt_iscsi_initiator.h
217 # Options used only in cam/scsi/scsi_cd.c
218 CHANGER_MIN_BUSY_SECONDS opt_cd.h
219 CHANGER_MAX_BUSY_SECONDS opt_cd.h
221 # Options used only in cam/scsi/scsi_sa.c.
222 SA_IO_TIMEOUT opt_sa.h
223 SA_SPACE_TIMEOUT opt_sa.h
224 SA_REWIND_TIMEOUT opt_sa.h
225 SA_ERASE_TIMEOUT opt_sa.h
226 SA_1FM_AT_EOD opt_sa.h
228 # Options used only in cam/scsi/scsi_pt.c
229 SCSI_PT_DEFAULT_TIMEOUT opt_pt.h
231 # Options used only in cam/scsi/scsi_ses.c
232 SES_ENABLE_PASSTHROUGH opt_ses.h
234 # Options used in dev/sym/ (Symbios SCSI driver).
235 SYM_SETUP_LP_PROBE_MAP opt_sym.h #-Low Priority Probe Map (bits)
236 # Allows the ncr to take precedence
237 # 1 (1<<0) -> 810a, 860
238 # 2 (1<<1) -> 825a, 875, 885, 895
239 # 4 (1<<2) -> 895a, 896, 1510d
240 SYM_SETUP_SCSI_DIFF opt_sym.h #-HVD support for 825a, 875, 885
241 # disabled:0 (default), enabled:1
242 SYM_SETUP_PCI_PARITY opt_sym.h #-PCI parity checking
243 # disabled:0, enabled:1 (default)
244 SYM_SETUP_MAX_LUN opt_sym.h #-Number of LUNs supported
245 # default:8, range:[1..64]
247 # Options used only in pci/ncr.c
248 SCSI_NCR_DEBUG opt_ncr.h
249 SCSI_NCR_MAX_SYNC opt_ncr.h
250 SCSI_NCR_MAX_WIDE opt_ncr.h
251 SCSI_NCR_MYADDR opt_ncr.h
253 # Options used only in pci/isp_pci.c
254 ISP_TARGET_MODE opt_isp.h
256 # Options used in the 'ata' ATA/ATAPI driver
257 ATA_STATIC_ID opt_ata.h
267 ALTQ_FAIRQ opt_altq.h
268 ALTQ_NOPCC opt_altq.h
269 ALTQ_DEBUG opt_altq.h
274 BOOTP_COMPAT opt_bootp.h
275 BOOTP_NFSROOT opt_bootp.h
276 BOOTP_NFSV3 opt_bootp.h
277 BOOTP_WIRED_TO opt_bootp.h
283 MROUTING opt_mrouting.h
288 IPSEC_ESP opt_ipsec.h
289 IPSEC_DEBUG opt_ipsec.h
290 IPSEC_FILTERGIF opt_ipsec.h
291 FAST_IPSEC opt_ipsec.h
294 DUMMYNET_DEBUG opt_ipdn.h
295 IPFIREWALL opt_ipfw.h
296 IPFIREWALL_DEBUG opt_ipfw.h
297 IPFIREWALL_VERBOSE opt_ipfw.h
298 IPFIREWALL_VERBOSE_LIMIT opt_ipfw.h
299 IPFIREWALL_DEFAULT_TO_ACCEPT opt_ipfw.h
300 IPFIREWALL_FORWARD opt_ipfw.h
301 IPV6FIREWALL opt_ip6fw.h
302 IPV6FIREWALL_VERBOSE opt_ip6fw.h
303 IPV6FIREWALL_VERBOSE_LIMIT opt_ip6fw.h
304 IPV6FIREWALL_DEFAULT_TO_ACCEPT opt_ip6fw.h
313 PPP_BSDCOMP opt_ppp.h
314 PPP_DEFLATE opt_ppp.h
316 SLIP_IFF_OPTS opt_slip.h
318 TCP_SIGNATURE opt_inet.h
319 TCP_DROP_SYNFIN opt_tcp_input.h
322 MBUF_STRESS_TEST opt_mbuf_stress_test.h
324 # (New netgraph, port still in progress)
326 # Netgraph(4). Use option NETGRAPH7 to enable the base netgraph code.
327 # Each netgraph node type can be either be compiled into the kernel
328 # or loaded dynamically. To get the former, include the corresponding
329 # option below. Each type has its own man page, e.g. ng_async(4).
331 NETGRAPH7_DEBUG opt_netgraph.h
332 NETGRAPH7_ASYNC opt_netgraph.h
333 NETGRAPH7_ATMLLC opt_netgraph.h
334 NETGRAPH7_ATM_ATMPIF opt_netgraph.h
335 NETGRAPH7_BLUETOOTH opt_netgraph.h
336 NETGRAPH7_BLUETOOTH_BT3C opt_netgraph.h
337 NETGRAPH7_BLUETOOTH_H4 opt_netgraph.h
338 NETGRAPH7_BLUETOOTH_HCI opt_netgraph.h
339 NETGRAPH7_BLUETOOTH_L2CAP opt_netgraph.h
340 NETGRAPH7_BLUETOOTH_SOCKET opt_netgraph.h
341 NETGRAPH7_BLUETOOTH_UBT opt_netgraph.h
342 NETGRAPH7_BLUETOOTH_UBTBCMFW opt_netgraph.h
343 NETGRAPH7_BPF opt_netgraph.h
344 NETGRAPH7_BRIDGE opt_netgraph.h
345 NETGRAPH7_CAR opt_netgraph.h
346 NETGRAPH7_CISCO opt_netgraph.h
347 NETGRAPH7_DEFLATE opt_netgraph.h
348 NETGRAPH7_DEVICE opt_netgraph.h
349 NETGRAPH7_ECHO opt_netgraph.h
350 NETGRAPH7_EIFACE opt_netgraph.h
351 NETGRAPH7_ETHER opt_netgraph.h
352 NETGRAPH7_FEC opt_netgraph.h
353 NETGRAPH7_FRAME_RELAY opt_netgraph.h
354 NETGRAPH7_GIF opt_netgraph.h
355 NETGRAPH7_GIF_DEMUX opt_netgraph.h
356 NETGRAPH7_HOLE opt_netgraph.h
357 NETGRAPH7_IFACE opt_netgraph.h
358 NETGRAPH7_IP_INPUT opt_netgraph.h
359 NETGRAPH7_IPFW opt_netgraph.h
360 NETGRAPH7_KSOCKET opt_netgraph.h
361 NETGRAPH7_L2TP opt_netgraph.h
362 NETGRAPH7_LMI opt_netgraph.h
363 # MPPC compression requires proprietary files (not included)
364 NETGRAPH7_MPPC_COMPRESSION opt_netgraph.h
365 NETGRAPH7_MPPC_ENCRYPTION opt_netgraph.h
366 NETGRAPH7_NAT opt_netgraph.h
367 NETGRAPH7_NETFLOW opt_netgraph.h
368 NETGRAPH7_ONE2MANY opt_netgraph.h
369 NETGRAPH7_PPP opt_netgraph.h
370 NETGRAPH7_PPPOE opt_netgraph.h
371 NETGRAPH7_PPTPGRE opt_netgraph.h
372 NETGRAPH7_PRED1 opt_netgraph.h
373 NETGRAPH7_RFC1490 opt_netgraph.h
374 NETGRAPH7_SOCKET opt_netgraph.h
375 NETGRAPH7_SPLIT opt_netgraph.h
376 NETGRAPH7_SPPP opt_netgraph.h
377 NETGRAPH7_TAG opt_netgraph.h
378 NETGRAPH7_TCPMSS opt_netgraph.h
379 NETGRAPH7_TEE opt_netgraph.h
380 NETGRAPH7_TTY opt_netgraph.h
381 NETGRAPH7_UI opt_netgraph.h
382 NETGRAPH7_VJC opt_netgraph.h
385 NGATM7_ATM opt_netgraph.h
386 NGATM7_ATMBASE opt_netgraph.h
387 NGATM7_SSCOP opt_netgraph.h
388 NGATM7_SSCFU opt_netgraph.h
389 NGATM7_UNI opt_netgraph.h
390 NGATM7_CCATM opt_netgraph.h
392 # Netgraph(4). Use option NETGRAPH to enable the base netgraph code.
393 # Each netgraph node type can be either be compiled into the kernel
394 # or loaded dynamically. To get the former, include the corresponding
395 # option below. Each type has its own man page, e.g. ng_async(8).
397 NETGRAPH_ASYNC opt_netgraph.h
398 NETGRAPH_BPF opt_netgraph.h
399 NETGRAPH_BRIDGE opt_netgraph.h
400 NETGRAPH_CISCO opt_netgraph.h
401 NETGRAPH_ECHO opt_netgraph.h
402 NETGRAPH_EIFACE opt_netgraph.h
403 NETGRAPH_ETHER opt_netgraph.h
404 NETGRAPH_FRAME_RELAY opt_netgraph.h
405 NETGRAPH_HOLE opt_netgraph.h
406 NETGRAPH_IFACE opt_netgraph.h
407 NETGRAPH_KSOCKET opt_netgraph.h
408 NETGRAPH_LMI opt_netgraph.h
409 NETGRAPH_L2TP opt_netgraph.h
410 # MPPC compression requires proprietary files (not included)
411 NETGRAPH_MPPC_COMPRESSION opt_netgraph.h
412 NETGRAPH_MPPC_ENCRYPTION opt_netgraph.h
413 NETGRAPH_ONE2MANY opt_netgraph.h
414 NETGRAPH_PPP opt_netgraph.h
415 NETGRAPH_PPPOE opt_netgraph.h
416 NETGRAPH_PPTPGRE opt_netgraph.h
417 NETGRAPH_RFC1490 opt_netgraph.h
418 NETGRAPH_SOCKET opt_netgraph.h
419 NETGRAPH_TEE opt_netgraph.h
420 NETGRAPH_TTY opt_netgraph.h
421 NETGRAPH_UI opt_netgraph.h
422 NETGRAPH_VJC opt_netgraph.h
435 # XXX Conflict: # of devices vs network protocol (Native ATM).
436 # This makes "atm.h" unusable.
439 # DPT driver debug flags
440 DPT_MEASURE_PERFORMANCE opt_dpt.h
441 DPT_HANDLE_TIMEOUTS opt_dpt.h
442 DPT_TIMEOUT_FACTOR opt_dpt.h
443 DPT_LOST_IRQ opt_dpt.h
444 DPT_RESET_HBA opt_dpt.h
446 # Misc debug flags. Most of these should probably be replaced with
447 # 'DEBUG', and then let people recompile just the interesting modules
448 # with 'make CC="cc -DDEBUG"'.
449 CLUSTERDEBUG opt_debug_cluster.h
450 DEBUG_1284 opt_ppb_1284.h
453 PLIP_DEBUG opt_plip.h
454 LOCKF_DEBUG opt_debug_lockf.h
455 NPX_DEBUG opt_debug_npx.h
456 NETATALKDEBUG opt_atalk.h
457 SI_DEBUG opt_debug_si.h
461 FB_INSTALL_CDEV opt_fb.h
463 # ppbus related options
464 PERIPH_1284 opt_ppb_1284.h
465 DONTPROBE_1284 opt_ppb_1284.h
467 # smbus related options
468 ENABLE_ALART opt_intpm.h
470 # These cause changes all over the kernel
471 BLKDEV_IOSIZE opt_global.h
473 DEBUG_LOCKS opt_global.h
474 DEBUG_CRIT_SECTIONS opt_global.h
475 DIAGNOSTIC opt_global.h
476 INVARIANTS opt_global.h
477 VFS_BIO_DEBUG opt_global.h
478 DEBUG_INTERRUPTS opt_global.h
479 SOCKBUF_DEBUG opt_global.h
480 PANIC_DEBUG opt_global.h
481 MBUF_DEBUG opt_global.h
482 PMAP_DEBUG opt_global.h
483 VM_PAGE_DEBUG opt_global.h
484 SLAB_DEBUG opt_global.h
486 # Sample system/interrupt PC
487 DEBUG_PCTRACK opt_pctrack.h
489 # These are VM related options
492 # Standard SMP options
498 # Size of the kernel message buffer
499 MSGBUF_SIZE opt_msgbuf.h
501 # PCI related options
505 NFS_MINATTRTIMO opt_nfs.h
506 NFS_MAXATTRTIMO opt_nfs.h
507 NFS_MINDIRATTRTIMO opt_nfs.h
508 NFS_MAXDIRATTRTIMO opt_nfs.h
509 NFS_GATHERDELAY opt_nfs.h
510 NFS_UIDHASHSIZ opt_nfs.h
511 NFS_WDELAYHASHSIZ opt_nfs.h
512 NFS_MUIDHASHSIZ opt_nfs.h
513 NFS_NOSERVER opt_nfs.h
517 MSDOSFS_DEBUG opt_msdosfs.h
519 # For the Bt848/Bt848A/Bt849/Bt878/Bt879 driver
520 BROOKTREE_SYSTEM_DEFAULT opt_bktr.h
521 BROOKTREE_ALLOC_PAGES opt_bktr.h
522 BKTR_OVERRIDE_CARD opt_bktr.h
523 BKTR_OVERRIDE_TUNER opt_bktr.h
524 BKTR_OVERRIDE_DBX opt_bktr.h
525 BKTR_OVERRIDE_MSP opt_bktr.h
526 BKTR_SYSTEM_DEFAULT opt_bktr.h
527 BKTR_ALLOC_PAGES opt_bktr.h
528 BKTR_USE_PLL opt_bktr.h
529 BKTR_GPIO_ACCESS opt_bktr.h
530 BKTR_NO_MSP_RESET opt_bktr.h
531 BKTR_430_FX_MODE opt_bktr.h
532 BKTR_SIS_VIA_MODE opt_bktr.h
533 BKTR_NEW_MSP34XX_DRIVER opt_bktr.h
535 # Various mi ISA bus flags
537 COM_MULTIPORT opt_sio.h
538 BREAK_TO_DEBUGGER opt_comconsole.h
539 ALT_BREAK_TO_DEBUGGER opt_comconsole.h
541 # options for bus/device framework
544 # options for USB support
549 VINUMDEBUG opt_vinum.h
551 # Embedded system options
552 UKBD_DFLT_KEYMAP opt_ukbd.h
553 INIT_PATH opt_init_path.h
555 ROOTDEVNAME opt_rootdevname.h
558 PCFCLOCK_VERBOSE opt_pcfclock.h
559 PCFCLOCK_MAX_RETRIES opt_pcfclock.h
561 # Polling device handling
562 DEVICE_POLLING opt_polling.h
564 # Network device queue based polling
565 IFPOLL_ENABLE opt_ifpoll.h
567 # options for ubsec driver
568 UBSEC_DEBUG opt_ubsec.h
569 UBSEC_RNDTEST opt_ubsec.h
570 UBSEC_NO_RNG opt_ubsec.h
572 # options for hifn driver
573 HIFN_DEBUG opt_hifn.h
574 HIFN_RNDTEST opt_hifn.h
575 HIFN_NO_RNG opt_hifn.h
577 # options for safenet driver
578 SAFE_DEBUG opt_safe.h
579 SAFE_NO_RNG opt_safe.h
580 SAFE_RNDTEST opt_safe.h
584 KTR_ENTRIES opt_global.h
587 KTR_DMCRYPT opt_ktr.h
588 KTR_DSCHED_BFQ opt_ktr.h
589 KTR_ETHERNET opt_ktr.h
595 KTR_IF_START opt_ktr.h
597 KTR_KERNENTRY opt_ktr.h
599 KTR_MSGPORT opt_ktr.h
600 KTR_POLLING opt_ktr.h
601 KTR_SERIALIZER opt_ktr.h
602 KTR_SPIN_CONTENTION opt_ktr.h
603 KTR_TESTLOG opt_ktr.h
606 KTR_USB_MEMORY opt_ktr.h
607 KTR_VERBOSE opt_ktr.h
609 # options for the Atheros driver
611 ATH_DIAGAPI opt_ath.h
616 AH_SUPPORT_AR5416 opt_ah.h
622 ED_NO_MIIBUS opt_ed.h
625 EMX_RSS_DEBUG opt_emx.h
628 JME_RSS_DEBUG opt_jme.h
631 DCONS_BUF_SIZE opt_dcons.h
632 DCONS_POLL_HZ opt_dcons.h
633 DCONS_FORCE_CONSOLE opt_dcons.h
634 DCONS_FORCE_GDB opt_dcons.h
636 # deprecated drivers and options
637 I_WANT_DEPRECATED_STUFF opt_deprecated.h
641 SCTP_DEBUG opt_sctp.h
642 SCTP_USE_ADLER32 opt_sctp.h
643 SCTP_HIGH_SPEED opt_sctp.h
644 SCTP_STAT_LOGGING opt_sctp.h
645 SCTP_CWND_LOGGING opt_sctp.h
646 SCTP_BLK_LOGGING opt_sctp.h
647 SCTP_STR_LOGGING opt_sctp.h
648 SCTP_FR_LOGGING opt_sctp.h
649 SCTP_MAP_LOGGING opt_sctp.h
651 # syslink kernel support
653 SYSLINK opt_syslink.h
656 DSCHED_FQ opt_dsched.h
657 DSCHED_BFQ opt_dsched.h
659 # Receive Side Scaling (now basecode)
663 WATCHDOG_ENABLE opt_cpu.h
666 WDOG_DISABLE_ON_PANIC opt_panic.h
667 ERROR_LED_ON_PANIC opt_panic.h
669 # 802.11 support layer
670 IEEE80211_DEBUG opt_wlan.h
671 IEEE80211_DEBUG_REFCNT opt_wlan.h
672 IEEE80211_AMPDU_AGE opt_wlan.h
673 IEEE80211_SUPPORT_MESH opt_wlan.h
674 IEEE80211_SUPPORT_SUPERG opt_wlan.h
675 IEEE80211_SUPPORT_TDMA opt_wlan.h
677 # 802.11 TDMA support
678 TDMA_SLOTLEN_DEFAULT opt_tdma.h
679 TDMA_SLOTCNT_DEFAULT opt_tdma.h
680 TDMA_BINTVAL_DEFAULT opt_tdma.h
681 TDMA_TXRATE_11B_DEFAULT opt_tdma.h
682 TDMA_TXRATE_11G_DEFAULT opt_tdma.h
683 TDMA_TXRATE_11A_DEFAULT opt_tdma.h
684 TDMA_TXRATE_TURBO_DEFAULT opt_tdma.h
685 TDMA_TXRATE_HALF_DEFAULT opt_tdma.h
686 TDMA_TXRATE_QUARTER_DEFAULT opt_tdma.h
687 TDMA_TXRATE_11NA_DEFAULT opt_tdma.h
688 TDMA_TXRATE_11NG_DEFAULT opt_tdma.h
690 PANIC_REBOOT_WAIT_TIME opt_panic.h