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