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