Deleted Added
full compact
1# $FreeBSD: head/sys/conf/options 79412 2001-07-08 01:04:10Z dd $
1# $FreeBSD: head/sys/conf/options 79561 2001-07-10 21:21:29Z iedowse $
2#
3# On the handling of kernel options
4#
5# All kernel options should be listed in NOTES, with suitable
6# descriptions. Negative options (options that make some code not
7# compile) should be commented out; LINT (generated from NOTES) should
8# compile as much code as possible. Try to structure option-using
9# code so that a single option only switch code on, or only switch
10# code off, to make it possible to have a full compile-test. If
11# necessary, you can 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# "conf/options.<machine>". Options that affect a single source-file
16# <xxx>.[c|s] should be directed into "opt_<xxx>.h", while options
17# that affect multiple files should either go in "opt_global.h" if
18# this is a kernel-wide option (used just about everywhere), or in
19# "opt_<option-name-in-lower-case>.h" if it affect only some files.
20# Note that the effect of listing only an option without a
21# header-file-name in conf/options (and cousins) is that the last
22# 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
34AAC_COMPAT_LINUX opt_aac.h # Enable the linux ioctl interface
35
36AAC_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
44AHC_ALLOW_MEMIO opt_aic7xxx.h # Allow PCI devices to use memory
45 # mapped I/O
46
47AHC_TMODE_ENABLE opt_aic7xxx.h # Bitmap of units to enable
48 # targetmode operations.
49
50AHC_DUMP_EEPROM opt_aic7xxx.h # Dump the contents of our
51 # configuration prom.
52
53AHC_DEBUG_SEQUENCER opt_aic7xxx.h # Enable diagnostic sequencer code
54
55ADW_ALLOW_MEMIO opt_adw.h # Allow PCI devices to use memory
56 # mapped I/O
57
58# Miscellaneous options.
59BLEED
60COMPAT_43 opt_compat.h
61COMPAT_SUNOS opt_compat.h
62COMPILING_LINT opt_global.h
63CY_PCI_FASTINTR
64DDB
65DDB_UNATTENDED opt_ddb.h
66GDB_REMOTE_CHAT opt_ddb.h
67NODEVFS opt_devfs.h
68HW_WDOG
69KTRACE
70LIBICONV
71MD_ROOT opt_md.h
72MD_ROOT_SIZE opt_md.h
73NTIMECOUNTER opt_ntp.h
74NSWAPDEV opt_swap.h
75PPS_SYNC opt_ntp.h
76QUOTA
77SPX_HACK
78SUIDDIR opt_suiddir.h
79SYSVMSG opt_sysvipc.h
80SYSVSEM opt_sysvipc.h
81SYSVSHM opt_sysvipc.h
82SHMALL opt_sysvipc.h
83SHMMAX opt_sysvipc.h
84SHMMAXPGS opt_sysvipc.h
85SHMMIN opt_sysvipc.h
86SHMMNI opt_sysvipc.h
87SHMSEG opt_sysvipc.h
88SEMMAP opt_sysvipc.h
89SEMMNI opt_sysvipc.h
90SEMMNS opt_sysvipc.h
91SEMMNU opt_sysvipc.h
92SEMMSL opt_sysvipc.h
93SEMOPM opt_sysvipc.h
94SEMUME opt_sysvipc.h
95MSGMNB opt_sysvipc.h
96MSGMNI opt_sysvipc.h
97MSGSEG opt_sysvipc.h
98MSGSSZ opt_sysvipc.h
99MSGTQL opt_sysvipc.h
100UCONSOLE
101VFS_AIO
102
103# POSIX kernel options
104P1003_1B opt_posix.h
105_KPOSIX_PRIORITY_SCHEDULING opt_posix.h
106_KPOSIX_VERSION opt_posix.h
107
108# TrustedBSD and POSIX.1e Kernel Options
109CAPABILITIES opt_cap.h
110
111# Do we want the config file compiled into the kernel?
112INCLUDE_CONFIG_FILE opt_config.h
113
114# Options for static file systems. These should only be used at config
115# time, since the corresponding lkms cannot work if there are any static
116# dependencies. Unusability is enforced by hiding the defines for the
117# options in a never-included header.
118CD9660 opt_dontuse.h
119CODA opt_dontuse.h
120EXT2FS opt_dontuse.h
121FDESCFS opt_dontuse.h
122FFS opt_dontuse.h
123IFS opt_dontuse.h
124LINPROCFS opt_dontuse.h
125MSDOSFS opt_dontuse.h
126NULLFS opt_dontuse.h
127NWFS opt_dontuse.h
128PORTALFS opt_dontuse.h
129PROCFS opt_dontuse.h
130PSEUDOFS opt_dontuse.h
131UMAPFS opt_dontuse.h
132NTFS opt_dontuse.h
133HPFS opt_dontuse.h
134UNIONFS opt_dontuse.h
135
136# These static filesystems has one slightly bogus static dependency in
137# sys/i386/i386/autoconf.c. If any of these filesystems are
138# statically compiled into the kernel, code for mounting them as root
139# filesystems will be enabled - but look below.
140NFS
141
142# If you are following the conditions in the copyright,
143# you can enable soft-updates which will speed up a lot of thigs
144# and make the system safer from crashes at the same time.
145# otherwise a STUB module will be compiled in.
146SOFTUPDATES opt_ffs.h
147
148# Enabling this option turns on support for Access Control Lists in UFS,
149# which can be used to support high security configurations. Depends on
150# UFS_EXTATTR.
151UFS_ACL opt_ufs.h
152
153# Enabling this option turns on support for extended attributes in UFS-based
154# file systems, which can be used to support high security configurations
155# as well as new file system features.
156UFS_EXTATTR opt_ufs.h
157UFS_EXTATTR_AUTOSTART opt_ufs.h
158
159# Enable fast hash lookups for large directories on UFS-based filesystems.
160UFS_DIRHASH opt_ufs.h
161
162# The above static dependencies are planned removed, with a
163# <filesystem>_ROOT option to control if it usable as root. This list
164# allows these options to be present in config files already (though
165# they won't make any difference yet).
166NFS_ROOT opt_nfsroot.h
167
168# Options used only in param.c.
169HZ opt_param.h
170MAXFILES opt_param.h
171MAXUSERS opt_param.h
172NBUF opt_param.h
173NMBCLUSTERS opt_param.h
174NSFBUFS opt_param.h
175
176# Generic SCSI options.
177CAM_MAX_HIGHPOWER opt_cam.h
178CAMDEBUG opt_cam.h
179CAM_DEBUG_DELAY opt_cam.h
180CAM_DEBUG_BUS opt_cam.h
181CAM_DEBUG_TARGET opt_cam.h
182CAM_DEBUG_LUN opt_cam.h
183CAM_DEBUG_FLAGS opt_cam.h
184CAM_NEW_TRAN_CODE opt_cam.h
185SCSI_DELAY opt_scsi.h
186SCSI_NO_SENSE_STRINGS opt_scsi.h
187SCSI_NO_OP_STRINGS opt_scsi.h
188
189
190
191# Options used only in cam/scsi/scsi_cd.c
192CHANGER_MIN_BUSY_SECONDS opt_cd.h
193CHANGER_MAX_BUSY_SECONDS opt_cd.h
194
195# Options used only in cam/scsi/scsi_sa.c.
196SA_IO_TIMEOUT opt_sa.h
197SA_SPACE_TIMEOUT opt_sa.h
198SA_REWIND_TIMEOUT opt_sa.h
199SA_ERASE_TIMEOUT opt_sa.h
200SA_1FM_AT_EOD opt_sa.h
201
202# Options used only in cam/scsi/scsi_pt.c
203SCSI_PT_DEFAULT_TIMEOUT opt_pt.h
204
205# Options used only in cam/scsi/scsi_ses.c
206SES_ENABLE_PASSTHROUGH opt_ses.h
207
208# Options used in dev/sym/ (Symbios SCSI driver).
209SYM_SETUP_LP_PROBE_MAP opt_sym.h #-Low Priority Probe Map (bits)
210 # Allows the ncr to take precedence
211 # 1 (1<<0) -> 810a, 860
212 # 2 (1<<1) -> 825a, 875, 885, 895
213 # 4 (1<<2) -> 895a, 896, 1510d
214SYM_SETUP_SCSI_DIFF opt_sym.h #-HVD support for 825a, 875, 885
215 # disabled:0 (default), enabled:1
216SYM_SETUP_PCI_PARITY opt_sym.h #-PCI parity checking
217 # disabled:0, enabled:1 (default)
218SYM_SETUP_MAX_LUN opt_sym.h #-Number of LUNs supported
219 # default:8, range:[1..64]
220
221# Options used only in pci/ncr.c
222SCSI_NCR_DEBUG opt_ncr.h
223SCSI_NCR_MAX_SYNC opt_ncr.h
224SCSI_NCR_MAX_WIDE opt_ncr.h
225SCSI_NCR_MYADDR opt_ncr.h
226
227# Options used only in pci/isp_pci.c
228ISP_TARGET_MODE opt_isp.h
229
230# Options used in the 'ata' ATA/ATAPI driver
231ACD_DEBUG opt_ata.h
232AST_DEBUG opt_ata.h
233ATAPI_DEBUG opt_ata.h
234ATA_DEBUG opt_ata.h
235ATA_STATIC_ID opt_ata.h
236DEV_ATADISK opt_ata.h
237DEV_ATAPICD opt_ata.h
238DEV_ATAPIST opt_ata.h
239DEV_ATAPIFD opt_ata.h
240
241# Resource limits.
242DFLDSIZ opt_rlimit.h
243MAXDSIZ opt_rlimit.h
244
245# Net stuff.
246ACCEPT_FILTER_DATA
247ACCEPT_FILTER_HTTP
248BOOTP opt_bootp.h
249BOOTP_COMPAT opt_bootp.h
250BOOTP_NFSROOT opt_bootp.h
251BOOTP_NFSV3 opt_bootp.h
252BOOTP_WIRED_TO opt_bootp.h
253BRIDGE opt_bdg.h
254ETHER_II opt_ef.h
255ETHER_8023 opt_ef.h
256ETHER_8022 opt_ef.h
257ETHER_SNAP opt_ef.h
258MROUTING opt_mrouting.h
259INET opt_inet.h
260SOMAXCONN opt_inet.h
261INET6 opt_inet6.h
262IPSEC opt_ipsec.h
263IPSEC_ESP opt_ipsec.h
264IPSEC_DEBUG opt_ipsec.h
265IPDIVERT
266DUMMYNET opt_ipdn.h
267IPFILTER opt_ipfilter.h
268IPFILTER_LOG opt_ipfilter.h
269IPFILTER_DEFAULT_BLOCK opt_ipfilter.h
270PFIL_HOOKS opt_pfil_hooks.h
271IPFIREWALL opt_ipfw.h
272IPFIREWALL_VERBOSE opt_ipfw.h
273IPFIREWALL_VERBOSE_LIMIT opt_ipfw.h
274IPFIREWALL_DEFAULT_TO_ACCEPT opt_ipfw.h
275IPFIREWALL_FORWARD opt_ipfw.h
276IPV6FIREWALL opt_ip6fw.h
277IPV6FIREWALL_VERBOSE opt_ip6fw.h
278IPV6FIREWALL_VERBOSE_LIMIT opt_ip6fw.h
279IPV6FIREWALL_DEFAULT_TO_ACCEPT opt_ip6fw.h
280IPSTEALTH
281IPX opt_ipx.h
282IPXIP opt_ipx.h
283IPTUNNEL opt_ipx.h
284LIBMCHAIN
285NCP opt_ncp.h
286NETATALK opt_atalk.h
287PPP_BSDCOMP opt_ppp.h
288PPP_DEFLATE opt_ppp.h
289PPP_FILTER opt_ppp.h
290RANDOM_IP_ID
291SLIP_IFF_OPTS opt_slip.h
292TCPDEBUG
293TCP_DROP_SYNFIN opt_tcp_input.h
294XBONEHACK
295
296# Netgraph(4). Use option NETGRAPH to enable the base netgraph code.
297# Each netgraph node type can be either be compiled into the kernel
298# or loaded dynamically. To get the former, include the corresponding
299# option below. Each type has its own man page, e.g. ng_async(4).
300NETGRAPH
301NETGRAPH_ASYNC opt_netgraph.h
302NETGRAPH_BPF opt_netgraph.h
303NETGRAPH_BRIDGE opt_netgraph.h
304NETGRAPH_CISCO opt_netgraph.h
305NETGRAPH_ECHO opt_netgraph.h
306NETGRAPH_ETHER opt_netgraph.h
307NETGRAPH_FRAME_RELAY opt_netgraph.h
308NETGRAPH_HOLE opt_netgraph.h
309NETGRAPH_IFACE opt_netgraph.h
310NETGRAPH_KSOCKET opt_netgraph.h
311NETGRAPH_LMI opt_netgraph.h
312# MPPC compression requires proprietary files (not included)
313NETGRAPH_MPPC_COMPRESSION opt_netgraph.h
314NETGRAPH_MPPC_ENCRYPTION opt_netgraph.h
315NETGRAPH_ONE2MANY opt_netgraph.h
316NETGRAPH_PPP opt_netgraph.h
317NETGRAPH_PPPOE opt_netgraph.h
318NETGRAPH_PPTPGRE opt_netgraph.h
319NETGRAPH_RFC1490 opt_netgraph.h
320NETGRAPH_SOCKET opt_netgraph.h
321NETGRAPH_TEE opt_netgraph.h
322NETGRAPH_TTY opt_netgraph.h
323NETGRAPH_UI opt_netgraph.h
324NETGRAPH_VJC opt_netgraph.h
325
326# ATM (HARP version)
327ATM_CORE opt_atm.h
328ATM_IP opt_atm.h
329ATM_SIGPVC opt_atm.h
330ATM_SPANS opt_atm.h
331ATM_UNI opt_atm.h
332
333# XXX Conflict: # of devices vs network protocol (Native ATM).
334# This makes "atm.h" unusable.
335NATM opt_natm.h
336
337DPT_ALLOW_MEMIO opt_dpt.h # Allow PCI devices to use memory
338 # mapped I/O
339# DPT driver debug flags
340DPT_MEASURE_PERFORMANCE opt_dpt.h
341DPT_HANDLE_TIMEOUTS opt_dpt.h
342DPT_TIMEOUT_FACTOR opt_dpt.h
343DPT_LOST_IRQ opt_dpt.h
344DPT_RESET_HBA opt_dpt.h
345
346# Adaptec ASR and DPT V/VI controller options
347ASR_MEASURE_PERFORMANCE opt_asr.h
348
349# Misc debug flags. Most of these should probably be replaced with
350# 'DEBUG', and then let people recompile just the interesting modules
351# with 'make CC="cc -DDEBUG"'.
352CLUSTERDEBUG opt_debug_cluster.h
353DEBUG_1284 opt_ppb_1284.h
354VP0_DEBUG opt_vpo.h
355LPT_DEBUG opt_lpt.h
356PLIP_DEBUG opt_plip.h
357LOCKF_DEBUG opt_debug_lockf.h
358LOUTB opt_debug_outb.h
359NPX_DEBUG opt_debug_npx.h
360NETATALKDEBUG opt_atalk.h
361SI_DEBUG opt_debug_si.h
362
363# Fb options
364FB_DEBUG opt_fb.h
365FB_INSTALL_CDEV opt_fb.h
366
367# ppbus related options
368PERIPH_1284 opt_ppb_1284.h
369DONTPROBE_1284 opt_ppb_1284.h
370
371# smbus related options
372ENABLE_ALART opt_intpm.h
373
374# These cause changes all over the kernel
375BLKDEV_IOSIZE opt_global.h
376DEBUG opt_global.h
377DEBUG_LOCKS opt_global.h
378DEBUG_VFS_LOCKS opt_global.h
379DIAGNOSTIC opt_global.h
380ENABLE_VFS_IOOPT opt_global.h
381INVARIANT_SUPPORT opt_global.h
382INVARIANTS opt_global.h
383REGRESSION opt_global.h
384SIMPLELOCK_DEBUG opt_global.h
385VFS_BIO_DEBUG opt_global.h
386
387# These are VM related options
388VM_KMEM_SIZE opt_vm.h
389VM_KMEM_SIZE_SCALE opt_vm.h
390VM_KMEM_SIZE_MAX opt_vm.h
391NO_SWAPPING opt_vm.h
392PQ_NOOPT opt_vmpage.h
393PQ_NORMALCACHE opt_vmpage.h
394PQ_MEDIUMCACHE opt_vmpage.h
395PQ_LARGECACHE opt_vmpage.h
396PQ_HUGECACHE opt_vmpage.h
397PQ_CACHESIZE opt_vmpage.h
398
399# Standard SMP options
400SMP opt_global.h
401
402# sys/netkey
403KEY
404
405# Size of the kernel message buffer
406MSGBUF_SIZE opt_msgbuf.h
407
408# PCI related options
409PCI_QUIET opt_pci.h
410
411# NFS options
412NFS_MINATTRTIMO opt_nfs.h
413NFS_MAXATTRTIMO opt_nfs.h
414NFS_MINDIRATTRTIMO opt_nfs.h
415NFS_MAXDIRATTRTIMO opt_nfs.h
416NFS_GATHERDELAY opt_nfs.h
417NFS_UIDHASHSIZ opt_nfs.h
418NFS_WDELAYHASHSIZ opt_nfs.h
419NFS_MUIDHASHSIZ opt_nfs.h
420NFS_NOSERVER opt_nfs.h
421NFS_DEBUG opt_nfs.h
422
423# For the Bt848/Bt848A/Bt849/Bt878/Bt879 driver
424OVERRIDE_CARD opt_bktr.h
425OVERRIDE_TUNER opt_bktr.h
426OVERRIDE_DBX opt_bktr.h
427OVERRIDE_MSP opt_bktr.h
428BROOKTREE_SYSTEM_DEFAULT opt_bktr.h
429BROOKTREE_ALLOC_PAGES opt_bktr.h
430BKTR_OVERRIDE_CARD opt_bktr.h
431BKTR_OVERRIDE_TUNER opt_bktr.h
432BKTR_OVERRIDE_DBX opt_bktr.h
433BKTR_OVERRIDE_MSP opt_bktr.h
434BKTR_SYSTEM_DEFAULT opt_bktr.h
435BKTR_ALLOC_PAGES opt_bktr.h
436BKTR_USE_PLL opt_bktr.h
437BKTR_GPIO_ACCESS opt_bktr.h
438BKTR_NO_MSP_RESET opt_bktr.h
439BKTR_430_FX_MODE opt_bktr.h
440BKTR_SIS_VIA_MODE opt_bktr.h
441
442# meteor opt_meteor.h
443METEOR_ALLOC_PAGES opt_meteor.h
444METEOR_TEST_VIDEO opt_meteor.h
445METEOR_SYSTEM_DEFAULT opt_meteor.h
446METEOR_DEALLOC_PAGES opt_meteor.h
447METEOR_DEALLOC_ABOVE opt_meteor.h
448
449# Various mi ISA bus flags
450COM_ESP opt_sio.h
451COM_MULTIPORT opt_sio.h
452BREAK_TO_DEBUGGER opt_comconsole.h
453ALT_BREAK_TO_DEBUGGER opt_comconsole.h
454DEV_ISA opt_isa.h
455
456# Include tweaks for running under the SimOS machine simulator.
457SIMOS opt_simos.h
458
459# options for bus/device framework
460BUS_DEBUG opt_bus.h
461DEVICE_SYSCTLS opt_bus.h
462
463# options for USB support
464UHCI_DEBUG opt_usb.h
465OHCI_DEBUG opt_usb.h
466USB_DEBUG opt_usb.h
467UGEN_DEBUG opt_usb.h
468UHID_DEBUG opt_usb.h
469UHUB_DEBUG opt_usb.h
470UKBD_DEBUG opt_usb.h
471ULPT_DEBUG opt_usb.h
472UMASS_DEBUG opt_usb.h
473UMS_DEBUG opt_usb.h
474URIO_DEBUG opt_usb.h
475UKBD_DFLT_KEYMAP opt_ukbd.h
476
477# Vinum options
478VINUMDEBUG opt_vinum.h
479
480# Embedded system options
481INIT_PATH opt_init_path.h
482
483ROOTDEVNAME opt_rootdevname.h
484
485FDC_DEBUG opt_fdc.h
486PCFCLOCK_VERBOSE opt_pcfclock.h
487PCFCLOCK_MAX_RETRIES opt_pcfclock.h
488TDFX_LINUX opt_tdfx.h
489
490KTR opt_global.h
491KTR_MASK opt_ktr.h
492KTR_CPUMASK opt_ktr.h
493KTR_COMPILE opt_global.h
494KTR_ENTRIES opt_global.h
495KTR_EXTEND opt_global.h
496KTR_VERBOSE opt_ktr.h
497MUTEX_DEBUG opt_global.h
498CV_DEBUG opt_global.h
499WITNESS opt_global.h
500WITNESS_DDB opt_witness.h
501WITNESS_SKIPSPIN opt_witness.h
502
503# options for ACPI support
504ACPI_DEBUG opt_acpi.h
505AML_DEBUG opt_acpi.h
506ACPI_NO_ENABLE_ON_BOOT opt_acpi.h
507
508# options for DEVFS, see sys/fs/devfs/devfs.h
509NDEVFSINO opt_devfs.h
510NDEVFSOVERFLOW opt_devfs.h
511
512# various 'device presence' options.
513DEV_MCA opt_mca.h
514DEV_BPF opt_bpf.h