1c3aac50fSPeter Wemm# $FreeBSD$ 294db1b81SEivind Eklund# 394db1b81SEivind Eklund# On the handling of kernel options 494db1b81SEivind Eklund# 594db1b81SEivind Eklund# All kernel options should be listed in LINT, with suitable 694db1b81SEivind Eklund# descriptions. Negative options (options that make some code not 794db1b81SEivind Eklund# compile) should be commented out; LINT should compile as much code 894db1b81SEivind Eklund# as possible. Try to structure option-using code so that a single 994db1b81SEivind Eklund# option only switch code on, or only switch code off, to make it 10c866ec47SPoul-Henning Kamp# possible to have a full compile-test. If necessary, you can check 113a1c1575SPoul-Henning Kamp# for COMPILING_LINT to get maximum code coverage. 1294db1b81SEivind Eklund# 1394db1b81SEivind Eklund# All new options shall also be listed in either "conf/options" or 1494db1b81SEivind Eklund# "<machine>/conf/options.<machine>". Options that affect a single 1594db1b81SEivind Eklund# source-file <xxx>.[c|s] should be directed into "opt_<xxx>.h", while 1694db1b81SEivind Eklund# options that affect multiple files should either go in 1794db1b81SEivind Eklund# "opt_global.h" if this is a kernel-wide option (used just about 1894db1b81SEivind Eklund# everywhere), or in "opt_<option-name-in-lower-case>.h" if it affect 1994db1b81SEivind Eklund# only some files. Note that the effect of listing only an option 2094db1b81SEivind Eklund# without a header-file-name in conf/options (and cousins) is that the 2194db1b81SEivind Eklund# last convention is followed. 2294db1b81SEivind Eklund# 2394db1b81SEivind Eklund# This handling scheme is not yet fully implemented. 2494db1b81SEivind Eklund# 2594db1b81SEivind Eklund# 2694db1b81SEivind Eklund# Format of this file: 274bd49128SPeter Wemm# Option name filename 2894db1b81SEivind Eklund# 2994db1b81SEivind Eklund# If filename is missing, the default is 3094db1b81SEivind Eklund# opt_<name-of-option-in-lower-case>.h 3181fc841cSBruce Evans 32acf1b64cSJustin T. Gibbs# Adaptec Array Controller driver options 3311151a5bSDirk FroembergAAC_COMPAT_LINUX opt_aac.h # Enable the linux ioctl interface 349fcfed22SScott Long 35acf1b64cSJustin T. GibbsAAC_DEBUG opt_aac.h # Debugging levels: 36acf1b64cSJustin T. Gibbs # 0 - quiet, only emit warnings 37acf1b64cSJustin T. Gibbs # 1 - noisy, emit major function 38acf1b64cSJustin T. Gibbs # points and things done 39acf1b64cSJustin T. Gibbs # 2 - extremely noisy, emit trace 40acf1b64cSJustin T. Gibbs # items in loops, etc. 41acf1b64cSJustin T. Gibbs 42bf21c633SJustin T. Gibbs# Adaptec aic7xxx SCSI controller options 43bf21c633SJustin T. GibbsAHC_ALLOW_MEMIO opt_aic7xxx.h # Allow PCI devices to use memory 44528784edSJustin T. Gibbs # mapped I/O 45bf21c633SJustin T. Gibbs 46bf21c633SJustin T. GibbsAHC_TMODE_ENABLE opt_aic7xxx.h # Bitmap of units to enable 47bf21c633SJustin T. Gibbs # targetmode operations. 48bf21c633SJustin T. Gibbs 4926b40483SJustin T. GibbsAHC_DUMP_EEPROM opt_aic7xxx.h # Dump the contents of our 5026b40483SJustin T. Gibbs # configuration prom. 5126b40483SJustin T. Gibbs 52a08d5a42SJustin T. GibbsAHC_DEBUG_SEQUENCER opt_aic7xxx.h # Enable diagnostic sequencer code 53a08d5a42SJustin T. Gibbs 54528784edSJustin T. GibbsADW_ALLOW_MEMIO opt_adw.h # Allow PCI devices to use memory 55528784edSJustin T. Gibbs # mapped I/O 56528784edSJustin T. Gibbs 573d20a1ffSBruce Evans# Miscellaneous options. 58ba83773eSJohn BaldwinBLEED 59f71bb3a1SEivind EklundCOMPAT_43 opt_compat.h 60f71bb3a1SEivind EklundCOMPAT_SUNOS opt_compat.h 61c866ec47SPoul-Henning KampCOMPILING_LINT opt_global.h 62b8cf6ea7SBruce EvansCY_PCI_FASTINTR 630e41ee30SGarrett WollmanDDB 641664f6f5SPaul TrainaDDB_UNATTENDED opt_ddb.h 65562d05dfSPaul TrainaGDB_REMOTE_CHAT opt_ddb.h 66ab9f3b29SPoul-Henning KampNODEVFS opt_devfs.h 67d94f38acSEivind EklundHW_WDOG 684bd49128SPeter WemmKTRACE 696f2d8adbSBoris PopovLIBICONV 7071e4fff8SPoul-Henning KampMD_ROOT opt_md.h 7171e4fff8SPoul-Henning KampMD_ROOT_SIZE opt_md.h 72c2906d55SPoul-Henning KampNTIMECOUNTER opt_ntp.h 73f71bb3a1SEivind EklundNSWAPDEV opt_swap.h 74e0d781f3SEivind EklundPPS_SYNC opt_ntp.h 753d20a1ffSBruce EvansQUOTA 76cecc50bcSEivind EklundSPX_HACK 77f71bb3a1SEivind EklundSUIDDIR opt_suiddir.h 783d20a1ffSBruce EvansSYSVMSG opt_sysvipc.h 793d20a1ffSBruce EvansSYSVSEM opt_sysvipc.h 803d20a1ffSBruce EvansSYSVSHM opt_sysvipc.h 81255108f3SPeter WemmSHMALL opt_sysvipc.h 82255108f3SPeter WemmSHMMAX opt_sysvipc.h 83255108f3SPeter WemmSHMMAXPGS opt_sysvipc.h 84255108f3SPeter WemmSHMMIN opt_sysvipc.h 85255108f3SPeter WemmSHMMNI opt_sysvipc.h 86255108f3SPeter WemmSHMSEG opt_sysvipc.h 87ab063af9SPeter WemmSEMMAP opt_sysvipc.h 88ab063af9SPeter WemmSEMMNI opt_sysvipc.h 89ab063af9SPeter WemmSEMMNS opt_sysvipc.h 90ab063af9SPeter WemmSEMMNU opt_sysvipc.h 91ab063af9SPeter WemmSEMMSL opt_sysvipc.h 92ab063af9SPeter WemmSEMOPM opt_sysvipc.h 93ab063af9SPeter WemmSEMUME opt_sysvipc.h 94ab063af9SPeter WemmMSGMNB opt_sysvipc.h 95ab063af9SPeter WemmMSGMNI opt_sysvipc.h 96ab063af9SPeter WemmMSGSEG opt_sysvipc.h 97ab063af9SPeter WemmMSGSSZ opt_sysvipc.h 98ab063af9SPeter WemmMSGTQL opt_sysvipc.h 993d20a1ffSBruce EvansUCONSOLE 100dd85920aSJason EvansVFS_AIO 101d03b4017SBruce Evans 1028a6472b7SPeter Dufault# POSIX kernel options 1038a6472b7SPeter DufaultP1003_1B opt_posix.h 1048a6472b7SPeter Dufault_KPOSIX_PRIORITY_SCHEDULING opt_posix.h 1058a6472b7SPeter Dufault_KPOSIX_VERSION opt_posix.h 106917e476dSPeter Dufault 107a996141fSRobert Watson# TrustedBSD and POSIX.1e Kernel Options 108a996141fSRobert WatsonCAPABILITIES opt_cap.h 109a996141fSRobert Watson 110808129f0SPeter Wemm# Do we want the config file compiled into the kernel? 111808129f0SPeter WemmINCLUDE_CONFIG_FILE opt_config.h 112808129f0SPeter Wemm 113d03b4017SBruce Evans# Options for static file systems. These should only be used at config 114d03b4017SBruce Evans# time, since the corresponding lkms cannot work if there are any static 115d03b4017SBruce Evans# dependencies. Unusability is enforced by hiding the defines for the 116d03b4017SBruce Evans# options in a never-included header. 117bcf77694SPeter WemmCD9660 opt_dontuse.h 118bcf77694SPeter WemmCODA opt_dontuse.h 119f41991baSEivind EklundEXT2FS opt_dontuse.h 12099d300a1SRuslan ErmilovFDESCFS opt_dontuse.h 121bcf77694SPeter WemmFFS opt_dontuse.h 122bcf77694SPeter WemmIFS opt_dontuse.h 123dc765d22SDag-Erling SmørgravLINPROCFS opt_dontuse.h 124f41991baSEivind EklundMSDOSFS opt_dontuse.h 125d03b4017SBruce EvansNULLFS opt_dontuse.h 126bcf77694SPeter WemmNWFS opt_dontuse.h 12799d300a1SRuslan ErmilovPORTALFS opt_dontuse.h 128d03b4017SBruce EvansPROCFS opt_dontuse.h 12936b2d3b7SDag-Erling SmørgravPSEUDOFS opt_dontuse.h 130d03b4017SBruce EvansUMAPFS opt_dontuse.h 1317e8dac41SSemen UstimenkoNTFS opt_dontuse.h 1320adb9b96SPeter WemmHPFS opt_dontuse.h 13399d300a1SRuslan ErmilovUNIONFS opt_dontuse.h 134d03b4017SBruce Evans 1357b778b5eSEivind Eklund# These static filesystems has one slightly bogus static dependency in 1367b778b5eSEivind Eklund# sys/i386/i386/autoconf.c. If any of these filesystems are 1377b778b5eSEivind Eklund# statically compiled into the kernel, code for mounting them as root 138bcf77694SPeter Wemm# filesystems will be enabled - but look below. 1397b778b5eSEivind EklundNFS 1405a9714deSJoerg Wunsch 141b1897c19SJulian Elischer# If you are following the conditions in the copyright, 142b1897c19SJulian Elischer# you can enable soft-updates which will speed up a lot of thigs 143b1897c19SJulian Elischer# and make the system safer from crashes at the same time. 144b1897c19SJulian Elischer# otherwise a STUB module will be compiled in. 145b1897c19SJulian ElischerSOFTUPDATES opt_ffs.h 146b1897c19SJulian Elischer 147a70f2747SRobert Watson# Enabling this option turns on support for Access Control Lists in UFS, 148a70f2747SRobert Watson# which can be used to support high security configurations. Depends on 149a70f2747SRobert Watson# UFS_EXTATTR. 150a70f2747SRobert WatsonUFS_ACL opt_ufs.h 151a70f2747SRobert Watson 152516081f2SRobert Watson# Enabling this option turns on support for extended attributes in UFS-based 153516081f2SRobert Watson# file systems, which can be used to support high security configurations 154a64ed089SRobert Watson# as well as new file system features. 155516081f2SRobert WatsonUFS_EXTATTR opt_ufs.h 156516081f2SRobert WatsonUFS_EXTATTR_AUTOSTART opt_ufs.h 157a64ed089SRobert Watson 1587b778b5eSEivind Eklund# The above static dependencies are planned removed, with a 1597b778b5eSEivind Eklund# <filesystem>_ROOT option to control if it usable as root. This list 1607b778b5eSEivind Eklund# allows these options to be present in config files already (though 1617b778b5eSEivind Eklund# they won't make any difference yet). 162df394affSJohn-Mark GurneyNFS_ROOT opt_nfsroot.h 1637b778b5eSEivind Eklund 16481fc841cSBruce Evans# Options used only in param.c. 16534f3320eSKenjiro ChoHZ opt_param.h 1665a00f364SDag-Erling SmørgravMAXFILES opt_param.h 16795de6ecfSBruce EvansMAXUSERS opt_param.h 1683d20a1ffSBruce EvansNBUF opt_param.h 1694bd49128SPeter WemmNMBCLUSTERS opt_param.h 170dd0b2081SDavid GreenmanNSFBUFS opt_param.h 17181fc841cSBruce Evans 17281fc841cSBruce Evans# Generic SCSI options. 173bf21c633SJustin T. GibbsCAM_MAX_HIGHPOWER opt_cam.h 174bf21c633SJustin T. GibbsCAMDEBUG opt_cam.h 175da56bbefSJustin T. GibbsCAM_DEBUG_DELAY opt_cam.h 176bf21c633SJustin T. GibbsCAM_DEBUG_BUS opt_cam.h 177bf21c633SJustin T. GibbsCAM_DEBUG_TARGET opt_cam.h 178bf21c633SJustin T. GibbsCAM_DEBUG_LUN opt_cam.h 179bf21c633SJustin T. GibbsCAM_DEBUG_FLAGS opt_cam.h 180d73ce756SMatt JacobCAM_NEW_TRAN_CODE opt_cam.h 1813d20a1ffSBruce EvansSCSI_DELAY opt_scsi.h 182bf21c633SJustin T. GibbsSCSI_NO_SENSE_STRINGS opt_scsi.h 183bf21c633SJustin T. GibbsSCSI_NO_OP_STRINGS opt_scsi.h 184bf21c633SJustin T. Gibbs 185d73ce756SMatt Jacob 186d73ce756SMatt Jacob 187bf21c633SJustin T. Gibbs# Options used only in cam/scsi/scsi_cd.c 188bf21c633SJustin T. GibbsCHANGER_MIN_BUSY_SECONDS opt_cd.h 189bf21c633SJustin T. GibbsCHANGER_MAX_BUSY_SECONDS opt_cd.h 19081fc841cSBruce Evans 1913ece1bd2SKenneth D. Merry# Options used only in cam/scsi/scsi_sa.c. 192b29f9e40SMatt JacobSA_IO_TIMEOUT opt_sa.h 1939dfb4471SKenneth D. MerrySA_SPACE_TIMEOUT opt_sa.h 1949dfb4471SKenneth D. MerrySA_REWIND_TIMEOUT opt_sa.h 1959dfb4471SKenneth D. MerrySA_ERASE_TIMEOUT opt_sa.h 196cb02c78aSMatt JacobSA_1FM_AT_EOD opt_sa.h 197c30bc9dbSJoerg Wunsch 1983ece1bd2SKenneth D. Merry# Options used only in cam/scsi/scsi_pt.c 1993ece1bd2SKenneth D. MerrySCSI_PT_DEFAULT_TIMEOUT opt_pt.h 2003ece1bd2SKenneth D. Merry 20152e48164SMatt Jacob# Options used only in cam/scsi/scsi_ses.c 20252e48164SMatt JacobSES_ENABLE_PASSTHROUGH opt_ses.h 20352e48164SMatt Jacob 204410605d1SDavid E. O'Brien# Options used in dev/sym/ (Symbios SCSI driver). 205410605d1SDavid E. O'BrienSYM_SETUP_LP_PROBE_MAP opt_sym.h #-Low Priority Probe Map (bits) 206410605d1SDavid E. O'Brien # Allows the ncr to take precedence 207410605d1SDavid E. O'Brien # 1 (1<<0) -> 810a, 860 208410605d1SDavid E. O'Brien # 2 (1<<1) -> 825a, 875, 885, 895 209410605d1SDavid E. O'Brien # 4 (1<<2) -> 895a, 896, 1510d 210410605d1SDavid E. O'BrienSYM_SETUP_SCSI_DIFF opt_sym.h #-HVD support for 825a, 875, 885 211410605d1SDavid E. O'Brien # disabled:0 (default), enabled:1 212410605d1SDavid E. O'BrienSYM_SETUP_PCI_PARITY opt_sym.h #-PCI parity checking 213410605d1SDavid E. O'Brien # disabled:0, enabled:1 (default) 214410605d1SDavid E. O'BrienSYM_SETUP_MAX_LUN opt_sym.h #-Number of LUNs supported 215410605d1SDavid E. O'Brien # default:8, range:[1..64] 216410605d1SDavid E. O'Brien 21721ffa5aeSStefan Eßer# Options used only in pci/ncr.c 2183d20a1ffSBruce EvansSCSI_NCR_DEBUG opt_ncr.h 219a5bef142SBruce EvansSCSI_NCR_MAX_SYNC opt_ncr.h 220a5bef142SBruce EvansSCSI_NCR_MAX_WIDE opt_ncr.h 2213d20a1ffSBruce EvansSCSI_NCR_MYADDR opt_ncr.h 22221ffa5aeSStefan Eßer 2233fc2ba4dSMatt Jacob# Options used only in pci/isp_pci.c 22473e1de92SMatt JacobISP_TARGET_MODE opt_isp.h 2253fc2ba4dSMatt Jacob 2261a2d9854SSøren Schmidt# Options used in the 'ata' ATA/ATAPI driver 227b41686b9SDag-Erling SmørgravACD_DEBUG opt_ata.h 228b41686b9SDag-Erling SmørgravAST_DEBUG opt_ata.h 229b41686b9SDag-Erling SmørgravATAPI_DEBUG opt_ata.h 230b41686b9SDag-Erling SmørgravATA_DEBUG opt_ata.h 2311a2d9854SSøren SchmidtATA_STATIC_ID opt_ata.h 232358f1800SPeter WemmDEV_ATADISK opt_ata.h 233358f1800SPeter WemmDEV_ATAPICD opt_ata.h 234358f1800SPeter WemmDEV_ATAPIST opt_ata.h 235358f1800SPeter WemmDEV_ATAPIFD opt_ata.h 2361a2d9854SSøren Schmidt 23781fc841cSBruce Evans# Resource limits. 238e9822d92SJoerg WunschDFLDSIZ opt_rlimit.h 2393d20a1ffSBruce EvansMAXDSIZ opt_rlimit.h 24081fc841cSBruce Evans 24181fc841cSBruce Evans# Net stuff. 242a79b7128SAlfred PerlsteinACCEPT_FILTER_DATA 243a79b7128SAlfred PerlsteinACCEPT_FILTER_HTTP 244e4f4247aSEivind EklundBOOTP opt_bootp.h 245e4f4247aSEivind EklundBOOTP_COMPAT opt_bootp.h 246e4f4247aSEivind EklundBOOTP_NFSROOT opt_bootp.h 247e4f4247aSEivind EklundBOOTP_NFSV3 opt_bootp.h 2488f7030a7STor EggeBOOTP_WIRED_TO opt_bootp.h 249508d0661SLuigi RizzoBRIDGE opt_bdg.h 2505d94d71cSBoris PopovETHER_II opt_ef.h 2515d94d71cSBoris PopovETHER_8023 opt_ef.h 2525d94d71cSBoris PopovETHER_8022 opt_ef.h 2535d94d71cSBoris PopovETHER_SNAP opt_ef.h 2544bd49128SPeter WemmMROUTING opt_mrouting.h 2551d5e9e22SEivind EklundINET opt_inet.h 2567bbd138eSAlfred PerlsteinSOMAXCONN opt_inet.h 257cfa1ca9dSYoshinobu InoueINET6 opt_inet6.h 2586a800098SYoshinobu InoueIPSEC opt_ipsec.h 2596a800098SYoshinobu InoueIPSEC_ESP opt_ipsec.h 2606a800098SYoshinobu InoueIPSEC_DEBUG opt_ipsec.h 261fbd1372aSJoerg WunschIPDIVERT 262508d0661SLuigi RizzoDUMMYNET opt_ipdn.h 2639cc86ee9SGuido van RooijIPFILTER opt_ipfilter.h 2649cc86ee9SGuido van RooijIPFILTER_LOG opt_ipfilter.h 265276dd937SDarren ReedIPFILTER_DEFAULT_BLOCK opt_ipfilter.h 2660656ae02SDarren ReedPFIL_HOOKS opt_pfil_hooks.h 26774a9466cSGary PalmerIPFIREWALL opt_ipfw.h 26874a9466cSGary PalmerIPFIREWALL_VERBOSE opt_ipfw.h 269fb260479SBruce EvansIPFIREWALL_VERBOSE_LIMIT opt_ipfw.h 270ffdd472dSPeter WemmIPFIREWALL_DEFAULT_TO_ACCEPT opt_ipfw.h 271cdcc2613SJulian ElischerIPFIREWALL_FORWARD opt_ipfw.h 272210d0432SYoshinobu InoueIPV6FIREWALL opt_ip6fw.h 273210d0432SYoshinobu InoueIPV6FIREWALL_VERBOSE opt_ip6fw.h 274210d0432SYoshinobu InoueIPV6FIREWALL_VERBOSE_LIMIT opt_ip6fw.h 275210d0432SYoshinobu InoueIPV6FIREWALL_DEFAULT_TO_ACCEPT opt_ip6fw.h 2761b968362SDag-Erling SmørgravIPSTEALTH 277430df5f4SEivind EklundIPX opt_ipx.h 278430df5f4SEivind EklundIPXIP opt_ipx.h 279430df5f4SEivind EklundIPTUNNEL opt_ipx.h 280d8589bd5SBoris PopovLIBMCHAIN 281e83e2322SBoris PopovNCP opt_ncp.h 2827262d3e4SEivind EklundNETATALK opt_atalk.h 28313c49711SPeter WemmPPP_BSDCOMP opt_ppp.h 28413c49711SPeter WemmPPP_DEFLATE opt_ppp.h 285d41238deSPeter WemmPPP_FILTER opt_ppp.h 28664dddc18SKris KennawayRANDOM_IP_ID 287875f3161SDag-Erling SmørgravSLIP_IFF_OPTS opt_slip.h 2880cc12cc5SJoerg WunschTCPDEBUG 289e46cd3d4SDag-Erling SmørgravTCP_DROP_SYNFIN opt_tcp_input.h 290914594eaSKris KennawayXBONEHACK 2913458e54aSJulian Elischer 2924cf49a43SJulian Elischer# Netgraph(4). Use option NETGRAPH to enable the base netgraph code. 2934cf49a43SJulian Elischer# Each netgraph node type can be either be compiled into the kernel 2944cf49a43SJulian Elischer# or loaded dynamically. To get the former, include the corresponding 295ed2dbd31SArchie Cobbs# option below. Each type has its own man page, e.g. ng_async(4). 2964cf49a43SJulian ElischerNETGRAPH 2974cf49a43SJulian ElischerNETGRAPH_ASYNC opt_netgraph.h 29892a3e552SArchie CobbsNETGRAPH_BPF opt_netgraph.h 299ed2dbd31SArchie CobbsNETGRAPH_BRIDGE opt_netgraph.h 3004cf49a43SJulian ElischerNETGRAPH_CISCO opt_netgraph.h 3014cf49a43SJulian ElischerNETGRAPH_ECHO opt_netgraph.h 302e1e1452dSArchie CobbsNETGRAPH_ETHER opt_netgraph.h 3034cf49a43SJulian ElischerNETGRAPH_FRAME_RELAY opt_netgraph.h 3044cf49a43SJulian ElischerNETGRAPH_HOLE opt_netgraph.h 3054cf49a43SJulian ElischerNETGRAPH_IFACE opt_netgraph.h 3066e874711SArchie CobbsNETGRAPH_KSOCKET opt_netgraph.h 3074cf49a43SJulian ElischerNETGRAPH_LMI opt_netgraph.h 308a2b408adSArchie Cobbs# MPPC compression requires proprietary files (not included) 309a2b408adSArchie CobbsNETGRAPH_MPPC_COMPRESSION opt_netgraph.h 310a2b408adSArchie CobbsNETGRAPH_MPPC_ENCRYPTION opt_netgraph.h 3117d7a5b89SArchie CobbsNETGRAPH_ONE2MANY opt_netgraph.h 3126827c8feSArchie CobbsNETGRAPH_PPP opt_netgraph.h 3136827c8feSArchie CobbsNETGRAPH_PPPOE opt_netgraph.h 314add85a1dSArchie CobbsNETGRAPH_PPTPGRE opt_netgraph.h 3154cf49a43SJulian ElischerNETGRAPH_RFC1490 opt_netgraph.h 3164cf49a43SJulian ElischerNETGRAPH_SOCKET opt_netgraph.h 3174cf49a43SJulian ElischerNETGRAPH_TEE opt_netgraph.h 3184cf49a43SJulian ElischerNETGRAPH_TTY opt_netgraph.h 3194cf49a43SJulian ElischerNETGRAPH_UI opt_netgraph.h 32006e36c4dSJulian ElischerNETGRAPH_VJC opt_netgraph.h 3214cf49a43SJulian Elischer 3223f8c4506SPoul-Henning Kamp# ATM (HARP version) 3233f8c4506SPoul-Henning KampATM_CORE opt_atm.h 3243f8c4506SPoul-Henning KampATM_IP opt_atm.h 3253f8c4506SPoul-Henning KampATM_SIGPVC opt_atm.h 3263f8c4506SPoul-Henning KampATM_SPANS opt_atm.h 3273f8c4506SPoul-Henning KampATM_UNI opt_atm.h 3283f8c4506SPoul-Henning Kamp 329e0d781f3SEivind Eklund# XXX Conflict: # of devices vs network protocol (Native ATM). 330e0d781f3SEivind Eklund# This makes "atm.h" unusable. 331e0d781f3SEivind EklundNATM opt_natm.h 332e0d781f3SEivind Eklund 333528784edSJustin T. GibbsDPT_ALLOW_MEMIO opt_dpt.h # Allow PCI devices to use memory 334528784edSJustin T. Gibbs # mapped I/O 3353458e54aSJulian Elischer# DPT driver debug flags 3363458e54aSJulian ElischerDPT_MEASURE_PERFORMANCE opt_dpt.h 3373458e54aSJulian ElischerDPT_HANDLE_TIMEOUTS opt_dpt.h 3383458e54aSJulian ElischerDPT_TIMEOUT_FACTOR opt_dpt.h 3393458e54aSJulian ElischerDPT_LOST_IRQ opt_dpt.h 340b755b885SEivind EklundDPT_RESET_HBA opt_dpt.h 3413f2076daSEivind Eklund 342444476fdSMike Smith# Adaptec ASR and DPT V/VI controller options 343444476fdSMike SmithASR_MEASURE_PERFORMANCE opt_asr.h 344444476fdSMike Smith 3453f2076daSEivind Eklund# Misc debug flags. Most of these should probably be replaced with 3463f2076daSEivind Eklund# 'DEBUG', and then let people recompile just the interesting modules 347fdf94d1aSNicolas Souchu# with 'make CC="cc -DDEBUG"'. 3483f2076daSEivind EklundCLUSTERDEBUG opt_debug_cluster.h 349a6de7b79SNicolas SouchuDEBUG_1284 opt_ppb_1284.h 350a6de7b79SNicolas SouchuVP0_DEBUG opt_vpo.h 351fdf94d1aSNicolas SouchuLPT_DEBUG opt_lpt.h 3527b7bf77eSNicolas SouchuPLIP_DEBUG opt_plip.h 3533f2076daSEivind EklundLOCKF_DEBUG opt_debug_lockf.h 3543f2076daSEivind EklundLOUTB opt_debug_outb.h 3553f2076daSEivind EklundNPX_DEBUG opt_debug_npx.h 3563f2076daSEivind EklundNETATALKDEBUG opt_atalk.h 3573f2076daSEivind EklundSI_DEBUG opt_debug_si.h 3583f2076daSEivind Eklund 359909232c4SEivind Eklund# Fb options 360909232c4SEivind EklundFB_DEBUG opt_fb.h 361909232c4SEivind EklundFB_INSTALL_CDEV opt_fb.h 362909232c4SEivind Eklund 36304fb1490SNicolas Souchu# ppbus related options 36404fb1490SNicolas SouchuPERIPH_1284 opt_ppb_1284.h 36504fb1490SNicolas SouchuDONTPROBE_1284 opt_ppb_1284.h 36604fb1490SNicolas Souchu 36704fb1490SNicolas Souchu# smbus related options 36804fb1490SNicolas SouchuENABLE_ALART opt_intpm.h 3693f2076daSEivind Eklund 37014834de4SEivind Eklund# These cause changes all over the kernel 371909232c4SEivind EklundBLKDEV_IOSIZE opt_global.h 37214834de4SEivind EklundDEBUG opt_global.h 37315a1057cSEivind EklundDEBUG_LOCKS opt_global.h 3745526d2d9SEivind EklundDEBUG_VFS_LOCKS opt_global.h 37514834de4SEivind EklundDIAGNOSTIC opt_global.h 376b1a7842bSJohn DysonENABLE_VFS_IOOPT opt_global.h 37734b15f2aSJohn BaldwinINVARIANT_SUPPORT opt_global.h 3785526d2d9SEivind EklundINVARIANTS opt_global.h 3790b5438c6SRobert WatsonREGRESSION opt_global.h 3805526d2d9SEivind EklundSIMPLELOCK_DEBUG opt_global.h 3815526d2d9SEivind EklundVFS_BIO_DEBUG opt_global.h 382d9bed5beSJohn Dyson 383d9bed5beSJohn Dyson# These are VM related options 384d9bed5beSJohn DysonVM_KMEM_SIZE opt_vm.h 385d9bed5beSJohn DysonVM_KMEM_SIZE_SCALE opt_vm.h 386d9bed5beSJohn DysonVM_KMEM_SIZE_MAX opt_vm.h 387faa5f8d8SAndrzej BialeckiNO_SWAPPING opt_vm.h 38820f71813SJohn-Mark GurneyPQ_NOOPT opt_vmpage.h 38920f71813SJohn-Mark GurneyPQ_NORMALCACHE opt_vmpage.h 39020f71813SJohn-Mark GurneyPQ_MEDIUMCACHE opt_vmpage.h 39120f71813SJohn-Mark GurneyPQ_LARGECACHE opt_vmpage.h 39220f71813SJohn-Mark GurneyPQ_HUGECACHE opt_vmpage.h 3939a20f99aSJohn BaldwinPQ_CACHESIZE opt_vmpage.h 39420f71813SJohn-Mark Gurney 395ecd19816SMike Smith# Standard SMP options 396ecd19816SMike SmithSMP opt_global.h 397751bf650SJun-ichiro itojun Hagino 398751bf650SJun-ichiro itojun Hagino# sys/netkey 399751bf650SJun-ichiro itojun HaginoKEY 40058067a99SPoul-Henning Kamp 40158067a99SPoul-Henning Kamp# Size of the kernel message buffer 40258067a99SPoul-Henning KampMSGBUF_SIZE opt_msgbuf.h 403ecbb00a2SDoug Rabson 404e261d589SJohn-Mark Gurney# PCI related options 405e261d589SJohn-Mark GurneyPCI_QUIET opt_pci.h 406e261d589SJohn-Mark Gurney 407df394affSJohn-Mark Gurney# NFS options 408df394affSJohn-Mark GurneyNFS_MINATTRTIMO opt_nfs.h 409df394affSJohn-Mark GurneyNFS_MAXATTRTIMO opt_nfs.h 410df394affSJohn-Mark GurneyNFS_MINDIRATTRTIMO opt_nfs.h 411df394affSJohn-Mark GurneyNFS_MAXDIRATTRTIMO opt_nfs.h 412df394affSJohn-Mark GurneyNFS_GATHERDELAY opt_nfs.h 413df394affSJohn-Mark GurneyNFS_UIDHASHSIZ opt_nfs.h 414df394affSJohn-Mark GurneyNFS_WDELAYHASHSIZ opt_nfs.h 415df394affSJohn-Mark GurneyNFS_MUIDHASHSIZ opt_nfs.h 416df394affSJohn-Mark GurneyNFS_NOSERVER opt_nfs.h 417df394affSJohn-Mark GurneyNFS_DEBUG opt_nfs.h 418df394affSJohn-Mark Gurney 41924e89aa8SRoger Hardiman# For the Bt848/Bt848A/Bt849/Bt878/Bt879 driver 4205cd2d295SRoger HardimanOVERRIDE_CARD opt_bktr.h 4215cd2d295SRoger HardimanOVERRIDE_TUNER opt_bktr.h 4225cd2d295SRoger HardimanOVERRIDE_DBX opt_bktr.h 4235cd2d295SRoger HardimanOVERRIDE_MSP opt_bktr.h 4245cd2d295SRoger HardimanBROOKTREE_SYSTEM_DEFAULT opt_bktr.h 42563883894SRoger HardimanBROOKTREE_ALLOC_PAGES opt_bktr.h 42663883894SRoger HardimanBKTR_OVERRIDE_CARD opt_bktr.h 42763883894SRoger HardimanBKTR_OVERRIDE_TUNER opt_bktr.h 42863883894SRoger HardimanBKTR_OVERRIDE_DBX opt_bktr.h 42963883894SRoger HardimanBKTR_OVERRIDE_MSP opt_bktr.h 43063883894SRoger HardimanBKTR_SYSTEM_DEFAULT opt_bktr.h 43163883894SRoger HardimanBKTR_ALLOC_PAGES opt_bktr.h 4325cd2d295SRoger HardimanBKTR_USE_PLL opt_bktr.h 4335cd2d295SRoger HardimanBKTR_GPIO_ACCESS opt_bktr.h 4345cd2d295SRoger HardimanBKTR_NO_MSP_RESET opt_bktr.h 4355cd2d295SRoger HardimanBKTR_430_FX_MODE opt_bktr.h 4365cd2d295SRoger HardimanBKTR_SIS_VIA_MODE opt_bktr.h 43758dde31aSSøren Schmidt 438afc2d1c7SJordan K. Hubbard# meteor opt_meteor.h 439afc2d1c7SJordan K. HubbardMETEOR_ALLOC_PAGES opt_meteor.h 440afc2d1c7SJordan K. HubbardMETEOR_TEST_VIDEO opt_meteor.h 441afc2d1c7SJordan K. HubbardMETEOR_SYSTEM_DEFAULT opt_meteor.h 442afc2d1c7SJordan K. HubbardMETEOR_DEALLOC_PAGES opt_meteor.h 443afc2d1c7SJordan K. HubbardMETEOR_DEALLOC_ABOVE opt_meteor.h 444afc2d1c7SJordan K. Hubbard 4456f42b336SPeter Wemm# Various mi ISA bus flags 4466f42b336SPeter WemmCOM_ESP opt_sio.h 4476f42b336SPeter WemmCOM_MULTIPORT opt_sio.h 448909232c4SEivind EklundBREAK_TO_DEBUGGER opt_comconsole.h 44926b6ea69SPaul SaabALT_BREAK_TO_DEBUGGER opt_comconsole.h 45003927d3cSPeter WemmDEV_ISA opt_isa.h 4516f42b336SPeter Wemm 452ecbb00a2SDoug Rabson# Include tweaks for running under the SimOS machine simulator. 453ecbb00a2SDoug RabsonSIMOS opt_simos.h 454709f2df6SDoug Rabson 455709f2df6SDoug Rabson# options for bus/device framework 456709f2df6SDoug RabsonBUS_DEBUG opt_bus.h 45787263c3cSPeter WemmDEVICE_SYSCTLS opt_bus.h 4580cec007cSNick Hibma 4590cec007cSNick Hibma# options for USB support 4607dc1a5bdSNick HibmaUHCI_DEBUG opt_usb.h 4617dc1a5bdSNick HibmaOHCI_DEBUG opt_usb.h 4620cec007cSNick HibmaUSB_DEBUG opt_usb.h 4637dc1a5bdSNick HibmaUGEN_DEBUG opt_usb.h 4647dc1a5bdSNick HibmaUHID_DEBUG opt_usb.h 4657dc1a5bdSNick HibmaUHUB_DEBUG opt_usb.h 4667dc1a5bdSNick HibmaUKBD_DEBUG opt_usb.h 4677dc1a5bdSNick HibmaULPT_DEBUG opt_usb.h 4685628cc31SNick HibmaUMASS_DEBUG opt_usb.h 4697dc1a5bdSNick HibmaUMS_DEBUG opt_usb.h 470e2dbd15fSNick HibmaURIO_DEBUG opt_usb.h 471f548daf0SJohn BaldwinUKBD_DFLT_KEYMAP opt_ukbd.h 472a9d45962SPeter Wemm 473a9d45962SPeter Wemm# Vinum options 474a9d45962SPeter WemmVINUMDEBUG opt_vinum.h 4759775e378SJohn Birrell 4769775e378SJohn Birrell# Embedded system options 4779775e378SJohn BirrellINIT_PATH opt_init_path.h 478b307e58fSPoul-Henning Kamp 479b307e58fSPoul-Henning KampROOTDEVNAME opt_rootdevname.h 480814ce988SDoug Rabson 481814ce988SDoug RabsonFDC_DEBUG opt_fdc.h 4823b2d592cSJordan K. HubbardPCFCLOCK_VERBOSE opt_pcfclock.h 4833b2d592cSJordan K. HubbardPCFCLOCK_MAX_RETRIES opt_pcfclock.h 4849147e09eSColeman KaneTDFX_LINUX opt_tdfx.h 485b1f12b61STakanori Watanabe 4860384fff8SJason EvansKTR opt_global.h 487d8f03321SJohn BaldwinKTR_MASK opt_ktr.h 488d8f03321SJohn BaldwinKTR_CPUMASK opt_ktr.h 4890384fff8SJason EvansKTR_COMPILE opt_global.h 4900384fff8SJason EvansKTR_ENTRIES opt_global.h 4910384fff8SJason EvansKTR_EXTEND opt_global.h 492d8f03321SJohn BaldwinKTR_VERBOSE opt_ktr.h 49336412d79SJohn BaldwinMUTEX_DEBUG opt_global.h 494238510fcSJason EvansCV_DEBUG opt_global.h 4950384fff8SJason EvansWITNESS opt_global.h 496660d1e3aSJohn BaldwinWITNESS_DDB opt_witness.h 497660d1e3aSJohn BaldwinWITNESS_SKIPSPIN opt_witness.h 4980384fff8SJason Evans 499b1f12b61STakanori Watanabe# options for ACPI support 500b1f12b61STakanori WatanabeACPI_DEBUG opt_acpi.h 501b1f12b61STakanori WatanabeAML_DEBUG opt_acpi.h 502b1f12b61STakanori WatanabeACPI_NO_ENABLE_ON_BOOT opt_acpi.h 50393bcdfe2SPoul-Henning Kamp 50493bcdfe2SPoul-Henning Kamp# options for DEVFS, see sys/fs/devfs/devfs.h 50593bcdfe2SPoul-Henning KampNDEVFSINO opt_devfs.h 50693bcdfe2SPoul-Henning KampNDEVFSOVERFLOW opt_devfs.h 507810d0bd1SPeter Wemm 508810d0bd1SPeter Wemm# various 'device presence' options. 509f444a0efSPeter WemmDEV_MCA opt_mca.h 5105bb5f2c9SPeter WemmDEV_BPF opt_bpf.h 511