FreeBSD/Linux Kernel Cross Reference
sys/conf/options
1 # $FreeBSD$
2 #
3 # On the handling of kernel options
4 #
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
12 # coverage.
13 #
14 # All new options shall also be listed in either "conf/options" or
15 # "<machine>/conf/options.<machine>". 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.
23 #
24 # This handling scheme is not yet fully implemented.
25 #
26 #
27 # Format of this file:
28 # Option name filename
29 #
30 # If filename is missing, the default is
31 # opt_<name-of-option-in-lower-case>.h
32
33 # Adaptec Array Controller driver options
34 AAC_COMPAT_LINUX opt_aac.h # Enable the linux ioctl interface
35
36 AAC_DEBUG opt_aac.h # Debugging levels:
37 # 0 - quiet, only emit warnings
38 # 1 - noisy, emit major function
39 # points and things done
40 # 2 - extremely noisy, emit trace
41 # items in loops, etc.
42
43 # Adaptec aic7xxx SCSI controller options
44 AHC_ALLOW_MEMIO opt_aic7xxx.h # Allow PCI devices to use memory
45 # mapped I/O
46
47 AHC_TMODE_ENABLE opt_aic7xxx.h # Bitmap of units to enable
48 # targetmode operations.
49
50 AHC_DUMP_EEPROM opt_aic7xxx.h # Dump the contents of our
51 # configuration prom.
52
53 AHC_DEBUG opt_aic7xxx.h # Compile in Aic7xxx Debugging code.
54
55 AHC_DEBUG_OPTS opt_aic7xxx.h # Aic7xxx driver debugging options.
56 # See sys/dev/aic7xxx/aic7xxx.h
57
58 AHC_REG_PRETTY_PRINT opt_aic7xxx.h # Print register bitfields in debug
59 # output. Adds ~15k to driver.
60
61 # Adaptec aic79xx SCSI controller options
62 AHD_DEBUG opt_aic79xx.h # Compile in Aic79xx Debugging code.
63
64 AHD_DEBUG_OPTS opt_aic79xx.h # Aic79xx driver debugging options.
65 # See sys/dev/aic7xxx/aic79xx.h
66
67 AHD_TMODE_ENABLE opt_aic79xx.h # Bitmap of units to enable
68 # targetmode operations.
69
70 AHD_REG_PRETTY_PRINT opt_aic79xx.h # Print register bitfields in debug
71 # output. Adds ~15k to driver.
72
73 ADW_ALLOW_MEMIO opt_adw.h # Allow PCI devices to use memory
74 # mapped I/O
75
76 TWA_DEBUG opt_twa.h
77 TWA_FLASH_FIRMWARE opt_twa.h
78
79 # options for ACPI support
80 ACPI_DEBUG opt_acpi.h
81 ACPI_NO_SEMAPHORES opt_acpi.h
82 ACPI_MAX_THREADS opt_acpi.h
83
84 # Miscellaneous options.
85 COMPAT_43 opt_compat.h
86 COMPAT_SUNOS opt_compat.h
87 COMPILING_LINT opt_lint.h
88 CY_PCI_FASTINTR
89 DDB
90 DDB_UNATTENDED opt_ddb.h
91 GDB_REMOTE_CHAT opt_ddb.h
92 HW_WDOG
93 KTRACE
94 LIBICONV
95 MD_NSECT opt_md.h
96 MD_ROOT opt_md.h
97 MD_ROOT_SIZE opt_md.h
98 MFI_DEBUG opt_mfi.h
99 MFS_ROOT opt_mfs.h
100 MFS_ROOT_SIZE opt_mfs.h
101 NTIMECOUNTER opt_ntp.h
102 NSWAPDEV opt_swap.h
103 NSWBUF_MIN opt_swap.h
104 PPS_SYNC opt_ntp.h
105 QUOTA
106 SPX_HACK
107 SUIDDIR opt_suiddir.h
108 SYSVMSG opt_sysvipc.h
109 SYSVSEM opt_sysvipc.h
110 SYSVSHM opt_sysvipc.h
111 SHMALL opt_sysvipc.h
112 SHMMAX opt_sysvipc.h
113 SHMMAXPGS opt_sysvipc.h
114 SHMMIN opt_sysvipc.h
115 SHMMNI opt_sysvipc.h
116 SHMSEG opt_sysvipc.h
117 SEMMAP opt_sysvipc.h
118 SEMMNI opt_sysvipc.h
119 SEMMNS opt_sysvipc.h
120 SEMMNU opt_sysvipc.h
121 SEMMSL opt_sysvipc.h
122 SEMOPM opt_sysvipc.h
123 SEMUME opt_sysvipc.h
124 MSGMNB opt_sysvipc.h
125 MSGMNI opt_sysvipc.h
126 MSGSEG opt_sysvipc.h
127 MSGSSZ opt_sysvipc.h
128 MSGTQL opt_sysvipc.h
129 UCONSOLE
130 ICMP_BANDLIM
131 VFS_AIO
132 DIRECTIO opt_directio.h
133
134 # POSIX kernel options
135 P1003_1B opt_posix.h
136 _KPOSIX_PRIORITY_SCHEDULING opt_posix.h
137 _KPOSIX_VERSION opt_posix.h
138
139 # Do we want the config file compiled into the kernel?
140 INCLUDE_CONFIG_FILE opt_config.h
141
142 # Options for static file systems. These should only be used at config
143 # time, since the corresponding lkms cannot work if there are any static
144 # dependencies. Unusability is enforced by hiding the defines for the
145 # options in a never-included header.
146 EXT2FS opt_dontuse.h
147 FDESC opt_dontuse.h
148 KERNFS opt_dontuse.h
149 MFS opt_dontuse.h
150 MSDOSFS opt_dontuse.h
151 NULLFS opt_dontuse.h
152 PORTAL opt_dontuse.h
153 PROCFS opt_dontuse.h
154 UMAPFS opt_dontuse.h
155 NTFS opt_dontuse.h
156
157 # These static filesystems has one slightly bogus static dependency in
158 # sys/i386/i386/autoconf.c. If any of these filesystems are
159 # statically compiled into the kernel, code for mounting them as root
160 # filesystems will be enabled - but look below. Boot-code is purposely
161 # unavailable for the LKM-based versions.
162 CODA
163 CD9660
164 FFS
165 NFS
166 NWFS
167
168 # If you are following the conditions in the copyright,
169 # you can enable soft-updates which will speed up a lot of thigs
170 # and make the system safer from crashes at the same time.
171 # otherwise a STUB module will be compiled in.
172 SOFTUPDATES opt_ffs.h
173
174 # Enable fast hash lookups for large directories on UFS-based filesystems.
175 UFS_DIRHASH opt_ufs.h
176
177 # The above static dependencies are planned removed, with a
178 # <filesystem>_ROOT option to control if it usable as root. This list
179 # allows these options to be present in config files already (though
180 # they won't make any difference yet).
181 CD9660_ROOT opt_cd9660.h
182 FFS_ROOT opt_ffs.h
183 NFS_ROOT opt_nfsroot.h
184
185 # The union static file system has bogus static dependencies, so it isn't
186 # hidden yet.
187 UNION
188
189 # Options used only in subr_param.c.
190 HZ opt_param.h
191 MAXFILES opt_param.h
192 NBUF opt_param.h
193 NMBCLUSTERS opt_param.h
194 NMBUFS opt_param.h
195 NSFBUFS opt_param.h
196 VM_BCACHE_SIZE_MAX opt_param.h
197 VM_SWZONE_SIZE_MAX opt_param.h
198 MAXUSERS
199 DFLDSIZ opt_param.h
200 MAXDSIZ opt_param.h
201 MAXSSIZ opt_param.h
202
203 # Generic SCSI options.
204 CAM_MAX_HIGHPOWER opt_cam.h
205 CAMDEBUG opt_cam.h
206 CAM_DEBUG_DELAY opt_cam.h
207 CAM_DEBUG_BUS opt_cam.h
208 CAM_DEBUG_TARGET opt_cam.h
209 CAM_DEBUG_LUN opt_cam.h
210 CAM_DEBUG_FLAGS opt_cam.h
211 SCSI_DELAY opt_scsi.h
212 SCSI_NO_SENSE_STRINGS opt_scsi.h
213 SCSI_NO_OP_STRINGS opt_scsi.h
214
215 # Options used only in cam/scsi/scsi_cd.c
216 CHANGER_MIN_BUSY_SECONDS opt_cd.h
217 CHANGER_MAX_BUSY_SECONDS opt_cd.h
218
219 # Options used only in cam/scsi/scsi_sa.c.
220 SA_IO_TIMEOUT opt_sa.h
221 SA_SPACE_TIMEOUT opt_sa.h
222 SA_REWIND_TIMEOUT opt_sa.h
223 SA_ERASE_TIMEOUT opt_sa.h
224 SA_1FM_AT_EOD opt_sa.h
225
226 # Options used only in cam/scsi/scsi_pt.c
227 SCSI_PT_DEFAULT_TIMEOUT opt_pt.h
228
229 # Options used only in cam/scsi/scsi_ses.c
230 SES_ENABLE_PASSTHROUGH opt_ses.h
231
232 # Options used in dev/sym/ (Symbios SCSI driver).
233 SYM_SETUP_LP_PROBE_MAP opt_sym.h #-Low Priority Probe Map (bits)
234 # Allows the ncr to take precedence
235 # 1 (1<<0) -> 810a, 860
236 # 2 (1<<1) -> 825a, 875, 885, 895
237 # 4 (1<<2) -> 895a, 896, 1510d
238 SYM_SETUP_SCSI_DIFF opt_sym.h #-HVD support for 825a, 875, 885
239 # disabled:0 (default), enabled:1
240 SYM_SETUP_PCI_PARITY opt_sym.h #-PCI parity checking
241 # disabled:0, enabled:1 (default)
242 SYM_SETUP_MAX_LUN opt_sym.h #-Number of LUNs supported
243 # default:8, range:[1..64]
244
245 # Options used only in pci/ncr.c
246 SCSI_NCR_DEBUG opt_ncr.h
247 SCSI_NCR_MAX_SYNC opt_ncr.h
248 SCSI_NCR_MAX_WIDE opt_ncr.h
249 SCSI_NCR_MYADDR opt_ncr.h
250
251 # Options used only in pci/isp_pci.c
252 ISP_TARGET_MODE opt_isp.h
253
254 # Options used in the 'ata' ATA/ATAPI driver
255 ATA_STATIC_ID opt_ata.h
256
257 # Net stuff.
258 ACCEPT_FILTER_DATA
259 ACCEPT_FILTER_HTTP
260 BOOTP opt_bootp.h
261 BOOTP_COMPAT opt_bootp.h
262 BOOTP_NFSROOT opt_bootp.h
263 BOOTP_NFSV3 opt_bootp.h
264 BOOTP_WIRED_TO opt_bootp.h
265 BRIDGE opt_bdg.h
266 ETHER_II opt_ef.h
267 ETHER_8023 opt_ef.h
268 ETHER_8022 opt_ef.h
269 ETHER_SNAP opt_ef.h
270 MROUTING opt_mrouting.h
271 PIM opt_mrouting.h
272 INET opt_inet.h
273 INET6 opt_inet6.h
274 IPSEC opt_ipsec.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
279 IPDIVERT
280 DUMMYNET opt_ipdn.h
281 IPFILTER opt_ipfilter.h
282 IPFILTER_LOG opt_ipfilter.h
283 IPFILTER_DEFAULT_BLOCK opt_ipfilter.h
284 IPFIREWALL opt_ipfw.h
285 IPFW2 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
294 IPSTEALTH
295 IPX opt_ipx.h
296 IPXIP opt_ipx.h
297 IPTUNNEL opt_ipx.h
298 LIBMCHAIN
299 NCP opt_ncp.h
300 NETATALK opt_atalk.h
301 NS opt_ns.h
302 PPP_BSDCOMP opt_ppp.h
303 PPP_DEFLATE opt_ppp.h
304 PPP_FILTER opt_ppp.h
305 RANDOM_IP_ID
306 SLIP_IFF_OPTS opt_slip.h
307 TCPDEBUG
308 TCP_SIGNATURE opt_inet.h
309 TCP_DROP_SYNFIN opt_tcp_input.h
310 XBONEHACK
311 MBUF_STRESS_TEST opt_mbuf_stress_test.h
312
313 # Netgraph(4). Use option NETGRAPH to enable the base netgraph code.
314 # Each netgraph node type can be either be compiled into the kernel
315 # or loaded dynamically. To get the former, include the corresponding
316 # option below. Each type has its own man page, e.g. ng_async(8).
317 NETGRAPH
318 NETGRAPH_ASYNC opt_netgraph.h
319 NETGRAPH_BPF opt_netgraph.h
320 NETGRAPH_BRIDGE opt_netgraph.h
321 NETGRAPH_CISCO opt_netgraph.h
322 NETGRAPH_ECHO opt_netgraph.h
323 NETGRAPH_ETHER opt_netgraph.h
324 NETGRAPH_FRAME_RELAY opt_netgraph.h
325 NETGRAPH_HOLE opt_netgraph.h
326 NETGRAPH_IFACE opt_netgraph.h
327 NETGRAPH_KSOCKET opt_netgraph.h
328 NETGRAPH_LMI opt_netgraph.h
329 NETGRAPH_L2TP opt_netgraph.h
330 # MPPC compression requires proprietary files (not included)
331 NETGRAPH_MPPC_COMPRESSION opt_netgraph.h
332 NETGRAPH_MPPC_ENCRYPTION opt_netgraph.h
333 NETGRAPH_ONE2MANY opt_netgraph.h
334 NETGRAPH_PPP opt_netgraph.h
335 NETGRAPH_PPPOE opt_netgraph.h
336 NETGRAPH_PPTPGRE opt_netgraph.h
337 NETGRAPH_RFC1490 opt_netgraph.h
338 NETGRAPH_SOCKET opt_netgraph.h
339 NETGRAPH_TEE opt_netgraph.h
340 NETGRAPH_TTY opt_netgraph.h
341 NETGRAPH_UI opt_netgraph.h
342 NETGRAPH_VJC opt_netgraph.h
343
344 # DRM options
345 DRM_DEBUG opt_drm.h
346
347 # ATM (HARP version)
348 ATM_CORE opt_atm.h
349 ATM_IP opt_atm.h
350 ATM_SIGPVC opt_atm.h
351 ATM_SPANS opt_atm.h
352 ATM_UNI opt_atm.h
353
354 # XXX Conflict: # of devices vs network protocol (Native ATM).
355 # This makes "atm.h" unusable.
356 NATM opt_natm.h
357
358 DPT_ALLOW_MEMIO opt_dpt.h # Allow PCI devices to use memory
359 # mapped I/O
360 # DPT driver debug flags
361 DPT_MEASURE_PERFORMANCE opt_dpt.h
362 DPT_HANDLE_TIMEOUTS opt_dpt.h
363 DPT_TIMEOUT_FACTOR opt_dpt.h
364 DPT_LOST_IRQ opt_dpt.h
365 DPT_RESET_HBA opt_dpt.h
366
367 # Adaptec ASR and DPT V/VI controller options
368 ASR_MEASURE_PERFORMANCE opt_asr.h
369
370 # Misc debug flags. Most of these should probably be replaced with
371 # 'DEBUG', and then let people recompile just the interesting modules
372 # with 'make CC="cc -DDEBUG"'.
373 CLUSTERDEBUG opt_debug_cluster.h
374 DEBUG_1284 opt_ppb_1284.h
375 VP0_DEBUG opt_vpo.h
376 LPT_DEBUG opt_lpt.h
377 PLIP_DEBUG opt_plip.h
378 LOCKF_DEBUG opt_debug_lockf.h
379 LOUTB opt_debug_outb.h
380 NPX_DEBUG opt_debug_npx.h
381 NETATALKDEBUG opt_atalk.h
382 SI_DEBUG opt_debug_si.h
383
384 # Fb options
385 FB_DEBUG opt_fb.h
386 FB_INSTALL_CDEV opt_fb.h
387
388 # ppbus related options
389 PERIPH_1284 opt_ppb_1284.h
390 DONTPROBE_1284 opt_ppb_1284.h
391
392 # smbus related options
393 ENABLE_ALART opt_intpm.h
394
395 # These cause changes all over the kernel
396 BLKDEV_IOSIZE opt_global.h
397 DEBUG opt_global.h
398 DEBUG_LOCKS opt_global.h
399 DEBUG_VFS_LOCKS opt_global.h
400 DIAGNOSTIC opt_global.h
401 ENABLE_VFS_IOOPT opt_global.h
402 INVARIANT_SUPPORT opt_global.h
403 INVARIANTS opt_global.h
404 SIMPLELOCK_DEBUG opt_global.h
405 VFS_BIO_DEBUG opt_global.h
406
407 # These are VM related options
408 VM_KMEM_SIZE opt_vm.h
409 VM_KMEM_SIZE_SCALE opt_vm.h
410 VM_KMEM_SIZE_MAX opt_vm.h
411 NO_SWAPPING opt_vm.h
412 PQ_NOOPT opt_vmpage.h
413 PQ_NORMALCACHE opt_vmpage.h
414 PQ_MEDIUMCACHE opt_vmpage.h
415 PQ_LARGECACHE opt_vmpage.h
416 PQ_HUGECACHE opt_vmpage.h
417 PQ_CACHESIZE opt_vmpage.h
418
419 # Standard SMP options
420 SMP opt_global.h
421
422 # sys/netkey
423 KEY
424
425 # Size of the kernel message buffer
426 MSGBUF_SIZE opt_msgbuf.h
427
428 # PCI related options
429 PCI_QUIET opt_pci.h
430 PCI_ENABLE_IO_MODES opt_pci.h
431
432 # NFS options
433 NFS_MINATTRTIMO opt_nfs.h
434 NFS_MAXATTRTIMO opt_nfs.h
435 NFS_MINDIRATTRTIMO opt_nfs.h
436 NFS_MAXDIRATTRTIMO opt_nfs.h
437 NFS_GATHERDELAY opt_nfs.h
438 NFS_UIDHASHSIZ opt_nfs.h
439 NFS_WDELAYHASHSIZ opt_nfs.h
440 NFS_MUIDHASHSIZ opt_nfs.h
441 NFS_NOSERVER opt_nfs.h
442 NFS_DEBUG opt_nfs.h
443
444 # For the Bt848/Bt848A/Bt849/Bt878/Bt879 driver
445 OVERRIDE_CARD opt_bktr.h
446 OVERRIDE_TUNER opt_bktr.h
447 OVERRIDE_DBX opt_bktr.h
448 OVERRIDE_MSP opt_bktr.h
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
463 # meteor opt_meteor.h
464 METEOR_ALLOC_PAGES opt_meteor.h
465 METEOR_TEST_VIDEO opt_meteor.h
466 METEOR_SYSTEM_DEFAULT opt_meteor.h
467 METEOR_DEALLOC_PAGES opt_meteor.h
468 METEOR_DEALLOC_ABOVE opt_meteor.h
469
470 # Various mi ISA bus flags
471 COM_ESP opt_sio.h
472 COM_MULTIPORT opt_sio.h
473 BREAK_TO_DEBUGGER opt_comconsole.h
474 ALT_BREAK_TO_DEBUGGER opt_comconsole.h
475
476 # Include tweaks for running under the SimOS machine simulator.
477 SIMOS opt_simos.h
478
479 # options for bus/device framework
480 BUS_DEBUG opt_bus.h
481 DEVICE_SYSCTLS opt_bus.h
482
483 # options for USB support
484 UHCI_DEBUG opt_usb.h
485 OHCI_DEBUG opt_usb.h
486 USB_DEBUG opt_usb.h
487 UGEN_DEBUG opt_usb.h
488 UHID_DEBUG opt_usb.h
489 UHUB_DEBUG opt_usb.h
490 UKBD_DEBUG opt_usb.h
491 ULPT_DEBUG opt_usb.h
492 UMASS_DEBUG opt_usb.h
493 UMS_DEBUG opt_usb.h
494 UPLCOM_INTR_INTERVAL opt_uplcom.h
495 UVSCOM_DEFAULT_OPKTSIZE opt_uvscom.h
496 UVSCOM_INTR_INTERVAL opt_uvscom.h
497
498 # Vinum options
499 VINUMDEBUG opt_vinum.h
500
501 # Embedded system options
502 UKBD_DFLT_KEYMAP opt_ukbd.h
503 INIT_PATH opt_init_path.h
504
505 ROOTDEVNAME opt_rootdevname.h
506
507 FDC_DEBUG opt_fdc.h
508 PCFCLOCK_VERBOSE opt_pcfclock.h
509 PCFCLOCK_MAX_RETRIES opt_pcfclock.h
510
511 # Polling device handling
512 DEVICE_POLLING opt_global.h
513
514 SOCKBUF_DEBUG opt_global.h
515
516 # bce driver
517 BCE_DEBUG opt_bce.h
518
519 # options for ubsec driver
520 UBSEC_DEBUG opt_ubsec.h
521 UBSEC_RNDTEST opt_ubsec.h
522 UBSEC_NO_RNG opt_ubsec.h
523
524 # options for hifn driver
525 HIFN_DEBUG opt_hifn.h
526 HIFN_RNDTEST opt_hifn.h
527 HIFN_NO_RNG opt_hifn.h
528
529 # options for safe driver
530 SAFE_DEBUG opt_safe.h
531 SAFE_RNDTEST opt_safe.h
532 SAFE_NO_RNG opt_safe.h
533
534 # dcons options
535 DCONS_BUF_SIZE opt_dcons.h
536 DCONS_POLL_HZ opt_dcons.h
537 DCONS_FORCE_CONSOLE opt_dcons.h
538 DCONS_FORCE_GDB opt_dcons.h
Cache object: ba69f80d42750dde1ea7f2596f29b93c
|