1# $Id: options,v 1.97 1998/09/15 09:59:15 gibbs Exp $ 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 aic7xxx SCSI controller options 34AHC_ALLOW_MEMIO opt_aic7xxx.h # Allow PCI devices to use memory 35 # mapped I/o 36 37AHC_TMODE_ENABLE opt_aic7xxx.h # Bitmap of units to enable 38 # targetmode operations. 39 40# Miscellaneous options. 41BOUNCE_BUFFERS opt_bounce.h 42COMPAT_43 opt_compat.h 43COMPAT_SUNOS opt_compat.h 44COMPILING_LINT opt_lint.h 45DDB 46DDB_UNATTENDED opt_ddb.h 47GDB_REMOTE_CHAT opt_ddb.h 48DB_KLD_SYMBOLS opt_ddb.h 49DB_ELF_SYMBOLS opt_ddb.h 50DEVFS 51FAILSAFE 52HW_WDOG 53KTRACE 54MD5 55MFS_AUTOLOAD opt_mfs.h 56MFS_ROOT opt_mfs.h 57EXPORTMFS opt_mfs.h 58NO_LKM 59NSWAPDEV opt_swap.h 60PPS_SYNC opt_ntp.h 61QUOTA 62SPX_HACK 63SUIDDIR opt_suiddir.h 64SYSVMSG opt_sysvipc.h 65SYSVSEM opt_sysvipc.h 66SYSVSHM opt_sysvipc.h 67UCONSOLE 68 69# POSIX kernel options 70P1003_1B opt_posix.h 71_KPOSIX_PRIORITY_SCHEDULING opt_posix.h 72_KPOSIX_VERSION opt_posix.h 73 74# Do we want the config file compiled into the kernel? 75INCLUDE_CONFIG_FILE opt_config.h 76 77# Options for static file systems. These should only be used at config 78# time, since the corresponding lkms cannot work if there are any static 79# dependencies. Unusability is enforced by hiding the defines for the 80# options in a never-included header. 81EXT2FS opt_dontuse.h 82FDESC opt_dontuse.h 83KERNFS opt_dontuse.h 84MFS opt_dontuse.h 85MSDOSFS opt_dontuse.h 86NULLFS opt_dontuse.h 87PORTAL opt_dontuse.h 88PROCFS opt_dontuse.h 89UMAPFS opt_dontuse.h 90 91# These static filesystems has one slightly bogus static dependency in 92# sys/i386/i386/autoconf.c. If any of these filesystems are 93# statically compiled into the kernel, code for mounting them as root 94# filesystems will be enabled - but look below. Boot-code is purposely 95# unavailable for the LKM-based versions. 96CODA 97CD9660 98FFS 99NFS 100 101# If you are following the conditions in the copyright, 102# you can enable soft-updates which will speed up a lot of thigs 103# and make the system safer from crashes at the same time. 104# otherwise a STUB module will be compiled in. 105SOFTUPDATES opt_ffs.h 106 107# The above static dependencies are planned removed, with a 108# <filesystem>_ROOT option to control if it usable as root. This list 109# allows these options to be present in config files already (though 110# they won't make any difference yet). 111CD9660_ROOT opt_cd9660.h 112FFS_ROOT opt_ffs.h 113NFS_ROOT opt_nfsroot.h 114 115# Multi-session CD-Rs might require a huge amount of time in order to 116# "settle". If we are about mounting them as the root f/s, we gotta 117# wait a little. 118CD9660_ROOTDELAY opt_cd9660.h 119 120# The union static file system has bogus static dependencies, so it isn't 121# hidden yet. 122UNION 123 124# Options used only in param.c. 125MAXUSERS opt_param.h 126MSGMNB opt_param.h 127MSGMNI opt_param.h 128MSGSEG opt_param.h 129MSGSSZ opt_param.h 130MSGTQL opt_param.h 131NBUF opt_param.h 132NMBCLUSTERS opt_param.h 133SEMMAP opt_param.h 134SEMMNI opt_param.h 135SEMMNS opt_param.h 136SEMMNU opt_param.h 137SEMMSL opt_param.h 138SEMOPM opt_param.h 139SEMUME opt_param.h 140SHMALL opt_param.h 141SHMMAX opt_param.h 142SHMMAXPGS opt_param.h 143SHMMIN opt_param.h 144SHMMNI opt_param.h 145SHMSEG opt_param.h 146 147# Generic SCSI options. 148CAM_MAX_HIGHPOWER opt_cam.h 149CAMDEBUG opt_cam.h 150CAM_DEBUG_BUS opt_cam.h 151CAM_DEBUG_TARGET opt_cam.h 152CAM_DEBUG_LUN opt_cam.h 153CAM_DEBUG_FLAGS opt_cam.h 154SCSI_CAM opt_scsi.h 155SCSI_DELAY opt_scsi.h 156SCSI_REPORT_GEOMETRY opt_scsi.h 157SCSI_NO_SENSE_STRINGS opt_scsi.h 158SCSI_NO_OP_STRINGS opt_scsi.h 159 160# Options used only in cam/scsi/scsi_cd.c 161CHANGER_MIN_BUSY_SECONDS opt_cd.h 162CHANGER_MAX_BUSY_SECONDS opt_cd.h 163 164# Options used only in scsi/od.c. 165OD_AUTO_TURNOFF opt_od.h 166OD_BOGUS_NOT_READY opt_od.h 167 168# Options used only in pci/ncr.c 169SCSI_NCR_DEBUG opt_ncr.h 170SCSI_NCR_DFLT_TAGS opt_ncr.h 171SCSI_NCR_MAX_SYNC opt_ncr.h 172SCSI_NCR_MAX_WIDE opt_ncr.h 173SCSI_NCR_MYADDR opt_ncr.h 174 175# Resource limits. 176DFLDSIZ opt_rlimit.h 177MAXDSIZ opt_rlimit.h 178 179# Net stuff. 180BOOTP opt_bootp.h 181BOOTP_COMPAT opt_bootp.h 182BOOTP_NFSROOT opt_bootp.h 183BOOTP_NFSV3 opt_bootp.h 184BOOTP_WIRED_TO opt_bootp.h 185MROUTING opt_mrouting.h 186INET opt_inet.h 187IPDIVERT 188IPFIREWALL opt_ipfw.h 189IPFIREWALL_VERBOSE opt_ipfw.h 190IPFIREWALL_VERBOSE_LIMIT opt_ipfw.h 191IPFIREWALL_DEFAULT_TO_ACCEPT opt_ipfw.h 192IPFIREWALL_FORWARD opt_ipfw.h 193IPX opt_ipx.h 194IPXIP opt_ipx.h 195IPTUNNEL opt_ipx.h 196NETATALK opt_atalk.h 197PPP_BSDCOMP opt_ppp.h 198PPP_DEFLATE opt_ppp.h 199PPP_FILTER opt_ppp.h 200TCP_COMPAT_42 opt_compat.h 201TCPDEBUG 202IPFILTER opt_ipfilter.h 203IPFILTER_LOG opt_ipfilter.h 204IPFILTER_LKM opt_ipfilter.h 205 206# ATM (HARP version) 207ATM_CORE opt_atm.h 208ATM_IP opt_atm.h 209ATM_SIGPVC opt_atm.h 210ATM_SPANS opt_atm.h 211ATM_UNI opt_atm.h 212 213# XXX Conflict: # of devices vs network protocol (Native ATM). 214# This makes "atm.h" unusable. 215NATM opt_natm.h 216 217# DPT driver debug flags 218DPT_VERIFY_HINTR opt_dpt.h 219DPT_USE_SINTR opt_dpt.h 220DPT_RESTRICTED_FREELIST opt_dpt.h 221DPT_MEASURE_PERFORMANCE opt_dpt.h 222DPT_FREELIST_IS_STACK opt_dpt.h 223DPT_HANDLE_TIMEOUTS opt_dpt.h 224DPT_TIMEOUT_FACTOR opt_dpt.h 225DPT_INTR_DELAY opt_dpt.h 226DPT_LOST_IRQ opt_dpt.h 227DPT_SHUTDOWN_SLEEP opt_dpt.h 228DPT_RESET_HBA opt_dpt.h 229 230# Misc debug flags. Most of these should probably be replaced with 231# 'DEBUG', and then let people recompile just the interesting modules 232# with 'make CC="cc -DDEBUG'. 233CLUSTERDEBUG opt_debug_cluster.h 234DEBUG_1284 opt_debug_1284.h 235LOCKF_DEBUG opt_debug_lockf.h 236LOUTB opt_debug_outb.h 237NPX_DEBUG opt_debug_npx.h 238NETATALKDEBUG opt_atalk.h 239NULLFS_DIAGNOSTIC opt_debug_nullfs.h 240SI_DEBUG opt_debug_si.h 241 242 243# These cause changes all over the kernel 244DEBUG opt_global.h 245DIAGNOSTIC opt_global.h 246SIMPLELOCK_DEBUG opt_global.h 247ENABLE_VFS_IOOPT opt_global.h 248 249# These are VM related options 250VM_KMEM_SIZE opt_vm.h 251VM_KMEM_SIZE_SCALE opt_vm.h 252VM_KMEM_SIZE_MAX opt_vm.h 253PQ_NOOPT opt_vmpage.h 254PQ_NORMALCACHE opt_vmpage.h 255PQ_MEDIUMCACHE opt_vmpage.h 256PQ_LARGECACHE opt_vmpage.h 257PQ_HUGECACHE opt_vmpage.h 258 259 260# sys/netkey 261KEY 262KEY_DEBUG opt_key.h 263 264# Size of the kernel message buffer 265MSGBUF_SIZE opt_msgbuf.h 266 267# PCI related options 268PCI_QUIET opt_pci.h 269 270# NFS options 271NFS_MINATTRTIMO opt_nfs.h 272NFS_MAXATTRTIMO opt_nfs.h 273NFS_MINDIRATTRTIMO opt_nfs.h 274NFS_MAXDIRATTRTIMO opt_nfs.h 275NFS_GATHERDELAY opt_nfs.h 276NFS_UIDHASHSIZ opt_nfs.h 277NFS_WDELAYHASHSIZ opt_nfs.h 278NFS_MUIDHASHSIZ opt_nfs.h 279NFS_NOSERVER opt_nfs.h 280NFS_DEBUG opt_nfs.h 281 282# give bktr an opt_bktr.h file 283OVERRIDE_CARD opt_bktr.h 284OVERRIDE_TUNER opt_bktr.h 285OVERRIDE_DBX opt_bktr.h 286OVERRIDE_MSP opt_bktr.h 287BROOKTREE_SYSTEM_DEFAULT opt_bktr.h 288BKTR_USE_PLL opt_bktr.h 289 290 291# meteor opt_meteor.h 292METEOR_ALLOC_PAGES opt_meteor.h 293METEOR_TEST_VIDEO opt_meteor.h 294METEOR_SYSTEM_DEFAULT opt_meteor.h 295METEOR_DEALLOC_PAGES opt_meteor.h 296METEOR_DEALLOC_ABOVE opt_meteor.h 297 298# Include tweaks for running under the SimOS machine simulator. 299SIMOS opt_simos.h 300