1# $Id: options,v 1.113 1998/12/28 16:31:26 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 47DDB 48DDB_UNATTENDED opt_ddb.h 49GDB_REMOTE_CHAT opt_ddb.h 50DEVFS 51FAILSAFE 52HW_WDOG 53KTRACE 54MD5 55MFS_ROOT opt_mfs.h 56MFS_ROOT_SIZE opt_mfs.h 57NTIMECOUNTER opt_ntp.h 58EXPORTMFS opt_mfs.h 59NO_LKM 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. 127MAXUSERS opt_param.h 128MSGMNB opt_param.h 129MSGMNI opt_param.h 130MSGSEG opt_param.h 131MSGSSZ opt_param.h 132MSGTQL opt_param.h 133NBUF opt_param.h 134NMBCLUSTERS opt_param.h 135NSFBUFS opt_param.h 136SEMMAP opt_param.h 137SEMMNI opt_param.h 138SEMMNS opt_param.h 139SEMMNU opt_param.h 140SEMMSL opt_param.h 141SEMOPM opt_param.h 142SEMUME opt_param.h 143SHMALL opt_param.h 144SHMMAX opt_param.h 145SHMMAXPGS opt_param.h 146SHMMIN opt_param.h 147SHMMNI opt_param.h 148SHMSEG opt_param.h 149 150# Generic SCSI options. 151CAM_MAX_HIGHPOWER opt_cam.h 152CAMDEBUG opt_cam.h 153CAM_DEBUG_BUS opt_cam.h 154CAM_DEBUG_TARGET opt_cam.h 155CAM_DEBUG_LUN opt_cam.h 156CAM_DEBUG_FLAGS opt_cam.h 157SCSI_DELAY opt_scsi.h 158SCSI_REPORT_GEOMETRY opt_scsi.h 159SCSI_NO_SENSE_STRINGS opt_scsi.h 160SCSI_NO_OP_STRINGS opt_scsi.h 161 162# Options used only in cam/scsi/scsi_cd.c 163CHANGER_MIN_BUSY_SECONDS opt_cd.h 164CHANGER_MAX_BUSY_SECONDS opt_cd.h 165 166# Options used only in cam/scsi/sa.c. 167SA_SPACE_TIMEOUT opt_sa.h 168SA_REWIND_TIMEOUT opt_sa.h 169SA_ERASE_TIMEOUT opt_sa.h 170 171# Options used only in pci/ncr.c 172SCSI_NCR_DEBUG opt_ncr.h 173SCSI_NCR_DFLT_TAGS opt_ncr.h 174SCSI_NCR_MAX_SYNC opt_ncr.h 175SCSI_NCR_MAX_WIDE opt_ncr.h 176SCSI_NCR_MYADDR opt_ncr.h 177 178# Resource limits. 179DFLDSIZ opt_rlimit.h 180MAXDSIZ opt_rlimit.h 181 182# Net stuff. 183BOOTP opt_bootp.h 184BOOTP_COMPAT opt_bootp.h 185BOOTP_NFSROOT opt_bootp.h 186BOOTP_NFSV3 opt_bootp.h 187BOOTP_WIRED_TO opt_bootp.h 188BRIDGE opt_bdg.h 189MROUTING opt_mrouting.h 190INET opt_inet.h 191IPDIVERT 192DUMMYNET opt_ipdn.h 193IPFIREWALL opt_ipfw.h 194IPFIREWALL_VERBOSE opt_ipfw.h 195IPFIREWALL_VERBOSE_LIMIT opt_ipfw.h 196IPFIREWALL_DEFAULT_TO_ACCEPT opt_ipfw.h 197IPFIREWALL_FORWARD opt_ipfw.h 198IPX opt_ipx.h 199IPXIP opt_ipx.h 200IPTUNNEL opt_ipx.h 201NETATALK opt_atalk.h 202PPP_BSDCOMP opt_ppp.h 203PPP_DEFLATE opt_ppp.h 204PPP_FILTER opt_ppp.h 205TCP_COMPAT_42 opt_compat.h 206TCPDEBUG 207IPFILTER opt_ipfilter.h 208IPFILTER_LOG opt_ipfilter.h 209IPFILTER_LKM opt_ipfilter.h 210 211# ATM (HARP version) 212ATM_CORE opt_atm.h 213ATM_IP opt_atm.h 214ATM_SIGPVC opt_atm.h 215ATM_SPANS opt_atm.h 216ATM_UNI opt_atm.h 217 218# XXX Conflict: # of devices vs network protocol (Native ATM). 219# This makes "atm.h" unusable. 220NATM opt_natm.h 221 222DPT_ALLOW_MEMIO opt_dpt.h # Allow PCI devices to use memory 223 # mapped I/O 224# DPT driver debug flags 225DPT_VERIFY_HINTR opt_dpt.h 226DPT_USE_SINTR opt_dpt.h 227DPT_RESTRICTED_FREELIST opt_dpt.h 228DPT_MEASURE_PERFORMANCE opt_dpt.h 229DPT_FREELIST_IS_STACK opt_dpt.h 230DPT_HANDLE_TIMEOUTS opt_dpt.h 231DPT_TIMEOUT_FACTOR opt_dpt.h 232DPT_INTR_DELAY opt_dpt.h 233DPT_LOST_IRQ opt_dpt.h 234DPT_SHUTDOWN_SLEEP opt_dpt.h 235DPT_RESET_HBA opt_dpt.h 236 237# Misc debug flags. Most of these should probably be replaced with 238# 'DEBUG', and then let people recompile just the interesting modules 239# with 'make CC="cc -DDEBUG'. 240CLUSTERDEBUG opt_debug_cluster.h 241DEBUG_1284 opt_debug_1284.h 242LOCKF_DEBUG opt_debug_lockf.h 243LOUTB opt_debug_outb.h 244NPX_DEBUG opt_debug_npx.h 245NETATALKDEBUG opt_atalk.h 246NULLFS_DIAGNOSTIC opt_debug_nullfs.h 247SI_DEBUG opt_debug_si.h 248 249 250# These cause changes all over the kernel 251DEBUG opt_global.h 252DEBUG_VFS_LOCKS opt_global.h 253DIAGNOSTIC opt_global.h 254ENABLE_VFS_IOOPT opt_global.h 255INVARIANT_SUPPORT opt_global.h 256INVARIANTS opt_global.h 257SIMPLELOCK_DEBUG opt_global.h 258VFS_BIO_DEBUG opt_global.h 259 260# These are VM related options 261VM_KMEM_SIZE opt_vm.h 262VM_KMEM_SIZE_SCALE opt_vm.h 263VM_KMEM_SIZE_MAX opt_vm.h 264NO_SWAPPING opt_vm.h 265PQ_NOOPT opt_vmpage.h 266PQ_NORMALCACHE opt_vmpage.h 267PQ_MEDIUMCACHE opt_vmpage.h 268PQ_LARGECACHE opt_vmpage.h 269PQ_HUGECACHE opt_vmpage.h 270 271# Standard SMP options 272SMP opt_global.h 273NCPU opt_smp.h 274NBUS opt_smp.h 275 276# sys/netkey 277KEY 278KEY_DEBUG opt_key.h 279 280# Size of the kernel message buffer 281MSGBUF_SIZE opt_msgbuf.h 282 283# PCI related options 284PCI_QUIET opt_pci.h 285 286# NFS options 287NFS_MINATTRTIMO opt_nfs.h 288NFS_MAXATTRTIMO opt_nfs.h 289NFS_MINDIRATTRTIMO opt_nfs.h 290NFS_MAXDIRATTRTIMO opt_nfs.h 291NFS_GATHERDELAY opt_nfs.h 292NFS_UIDHASHSIZ opt_nfs.h 293NFS_WDELAYHASHSIZ opt_nfs.h 294NFS_MUIDHASHSIZ opt_nfs.h 295NFS_NOSERVER opt_nfs.h 296NFS_DEBUG opt_nfs.h 297 298# give bktr an opt_bktr.h file 299OVERRIDE_CARD opt_bktr.h 300OVERRIDE_TUNER opt_bktr.h 301OVERRIDE_DBX opt_bktr.h 302OVERRIDE_MSP opt_bktr.h 303BROOKTREE_SYSTEM_DEFAULT opt_bktr.h 304BKTR_USE_PLL opt_bktr.h 305 306 307# meteor opt_meteor.h 308METEOR_ALLOC_PAGES opt_meteor.h 309METEOR_TEST_VIDEO opt_meteor.h 310METEOR_SYSTEM_DEFAULT opt_meteor.h 311METEOR_DEALLOC_PAGES opt_meteor.h 312METEOR_DEALLOC_ABOVE opt_meteor.h 313 314# Include tweaks for running under the SimOS machine simulator. 315SIMOS opt_simos.h 316 317# options for bus/device framework 318BUS_DEBUG opt_bus.h 319 320# options for USB support 321USB_DEBUG opt_usb.h 322USBVERBOSE opt_usb.h 323 324# Vinum options 325VINUMDEBUG opt_vinum.h 326