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