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 86c866ec47SPoul-Henning KampCOMPILING_LINT opt_global.h 87e7228204SAlfred PerlsteinCOMPRESS_USER_CORES opt_core.h 88d971c22bSRobert WatsonCY_PCI_FASTINTR 89f7829d0dSAttilio RaoDEADLKRES opt_watchdog.h 90e9484e32SRuslan ErmilovDIRECTIO 916c6f1f01SPeter WemmFILEMON opt_dontuse.h 92b0fdc837SLawrence StewartFFCLOCK 939923b511SScott LongFULL_PREEMPTION opt_sched.h 9481e3caafSJustin HibbitsIMAGACT_BINMISC opt_dontuse.h 956097174eSStephan UphoffIPI_PREEMPTION opt_sched.h 963bd65612SPoul-Henning KampGEOM_AES opt_geom.h 9719b5c7bcSPoul-Henning KampGEOM_BDE opt_geom.h 983bd65612SPoul-Henning KampGEOM_BSD opt_geom.h 995d9f25dcSRuslan ErmilovGEOM_CACHE opt_geom.h 1007226443dSPawel Jakub DawidekGEOM_CONCAT opt_geom.h 1015ca1fcfeSPawel Jakub DawidekGEOM_ELI opt_geom.h 10222db1e9fSPoul-Henning KampGEOM_FOX opt_geom.h 1037226443dSPawel Jakub DawidekGEOM_GATE opt_geom.h 104f348204cSPawel Jakub DawidekGEOM_JOURNAL opt_geom.h 105e1237b28SPawel Jakub DawidekGEOM_LABEL opt_geom.h 106e8c166e8SMarcel MoolenaarGEOM_LABEL_GPT opt_geom.h 1071669d8afSAndrew ThompsonGEOM_LINUX_LVM opt_geom.h 1083bd65612SPoul-Henning KampGEOM_MBR opt_geom.h 1098a8fbacaSPawel Jakub DawidekGEOM_MIRROR opt_geom.h 1101db3766dSDag-Erling SmørgravGEOM_MULTIPATH opt_geom.h 1117dc92b13SPawel Jakub DawidekGEOM_NOP opt_geom.h 1121d3aed33SMarcel MoolenaarGEOM_PART_APM opt_geom.h 1135aaa8fefSMarcel MoolenaarGEOM_PART_BSD opt_geom.h 114d68d0cf5SAndrey V. ElsukovGEOM_PART_BSD64 opt_geom.h 11591e1be8bSMarcel MoolenaarGEOM_PART_EBR opt_geom.h 1166ad9a99fSMarcel MoolenaarGEOM_PART_EBR_COMPAT opt_geom.h 1171d3aed33SMarcel MoolenaarGEOM_PART_GPT opt_geom.h 118e800e2e1SAndrey V. ElsukovGEOM_PART_LDM opt_geom.h 1196bc50445SMarcel MoolenaarGEOM_PART_MBR opt_geom.h 120b03fab12SMarcel MoolenaarGEOM_PART_PC98 opt_geom.h 121909f20c8SMarcel MoolenaarGEOM_PART_VTOC8 opt_geom.h 1223bd65612SPoul-Henning KampGEOM_PC98 opt_geom.h 12389b17223SAlexander MotinGEOM_RAID opt_geom.h 124e81856c3SPawel Jakub DawidekGEOM_RAID3 opt_geom.h 125560cb857SPawel Jakub DawidekGEOM_SHSEC opt_geom.h 1267dc92b13SPawel Jakub DawidekGEOM_STRIPE opt_geom.h 1273bd65612SPoul-Henning KampGEOM_SUNLABEL opt_geom.h 128ce96bb79SAleksandr RybalkoGEOM_UNCOMPRESS opt_geom.h 12975261008SMax KhonGEOM_UZIP opt_geom.h 13002e17f0bSMarius StroblGEOM_VINUM opt_geom.h 131f854db0bSPawel Jakub DawidekGEOM_VIRSTOR opt_geom.h 132cd53fddbSGordon TetlowGEOM_VOL opt_geom.h 133869de957SPawel Jakub DawidekGEOM_ZERO opt_geom.h 13454366c0bSAttilio RaoKDTRACE_HOOKS opt_global.h 13530ff7b38SRui PauloKDTRACE_FRAME opt_kdtrace.h 136faa9b054SAdrian ChaddKN_HASHSIZE opt_kqueue.h 137316ec49aSScott LongKSTACK_MAX_PAGES 138d01cde04SBruce EvansKSTACK_PAGES 1394bd49128SPeter WemmKTRACE 140363ba2bcSJohn BaldwinKTRACE_REQUEST_POOL opt_ktrace.h 1416f2d8adbSBoris PopovLIBICONV 142bcf11e8dSRobert WatsonMAC opt_global.h 143d971c22bSRobert WatsonMAC_BIBA opt_dontuse.h 144d971c22bSRobert WatsonMAC_BSDEXTENDED opt_dontuse.h 145d971c22bSRobert WatsonMAC_IFOFF opt_dontuse.h 146d971c22bSRobert WatsonMAC_LOMAC opt_dontuse.h 147d971c22bSRobert WatsonMAC_MLS opt_dontuse.h 148d971c22bSRobert WatsonMAC_NONE opt_dontuse.h 149d971c22bSRobert WatsonMAC_PARTITION opt_dontuse.h 150d971c22bSRobert WatsonMAC_PORTACL opt_dontuse.h 151d971c22bSRobert WatsonMAC_SEEOTHERUIDS opt_dontuse.h 1520a05006dSRobert WatsonMAC_STATIC opt_mac.h 153782f7255SRobert WatsonMAC_STUB opt_dontuse.h 154d971c22bSRobert WatsonMAC_TEST opt_dontuse.h 15571e4fff8SPoul-Henning KampMD_ROOT opt_md.h 15622ff74b2SMarcel MoolenaarMD_ROOT_FSTYPE opt_md.h 15771e4fff8SPoul-Henning KampMD_ROOT_SIZE opt_md.h 1587f631a41SScott LongMFI_DEBUG opt_mfi.h 159741367d5SDoug AmbriskoMFI_DECODE_LOG opt_mfi.h 16000096801SJohn-Mark GurneyMPROF_BUFFERS opt_mprof.h 16100096801SJohn-Mark GurneyMPROF_HASH_SIZE opt_mprof.h 16283c41143SJohn BaldwinNEW_PCIB opt_global.h 16302e4a320SJohn BaldwinNO_ADAPTIVE_MUTEXES opt_adaptive_mutexes.h 164cd6e6e4eSJohn BaldwinNO_ADAPTIVE_RWLOCKS 1651ae1c2a3SAttilio RaoNO_ADAPTIVE_SX 1662a4eeaa4SIan LeporeNO_EVENTTIMERS opt_timer.h 1672da4559fSWarner LoshNO_SYSCTL_DESCR opt_global.h 1685bbb8060STor EggeNSWBUF_MIN opt_swap.h 169f8bbd17fSKip MacyMBUF_PACKET_ZONE_DISABLE opt_global.h 1705f07565bSJuli MallettPANIC_REBOOT_WAIT_TIME opt_panic.h 171cea4d875SMarcel MoolenaarPPC_DEBUG opt_ppc.h 172cea4d875SMarcel MoolenaarPPC_PROBE_CHIPSET opt_ppc.h 173e0d781f3SEivind EklundPPS_SYNC opt_ntp.h 1740c43612aSJohn BaldwinPREEMPTION opt_sched.h 1753d20a1ffSBruce EvansQUOTA 176c3384118SJeff RobersonSCHED_4BSD opt_sched.h 17775a66a92SJeff RobersonSCHED_STATS opt_sched.h 178c3384118SJeff RobersonSCHED_ULE opt_sched.h 179ef0ebfc3SJohn BaldwinSLEEPQUEUE_PROFILING 180f35f3346STakanori WatanabeSLHCI_DEBUG opt_slhci.h 181cecc50bcSEivind EklundSPX_HACK 1823c90d1eaSRobert WatsonSTACK opt_stack.h 183e9484e32SRuslan ErmilovSUIDDIR 1840b911335SJohn BaldwinMSGMNB opt_sysvipc.h 1850b911335SJohn BaldwinMSGMNI opt_sysvipc.h 1860b911335SJohn BaldwinMSGSEG opt_sysvipc.h 1870b911335SJohn BaldwinMSGSSZ opt_sysvipc.h 1880b911335SJohn BaldwinMSGTQL opt_sysvipc.h 189ab063af9SPeter WemmSEMMNI opt_sysvipc.h 190ab063af9SPeter WemmSEMMNS opt_sysvipc.h 191ab063af9SPeter WemmSEMMNU opt_sysvipc.h 192ab063af9SPeter WemmSEMMSL opt_sysvipc.h 193ab063af9SPeter WemmSEMOPM opt_sysvipc.h 194ab063af9SPeter WemmSEMUME opt_sysvipc.h 1950b911335SJohn BaldwinSHMALL opt_sysvipc.h 1960b911335SJohn BaldwinSHMMAX opt_sysvipc.h 1970b911335SJohn BaldwinSHMMAXPGS opt_sysvipc.h 1980b911335SJohn BaldwinSHMMIN opt_sysvipc.h 1990b911335SJohn BaldwinSHMMNI opt_sysvipc.h 2000b911335SJohn BaldwinSHMSEG opt_sysvipc.h 2010b911335SJohn BaldwinSYSVMSG opt_sysvipc.h 2020b911335SJohn BaldwinSYSVSEM opt_sysvipc.h 2030b911335SJohn BaldwinSYSVSHM opt_sysvipc.h 2044103b765SPoul-Henning KampSW_WATCHDOG opt_watchdog.h 205ef0ebfc3SJohn BaldwinTURNSTILE_PROFILING 206c6111de5SDavide ItalianoUMTX_PROFILING 207dd85920aSJason EvansVFS_AIO 20826ab616fSBenno RiceVERBOSE_SYSINIT opt_global.h 20997fef0a1SJohn BaldwinWLCACHE opt_wavelan.h 21097fef0a1SJohn BaldwinWLDEBUG opt_wavelan.h 211d03b4017SBruce Evans 2128a6472b7SPeter Dufault# POSIX kernel options 2130e263b06SDavid XuP1003_1B_MQUEUE opt_posix.h 2143ffb9fadSAlfred PerlsteinP1003_1B_SEMAPHORES opt_posix.h 215d01cde04SBruce Evans_KPOSIX_PRIORITY_SCHEDULING opt_posix.h 216917e476dSPeter Dufault 217808129f0SPeter Wemm# Do we want the config file compiled into the kernel? 218808129f0SPeter WemmINCLUDE_CONFIG_FILE opt_config.h 219808129f0SPeter Wemm 220d03b4017SBruce Evans# Options for static filesystems. These should only be used at config 221d03b4017SBruce Evans# time, since the corresponding lkms cannot work if there are any static 222d03b4017SBruce Evans# dependencies. Unusability is enforced by hiding the defines for the 223d03b4017SBruce Evans# options in a never-included header. 224*3914ddf8SEdward Tomasz NapieralaAUTOFS opt_dontuse.h 225bcf77694SPeter WemmCD9660 opt_dontuse.h 226f41991baSEivind EklundEXT2FS opt_dontuse.h 22799d300a1SRuslan ErmilovFDESCFS opt_dontuse.h 22816b1f68dSKonstantin BelousovFFS opt_dontuse.h 2295fe58019SAttilio RaoFUSE opt_dontuse.h 230f41991baSEivind EklundMSDOSFS opt_dontuse.h 2317f725bcdSGrzegorz BernackiNANDFS opt_dontuse.h 232d03b4017SBruce EvansNULLFS opt_dontuse.h 233d03b4017SBruce EvansPROCFS opt_dontuse.h 23436b2d3b7SDag-Erling SmørgravPSEUDOFS opt_dontuse.h 235fe98fb32SJean-Sébastien PédronREISERFS opt_dontuse.h 236237abf0cSDavide ItalianoSMBFS opt_dontuse.h 237d1fa59e9SXin LITMPFS opt_dontuse.h 238df263cbdSScott LongUDF opt_dontuse.h 239d971c22bSRobert WatsonUNIONFS opt_dontuse.h 24042713683SPeter WemmZFS opt_dontuse.h 241d03b4017SBruce Evans 242bcc1205cSDag-Erling Smørgrav# Pseudofs debugging 243bcc1205cSDag-Erling SmørgravPSEUDOFS_TRACE opt_pseudofs.h 244bcc1205cSDag-Erling Smørgrav 245a9148abdSDoug Rabson# In-kernel GSS-API 246a9148abdSDoug RabsonKGSSAPI opt_kgssapi.h 247a9148abdSDoug RabsonKGSSAPI_DEBUG opt_kgssapi.h 248a9148abdSDoug Rabson 249d971c22bSRobert Watson# These static filesystems have one slightly bogus static dependency in 2507b778b5eSEivind Eklund# sys/i386/i386/autoconf.c. If any of these filesystems are 2517b778b5eSEivind Eklund# statically compiled into the kernel, code for mounting them as root 252bcf77694SPeter Wemm# filesystems will be enabled - but look below. 253eb25edbdSPeter WemmNFSCLIENT opt_nfs.h 254eb25edbdSPeter WemmNFSSERVER opt_nfs.h 2555a9714deSJoerg Wunsch 256bcbdacddSRick Macklem# Use these options to compile the experimental nfs client and/or 257bcbdacddSRick Macklem# server that supports NFSv4 into a kernel. 258bcbdacddSRick Macklem# NFSCL - client 259bcbdacddSRick Macklem# NFSD - server 260bcbdacddSRick MacklemNFSCL opt_nfs.h 261bcbdacddSRick MacklemNFSD opt_nfs.h 262bcbdacddSRick Macklem 263c4f02a89SMax Khon# filesystems and libiconv bridge 264c4f02a89SMax KhonCD9660_ICONV opt_dontuse.h 265c4f02a89SMax KhonMSDOSFS_ICONV opt_dontuse.h 266126f0dfaSScott LongUDF_ICONV opt_dontuse.h 267c4f02a89SMax Khon 268b1897c19SJulian Elischer# If you are following the conditions in the copyright, 269b1897c19SJulian Elischer# you can enable soft-updates which will speed up a lot of thigs 270b1897c19SJulian Elischer# and make the system safer from crashes at the same time. 271b1897c19SJulian Elischer# otherwise a STUB module will be compiled in. 272b1897c19SJulian ElischerSOFTUPDATES opt_ffs.h 273b1897c19SJulian Elischer 2745c65ae3aSWarner Losh# On small, embedded systems, it can be useful to turn off support for 2755c65ae3aSWarner Losh# snapshots. It saves about 30-40k for a feature that would be lightly 2765c65ae3aSWarner Losh# used, if it is used at all. 2775c65ae3aSWarner LoshNO_FFS_SNAPSHOT opt_ffs.h 2785c65ae3aSWarner Losh 279a70f2747SRobert Watson# Enabling this option turns on support for Access Control Lists in UFS, 280a70f2747SRobert Watson# which can be used to support high security configurations. Depends on 281a70f2747SRobert Watson# UFS_EXTATTR. 282a70f2747SRobert WatsonUFS_ACL opt_ufs.h 283a70f2747SRobert Watson 284516081f2SRobert Watson# Enabling this option turns on support for extended attributes in UFS-based 285516081f2SRobert Watson# filesystems, which can be used to support high security configurations 286a64ed089SRobert Watson# as well as new filesystem features. 287516081f2SRobert WatsonUFS_EXTATTR opt_ufs.h 288516081f2SRobert WatsonUFS_EXTATTR_AUTOSTART opt_ufs.h 289a64ed089SRobert Watson 2909b5ad47fSIan Dowse# Enable fast hash lookups for large directories on UFS-based filesystems. 2919b5ad47fSIan DowseUFS_DIRHASH opt_ufs.h 2929b5ad47fSIan Dowse 293f348204cSPawel Jakub Dawidek# Enable gjournal-based UFS journal. 294f348204cSPawel Jakub DawidekUFS_GJOURNAL opt_ufs.h 295f348204cSPawel Jakub Dawidek 296d971c22bSRobert Watson# The below sentence is not in English, and neither is this one. 297d971c22bSRobert Watson# We plan to remove the static dependences above, with a 2987b778b5eSEivind Eklund# <filesystem>_ROOT option to control if it usable as root. This list 2997b778b5eSEivind Eklund# allows these options to be present in config files already (though 3007b778b5eSEivind Eklund# they won't make any difference yet). 301df394affSJohn-Mark GurneyNFS_ROOT opt_nfsroot.h 3027b778b5eSEivind Eklund 303237abf0cSDavide Italiano# SMB/CIFS requester 304237abf0cSDavide ItalianoNETSMB opt_netsmb.h 305237abf0cSDavide Italiano 306f74654deSPeter Wemm# Options used only in subr_param.c. 30734f3320eSKenjiro ChoHZ opt_param.h 3085a00f364SDag-Erling SmørgravMAXFILES opt_param.h 3093d20a1ffSBruce EvansNBUF opt_param.h 310dd0b2081SDavid GreenmanNSFBUFS opt_param.h 3112f9e4e80SMatthew DillonVM_BCACHE_SIZE_MAX opt_param.h 3122f9e4e80SMatthew DillonVM_SWZONE_SIZE_MAX opt_param.h 313f74654deSPeter WemmMAXUSERS 314cbc89bfbSPaul SaabDFLDSIZ opt_param.h 315cbc89bfbSPaul SaabMAXDSIZ opt_param.h 316cbc89bfbSPaul SaabMAXSSIZ opt_param.h 31781fc841cSBruce Evans 31881fc841cSBruce Evans# Generic SCSI options. 319bf21c633SJustin T. GibbsCAM_MAX_HIGHPOWER opt_cam.h 320bf21c633SJustin T. GibbsCAMDEBUG opt_cam.h 321f0f25b9cSAlexander MotinCAM_DEBUG_COMPILE opt_cam.h 322da56bbefSJustin T. GibbsCAM_DEBUG_DELAY opt_cam.h 323bf21c633SJustin T. GibbsCAM_DEBUG_BUS opt_cam.h 324bf21c633SJustin T. GibbsCAM_DEBUG_TARGET opt_cam.h 325bf21c633SJustin T. GibbsCAM_DEBUG_LUN opt_cam.h 326bf21c633SJustin T. GibbsCAM_DEBUG_FLAGS opt_cam.h 3276b156f61SSean BrunoCAM_BOOT_DELAY opt_cam.h 3283d20a1ffSBruce EvansSCSI_DELAY opt_scsi.h 329bf21c633SJustin T. GibbsSCSI_NO_SENSE_STRINGS opt_scsi.h 330bf21c633SJustin T. GibbsSCSI_NO_OP_STRINGS opt_scsi.h 331bf21c633SJustin T. Gibbs 332e3a6d3a4SAlexander Motin# Options used only in cam/ata/ata_da.c 333e3a6d3a4SAlexander MotinADA_TEST_FAILURE opt_ada.h 334d2ce15bdSMarius StroblATA_STATIC_ID opt_ada.h 335e3a6d3a4SAlexander Motin 336bf21c633SJustin T. Gibbs# Options used only in cam/scsi/scsi_cd.c 337bf21c633SJustin T. GibbsCHANGER_MIN_BUSY_SECONDS opt_cd.h 338bf21c633SJustin T. GibbsCHANGER_MAX_BUSY_SECONDS opt_cd.h 33981fc841cSBruce Evans 3403ece1bd2SKenneth D. Merry# Options used only in cam/scsi/scsi_sa.c. 341b29f9e40SMatt JacobSA_IO_TIMEOUT opt_sa.h 3429dfb4471SKenneth D. MerrySA_SPACE_TIMEOUT opt_sa.h 3439dfb4471SKenneth D. MerrySA_REWIND_TIMEOUT opt_sa.h 3449dfb4471SKenneth D. MerrySA_ERASE_TIMEOUT opt_sa.h 345cb02c78aSMatt JacobSA_1FM_AT_EOD opt_sa.h 346c30bc9dbSJoerg Wunsch 3473ece1bd2SKenneth D. Merry# Options used only in cam/scsi/scsi_pt.c 3483ece1bd2SKenneth D. MerrySCSI_PT_DEFAULT_TIMEOUT opt_pt.h 3493ece1bd2SKenneth D. Merry 35052e48164SMatt Jacob# Options used only in cam/scsi/scsi_ses.c 35152e48164SMatt JacobSES_ENABLE_PASSTHROUGH opt_ses.h 35252e48164SMatt Jacob 353410605d1SDavid E. O'Brien# Options used in dev/sym/ (Symbios SCSI driver). 354410605d1SDavid E. O'BrienSYM_SETUP_LP_PROBE_MAP opt_sym.h #-Low Priority Probe Map (bits) 355410605d1SDavid E. O'Brien # Allows the ncr to take precedence 356410605d1SDavid E. O'Brien # 1 (1<<0) -> 810a, 860 357410605d1SDavid E. O'Brien # 2 (1<<1) -> 825a, 875, 885, 895 358410605d1SDavid E. O'Brien # 4 (1<<2) -> 895a, 896, 1510d 359410605d1SDavid E. O'BrienSYM_SETUP_SCSI_DIFF opt_sym.h #-HVD support for 825a, 875, 885 360410605d1SDavid E. O'Brien # disabled:0 (default), enabled:1 361410605d1SDavid E. O'BrienSYM_SETUP_PCI_PARITY opt_sym.h #-PCI parity checking 362410605d1SDavid E. O'Brien # disabled:0, enabled:1 (default) 363410605d1SDavid E. O'BrienSYM_SETUP_MAX_LUN opt_sym.h #-Number of LUNs supported 364410605d1SDavid E. O'Brien # default:8, range:[1..64] 365410605d1SDavid E. O'Brien 36621ffa5aeSStefan Eßer# Options used only in pci/ncr.c 3673d20a1ffSBruce EvansSCSI_NCR_DEBUG opt_ncr.h 368a5bef142SBruce EvansSCSI_NCR_MAX_SYNC opt_ncr.h 369a5bef142SBruce EvansSCSI_NCR_MAX_WIDE opt_ncr.h 3703d20a1ffSBruce EvansSCSI_NCR_MYADDR opt_ncr.h 37121ffa5aeSStefan Eßer 372355904d5SMatt Jacob# Options used only in dev/isp/* 37373e1de92SMatt JacobISP_TARGET_MODE opt_isp.h 374355904d5SMatt JacobISP_FW_CRASH_DUMP opt_isp.h 375af606348SMatt JacobISP_DEFAULT_ROLES opt_isp.h 37615f0f952SMatt JacobISP_INTERNAL_TARGET opt_isp.h 3773fc2ba4dSMatt Jacob 378c5933b20SScott Long# Options used only in dev/iscsi 379c5933b20SScott LongISCSI_INITIATOR_DEBUG opt_iscsi_initiator.h 380c5933b20SScott Long 38181fc841cSBruce Evans# Net stuff. 382a79b7128SAlfred PerlsteinACCEPT_FILTER_DATA 383744eaff7SDavid MaloneACCEPT_FILTER_DNS 384a79b7128SAlfred PerlsteinACCEPT_FILTER_HTTP 38502b199f1SMax LaierALTQ opt_global.h 38602b199f1SMax LaierALTQ_CBQ opt_altq.h 3872da4559fSWarner LoshALTQ_CDNR opt_altq.h 3882da4559fSWarner LoshALTQ_DEBUG opt_altq.h 3892da4559fSWarner LoshALTQ_HFSC opt_altq.h 3902da4559fSWarner LoshALTQ_NOPCC opt_altq.h 3912da4559fSWarner LoshALTQ_PRIQ opt_altq.h 39202b199f1SMax LaierALTQ_RED opt_altq.h 39302b199f1SMax LaierALTQ_RIO opt_altq.h 3940ac40133SBrian SomersBOOTP opt_bootp.h 395aea75fdeSBenno RiceBOOTP_BLOCKSIZE opt_bootp.h 3960ac40133SBrian SomersBOOTP_COMPAT opt_bootp.h 3970ac40133SBrian SomersBOOTP_NFSROOT opt_bootp.h 3980ac40133SBrian SomersBOOTP_NFSV3 opt_bootp.h 3990ac40133SBrian SomersBOOTP_WIRED_TO opt_bootp.h 400f0796cd2SGleb SmirnoffDEVICE_POLLING 401bdea400fSAndrew ThompsonDEV_ENC opt_enc.h 402cc5934f5SMax LaierDEV_PF opt_pf.h 403cc5934f5SMax LaierDEV_PFLOG opt_pf.h 404cc5934f5SMax LaierDEV_PFSYNC opt_pf.h 4052da4559fSWarner LoshDEV_VLAN opt_vlan.h 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 43909fe6320SNavdeep ParharTCP_OFFLOAD opt_inet.h # Enable code to dispatch TCP offloading 4401cfd4b53SBruce M SimpsonTCP_SIGNATURE opt_inet.h 44175ee267cSGleb SmirnoffVLAN_ARRAY opt_vlan.h 442914594eaSKris KennawayXBONEHACK 4433576e2f4SKip MacyFLOWTABLE opt_route.h 4440ff96b4fSGleb SmirnoffFLOWTABLE_HASH_ALL opt_route.h 4453458e54aSJulian Elischer 446f8829a4aSRandall Stewart# 447f8829a4aSRandall Stewart# SCTP 448f8829a4aSRandall Stewart# 449f8829a4aSRandall StewartSCTP opt_sctp.h 45080fefe0aSRandall StewartSCTP_DEBUG opt_sctp.h # Enable debug printfs 45180fefe0aSRandall StewartSCTP_WITH_NO_CSUM opt_sctp.h # Use this at your peril 45280fefe0aSRandall StewartSCTP_LOCK_LOGGING opt_sctp.h # Log to KTR lock activity 45380fefe0aSRandall StewartSCTP_MBUF_LOGGING opt_sctp.h # Log to KTR general mbuf aloc/free 45480fefe0aSRandall StewartSCTP_MBCNT_LOGGING opt_sctp.h # Log to KTR mbcnt activity 45580fefe0aSRandall StewartSCTP_PACKET_LOGGING opt_sctp.h # Log to a packet buffer last N packets 45680fefe0aSRandall StewartSCTP_LTRACE_CHUNKS opt_sctp.h # Log to KTR chunks processed 45780fefe0aSRandall StewartSCTP_LTRACE_ERRORS opt_sctp.h # Log to KTR error returns. 458ff014514SRandall StewartSCTP_USE_PERCPU_STAT opt_sctp.h # Use per cpu stats. 459bfc46083SRandall StewartSCTP_MCORE_INPUT opt_sctp.h # Have multiple input threads for input mbufs 46000db3c63SMichael TuexenSCTP_LOCAL_TRACE_BUF opt_sctp.h # Use tracebuffer exported via sysctl 461f0396ad1SMichael TuexenSCTP_DETAILED_STR_STATS opt_sctp.h # Use per PR-SCTP policy stream stats 46280fefe0aSRandall Stewart# 46380fefe0aSRandall Stewart# 46480fefe0aSRandall Stewart# 465f8829a4aSRandall Stewart 4664cf49a43SJulian Elischer# Netgraph(4). Use option NETGRAPH to enable the base netgraph code. 4674cf49a43SJulian Elischer# Each netgraph node type can be either be compiled into the kernel 4684cf49a43SJulian Elischer# or loaded dynamically. To get the former, include the corresponding 469ed2dbd31SArchie Cobbs# option below. Each type has its own man page, e.g. ng_async(4). 4704cf49a43SJulian ElischerNETGRAPH 47173e87266SGleb SmirnoffNETGRAPH_DEBUG opt_netgraph.h 4724cf49a43SJulian ElischerNETGRAPH_ASYNC opt_netgraph.h 473bde778e9SBenno RiceNETGRAPH_ATMLLC opt_netgraph.h 474b84b10f9SMaksim YevmenkinNETGRAPH_ATM_ATMPIF opt_netgraph.h 475b84b10f9SMaksim YevmenkinNETGRAPH_BLUETOOTH opt_netgraph.h 476b84b10f9SMaksim YevmenkinNETGRAPH_BLUETOOTH_BT3C opt_netgraph.h 477b84b10f9SMaksim YevmenkinNETGRAPH_BLUETOOTH_H4 opt_netgraph.h 478b84b10f9SMaksim YevmenkinNETGRAPH_BLUETOOTH_HCI opt_netgraph.h 479b84b10f9SMaksim YevmenkinNETGRAPH_BLUETOOTH_L2CAP opt_netgraph.h 480b84b10f9SMaksim YevmenkinNETGRAPH_BLUETOOTH_SOCKET opt_netgraph.h 481b84b10f9SMaksim YevmenkinNETGRAPH_BLUETOOTH_UBT opt_netgraph.h 482b84b10f9SMaksim YevmenkinNETGRAPH_BLUETOOTH_UBTBCMFW opt_netgraph.h 48392a3e552SArchie CobbsNETGRAPH_BPF opt_netgraph.h 484ed2dbd31SArchie CobbsNETGRAPH_BRIDGE opt_netgraph.h 4857d3b4a08SAlexander MotinNETGRAPH_CAR opt_netgraph.h 4864cf49a43SJulian ElischerNETGRAPH_CISCO opt_netgraph.h 4879e6f1d3bSGleb SmirnoffNETGRAPH_DEFLATE opt_netgraph.h 48831578ac8SGleb SmirnoffNETGRAPH_DEVICE opt_netgraph.h 4894cf49a43SJulian ElischerNETGRAPH_ECHO opt_netgraph.h 4909d564133SRobert WatsonNETGRAPH_EIFACE opt_netgraph.h 491e1e1452dSArchie CobbsNETGRAPH_ETHER opt_netgraph.h 4921018c6cbSJulian ElischerNETGRAPH_ETHER_ECHO opt_netgraph.h 493d07af9d9SRobert WatsonNETGRAPH_FEC opt_netgraph.h 4944cf49a43SJulian ElischerNETGRAPH_FRAME_RELAY opt_netgraph.h 49594408d94SBrooks DavisNETGRAPH_GIF opt_netgraph.h 49694408d94SBrooks DavisNETGRAPH_GIF_DEMUX opt_netgraph.h 4974cf49a43SJulian ElischerNETGRAPH_HOLE opt_netgraph.h 4984cf49a43SJulian ElischerNETGRAPH_IFACE opt_netgraph.h 499c2eed105SBrooks DavisNETGRAPH_IP_INPUT opt_netgraph.h 500f2a7ef4eSGleb SmirnoffNETGRAPH_IPFW opt_netgraph.h 5016e874711SArchie CobbsNETGRAPH_KSOCKET opt_netgraph.h 502901fadf7SArchie CobbsNETGRAPH_L2TP opt_netgraph.h 503d971c22bSRobert WatsonNETGRAPH_LMI opt_netgraph.h 504a2b408adSArchie Cobbs# MPPC compression requires proprietary files (not included) 505a2b408adSArchie CobbsNETGRAPH_MPPC_COMPRESSION opt_netgraph.h 506a2b408adSArchie CobbsNETGRAPH_MPPC_ENCRYPTION opt_netgraph.h 507c4c9b52bSGleb SmirnoffNETGRAPH_NAT opt_netgraph.h 508cec50deaSGleb SmirnoffNETGRAPH_NETFLOW opt_netgraph.h 5097d7a5b89SArchie CobbsNETGRAPH_ONE2MANY opt_netgraph.h 510d359a62dSAndrey V. ElsukovNETGRAPH_PATCH opt_netgraph.h 511991633afSMarko ZecNETGRAPH_PIPE opt_netgraph.h 5126827c8feSArchie CobbsNETGRAPH_PPP opt_netgraph.h 5136827c8feSArchie CobbsNETGRAPH_PPPOE opt_netgraph.h 514add85a1dSArchie CobbsNETGRAPH_PPTPGRE opt_netgraph.h 5159e6f1d3bSGleb SmirnoffNETGRAPH_PRED1 opt_netgraph.h 5164cf49a43SJulian ElischerNETGRAPH_RFC1490 opt_netgraph.h 5174cf49a43SJulian ElischerNETGRAPH_SOCKET opt_netgraph.h 5184d60fee2SBrooks DavisNETGRAPH_SPLIT opt_netgraph.h 5190a6818e2SRoman KurakinNETGRAPH_SPPP opt_netgraph.h 520d473c9d5SGleb SmirnoffNETGRAPH_TAG opt_netgraph.h 521e9110049SGleb SmirnoffNETGRAPH_TCPMSS opt_netgraph.h 5224cf49a43SJulian ElischerNETGRAPH_TEE opt_netgraph.h 5234cf49a43SJulian ElischerNETGRAPH_TTY opt_netgraph.h 5244cf49a43SJulian ElischerNETGRAPH_UI opt_netgraph.h 52506e36c4dSJulian ElischerNETGRAPH_VJC opt_netgraph.h 526b4263060SRuslan ErmilovNETGRAPH_VLAN opt_netgraph.h 527666ea1b6SMaksim Yevmenkin 52802152e8fSHartmut Brandt# NgATM options 52902152e8fSHartmut BrandtNGATM_ATM opt_netgraph.h 530027ebd2fSHartmut BrandtNGATM_ATMBASE opt_netgraph.h 531027ebd2fSHartmut BrandtNGATM_SSCOP opt_netgraph.h 532027ebd2fSHartmut BrandtNGATM_SSCFU opt_netgraph.h 533ed91f9a5SHartmut BrandtNGATM_UNI opt_netgraph.h 534a7e22394SHartmut BrandtNGATM_CCATM opt_netgraph.h 53502152e8fSHartmut Brandt 53667a2a28fSEric Anholt# DRM options 53767a2a28fSEric AnholtDRM_DEBUG opt_drm.h 53867a2a28fSEric Anholt 53910a4360cSPyun YongHyeonTI_SF_BUF_JUMBO opt_ti.h 54098cb733cSKenneth D. MerryTI_JUMBO_HDRSPLIT opt_ti.h 54198cb733cSKenneth D. Merry 542e0d781f3SEivind Eklund# XXX Conflict: # of devices vs network protocol (Native ATM). 543e0d781f3SEivind Eklund# This makes "atm.h" unusable. 544ed9adee7SDag-Erling SmørgravNATM 545e0d781f3SEivind Eklund 5463458e54aSJulian Elischer# DPT driver debug flags 5473458e54aSJulian ElischerDPT_MEASURE_PERFORMANCE opt_dpt.h 548b755b885SEivind EklundDPT_RESET_HBA opt_dpt.h 5493f2076daSEivind Eklund 5503f2076daSEivind Eklund# Misc debug flags. Most of these should probably be replaced with 5513f2076daSEivind Eklund# 'DEBUG', and then let people recompile just the interesting modules 552fdf94d1aSNicolas Souchu# with 'make CC="cc -DDEBUG"'. 5533f2076daSEivind EklundCLUSTERDEBUG opt_debug_cluster.h 554a6de7b79SNicolas SouchuDEBUG_1284 opt_ppb_1284.h 555a6de7b79SNicolas SouchuVP0_DEBUG opt_vpo.h 556fdf94d1aSNicolas SouchuLPT_DEBUG opt_lpt.h 5577b7bf77eSNicolas SouchuPLIP_DEBUG opt_plip.h 5583f2076daSEivind EklundLOCKF_DEBUG opt_debug_lockf.h 5593f2076daSEivind EklundSI_DEBUG opt_debug_si.h 5603f2076daSEivind Eklund 561909232c4SEivind Eklund# Fb options 562909232c4SEivind EklundFB_DEBUG opt_fb.h 563909232c4SEivind EklundFB_INSTALL_CDEV opt_fb.h 564909232c4SEivind Eklund 56504fb1490SNicolas Souchu# ppbus related options 56604fb1490SNicolas SouchuPERIPH_1284 opt_ppb_1284.h 56704fb1490SNicolas SouchuDONTPROBE_1284 opt_ppb_1284.h 56804fb1490SNicolas Souchu 56904fb1490SNicolas Souchu# smbus related options 57004fb1490SNicolas SouchuENABLE_ALART opt_intpm.h 5713f2076daSEivind Eklund 57214834de4SEivind Eklund# These cause changes all over the kernel 573909232c4SEivind EklundBLKDEV_IOSIZE opt_global.h 57408ebe101SWarner LoshBURN_BRIDGES opt_global.h 57514834de4SEivind EklundDEBUG opt_global.h 57615a1057cSEivind EklundDEBUG_LOCKS opt_global.h 5775526d2d9SEivind EklundDEBUG_VFS_LOCKS opt_global.h 578e36dee2cSWarner LoshDFLTPHYS opt_global.h 57914834de4SEivind EklundDIAGNOSTIC opt_global.h 58034b15f2aSJohn BaldwinINVARIANT_SUPPORT opt_global.h 5815526d2d9SEivind EklundINVARIANTS opt_global.h 58268b739cdSAttilio RaoMAXCPU opt_global.h 583941646f5SAttilio RaoMAXMEMDOM opt_global.h 584e36dee2cSWarner LoshMAXPHYS opt_global.h 5852c8f5a28SKenneth D. MerryMCLSHIFT opt_global.h 586d01cde04SBruce EvansMUTEX_DEBUG opt_global.h 587d01cde04SBruce EvansMUTEX_NOINLINE opt_global.h 5887c0435b9SKip MacyLOCK_PROFILING opt_global.h 589f183910bSKip MacyLOCK_PROFILING_FAST opt_global.h 5902c8f5a28SKenneth D. MerryMSIZE opt_global.h 5910b5438c6SRobert WatsonREGRESSION opt_global.h 5923f08bd8bSJohn BaldwinRWLOCK_NOINLINE opt_global.h 5934e7f640dSJohn BaldwinSX_NOINLINE opt_global.h 5945526d2d9SEivind EklundVFS_BIO_DEBUG opt_global.h 595d9bed5beSJohn Dyson 596d9bed5beSJohn Dyson# These are VM related options 597d9bed5beSJohn DysonVM_KMEM_SIZE opt_vm.h 598d9bed5beSJohn DysonVM_KMEM_SIZE_SCALE opt_vm.h 599d9bed5beSJohn DysonVM_KMEM_SIZE_MAX opt_vm.h 600b8e7fc24SAlan CoxVM_NRESERVLEVEL opt_vm.h 601b8e7fc24SAlan CoxVM_LEVEL_0_ORDER opt_vm.h 602faa5f8d8SAndrzej BialeckiNO_SWAPPING opt_vm.h 603eae870cdSRobert WatsonMALLOC_MAKE_FAILURES opt_vm.h 604a59f8b9eSJeff RobersonMALLOC_PROFILE opt_vm.h 605d7854da1SMatthew D FlemingMALLOC_DEBUG_MAXZONES opt_vm.h 60620f71813SJohn-Mark Gurney 607e4eb384bSBosko Milekic# The MemGuard replacement allocator used for tamper-after-free detection 608e4eb384bSBosko MilekicDEBUG_MEMGUARD opt_vm.h 609e4eb384bSBosko Milekic 610847a2a17SPawel Jakub Dawidek# The RedZone malloc(9) protection 611847a2a17SPawel Jakub DawidekDEBUG_REDZONE opt_vm.h 612847a2a17SPawel Jakub Dawidek 613ecd19816SMike Smith# Standard SMP options 614ecd19816SMike SmithSMP opt_global.h 615751bf650SJun-ichiro itojun Hagino 61658067a99SPoul-Henning Kamp# Size of the kernel message buffer 61758067a99SPoul-Henning KampMSGBUF_SIZE opt_msgbuf.h 618ecbb00a2SDoug Rabson 619df394affSJohn-Mark Gurney# NFS options 620df394affSJohn-Mark GurneyNFS_MINATTRTIMO opt_nfs.h 621df394affSJohn-Mark GurneyNFS_MAXATTRTIMO opt_nfs.h 622df394affSJohn-Mark GurneyNFS_MINDIRATTRTIMO opt_nfs.h 623df394affSJohn-Mark GurneyNFS_MAXDIRATTRTIMO opt_nfs.h 624df394affSJohn-Mark GurneyNFS_GATHERDELAY opt_nfs.h 625df394affSJohn-Mark GurneyNFS_WDELAYHASHSIZ 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 662bfa98d2bSSam LefflerUSB_EHCI_BIG_ENDIAN_DESC opt_usb.h 663fe75118bSNick HibmaU3G_DEBUG opt_u3g.h 664f548daf0SJohn BaldwinUKBD_DFLT_KEYMAP opt_ukbd.h 665565f53bbSShunsuke AkiyamaUPLCOM_INTR_INTERVAL opt_uplcom.h 66620280807SShunsuke AkiyamaUVSCOM_DEFAULT_OPKTSIZE opt_uvscom.h 667565f53bbSShunsuke AkiyamaUVSCOM_INTR_INTERVAL opt_uvscom.h 668a9d45962SPeter Wemm 6699775e378SJohn Birrell# Embedded system options 670e9484e32SRuslan ErmilovINIT_PATH 671b307e58fSPoul-Henning Kamp 672e9484e32SRuslan ErmilovROOTDEVNAME 673814ce988SDoug Rabson 674814ce988SDoug RabsonFDC_DEBUG opt_fdc.h 6753b2d592cSJordan K. HubbardPCFCLOCK_VERBOSE opt_pcfclock.h 6763b2d592cSJordan K. HubbardPCFCLOCK_MAX_RETRIES opt_pcfclock.h 677f9d186edSScott Long 6780384fff8SJason EvansKTR opt_global.h 6794b124a4bSJeff RobersonKTR_ALQ opt_ktr.h 680d8f03321SJohn BaldwinKTR_MASK opt_ktr.h 681d8f03321SJohn BaldwinKTR_CPUMASK opt_ktr.h 6820384fff8SJason EvansKTR_COMPILE opt_global.h 68336b7dde4SAndriy GaponKTR_BOOT_ENTRIES opt_global.h 6840384fff8SJason EvansKTR_ENTRIES opt_global.h 685d8f03321SJohn BaldwinKTR_VERBOSE opt_ktr.h 6860384fff8SJason EvansWITNESS opt_global.h 687e2ee2173SMarcel MoolenaarWITNESS_KDB opt_witness.h 688e63091eaSMarcel MoolenaarWITNESS_NO_VNODE opt_witness.h 689660d1e3aSJohn BaldwinWITNESS_SKIPSPIN opt_witness.h 690146cbf6fSWarner LoshWITNESS_COUNT opt_witness.h 691c319ea15SAndriy GaponOPENSOLARIS_WITNESS opt_global.h 6920384fff8SJason Evans 693b1f12b61STakanori Watanabe# options for ACPI support 694b1f12b61STakanori WatanabeACPI_DEBUG opt_acpi.h 6953ff9febdSJung-uk KimACPI_MAX_TASKS opt_acpi.h 696c573e654SMitsuru IWASAKIACPI_MAX_THREADS opt_acpi.h 69786be9f0dSKonstantin BelousovACPI_DMAR opt_acpi.h 69893bcdfe2SPoul-Henning Kamp 699acb8c149SMarius Strobl# ISA support 700acb8c149SMarius StroblDEV_ISA opt_isa.h 701acb8c149SMarius StroblISAPNP opt_isa.h 702acb8c149SMarius Strobl 703810d0bd1SPeter Wemm# various 'device presence' options. 704d01cde04SBruce EvansDEV_BPF opt_bpf.h 705e4b68814SLuigi RizzoDEV_NETMAP opt_global.h 706f444a0efSPeter WemmDEV_MCA opt_mca.h 707a9771948SGleb SmirnoffDEV_CARP opt_carp.h 70828ab032eSJake BurkholderDEV_SPLASH opt_splash.h 7099b04180cSIan Dowse 710420a38ddSMarius Strobl# EISA support 711420a38ddSMarius StroblDEV_EISA opt_eisa.h 71277bf7b3bSBernd WalterEISA_SLOTS opt_eisa.h 71377bf7b3bSBernd Walter 7149b04180cSIan Dowse# ed driver 715969eaf21SWarner LoshED_HPP opt_ed.h 716969eaf21SWarner LoshED_3C503 opt_ed.h 717969eaf21SWarner LoshED_SIC opt_ed.h 7180483b1a8SAndrew Gallatin 719d8636a9aSPaul Saab# bce driver 720d8636a9aSPaul SaabBCE_DEBUG opt_bce.h 721584d21f6SDoug AmbriskoBCE_NVRAM_WRITE_SUPPORT opt_bce.h 722d8636a9aSPaul Saab 723395bb186SSam LefflerSOCKBUF_DEBUG opt_global.h 724395bb186SSam Leffler 725dd46ab31SDavid Christensen 726b7c4858fSSam Leffler# options for ubsec driver 727b7c4858fSSam LefflerUBSEC_DEBUG opt_ubsec.h 728b7c4858fSSam LefflerUBSEC_RNDTEST opt_ubsec.h 729a826874fSSam LefflerUBSEC_NO_RNG opt_ubsec.h 730b7c4858fSSam Leffler 731b7c4858fSSam Leffler# options for hifn driver 732b7c4858fSSam LefflerHIFN_DEBUG opt_hifn.h 733b7c4858fSSam LefflerHIFN_RNDTEST opt_hifn.h 73428ab032eSJake Burkholder 735fc66b6e9SSam Leffler# options for safenet driver 736fc66b6e9SSam LefflerSAFE_DEBUG opt_safe.h 737fc66b6e9SSam LefflerSAFE_NO_RNG opt_safe.h 738fc66b6e9SSam LefflerSAFE_RNDTEST opt_safe.h 739fc66b6e9SSam Leffler 74027cf7d04SAleksandr Rybalko# syscons/vt options 74128ab032eSJake BurkholderMAXCONS opt_syscons.h 74228ab032eSJake BurkholderSC_ALT_MOUSE_IMAGE opt_syscons.h 74328ab032eSJake BurkholderSC_CUT_SPACES2TABS opt_syscons.h 74428ab032eSJake BurkholderSC_CUT_SEPCHARS opt_syscons.h 74528ab032eSJake BurkholderSC_DEBUG_LEVEL opt_syscons.h 74628ab032eSJake BurkholderSC_DFLT_FONT opt_syscons.h 747e2ee2173SMarcel MoolenaarSC_DISABLE_KDBKEY opt_syscons.h 74828ab032eSJake BurkholderSC_DISABLE_REBOOT opt_syscons.h 74928ab032eSJake BurkholderSC_HISTORY_SIZE opt_syscons.h 75028ab032eSJake BurkholderSC_KERNEL_CONS_ATTR opt_syscons.h 75128ab032eSJake BurkholderSC_KERNEL_CONS_REV_ATTR opt_syscons.h 75228ab032eSJake BurkholderSC_MOUSE_CHAR opt_syscons.h 75328ab032eSJake BurkholderSC_NO_CUTPASTE opt_syscons.h 75428ab032eSJake BurkholderSC_NO_FONT_LOADING opt_syscons.h 75528ab032eSJake BurkholderSC_NO_HISTORY opt_syscons.h 7566e62b069SMarius StroblSC_NO_MODE_CHANGE opt_syscons.h 757d01cde04SBruce EvansSC_NO_SUSPEND_VTYSWITCH opt_syscons.h 75828ab032eSJake BurkholderSC_NO_SYSMOUSE opt_syscons.h 75928ab032eSJake BurkholderSC_NORM_ATTR opt_syscons.h 76028ab032eSJake BurkholderSC_NORM_REV_ATTR opt_syscons.h 76128ab032eSJake BurkholderSC_PIXEL_MODE opt_syscons.h 76228ab032eSJake BurkholderSC_RENDER_DEBUG opt_syscons.h 76328ab032eSJake BurkholderSC_TWOBUTTON_MOUSE opt_syscons.h 764775ed1ceSEd MasteVT_ALT_TO_ESC_HACK opt_syscons.h 765775ed1ceSEd MasteVT_FB_DEFAULT_WIDTH opt_syscons.h 766775ed1ceSEd MasteVT_FB_DEFAULT_HEIGHT opt_syscons.h 767775ed1ceSEd MasteVT_MAXWINDOWS opt_syscons.h 768775ed1ceSEd MasteVT_TWOBUTTON_MOUSE opt_syscons.h 76900f4f023SAleksandr RybalkoDEV_SC opt_syscons.h 77000f4f023SAleksandr RybalkoDEV_VT opt_syscons.h 77100f4f023SAleksandr Rybalko 77283409a55SEd Schouten# teken terminal emulator options 773e42fc368SEd SchoutenTEKEN_CONS25 opt_teken.h 77483409a55SEd SchoutenTEKEN_UTF8 opt_teken.h 7757344ee18SMarius StroblTERMINAL_KERN_ATTR opt_teken.h 7767344ee18SMarius StroblTERMINAL_NORM_ATTR opt_teken.h 77783409a55SEd Schouten 778e0b65125SJohn Birrell# options for printf 779e0b65125SJohn BirrellPRINTF_BUFR_SIZE opt_printf.h 780e0b65125SJohn Birrell 78128ab032eSJake Burkholder# kbd options 78228ab032eSJake BurkholderKBD_DISABLE_KEYMAP_LOAD opt_kbd.h 78328ab032eSJake BurkholderKBD_INSTALL_CDEV opt_kbd.h 78428ab032eSJake BurkholderKBD_MAXRETRY opt_kbd.h 78528ab032eSJake BurkholderKBD_MAXWAIT opt_kbd.h 78628ab032eSJake BurkholderKBD_RESETDELAY opt_kbd.h 78728ab032eSJake BurkholderKBDIO_DEBUG opt_kbd.h 788167f409fSSam Leffler 789a585a9a1SSam Leffler# options for the Atheros driver 790a585a9a1SSam LefflerATH_DEBUG opt_ath.h 791a585a9a1SSam LefflerATH_TXBUF opt_ath.h 792a585a9a1SSam LefflerATH_RXBUF opt_ath.h 793a585a9a1SSam LefflerATH_DIAGAPI opt_ath.h 794a585a9a1SSam LefflerATH_TX99_DIAG opt_ath.h 79510dc8de4SAdrian ChaddATH_ENABLE_11N opt_ath.h 79610dc8de4SAdrian ChaddATH_ENABLE_DFS opt_ath.h 79779f57b35SAdrian ChaddATH_EEPROM_FIRMWARE opt_ath.h 798e1b5ab97SAdrian ChaddATH_ENABLE_RADIOTAP_VENDOR_EXT opt_ath.h 799425dd534SAdrian ChaddATH_DEBUG_ALQ opt_ath.h 800425dd534SAdrian ChaddATH_KTR_INTR_DEBUG opt_ath.h 801a585a9a1SSam Leffler 80233644623SSam Leffler# options for the Atheros hal 80333644623SSam LefflerAH_SUPPORT_AR5416 opt_ah.h 80474f355f0SAdrian Chadd# XXX For now, this breaks non-AR9130 chipsets, so only use it 80574f355f0SAdrian Chadd# XXX when actually targetting AR9130. 806f8813c75SJohn BaldwinAH_SUPPORT_AR9130 opt_ah.h 80733644623SSam Leffler 8088805f765SAdrian Chadd# This is required for AR933x SoC support 8098805f765SAdrian ChaddAH_SUPPORT_AR9330 opt_ah.h 8108805f765SAdrian ChaddAH_SUPPORT_AR9340 opt_ah.h 8118805f765SAdrian Chadd 81233644623SSam LefflerAH_DEBUG opt_ah.h 81333644623SSam LefflerAH_ASSERT opt_ah.h 81433644623SSam LefflerAH_DEBUG_ALQ opt_ah.h 81533644623SSam LefflerAH_REGOPS_FUNC opt_ah.h 81633644623SSam LefflerAH_WRITE_REGDOMAIN opt_ah.h 81733644623SSam LefflerAH_DEBUG_COUNTRY opt_ah.h 81833644623SSam LefflerAH_WRITE_EEPROM opt_ah.h 81933644623SSam LefflerAH_PRIVATE_DIAG opt_ah.h 82033644623SSam LefflerAH_NEED_DESC_SWAP opt_ah.h 82133644623SSam LefflerAH_USE_INIPDGAIN opt_ah.h 82259efa8b5SSam LefflerAH_MAXCHAN opt_ah.h 823bc391cb2SWarner LoshAH_RXCFG_SDMAMW_4BYTES opt_ah.h 824425dd534SAdrian ChaddAH_INTERRUPT_DEBUGGING opt_ah.h 825b569f9f5SAdrian Chadd# AR5416 and later interrupt mitigation 82674f355f0SAdrian Chadd# XXX do not use this for AR9130 827b569f9f5SAdrian ChaddAH_AR5416_INTERRUPT_MITIGATION opt_ah.h 828b569f9f5SAdrian Chadd 82912e36acbSWarner Losh# options for the Broadcom BCM43xx driver (bwi) 83012e36acbSWarner LoshBWI_DEBUG opt_bwi.h 83112e36acbSWarner LoshBWI_DEBUG_VERBOSE opt_bwi.h 83212e36acbSWarner Losh 833b032f27cSSam Leffler# options for the Marvell 8335 wireless driver 834b032f27cSSam LefflerMALO_DEBUG opt_malo.h 835b032f27cSSam LefflerMALO_TXBUF opt_malo.h 836b032f27cSSam LefflerMALO_RXBUF opt_malo.h 837b032f27cSSam Leffler 838cf4c5a53SSam Leffler# options for the Marvell wireless driver 839cf4c5a53SSam LefflerMWL_DEBUG opt_mwl.h 840cf4c5a53SSam LefflerMWL_TXBUF opt_mwl.h 841cf4c5a53SSam LefflerMWL_RXBUF opt_mwl.h 842cf4c5a53SSam LefflerMWL_DIAGAPI opt_mwl.h 843cf4c5a53SSam LefflerMWL_AGGR_SIZE opt_mwl.h 844cf4c5a53SSam LefflerMWL_TX_NODROP opt_mwl.h 845cf4c5a53SSam Leffler 846c49debb6SAdrian Chadd# Options for the Intel 802.11n wireless driver 847c49debb6SAdrian ChaddIWN_DEBUG opt_iwn.h 848c49debb6SAdrian Chadd 849869093b1SHidetoshi Shimokawa# dcons options 850869093b1SHidetoshi ShimokawaDCONS_BUF_SIZE opt_dcons.h 851869093b1SHidetoshi ShimokawaDCONS_POLL_HZ opt_dcons.h 852869093b1SHidetoshi ShimokawaDCONS_FORCE_CONSOLE opt_dcons.h 853869093b1SHidetoshi ShimokawaDCONS_FORCE_GDB opt_dcons.h 854f37a929cSPeter Wemm 855ebccf1e3SJoseph Koshy# HWPMC options 8564da0d332SPeter WemmHWPMC_HOOKS 8571b930fb7SOleksandr TymoshenkoHWPMC_MIPS_BACKTRACE opt_hwpmc_hooks.h 858e1fd210eSCraig Rodrigues 8598dfbd03dSWarner Losh# XBOX options for FreeBSD/i386, but some files are MI 8608dfbd03dSWarner LoshXBOX opt_xbox.h 8618dfbd03dSWarner Losh 862566bd156SPaolo Pisati# Interrupt filtering 8638aa9e82eSJohn BaldwinINTR_FILTER 86426a4d66fSKip Macy 865b032f27cSSam Leffler# 802.11 support layer 866b032f27cSSam LefflerIEEE80211_DEBUG opt_wlan.h 867b032f27cSSam LefflerIEEE80211_DEBUG_REFCNT opt_wlan.h 868b032f27cSSam LefflerIEEE80211_AMPDU_AGE opt_wlan.h 86959aa14a9SRui PauloIEEE80211_SUPPORT_MESH opt_wlan.h 870616190d0SSam LefflerIEEE80211_SUPPORT_SUPERG opt_wlan.h 87110ad9a77SSam LefflerIEEE80211_SUPPORT_TDMA opt_wlan.h 872f4e2f6c9SAdrian ChaddIEEE80211_ALQ opt_wlan.h 87362f8a13aSAdrian ChaddIEEE80211_DFS_DEBUG opt_wlan.h 87410ad9a77SSam Leffler 87510ad9a77SSam Leffler# 802.11 TDMA support 87610ad9a77SSam LefflerTDMA_SLOTLEN_DEFAULT opt_tdma.h 87710ad9a77SSam LefflerTDMA_SLOTCNT_DEFAULT opt_tdma.h 87810ad9a77SSam LefflerTDMA_BINTVAL_DEFAULT opt_tdma.h 87910ad9a77SSam LefflerTDMA_TXRATE_11B_DEFAULT opt_tdma.h 88010ad9a77SSam LefflerTDMA_TXRATE_11G_DEFAULT opt_tdma.h 88110ad9a77SSam LefflerTDMA_TXRATE_11A_DEFAULT opt_tdma.h 8829e0ebab5SSam LefflerTDMA_TXRATE_TURBO_DEFAULT opt_tdma.h 8839e0ebab5SSam LefflerTDMA_TXRATE_HALF_DEFAULT opt_tdma.h 8849e0ebab5SSam LefflerTDMA_TXRATE_QUARTER_DEFAULT opt_tdma.h 8859e0ebab5SSam LefflerTDMA_TXRATE_11NA_DEFAULT opt_tdma.h 8869e0ebab5SSam LefflerTDMA_TXRATE_11NG_DEFAULT opt_tdma.h 887b032f27cSSam Leffler 88867addcdeSMarko Zec# Network stack virtualization options 889457af166SJulian ElischerVIMAGE opt_global.h 89067addcdeSMarko ZecVNET_DEBUG opt_global.h 89163425a7fSSam Leffler 89263425a7fSSam Leffler# Common Flash Interface (CFI) options 89363425a7fSSam LefflerCFI_SUPPORT_STRATAFLASH opt_cfi.h 89463425a7fSSam LefflerCFI_ARMEDANDDANGEROUS opt_cfi.h 89590da2b28SAriff Abdullah 89690da2b28SAriff Abdullah# Sound options 89790da2b28SAriff AbdullahSND_DEBUG opt_snd.h 89890da2b28SAriff AbdullahSND_DIAGNOSTIC opt_snd.h 89990da2b28SAriff AbdullahSND_FEEDER_MULTIFORMAT opt_snd.h 90090da2b28SAriff AbdullahSND_FEEDER_FULL_MULTIFORMAT opt_snd.h 90190da2b28SAriff AbdullahSND_FEEDER_RATE_HP opt_snd.h 90290da2b28SAriff AbdullahSND_PCM_64 opt_snd.h 90390da2b28SAriff AbdullahSND_OLDSTEREO opt_snd.h 904efba048eSXin LI 905205d67b0SXin LIX86BIOS 90677e46080SRafal Jaworowski 90777e46080SRafal Jaworowski# Flattened device tree options 90877e46080SRafal JaworowskiFDT opt_platform.h 90977e46080SRafal JaworowskiFDT_DTB_STATIC opt_platform.h 910e4cd31ddSJeff Roberson 911e4cd31ddSJeff Roberson# OFED Infiniband stack 912e4cd31ddSJeff RobersonOFED opt_ofed.h 913e4cd31ddSJeff RobersonOFED_DEBUG_INIT opt_ofed.h 914e4cd31ddSJeff RobersonSDP opt_ofed.h 915e4cd31ddSJeff RobersonSDP_DEBUG opt_ofed.h 916eacace93SXin LIIPOIB opt_ofed.h 917e4cd31ddSJeff RobersonIPOIB_DEBUG opt_ofed.h 918e4cd31ddSJeff RobersonIPOIB_CM opt_ofed.h 919c720b9bdSAdrian Chadd 920097055e2SEdward Tomasz Napierala# Resource Accounting 921097055e2SEdward Tomasz NapieralaRACCT opt_global.h 922097055e2SEdward Tomasz Napierala 923ec125fbbSEdward Tomasz Napierala# Resource Limits 924ec125fbbSEdward Tomasz NapieralaRCTL opt_global.h 925db3fcaf9SDag-Erling Smørgrav 926db3fcaf9SDag-Erling Smørgrav# Random number generator(s) 927997b0a64SDag-Erling SmørgravRANDOM_YARROW opt_random.h 928997b0a64SDag-Erling SmørgravRANDOM_FORTUNA opt_random.h 929db3fcaf9SDag-Erling SmørgravRANDOM_DEBUG opt_random.h 930997b0a64SDag-Erling SmørgravRANDOM_RWFILE opt_random.h 931