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.53 2006/09/05 01:03:34 dillon 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 # "<machine>/conf/options.<machine>". 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 - extremely noisy, emit trace
40 # items in loops, etc.
42 # Adaptec aic7xxx SCSI controller options
43 AHC_ALLOW_MEMIO opt_aic7xxx.h # Allow PCI devices to use memory
46 AHC_TMODE_ENABLE opt_aic7xxx.h # Bitmap of units to enable
47 # targetmode operations.
49 AHC_DUMP_EEPROM opt_aic7xxx.h # Dump the contents of our
52 AHC_DEBUG opt_aic7xxx.h # Compile in Aic7xxx Debugging code.
54 AHC_DEBUG_OPTS opt_aic7xxx.h # Aic7xxx driver debugging options.
55 # See sys/dev/aic7xxx/aic7xxx.h
57 AHC_REG_PRETTY_PRINT opt_aic7xxx.h # Print register bitfields in debug
58 # output. Adds ~15k to driver.
60 # Adaptec aic79xx SCSI controller options
61 AHD_DEBUG opt_aic79xx.h # Compile in Aic79xx Debugging code.
63 AHD_DEBUG_OPTS opt_aic79xx.h # Aic79xx driver debugging options.
64 # See sys/dev/aic7xxx/aic79xx.h
66 AHD_TMODE_ENABLE opt_aic79xx.h # Bitmap of units to enable
67 # targetmode operations.
69 AHD_REG_PRETTY_PRINT opt_aic79xx.h # Print register bitfields in debug
70 # output. Adds ~15k to driver.
72 ADW_ALLOW_MEMIO opt_adw.h # Allow PCI devices to use memory
75 TWA_FLASH_FIRMWARE opt_twa.h
77 #options for ACPI support
79 ACPI_NO_SEMAPHORES opt_acpi.h
81 # Miscellaneous options.
82 COMPAT_DF12 opt_compatdf12.h
83 COMPAT_43 opt_compat.h
84 COMPAT_SUNOS opt_compat.h
85 COMPILING_LINT opt_lint.h
89 DDB_UNATTENDED opt_ddb.h
90 GDB_REMOTE_CHAT opt_ddb.h
101 SUIDDIR opt_suiddir.h
102 SYSVMSG opt_sysvipc.h
103 SYSVSEM opt_sysvipc.h
104 SYSVSHM opt_sysvipc.h
107 SHMMAXPGS opt_sysvipc.h
126 DIRECTIO opt_directio.h
128 # POSIX kernel options
130 _KPOSIX_PRIORITY_SCHEDULING opt_posix.h
131 _KPOSIX_VERSION opt_posix.h
133 # Do we want the config file compiled into the kernel?
134 INCLUDE_CONFIG_FILE opt_config.h
136 # Options for static file systems. These should only be used at config
137 # time, since the corresponding lkms cannot work if there are any static
138 # dependencies. Unusability is enforced by hiding the defines for the
139 # options in a never-included header.
143 MSDOSFS opt_dontuse.h
150 # These static filesystems has one slightly bogus static dependency in
151 # sys/i386/i386/autoconf.c. If any of these filesystems are
152 # statically compiled into the kernel, code for mounting them as root
153 # filesystems will be enabled - but look below. Boot-code is purposely
154 # unavailable for the LKM-based versions.
160 # If you are following the conditions in the copyright,
161 # you can enable soft-updates which will speed up a lot of thigs
162 # and make the system safer from crashes at the same time.
163 # otherwise a STUB module will be compiled in.
164 SOFTUPDATES opt_ffs.h
166 # Enable fast hash lookups for large directories on UFS-based filesystems.
167 UFS_DIRHASH opt_ufs.h
169 # The above static dependencies are planned removed, with a
170 # <filesystem>_ROOT option to control if it usable as root. This list
171 # allows these options to be present in config files already (though
172 # they won't make any difference yet).
174 NFS_ROOT opt_nfsroot.h
176 # The union static file system has bogus static dependencies, so it isn't
180 # Options used only in subr_param.c.
184 NMBCLUSTERS opt_param.h
187 VM_BCACHE_SIZE_MAX opt_param.h
188 VM_SWZONE_SIZE_MAX opt_param.h
194 # Generic SCSI options.
195 CAM_MAX_HIGHPOWER opt_cam.h
197 CAM_DEBUG_DELAY opt_cam.h
198 CAM_DEBUG_BUS opt_cam.h
199 CAM_DEBUG_TARGET opt_cam.h
200 CAM_DEBUG_LUN opt_cam.h
201 CAM_DEBUG_FLAGS opt_cam.h
202 SCSI_DELAY opt_scsi.h
203 SCSI_NO_SENSE_STRINGS opt_scsi.h
204 SCSI_NO_OP_STRINGS opt_scsi.h
206 # Options used only in cam/scsi/scsi_cd.c
207 CHANGER_MIN_BUSY_SECONDS opt_cd.h
208 CHANGER_MAX_BUSY_SECONDS opt_cd.h
210 # Options used only in cam/scsi/scsi_sa.c.
211 SA_IO_TIMEOUT opt_sa.h
212 SA_SPACE_TIMEOUT opt_sa.h
213 SA_REWIND_TIMEOUT opt_sa.h
214 SA_ERASE_TIMEOUT opt_sa.h
215 SA_1FM_AT_EOD opt_sa.h
217 # Options used only in cam/scsi/scsi_pt.c
218 SCSI_PT_DEFAULT_TIMEOUT opt_pt.h
220 # Options used only in cam/scsi/scsi_ses.c
221 SES_ENABLE_PASSTHROUGH opt_ses.h
223 # Options used in dev/sym/ (Symbios SCSI driver).
224 SYM_SETUP_LP_PROBE_MAP opt_sym.h #-Low Priority Probe Map (bits)
225 # Allows the ncr to take precedence
226 # 1 (1<<0) -> 810a, 860
227 # 2 (1<<1) -> 825a, 875, 885, 895
228 # 4 (1<<2) -> 895a, 896, 1510d
229 SYM_SETUP_SCSI_DIFF opt_sym.h #-HVD support for 825a, 875, 885
230 # disabled:0 (default), enabled:1
231 SYM_SETUP_PCI_PARITY opt_sym.h #-PCI parity checking
232 # disabled:0, enabled:1 (default)
233 SYM_SETUP_MAX_LUN opt_sym.h #-Number of LUNs supported
234 # default:8, range:[1..64]
236 # Options used only in pci/ncr.c
237 SCSI_NCR_DEBUG opt_ncr.h
238 SCSI_NCR_MAX_SYNC opt_ncr.h
239 SCSI_NCR_MAX_WIDE opt_ncr.h
240 SCSI_NCR_MYADDR opt_ncr.h
242 # Options used only in pci/isp_pci.c
243 ISP_TARGET_MODE opt_isp.h
245 # Options used in the 'ata' ATA/ATAPI driver
246 ATA_STATIC_ID opt_ata.h
256 ALTQ_NOPCC opt_altq.h
257 ALTQ_DEBUG opt_altq.h
262 BOOTP_COMPAT opt_bootp.h
263 BOOTP_NFSROOT opt_bootp.h
264 BOOTP_NFSV3 opt_bootp.h
265 BOOTP_WIRED_TO opt_bootp.h
270 MROUTING opt_mrouting.h
275 IPSEC_ESP opt_ipsec.h
276 IPSEC_DEBUG opt_ipsec.h
277 IPSEC_FILTERGIF opt_ipsec.h
278 FAST_IPSEC opt_ipsec.h
281 IPFILTER opt_ipfilter.h
282 IPFILTER_LOG opt_ipfilter.h
283 IPFILTER_DEFAULT_BLOCK opt_ipfilter.h
284 IPFIREWALL opt_ipfw.h
286 IPFIREWALL_VERBOSE opt_ipfw.h
287 IPFIREWALL_VERBOSE_LIMIT opt_ipfw.h
288 IPFIREWALL_DEFAULT_TO_ACCEPT opt_ipfw.h
289 IPFIREWALL_FORWARD opt_ipfw.h
290 IPV6FIREWALL opt_ip6fw.h
291 IPV6FIREWALL_VERBOSE opt_ip6fw.h
292 IPV6FIREWALL_VERBOSE_LIMIT opt_ip6fw.h
293 IPV6FIREWALL_DEFAULT_TO_ACCEPT opt_ip6fw.h
302 PPP_BSDCOMP opt_ppp.h
303 PPP_DEFLATE opt_ppp.h
305 SLIP_IFF_OPTS opt_slip.h
307 TCP_DROP_SYNFIN opt_tcp_input.h
310 MBUF_STRESS_TEST opt_mbuf_stress_test.h
312 # Netgraph(4). Use option NETGRAPH to enable the base netgraph code.
313 # Each netgraph node type can be either be compiled into the kernel
314 # or loaded dynamically. To get the former, include the corresponding
315 # option below. Each type has its own man page, e.g. ng_async(8).
317 NETGRAPH_ASYNC opt_netgraph.h
318 NETGRAPH_BPF opt_netgraph.h
319 NETGRAPH_BRIDGE opt_netgraph.h
320 NETGRAPH_CISCO opt_netgraph.h
321 NETGRAPH_ECHO opt_netgraph.h
322 NETGRAPH_ETHER opt_netgraph.h
323 NETGRAPH_FRAME_RELAY opt_netgraph.h
324 NETGRAPH_HOLE opt_netgraph.h
325 NETGRAPH_IFACE opt_netgraph.h
326 NETGRAPH_KSOCKET opt_netgraph.h
327 NETGRAPH_LMI opt_netgraph.h
328 NETGRAPH_L2TP opt_netgraph.h
329 # MPPC compression requires proprietary files (not included)
330 NETGRAPH_MPPC_COMPRESSION opt_netgraph.h
331 NETGRAPH_MPPC_ENCRYPTION opt_netgraph.h
332 NETGRAPH_ONE2MANY opt_netgraph.h
333 NETGRAPH_PPP opt_netgraph.h
334 NETGRAPH_PPPOE opt_netgraph.h
335 NETGRAPH_PPTPGRE opt_netgraph.h
336 NETGRAPH_RFC1490 opt_netgraph.h
337 NETGRAPH_SOCKET opt_netgraph.h
338 NETGRAPH_TEE opt_netgraph.h
339 NETGRAPH_TTY opt_netgraph.h
340 NETGRAPH_UI opt_netgraph.h
341 NETGRAPH_VJC opt_netgraph.h
354 # XXX Conflict: # of devices vs network protocol (Native ATM).
355 # This makes "atm.h" unusable.
358 # DPT driver debug flags
359 DPT_MEASURE_PERFORMANCE opt_dpt.h
360 DPT_HANDLE_TIMEOUTS opt_dpt.h
361 DPT_TIMEOUT_FACTOR opt_dpt.h
362 DPT_LOST_IRQ opt_dpt.h
363 DPT_RESET_HBA opt_dpt.h
365 # Misc debug flags. Most of these should probably be replaced with
366 # 'DEBUG', and then let people recompile just the interesting modules
367 # with 'make CC="cc -DDEBUG"'.
368 CLUSTERDEBUG opt_debug_cluster.h
369 DEBUG_1284 opt_ppb_1284.h
372 PLIP_DEBUG opt_plip.h
373 LOCKF_DEBUG opt_debug_lockf.h
374 LOUTB opt_debug_outb.h
375 NPX_DEBUG opt_debug_npx.h
376 NETATALKDEBUG opt_atalk.h
377 SI_DEBUG opt_debug_si.h
381 FB_INSTALL_CDEV opt_fb.h
383 # ppbus related options
384 PERIPH_1284 opt_ppb_1284.h
385 DONTPROBE_1284 opt_ppb_1284.h
387 # smbus related options
388 ENABLE_ALART opt_intpm.h
390 # These cause changes all over the kernel
391 KMALLOC_ONLY opt_global.h
392 BLKDEV_IOSIZE opt_global.h
394 DEBUG_LOCKS opt_global.h
395 DEBUG_VFS_LOCKS opt_global.h
396 DEBUG_CRIT_SECTIONS opt_global.h
397 DIAGNOSTIC opt_global.h
398 INVARIANTS opt_global.h
399 SIMPLELOCK_DEBUG opt_global.h
400 VFS_BIO_DEBUG opt_global.h
401 DEBUG_INTERRUPTS opt_global.h
402 SOCKBUF_DEBUG opt_global.h
403 PANIC_DEBUG opt_global.h
405 # Sample system/interrupt PC
406 DEBUG_PCTRACK opt_pctrack.h
408 # These are VM related options
410 PQ_CACHESIZE opt_vmpage.h
412 # Standard SMP options
418 # Size of the kernel message buffer
419 MSGBUF_SIZE opt_msgbuf.h
421 # PCI related options
423 PCI_ENABLE_IO_MODES opt_pci.h
427 NFS_MINATTRTIMO opt_nfs.h
428 NFS_MAXATTRTIMO opt_nfs.h
429 NFS_MINDIRATTRTIMO opt_nfs.h
430 NFS_MAXDIRATTRTIMO opt_nfs.h
431 NFS_GATHERDELAY opt_nfs.h
432 NFS_UIDHASHSIZ opt_nfs.h
433 NFS_WDELAYHASHSIZ opt_nfs.h
434 NFS_MUIDHASHSIZ opt_nfs.h
435 NFS_NOSERVER opt_nfs.h
438 # For the Bt848/Bt848A/Bt849/Bt878/Bt879 driver
439 BROOKTREE_SYSTEM_DEFAULT opt_bktr.h
440 BROOKTREE_ALLOC_PAGES opt_bktr.h
441 BKTR_OVERRIDE_CARD opt_bktr.h
442 BKTR_OVERRIDE_TUNER opt_bktr.h
443 BKTR_OVERRIDE_DBX opt_bktr.h
444 BKTR_OVERRIDE_MSP opt_bktr.h
445 BKTR_SYSTEM_DEFAULT opt_bktr.h
446 BKTR_ALLOC_PAGES opt_bktr.h
447 BKTR_USE_PLL opt_bktr.h
448 BKTR_GPIO_ACCESS opt_bktr.h
449 BKTR_NO_MSP_RESET opt_bktr.h
450 BKTR_430_FX_MODE opt_bktr.h
451 BKTR_SIS_VIA_MODE opt_bktr.h
452 BKTR_NEW_MSP34XX_DRIVER opt_bktr.h
454 # meteor opt_meteor.h
455 METEOR_ALLOC_PAGES opt_meteor.h
456 METEOR_TEST_VIDEO opt_meteor.h
457 METEOR_SYSTEM_DEFAULT opt_meteor.h
458 METEOR_DEALLOC_PAGES opt_meteor.h
459 METEOR_DEALLOC_ABOVE opt_meteor.h
461 # Various mi ISA bus flags
462 COMPAT_OLDISA opt_compat_oldisa.h
464 COM_MULTIPORT opt_sio.h
465 BREAK_TO_DEBUGGER opt_comconsole.h
466 ALT_BREAK_TO_DEBUGGER opt_comconsole.h
468 # Include tweaks for running under the SimOS machine simulator.
471 # options for bus/device framework
473 DEVICE_SYSCTLS opt_bus.h
475 # options for USB support
480 VINUMDEBUG opt_vinum.h
482 # Embedded system options
483 UKBD_DFLT_KEYMAP opt_ukbd.h
484 INIT_PATH opt_init_path.h
486 ROOTDEVNAME opt_rootdevname.h
489 PCFCLOCK_VERBOSE opt_pcfclock.h
490 PCFCLOCK_MAX_RETRIES opt_pcfclock.h
492 # Polling device handling
493 DEVICE_POLLING opt_polling.h
495 # options for ubsec driver
496 UBSEC_DEBUG opt_ubsec.h
497 UBSEC_RNDTEST opt_ubsec.h
498 UBSEC_NO_RNG opt_ubsec.h
500 # options for hifn driver
501 HIFN_DEBUG opt_hifn.h
502 HIFN_RNDTEST opt_hifn.h
503 HIFN_NO_RNG opt_hifn.h
510 KTR_USB_MEMORY opt_ktr.h
512 KTR_MSGPORT opt_ktr.h
513 KTR_ENTRIES opt_global.h
514 KTR_VERBOSE opt_ktr.h
515 KTR_GIANT_CONTENTION opt_ktr.h
516 KTR_SPIN_CONTENTION opt_ktr.h
519 ED_NO_MIIBUS opt_ed.h
522 WI_SYMBOL_FIRMWARE opt_wi.h
525 DCONS_BUF_SIZE opt_dcons.h
526 DCONS_POLL_HZ opt_dcons.h
527 DCONS_FORCE_CONSOLE opt_dcons.h
528 DCONS_FORCE_GDB opt_dcons.h
530 # deprecated drivers and options
531 I_WANT_DEPRECATED_STUFF opt_deprecated.h
535 SCTP_DEBUG opt_sctp.h
536 SCTP_USE_ADLER32 opt_sctp.h
537 SCTP_HIGH_SPEED opt_sctp.h
538 SCTP_STAT_LOGGING opt_sctp.h
539 SCTP_CWND_LOGGING opt_sctp.h
540 SCTP_BLK_LOGGING opt_sctp.h
541 SCTP_STR_LOGGING opt_sctp.h
542 SCTP_FR_LOGGING opt_sctp.h
543 SCTP_MAP_LOGGING opt_sctp.h