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 affects 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 33AAC_DEBUG opt_aac.h 34AHC_ALLOW_MEMIO opt_aic7xxx.h 35AHC_TMODE_ENABLE opt_aic7xxx.h 36AHC_DUMP_EEPROM opt_aic7xxx.h 37AHC_DEBUG opt_aic7xxx.h 38AHC_DEBUG_OPTS opt_aic7xxx.h 39AHC_REG_PRETTY_PRINT opt_aic7xxx.h 40AHD_DEBUG opt_aic79xx.h 41AHD_DEBUG_OPTS opt_aic79xx.h 42AHD_TMODE_ENABLE opt_aic79xx.h 43AHD_REG_PRETTY_PRINT opt_aic79xx.h 44ADW_ALLOW_MEMIO opt_adw.h 45 46TWA_DEBUG opt_twa.h 47TWA_FLASH_FIRMWARE opt_twa.h 48 49# Debugging options. 50DDB 51DDB_NUMSYM opt_ddb.h 52GDB 53KDB opt_global.h 54KDB_TRACE opt_kdb.h 55KDB_UNATTENDED opt_kdb.h 56SYSCTL_DEBUG opt_sysctl.h 57 58NO_SYSCTL_DESCR opt_global.h 59 60# Miscellaneous options. 61ADAPTIVE_GIANT opt_adaptive_mutexes.h 62ADAPTIVE_SX 63ALQ 64AUDIT opt_global.h 65CODA_COMPAT_5 opt_coda.h 66COMPAT_43 opt_compat.h 67COMPAT_43TTY opt_compat.h 68COMPAT_FREEBSD4 opt_compat.h 69COMPAT_FREEBSD5 opt_compat.h 70COMPAT_FREEBSD6 opt_compat.h 71COMPILING_LINT opt_global.h 72CY_PCI_FASTINTR 73DIRECTIO 74FULL_PREEMPTION opt_sched.h 75IPI_PREEMPTION opt_sched.h 76GEOM_AES opt_geom.h 77GEOM_BDE opt_geom.h 78GEOM_BSD opt_geom.h 79GEOM_CACHE opt_geom.h 80GEOM_CONCAT opt_geom.h 81GEOM_ELI opt_geom.h 82GEOM_FOX opt_geom.h 83GEOM_GATE opt_geom.h 84GEOM_JOURNAL opt_geom.h 85GEOM_LABEL opt_geom.h 86GEOM_MBR opt_geom.h 87GEOM_MIRROR opt_geom.h 88GEOM_MULTIPATH opt_geom.h 89GEOM_NOP opt_geom.h 90GEOM_PART_APM opt_geom.h 91GEOM_PART_GPT opt_geom.h 92GEOM_PART_MBR opt_geom.h 93GEOM_PC98 opt_geom.h 94GEOM_RAID3 opt_geom.h 95GEOM_SHSEC opt_geom.h 96GEOM_STRIPE opt_geom.h 97GEOM_SUNLABEL opt_geom.h 98GEOM_UZIP opt_geom.h 99GEOM_VOL opt_geom.h 100GEOM_ZERO opt_geom.h 101KSE opt_global.h 102KSTACK_MAX_PAGES 103KSTACK_PAGES 104KTRACE 105KTRACE_REQUEST_POOL opt_ktrace.h 106LIBICONV 107MAC 108MAC_ALWAYS_LABEL_MBUF opt_mac.h 109MAC_BIBA opt_dontuse.h 110MAC_BSDEXTENDED opt_dontuse.h 111MAC_IFOFF opt_dontuse.h 112MAC_LOMAC opt_dontuse.h 113MAC_MLS opt_dontuse.h 114MAC_NONE opt_dontuse.h 115MAC_PARTITION opt_dontuse.h 116MAC_PORTACL opt_dontuse.h 117MAC_SEEOTHERUIDS opt_dontuse.h 118MAC_STATIC opt_mac.h 119MAC_STUB opt_dontuse.h 120MAC_TEST opt_dontuse.h 121MD_ROOT opt_md.h 122MD_ROOT_SIZE opt_md.h 123MFI_DEBUG opt_mfi.h 124MFI_DECODE_LOG opt_mfi.h 125MPROF_BUFFERS opt_mprof.h 126MPROF_HASH_SIZE opt_mprof.h 127NO_ADAPTIVE_MUTEXES opt_adaptive_mutexes.h 128NO_ADAPTIVE_RWLOCKS 129NSWBUF_MIN opt_swap.h 130MBUF_PACKET_ZONE_DISABLE opt_global.h 131PANIC_REBOOT_WAIT_TIME opt_panic.h 132PPC_DEBUG opt_ppc.h 133PPC_PROBE_CHIPSET opt_ppc.h 134PPS_SYNC opt_ntp.h 135PREEMPTION opt_sched.h 136QUOTA 137SCHED_4BSD opt_sched.h 138SCHED_ULE opt_sched.h 139SHOW_BUSYBUFS 140SLEEPQUEUE_PROFILING 141SLHCI_DEBUG opt_slhci.h 142SPX_HACK 143SUIDDIR 144MSGMNB opt_sysvipc.h 145MSGMNI opt_sysvipc.h 146MSGSEG opt_sysvipc.h 147MSGSSZ opt_sysvipc.h 148MSGTQL opt_sysvipc.h 149SEMMAP opt_sysvipc.h 150SEMMNI opt_sysvipc.h 151SEMMNS opt_sysvipc.h 152SEMMNU opt_sysvipc.h 153SEMMSL opt_sysvipc.h 154SEMOPM opt_sysvipc.h 155SEMUME opt_sysvipc.h 156SHMALL opt_sysvipc.h 157SHMMAX opt_sysvipc.h 158SHMMAXPGS opt_sysvipc.h 159SHMMIN opt_sysvipc.h 160SHMMNI opt_sysvipc.h 161SHMSEG opt_sysvipc.h 162SYSVMSG opt_sysvipc.h 163SYSVSEM opt_sysvipc.h 164SYSVSHM opt_sysvipc.h 165SW_WATCHDOG opt_watchdog.h 166TURNSTILE_PROFILING 167TTYHOG opt_tty.h 168VFS_AIO 169VERBOSE_SYSINIT opt_global.h 170WLCACHE opt_wavelan.h 171WLDEBUG opt_wavelan.h 172 173# POSIX kernel options 174P1003_1B_MQUEUE opt_posix.h 175P1003_1B_SEMAPHORES opt_posix.h 176_KPOSIX_PRIORITY_SCHEDULING opt_posix.h 177 178# Do we want the config file compiled into the kernel? 179INCLUDE_CONFIG_FILE opt_config.h 180 181# Options for static filesystems. These should only be used at config 182# time, since the corresponding lkms cannot work if there are any static 183# dependencies. Unusability is enforced by hiding the defines for the 184# options in a never-included header. 185CD9660 opt_dontuse.h 186CODA opt_dontuse.h 187EXT2FS opt_dontuse.h 188FDESCFS opt_dontuse.h 189HPFS opt_dontuse.h 190MSDOSFS opt_dontuse.h 191NTFS opt_dontuse.h 192NULLFS opt_dontuse.h 193NWFS opt_dontuse.h 194PORTALFS opt_dontuse.h 195PROCFS opt_dontuse.h 196PSEUDOFS opt_dontuse.h 197REISERFS opt_dontuse.h 198SMBFS opt_dontuse.h 199TMPFS opt_dontuse.h 200UDF opt_dontuse.h 201UNIONFS opt_dontuse.h 202 203# Pseudofs debugging 204PSEUDOFS_TRACE opt_pseudofs.h 205 206# Broken - ffs_snapshot() dependency from ufs_lookup() :-( 207FFS opt_ffs_broken_fixme.h 208 209# These static filesystems have one slightly bogus static dependency in 210# sys/i386/i386/autoconf.c. If any of these filesystems are 211# statically compiled into the kernel, code for mounting them as root 212# filesystems will be enabled - but look below. 213NFSCLIENT opt_nfs.h 214NFSSERVER opt_nfs.h 215NFS4CLIENT opt_nfs.h 216 217# filesystems and libiconv bridge 218CD9660_ICONV opt_dontuse.h 219MSDOSFS_ICONV opt_dontuse.h 220NTFS_ICONV opt_dontuse.h 221UDF_ICONV opt_dontuse.h 222 223# If you are following the conditions in the copyright, 224# you can enable soft-updates which will speed up a lot of thigs 225# and make the system safer from crashes at the same time. 226# otherwise a STUB module will be compiled in. 227SOFTUPDATES opt_ffs.h 228 229# On small, embedded systems, it can be useful to turn off support for 230# snapshots. It saves about 30-40k for a feature that would be lightly 231# used, if it is used at all. 232NO_FFS_SNAPSHOT opt_ffs.h 233 234# Enabling this option turns on support for Access Control Lists in UFS, 235# which can be used to support high security configurations. Depends on 236# UFS_EXTATTR. 237UFS_ACL opt_ufs.h 238 239# Enabling this option turns on support for extended attributes in UFS-based 240# filesystems, which can be used to support high security configurations 241# as well as new filesystem features. 242UFS_EXTATTR opt_ufs.h 243UFS_EXTATTR_AUTOSTART opt_ufs.h 244 245# Enable fast hash lookups for large directories on UFS-based filesystems. 246UFS_DIRHASH opt_ufs.h 247 248# Enable gjournal-based UFS journal. 249UFS_GJOURNAL opt_ufs.h 250 251# The below sentence is not in English, and neither is this one. 252# We plan to remove the static dependences above, with a 253# <filesystem>_ROOT option to control if it usable as root. This list 254# allows these options to be present in config files already (though 255# they won't make any difference yet). 256NFS_ROOT opt_nfsroot.h 257 258# SMB/CIFS requester 259NETSMB opt_netsmb.h 260 261# Options used only in subr_param.c. 262HZ opt_param.h 263MAXFILES opt_param.h 264NBUF opt_param.h 265NSFBUFS opt_param.h 266VM_BCACHE_SIZE_MAX opt_param.h 267VM_SWZONE_SIZE_MAX opt_param.h 268MAXUSERS 269DFLDSIZ opt_param.h 270MAXDSIZ opt_param.h 271MAXSSIZ opt_param.h 272 273# Generic SCSI options. 274CAM_MAX_HIGHPOWER opt_cam.h 275CAMDEBUG opt_cam.h 276CAM_DEBUG_DELAY opt_cam.h 277CAM_DEBUG_BUS opt_cam.h 278CAM_DEBUG_TARGET opt_cam.h 279CAM_DEBUG_LUN opt_cam.h 280CAM_DEBUG_FLAGS opt_cam.h 281SCSI_DELAY opt_scsi.h 282SCSI_NO_SENSE_STRINGS opt_scsi.h 283SCSI_NO_OP_STRINGS opt_scsi.h 284 285# Options used only in cam/scsi/scsi_cd.c 286CHANGER_MIN_BUSY_SECONDS opt_cd.h 287CHANGER_MAX_BUSY_SECONDS opt_cd.h 288 289# Options used only in cam/scsi/scsi_sa.c. 290SA_IO_TIMEOUT opt_sa.h 291SA_SPACE_TIMEOUT opt_sa.h 292SA_REWIND_TIMEOUT opt_sa.h 293SA_ERASE_TIMEOUT opt_sa.h 294SA_1FM_AT_EOD opt_sa.h 295 296# Options used only in cam/scsi/scsi_pt.c 297SCSI_PT_DEFAULT_TIMEOUT opt_pt.h 298 299# Options used only in cam/scsi/scsi_ses.c 300SES_ENABLE_PASSTHROUGH opt_ses.h 301 302# Options used in dev/sym/ (Symbios SCSI driver). 303SYM_SETUP_LP_PROBE_MAP opt_sym.h #-Low Priority Probe Map (bits) 304 # Allows the ncr to take precedence 305 # 1 (1<<0) -> 810a, 860 306 # 2 (1<<1) -> 825a, 875, 885, 895 307 # 4 (1<<2) -> 895a, 896, 1510d 308SYM_SETUP_SCSI_DIFF opt_sym.h #-HVD support for 825a, 875, 885 309 # disabled:0 (default), enabled:1 310SYM_SETUP_PCI_PARITY opt_sym.h #-PCI parity checking 311 # disabled:0, enabled:1 (default) 312SYM_SETUP_MAX_LUN opt_sym.h #-Number of LUNs supported 313 # default:8, range:[1..64] 314 315# Options used only in pci/ncr.c 316SCSI_NCR_DEBUG opt_ncr.h 317SCSI_NCR_MAX_SYNC opt_ncr.h 318SCSI_NCR_MAX_WIDE opt_ncr.h 319SCSI_NCR_MYADDR opt_ncr.h 320 321# Options used only in dev/isp/* 322ISP_TARGET_MODE opt_isp.h 323ISP_FW_CRASH_DUMP opt_isp.h 324ISP_DEFAULT_ROLES opt_isp.h 325 326# Options used only in dev/iscsi 327ISCSI_INITIATOR_DEBUG opt_iscsi_initiator.h 328 329# Options used in the 'ata' ATA/ATAPI driver 330ATA_STATIC_ID opt_ata.h 331ATA_NOPCI opt_ata.h 332 333# Net stuff. 334ACCEPT_FILTER_DATA 335ACCEPT_FILTER_HTTP 336ALTQ opt_global.h 337ALTQ_CBQ opt_altq.h 338ALTQ_RED opt_altq.h 339ALTQ_RIO opt_altq.h 340ALTQ_HFSC opt_altq.h 341ALTQ_CDNR opt_altq.h 342ALTQ_PRIQ opt_altq.h 343ALTQ_NOPCC opt_altq.h 344ALTQ_DEBUG opt_altq.h 345BOOTP opt_bootp.h 346BOOTP_COMPAT opt_bootp.h 347BOOTP_NFSROOT opt_bootp.h 348BOOTP_NFSV3 opt_bootp.h 349BOOTP_WIRED_TO opt_bootp.h 350DEVICE_POLLING 351DEV_ENC opt_enc.h 352DEV_PF opt_pf.h 353DEV_PFLOG opt_pf.h 354DEV_PFSYNC opt_pf.h 355PF_MPSAFE_UGID opt_pf.h 356ETHER_II opt_ef.h 357ETHER_8023 opt_ef.h 358ETHER_8022 opt_ef.h 359ETHER_SNAP opt_ef.h 360MROUTING opt_mrouting.h 361INET opt_inet.h 362INET6 opt_inet6.h 363IPSEC opt_ipsec.h 364IPSEC_DEBUG opt_ipsec.h
|