1c3aac50fSPeter Wemm# $FreeBSD$ 294db1b81SEivind Eklund# 394db1b81SEivind Eklund# On the handling of kernel options 494db1b81SEivind Eklund# 586bbbabaSDima Dorfman# All kernel options should be listed in NOTES, with suitable 694db1b81SEivind Eklund# descriptions. Negative options (options that make some code not 74718c85aSDima Dorfman# compile) should be commented out; LINT (generated from NOTES) should 84718c85aSDima Dorfman# compile as much code as possible. Try to structure option-using 94718c85aSDima Dorfman# code so that a single option only switch code on, or only switch 104718c85aSDima Dorfman# code off, to make it possible to have a full compile-test. If 114718c85aSDima Dorfman# necessary, you can check for COMPILING_LINT to get maximum code 124718c85aSDima Dorfman# coverage. 1394db1b81SEivind Eklund# 1494db1b81SEivind Eklund# All new options shall also be listed in either "conf/options" or 154718c85aSDima Dorfman# "conf/options.<machine>". Options that affect a single source-file 164718c85aSDima Dorfman# <xxx>.[c|s] should be directed into "opt_<xxx>.h", while options 174718c85aSDima Dorfman# that affect multiple files should either go in "opt_global.h" if 184718c85aSDima Dorfman# this is a kernel-wide option (used just about everywhere), or in 194718c85aSDima Dorfman# "opt_<option-name-in-lower-case>.h" if it affect only some files. 204718c85aSDima Dorfman# Note that the effect of listing only an option without a 214718c85aSDima Dorfman# header-file-name in conf/options (and cousins) is that the last 224718c85aSDima Dorfman# convention is followed. 2394db1b81SEivind Eklund# 2494db1b81SEivind Eklund# This handling scheme is not yet fully implemented. 2594db1b81SEivind Eklund# 2694db1b81SEivind Eklund# 2794db1b81SEivind Eklund# Format of this file: 284bd49128SPeter Wemm# Option name filename 2994db1b81SEivind Eklund# 3094db1b81SEivind Eklund# If filename is missing, the default is 3194db1b81SEivind Eklund# opt_<name-of-option-in-lower-case>.h 3281fc841cSBruce Evans 33acf1b64cSJustin T. Gibbs# Adaptec Array Controller driver options 3411151a5bSDirk FroembergAAC_COMPAT_LINUX opt_aac.h # Enable the linux ioctl interface 359fcfed22SScott Long 36acf1b64cSJustin T. GibbsAAC_DEBUG opt_aac.h # Debugging levels: 37acf1b64cSJustin T. Gibbs # 0 - quiet, only emit warnings 38acf1b64cSJustin T. Gibbs # 1 - noisy, emit major function 39acf1b64cSJustin T. Gibbs # points and things done 40acf1b64cSJustin T. Gibbs # 2 - extremely noisy, emit trace 41acf1b64cSJustin T. Gibbs # items in loops, etc. 42acf1b64cSJustin T. Gibbs 43bf21c633SJustin T. Gibbs# Adaptec aic7xxx SCSI controller options 44bf21c633SJustin T. GibbsAHC_ALLOW_MEMIO opt_aic7xxx.h # Allow PCI devices to use memory 45528784edSJustin T. Gibbs # mapped I/O 46bf21c633SJustin T. Gibbs 47bf21c633SJustin T. GibbsAHC_TMODE_ENABLE opt_aic7xxx.h # Bitmap of units to enable 48bf21c633SJustin T. Gibbs # targetmode operations. 49bf21c633SJustin T. Gibbs 5026b40483SJustin T. GibbsAHC_DUMP_EEPROM opt_aic7xxx.h # Dump the contents of our 5126b40483SJustin T. Gibbs # configuration prom. 5226b40483SJustin T. Gibbs 534e7bbbf9SJustin T. GibbsAHC_DEBUG opt_aic7xxx.h # Compile in Aic7xxx Debugging code. 544e7bbbf9SJustin T. Gibbs 554e7bbbf9SJustin T. GibbsAHC_DEBUG_OPTS opt_aic7xxx.h # Aic7xxx driver debugging options. 564e7bbbf9SJustin T. Gibbs # See sys/dev/aic7xxx/aic7xxx.h 574e7bbbf9SJustin T. Gibbs 584e7bbbf9SJustin T. GibbsAHC_REG_PRETTY_PRINT opt_aic7xxx.h # Print register bitfields in debug 594e7bbbf9SJustin T. Gibbs # output. Adds ~128k to driver. 60a08d5a42SJustin T. Gibbs 61cdd49e97SJustin T. Gibbs# Adaptec aic79xx SCSI controller options 624e7bbbf9SJustin T. GibbsAHD_DEBUG opt_aic79xx.h # Compile in Aic79xx Debugging code. 63cdd49e97SJustin T. Gibbs 64cdd49e97SJustin T. GibbsAHD_DEBUG_OPTS opt_aic79xx.h # Aic79xx driver debugging options. 654e7bbbf9SJustin T. Gibbs # See sys/dev/aic7xxx/aic79xx.h 664e7bbbf9SJustin T. Gibbs 674e7bbbf9SJustin T. GibbsAHD_TMODE_ENABLE opt_aic79xx.h # Bitmap of units to enable 684e7bbbf9SJustin T. Gibbs # targetmode operations. 694e7bbbf9SJustin T. Gibbs 704e7bbbf9SJustin T. GibbsAHD_REG_PRETTY_PRINT opt_aic79xx.h # Print register bitfields in debug 714e7bbbf9SJustin T. Gibbs # output. Adds ~215k to driver. 72cdd49e97SJustin T. Gibbs 73528784edSJustin T. GibbsADW_ALLOW_MEMIO opt_adw.h # Allow PCI devices to use memory 74528784edSJustin T. Gibbs # mapped I/O 75528784edSJustin T. Gibbs 763d20a1ffSBruce Evans# Miscellaneous options. 774b124a4bSJeff RobersonALQ opt_alq.h 782498cf8cSJohn BaldwinADAPTIVE_MUTEXES 79f71bb3a1SEivind EklundCOMPAT_43 opt_compat.h 80074453c2SAlfred PerlsteinCOMPAT_FREEBSD4 opt_compat.h 81f71bb3a1SEivind EklundCOMPAT_SUNOS opt_compat.h 82c866ec47SPoul-Henning KampCOMPILING_LINT opt_global.h 83b8cf6ea7SBruce EvansCY_PCI_FASTINTR 84d8dbc77cSNick HibmaCONSPEED opt_comconsole.h 850e41ee30SGarrett WollmanDDB 867085e708SBruce EvansDDB_NOKLDSYM opt_ddb.h 870be15decSJohn BaldwinDDB_TRACE 880be15decSJohn BaldwinDDB_UNATTENDED 89562d05dfSPaul TrainaGDB_REMOTE_CHAT opt_ddb.h 90d8dbc77cSNick HibmaGDBSPEED opt_ddb.h 91404b3dcfSJohn BaldwinGEOM 92d94f38acSEivind EklundHW_WDOG 93e94ecf73SPeter WemmKSTACK_PAGES 944bd49128SPeter WemmKTRACE 95363ba2bcSJohn BaldwinKTRACE_REQUEST_POOL opt_ktrace.h 966f2d8adbSBoris PopovLIBICONV 9771e4fff8SPoul-Henning KampMD_ROOT opt_md.h 9871e4fff8SPoul-Henning KampMD_ROOT_SIZE opt_md.h 997f01180eSJohn BaldwinNDGBPORTS opt_dgb.h 100404b3dcfSJohn BaldwinNODEVFS opt_devfs.h 101c2906d55SPoul-Henning KampNTIMECOUNTER opt_ntp.h 102f71bb3a1SEivind EklundNSWAPDEV opt_swap.h 103e0d781f3SEivind EklundPPS_SYNC opt_ntp.h 10447a3594eSJohn BaldwinPUC_FASTINTR opt_puc.h 1053d20a1ffSBruce EvansQUOTA 106cecc50bcSEivind EklundSPX_HACK 107f71bb3a1SEivind EklundSUIDDIR opt_suiddir.h 1080b911335SJohn BaldwinMSGMNB opt_sysvipc.h 1090b911335SJohn BaldwinMSGMNI opt_sysvipc.h 1100b911335SJohn BaldwinMSGSEG opt_sysvipc.h 1110b911335SJohn BaldwinMSGSSZ opt_sysvipc.h 1120b911335SJohn BaldwinMSGTQL opt_sysvipc.h 113ab063af9SPeter WemmSEMMAP opt_sysvipc.h 114ab063af9SPeter WemmSEMMNI opt_sysvipc.h 115ab063af9SPeter WemmSEMMNS opt_sysvipc.h 116ab063af9SPeter WemmSEMMNU opt_sysvipc.h 117ab063af9SPeter WemmSEMMSL opt_sysvipc.h 118ab063af9SPeter WemmSEMOPM opt_sysvipc.h 119ab063af9SPeter WemmSEMUME opt_sysvipc.h 1200b911335SJohn BaldwinSHMALL opt_sysvipc.h 1210b911335SJohn BaldwinSHMMAX opt_sysvipc.h 1220b911335SJohn BaldwinSHMMAXPGS opt_sysvipc.h 1230b911335SJohn BaldwinSHMMIN opt_sysvipc.h 1240b911335SJohn BaldwinSHMMNI opt_sysvipc.h 1250b911335SJohn BaldwinSHMSEG opt_sysvipc.h 1260b911335SJohn BaldwinSYSVMSG opt_sysvipc.h 1270b911335SJohn BaldwinSYSVSEM opt_sysvipc.h 1280b911335SJohn BaldwinSYSVSHM opt_sysvipc.h 129dd85920aSJason EvansVFS_AIO 13097fef0a1SJohn BaldwinWLCACHE opt_wavelan.h 13197fef0a1SJohn BaldwinWLDEBUG opt_wavelan.h 132d03b4017SBruce Evans 1338a6472b7SPeter Dufault# POSIX kernel options 1348a6472b7SPeter DufaultP1003_1B opt_posix.h 1358a6472b7SPeter Dufault_KPOSIX_PRIORITY_SCHEDULING opt_posix.h 1368a6472b7SPeter Dufault_KPOSIX_VERSION opt_posix.h 1373ffb9fadSAlfred PerlsteinP1003_1B_SEMAPHORES opt_posix.h 138917e476dSPeter Dufault 13912e9f256SRobert Watson##################################################################### 14012e9f256SRobert Watson# SECURITY POLICY PARAMETERS 14112e9f256SRobert Watson 14212e9f256SRobert Watson# Support for Mandatory Access Control (MAC) 14312e9f256SRobert WatsonMAC opt_mac.h 144f050add5SRobert WatsonMAC_DEBUG opt_mac.h 14512e9f256SRobert WatsonMAC_NONE opt_dontuse.h 146a996141fSRobert Watson 147808129f0SPeter Wemm# Do we want the config file compiled into the kernel? 148808129f0SPeter WemmINCLUDE_CONFIG_FILE opt_config.h 149808129f0SPeter Wemm 150d03b4017SBruce Evans# Options for static filesystems. These should only be used at config 151d03b4017SBruce Evans# time, since the corresponding lkms cannot work if there are any static 152d03b4017SBruce Evans# dependencies. Unusability is enforced by hiding the defines for the 153d03b4017SBruce Evans# options in a never-included header. 154bcf77694SPeter WemmCD9660 opt_dontuse.h 155bcf77694SPeter WemmCODA opt_dontuse.h 156f41991baSEivind EklundEXT2FS opt_dontuse.h 15799d300a1SRuslan ErmilovFDESCFS opt_dontuse.h 158dc765d22SDag-Erling SmørgravLINPROCFS opt_dontuse.h 159f41991baSEivind EklundMSDOSFS opt_dontuse.h 160d03b4017SBruce EvansNULLFS opt_dontuse.h 161bcf77694SPeter WemmNWFS opt_dontuse.h 16299d300a1SRuslan ErmilovPORTALFS opt_dontuse.h 163d03b4017SBruce EvansPROCFS opt_dontuse.h 16436b2d3b7SDag-Erling SmørgravPSEUDOFS opt_dontuse.h 165d03b4017SBruce EvansUMAPFS opt_dontuse.h 1667e8dac41SSemen UstimenkoNTFS opt_dontuse.h 1670adb9b96SPeter WemmHPFS opt_dontuse.h 168fbfee3f6SJohn BaldwinSMBFS opt_dontuse.h 16999d300a1SRuslan ErmilovUNIONFS opt_dontuse.h 170df263cbdSScott LongUDF opt_dontuse.h 171d03b4017SBruce Evans 17261a42370SPeter Wemm# Broken - ffs_snapshot() dependency from ufs_lookup() :-( 17361a42370SPeter WemmFFS opt_ffs_broken_fixme.h 17461a42370SPeter Wemm 1757b778b5eSEivind Eklund# These static filesystems has one slightly bogus static dependency in 1767b778b5eSEivind Eklund# sys/i386/i386/autoconf.c. If any of these filesystems are 1777b778b5eSEivind Eklund# statically compiled into the kernel, code for mounting them as root 178bcf77694SPeter Wemm# filesystems will be enabled - but look below. 179eb25edbdSPeter WemmNFSCLIENT opt_nfs.h 180eb25edbdSPeter WemmNFSSERVER opt_nfs.h 1815a9714deSJoerg Wunsch 182b1897c19SJulian Elischer# If you are following the conditions in the copyright, 183b1897c19SJulian Elischer# you can enable soft-updates which will speed up a lot of thigs 184b1897c19SJulian Elischer# and make the system safer from crashes at the same time. 185b1897c19SJulian Elischer# otherwise a STUB module will be compiled in. 186b1897c19SJulian ElischerSOFTUPDATES opt_ffs.h 187b1897c19SJulian Elischer 188a70f2747SRobert Watson# Enabling this option turns on support for Access Control Lists in UFS, 189a70f2747SRobert Watson# which can be used to support high security configurations. Depends on 190a70f2747SRobert Watson# UFS_EXTATTR. 191a70f2747SRobert WatsonUFS_ACL opt_ufs.h 192a70f2747SRobert Watson 193516081f2SRobert Watson# Enabling this option turns on support for extended attributes in UFS-based 194516081f2SRobert Watson# filesystems, which can be used to support high security configurations 195a64ed089SRobert Watson# as well as new filesystem features. 196516081f2SRobert WatsonUFS_EXTATTR opt_ufs.h 197516081f2SRobert WatsonUFS_EXTATTR_AUTOSTART opt_ufs.h 198a64ed089SRobert Watson 1999b5ad47fSIan Dowse# Enable fast hash lookups for large directories on UFS-based filesystems. 2009b5ad47fSIan DowseUFS_DIRHASH opt_ufs.h 2019b5ad47fSIan Dowse 2027b778b5eSEivind Eklund# The above static dependencies are planned removed, with a 2037b778b5eSEivind Eklund# <filesystem>_ROOT option to control if it usable as root. This list 2047b778b5eSEivind Eklund# allows these options to be present in config files already (though 2057b778b5eSEivind Eklund# they won't make any difference yet). 206df394affSJohn-Mark GurneyNFS_ROOT opt_nfsroot.h 2077b778b5eSEivind Eklund 208fbfee3f6SJohn Baldwin# SMB/CIFS requester 209fbfee3f6SJohn BaldwinNETSMB opt_netsmb.h 210fbfee3f6SJohn BaldwinNETSMBCRYPTO opt_netsmb.h 211fbfee3f6SJohn Baldwin 212f74654deSPeter Wemm# Options used only in subr_param.c. 21334f3320eSKenjiro ChoHZ opt_param.h 2145a00f364SDag-Erling SmørgravMAXFILES opt_param.h 2153d20a1ffSBruce EvansNBUF opt_param.h 2164bd49128SPeter WemmNMBCLUSTERS opt_param.h 217dd0b2081SDavid GreenmanNSFBUFS opt_param.h 2182f9e4e80SMatthew DillonVM_BCACHE_SIZE_MAX opt_param.h 2192f9e4e80SMatthew DillonVM_SWZONE_SIZE_MAX opt_param.h 220f74654deSPeter WemmMAXUSERS 221cbc89bfbSPaul SaabDFLDSIZ opt_param.h 222cbc89bfbSPaul SaabMAXDSIZ opt_param.h 223cbc89bfbSPaul SaabMAXSSIZ opt_param.h 22481fc841cSBruce Evans 22581fc841cSBruce Evans# Generic SCSI options. 226bf21c633SJustin T. GibbsCAM_MAX_HIGHPOWER opt_cam.h 227bf21c633SJustin T. GibbsCAMDEBUG opt_cam.h 228da56bbefSJustin T. GibbsCAM_DEBUG_DELAY opt_cam.h 229bf21c633SJustin T. GibbsCAM_DEBUG_BUS opt_cam.h 230bf21c633SJustin T. GibbsCAM_DEBUG_TARGET opt_cam.h 231bf21c633SJustin T. GibbsCAM_DEBUG_LUN opt_cam.h 232bf21c633SJustin T. GibbsCAM_DEBUG_FLAGS opt_cam.h 233d73ce756SMatt JacobCAM_NEW_TRAN_CODE opt_cam.h 2343d20a1ffSBruce EvansSCSI_DELAY opt_scsi.h 235bf21c633SJustin T. GibbsSCSI_NO_SENSE_STRINGS opt_scsi.h 236bf21c633SJustin T. GibbsSCSI_NO_OP_STRINGS opt_scsi.h 237bf21c633SJustin T. Gibbs 238d73ce756SMatt Jacob 239d73ce756SMatt Jacob 240bf21c633SJustin T. Gibbs# Options used only in cam/scsi/scsi_cd.c 241bf21c633SJustin T. GibbsCHANGER_MIN_BUSY_SECONDS opt_cd.h 242bf21c633SJustin T. GibbsCHANGER_MAX_BUSY_SECONDS opt_cd.h 24381fc841cSBruce Evans 2443ece1bd2SKenneth D. Merry# Options used only in cam/scsi/scsi_sa.c. 245b29f9e40SMatt JacobSA_IO_TIMEOUT opt_sa.h 2469dfb4471SKenneth D. MerrySA_SPACE_TIMEOUT opt_sa.h 2479dfb4471SKenneth D. MerrySA_REWIND_TIMEOUT opt_sa.h 2489dfb4471SKenneth D. MerrySA_ERASE_TIMEOUT opt_sa.h 249cb02c78aSMatt JacobSA_1FM_AT_EOD opt_sa.h 250c30bc9dbSJoerg Wunsch 2513ece1bd2SKenneth D. Merry# Options used only in cam/scsi/scsi_pt.c 2523ece1bd2SKenneth D. MerrySCSI_PT_DEFAULT_TIMEOUT opt_pt.h 2533ece1bd2SKenneth D. Merry 25452e48164SMatt Jacob# Options used only in cam/scsi/scsi_ses.c 25552e48164SMatt JacobSES_ENABLE_PASSTHROUGH opt_ses.h 25652e48164SMatt Jacob 257410605d1SDavid E. O'Brien# Options used in dev/sym/ (Symbios SCSI driver). 258410605d1SDavid E. O'BrienSYM_SETUP_LP_PROBE_MAP opt_sym.h #-Low Priority Probe Map (bits) 259410605d1SDavid E. O'Brien # Allows the ncr to take precedence 260410605d1SDavid E. O'Brien # 1 (1<<0) -> 810a, 860 261410605d1SDavid E. O'Brien # 2 (1<<1) -> 825a, 875, 885, 895 262410605d1SDavid E. O'Brien # 4 (1<<2) -> 895a, 896, 1510d 263410605d1SDavid E. O'BrienSYM_SETUP_SCSI_DIFF opt_sym.h #-HVD support for 825a, 875, 885 264410605d1SDavid E. O'Brien # disabled:0 (default), enabled:1 265410605d1SDavid E. O'BrienSYM_SETUP_PCI_PARITY opt_sym.h #-PCI parity checking 266410605d1SDavid E. O'Brien # disabled:0, enabled:1 (default) 267410605d1SDavid E. O'BrienSYM_SETUP_MAX_LUN opt_sym.h #-Number of LUNs supported 268410605d1SDavid E. O'Brien # default:8, range:[1..64] 269410605d1SDavid E. O'Brien 27021ffa5aeSStefan Eßer# Options used only in pci/ncr.c 2713d20a1ffSBruce EvansSCSI_NCR_DEBUG opt_ncr.h 272a5bef142SBruce EvansSCSI_NCR_MAX_SYNC opt_ncr.h 273a5bef142SBruce EvansSCSI_NCR_MAX_WIDE opt_ncr.h 2743d20a1ffSBruce EvansSCSI_NCR_MYADDR opt_ncr.h 27521ffa5aeSStefan Eßer 276355904d5SMatt Jacob# Options used only in dev/isp/* 27773e1de92SMatt JacobISP_TARGET_MODE opt_isp.h 278355904d5SMatt JacobISP_FW_CRASH_DUMP opt_isp.h 2793fc2ba4dSMatt Jacob 2801a2d9854SSøren Schmidt# Options used in the 'ata' ATA/ATAPI driver 2811a2d9854SSøren SchmidtATA_STATIC_ID opt_ata.h 282b5d0be89SPeter WemmATA_NOPCI opt_ata.h 283358f1800SPeter WemmDEV_ATADISK opt_ata.h 284358f1800SPeter WemmDEV_ATAPICD opt_ata.h 285358f1800SPeter WemmDEV_ATAPIST opt_ata.h 286358f1800SPeter WemmDEV_ATAPIFD opt_ata.h 287fd4b4eccSSøren SchmidtDEV_ATAPICAM opt_ata.h 288fd4b4eccSSøren SchmidtATA_DEBUG opt_ata.h 289fd4b4eccSSøren SchmidtATAPI_DEBUG opt_ata.h 290fd4b4eccSSøren SchmidtACD_DEBUG opt_ata.h 291fd4b4eccSSøren SchmidtAST_DEBUG opt_ata.h 2921a2d9854SSøren Schmidt 29381fc841cSBruce Evans# Net stuff. 294a79b7128SAlfred PerlsteinACCEPT_FILTER_DATA 295a79b7128SAlfred PerlsteinACCEPT_FILTER_HTTP 296e4f4247aSEivind EklundBOOTP opt_bootp.h 297e4f4247aSEivind EklundBOOTP_COMPAT opt_bootp.h 298e4f4247aSEivind EklundBOOTP_NFSROOT opt_bootp.h 299e4f4247aSEivind EklundBOOTP_NFSV3 opt_bootp.h 3008f7030a7STor EggeBOOTP_WIRED_TO opt_bootp.h 301508d0661SLuigi RizzoBRIDGE opt_bdg.h 3025d94d71cSBoris PopovETHER_II opt_ef.h 3035d94d71cSBoris PopovETHER_8023 opt_ef.h 3045d94d71cSBoris PopovETHER_8022 opt_ef.h 3055d94d71cSBoris PopovETHER_SNAP opt_ef.h 3064bd49128SPeter WemmMROUTING opt_mrouting.h 3071d5e9e22SEivind EklundINET opt_inet.h 308cfa1ca9dSYoshinobu InoueINET6 opt_inet6.h 3096a800098SYoshinobu InoueIPSEC opt_ipsec.h 3106a800098SYoshinobu InoueIPSEC_ESP opt_ipsec.h 3116a800098SYoshinobu InoueIPSEC_DEBUG opt_ipsec.h 312fbd1372aSJoerg WunschIPDIVERT 313508d0661SLuigi RizzoDUMMYNET opt_ipdn.h 3149cc86ee9SGuido van RooijIPFILTER opt_ipfilter.h 3159cc86ee9SGuido van RooijIPFILTER_LOG opt_ipfilter.h 316276dd937SDarren ReedIPFILTER_DEFAULT_BLOCK opt_ipfilter.h 3170656ae02SDarren ReedPFIL_HOOKS opt_pfil_hooks.h 31874a9466cSGary PalmerIPFIREWALL opt_ipfw.h 31974a9466cSGary PalmerIPFIREWALL_VERBOSE opt_ipfw.h 320fb260479SBruce EvansIPFIREWALL_VERBOSE_LIMIT opt_ipfw.h 321ffdd472dSPeter WemmIPFIREWALL_DEFAULT_TO_ACCEPT opt_ipfw.h 322cdcc2613SJulian ElischerIPFIREWALL_FORWARD opt_ipfw.h 323210d0432SYoshinobu InoueIPV6FIREWALL opt_ip6fw.h 324210d0432SYoshinobu InoueIPV6FIREWALL_VERBOSE opt_ip6fw.h 325210d0432SYoshinobu InoueIPV6FIREWALL_VERBOSE_LIMIT opt_ip6fw.h 326210d0432SYoshinobu InoueIPV6FIREWALL_DEFAULT_TO_ACCEPT opt_ip6fw.h 3271b968362SDag-Erling SmørgravIPSTEALTH 328430df5f4SEivind EklundIPX opt_ipx.h 329430df5f4SEivind EklundIPXIP opt_ipx.h 330430df5f4SEivind EklundIPTUNNEL opt_ipx.h 331d8589bd5SBoris PopovLIBMCHAIN 332e83e2322SBoris PopovNCP opt_ncp.h 3337262d3e4SEivind EklundNETATALK opt_atalk.h 3348e96e13eSMaxim SobolevNS opt_ns.h 33513c49711SPeter WemmPPP_BSDCOMP opt_ppp.h 33613c49711SPeter WemmPPP_DEFLATE opt_ppp.h 337d41238deSPeter WemmPPP_FILTER opt_ppp.h 33864dddc18SKris KennawayRANDOM_IP_ID 339875f3161SDag-Erling SmørgravSLIP_IFF_OPTS opt_slip.h 3400cc12cc5SJoerg WunschTCPDEBUG 341e46cd3d4SDag-Erling SmørgravTCP_DROP_SYNFIN opt_tcp_input.h 342914594eaSKris KennawayXBONEHACK 3433458e54aSJulian Elischer 3444cf49a43SJulian Elischer# Netgraph(4). Use option NETGRAPH to enable the base netgraph code. 3454cf49a43SJulian Elischer# Each netgraph node type can be either be compiled into the kernel 3464cf49a43SJulian Elischer# or loaded dynamically. To get the former, include the corresponding 347ed2dbd31SArchie Cobbs# option below. Each type has its own man page, e.g. ng_async(4). 3484cf49a43SJulian ElischerNETGRAPH 3494cf49a43SJulian ElischerNETGRAPH_ASYNC opt_netgraph.h 35092a3e552SArchie CobbsNETGRAPH_BPF opt_netgraph.h 351ed2dbd31SArchie CobbsNETGRAPH_BRIDGE opt_netgraph.h 3524cf49a43SJulian ElischerNETGRAPH_CISCO opt_netgraph.h 3534cf49a43SJulian ElischerNETGRAPH_ECHO opt_netgraph.h 354e1e1452dSArchie CobbsNETGRAPH_ETHER opt_netgraph.h 3554cf49a43SJulian ElischerNETGRAPH_FRAME_RELAY opt_netgraph.h 35694408d94SBrooks DavisNETGRAPH_GIF opt_netgraph.h 35794408d94SBrooks DavisNETGRAPH_GIF_DEMUX opt_netgraph.h 3584cf49a43SJulian ElischerNETGRAPH_HOLE opt_netgraph.h 3594cf49a43SJulian ElischerNETGRAPH_IFACE opt_netgraph.h 360c2eed105SBrooks DavisNETGRAPH_IP_INPUT opt_netgraph.h 3616e874711SArchie CobbsNETGRAPH_KSOCKET opt_netgraph.h 3624cf49a43SJulian ElischerNETGRAPH_LMI opt_netgraph.h 363901fadf7SArchie CobbsNETGRAPH_L2TP opt_netgraph.h 364a2b408adSArchie Cobbs# MPPC compression requires proprietary files (not included) 365a2b408adSArchie CobbsNETGRAPH_MPPC_COMPRESSION opt_netgraph.h 366a2b408adSArchie CobbsNETGRAPH_MPPC_ENCRYPTION opt_netgraph.h 3677d7a5b89SArchie CobbsNETGRAPH_ONE2MANY opt_netgraph.h 3686827c8feSArchie CobbsNETGRAPH_PPP opt_netgraph.h 3696827c8feSArchie CobbsNETGRAPH_PPPOE opt_netgraph.h 370add85a1dSArchie CobbsNETGRAPH_PPTPGRE opt_netgraph.h 3714cf49a43SJulian ElischerNETGRAPH_RFC1490 opt_netgraph.h 3724cf49a43SJulian ElischerNETGRAPH_SOCKET opt_netgraph.h 3734d60fee2SBrooks DavisNETGRAPH_SPLIT opt_netgraph.h 3744cf49a43SJulian ElischerNETGRAPH_TEE opt_netgraph.h 3754cf49a43SJulian ElischerNETGRAPH_TTY opt_netgraph.h 3764cf49a43SJulian ElischerNETGRAPH_UI opt_netgraph.h 37706e36c4dSJulian ElischerNETGRAPH_VJC opt_netgraph.h 3784cf49a43SJulian Elischer 37967a2a28fSEric Anholt# DRM options 38067a2a28fSEric AnholtDRM_LINUX opt_drm.h 38167a2a28fSEric AnholtDRM_DEBUG opt_drm.h 38267a2a28fSEric Anholt 38398cb733cSKenneth D. Merry 38498cb733cSKenneth D. MerryZERO_COPY_SOCKETS opt_zero.h 38598cb733cSKenneth D. MerryTI_PRIVATE_JUMBOS opt_ti.h 38698cb733cSKenneth D. MerryTI_JUMBO_HDRSPLIT opt_ti.h 38798cb733cSKenneth D. Merry 3883f8c4506SPoul-Henning Kamp# ATM (HARP version) 3893f8c4506SPoul-Henning KampATM_CORE opt_atm.h 3903f8c4506SPoul-Henning KampATM_IP opt_atm.h 3913f8c4506SPoul-Henning KampATM_SIGPVC opt_atm.h 3923f8c4506SPoul-Henning KampATM_SPANS opt_atm.h 3933f8c4506SPoul-Henning KampATM_UNI opt_atm.h 3943f8c4506SPoul-Henning Kamp 395e0d781f3SEivind Eklund# XXX Conflict: # of devices vs network protocol (Native ATM). 396e0d781f3SEivind Eklund# This makes "atm.h" unusable. 397e0d781f3SEivind EklundNATM opt_natm.h 398e0d781f3SEivind Eklund 399528784edSJustin T. GibbsDPT_ALLOW_MEMIO opt_dpt.h # Allow PCI devices to use memory 400528784edSJustin T. Gibbs # mapped I/O 4013458e54aSJulian Elischer# DPT driver debug flags 4023458e54aSJulian ElischerDPT_MEASURE_PERFORMANCE opt_dpt.h 4033458e54aSJulian ElischerDPT_HANDLE_TIMEOUTS opt_dpt.h 4043458e54aSJulian ElischerDPT_TIMEOUT_FACTOR opt_dpt.h 4053458e54aSJulian ElischerDPT_LOST_IRQ opt_dpt.h 406b755b885SEivind EklundDPT_RESET_HBA opt_dpt.h 4073f2076daSEivind Eklund 408444476fdSMike Smith# Adaptec ASR and DPT V/VI controller options 409444476fdSMike SmithASR_MEASURE_PERFORMANCE opt_asr.h 410444476fdSMike Smith 4113f2076daSEivind Eklund# Misc debug flags. Most of these should probably be replaced with 4123f2076daSEivind Eklund# 'DEBUG', and then let people recompile just the interesting modules 413fdf94d1aSNicolas Souchu# with 'make CC="cc -DDEBUG"'. 4143f2076daSEivind EklundCLUSTERDEBUG opt_debug_cluster.h 415a6de7b79SNicolas SouchuDEBUG_1284 opt_ppb_1284.h 416a6de7b79SNicolas SouchuVP0_DEBUG opt_vpo.h 417fdf94d1aSNicolas SouchuLPT_DEBUG opt_lpt.h 4187b7bf77eSNicolas SouchuPLIP_DEBUG opt_plip.h 4193f2076daSEivind EklundLOCKF_DEBUG opt_debug_lockf.h 4203f2076daSEivind EklundNPX_DEBUG opt_debug_npx.h 4213f2076daSEivind EklundNETATALKDEBUG opt_atalk.h 4223f2076daSEivind EklundSI_DEBUG opt_debug_si.h 4233f2076daSEivind Eklund 424909232c4SEivind Eklund# Fb options 425909232c4SEivind EklundFB_DEBUG opt_fb.h 426909232c4SEivind EklundFB_INSTALL_CDEV opt_fb.h 427909232c4SEivind Eklund 42804fb1490SNicolas Souchu# ppbus related options 42904fb1490SNicolas SouchuPERIPH_1284 opt_ppb_1284.h 43004fb1490SNicolas SouchuDONTPROBE_1284 opt_ppb_1284.h 43104fb1490SNicolas Souchu 43204fb1490SNicolas Souchu# smbus related options 43304fb1490SNicolas SouchuENABLE_ALART opt_intpm.h 4343f2076daSEivind Eklund 43514834de4SEivind Eklund# These cause changes all over the kernel 436909232c4SEivind EklundBLKDEV_IOSIZE opt_global.h 43714834de4SEivind EklundDEBUG opt_global.h 43815a1057cSEivind EklundDEBUG_LOCKS opt_global.h 4395526d2d9SEivind EklundDEBUG_VFS_LOCKS opt_global.h 4400e2d6cc8SJeff RobersonLOOKUP_SHARED opt_global.h 44114834de4SEivind EklundDIAGNOSTIC opt_global.h 442b1a7842bSJohn DysonENABLE_VFS_IOOPT opt_global.h 44334b15f2aSJohn BaldwinINVARIANT_SUPPORT opt_global.h 4445526d2d9SEivind EklundINVARIANTS opt_global.h 4452c8f5a28SKenneth D. MerryMCLSHIFT opt_global.h 4462c8f5a28SKenneth D. MerryMSIZE opt_global.h 4470b5438c6SRobert WatsonREGRESSION opt_global.h 4481432aa0cSJohn BaldwinRESTARTABLE_PANICS opt_global.h 4495526d2d9SEivind EklundVFS_BIO_DEBUG opt_global.h 450d9bed5beSJohn Dyson 451d9bed5beSJohn Dyson# These are VM related options 452d9bed5beSJohn DysonVM_KMEM_SIZE opt_vm.h 453d9bed5beSJohn DysonVM_KMEM_SIZE_SCALE opt_vm.h 454d9bed5beSJohn DysonVM_KMEM_SIZE_MAX opt_vm.h 455faa5f8d8SAndrzej BialeckiNO_SWAPPING opt_vm.h 456a59f8b9eSJeff RobersonMALLOC_PROFILE opt_vm.h 45720f71813SJohn-Mark GurneyPQ_NOOPT opt_vmpage.h 45820f71813SJohn-Mark GurneyPQ_NORMALCACHE opt_vmpage.h 45920f71813SJohn-Mark GurneyPQ_MEDIUMCACHE opt_vmpage.h 46020f71813SJohn-Mark GurneyPQ_LARGECACHE opt_vmpage.h 46120f71813SJohn-Mark GurneyPQ_HUGECACHE opt_vmpage.h 4629a20f99aSJohn BaldwinPQ_CACHESIZE opt_vmpage.h 46320f71813SJohn-Mark Gurney 464ecd19816SMike Smith# Standard SMP options 465ecd19816SMike SmithSMP opt_global.h 466751bf650SJun-ichiro itojun Hagino 46758067a99SPoul-Henning Kamp# Size of the kernel message buffer 46858067a99SPoul-Henning KampMSGBUF_SIZE opt_msgbuf.h 469ecbb00a2SDoug Rabson 470e261d589SJohn-Mark Gurney# PCI related options 4717a852c22SWarner LoshPCI_ALLOW_UNSUPPORTED_IO_RANGE opt_pci.h 472e261d589SJohn-Mark Gurney 473df394affSJohn-Mark Gurney# NFS options 474df394affSJohn-Mark GurneyNFS_MINATTRTIMO opt_nfs.h 475df394affSJohn-Mark GurneyNFS_MAXATTRTIMO opt_nfs.h 476df394affSJohn-Mark GurneyNFS_MINDIRATTRTIMO opt_nfs.h 477df394affSJohn-Mark GurneyNFS_MAXDIRATTRTIMO opt_nfs.h 478df394affSJohn-Mark GurneyNFS_GATHERDELAY opt_nfs.h 479df394affSJohn-Mark GurneyNFS_WDELAYHASHSIZ opt_nfs.h 480df394affSJohn-Mark GurneyNFS_DEBUG opt_nfs.h 481df394affSJohn-Mark Gurney 48224e89aa8SRoger Hardiman# For the Bt848/Bt848A/Bt849/Bt878/Bt879 driver 4835cd2d295SRoger HardimanOVERRIDE_CARD opt_bktr.h 4845cd2d295SRoger HardimanOVERRIDE_TUNER opt_bktr.h 4855cd2d295SRoger HardimanOVERRIDE_DBX opt_bktr.h 4865cd2d295SRoger HardimanOVERRIDE_MSP opt_bktr.h 4875cd2d295SRoger HardimanBROOKTREE_SYSTEM_DEFAULT opt_bktr.h 48863883894SRoger HardimanBROOKTREE_ALLOC_PAGES opt_bktr.h 48963883894SRoger HardimanBKTR_OVERRIDE_CARD opt_bktr.h 49063883894SRoger HardimanBKTR_OVERRIDE_TUNER opt_bktr.h 49163883894SRoger HardimanBKTR_OVERRIDE_DBX opt_bktr.h 49263883894SRoger HardimanBKTR_OVERRIDE_MSP opt_bktr.h 49363883894SRoger HardimanBKTR_SYSTEM_DEFAULT opt_bktr.h 49463883894SRoger HardimanBKTR_ALLOC_PAGES opt_bktr.h 4955cd2d295SRoger HardimanBKTR_USE_PLL opt_bktr.h 4965cd2d295SRoger HardimanBKTR_GPIO_ACCESS opt_bktr.h 4975cd2d295SRoger HardimanBKTR_NO_MSP_RESET opt_bktr.h 4985cd2d295SRoger HardimanBKTR_430_FX_MODE opt_bktr.h 4995cd2d295SRoger HardimanBKTR_SIS_VIA_MODE opt_bktr.h 500c17d4340SNicolas SouchuBKTR_USE_FREEBSD_SMBUS opt_bktr.h 50158dde31aSSøren Schmidt 502afc2d1c7SJordan K. Hubbard# meteor opt_meteor.h 503afc2d1c7SJordan K. HubbardMETEOR_ALLOC_PAGES opt_meteor.h 504afc2d1c7SJordan K. HubbardMETEOR_TEST_VIDEO opt_meteor.h 505afc2d1c7SJordan K. HubbardMETEOR_SYSTEM_DEFAULT opt_meteor.h 506afc2d1c7SJordan K. HubbardMETEOR_DEALLOC_PAGES opt_meteor.h 507afc2d1c7SJordan K. HubbardMETEOR_DEALLOC_ABOVE opt_meteor.h 508afc2d1c7SJordan K. Hubbard 5096f42b336SPeter Wemm# Various mi ISA bus flags 5106f42b336SPeter WemmCOM_ESP opt_sio.h 5116f42b336SPeter WemmCOM_MULTIPORT opt_sio.h 512909232c4SEivind EklundBREAK_TO_DEBUGGER opt_comconsole.h 51326b6ea69SPaul SaabALT_BREAK_TO_DEBUGGER opt_comconsole.h 51403927d3cSPeter WemmDEV_ISA opt_isa.h 5156f42b336SPeter Wemm 516ecbb00a2SDoug Rabson# Include tweaks for running under the SimOS machine simulator. 517ecbb00a2SDoug RabsonSIMOS opt_simos.h 518709f2df6SDoug Rabson 519709f2df6SDoug Rabson# options for bus/device framework 520709f2df6SDoug RabsonBUS_DEBUG opt_bus.h 5210cec007cSNick Hibma 5220cec007cSNick Hibma# options for USB support 5237dc1a5bdSNick HibmaUHCI_DEBUG opt_usb.h 5247dc1a5bdSNick HibmaOHCI_DEBUG opt_usb.h 5250cec007cSNick HibmaUSB_DEBUG opt_usb.h 5267dc1a5bdSNick HibmaUGEN_DEBUG opt_usb.h 5277dc1a5bdSNick HibmaUHID_DEBUG opt_usb.h 5287dc1a5bdSNick HibmaUHUB_DEBUG opt_usb.h 5297dc1a5bdSNick HibmaUKBD_DEBUG opt_usb.h 5307dc1a5bdSNick HibmaULPT_DEBUG opt_usb.h 5315628cc31SNick HibmaUMASS_DEBUG opt_usb.h 5327dc1a5bdSNick HibmaUMS_DEBUG opt_usb.h 533e2dbd15fSNick HibmaURIO_DEBUG opt_usb.h 534f548daf0SJohn BaldwinUKBD_DFLT_KEYMAP opt_ukbd.h 535a9d45962SPeter Wemm 536a9d45962SPeter Wemm# Vinum options 537a9d45962SPeter WemmVINUMDEBUG opt_vinum.h 5389775e378SJohn Birrell 5399775e378SJohn Birrell# Embedded system options 5409775e378SJohn BirrellINIT_PATH opt_init_path.h 541b307e58fSPoul-Henning Kamp 542b307e58fSPoul-Henning KampROOTDEVNAME opt_rootdevname.h 543814ce988SDoug Rabson 544814ce988SDoug RabsonFDC_DEBUG opt_fdc.h 5453b2d592cSJordan K. HubbardPCFCLOCK_VERBOSE opt_pcfclock.h 5463b2d592cSJordan K. HubbardPCFCLOCK_MAX_RETRIES opt_pcfclock.h 5479147e09eSColeman KaneTDFX_LINUX opt_tdfx.h 548b1f12b61STakanori Watanabe 5490384fff8SJason EvansKTR opt_global.h 5504b124a4bSJeff RobersonKTR_ALQ opt_ktr.h 551d8f03321SJohn BaldwinKTR_MASK opt_ktr.h 552d8f03321SJohn BaldwinKTR_CPUMASK opt_ktr.h 5530384fff8SJason EvansKTR_COMPILE opt_global.h 5540384fff8SJason EvansKTR_ENTRIES opt_global.h 555d8f03321SJohn BaldwinKTR_VERBOSE opt_ktr.h 55636412d79SJohn BaldwinMUTEX_DEBUG opt_global.h 5570384fff8SJason EvansWITNESS opt_global.h 558660d1e3aSJohn BaldwinWITNESS_DDB opt_witness.h 559660d1e3aSJohn BaldwinWITNESS_SKIPSPIN opt_witness.h 5600384fff8SJason Evans 561b1f12b61STakanori Watanabe# options for ACPI support 562b1f12b61STakanori WatanabeACPI_DEBUG opt_acpi.h 563c573e654SMitsuru IWASAKIACPI_NO_SEMAPHORES opt_acpi.h 564c573e654SMitsuru IWASAKIACPI_MAX_THREADS opt_acpi.h 56593bcdfe2SPoul-Henning Kamp 56693bcdfe2SPoul-Henning Kamp# options for DEVFS, see sys/fs/devfs/devfs.h 56793bcdfe2SPoul-Henning KampNDEVFSINO opt_devfs.h 56893bcdfe2SPoul-Henning KampNDEVFSOVERFLOW opt_devfs.h 569810d0bd1SPeter Wemm 570810d0bd1SPeter Wemm# various 'device presence' options. 571f444a0efSPeter WemmDEV_MCA opt_mca.h 5725bb5f2c9SPeter WemmDEV_BPF opt_bpf.h 5739b04180cSIan Dowse 5749b04180cSIan Dowse# ed driver 5759b04180cSIan DowseED_NO_MIIBUS opt_ed.h 5760483b1a8SAndrew Gallatin 577073eef8cSWarner Losh# wi driver 578073eef8cSWarner LoshWI_SYMBOL_FIRMWARE opt_wi.h 579073eef8cSWarner Losh 5800483b1a8SAndrew Gallatin# Polling device handling 5810483b1a8SAndrew GallatinDEVICE_POLLING opt_global.h 5826c35e809SDag-Erling Smørgrav 5836c35e809SDag-Erling Smørgrav# Mutex profiling 5846c35e809SDag-Erling SmørgravMUTEX_PROFILING opt_global.h 585073eef8cSWarner Losh 586