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.42 2005/10/24 08:06:16 sephe 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_COMPAT_LINUX opt_aac.h # Enable the linux ioctl interface
37 AAC_DEBUG opt_aac.h # Debugging levels:
38 # 0 - quiet, only emit warnings
39 # 1 - noisy, emit major function
40 # points and things done
41 # 2 - extremely noisy, emit trace
42 # items in loops, etc.
44 # Adaptec aic7xxx SCSI controller options
45 AHC_ALLOW_MEMIO opt_aic7xxx.h # Allow PCI devices to use memory
48 AHC_TMODE_ENABLE opt_aic7xxx.h # Bitmap of units to enable
49 # targetmode operations.
51 AHC_DUMP_EEPROM opt_aic7xxx.h # Dump the contents of our
54 AHC_DEBUG opt_aic7xxx.h # Compile in Aic7xxx Debugging code.
56 AHC_DEBUG_OPTS opt_aic7xxx.h # Aic7xxx driver debugging options.
57 # See sys/dev/aic7xxx/aic7xxx.h
59 AHC_REG_PRETTY_PRINT opt_aic7xxx.h # Print register bitfields in debug
60 # output. Adds ~15k to driver.
62 # Adaptec aic79xx SCSI controller options
63 AHD_DEBUG opt_aic79xx.h # Compile in Aic79xx Debugging code.
65 AHD_DEBUG_OPTS opt_aic79xx.h # Aic79xx driver debugging options.
66 # See sys/dev/aic7xxx/aic79xx.h
68 AHD_TMODE_ENABLE opt_aic79xx.h # Bitmap of units to enable
69 # targetmode operations.
71 AHD_REG_PRETTY_PRINT opt_aic79xx.h # Print register bitfields in debug
72 # output. Adds ~15k to driver.
74 ADW_ALLOW_MEMIO opt_adw.h # Allow PCI devices to use memory
77 TWA_FLASH_FIREWARE opt_twa.h
79 #options for ACPI support
81 ACPI_NO_SEMAPHORES opt_acpi.h
82 ACPI_MAX_THREADS opt_acpi.h
84 # Miscellaneous options.
85 COMPAT_DF12 opt_compatdf12.h
86 COMPAT_43 opt_compat.h
87 COMPAT_SUNOS opt_compat.h
88 COMPILING_LINT opt_lint.h
92 DDB_UNATTENDED opt_ddb.h
93 GDB_REMOTE_CHAT opt_ddb.h
101 MFS_ROOT_SIZE opt_mfs.h
102 NTIMECOUNTER opt_ntp.h
104 NSWBUF_MIN opt_swap.h
108 SUIDDIR opt_suiddir.h
109 SYSVMSG opt_sysvipc.h
110 SYSVSEM opt_sysvipc.h
111 SYSVSHM opt_sysvipc.h
114 SHMMAXPGS opt_sysvipc.h
133 DIRECTIO opt_directio.h
135 # POSIX kernel options
137 _KPOSIX_PRIORITY_SCHEDULING opt_posix.h
138 _KPOSIX_VERSION opt_posix.h
140 # Do we want the config file compiled into the kernel?
141 INCLUDE_CONFIG_FILE opt_config.h
143 # Options for static file systems. These should only be used at config
144 # time, since the corresponding lkms cannot work if there are any static
145 # dependencies. Unusability is enforced by hiding the defines for the
146 # options in a never-included header.
151 MSDOSFS opt_dontuse.h
159 # These static filesystems has one slightly bogus static dependency in
160 # sys/i386/i386/autoconf.c. If any of these filesystems are
161 # statically compiled into the kernel, code for mounting them as root
162 # filesystems will be enabled - but look below. Boot-code is purposely
163 # unavailable for the LKM-based versions.
170 # If you are following the conditions in the copyright,
171 # you can enable soft-updates which will speed up a lot of thigs
172 # and make the system safer from crashes at the same time.
173 # otherwise a STUB module will be compiled in.
174 SOFTUPDATES opt_ffs.h
176 # Enable fast hash lookups for large directories on UFS-based filesystems.
177 UFS_DIRHASH opt_ufs.h
179 # The above static dependencies are planned removed, with a
180 # <filesystem>_ROOT option to control if it usable as root. This list
181 # allows these options to be present in config files already (though
182 # they won't make any difference yet).
183 CD9660_ROOT opt_cd9660.h
185 NFS_ROOT opt_nfsroot.h
187 # The union static file system has bogus static dependencies, so it isn't
191 # Options used only in subr_param.c.
195 NMBCLUSTERS opt_param.h
198 VM_BCACHE_SIZE_MAX opt_param.h
199 VM_SWZONE_SIZE_MAX opt_param.h
205 # Generic SCSI options.
206 CAM_MAX_HIGHPOWER opt_cam.h
208 CAM_DEBUG_DELAY opt_cam.h
209 CAM_DEBUG_BUS opt_cam.h
210 CAM_DEBUG_TARGET opt_cam.h
211 CAM_DEBUG_LUN opt_cam.h
212 CAM_DEBUG_FLAGS opt_cam.h
213 SCSI_DELAY opt_scsi.h
214 SCSI_NO_SENSE_STRINGS opt_scsi.h
215 SCSI_NO_OP_STRINGS opt_scsi.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_NOPCC opt_altq.h
268 ALTQ_DEBUG opt_altq.h
273 BOOTP_COMPAT opt_bootp.h
274 BOOTP_NFSROOT opt_bootp.h
275 BOOTP_NFSV3 opt_bootp.h
276 BOOTP_WIRED_TO opt_bootp.h
282 MROUTING opt_mrouting.h
287 IPSEC_ESP opt_ipsec.h
288 IPSEC_DEBUG opt_ipsec.h
289 IPSEC_FILTERGIF opt_ipsec.h
290 FAST_IPSEC opt_ipsec.h
293 IPFILTER opt_ipfilter.h
294 IPFILTER_LOG opt_ipfilter.h
295 IPFILTER_DEFAULT_BLOCK opt_ipfilter.h
296 IPFIREWALL opt_ipfw.h
298 IPFIREWALL_VERBOSE opt_ipfw.h
299 IPFIREWALL_VERBOSE_LIMIT opt_ipfw.h
300 IPFIREWALL_DEFAULT_TO_ACCEPT opt_ipfw.h
301 IPFIREWALL_FORWARD opt_ipfw.h
302 IPV6FIREWALL opt_ip6fw.h
303 IPV6FIREWALL_VERBOSE opt_ip6fw.h
304 IPV6FIREWALL_VERBOSE_LIMIT opt_ip6fw.h
305 IPV6FIREWALL_DEFAULT_TO_ACCEPT opt_ip6fw.h
314 PPP_BSDCOMP opt_ppp.h
315 PPP_DEFLATE opt_ppp.h
317 SLIP_IFF_OPTS opt_slip.h
319 TCP_DROP_SYNFIN opt_tcp_input.h
322 MBUF_STRESS_TEST opt_mbuf_stress_test.h
324 # Netgraph(4). Use option NETGRAPH to enable the base netgraph code.
325 # Each netgraph node type can be either be compiled into the kernel
326 # or loaded dynamically. To get the former, include the corresponding
327 # option below. Each type has its own man page, e.g. ng_async(8).
329 NETGRAPH_ASYNC opt_netgraph.h
330 NETGRAPH_BPF opt_netgraph.h
331 NETGRAPH_BRIDGE opt_netgraph.h
332 NETGRAPH_CISCO opt_netgraph.h
333 NETGRAPH_ECHO opt_netgraph.h
334 NETGRAPH_ETHER opt_netgraph.h
335 NETGRAPH_FRAME_RELAY opt_netgraph.h
336 NETGRAPH_HOLE opt_netgraph.h
337 NETGRAPH_IFACE opt_netgraph.h
338 NETGRAPH_KSOCKET opt_netgraph.h
339 NETGRAPH_LMI opt_netgraph.h
340 NETGRAPH_L2TP opt_netgraph.h
341 # MPPC compression requires proprietary files (not included)
342 NETGRAPH_MPPC_COMPRESSION opt_netgraph.h
343 NETGRAPH_MPPC_ENCRYPTION opt_netgraph.h
344 NETGRAPH_ONE2MANY opt_netgraph.h
345 NETGRAPH_PPP opt_netgraph.h
346 NETGRAPH_PPPOE opt_netgraph.h
347 NETGRAPH_PPTPGRE opt_netgraph.h
348 NETGRAPH_RFC1490 opt_netgraph.h
349 NETGRAPH_SOCKET opt_netgraph.h
350 NETGRAPH_TEE opt_netgraph.h
351 NETGRAPH_TTY opt_netgraph.h
352 NETGRAPH_UI opt_netgraph.h
353 NETGRAPH_VJC opt_netgraph.h
366 # XXX Conflict: # of devices vs network protocol (Native ATM).
367 # This makes "atm.h" unusable.
370 DPT_ALLOW_MEMIO opt_dpt.h # Allow PCI devices to use memory
372 # DPT driver debug flags
373 DPT_MEASURE_PERFORMANCE opt_dpt.h
374 DPT_HANDLE_TIMEOUTS opt_dpt.h
375 DPT_TIMEOUT_FACTOR opt_dpt.h
376 DPT_LOST_IRQ opt_dpt.h
377 DPT_RESET_HBA opt_dpt.h
379 # Misc debug flags. Most of these should probably be replaced with
380 # 'DEBUG', and then let people recompile just the interesting modules
381 # with 'make CC="cc -DDEBUG"'.
382 CLUSTERDEBUG opt_debug_cluster.h
383 DEBUG_1284 opt_ppb_1284.h
386 PLIP_DEBUG opt_plip.h
387 LOCKF_DEBUG opt_debug_lockf.h
388 LOUTB opt_debug_outb.h
389 NPX_DEBUG opt_debug_npx.h
390 NETATALKDEBUG opt_atalk.h
391 SI_DEBUG opt_debug_si.h
395 FB_INSTALL_CDEV opt_fb.h
397 # ppbus related options
398 PERIPH_1284 opt_ppb_1284.h
399 DONTPROBE_1284 opt_ppb_1284.h
401 # smbus related options
402 ENABLE_ALART opt_intpm.h
404 # These cause changes all over the kernel
405 BLKDEV_IOSIZE opt_global.h
407 DEBUG_LOCKS opt_global.h
408 DEBUG_VFS_LOCKS opt_global.h
409 DEBUG_CRIT_SECTIONS opt_global.h
410 DEBUG_TOKENS opt_global.h
411 DIAGNOSTIC opt_global.h
412 INVARIANT_SUPPORT opt_global.h
413 INVARIANTS opt_global.h
414 SIMPLELOCK_DEBUG opt_global.h
415 VFS_BIO_DEBUG opt_global.h
416 DEBUG_INTERRUPTS opt_global.h
417 SOCKBUF_DEBUG opt_global.h
418 PANIC_DEBUG opt_global.h
420 # These are VM related options
421 VM_KMEM_SIZE opt_vm.h
422 VM_KMEM_SIZE_SCALE opt_vm.h
423 VM_KMEM_SIZE_MAX opt_vm.h
425 PQ_CACHESIZE opt_vmpage.h
427 # Standard SMP options
433 # Size of the kernel message buffer
434 MSGBUF_SIZE opt_msgbuf.h
436 # PCI related options
438 PCI_ENABLE_IO_MODES opt_pci.h
442 NFS_MINATTRTIMO opt_nfs.h
443 NFS_MAXATTRTIMO opt_nfs.h
444 NFS_MINDIRATTRTIMO opt_nfs.h
445 NFS_MAXDIRATTRTIMO opt_nfs.h
446 NFS_GATHERDELAY opt_nfs.h
447 NFS_UIDHASHSIZ opt_nfs.h
448 NFS_WDELAYHASHSIZ opt_nfs.h
449 NFS_MUIDHASHSIZ opt_nfs.h
450 NFS_NOSERVER opt_nfs.h
453 # For the Bt848/Bt848A/Bt849/Bt878/Bt879 driver
454 BROOKTREE_SYSTEM_DEFAULT opt_bktr.h
455 BROOKTREE_ALLOC_PAGES opt_bktr.h
456 BKTR_OVERRIDE_CARD opt_bktr.h
457 BKTR_OVERRIDE_TUNER opt_bktr.h
458 BKTR_OVERRIDE_DBX opt_bktr.h
459 BKTR_OVERRIDE_MSP opt_bktr.h
460 BKTR_SYSTEM_DEFAULT opt_bktr.h
461 BKTR_ALLOC_PAGES opt_bktr.h
462 BKTR_USE_PLL opt_bktr.h
463 BKTR_GPIO_ACCESS opt_bktr.h
464 BKTR_NO_MSP_RESET opt_bktr.h
465 BKTR_430_FX_MODE opt_bktr.h
466 BKTR_SIS_VIA_MODE opt_bktr.h
467 BKTR_NEW_MSP34XX_DRIVER opt_bktr.h
469 # meteor opt_meteor.h
470 METEOR_ALLOC_PAGES opt_meteor.h
471 METEOR_TEST_VIDEO opt_meteor.h
472 METEOR_SYSTEM_DEFAULT opt_meteor.h
473 METEOR_DEALLOC_PAGES opt_meteor.h
474 METEOR_DEALLOC_ABOVE opt_meteor.h
476 # Various mi ISA bus flags
477 COMPAT_OLDISA opt_compat_oldisa.h
479 COM_MULTIPORT opt_sio.h
480 BREAK_TO_DEBUGGER opt_comconsole.h
481 ALT_BREAK_TO_DEBUGGER opt_comconsole.h
483 # Include tweaks for running under the SimOS machine simulator.
486 # options for bus/device framework
488 DEVICE_SYSCTLS opt_bus.h
490 # options for USB support
499 UMASS_DEBUG opt_usb.h
503 VINUMDEBUG opt_vinum.h
505 # Embedded system options
506 UKBD_DFLT_KEYMAP opt_ukbd.h
507 INIT_PATH opt_init_path.h
509 ROOTDEVNAME opt_rootdevname.h
512 PCFCLOCK_VERBOSE opt_pcfclock.h
513 PCFCLOCK_MAX_RETRIES opt_pcfclock.h
515 # Polling device handling
516 DEVICE_POLLING opt_polling.h
518 # options for ubsec driver
519 UBSEC_DEBUG opt_ubsec.h
520 UBSEC_RNDTEST opt_ubsec.h
521 UBSEC_NO_RNG opt_ubsec.h
523 # options for hifn driver
524 HIFN_DEBUG opt_hifn.h
525 HIFN_RNDTEST opt_hifn.h
526 HIFN_NO_RNG opt_hifn.h
533 KTR_USB_MEMORY opt_ktr.h
535 KTR_MSGPORT opt_ktr.h
536 KTR_ENTRIES opt_global.h
537 KTR_VERBOSE opt_ktr.h
540 BGE_FAKE_AUTONEG opt_bge.h
543 ED_NO_MIIBUS opt_ed.h
546 WI_SYMBOL_FIRMWARE opt_wi.h
549 DCONS_BUF_SIZE opt_dcons.h
550 DCONS_POLL_HZ opt_dcons.h
551 DCONS_FORCE_CONSOLE opt_dcons.h
552 DCONS_FORCE_GDB opt_dcons.h
554 # depricated drivers and options
555 I_WANT_DEPRECATED_STUFF opt_deprecated.h
559 SCTP_DEBUG opt_sctp.h
560 SCTP_TCP_MODEL_SUPPORT opt_sctp.h
561 SCTP_USE_ADLER32 opt_sctp.h
562 SCTP_HIGH_SPEED opt_sctp.h
563 SCTP_STAT_LOGGIN opt_sctp.h
564 SCTP_CWND_LOGGING opt_sctp.h
565 SCTP_BLK_LOGGING opt_sctp.h
566 SCTP_STR_LOGGING opt_sctp.h
567 SCTP_FR_LOGGING opt_sctp.h
568 SCTP_MAP_LOGGING opt_sctp.h