1 # $FreeBSD: src/sys/conf/options,v 1.191.2.53 2003/06/04 17:56:58 sam Exp $
2 # $DragonFly: src/sys/conf/options,v 1.78 2008/02/19 21:24:36 thomas Exp $
4 # On the handling of kernel options
6 # All kernel options should be listed in LINT, with suitable
7 # descriptions. Negative options (options that make some code not
8 # compile) should be commented out; LINT should compile as much code
9 # as possible. Try to structure option-using code so that a single
10 # option only switch code on, or only switch code off, to make it
11 # possible to have a full compile-test. If necessary, you can include
12 # "opt_lint.h" and check for COMPILING_LINT to get maximum code
15 # All new options shall also be listed in either "conf/options" or
16 # "<platform>/conf/options.<platform>". Options that affect a single
17 # source-file <xxx>.[c|s] should be directed into "opt_<xxx>.h", while
18 # options that affect multiple files should either go in
19 # "opt_global.h" if this is a kernel-wide option (used just about
20 # everywhere), or in "opt_<option-name-in-lower-case>.h" if it affect
21 # only some files. Note that the effect of listing only an option
22 # without a header-file-name in conf/options (and cousins) is that the
23 # last convention is followed.
25 # This handling scheme is not yet fully implemented.
28 # Format of this file:
29 # Option name filename
31 # If filename is missing, the default is
32 # opt_<name-of-option-in-lower-case>.h
34 # Adaptec Array Controller driver options
35 AAC_DEBUG opt_aac.h # Debugging levels:
36 # 0 - quiet, only emit warnings
37 # 1 - noisy, emit major function
38 # points and things done
39 # 2 - noisier, emit trace items
41 # 3 - even more noisy, more function
45 # Adaptec aic7xxx SCSI controller options
46 AHC_ALLOW_MEMIO opt_aic7xxx.h # Allow PCI devices to use memory
49 AHC_TMODE_ENABLE opt_aic7xxx.h # Bitmap of units to enable
50 # targetmode operations.
52 AHC_DUMP_EEPROM opt_aic7xxx.h # Dump the contents of our
55 AHC_DEBUG opt_aic7xxx.h # Compile in Aic7xxx Debugging code.
57 AHC_DEBUG_OPTS opt_aic7xxx.h # Aic7xxx driver debugging options.
58 # See sys/dev/aic7xxx/aic7xxx.h
60 AHC_REG_PRETTY_PRINT opt_aic7xxx.h # Print register bitfields in debug
61 # output. Adds ~15k to driver.
63 # Adaptec aic79xx SCSI controller options
64 AHD_DEBUG opt_aic79xx.h # Compile in Aic79xx Debugging code.
66 AHD_DEBUG_OPTS opt_aic79xx.h # Aic79xx driver debugging options.
67 # See sys/dev/aic7xxx/aic79xx.h
69 AHD_TMODE_ENABLE opt_aic79xx.h # Bitmap of units to enable
70 # targetmode operations.
72 AHD_REG_PRETTY_PRINT opt_aic79xx.h # Print register bitfields in debug
73 # output. Adds ~15k to driver.
75 ADW_ALLOW_MEMIO opt_adw.h # Allow PCI devices to use memory
78 TWA_FLASH_FIRMWARE opt_twa.h
80 #options for ACPI support
82 ACPI_NO_SEMAPHORES opt_acpi.h
83 ACPI_QUIRK_VMWARE opt_acpi.h
85 # Miscellaneous options.
86 COMPAT_DF12 opt_compatdf12.h
87 COMPAT_43 opt_compat.h
88 COMPAT_SUNOS opt_compat.h
89 COMPILING_LINT opt_lint.h
93 DDB_UNATTENDED opt_ddb.h
94 GDB_REMOTE_CHAT opt_ddb.h
100 MD_ROOT_SIZE opt_md.h
102 NSWBUF_MIN opt_swap.h
105 SUIDDIR opt_suiddir.h
106 SYSVMSG opt_sysvipc.h
107 SYSVSEM opt_sysvipc.h
108 SYSVSHM opt_sysvipc.h
111 SHMMAXPGS opt_sysvipc.h
130 DIRECTIO opt_directio.h
132 # POSIX kernel options
134 _KPOSIX_PRIORITY_SCHEDULING opt_posix.h
135 _KPOSIX_VERSION opt_posix.h
137 # Do we want the config file compiled into the kernel?
138 INCLUDE_CONFIG_FILE opt_config.h
140 # Options for static file systems. These should only be used at config
141 # time, since the corresponding lkms cannot work if there are any static
142 # dependencies. Unusability is enforced by hiding the defines for the
143 # options in a never-included header.
147 MSDOSFS opt_dontuse.h
154 # These static filesystems has one slightly bogus static dependency in
155 # sys/platform/.../i386/autoconf.c. If any of these filesystems are
156 # statically compiled into the kernel, code for mounting them as root
157 # filesystems will be enabled - but look below. Boot-code is purposely
158 # unavailable for the LKM-based versions.
166 # If you are following the conditions in the copyright,
167 # you can enable soft-updates which will speed up a lot of things
168 # and make the system safer from crashes at the same time.
169 # otherwise a STUB module will be compiled in.
170 SOFTUPDATES opt_ffs.h
172 # Enable fast hash lookups for large directories on UFS-based filesystems.
173 UFS_DIRHASH opt_ufs.h
175 # The above static dependencies are planned removed, with a
176 # <filesystem>_ROOT option to control if it usable as root. This list
177 # allows these options to be present in config files already (though
178 # they won't make any difference yet).
180 NFS_ROOT opt_nfsroot.h
182 # The union static file system has bogus static dependencies, so it isn't
186 # Options used only in subr_param.c.
190 NMBCLUSTERS opt_param.h
193 VM_BCACHE_SIZE_MAX opt_param.h
194 VM_SWZONE_SIZE_MAX opt_param.h
200 # Generic SCSI options.
201 CAM_MAX_HIGHPOWER opt_cam.h
203 CAM_DEBUG_DELAY opt_cam.h
204 CAM_DEBUG_BUS opt_cam.h
205 CAM_DEBUG_TARGET opt_cam.h
206 CAM_DEBUG_LUN opt_cam.h
207 CAM_DEBUG_FLAGS opt_cam.h
208 SCSI_DELAY opt_scsi.h
209 SCSI_NO_SENSE_STRINGS opt_scsi.h
210 SCSI_NO_OP_STRINGS opt_scsi.h
212 # Options used only in cam/scsi/scsi_cd.c
213 CHANGER_MIN_BUSY_SECONDS opt_cd.h
214 CHANGER_MAX_BUSY_SECONDS opt_cd.h
216 # Options used only in cam/scsi/scsi_sa.c.
217 SA_IO_TIMEOUT opt_sa.h
218 SA_SPACE_TIMEOUT opt_sa.h
219 SA_REWIND_TIMEOUT opt_sa.h
220 SA_ERASE_TIMEOUT opt_sa.h
221 SA_1FM_AT_EOD opt_sa.h
223 # Options used only in cam/scsi/scsi_pt.c
224 SCSI_PT_DEFAULT_TIMEOUT opt_pt.h
226 # Options used only in cam/scsi/scsi_ses.c
227 SES_ENABLE_PASSTHROUGH opt_ses.h
229 # Options used in dev/sym/ (Symbios SCSI driver).
230 SYM_SETUP_LP_PROBE_MAP opt_sym.h #-Low Priority Probe Map (bits)
231 # Allows the ncr to take precedence
232 # 1 (1<<0) -> 810a, 860
233 # 2 (1<<1) -> 825a, 875, 885, 895
234 # 4 (1<<2) -> 895a, 896, 1510d
235 SYM_SETUP_SCSI_DIFF opt_sym.h #-HVD support for 825a, 875, 885
236 # disabled:0 (default), enabled:1
237 SYM_SETUP_PCI_PARITY opt_sym.h #-PCI parity checking
238 # disabled:0, enabled:1 (default)
239 SYM_SETUP_MAX_LUN opt_sym.h #-Number of LUNs supported
240 # default:8, range:[1..64]
242 # Options used only in pci/ncr.c
243 SCSI_NCR_DEBUG opt_ncr.h
244 SCSI_NCR_MAX_SYNC opt_ncr.h
245 SCSI_NCR_MAX_WIDE opt_ncr.h
246 SCSI_NCR_MYADDR opt_ncr.h
248 # Options used only in pci/isp_pci.c
249 ISP_TARGET_MODE opt_isp.h
251 # Options used in the 'ata' ATA/ATAPI driver
252 ATA_STATIC_ID opt_ata.h
262 ALTQ_NOPCC opt_altq.h
263 ALTQ_DEBUG opt_altq.h
268 BOOTP_COMPAT opt_bootp.h
269 BOOTP_NFSROOT opt_bootp.h
270 BOOTP_NFSV3 opt_bootp.h
271 BOOTP_WIRED_TO opt_bootp.h
277 MROUTING opt_mrouting.h
282 IPSEC_ESP opt_ipsec.h
283 IPSEC_DEBUG opt_ipsec.h
284 IPSEC_FILTERGIF opt_ipsec.h
285 FAST_IPSEC opt_ipsec.h
288 IPFILTER opt_ipfilter.h
289 IPFILTER_LOG opt_ipfilter.h
290 IPFILTER_DEFAULT_BLOCK opt_ipfilter.h
291 IPFIREWALL opt_ipfw.h
292 IPFIREWALL_VERBOSE opt_ipfw.h
293 IPFIREWALL_VERBOSE_LIMIT opt_ipfw.h
294 IPFIREWALL_DEFAULT_TO_ACCEPT opt_ipfw.h
295 IPFIREWALL_FORWARD opt_ipfw.h
296 IPV6FIREWALL opt_ip6fw.h
297 IPV6FIREWALL_VERBOSE opt_ip6fw.h
298 IPV6FIREWALL_VERBOSE_LIMIT opt_ip6fw.h
299 IPV6FIREWALL_DEFAULT_TO_ACCEPT opt_ip6fw.h
308 PPP_BSDCOMP opt_ppp.h
309 PPP_DEFLATE opt_ppp.h
311 SLIP_IFF_OPTS opt_slip.h
313 TCP_DROP_SYNFIN opt_tcp_input.h
316 MBUF_STRESS_TEST opt_mbuf_stress_test.h
318 # Netgraph(4). Use option NETGRAPH to enable the base netgraph code.
319 # Each netgraph node type can be either be compiled into the kernel
320 # or loaded dynamically. To get the former, include the corresponding
321 # option below. Each type has its own man page, e.g. ng_async(8).
323 NETGRAPH_ASYNC opt_netgraph.h
324 NETGRAPH_BPF opt_netgraph.h
325 NETGRAPH_BRIDGE opt_netgraph.h
326 NETGRAPH_CISCO opt_netgraph.h
327 NETGRAPH_ECHO opt_netgraph.h
328 NETGRAPH_EIFACE opt_netgraph.h
329 NETGRAPH_ETHER opt_netgraph.h
330 NETGRAPH_FRAME_RELAY opt_netgraph.h
331 NETGRAPH_HOLE opt_netgraph.h
332 NETGRAPH_IFACE opt_netgraph.h
333 NETGRAPH_KSOCKET opt_netgraph.h
334 NETGRAPH_LMI opt_netgraph.h
335 NETGRAPH_L2TP opt_netgraph.h
336 # MPPC compression requires proprietary files (not included)
337 NETGRAPH_MPPC_COMPRESSION opt_netgraph.h
338 NETGRAPH_MPPC_ENCRYPTION opt_netgraph.h
339 NETGRAPH_ONE2MANY opt_netgraph.h
340 NETGRAPH_PPP opt_netgraph.h
341 NETGRAPH_PPPOE opt_netgraph.h
342 NETGRAPH_PPTPGRE opt_netgraph.h
343 NETGRAPH_RFC1490 opt_netgraph.h
344 NETGRAPH_SOCKET opt_netgraph.h
345 NETGRAPH_TEE opt_netgraph.h
346 NETGRAPH_TTY opt_netgraph.h
347 NETGRAPH_UI opt_netgraph.h
348 NETGRAPH_VJC opt_netgraph.h
361 # XXX Conflict: # of devices vs network protocol (Native ATM).
362 # This makes "atm.h" unusable.
365 # DPT driver debug flags
366 DPT_MEASURE_PERFORMANCE opt_dpt.h
367 DPT_HANDLE_TIMEOUTS opt_dpt.h
368 DPT_TIMEOUT_FACTOR opt_dpt.h
369 DPT_LOST_IRQ opt_dpt.h
370 DPT_RESET_HBA opt_dpt.h
372 # Misc debug flags. Most of these should probably be replaced with
373 # 'DEBUG', and then let people recompile just the interesting modules
374 # with 'make CC="cc -DDEBUG"'.
375 CLUSTERDEBUG opt_debug_cluster.h
376 DEBUG_1284 opt_ppb_1284.h
379 PLIP_DEBUG opt_plip.h
380 LOCKF_DEBUG opt_debug_lockf.h
381 LOUTB opt_debug_outb.h
382 NPX_DEBUG opt_debug_npx.h
383 NETATALKDEBUG opt_atalk.h
384 SI_DEBUG opt_debug_si.h
388 FB_INSTALL_CDEV opt_fb.h
390 # ppbus related options
391 PERIPH_1284 opt_ppb_1284.h
392 DONTPROBE_1284 opt_ppb_1284.h
394 # smbus related options
395 ENABLE_ALART opt_intpm.h
397 # These cause changes all over the kernel
398 BLKDEV_IOSIZE opt_global.h
400 DEBUG_LOCKS opt_global.h
401 DEBUG_CRIT_SECTIONS opt_global.h
402 DIAGNOSTIC opt_global.h
403 INVARIANTS opt_global.h
404 SIMPLELOCK_DEBUG opt_global.h
405 VFS_BIO_DEBUG opt_global.h
406 DEBUG_INTERRUPTS opt_global.h
407 SOCKBUF_DEBUG opt_global.h
408 PANIC_DEBUG opt_global.h
409 MBUF_DEBUG opt_global.h
411 # Sample system/interrupt PC
412 DEBUG_PCTRACK opt_pctrack.h
414 # These are VM related options
416 PQ_CACHESIZE opt_vmpage.h
418 # Standard SMP options
424 # Size of the kernel message buffer
425 MSGBUF_SIZE opt_msgbuf.h
427 # PCI related options
429 PCI_ENABLE_IO_MODES opt_pci.h
430 PCI_MAP_FIXUP opt_pci.h
434 NFS_MINATTRTIMO opt_nfs.h
435 NFS_MAXATTRTIMO opt_nfs.h
436 NFS_MINDIRATTRTIMO opt_nfs.h
437 NFS_MAXDIRATTRTIMO opt_nfs.h
438 NFS_GATHERDELAY opt_nfs.h
439 NFS_UIDHASHSIZ opt_nfs.h
440 NFS_WDELAYHASHSIZ opt_nfs.h
441 NFS_MUIDHASHSIZ opt_nfs.h
442 NFS_NOSERVER opt_nfs.h
446 MSDOSFS_DEBUG opt_msdosfs.h
448 # For the Bt848/Bt848A/Bt849/Bt878/Bt879 driver
449 BROOKTREE_SYSTEM_DEFAULT opt_bktr.h
450 BROOKTREE_ALLOC_PAGES opt_bktr.h
451 BKTR_OVERRIDE_CARD opt_bktr.h
452 BKTR_OVERRIDE_TUNER opt_bktr.h
453 BKTR_OVERRIDE_DBX opt_bktr.h
454 BKTR_OVERRIDE_MSP opt_bktr.h
455 BKTR_SYSTEM_DEFAULT opt_bktr.h
456 BKTR_ALLOC_PAGES opt_bktr.h
457 BKTR_USE_PLL opt_bktr.h
458 BKTR_GPIO_ACCESS opt_bktr.h
459 BKTR_NO_MSP_RESET opt_bktr.h
460 BKTR_430_FX_MODE opt_bktr.h
461 BKTR_SIS_VIA_MODE opt_bktr.h
462 BKTR_NEW_MSP34XX_DRIVER opt_bktr.h
464 # meteor opt_meteor.h
465 METEOR_ALLOC_PAGES opt_meteor.h
466 METEOR_TEST_VIDEO opt_meteor.h
467 METEOR_SYSTEM_DEFAULT opt_meteor.h
468 METEOR_DEALLOC_PAGES opt_meteor.h
469 METEOR_DEALLOC_ABOVE opt_meteor.h
471 # Various mi ISA bus flags
472 COMPAT_OLDISA opt_compat_oldisa.h
474 COM_MULTIPORT opt_sio.h
475 BREAK_TO_DEBUGGER opt_comconsole.h
476 ALT_BREAK_TO_DEBUGGER opt_comconsole.h
478 # options for bus/device framework
480 DEVICE_SYSCTLS opt_bus.h
482 # options for USB support
487 VINUMDEBUG opt_vinum.h
489 # Embedded system options
490 UKBD_DFLT_KEYMAP opt_ukbd.h
491 INIT_PATH opt_init_path.h
493 ROOTDEVNAME opt_rootdevname.h
496 PCFCLOCK_VERBOSE opt_pcfclock.h
497 PCFCLOCK_MAX_RETRIES opt_pcfclock.h
499 # Polling device handling
500 DEVICE_POLLING opt_polling.h
502 # options for ubsec driver
503 UBSEC_DEBUG opt_ubsec.h
504 UBSEC_RNDTEST opt_ubsec.h
505 UBSEC_NO_RNG opt_ubsec.h
507 # options for hifn driver
508 HIFN_DEBUG opt_hifn.h
509 HIFN_RNDTEST opt_hifn.h
510 HIFN_NO_RNG opt_hifn.h
517 KTR_USB_MEMORY opt_ktr.h
519 KTR_MSGPORT opt_ktr.h
520 KTR_ENTRIES opt_global.h
521 KTR_VERBOSE opt_ktr.h
522 KTR_GIANT_CONTENTION opt_ktr.h
523 KTR_SPIN_CONTENTION opt_ktr.h
529 BCE_NVRAM_WRITE_SUPPORT opt_bce.h
532 ED_NO_MIIBUS opt_ed.h
535 WI_SYMBOL_FIRMWARE opt_wi.h
538 DCONS_BUF_SIZE opt_dcons.h
539 DCONS_POLL_HZ opt_dcons.h
540 DCONS_FORCE_CONSOLE opt_dcons.h
541 DCONS_FORCE_GDB opt_dcons.h
543 # deprecated drivers and options
544 I_WANT_DEPRECATED_STUFF opt_deprecated.h
548 SCTP_DEBUG opt_sctp.h
549 SCTP_USE_ADLER32 opt_sctp.h
550 SCTP_HIGH_SPEED opt_sctp.h
551 SCTP_STAT_LOGGING opt_sctp.h
552 SCTP_CWND_LOGGING opt_sctp.h
553 SCTP_BLK_LOGGING opt_sctp.h
554 SCTP_STR_LOGGING opt_sctp.h
555 SCTP_FR_LOGGING opt_sctp.h
556 SCTP_MAP_LOGGING opt_sctp.h
558 # syslink kernel support
560 SYSLINK opt_syslink.h