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 19786da2bbSMatt Jacob# "opt_<option-name-in-lower-case>.h" if it affects 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 33662d3818SScott LongAAC_DEBUG opt_aac.h 34dce93cd0SAchim LeubnerAACRAID_DEBUG opt_aacraid.h 35662d3818SScott LongAHC_ALLOW_MEMIO opt_aic7xxx.h 36662d3818SScott LongAHC_TMODE_ENABLE opt_aic7xxx.h 37662d3818SScott LongAHC_DUMP_EEPROM opt_aic7xxx.h 38662d3818SScott LongAHC_DEBUG opt_aic7xxx.h 39662d3818SScott LongAHC_DEBUG_OPTS opt_aic7xxx.h 40662d3818SScott LongAHC_REG_PRETTY_PRINT opt_aic7xxx.h 41662d3818SScott LongAHD_DEBUG opt_aic79xx.h 42662d3818SScott LongAHD_DEBUG_OPTS opt_aic79xx.h 43662d3818SScott LongAHD_TMODE_ENABLE opt_aic79xx.h 44662d3818SScott LongAHD_REG_PRETTY_PRINT opt_aic79xx.h 45662d3818SScott LongADW_ALLOW_MEMIO opt_adw.h 46528784edSJustin T. Gibbs 479e429d38SVinod KashyapTWA_DEBUG opt_twa.h 489e429d38SVinod KashyapTWA_FLASH_FIRMWARE opt_twa.h 49f646fe1aSVinod Kashyap 50e2ee2173SMarcel Moolenaar# Debugging options. 51e5a09273SRobert WatsonALT_BREAK_TO_DEBUGGER opt_kdb.h 52e5a09273SRobert WatsonBREAK_TO_DEBUGGER opt_kdb.h 53e2ee2173SMarcel MoolenaarDDB 5451b93e47SAttilio RaoDDB_BUFR_SIZE opt_ddb.h 55f33dc69dSRobert WatsonDDB_CAPTURE_DEFAULTBUFSIZE opt_ddb.h 56f33dc69dSRobert WatsonDDB_CAPTURE_MAXBUFSIZE opt_ddb.h 57c7d1b0ecSJohn BirrellDDB_CTF opt_ddb.h 58e2ee2173SMarcel MoolenaarDDB_NUMSYM opt_ddb.h 59e2ee2173SMarcel MoolenaarGDB 60e2ee2173SMarcel MoolenaarKDB opt_global.h 61e2ee2173SMarcel MoolenaarKDB_TRACE opt_kdb.h 62e2ee2173SMarcel MoolenaarKDB_UNATTENDED opt_kdb.h 634e313b69SMax KhonKLD_DEBUG opt_kld.h 64df970488SRobert WatsonSYSCTL_DEBUG opt_sysctl.h 6526fbe13cSWarner LoshEARLY_PRINTF opt_global.h 6621d748a9SAlfred PerlsteinTEXTDUMP_PREFERRED opt_ddb.h 6721d748a9SAlfred PerlsteinTEXTDUMP_VERBOSE opt_ddb.h 68e2ee2173SMarcel Moolenaar 693d20a1ffSBruce Evans# Miscellaneous options. 70651175c9SAttilio RaoADAPTIVE_LOCKMGRS 71d971c22bSRobert WatsonALQ 72e9088043SBrooks DavisALTERA_SDCARD_FAST_SIM opt_altera_sdcard.h 731a440eb2SBrooks DavisATSE_CFI_HACK opt_cfi.h 7407881ef9SRobert WatsonAUDIT opt_global.h 7556fddc5dSBrooks DavisBOOTHOWTO opt_global.h 7656fddc5dSBrooks DavisBOOTVERBOSE opt_global.h 775b999a6bSDavide ItalianoCALLOUT_PROFILING 7855d4d6f4SJonathan AndersonCAPABILITIES opt_capsicum.h 7924c1c3bfSJonathan AndersonCAPABILITY_MODE opt_capsicum.h 80f71bb3a1SEivind EklundCOMPAT_43 opt_compat.h 81d3e64681SPoul-Henning KampCOMPAT_43TTY opt_compat.h 82074453c2SAlfred PerlsteinCOMPAT_FREEBSD4 opt_compat.h 83b107fcf8SPeter WemmCOMPAT_FREEBSD5 opt_compat.h 846c9fdda7SRuslan ErmilovCOMPAT_FREEBSD6 opt_compat.h 855965c4b7SJohn BaldwinCOMPAT_FREEBSD7 opt_compat.h 867d313e7bSJohn BaldwinCOMPAT_FREEBSD9 opt_compat.h 877d313e7bSJohn BaldwinCOMPAT_FREEBSD10 opt_compat.h 886d338f9aSEd SchoutenCOMPAT_CLOUDABI64 opt_dontuse.h 89e982e5c5SHans Petter SelaskyCOMPAT_LINUXAPI opt_compat.h 90c866ec47SPoul-Henning KampCOMPILING_LINT opt_global.h 91d971c22bSRobert WatsonCY_PCI_FASTINTR 92f7829d0dSAttilio RaoDEADLKRES opt_watchdog.h 93e9484e32SRuslan ErmilovDIRECTIO 946c6f1f01SPeter WemmFILEMON opt_dontuse.h 95b0fdc837SLawrence StewartFFCLOCK 969923b511SScott LongFULL_PREEMPTION opt_sched.h 97aa14e9b7SMark JohnstonGZIO opt_gzio.h 9881e3caafSJustin HibbitsIMAGACT_BINMISC opt_dontuse.h 996097174eSStephan UphoffIPI_PREEMPTION opt_sched.h 1003bd65612SPoul-Henning KampGEOM_AES opt_geom.h 10119b5c7bcSPoul-Henning KampGEOM_BDE opt_geom.h 1023bd65612SPoul-Henning KampGEOM_BSD opt_geom.h 1035d9f25dcSRuslan ErmilovGEOM_CACHE opt_geom.h 1047226443dSPawel Jakub DawidekGEOM_CONCAT opt_geom.h 1055ca1fcfeSPawel Jakub DawidekGEOM_ELI opt_geom.h 10622db1e9fSPoul-Henning KampGEOM_FOX opt_geom.h 1077226443dSPawel Jakub DawidekGEOM_GATE opt_geom.h 108f348204cSPawel Jakub DawidekGEOM_JOURNAL opt_geom.h 109e1237b28SPawel Jakub DawidekGEOM_LABEL opt_geom.h 110e8c166e8SMarcel MoolenaarGEOM_LABEL_GPT opt_geom.h 1111669d8afSAndrew ThompsonGEOM_LINUX_LVM opt_geom.h 112fcdb1ffcSAndrey V. ElsukovGEOM_MAP opt_geom.h 1133bd65612SPoul-Henning KampGEOM_MBR opt_geom.h 1148a8fbacaSPawel Jakub DawidekGEOM_MIRROR opt_geom.h 1151db3766dSDag-Erling SmørgravGEOM_MULTIPATH opt_geom.h 1167dc92b13SPawel Jakub DawidekGEOM_NOP opt_geom.h 1171d3aed33SMarcel MoolenaarGEOM_PART_APM opt_geom.h 1185aaa8fefSMarcel MoolenaarGEOM_PART_BSD opt_geom.h 119d68d0cf5SAndrey V. ElsukovGEOM_PART_BSD64 opt_geom.h 12091e1be8bSMarcel MoolenaarGEOM_PART_EBR opt_geom.h 1216ad9a99fSMarcel MoolenaarGEOM_PART_EBR_COMPAT opt_geom.h 1221d3aed33SMarcel MoolenaarGEOM_PART_GPT opt_geom.h 123e800e2e1SAndrey V. ElsukovGEOM_PART_LDM opt_geom.h 1246bc50445SMarcel MoolenaarGEOM_PART_MBR opt_geom.h 125b03fab12SMarcel MoolenaarGEOM_PART_PC98 opt_geom.h 126909f20c8SMarcel MoolenaarGEOM_PART_VTOC8 opt_geom.h 1273bd65612SPoul-Henning KampGEOM_PC98 opt_geom.h 12889b17223SAlexander MotinGEOM_RAID opt_geom.h 129e81856c3SPawel Jakub DawidekGEOM_RAID3 opt_geom.h 130560cb857SPawel Jakub DawidekGEOM_SHSEC opt_geom.h 1317dc92b13SPawel Jakub DawidekGEOM_STRIPE opt_geom.h 1323bd65612SPoul-Henning KampGEOM_SUNLABEL opt_geom.h 133ce96bb79SAleksandr RybalkoGEOM_UNCOMPRESS opt_geom.h 1349541307fSJohn-Mark GurneyGEOM_UNCOMPRESS_DEBUG opt_geom.h 13575261008SMax KhonGEOM_UZIP opt_geom.h 13602e17f0bSMarius StroblGEOM_VINUM opt_geom.h 137f854db0bSPawel Jakub DawidekGEOM_VIRSTOR opt_geom.h 138cd53fddbSGordon TetlowGEOM_VOL opt_geom.h 139869de957SPawel Jakub DawidekGEOM_ZERO opt_geom.h 14054366c0bSAttilio RaoKDTRACE_HOOKS opt_global.h 14130ff7b38SRui PauloKDTRACE_FRAME opt_kdtrace.h 142faa9b054SAdrian ChaddKN_HASHSIZE opt_kqueue.h 143316ec49aSScott LongKSTACK_MAX_PAGES 144d01cde04SBruce EvansKSTACK_PAGES 145b7627840SKonstantin BelousovKSTACK_USAGE_PROF 1464bd49128SPeter WemmKTRACE 147363ba2bcSJohn BaldwinKTRACE_REQUEST_POOL opt_ktrace.h 1486f2d8adbSBoris PopovLIBICONV 149bcf11e8dSRobert WatsonMAC opt_global.h 150d971c22bSRobert WatsonMAC_BIBA opt_dontuse.h 151d971c22bSRobert WatsonMAC_BSDEXTENDED opt_dontuse.h 152d971c22bSRobert WatsonMAC_IFOFF opt_dontuse.h 153d971c22bSRobert WatsonMAC_LOMAC opt_dontuse.h 154d971c22bSRobert WatsonMAC_MLS opt_dontuse.h 155d971c22bSRobert WatsonMAC_NONE opt_dontuse.h 156d971c22bSRobert WatsonMAC_PARTITION opt_dontuse.h 157d971c22bSRobert WatsonMAC_PORTACL opt_dontuse.h 158d971c22bSRobert WatsonMAC_SEEOTHERUIDS opt_dontuse.h 1590a05006dSRobert WatsonMAC_STATIC opt_mac.h 160782f7255SRobert WatsonMAC_STUB opt_dontuse.h 161d971c22bSRobert WatsonMAC_TEST opt_dontuse.h 16271e4fff8SPoul-Henning KampMD_ROOT opt_md.h 16322ff74b2SMarcel MoolenaarMD_ROOT_FSTYPE opt_md.h 16471e4fff8SPoul-Henning KampMD_ROOT_SIZE opt_md.h 1657f631a41SScott LongMFI_DEBUG opt_mfi.h 166741367d5SDoug AmbriskoMFI_DECODE_LOG opt_mfi.h 16700096801SJohn-Mark GurneyMPROF_BUFFERS opt_mprof.h 16800096801SJohn-Mark GurneyMPROF_HASH_SIZE opt_mprof.h 16983c41143SJohn BaldwinNEW_PCIB opt_global.h 17002e4a320SJohn BaldwinNO_ADAPTIVE_MUTEXES opt_adaptive_mutexes.h 171cd6e6e4eSJohn BaldwinNO_ADAPTIVE_RWLOCKS 1721ae1c2a3SAttilio RaoNO_ADAPTIVE_SX 1732a4eeaa4SIan LeporeNO_EVENTTIMERS opt_timer.h 1742da4559fSWarner LoshNO_SYSCTL_DESCR opt_global.h 1755bbb8060STor EggeNSWBUF_MIN opt_swap.h 176f8bbd17fSKip MacyMBUF_PACKET_ZONE_DISABLE opt_global.h 1775f07565bSJuli MallettPANIC_REBOOT_WAIT_TIME opt_panic.h 1789bfb1e36SRyan StonePCI_IOV opt_global.h 179cea4d875SMarcel MoolenaarPPC_DEBUG opt_ppc.h 180cea4d875SMarcel MoolenaarPPC_PROBE_CHIPSET opt_ppc.h 181e0d781f3SEivind EklundPPS_SYNC opt_ntp.h 1820c43612aSJohn BaldwinPREEMPTION opt_sched.h 1833d20a1ffSBruce EvansQUOTA 184c3384118SJeff RobersonSCHED_4BSD opt_sched.h 18575a66a92SJeff RobersonSCHED_STATS opt_sched.h 186c3384118SJeff RobersonSCHED_ULE opt_sched.h 187ef0ebfc3SJohn BaldwinSLEEPQUEUE_PROFILING 188f35f3346STakanori WatanabeSLHCI_DEBUG opt_slhci.h 189cecc50bcSEivind EklundSPX_HACK 1903c90d1eaSRobert WatsonSTACK opt_stack.h 191e9484e32SRuslan ErmilovSUIDDIR 1920b911335SJohn BaldwinMSGMNB opt_sysvipc.h 1930b911335SJohn BaldwinMSGMNI opt_sysvipc.h 1940b911335SJohn BaldwinMSGSEG opt_sysvipc.h 1950b911335SJohn BaldwinMSGSSZ opt_sysvipc.h 1960b911335SJohn BaldwinMSGTQL opt_sysvipc.h 197ab063af9SPeter WemmSEMMNI opt_sysvipc.h 198ab063af9SPeter WemmSEMMNS opt_sysvipc.h 199ab063af9SPeter WemmSEMMNU opt_sysvipc.h 200ab063af9SPeter WemmSEMMSL opt_sysvipc.h 201ab063af9SPeter WemmSEMOPM opt_sysvipc.h 202ab063af9SPeter WemmSEMUME opt_sysvipc.h 2030b911335SJohn BaldwinSHMALL opt_sysvipc.h 2040b911335SJohn BaldwinSHMMAX opt_sysvipc.h 2050b911335SJohn BaldwinSHMMAXPGS opt_sysvipc.h 2060b911335SJohn BaldwinSHMMIN opt_sysvipc.h 2070b911335SJohn BaldwinSHMMNI opt_sysvipc.h 2080b911335SJohn BaldwinSHMSEG opt_sysvipc.h 2090b911335SJohn BaldwinSYSVMSG opt_sysvipc.h 2100b911335SJohn BaldwinSYSVSEM opt_sysvipc.h 2110b911335SJohn BaldwinSYSVSHM opt_sysvipc.h 2124103b765SPoul-Henning KampSW_WATCHDOG opt_watchdog.h 213ef0ebfc3SJohn BaldwinTURNSTILE_PROFILING 214c6111de5SDavide ItalianoUMTX_PROFILING 215dd85920aSJason EvansVFS_AIO 2169541307fSJohn-Mark GurneyVERBOSE_SYSINIT 21797fef0a1SJohn BaldwinWLCACHE opt_wavelan.h 21897fef0a1SJohn BaldwinWLDEBUG opt_wavelan.h 219d03b4017SBruce Evans 2208a6472b7SPeter Dufault# POSIX kernel options 2210e263b06SDavid XuP1003_1B_MQUEUE opt_posix.h 2223ffb9fadSAlfred PerlsteinP1003_1B_SEMAPHORES opt_posix.h 223d01cde04SBruce Evans_KPOSIX_PRIORITY_SCHEDULING opt_posix.h 224917e476dSPeter Dufault 225808129f0SPeter Wemm# Do we want the config file compiled into the kernel? 226808129f0SPeter WemmINCLUDE_CONFIG_FILE opt_config.h 227808129f0SPeter Wemm 228d03b4017SBruce Evans# Options for static filesystems. These should only be used at config 229d03b4017SBruce Evans# time, since the corresponding lkms cannot work if there are any static 230d03b4017SBruce Evans# dependencies. Unusability is enforced by hiding the defines for the 231d03b4017SBruce Evans# options in a never-included header. 2323914ddf8SEdward Tomasz NapieralaAUTOFS opt_dontuse.h 233bcf77694SPeter WemmCD9660 opt_dontuse.h 234f41991baSEivind EklundEXT2FS opt_dontuse.h 23599d300a1SRuslan ErmilovFDESCFS opt_dontuse.h 23616b1f68dSKonstantin BelousovFFS opt_dontuse.h 2375fe58019SAttilio RaoFUSE opt_dontuse.h 238f41991baSEivind EklundMSDOSFS opt_dontuse.h 2397f725bcdSGrzegorz BernackiNANDFS opt_dontuse.h 240d03b4017SBruce EvansNULLFS opt_dontuse.h 241d03b4017SBruce EvansPROCFS opt_dontuse.h 24236b2d3b7SDag-Erling SmørgravPSEUDOFS opt_dontuse.h 243fe98fb32SJean-Sébastien PédronREISERFS opt_dontuse.h 244237abf0cSDavide ItalianoSMBFS opt_dontuse.h 245d1fa59e9SXin LITMPFS opt_dontuse.h 246df263cbdSScott LongUDF opt_dontuse.h 247d971c22bSRobert WatsonUNIONFS opt_dontuse.h 24842713683SPeter WemmZFS opt_dontuse.h 249d03b4017SBruce Evans 250bcc1205cSDag-Erling Smørgrav# Pseudofs debugging 251bcc1205cSDag-Erling SmørgravPSEUDOFS_TRACE opt_pseudofs.h 252bcc1205cSDag-Erling Smørgrav 253a9148abdSDoug Rabson# In-kernel GSS-API 254a9148abdSDoug RabsonKGSSAPI opt_kgssapi.h 255a9148abdSDoug RabsonKGSSAPI_DEBUG opt_kgssapi.h 256a9148abdSDoug Rabson 257d971c22bSRobert Watson# These static filesystems have one slightly bogus static dependency in 2587b778b5eSEivind Eklund# sys/i386/i386/autoconf.c. If any of these filesystems are 2597b778b5eSEivind Eklund# statically compiled into the kernel, code for mounting them as root 260bcf77694SPeter Wemm# filesystems will be enabled - but look below. 261bcbdacddSRick Macklem# NFSCL - client 262bcbdacddSRick Macklem# NFSD - server 263bcbdacddSRick MacklemNFSCL opt_nfs.h 264bcbdacddSRick MacklemNFSD opt_nfs.h 265bcbdacddSRick Macklem 266c4f02a89SMax Khon# filesystems and libiconv bridge 267c4f02a89SMax KhonCD9660_ICONV opt_dontuse.h 268c4f02a89SMax KhonMSDOSFS_ICONV opt_dontuse.h 269126f0dfaSScott LongUDF_ICONV opt_dontuse.h 270c4f02a89SMax Khon 271b1897c19SJulian Elischer# If you are following the conditions in the copyright, 272b1897c19SJulian Elischer# you can enable soft-updates which will speed up a lot of thigs 273b1897c19SJulian Elischer# and make the system safer from crashes at the same time. 274b1897c19SJulian Elischer# otherwise a STUB module will be compiled in. 275b1897c19SJulian ElischerSOFTUPDATES opt_ffs.h 276b1897c19SJulian Elischer 2775c65ae3aSWarner Losh# On small, embedded systems, it can be useful to turn off support for 2785c65ae3aSWarner Losh# snapshots. It saves about 30-40k for a feature that would be lightly 2795c65ae3aSWarner Losh# used, if it is used at all. 2805c65ae3aSWarner LoshNO_FFS_SNAPSHOT opt_ffs.h 2815c65ae3aSWarner Losh 282a70f2747SRobert Watson# Enabling this option turns on support for Access Control Lists in UFS, 283a70f2747SRobert Watson# which can be used to support high security configurations. Depends on 284a70f2747SRobert Watson# UFS_EXTATTR. 285a70f2747SRobert WatsonUFS_ACL opt_ufs.h 286a70f2747SRobert Watson 287516081f2SRobert Watson# Enabling this option turns on support for extended attributes in UFS-based 288516081f2SRobert Watson# filesystems, which can be used to support high security configurations 289a64ed089SRobert Watson# as well as new filesystem features. 290516081f2SRobert WatsonUFS_EXTATTR opt_ufs.h 291516081f2SRobert WatsonUFS_EXTATTR_AUTOSTART opt_ufs.h 292a64ed089SRobert Watson 2939b5ad47fSIan Dowse# Enable fast hash lookups for large directories on UFS-based filesystems. 2949b5ad47fSIan DowseUFS_DIRHASH opt_ufs.h 2959b5ad47fSIan Dowse 296f348204cSPawel Jakub Dawidek# Enable gjournal-based UFS journal. 297f348204cSPawel Jakub DawidekUFS_GJOURNAL opt_ufs.h 298f348204cSPawel Jakub Dawidek 299d971c22bSRobert Watson# The below sentence is not in English, and neither is this one. 300d971c22bSRobert Watson# We plan to remove the static dependences above, with a 3017b778b5eSEivind Eklund# <filesystem>_ROOT option to control if it usable as root. This list 3027b778b5eSEivind Eklund# allows these options to be present in config files already (though 3037b778b5eSEivind Eklund# they won't make any difference yet). 304df394affSJohn-Mark GurneyNFS_ROOT opt_nfsroot.h 3057b778b5eSEivind Eklund 306237abf0cSDavide Italiano# SMB/CIFS requester 307237abf0cSDavide ItalianoNETSMB opt_netsmb.h 308237abf0cSDavide Italiano 309f74654deSPeter Wemm# Options used only in subr_param.c. 31034f3320eSKenjiro ChoHZ opt_param.h 3115a00f364SDag-Erling SmørgravMAXFILES opt_param.h 3123d20a1ffSBruce EvansNBUF opt_param.h 313dd0b2081SDavid GreenmanNSFBUFS opt_param.h 3142f9e4e80SMatthew DillonVM_BCACHE_SIZE_MAX opt_param.h 3152f9e4e80SMatthew DillonVM_SWZONE_SIZE_MAX opt_param.h 316f74654deSPeter WemmMAXUSERS 317cbc89bfbSPaul SaabDFLDSIZ opt_param.h 318cbc89bfbSPaul SaabMAXDSIZ opt_param.h 319cbc89bfbSPaul SaabMAXSSIZ opt_param.h 32081fc841cSBruce Evans 32181fc841cSBruce Evans# Generic SCSI options. 322bf21c633SJustin T. GibbsCAM_MAX_HIGHPOWER opt_cam.h 323bf21c633SJustin T. GibbsCAMDEBUG opt_cam.h 324f0f25b9cSAlexander MotinCAM_DEBUG_COMPILE opt_cam.h 325da56bbefSJustin T. GibbsCAM_DEBUG_DELAY opt_cam.h 326bf21c633SJustin T. GibbsCAM_DEBUG_BUS opt_cam.h 327bf21c633SJustin T. GibbsCAM_DEBUG_TARGET opt_cam.h 328bf21c633SJustin T. GibbsCAM_DEBUG_LUN opt_cam.h 329bf21c633SJustin T. GibbsCAM_DEBUG_FLAGS opt_cam.h 3306b156f61SSean BrunoCAM_BOOT_DELAY opt_cam.h 3313d20a1ffSBruce EvansSCSI_DELAY opt_scsi.h 332bf21c633SJustin T. GibbsSCSI_NO_SENSE_STRINGS opt_scsi.h 333bf21c633SJustin T. GibbsSCSI_NO_OP_STRINGS opt_scsi.h 334bf21c633SJustin T. Gibbs 335e3a6d3a4SAlexander Motin# Options used only in cam/ata/ata_da.c 336e3a6d3a4SAlexander MotinADA_TEST_FAILURE opt_ada.h 337d2ce15bdSMarius StroblATA_STATIC_ID opt_ada.h 338e3a6d3a4SAlexander Motin 339bf21c633SJustin T. Gibbs# Options used only in cam/scsi/scsi_cd.c 340bf21c633SJustin T. GibbsCHANGER_MIN_BUSY_SECONDS opt_cd.h 341bf21c633SJustin T. GibbsCHANGER_MAX_BUSY_SECONDS opt_cd.h 34281fc841cSBruce Evans 3433ece1bd2SKenneth D. Merry# Options used only in cam/scsi/scsi_sa.c. 344b29f9e40SMatt JacobSA_IO_TIMEOUT opt_sa.h 3459dfb4471SKenneth D. MerrySA_SPACE_TIMEOUT opt_sa.h 3469dfb4471SKenneth D. MerrySA_REWIND_TIMEOUT opt_sa.h 3479dfb4471SKenneth D. MerrySA_ERASE_TIMEOUT opt_sa.h 348cb02c78aSMatt JacobSA_1FM_AT_EOD opt_sa.h 349c30bc9dbSJoerg Wunsch 3503ece1bd2SKenneth D. Merry# Options used only in cam/scsi/scsi_pt.c 3513ece1bd2SKenneth D. MerrySCSI_PT_DEFAULT_TIMEOUT opt_pt.h 3523ece1bd2SKenneth D. Merry 35352e48164SMatt Jacob# Options used only in cam/scsi/scsi_ses.c 35452e48164SMatt JacobSES_ENABLE_PASSTHROUGH opt_ses.h 35552e48164SMatt Jacob 356410605d1SDavid E. O'Brien# Options used in dev/sym/ (Symbios SCSI driver). 357410605d1SDavid E. O'BrienSYM_SETUP_LP_PROBE_MAP opt_sym.h #-Low Priority Probe Map (bits) 358410605d1SDavid E. O'Brien # Allows the ncr to take precedence 359410605d1SDavid E. O'Brien # 1 (1<<0) -> 810a, 860 360410605d1SDavid E. O'Brien # 2 (1<<1) -> 825a, 875, 885, 895 361410605d1SDavid E. O'Brien # 4 (1<<2) -> 895a, 896, 1510d 362410605d1SDavid E. O'BrienSYM_SETUP_SCSI_DIFF opt_sym.h #-HVD support for 825a, 875, 885 363410605d1SDavid E. O'Brien # disabled:0 (default), enabled:1 364410605d1SDavid E. O'BrienSYM_SETUP_PCI_PARITY opt_sym.h #-PCI parity checking 365410605d1SDavid E. O'Brien # disabled:0, enabled:1 (default) 366410605d1SDavid E. O'BrienSYM_SETUP_MAX_LUN opt_sym.h #-Number of LUNs supported 367410605d1SDavid E. O'Brien # default:8, range:[1..64] 368410605d1SDavid E. O'Brien 3693355bd61SRui Paulo# Options used only in dev/ncr/* 3703d20a1ffSBruce EvansSCSI_NCR_DEBUG opt_ncr.h 371a5bef142SBruce EvansSCSI_NCR_MAX_SYNC opt_ncr.h 372a5bef142SBruce EvansSCSI_NCR_MAX_WIDE opt_ncr.h 3733d20a1ffSBruce EvansSCSI_NCR_MYADDR opt_ncr.h 37421ffa5aeSStefan Eßer 375355904d5SMatt Jacob# Options used only in dev/isp/* 37673e1de92SMatt JacobISP_TARGET_MODE opt_isp.h 377355904d5SMatt JacobISP_FW_CRASH_DUMP opt_isp.h 378af606348SMatt JacobISP_DEFAULT_ROLES opt_isp.h 37915f0f952SMatt JacobISP_INTERNAL_TARGET opt_isp.h 3803fc2ba4dSMatt Jacob 381c5933b20SScott Long# Options used only in dev/iscsi 382c5933b20SScott LongISCSI_INITIATOR_DEBUG opt_iscsi_initiator.h 383c5933b20SScott Long 38481fc841cSBruce Evans# Net stuff. 385a79b7128SAlfred PerlsteinACCEPT_FILTER_DATA 386744eaff7SDavid MaloneACCEPT_FILTER_DNS 387a79b7128SAlfred PerlsteinACCEPT_FILTER_HTTP 38802b199f1SMax LaierALTQ opt_global.h 38902b199f1SMax LaierALTQ_CBQ opt_altq.h 3902da4559fSWarner LoshALTQ_CDNR opt_altq.h 3910a70aaf8SLuiz Otavio O SouzaALTQ_CODEL opt_altq.h 3922da4559fSWarner LoshALTQ_DEBUG opt_altq.h 3932da4559fSWarner LoshALTQ_HFSC opt_altq.h 394a5b789f6SErmal LuçiALTQ_FAIRQ opt_altq.h 3952da4559fSWarner LoshALTQ_NOPCC opt_altq.h 3962da4559fSWarner LoshALTQ_PRIQ opt_altq.h 39702b199f1SMax LaierALTQ_RED opt_altq.h 39802b199f1SMax LaierALTQ_RIO opt_altq.h 3990ac40133SBrian SomersBOOTP opt_bootp.h 400aea75fdeSBenno RiceBOOTP_BLOCKSIZE opt_bootp.h 4010ac40133SBrian SomersBOOTP_COMPAT opt_bootp.h 4020ac40133SBrian SomersBOOTP_NFSROOT opt_bootp.h 4030ac40133SBrian SomersBOOTP_NFSV3 opt_bootp.h 4040ac40133SBrian SomersBOOTP_WIRED_TO opt_bootp.h 405f0796cd2SGleb SmirnoffDEVICE_POLLING 4062da4559fSWarner LoshDUMMYNET opt_ipdn.h 4071d5e9e22SEivind EklundINET opt_inet.h 408cfa1ca9dSYoshinobu InoueINET6 opt_inet6.h 409fbd1372aSJoerg WunschIPDIVERT 4109cc86ee9SGuido van RooijIPFILTER opt_ipfilter.h 4112da4559fSWarner LoshIPFILTER_DEFAULT_BLOCK opt_ipfilter.h 4129cc86ee9SGuido van RooijIPFILTER_LOG opt_ipfilter.h 4130c3757dfSDarren ReedIPFILTER_LOOKUP opt_ipfilter.h 41474a9466cSGary PalmerIPFIREWALL opt_ipfw.h 415ffdd472dSPeter WemmIPFIREWALL_DEFAULT_TO_ACCEPT opt_ipfw.h 41661c0e134SPaolo PisatiIPFIREWALL_NAT opt_ipfw.h 4172da4559fSWarner LoshIPFIREWALL_VERBOSE opt_ipfw.h 4182da4559fSWarner LoshIPFIREWALL_VERBOSE_LIMIT opt_ipfw.h 4192da4559fSWarner LoshIPSEC opt_ipsec.h 4202da4559fSWarner LoshIPSEC_DEBUG opt_ipsec.h 4212da4559fSWarner LoshIPSEC_FILTERTUNNEL opt_ipsec.h 4227b495c44SVANHULLEBUS YvanIPSEC_NAT_T opt_ipsec.h 4231b968362SDag-Erling SmørgravIPSTEALTH 4242da4559fSWarner LoshKRPC 4252da4559fSWarner LoshLIBALIAS 4267e9024cdSHartmut BrandtLIBMBPOOL 427d8589bd5SBoris PopovLIBMCHAIN 4286eeac1d9SJulian ElischerMBUF_PROFILING 4292da4559fSWarner LoshMBUF_STRESS_TEST 4302da4559fSWarner LoshMROUTING opt_mrouting.h 4312da4559fSWarner LoshNFSLOCKD 43252cd27cbSRobert WatsonPCBGROUP opt_pcbgroup.h 4337f7ef494SGleb SmirnoffPF_DEFAULT_TO_DROP opt_pf.h 434e440aed9SQing LiRADIX_MPATH opt_mpath.h 4352da4559fSWarner LoshROUTETABLES opt_route.h 4367527624eSRobert WatsonRSS opt_rss.h 437875f3161SDag-Erling SmørgravSLIP_IFF_OPTS opt_slip.h 4380cc12cc5SJoerg WunschTCPDEBUG 4393e126de6SGeorge V. Neville-NeilSIFTR 44009fe6320SNavdeep ParharTCP_OFFLOAD opt_inet.h # Enable code to dispatch TCP offloading 4411cfd4b53SBruce M SimpsonTCP_SIGNATURE opt_inet.h 44275ee267cSGleb SmirnoffVLAN_ARRAY opt_vlan.h 443914594eaSKris KennawayXBONEHACK 4443576e2f4SKip MacyFLOWTABLE opt_route.h 4450ff96b4fSGleb SmirnoffFLOWTABLE_HASH_ALL opt_route.h 4463458e54aSJulian Elischer 447f8829a4aSRandall Stewart# 448f8829a4aSRandall Stewart# SCTP 449f8829a4aSRandall Stewart# 450f8829a4aSRandall StewartSCTP opt_sctp.h 45180fefe0aSRandall StewartSCTP_DEBUG opt_sctp.h # Enable debug printfs 45280fefe0aSRandall StewartSCTP_WITH_NO_CSUM opt_sctp.h # Use this at your peril 45380fefe0aSRandall StewartSCTP_LOCK_LOGGING opt_sctp.h # Log to KTR lock activity 45480fefe0aSRandall StewartSCTP_MBUF_LOGGING opt_sctp.h # Log to KTR general mbuf aloc/free 45580fefe0aSRandall StewartSCTP_MBCNT_LOGGING opt_sctp.h # Log to KTR mbcnt activity 45680fefe0aSRandall StewartSCTP_PACKET_LOGGING opt_sctp.h # Log to a packet buffer last N packets 45780fefe0aSRandall StewartSCTP_LTRACE_CHUNKS opt_sctp.h # Log to KTR chunks processed 45880fefe0aSRandall StewartSCTP_LTRACE_ERRORS opt_sctp.h # Log to KTR error returns. 459ff014514SRandall StewartSCTP_USE_PERCPU_STAT opt_sctp.h # Use per cpu stats. 460bfc46083SRandall StewartSCTP_MCORE_INPUT opt_sctp.h # Have multiple input threads for input mbufs 46100db3c63SMichael TuexenSCTP_LOCAL_TRACE_BUF opt_sctp.h # Use tracebuffer exported via sysctl 462f0396ad1SMichael TuexenSCTP_DETAILED_STR_STATS opt_sctp.h # Use per PR-SCTP policy stream stats 46380fefe0aSRandall Stewart# 46480fefe0aSRandall Stewart# 46580fefe0aSRandall Stewart# 466f8829a4aSRandall Stewart 4674cf49a43SJulian Elischer# Netgraph(4). Use option NETGRAPH to enable the base netgraph code. 4684cf49a43SJulian Elischer# Each netgraph node type can be either be compiled into the kernel 4694cf49a43SJulian Elischer# or loaded dynamically. To get the former, include the corresponding 470ed2dbd31SArchie Cobbs# option below. Each type has its own man page, e.g. ng_async(4). 4714cf49a43SJulian ElischerNETGRAPH 47273e87266SGleb SmirnoffNETGRAPH_DEBUG opt_netgraph.h 4734cf49a43SJulian ElischerNETGRAPH_ASYNC opt_netgraph.h 474bde778e9SBenno RiceNETGRAPH_ATMLLC opt_netgraph.h 475b84b10f9SMaksim YevmenkinNETGRAPH_ATM_ATMPIF opt_netgraph.h 476b84b10f9SMaksim YevmenkinNETGRAPH_BLUETOOTH opt_netgraph.h 477b84b10f9SMaksim YevmenkinNETGRAPH_BLUETOOTH_BT3C opt_netgraph.h 478b84b10f9SMaksim YevmenkinNETGRAPH_BLUETOOTH_H4 opt_netgraph.h 479b84b10f9SMaksim YevmenkinNETGRAPH_BLUETOOTH_HCI opt_netgraph.h 480b84b10f9SMaksim YevmenkinNETGRAPH_BLUETOOTH_L2CAP opt_netgraph.h 481b84b10f9SMaksim YevmenkinNETGRAPH_BLUETOOTH_SOCKET opt_netgraph.h 482b84b10f9SMaksim YevmenkinNETGRAPH_BLUETOOTH_UBT opt_netgraph.h 483b84b10f9SMaksim YevmenkinNETGRAPH_BLUETOOTH_UBTBCMFW opt_netgraph.h 48492a3e552SArchie CobbsNETGRAPH_BPF opt_netgraph.h 485ed2dbd31SArchie CobbsNETGRAPH_BRIDGE opt_netgraph.h 4867d3b4a08SAlexander MotinNETGRAPH_CAR opt_netgraph.h 4874cf49a43SJulian ElischerNETGRAPH_CISCO opt_netgraph.h 4889e6f1d3bSGleb SmirnoffNETGRAPH_DEFLATE opt_netgraph.h 48931578ac8SGleb SmirnoffNETGRAPH_DEVICE opt_netgraph.h 4904cf49a43SJulian ElischerNETGRAPH_ECHO opt_netgraph.h 4919d564133SRobert WatsonNETGRAPH_EIFACE opt_netgraph.h 492e1e1452dSArchie CobbsNETGRAPH_ETHER opt_netgraph.h 4931018c6cbSJulian ElischerNETGRAPH_ETHER_ECHO opt_netgraph.h 494d07af9d9SRobert WatsonNETGRAPH_FEC opt_netgraph.h 4954cf49a43SJulian ElischerNETGRAPH_FRAME_RELAY opt_netgraph.h 49694408d94SBrooks DavisNETGRAPH_GIF opt_netgraph.h 49794408d94SBrooks DavisNETGRAPH_GIF_DEMUX opt_netgraph.h 4984cf49a43SJulian ElischerNETGRAPH_HOLE opt_netgraph.h 4994cf49a43SJulian ElischerNETGRAPH_IFACE opt_netgraph.h 500c2eed105SBrooks DavisNETGRAPH_IP_INPUT opt_netgraph.h 501f2a7ef4eSGleb SmirnoffNETGRAPH_IPFW opt_netgraph.h 5026e874711SArchie CobbsNETGRAPH_KSOCKET opt_netgraph.h 503901fadf7SArchie CobbsNETGRAPH_L2TP opt_netgraph.h 504d971c22bSRobert WatsonNETGRAPH_LMI opt_netgraph.h 505a2b408adSArchie Cobbs# MPPC compression requires proprietary files (not included) 506a2b408adSArchie CobbsNETGRAPH_MPPC_COMPRESSION opt_netgraph.h 507a2b408adSArchie CobbsNETGRAPH_MPPC_ENCRYPTION opt_netgraph.h 508c4c9b52bSGleb SmirnoffNETGRAPH_NAT opt_netgraph.h 509cec50deaSGleb SmirnoffNETGRAPH_NETFLOW opt_netgraph.h 5107d7a5b89SArchie CobbsNETGRAPH_ONE2MANY opt_netgraph.h 511d359a62dSAndrey V. ElsukovNETGRAPH_PATCH opt_netgraph.h 512991633afSMarko ZecNETGRAPH_PIPE opt_netgraph.h 5136827c8feSArchie CobbsNETGRAPH_PPP opt_netgraph.h 5146827c8feSArchie CobbsNETGRAPH_PPPOE opt_netgraph.h 515add85a1dSArchie CobbsNETGRAPH_PPTPGRE opt_netgraph.h 5169e6f1d3bSGleb SmirnoffNETGRAPH_PRED1 opt_netgraph.h 5174cf49a43SJulian ElischerNETGRAPH_RFC1490 opt_netgraph.h 5184cf49a43SJulian ElischerNETGRAPH_SOCKET opt_netgraph.h 5194d60fee2SBrooks DavisNETGRAPH_SPLIT opt_netgraph.h 5200a6818e2SRoman KurakinNETGRAPH_SPPP opt_netgraph.h 521d473c9d5SGleb SmirnoffNETGRAPH_TAG opt_netgraph.h 522e9110049SGleb SmirnoffNETGRAPH_TCPMSS opt_netgraph.h 5234cf49a43SJulian ElischerNETGRAPH_TEE opt_netgraph.h 5244cf49a43SJulian ElischerNETGRAPH_TTY opt_netgraph.h 5254cf49a43SJulian ElischerNETGRAPH_UI opt_netgraph.h 52606e36c4dSJulian ElischerNETGRAPH_VJC opt_netgraph.h 527b4263060SRuslan ErmilovNETGRAPH_VLAN opt_netgraph.h 528666ea1b6SMaksim Yevmenkin 52902152e8fSHartmut Brandt# NgATM options 53002152e8fSHartmut BrandtNGATM_ATM opt_netgraph.h 531027ebd2fSHartmut BrandtNGATM_ATMBASE opt_netgraph.h 532027ebd2fSHartmut BrandtNGATM_SSCOP opt_netgraph.h 533027ebd2fSHartmut BrandtNGATM_SSCFU opt_netgraph.h 534ed91f9a5SHartmut BrandtNGATM_UNI opt_netgraph.h 535a7e22394SHartmut BrandtNGATM_CCATM opt_netgraph.h 53602152e8fSHartmut Brandt 53767a2a28fSEric Anholt# DRM options 53867a2a28fSEric AnholtDRM_DEBUG opt_drm.h 53967a2a28fSEric Anholt 54010a4360cSPyun YongHyeonTI_SF_BUF_JUMBO opt_ti.h 54198cb733cSKenneth D. MerryTI_JUMBO_HDRSPLIT opt_ti.h 54298cb733cSKenneth D. Merry 543e0d781f3SEivind Eklund# XXX Conflict: # of devices vs network protocol (Native ATM). 544e0d781f3SEivind Eklund# This makes "atm.h" unusable. 545ed9adee7SDag-Erling SmørgravNATM 546e0d781f3SEivind Eklund 5473458e54aSJulian Elischer# DPT driver debug flags 5483458e54aSJulian ElischerDPT_MEASURE_PERFORMANCE opt_dpt.h 549b755b885SEivind EklundDPT_RESET_HBA opt_dpt.h 5503f2076daSEivind Eklund 5513f2076daSEivind Eklund# Misc debug flags. Most of these should probably be replaced with 5523f2076daSEivind Eklund# 'DEBUG', and then let people recompile just the interesting modules 553fdf94d1aSNicolas Souchu# with 'make CC="cc -DDEBUG"'. 5543f2076daSEivind EklundCLUSTERDEBUG opt_debug_cluster.h 555a6de7b79SNicolas SouchuDEBUG_1284 opt_ppb_1284.h 556a6de7b79SNicolas SouchuVP0_DEBUG opt_vpo.h 557fdf94d1aSNicolas SouchuLPT_DEBUG opt_lpt.h 5587b7bf77eSNicolas SouchuPLIP_DEBUG opt_plip.h 5593f2076daSEivind EklundLOCKF_DEBUG opt_debug_lockf.h 5603f2076daSEivind EklundSI_DEBUG opt_debug_si.h 56141c1a233SGleb SmirnoffIFMEDIA_DEBUG opt_ifmedia.h 5623f2076daSEivind Eklund 563909232c4SEivind Eklund# Fb options 564909232c4SEivind EklundFB_DEBUG opt_fb.h 565909232c4SEivind EklundFB_INSTALL_CDEV opt_fb.h 566909232c4SEivind Eklund 56704fb1490SNicolas Souchu# ppbus related options 56804fb1490SNicolas SouchuPERIPH_1284 opt_ppb_1284.h 56904fb1490SNicolas SouchuDONTPROBE_1284 opt_ppb_1284.h 57004fb1490SNicolas Souchu 57104fb1490SNicolas Souchu# smbus related options 57204fb1490SNicolas SouchuENABLE_ALART opt_intpm.h 5733f2076daSEivind Eklund 57414834de4SEivind Eklund# These cause changes all over the kernel 575909232c4SEivind EklundBLKDEV_IOSIZE opt_global.h 57608ebe101SWarner LoshBURN_BRIDGES opt_global.h 57714834de4SEivind EklundDEBUG opt_global.h 57815a1057cSEivind EklundDEBUG_LOCKS opt_global.h 5795526d2d9SEivind EklundDEBUG_VFS_LOCKS opt_global.h 580e36dee2cSWarner LoshDFLTPHYS opt_global.h 58114834de4SEivind EklundDIAGNOSTIC opt_global.h 58234b15f2aSJohn BaldwinINVARIANT_SUPPORT opt_global.h 5835526d2d9SEivind EklundINVARIANTS opt_global.h 58468b739cdSAttilio RaoMAXCPU opt_global.h 585941646f5SAttilio RaoMAXMEMDOM opt_global.h 586e36dee2cSWarner LoshMAXPHYS opt_global.h 5872c8f5a28SKenneth D. MerryMCLSHIFT opt_global.h 588d01cde04SBruce EvansMUTEX_DEBUG opt_global.h 589d01cde04SBruce EvansMUTEX_NOINLINE opt_global.h 5907c0435b9SKip MacyLOCK_PROFILING opt_global.h 591f183910bSKip MacyLOCK_PROFILING_FAST opt_global.h 5922c8f5a28SKenneth D. MerryMSIZE opt_global.h 5930b5438c6SRobert WatsonREGRESSION opt_global.h 5943f08bd8bSJohn BaldwinRWLOCK_NOINLINE opt_global.h 5954e7f640dSJohn BaldwinSX_NOINLINE opt_global.h 5965526d2d9SEivind EklundVFS_BIO_DEBUG opt_global.h 597d9bed5beSJohn Dyson 598d9bed5beSJohn Dyson# These are VM related options 599d9bed5beSJohn DysonVM_KMEM_SIZE opt_vm.h 600d9bed5beSJohn DysonVM_KMEM_SIZE_SCALE opt_vm.h 601d9bed5beSJohn DysonVM_KMEM_SIZE_MAX opt_vm.h 602b8e7fc24SAlan CoxVM_NRESERVLEVEL opt_vm.h 603b8e7fc24SAlan CoxVM_LEVEL_0_ORDER opt_vm.h 604faa5f8d8SAndrzej BialeckiNO_SWAPPING opt_vm.h 605eae870cdSRobert WatsonMALLOC_MAKE_FAILURES opt_vm.h 606a59f8b9eSJeff RobersonMALLOC_PROFILE opt_vm.h 607d7854da1SMatthew D FlemingMALLOC_DEBUG_MAXZONES opt_vm.h 60820f71813SJohn-Mark Gurney 609e4eb384bSBosko Milekic# The MemGuard replacement allocator used for tamper-after-free detection 610e4eb384bSBosko MilekicDEBUG_MEMGUARD opt_vm.h 611e4eb384bSBosko Milekic 612847a2a17SPawel Jakub Dawidek# The RedZone malloc(9) protection 613847a2a17SPawel Jakub DawidekDEBUG_REDZONE opt_vm.h 614847a2a17SPawel Jakub Dawidek 615ecd19816SMike Smith# Standard SMP options 616ecd19816SMike SmithSMP opt_global.h 617751bf650SJun-ichiro itojun Hagino 61858067a99SPoul-Henning Kamp# Size of the kernel message buffer 61958067a99SPoul-Henning KampMSGBUF_SIZE opt_msgbuf.h 620ecbb00a2SDoug Rabson 621df394affSJohn-Mark Gurney# NFS options 622df394affSJohn-Mark GurneyNFS_MINATTRTIMO opt_nfs.h 623df394affSJohn-Mark GurneyNFS_MAXATTRTIMO opt_nfs.h 624df394affSJohn-Mark GurneyNFS_MINDIRATTRTIMO opt_nfs.h 625df394affSJohn-Mark GurneyNFS_MAXDIRATTRTIMO opt_nfs.h 626df394affSJohn-Mark GurneyNFS_DEBUG opt_nfs.h 627df394affSJohn-Mark Gurney 62824e89aa8SRoger Hardiman# For the Bt848/Bt848A/Bt849/Bt878/Bt879 driver 6295cd2d295SRoger HardimanOVERRIDE_CARD opt_bktr.h 6305cd2d295SRoger HardimanOVERRIDE_TUNER opt_bktr.h 6315cd2d295SRoger HardimanOVERRIDE_DBX opt_bktr.h 6325cd2d295SRoger HardimanOVERRIDE_MSP opt_bktr.h 6335cd2d295SRoger HardimanBROOKTREE_SYSTEM_DEFAULT opt_bktr.h 63463883894SRoger HardimanBROOKTREE_ALLOC_PAGES opt_bktr.h 63563883894SRoger HardimanBKTR_OVERRIDE_CARD opt_bktr.h 63663883894SRoger HardimanBKTR_OVERRIDE_TUNER opt_bktr.h 63763883894SRoger HardimanBKTR_OVERRIDE_DBX opt_bktr.h 63863883894SRoger HardimanBKTR_OVERRIDE_MSP opt_bktr.h 63963883894SRoger HardimanBKTR_SYSTEM_DEFAULT opt_bktr.h 64063883894SRoger HardimanBKTR_ALLOC_PAGES opt_bktr.h 6415cd2d295SRoger HardimanBKTR_USE_PLL opt_bktr.h 6425cd2d295SRoger HardimanBKTR_GPIO_ACCESS opt_bktr.h 6435cd2d295SRoger HardimanBKTR_NO_MSP_RESET opt_bktr.h 6445cd2d295SRoger HardimanBKTR_430_FX_MODE opt_bktr.h 6455cd2d295SRoger HardimanBKTR_SIS_VIA_MODE opt_bktr.h 646c17d4340SNicolas SouchuBKTR_USE_FREEBSD_SMBUS opt_bktr.h 64730e27d96SAlexander LangerBKTR_NEW_MSP34XX_DRIVER opt_bktr.h 64858dde31aSSøren Schmidt 6491662b008SIan Lepore# Options for uart(4) 6508194412bSMarcel MoolenaarUART_PPS_ON_CTS opt_uart.h 6511662b008SIan LeporeUART_POLL_FREQ opt_uart.h 6528194412bSMarcel Moolenaar 653709f2df6SDoug Rabson# options for bus/device framework 654709f2df6SDoug RabsonBUS_DEBUG opt_bus.h 6550cec007cSNick Hibma 6560cec007cSNick Hibma# options for USB support 6570cec007cSNick HibmaUSB_DEBUG opt_usb.h 658773dfc25SHans Petter SelaskyUSB_HOST_ALIGN opt_usb.h 6593da99f72SAndrew ThompsonUSB_REQ_DEBUG opt_usb.h 660fa49bce5SHans Petter SelaskyUSB_TEMPLATE opt_usb.h 66131d22003SMarcel MoolenaarUSB_VERBOSE opt_usb.h 6628b1ce329SHans Petter SelaskyUSB_DMA_SINGLE_ALLOC opt_usb.h 663bfa98d2bSSam LefflerUSB_EHCI_BIG_ENDIAN_DESC opt_usb.h 664fe75118bSNick HibmaU3G_DEBUG opt_u3g.h 665f548daf0SJohn BaldwinUKBD_DFLT_KEYMAP opt_ukbd.h 666565f53bbSShunsuke AkiyamaUPLCOM_INTR_INTERVAL opt_uplcom.h 66720280807SShunsuke AkiyamaUVSCOM_DEFAULT_OPKTSIZE opt_uvscom.h 668565f53bbSShunsuke AkiyamaUVSCOM_INTR_INTERVAL opt_uvscom.h 669a9d45962SPeter Wemm 6709775e378SJohn Birrell# Embedded system options 671e9484e32SRuslan ErmilovINIT_PATH 672b307e58fSPoul-Henning Kamp 673e9484e32SRuslan ErmilovROOTDEVNAME 674814ce988SDoug Rabson 675814ce988SDoug RabsonFDC_DEBUG opt_fdc.h 6763b2d592cSJordan K. HubbardPCFCLOCK_VERBOSE opt_pcfclock.h 6773b2d592cSJordan K. HubbardPCFCLOCK_MAX_RETRIES opt_pcfclock.h 678f9d186edSScott Long 6790384fff8SJason EvansKTR opt_global.h 6804b124a4bSJeff RobersonKTR_ALQ opt_ktr.h 681d8f03321SJohn BaldwinKTR_MASK opt_ktr.h 682d8f03321SJohn BaldwinKTR_CPUMASK opt_ktr.h 6830384fff8SJason EvansKTR_COMPILE opt_global.h 68436b7dde4SAndriy GaponKTR_BOOT_ENTRIES opt_global.h 6850384fff8SJason EvansKTR_ENTRIES opt_global.h 686d8f03321SJohn BaldwinKTR_VERBOSE opt_ktr.h 6870384fff8SJason EvansWITNESS opt_global.h 688e2ee2173SMarcel MoolenaarWITNESS_KDB opt_witness.h 689e63091eaSMarcel MoolenaarWITNESS_NO_VNODE opt_witness.h 690660d1e3aSJohn BaldwinWITNESS_SKIPSPIN opt_witness.h 691146cbf6fSWarner LoshWITNESS_COUNT opt_witness.h 692c319ea15SAndriy GaponOPENSOLARIS_WITNESS opt_global.h 6930384fff8SJason Evans 694b1f12b61STakanori Watanabe# options for ACPI support 695b1f12b61STakanori WatanabeACPI_DEBUG opt_acpi.h 6963ff9febdSJung-uk KimACPI_MAX_TASKS opt_acpi.h 697c573e654SMitsuru IWASAKIACPI_MAX_THREADS opt_acpi.h 69886be9f0dSKonstantin BelousovACPI_DMAR opt_acpi.h 699f17e3a0aSAndrew TurnerDEV_ACPI opt_acpi.h 70093bcdfe2SPoul-Henning Kamp 701acb8c149SMarius Strobl# ISA support 702acb8c149SMarius StroblDEV_ISA opt_isa.h 703acb8c149SMarius StroblISAPNP opt_isa.h 704acb8c149SMarius Strobl 705810d0bd1SPeter Wemm# various 'device presence' options. 706d01cde04SBruce EvansDEV_BPF opt_bpf.h 707a9771948SGleb SmirnoffDEV_CARP opt_carp.h 708beae9392SWarner LoshDEV_ENC opt_enc.h 709beae9392SWarner LoshDEV_MCA opt_mca.h 710beae9392SWarner LoshDEV_NETMAP opt_global.h 711beae9392SWarner LoshDEV_PCI opt_pci.h 712beae9392SWarner LoshDEV_PF opt_pf.h 713beae9392SWarner LoshDEV_PFLOG opt_pf.h 714beae9392SWarner LoshDEV_PFSYNC opt_pf.h 715646041a8SMark MurrayDEV_RANDOM opt_global.h 71628ab032eSJake BurkholderDEV_SPLASH opt_splash.h 717beae9392SWarner LoshDEV_VLAN opt_vlan.h 7189b04180cSIan Dowse 719420a38ddSMarius Strobl# EISA support 720420a38ddSMarius StroblDEV_EISA opt_eisa.h 72177bf7b3bSBernd WalterEISA_SLOTS opt_eisa.h 72277bf7b3bSBernd Walter 7239b04180cSIan Dowse# ed driver 724969eaf21SWarner LoshED_HPP opt_ed.h 725969eaf21SWarner LoshED_3C503 opt_ed.h 726969eaf21SWarner LoshED_SIC opt_ed.h 7270483b1a8SAndrew Gallatin 728d8636a9aSPaul Saab# bce driver 729d8636a9aSPaul SaabBCE_DEBUG opt_bce.h 730584d21f6SDoug AmbriskoBCE_NVRAM_WRITE_SUPPORT opt_bce.h 731d8636a9aSPaul Saab 732395bb186SSam LefflerSOCKBUF_DEBUG opt_global.h 733395bb186SSam Leffler 734dd46ab31SDavid Christensen 735b7c4858fSSam Leffler# options for ubsec driver 736b7c4858fSSam LefflerUBSEC_DEBUG opt_ubsec.h 737b7c4858fSSam LefflerUBSEC_RNDTEST opt_ubsec.h 738a826874fSSam LefflerUBSEC_NO_RNG opt_ubsec.h 739b7c4858fSSam Leffler 740b7c4858fSSam Leffler# options for hifn driver 741b7c4858fSSam LefflerHIFN_DEBUG opt_hifn.h 742b7c4858fSSam LefflerHIFN_RNDTEST opt_hifn.h 74328ab032eSJake Burkholder 744fc66b6e9SSam Leffler# options for safenet driver 745fc66b6e9SSam LefflerSAFE_DEBUG opt_safe.h 746fc66b6e9SSam LefflerSAFE_NO_RNG opt_safe.h 747fc66b6e9SSam LefflerSAFE_RNDTEST opt_safe.h 748fc66b6e9SSam Leffler 74927cf7d04SAleksandr Rybalko# syscons/vt options 75028ab032eSJake BurkholderMAXCONS opt_syscons.h 75128ab032eSJake BurkholderSC_ALT_MOUSE_IMAGE opt_syscons.h 75228ab032eSJake BurkholderSC_CUT_SPACES2TABS opt_syscons.h 75328ab032eSJake BurkholderSC_CUT_SEPCHARS opt_syscons.h 75428ab032eSJake BurkholderSC_DEBUG_LEVEL opt_syscons.h 75528ab032eSJake BurkholderSC_DFLT_FONT opt_syscons.h 756e2ee2173SMarcel MoolenaarSC_DISABLE_KDBKEY opt_syscons.h 75728ab032eSJake BurkholderSC_DISABLE_REBOOT opt_syscons.h 75828ab032eSJake BurkholderSC_HISTORY_SIZE opt_syscons.h 75928ab032eSJake BurkholderSC_KERNEL_CONS_ATTR opt_syscons.h 76028ab032eSJake BurkholderSC_KERNEL_CONS_REV_ATTR opt_syscons.h 76128ab032eSJake BurkholderSC_MOUSE_CHAR opt_syscons.h 76228ab032eSJake BurkholderSC_NO_CUTPASTE opt_syscons.h 76328ab032eSJake BurkholderSC_NO_FONT_LOADING opt_syscons.h 76428ab032eSJake BurkholderSC_NO_HISTORY opt_syscons.h 7656e62b069SMarius StroblSC_NO_MODE_CHANGE opt_syscons.h 766d01cde04SBruce EvansSC_NO_SUSPEND_VTYSWITCH opt_syscons.h 76728ab032eSJake BurkholderSC_NO_SYSMOUSE opt_syscons.h 76828ab032eSJake BurkholderSC_NORM_ATTR opt_syscons.h 76928ab032eSJake BurkholderSC_NORM_REV_ATTR opt_syscons.h 77028ab032eSJake BurkholderSC_PIXEL_MODE opt_syscons.h 77128ab032eSJake BurkholderSC_RENDER_DEBUG opt_syscons.h 77228ab032eSJake BurkholderSC_TWOBUTTON_MOUSE opt_syscons.h 773775ed1ceSEd MasteVT_ALT_TO_ESC_HACK opt_syscons.h 774775ed1ceSEd MasteVT_FB_DEFAULT_WIDTH opt_syscons.h 775775ed1ceSEd MasteVT_FB_DEFAULT_HEIGHT opt_syscons.h 776775ed1ceSEd MasteVT_MAXWINDOWS opt_syscons.h 777775ed1ceSEd MasteVT_TWOBUTTON_MOUSE opt_syscons.h 77800f4f023SAleksandr RybalkoDEV_SC opt_syscons.h 77900f4f023SAleksandr RybalkoDEV_VT opt_syscons.h 78000f4f023SAleksandr Rybalko 78183409a55SEd Schouten# teken terminal emulator options 782e42fc368SEd SchoutenTEKEN_CONS25 opt_teken.h 78383409a55SEd SchoutenTEKEN_UTF8 opt_teken.h 7847344ee18SMarius StroblTERMINAL_KERN_ATTR opt_teken.h 7857344ee18SMarius StroblTERMINAL_NORM_ATTR opt_teken.h 78683409a55SEd Schouten 787e0b65125SJohn Birrell# options for printf 788e0b65125SJohn BirrellPRINTF_BUFR_SIZE opt_printf.h 789e0b65125SJohn Birrell 79028ab032eSJake Burkholder# kbd options 79128ab032eSJake BurkholderKBD_DISABLE_KEYMAP_LOAD opt_kbd.h 79228ab032eSJake BurkholderKBD_INSTALL_CDEV opt_kbd.h 79328ab032eSJake BurkholderKBD_MAXRETRY opt_kbd.h 79428ab032eSJake BurkholderKBD_MAXWAIT opt_kbd.h 79528ab032eSJake BurkholderKBD_RESETDELAY opt_kbd.h 79628ab032eSJake BurkholderKBDIO_DEBUG opt_kbd.h 797167f409fSSam Leffler 798a585a9a1SSam Leffler# options for the Atheros driver 799a585a9a1SSam LefflerATH_DEBUG opt_ath.h 800a585a9a1SSam LefflerATH_TXBUF opt_ath.h 801a585a9a1SSam LefflerATH_RXBUF opt_ath.h 802a585a9a1SSam LefflerATH_DIAGAPI opt_ath.h 803a585a9a1SSam LefflerATH_TX99_DIAG opt_ath.h 80410dc8de4SAdrian ChaddATH_ENABLE_11N opt_ath.h 80510dc8de4SAdrian ChaddATH_ENABLE_DFS opt_ath.h 80679f57b35SAdrian ChaddATH_EEPROM_FIRMWARE opt_ath.h 807e1b5ab97SAdrian ChaddATH_ENABLE_RADIOTAP_VENDOR_EXT opt_ath.h 808425dd534SAdrian ChaddATH_DEBUG_ALQ opt_ath.h 809425dd534SAdrian ChaddATH_KTR_INTR_DEBUG opt_ath.h 810a585a9a1SSam Leffler 81133644623SSam Leffler# options for the Atheros hal 81233644623SSam LefflerAH_SUPPORT_AR5416 opt_ah.h 81374f355f0SAdrian Chadd# XXX For now, this breaks non-AR9130 chipsets, so only use it 81474f355f0SAdrian Chadd# XXX when actually targetting AR9130. 815f8813c75SJohn BaldwinAH_SUPPORT_AR9130 opt_ah.h 81633644623SSam Leffler 8178805f765SAdrian Chadd# This is required for AR933x SoC support 8188805f765SAdrian ChaddAH_SUPPORT_AR9330 opt_ah.h 8198805f765SAdrian ChaddAH_SUPPORT_AR9340 opt_ah.h 8207b95ec7eSAdrian ChaddAH_SUPPORT_QCA9550 opt_ah.h 8218805f765SAdrian Chadd 82233644623SSam LefflerAH_DEBUG opt_ah.h 82333644623SSam LefflerAH_ASSERT opt_ah.h 82433644623SSam LefflerAH_DEBUG_ALQ opt_ah.h 82533644623SSam LefflerAH_REGOPS_FUNC opt_ah.h 82633644623SSam LefflerAH_WRITE_REGDOMAIN opt_ah.h 82733644623SSam LefflerAH_DEBUG_COUNTRY opt_ah.h 82833644623SSam LefflerAH_WRITE_EEPROM opt_ah.h 82933644623SSam LefflerAH_PRIVATE_DIAG opt_ah.h 83033644623SSam LefflerAH_NEED_DESC_SWAP opt_ah.h 83133644623SSam LefflerAH_USE_INIPDGAIN opt_ah.h 83259efa8b5SSam LefflerAH_MAXCHAN opt_ah.h 833bc391cb2SWarner LoshAH_RXCFG_SDMAMW_4BYTES opt_ah.h 834425dd534SAdrian ChaddAH_INTERRUPT_DEBUGGING opt_ah.h 835b569f9f5SAdrian Chadd# AR5416 and later interrupt mitigation 83674f355f0SAdrian Chadd# XXX do not use this for AR9130 837b569f9f5SAdrian ChaddAH_AR5416_INTERRUPT_MITIGATION opt_ah.h 838b569f9f5SAdrian Chadd 83912e36acbSWarner Losh# options for the Broadcom BCM43xx driver (bwi) 84012e36acbSWarner LoshBWI_DEBUG opt_bwi.h 84112e36acbSWarner LoshBWI_DEBUG_VERBOSE opt_bwi.h 84212e36acbSWarner Losh 843b032f27cSSam Leffler# options for the Marvell 8335 wireless driver 844b032f27cSSam LefflerMALO_DEBUG opt_malo.h 845b032f27cSSam LefflerMALO_TXBUF opt_malo.h 846b032f27cSSam LefflerMALO_RXBUF opt_malo.h 847b032f27cSSam Leffler 848cf4c5a53SSam Leffler# options for the Marvell wireless driver 849cf4c5a53SSam LefflerMWL_DEBUG opt_mwl.h 850cf4c5a53SSam LefflerMWL_TXBUF opt_mwl.h 851cf4c5a53SSam LefflerMWL_RXBUF opt_mwl.h 852cf4c5a53SSam LefflerMWL_DIAGAPI opt_mwl.h 853cf4c5a53SSam LefflerMWL_AGGR_SIZE opt_mwl.h 854cf4c5a53SSam LefflerMWL_TX_NODROP opt_mwl.h 855cf4c5a53SSam Leffler 85697e2b41aSRui Paulo# Options for the Intel 802.11ac wireless driver 8573d4e84feSRui PauloIWM_DEBUG opt_iwm.h 8583d4e84feSRui Paulo 8593d4e84feSRui Paulo# Options for the Intel 802.11n wireless driver 860c49debb6SAdrian ChaddIWN_DEBUG opt_iwn.h 861c49debb6SAdrian Chadd 86284ac51d8SAdrian Chadd# Options for the Intel 3945ABG wireless driver 86384ac51d8SAdrian ChaddWPI_DEBUG opt_wpi.h 86484ac51d8SAdrian Chadd 865869093b1SHidetoshi Shimokawa# dcons options 866869093b1SHidetoshi ShimokawaDCONS_BUF_SIZE opt_dcons.h 867869093b1SHidetoshi ShimokawaDCONS_POLL_HZ opt_dcons.h 868869093b1SHidetoshi ShimokawaDCONS_FORCE_CONSOLE opt_dcons.h 869869093b1SHidetoshi ShimokawaDCONS_FORCE_GDB opt_dcons.h 870f37a929cSPeter Wemm 871ebccf1e3SJoseph Koshy# HWPMC options 872680f1afdSJohn BaldwinHWPMC_DEBUG opt_global.h 8734da0d332SPeter WemmHWPMC_HOOKS 8741b930fb7SOleksandr TymoshenkoHWPMC_MIPS_BACKTRACE opt_hwpmc_hooks.h 875e1fd210eSCraig Rodrigues 8768dfbd03dSWarner Losh# XBOX options for FreeBSD/i386, but some files are MI 8778dfbd03dSWarner LoshXBOX opt_xbox.h 8788dfbd03dSWarner Losh 879566bd156SPaolo Pisati# Interrupt filtering 8808aa9e82eSJohn BaldwinINTR_FILTER 88126a4d66fSKip Macy 882b032f27cSSam Leffler# 802.11 support layer 883b032f27cSSam LefflerIEEE80211_DEBUG opt_wlan.h 884b032f27cSSam LefflerIEEE80211_DEBUG_REFCNT opt_wlan.h 885b032f27cSSam LefflerIEEE80211_AMPDU_AGE opt_wlan.h 88659aa14a9SRui PauloIEEE80211_SUPPORT_MESH opt_wlan.h 887616190d0SSam LefflerIEEE80211_SUPPORT_SUPERG opt_wlan.h 88810ad9a77SSam LefflerIEEE80211_SUPPORT_TDMA opt_wlan.h 889f4e2f6c9SAdrian ChaddIEEE80211_ALQ opt_wlan.h 89062f8a13aSAdrian ChaddIEEE80211_DFS_DEBUG opt_wlan.h 89110ad9a77SSam Leffler 89210ad9a77SSam Leffler# 802.11 TDMA support 89310ad9a77SSam LefflerTDMA_SLOTLEN_DEFAULT opt_tdma.h 89410ad9a77SSam LefflerTDMA_SLOTCNT_DEFAULT opt_tdma.h 89510ad9a77SSam LefflerTDMA_BINTVAL_DEFAULT opt_tdma.h 89610ad9a77SSam LefflerTDMA_TXRATE_11B_DEFAULT opt_tdma.h 89710ad9a77SSam LefflerTDMA_TXRATE_11G_DEFAULT opt_tdma.h 89810ad9a77SSam LefflerTDMA_TXRATE_11A_DEFAULT opt_tdma.h 8999e0ebab5SSam LefflerTDMA_TXRATE_TURBO_DEFAULT opt_tdma.h 9009e0ebab5SSam LefflerTDMA_TXRATE_HALF_DEFAULT opt_tdma.h 9019e0ebab5SSam LefflerTDMA_TXRATE_QUARTER_DEFAULT opt_tdma.h 9029e0ebab5SSam LefflerTDMA_TXRATE_11NA_DEFAULT opt_tdma.h 9039e0ebab5SSam LefflerTDMA_TXRATE_11NG_DEFAULT opt_tdma.h 904b032f27cSSam Leffler 90507615495SHans Petter Selasky# VideoMode 90607615495SHans Petter SelaskyPICKMODE_DEBUG opt_videomode.h 90707615495SHans Petter Selasky 90867addcdeSMarko Zec# Network stack virtualization options 909457af166SJulian ElischerVIMAGE opt_global.h 91067addcdeSMarko ZecVNET_DEBUG opt_global.h 91163425a7fSSam Leffler 91263425a7fSSam Leffler# Common Flash Interface (CFI) options 91363425a7fSSam LefflerCFI_SUPPORT_STRATAFLASH opt_cfi.h 91463425a7fSSam LefflerCFI_ARMEDANDDANGEROUS opt_cfi.h 91590da2b28SAriff Abdullah 91690da2b28SAriff Abdullah# Sound options 91790da2b28SAriff AbdullahSND_DEBUG opt_snd.h 91890da2b28SAriff AbdullahSND_DIAGNOSTIC opt_snd.h 91990da2b28SAriff AbdullahSND_FEEDER_MULTIFORMAT opt_snd.h 92090da2b28SAriff AbdullahSND_FEEDER_FULL_MULTIFORMAT opt_snd.h 92190da2b28SAriff AbdullahSND_FEEDER_RATE_HP opt_snd.h 92290da2b28SAriff AbdullahSND_PCM_64 opt_snd.h 92390da2b28SAriff AbdullahSND_OLDSTEREO opt_snd.h 924efba048eSXin LI 925205d67b0SXin LIX86BIOS 92677e46080SRafal Jaworowski 92777e46080SRafal Jaworowski# Flattened device tree options 92877e46080SRafal JaworowskiFDT opt_platform.h 92977e46080SRafal JaworowskiFDT_DTB_STATIC opt_platform.h 930e4cd31ddSJeff Roberson 931e4cd31ddSJeff Roberson# OFED Infiniband stack 932a9c42ce4SBjoern A. ZeebOFED opt_ofed.h 933e4cd31ddSJeff RobersonOFED_DEBUG_INIT opt_ofed.h 934e4cd31ddSJeff RobersonSDP opt_ofed.h 935e4cd31ddSJeff RobersonSDP_DEBUG opt_ofed.h 936eacace93SXin LIIPOIB opt_ofed.h 937e4cd31ddSJeff RobersonIPOIB_DEBUG opt_ofed.h 938e4cd31ddSJeff RobersonIPOIB_CM opt_ofed.h 939c720b9bdSAdrian Chadd 940097055e2SEdward Tomasz Napierala# Resource Accounting 941097055e2SEdward Tomasz NapieralaRACCT opt_global.h 942ba8f0eb8SEdward Tomasz NapieralaRACCT_DEFAULT_TO_DISABLED opt_global.h 943097055e2SEdward Tomasz Napierala 944ec125fbbSEdward Tomasz Napierala# Resource Limits 945ec125fbbSEdward Tomasz NapieralaRCTL opt_global.h 946db3fcaf9SDag-Erling Smørgrav 947db3fcaf9SDag-Erling Smørgrav# Random number generator(s) 948*e866d8f0SMark Murray# Which CSPRNG hash we get. 949646041a8SMark Murray# If Yarrow is not chosen, Fortuna is selected. 950997b0a64SDag-Erling SmørgravRANDOM_YARROW opt_random.h 951646041a8SMark Murray# With this, no entropy processor is loaded, but the entropy 952646041a8SMark Murray# harvesting infrastructure is present. This means an entropy 953646041a8SMark Murray# processor may be loaded as a module. 954646041a8SMark MurrayRANDOM_LOADABLE opt_random.h 955*e866d8f0SMark Murray# This turns on high-rate and potentially expensive harvesting in 956*e866d8f0SMark Murray# the uma slab allocator. 957*e866d8f0SMark MurrayRANDOM_ENABLE_UMA opt_global.h 95823c9098bSSean Bruno 95923c9098bSSean Bruno# Intel em(4) driver 96023c9098bSSean BrunoEM_MULTIQUEUE opt_em.h 961