1c3aac50fSPeter Wemm# $FreeBSD$ 294db1b81SEivind Eklund# 394db1b81SEivind Eklund# On the handling of kernel options 494db1b81SEivind Eklund# 586bbbabaSDima Dorfman# All kernel options should be listed in NOTES, with suitable 694db1b81SEivind Eklund# descriptions. Negative options (options that make some code not 74718c85aSDima Dorfman# compile) should be commented out; LINT (generated from NOTES) should 84718c85aSDima Dorfman# compile as much code as possible. Try to structure option-using 94718c85aSDima Dorfman# code so that a single option only switch code on, or only switch 104718c85aSDima Dorfman# code off, to make it possible to have a full compile-test. If 114718c85aSDima Dorfman# necessary, you can check for COMPILING_LINT to get maximum code 124718c85aSDima Dorfman# coverage. 1394db1b81SEivind Eklund# 1494db1b81SEivind Eklund# All new options shall also be listed in either "conf/options" or 154718c85aSDima Dorfman# "conf/options.<machine>". Options that affect a single source-file 164718c85aSDima Dorfman# <xxx>.[c|s] should be directed into "opt_<xxx>.h", while options 174718c85aSDima Dorfman# that affect multiple files should either go in "opt_global.h" if 184718c85aSDima Dorfman# this is a kernel-wide option (used just about everywhere), or in 194718c85aSDima Dorfman# "opt_<option-name-in-lower-case>.h" if it affect only some files. 204718c85aSDima Dorfman# Note that the effect of listing only an option without a 214718c85aSDima Dorfman# header-file-name in conf/options (and cousins) is that the last 224718c85aSDima Dorfman# convention is followed. 2394db1b81SEivind Eklund# 2494db1b81SEivind Eklund# This handling scheme is not yet fully implemented. 2594db1b81SEivind Eklund# 2694db1b81SEivind Eklund# 2794db1b81SEivind Eklund# Format of this file: 284bd49128SPeter Wemm# Option name filename 2994db1b81SEivind Eklund# 3094db1b81SEivind Eklund# If filename is missing, the default is 3194db1b81SEivind Eklund# opt_<name-of-option-in-lower-case>.h 3281fc841cSBruce Evans 33acf1b64cSJustin T. Gibbs# Adaptec Array Controller driver options 34acf1b64cSJustin T. GibbsAAC_DEBUG opt_aac.h # Debugging levels: 35acf1b64cSJustin T. Gibbs # 0 - quiet, only emit warnings 36acf1b64cSJustin T. Gibbs # 1 - noisy, emit major function 37acf1b64cSJustin T. Gibbs # points and things done 38acf1b64cSJustin T. Gibbs # 2 - extremely noisy, emit trace 39acf1b64cSJustin T. Gibbs # items in loops, etc. 40acf1b64cSJustin T. Gibbs 41bf21c633SJustin T. Gibbs# Adaptec aic7xxx SCSI controller options 42bf21c633SJustin T. GibbsAHC_ALLOW_MEMIO opt_aic7xxx.h # Allow PCI devices to use memory 43528784edSJustin T. Gibbs # mapped I/O 44bf21c633SJustin T. Gibbs 45bf21c633SJustin T. GibbsAHC_TMODE_ENABLE opt_aic7xxx.h # Bitmap of units to enable 46bf21c633SJustin T. Gibbs # targetmode operations. 47bf21c633SJustin T. Gibbs 4826b40483SJustin T. GibbsAHC_DUMP_EEPROM opt_aic7xxx.h # Dump the contents of our 4926b40483SJustin T. Gibbs # configuration prom. 5026b40483SJustin T. Gibbs 514e7bbbf9SJustin T. GibbsAHC_DEBUG opt_aic7xxx.h # Compile in Aic7xxx Debugging code. 524e7bbbf9SJustin T. Gibbs 534e7bbbf9SJustin T. GibbsAHC_DEBUG_OPTS opt_aic7xxx.h # Aic7xxx driver debugging options. 544e7bbbf9SJustin T. Gibbs # See sys/dev/aic7xxx/aic7xxx.h 554e7bbbf9SJustin T. Gibbs 564e7bbbf9SJustin T. GibbsAHC_REG_PRETTY_PRINT opt_aic7xxx.h # Print register bitfields in debug 574e7bbbf9SJustin T. Gibbs # output. Adds ~128k to driver. 58a08d5a42SJustin T. Gibbs 59cdd49e97SJustin T. Gibbs# Adaptec aic79xx SCSI controller options 604e7bbbf9SJustin T. GibbsAHD_DEBUG opt_aic79xx.h # Compile in Aic79xx Debugging code. 61cdd49e97SJustin T. Gibbs 62cdd49e97SJustin T. GibbsAHD_DEBUG_OPTS opt_aic79xx.h # Aic79xx driver debugging options. 634e7bbbf9SJustin T. Gibbs # See sys/dev/aic7xxx/aic79xx.h 644e7bbbf9SJustin T. Gibbs 654e7bbbf9SJustin T. GibbsAHD_TMODE_ENABLE opt_aic79xx.h # Bitmap of units to enable 664e7bbbf9SJustin T. Gibbs # targetmode operations. 674e7bbbf9SJustin T. Gibbs 684e7bbbf9SJustin T. GibbsAHD_REG_PRETTY_PRINT opt_aic79xx.h # Print register bitfields in debug 694e7bbbf9SJustin T. Gibbs # output. Adds ~215k to driver. 70cdd49e97SJustin T. Gibbs 71528784edSJustin T. GibbsADW_ALLOW_MEMIO opt_adw.h # Allow PCI devices to use memory 72528784edSJustin T. Gibbs # mapped I/O 73528784edSJustin T. Gibbs 743d20a1ffSBruce Evans# Miscellaneous options. 752498cf8cSJohn BaldwinADAPTIVE_MUTEXES 76d971c22bSRobert WatsonALQ 77f71bb3a1SEivind EklundCOMPAT_43 opt_compat.h 78074453c2SAlfred PerlsteinCOMPAT_FREEBSD4 opt_compat.h 79f71bb3a1SEivind EklundCOMPAT_SUNOS opt_compat.h 80c866ec47SPoul-Henning KampCOMPILING_LINT opt_global.h 81d8dbc77cSNick HibmaCONSPEED opt_comconsole.h 82d971c22bSRobert WatsonCY_PCI_FASTINTR 830e41ee30SGarrett WollmanDDB 847085e708SBruce EvansDDB_NOKLDSYM opt_ddb.h 850be15decSJohn BaldwinDDB_TRACE 860be15decSJohn BaldwinDDB_UNATTENDED 87562d05dfSPaul TrainaGDB_REMOTE_CHAT opt_ddb.h 88d8dbc77cSNick HibmaGDBSPEED opt_ddb.h 893bd65612SPoul-Henning KampGEOM_AES opt_geom.h 9083dde527SPoul-Henning KampGEOM_APPLE opt_geom.h 9119b5c7bcSPoul-Henning KampGEOM_BDE opt_geom.h 923bd65612SPoul-Henning KampGEOM_BSD opt_geom.h 9322db1e9fSPoul-Henning KampGEOM_FOX opt_geom.h 943bd65612SPoul-Henning KampGEOM_GPT opt_geom.h 953bd65612SPoul-Henning KampGEOM_MBR opt_geom.h 96d2128d81SPoul-Henning KampGEOM_MIRROR opt_geom.h 973bd65612SPoul-Henning KampGEOM_PC98 opt_geom.h 983bd65612SPoul-Henning KampGEOM_SUNLABEL opt_geom.h 99cd53fddbSGordon TetlowGEOM_VOL opt_geom.h 100d94f38acSEivind EklundHW_WDOG 101e94ecf73SPeter WemmKSTACK_PAGES 102316ec49aSScott LongKSTACK_MAX_PAGES 1034bd49128SPeter WemmKTRACE 104363ba2bcSJohn BaldwinKTRACE_REQUEST_POOL opt_ktrace.h 1056f2d8adbSBoris PopovLIBICONV 106d971c22bSRobert WatsonMAC 107d971c22bSRobert WatsonMAC_ALWAYS_LABEL_MBUF opt_mac.h 108d971c22bSRobert WatsonMAC_BIBA opt_dontuse.h 109d971c22bSRobert WatsonMAC_BSDEXTENDED opt_dontuse.h 110d971c22bSRobert WatsonMAC_DEBUG opt_mac.h 111d971c22bSRobert WatsonMAC_IFOFF opt_dontuse.h 112d971c22bSRobert WatsonMAC_LOMAC opt_dontuse.h 113d971c22bSRobert WatsonMAC_MLS opt_dontuse.h 114d971c22bSRobert WatsonMAC_NONE opt_dontuse.h 115d971c22bSRobert WatsonMAC_PARTITION opt_dontuse.h 116d971c22bSRobert WatsonMAC_PORTACL opt_dontuse.h 117d971c22bSRobert WatsonMAC_SEEOTHERUIDS opt_dontuse.h 118d971c22bSRobert WatsonMAC_TEST opt_dontuse.h 11971e4fff8SPoul-Henning KampMD_ROOT opt_md.h 12071e4fff8SPoul-Henning KampMD_ROOT_SIZE opt_md.h 1217f01180eSJohn BaldwinNDGBPORTS opt_dgb.h 122f71bb3a1SEivind EklundNSWAPDEV opt_swap.h 1235bbb8060STor EggeNSWBUF_MIN opt_swap.h 124d971c22bSRobert WatsonNTIMECOUNTER opt_ntp.h 1255f07565bSJuli MallettPANIC_REBOOT_WAIT_TIME opt_panic.h 126e0d781f3SEivind EklundPPS_SYNC opt_ntp.h 12747a3594eSJohn BaldwinPUC_FASTINTR opt_puc.h 1283d20a1ffSBruce EvansQUOTA 129c3384118SJeff RobersonSCHED_4BSD opt_sched.h 130c3384118SJeff RobersonSCHED_ULE opt_sched.h 1315f07565bSJuli MallettSHOW_BUSYBUFS 132cecc50bcSEivind EklundSPX_HACK 133f71bb3a1SEivind EklundSUIDDIR opt_suiddir.h 1340b911335SJohn BaldwinMSGMNB opt_sysvipc.h 1350b911335SJohn BaldwinMSGMNI opt_sysvipc.h 1360b911335SJohn BaldwinMSGSEG opt_sysvipc.h 1370b911335SJohn BaldwinMSGSSZ opt_sysvipc.h 1380b911335SJohn BaldwinMSGTQL opt_sysvipc.h 139ab063af9SPeter WemmSEMMAP opt_sysvipc.h 140ab063af9SPeter WemmSEMMNI opt_sysvipc.h 141ab063af9SPeter WemmSEMMNS opt_sysvipc.h 142ab063af9SPeter WemmSEMMNU opt_sysvipc.h 143ab063af9SPeter WemmSEMMSL opt_sysvipc.h 144ab063af9SPeter WemmSEMOPM opt_sysvipc.h 145ab063af9SPeter WemmSEMUME opt_sysvipc.h 1460b911335SJohn BaldwinSHMALL opt_sysvipc.h 1470b911335SJohn BaldwinSHMMAX opt_sysvipc.h 1480b911335SJohn BaldwinSHMMAXPGS opt_sysvipc.h 1490b911335SJohn BaldwinSHMMIN opt_sysvipc.h 1500b911335SJohn BaldwinSHMMNI opt_sysvipc.h 1510b911335SJohn BaldwinSHMSEG opt_sysvipc.h 1520b911335SJohn BaldwinSYSVMSG opt_sysvipc.h 1530b911335SJohn BaldwinSYSVSEM opt_sysvipc.h 1540b911335SJohn BaldwinSYSVSHM opt_sysvipc.h 155dd85920aSJason EvansVFS_AIO 15697fef0a1SJohn BaldwinWLCACHE opt_wavelan.h 15797fef0a1SJohn BaldwinWLDEBUG opt_wavelan.h 1589c62b3eeSDavid SchultzTTYHOG opt_tty.h 1595bbb8060STor EggeDIRECTIO opt_directio.h 160d03b4017SBruce Evans 1618a6472b7SPeter Dufault# POSIX kernel options 1628a6472b7SPeter Dufault_KPOSIX_PRIORITY_SCHEDULING opt_posix.h 1633ffb9fadSAlfred PerlsteinP1003_1B_SEMAPHORES opt_posix.h 164917e476dSPeter Dufault 165808129f0SPeter Wemm# Do we want the config file compiled into the kernel? 166808129f0SPeter WemmINCLUDE_CONFIG_FILE opt_config.h 167808129f0SPeter Wemm 168d03b4017SBruce Evans# Options for static filesystems. These should only be used at config 169d03b4017SBruce Evans# time, since the corresponding lkms cannot work if there are any static 170d03b4017SBruce Evans# dependencies. Unusability is enforced by hiding the defines for the 171d03b4017SBruce Evans# options in a never-included header. 172bcf77694SPeter WemmCD9660 opt_dontuse.h 173bcf77694SPeter WemmCODA opt_dontuse.h 174f41991baSEivind EklundEXT2FS opt_dontuse.h 17599d300a1SRuslan ErmilovFDESCFS opt_dontuse.h 176d971c22bSRobert WatsonHPFS opt_dontuse.h 177dc765d22SDag-Erling SmørgravLINPROCFS opt_dontuse.h 178f41991baSEivind EklundMSDOSFS opt_dontuse.h 179d971c22bSRobert WatsonNTFS opt_dontuse.h 180d03b4017SBruce EvansNULLFS opt_dontuse.h 181bcf77694SPeter WemmNWFS opt_dontuse.h 18299d300a1SRuslan ErmilovPORTALFS opt_dontuse.h 183d03b4017SBruce EvansPROCFS opt_dontuse.h 18436b2d3b7SDag-Erling SmørgravPSEUDOFS opt_dontuse.h 185fbfee3f6SJohn BaldwinSMBFS opt_dontuse.h 186df263cbdSScott LongUDF opt_dontuse.h 187d971c22bSRobert WatsonUMAPFS opt_dontuse.h 188d971c22bSRobert WatsonUNIONFS opt_dontuse.h 189d03b4017SBruce Evans 19061a42370SPeter Wemm# Broken - ffs_snapshot() dependency from ufs_lookup() :-( 19161a42370SPeter WemmFFS opt_ffs_broken_fixme.h 19261a42370SPeter Wemm 193d971c22bSRobert Watson# These static filesystems have one slightly bogus static dependency in 1947b778b5eSEivind Eklund# sys/i386/i386/autoconf.c. If any of these filesystems are 1957b778b5eSEivind Eklund# statically compiled into the kernel, code for mounting them as root 196bcf77694SPeter Wemm# filesystems will be enabled - but look below. 197eb25edbdSPeter WemmNFSCLIENT opt_nfs.h 198eb25edbdSPeter WemmNFSSERVER opt_nfs.h 1995a9714deSJoerg Wunsch 200b1897c19SJulian Elischer# If you are following the conditions in the copyright, 201b1897c19SJulian Elischer# you can enable soft-updates which will speed up a lot of thigs 202b1897c19SJulian Elischer# and make the system safer from crashes at the same time. 203b1897c19SJulian Elischer# otherwise a STUB module will be compiled in. 204b1897c19SJulian ElischerSOFTUPDATES opt_ffs.h 205b1897c19SJulian Elischer 206a70f2747SRobert Watson# Enabling this option turns on support for Access Control Lists in UFS, 207a70f2747SRobert Watson# which can be used to support high security configurations. Depends on 208a70f2747SRobert Watson# UFS_EXTATTR. 209a70f2747SRobert WatsonUFS_ACL opt_ufs.h 210a70f2747SRobert Watson 211516081f2SRobert Watson# Enabling this option turns on support for extended attributes in UFS-based 212516081f2SRobert Watson# filesystems, which can be used to support high security configurations 213a64ed089SRobert Watson# as well as new filesystem features. 214516081f2SRobert WatsonUFS_EXTATTR opt_ufs.h 215516081f2SRobert WatsonUFS_EXTATTR_AUTOSTART opt_ufs.h 216a64ed089SRobert Watson 2179b5ad47fSIan Dowse# Enable fast hash lookups for large directories on UFS-based filesystems. 2189b5ad47fSIan DowseUFS_DIRHASH opt_ufs.h 2199b5ad47fSIan Dowse 220d971c22bSRobert Watson# The below sentence is not in English, and neither is this one. 221d971c22bSRobert Watson# We plan to remove the static dependences above, with a 2227b778b5eSEivind Eklund# <filesystem>_ROOT option to control if it usable as root. This list 2237b778b5eSEivind Eklund# allows these options to be present in config files already (though 2247b778b5eSEivind Eklund# they won't make any difference yet). 225df394affSJohn-Mark GurneyNFS_ROOT opt_nfsroot.h 2267b778b5eSEivind Eklund 227fbfee3f6SJohn Baldwin# SMB/CIFS requester 228fbfee3f6SJohn BaldwinNETSMB opt_netsmb.h 229fbfee3f6SJohn BaldwinNETSMBCRYPTO opt_netsmb.h 230fbfee3f6SJohn Baldwin 231f74654deSPeter Wemm# Options used only in subr_param.c. 23234f3320eSKenjiro ChoHZ opt_param.h 2335a00f364SDag-Erling SmørgravMAXFILES opt_param.h 2343d20a1ffSBruce EvansNBUF opt_param.h 2354bd49128SPeter WemmNMBCLUSTERS opt_param.h 236dd0b2081SDavid GreenmanNSFBUFS opt_param.h 2372f9e4e80SMatthew DillonVM_BCACHE_SIZE_MAX opt_param.h 2382f9e4e80SMatthew DillonVM_SWZONE_SIZE_MAX opt_param.h 239f74654deSPeter WemmMAXUSERS 240cbc89bfbSPaul SaabDFLDSIZ opt_param.h 241cbc89bfbSPaul SaabMAXDSIZ opt_param.h 242cbc89bfbSPaul SaabMAXSSIZ opt_param.h 24381fc841cSBruce Evans 24481fc841cSBruce Evans# Generic SCSI options. 245bf21c633SJustin T. GibbsCAM_MAX_HIGHPOWER opt_cam.h 246bf21c633SJustin T. GibbsCAMDEBUG opt_cam.h 247da56bbefSJustin T. GibbsCAM_DEBUG_DELAY opt_cam.h 248bf21c633SJustin T. GibbsCAM_DEBUG_BUS opt_cam.h 249bf21c633SJustin T. GibbsCAM_DEBUG_TARGET opt_cam.h 250bf21c633SJustin T. GibbsCAM_DEBUG_LUN opt_cam.h 251bf21c633SJustin T. GibbsCAM_DEBUG_FLAGS opt_cam.h 252d73ce756SMatt JacobCAM_NEW_TRAN_CODE opt_cam.h 2533d20a1ffSBruce EvansSCSI_DELAY opt_scsi.h 254bf21c633SJustin T. GibbsSCSI_NO_SENSE_STRINGS opt_scsi.h 255bf21c633SJustin T. GibbsSCSI_NO_OP_STRINGS opt_scsi.h 256bf21c633SJustin T. Gibbs 257bf21c633SJustin T. Gibbs# Options used only in cam/scsi/scsi_cd.c 258bf21c633SJustin T. GibbsCHANGER_MIN_BUSY_SECONDS opt_cd.h 259bf21c633SJustin T. GibbsCHANGER_MAX_BUSY_SECONDS opt_cd.h 26081fc841cSBruce Evans 2613ece1bd2SKenneth D. Merry# Options used only in cam/scsi/scsi_sa.c. 262b29f9e40SMatt JacobSA_IO_TIMEOUT opt_sa.h 2639dfb4471SKenneth D. MerrySA_SPACE_TIMEOUT opt_sa.h 2649dfb4471SKenneth D. MerrySA_REWIND_TIMEOUT opt_sa.h 2659dfb4471SKenneth D. MerrySA_ERASE_TIMEOUT opt_sa.h 266cb02c78aSMatt JacobSA_1FM_AT_EOD opt_sa.h 267c30bc9dbSJoerg Wunsch 2683ece1bd2SKenneth D. Merry# Options used only in cam/scsi/scsi_pt.c 2693ece1bd2SKenneth D. MerrySCSI_PT_DEFAULT_TIMEOUT opt_pt.h 2703ece1bd2SKenneth D. Merry 27152e48164SMatt Jacob# Options used only in cam/scsi/scsi_ses.c 27252e48164SMatt JacobSES_ENABLE_PASSTHROUGH opt_ses.h 27352e48164SMatt Jacob 274410605d1SDavid E. O'Brien# Options used in dev/sym/ (Symbios SCSI driver). 275410605d1SDavid E. O'BrienSYM_SETUP_LP_PROBE_MAP opt_sym.h #-Low Priority Probe Map (bits) 276410605d1SDavid E. O'Brien # Allows the ncr to take precedence 277410605d1SDavid E. O'Brien # 1 (1<<0) -> 810a, 860 278410605d1SDavid E. O'Brien # 2 (1<<1) -> 825a, 875, 885, 895 279410605d1SDavid E. O'Brien # 4 (1<<2) -> 895a, 896, 1510d 280410605d1SDavid E. O'BrienSYM_SETUP_SCSI_DIFF opt_sym.h #-HVD support for 825a, 875, 885 281410605d1SDavid E. O'Brien # disabled:0 (default), enabled:1 282410605d1SDavid E. O'BrienSYM_SETUP_PCI_PARITY opt_sym.h #-PCI parity checking 283410605d1SDavid E. O'Brien # disabled:0, enabled:1 (default) 284410605d1SDavid E. O'BrienSYM_SETUP_MAX_LUN opt_sym.h #-Number of LUNs supported 285410605d1SDavid E. O'Brien # default:8, range:[1..64] 286410605d1SDavid E. O'Brien 28721ffa5aeSStefan Eßer# Options used only in pci/ncr.c 2883d20a1ffSBruce EvansSCSI_NCR_DEBUG opt_ncr.h 289a5bef142SBruce EvansSCSI_NCR_MAX_SYNC opt_ncr.h 290a5bef142SBruce EvansSCSI_NCR_MAX_WIDE opt_ncr.h 2913d20a1ffSBruce EvansSCSI_NCR_MYADDR opt_ncr.h 29221ffa5aeSStefan Eßer 293355904d5SMatt Jacob# Options used only in dev/isp/* 29473e1de92SMatt JacobISP_TARGET_MODE opt_isp.h 295355904d5SMatt JacobISP_FW_CRASH_DUMP opt_isp.h 2963fc2ba4dSMatt Jacob 2971a2d9854SSøren Schmidt# Options used in the 'ata' ATA/ATAPI driver 298d971c22bSRobert WatsonACD_DEBUG opt_ata.h 299d971c22bSRobert WatsonAST_DEBUG opt_ata.h 300d971c22bSRobert WatsonATAPI_DEBUG opt_ata.h 301d971c22bSRobert WatsonATA_DEBUG opt_ata.h 3021a2d9854SSøren SchmidtATA_STATIC_ID opt_ata.h 303b5d0be89SPeter WemmATA_NOPCI opt_ata.h 304358f1800SPeter WemmDEV_ATADISK opt_ata.h 305358f1800SPeter WemmDEV_ATAPICD opt_ata.h 306358f1800SPeter WemmDEV_ATAPIST opt_ata.h 307358f1800SPeter WemmDEV_ATAPIFD opt_ata.h 308fd4b4eccSSøren SchmidtDEV_ATAPICAM opt_ata.h 3091a2d9854SSøren Schmidt 31081fc841cSBruce Evans# Net stuff. 311a79b7128SAlfred PerlsteinACCEPT_FILTER_DATA 312a79b7128SAlfred PerlsteinACCEPT_FILTER_HTTP 313e4f4247aSEivind EklundBOOTP opt_bootp.h 314e4f4247aSEivind EklundBOOTP_COMPAT opt_bootp.h 315e4f4247aSEivind EklundBOOTP_NFSROOT opt_bootp.h 316e4f4247aSEivind EklundBOOTP_NFSV3 opt_bootp.h 3178f7030a7STor EggeBOOTP_WIRED_TO opt_bootp.h 318508d0661SLuigi RizzoBRIDGE opt_bdg.h 3195d94d71cSBoris PopovETHER_II opt_ef.h 3205d94d71cSBoris PopovETHER_8023 opt_ef.h 3215d94d71cSBoris PopovETHER_8022 opt_ef.h 3225d94d71cSBoris PopovETHER_SNAP opt_ef.h 3234bd49128SPeter WemmMROUTING opt_mrouting.h 3241d5e9e22SEivind EklundINET opt_inet.h 325cfa1ca9dSYoshinobu InoueINET6 opt_inet6.h 3266a800098SYoshinobu InoueIPSEC opt_ipsec.h 3276a800098SYoshinobu InoueIPSEC_ESP opt_ipsec.h 3286a800098SYoshinobu InoueIPSEC_DEBUG opt_ipsec.h 32914dd6717SSam LefflerIPSEC_FILTERGIF opt_ipsec.h 330b9234fafSSam LefflerFAST_IPSEC opt_ipsec.h 331fbd1372aSJoerg WunschIPDIVERT 332508d0661SLuigi RizzoDUMMYNET opt_ipdn.h 3339cc86ee9SGuido van RooijIPFILTER opt_ipfilter.h 3349cc86ee9SGuido van RooijIPFILTER_LOG opt_ipfilter.h 335276dd937SDarren ReedIPFILTER_DEFAULT_BLOCK opt_ipfilter.h 3360656ae02SDarren ReedPFIL_HOOKS opt_pfil_hooks.h 33774a9466cSGary PalmerIPFIREWALL opt_ipfw.h 33874a9466cSGary PalmerIPFIREWALL_VERBOSE opt_ipfw.h 339fb260479SBruce EvansIPFIREWALL_VERBOSE_LIMIT opt_ipfw.h 340ffdd472dSPeter WemmIPFIREWALL_DEFAULT_TO_ACCEPT opt_ipfw.h 341cdcc2613SJulian ElischerIPFIREWALL_FORWARD opt_ipfw.h 342210d0432SYoshinobu InoueIPV6FIREWALL opt_ip6fw.h 343210d0432SYoshinobu InoueIPV6FIREWALL_VERBOSE opt_ip6fw.h 344210d0432SYoshinobu InoueIPV6FIREWALL_VERBOSE_LIMIT opt_ip6fw.h 345210d0432SYoshinobu InoueIPV6FIREWALL_DEFAULT_TO_ACCEPT opt_ip6fw.h 3461b968362SDag-Erling SmørgravIPSTEALTH 347ed9adee7SDag-Erling SmørgravIPX 348430df5f4SEivind EklundIPXIP opt_ipx.h 349d8589bd5SBoris PopovLIBMCHAIN 350ed9adee7SDag-Erling SmørgravNCP 3517262d3e4SEivind EklundNETATALK opt_atalk.h 35213c49711SPeter WemmPPP_BSDCOMP opt_ppp.h 35313c49711SPeter WemmPPP_DEFLATE opt_ppp.h 354d41238deSPeter WemmPPP_FILTER opt_ppp.h 35564dddc18SKris KennawayRANDOM_IP_ID 356875f3161SDag-Erling SmørgravSLIP_IFF_OPTS opt_slip.h 3570cc12cc5SJoerg WunschTCPDEBUG 358e46cd3d4SDag-Erling SmørgravTCP_DROP_SYNFIN opt_tcp_input.h 359914594eaSKris KennawayXBONEHACK 36053dcc544SMike SilbersackMBUF_STRESS_TEST opt_mbuf_stress_test.h 3613458e54aSJulian Elischer 3624cf49a43SJulian Elischer# Netgraph(4). Use option NETGRAPH to enable the base netgraph code. 3634cf49a43SJulian Elischer# Each netgraph node type can be either be compiled into the kernel 3644cf49a43SJulian Elischer# or loaded dynamically. To get the former, include the corresponding 365ed2dbd31SArchie Cobbs# option below. Each type has its own man page, e.g. ng_async(4). 3664cf49a43SJulian ElischerNETGRAPH 3674cf49a43SJulian ElischerNETGRAPH_ASYNC opt_netgraph.h 36892a3e552SArchie CobbsNETGRAPH_BPF opt_netgraph.h 369ed2dbd31SArchie CobbsNETGRAPH_BRIDGE opt_netgraph.h 3704cf49a43SJulian ElischerNETGRAPH_CISCO opt_netgraph.h 3714cf49a43SJulian ElischerNETGRAPH_ECHO opt_netgraph.h 372e1e1452dSArchie CobbsNETGRAPH_ETHER opt_netgraph.h 3734cf49a43SJulian ElischerNETGRAPH_FRAME_RELAY opt_netgraph.h 37494408d94SBrooks DavisNETGRAPH_GIF opt_netgraph.h 37594408d94SBrooks DavisNETGRAPH_GIF_DEMUX opt_netgraph.h 3764cf49a43SJulian ElischerNETGRAPH_HOLE opt_netgraph.h 3774cf49a43SJulian ElischerNETGRAPH_IFACE opt_netgraph.h 378c2eed105SBrooks DavisNETGRAPH_IP_INPUT opt_netgraph.h 3796e874711SArchie CobbsNETGRAPH_KSOCKET opt_netgraph.h 380901fadf7SArchie CobbsNETGRAPH_L2TP opt_netgraph.h 381d971c22bSRobert WatsonNETGRAPH_LMI opt_netgraph.h 382a2b408adSArchie Cobbs# MPPC compression requires proprietary files (not included) 383a2b408adSArchie CobbsNETGRAPH_MPPC_COMPRESSION opt_netgraph.h 384a2b408adSArchie CobbsNETGRAPH_MPPC_ENCRYPTION opt_netgraph.h 3857d7a5b89SArchie CobbsNETGRAPH_ONE2MANY opt_netgraph.h 3866827c8feSArchie CobbsNETGRAPH_PPP opt_netgraph.h 3876827c8feSArchie CobbsNETGRAPH_PPPOE opt_netgraph.h 388add85a1dSArchie CobbsNETGRAPH_PPTPGRE opt_netgraph.h 3894cf49a43SJulian ElischerNETGRAPH_RFC1490 opt_netgraph.h 3904cf49a43SJulian ElischerNETGRAPH_SOCKET opt_netgraph.h 3914d60fee2SBrooks DavisNETGRAPH_SPLIT opt_netgraph.h 3924cf49a43SJulian ElischerNETGRAPH_TEE opt_netgraph.h 3934cf49a43SJulian ElischerNETGRAPH_TTY opt_netgraph.h 3944cf49a43SJulian ElischerNETGRAPH_UI opt_netgraph.h 39506e36c4dSJulian ElischerNETGRAPH_VJC opt_netgraph.h 3964cf49a43SJulian Elischer 39767a2a28fSEric Anholt# DRM options 39867a2a28fSEric AnholtDRM_DEBUG opt_drm.h 39967a2a28fSEric Anholt 40098cb733cSKenneth D. MerryZERO_COPY_SOCKETS opt_zero.h 40198cb733cSKenneth D. MerryTI_PRIVATE_JUMBOS opt_ti.h 40298cb733cSKenneth D. MerryTI_JUMBO_HDRSPLIT opt_ti.h 40398cb733cSKenneth D. Merry 4043f8c4506SPoul-Henning Kamp# ATM (HARP version) 4053f8c4506SPoul-Henning KampATM_CORE opt_atm.h 4063f8c4506SPoul-Henning KampATM_IP opt_atm.h 4073f8c4506SPoul-Henning KampATM_SIGPVC opt_atm.h 4083f8c4506SPoul-Henning KampATM_SPANS opt_atm.h 4093f8c4506SPoul-Henning KampATM_UNI opt_atm.h 4103f8c4506SPoul-Henning Kamp 411e0d781f3SEivind Eklund# XXX Conflict: # of devices vs network protocol (Native ATM). 412e0d781f3SEivind Eklund# This makes "atm.h" unusable. 413ed9adee7SDag-Erling SmørgravNATM 414e0d781f3SEivind Eklund 415528784edSJustin T. GibbsDPT_ALLOW_MEMIO opt_dpt.h # Allow PCI devices to use memory 416528784edSJustin T. Gibbs # mapped I/O 4173458e54aSJulian Elischer# DPT driver debug flags 4183458e54aSJulian ElischerDPT_MEASURE_PERFORMANCE opt_dpt.h 4193458e54aSJulian ElischerDPT_HANDLE_TIMEOUTS opt_dpt.h 4203458e54aSJulian ElischerDPT_TIMEOUT_FACTOR opt_dpt.h 4213458e54aSJulian ElischerDPT_LOST_IRQ opt_dpt.h 422b755b885SEivind EklundDPT_RESET_HBA opt_dpt.h 4233f2076daSEivind Eklund 424444476fdSMike Smith# Adaptec ASR and DPT V/VI controller options 425444476fdSMike SmithASR_MEASURE_PERFORMANCE opt_asr.h 426444476fdSMike Smith 4273f2076daSEivind Eklund# Misc debug flags. Most of these should probably be replaced with 4283f2076daSEivind Eklund# 'DEBUG', and then let people recompile just the interesting modules 429fdf94d1aSNicolas Souchu# with 'make CC="cc -DDEBUG"'. 4303f2076daSEivind EklundCLUSTERDEBUG opt_debug_cluster.h 431a6de7b79SNicolas SouchuDEBUG_1284 opt_ppb_1284.h 432a6de7b79SNicolas SouchuVP0_DEBUG opt_vpo.h 433fdf94d1aSNicolas SouchuLPT_DEBUG opt_lpt.h 4347b7bf77eSNicolas SouchuPLIP_DEBUG opt_plip.h 4353f2076daSEivind EklundLOCKF_DEBUG opt_debug_lockf.h 4363757e119SRobert WatsonMUTEX_DEBUG opt_global.h 4378c33536cSScott LongMUTEX_NOINLINE opt_global.h 4383757e119SRobert WatsonMUTEX_PROFILING opt_global.h 4393f2076daSEivind EklundNPX_DEBUG opt_debug_npx.h 4403f2076daSEivind EklundNETATALKDEBUG opt_atalk.h 4413f2076daSEivind EklundSI_DEBUG opt_debug_si.h 4423f2076daSEivind Eklund 443909232c4SEivind Eklund# Fb options 444909232c4SEivind EklundFB_DEBUG opt_fb.h 445909232c4SEivind EklundFB_INSTALL_CDEV opt_fb.h 446909232c4SEivind Eklund 44704fb1490SNicolas Souchu# ppbus related options 44804fb1490SNicolas SouchuPERIPH_1284 opt_ppb_1284.h 44904fb1490SNicolas SouchuDONTPROBE_1284 opt_ppb_1284.h 45004fb1490SNicolas Souchu 45104fb1490SNicolas Souchu# smbus related options 45204fb1490SNicolas SouchuENABLE_ALART opt_intpm.h 4533f2076daSEivind Eklund 45414834de4SEivind Eklund# These cause changes all over the kernel 455909232c4SEivind EklundBLKDEV_IOSIZE opt_global.h 4567b22d083SWarner LoshBURN_BRIDGES opt_gloabl.h 45714834de4SEivind EklundDEBUG opt_global.h 45815a1057cSEivind EklundDEBUG_LOCKS opt_global.h 4595526d2d9SEivind EklundDEBUG_VFS_LOCKS opt_global.h 46014834de4SEivind EklundDIAGNOSTIC opt_global.h 46134b15f2aSJohn BaldwinINVARIANT_SUPPORT opt_global.h 4625526d2d9SEivind EklundINVARIANTS opt_global.h 463d971c22bSRobert WatsonLOOKUP_SHARED opt_global.h 4642c8f5a28SKenneth D. MerryMCLSHIFT opt_global.h 4652c8f5a28SKenneth D. MerryMSIZE opt_global.h 4660b5438c6SRobert WatsonREGRESSION opt_global.h 4671432aa0cSJohn BaldwinRESTARTABLE_PANICS opt_global.h 4685526d2d9SEivind EklundVFS_BIO_DEBUG opt_global.h 469d9bed5beSJohn Dyson 470d9bed5beSJohn Dyson# These are VM related options 471d9bed5beSJohn DysonVM_KMEM_SIZE opt_vm.h 472d9bed5beSJohn DysonVM_KMEM_SIZE_SCALE opt_vm.h 473d9bed5beSJohn DysonVM_KMEM_SIZE_MAX opt_vm.h 474faa5f8d8SAndrzej BialeckiNO_SWAPPING opt_vm.h 475eae870cdSRobert WatsonMALLOC_MAKE_FAILURES opt_vm.h 476a59f8b9eSJeff RobersonMALLOC_PROFILE opt_vm.h 47720f71813SJohn-Mark GurneyPQ_NOOPT opt_vmpage.h 47820f71813SJohn-Mark GurneyPQ_NORMALCACHE opt_vmpage.h 47920f71813SJohn-Mark GurneyPQ_MEDIUMCACHE opt_vmpage.h 48020f71813SJohn-Mark GurneyPQ_LARGECACHE opt_vmpage.h 48120f71813SJohn-Mark GurneyPQ_HUGECACHE opt_vmpage.h 4829a20f99aSJohn BaldwinPQ_CACHESIZE opt_vmpage.h 48320f71813SJohn-Mark Gurney 484ecd19816SMike Smith# Standard SMP options 485ecd19816SMike SmithSMP opt_global.h 486751bf650SJun-ichiro itojun Hagino 48758067a99SPoul-Henning Kamp# Size of the kernel message buffer 48858067a99SPoul-Henning KampMSGBUF_SIZE opt_msgbuf.h 489ecbb00a2SDoug Rabson 490df394affSJohn-Mark Gurney# NFS options 491df394affSJohn-Mark GurneyNFS_MINATTRTIMO opt_nfs.h 492df394affSJohn-Mark GurneyNFS_MAXATTRTIMO opt_nfs.h 493df394affSJohn-Mark GurneyNFS_MINDIRATTRTIMO opt_nfs.h 494df394affSJohn-Mark GurneyNFS_MAXDIRATTRTIMO opt_nfs.h 495df394affSJohn-Mark GurneyNFS_GATHERDELAY opt_nfs.h 496df394affSJohn-Mark GurneyNFS_WDELAYHASHSIZ opt_nfs.h 497df394affSJohn-Mark GurneyNFS_DEBUG opt_nfs.h 498df394affSJohn-Mark Gurney 49924e89aa8SRoger Hardiman# For the Bt848/Bt848A/Bt849/Bt878/Bt879 driver 5005cd2d295SRoger HardimanOVERRIDE_CARD opt_bktr.h 5015cd2d295SRoger HardimanOVERRIDE_TUNER opt_bktr.h 5025cd2d295SRoger HardimanOVERRIDE_DBX opt_bktr.h 5035cd2d295SRoger HardimanOVERRIDE_MSP opt_bktr.h 5045cd2d295SRoger HardimanBROOKTREE_SYSTEM_DEFAULT opt_bktr.h 50563883894SRoger HardimanBROOKTREE_ALLOC_PAGES opt_bktr.h 50663883894SRoger HardimanBKTR_OVERRIDE_CARD opt_bktr.h 50763883894SRoger HardimanBKTR_OVERRIDE_TUNER opt_bktr.h 50863883894SRoger HardimanBKTR_OVERRIDE_DBX opt_bktr.h 50963883894SRoger HardimanBKTR_OVERRIDE_MSP opt_bktr.h 51063883894SRoger HardimanBKTR_SYSTEM_DEFAULT opt_bktr.h 51163883894SRoger HardimanBKTR_ALLOC_PAGES opt_bktr.h 5125cd2d295SRoger HardimanBKTR_USE_PLL opt_bktr.h 5135cd2d295SRoger HardimanBKTR_GPIO_ACCESS opt_bktr.h 5145cd2d295SRoger HardimanBKTR_NO_MSP_RESET opt_bktr.h 5155cd2d295SRoger HardimanBKTR_430_FX_MODE opt_bktr.h 5165cd2d295SRoger HardimanBKTR_SIS_VIA_MODE opt_bktr.h 517c17d4340SNicolas SouchuBKTR_USE_FREEBSD_SMBUS opt_bktr.h 51858dde31aSSøren Schmidt 519afc2d1c7SJordan K. Hubbard# meteor opt_meteor.h 520afc2d1c7SJordan K. HubbardMETEOR_ALLOC_PAGES opt_meteor.h 521afc2d1c7SJordan K. HubbardMETEOR_TEST_VIDEO opt_meteor.h 522afc2d1c7SJordan K. HubbardMETEOR_SYSTEM_DEFAULT opt_meteor.h 523afc2d1c7SJordan K. HubbardMETEOR_DEALLOC_PAGES opt_meteor.h 524afc2d1c7SJordan K. HubbardMETEOR_DEALLOC_ABOVE opt_meteor.h 525afc2d1c7SJordan K. Hubbard 5261f23083aSYoshihiro Takahashi# options for serial support 5276f42b336SPeter WemmCOM_ESP opt_sio.h 5286f42b336SPeter WemmCOM_MULTIPORT opt_sio.h 529909232c4SEivind EklundBREAK_TO_DEBUGGER opt_comconsole.h 53026b6ea69SPaul SaabALT_BREAK_TO_DEBUGGER opt_comconsole.h 5316f42b336SPeter Wemm 532709f2df6SDoug Rabson# options for bus/device framework 533709f2df6SDoug RabsonBUS_DEBUG opt_bus.h 5340cec007cSNick Hibma 5350cec007cSNick Hibma# options for USB support 5367dc1a5bdSNick HibmaUHCI_DEBUG opt_usb.h 5377dc1a5bdSNick HibmaOHCI_DEBUG opt_usb.h 5380cec007cSNick HibmaUSB_DEBUG opt_usb.h 5397dc1a5bdSNick HibmaUGEN_DEBUG opt_usb.h 5407dc1a5bdSNick HibmaUHID_DEBUG opt_usb.h 5417dc1a5bdSNick HibmaUHUB_DEBUG opt_usb.h 5427dc1a5bdSNick HibmaUKBD_DEBUG opt_usb.h 5437dc1a5bdSNick HibmaULPT_DEBUG opt_usb.h 5445628cc31SNick HibmaUMASS_DEBUG opt_usb.h 5457dc1a5bdSNick HibmaUMS_DEBUG opt_usb.h 546e2dbd15fSNick HibmaURIO_DEBUG opt_usb.h 547f548daf0SJohn BaldwinUKBD_DFLT_KEYMAP opt_ukbd.h 54820280807SShunsuke AkiyamaUVSCOM_DEFAULT_OPKTSIZE opt_uvscom.h 549a9d45962SPeter Wemm 550a9d45962SPeter Wemm# Vinum options 551a9d45962SPeter WemmVINUMDEBUG opt_vinum.h 552e1df2352SJoerg WunschVINUM_AUTOSTART opt_vinum.h 5539775e378SJohn Birrell 5549775e378SJohn Birrell# Embedded system options 5559775e378SJohn BirrellINIT_PATH opt_init_path.h 556b307e58fSPoul-Henning Kamp 557b307e58fSPoul-Henning KampROOTDEVNAME opt_rootdevname.h 558814ce988SDoug Rabson 559814ce988SDoug RabsonFDC_DEBUG opt_fdc.h 5603b2d592cSJordan K. HubbardPCFCLOCK_VERBOSE opt_pcfclock.h 5613b2d592cSJordan K. HubbardPCFCLOCK_MAX_RETRIES opt_pcfclock.h 562d971c22bSRobert WatsonTDFX_LINUX opt_tdfx.h 563f9d186edSScott Long 564f9d186edSScott Long# RAIDframe options 565f9d186edSScott LongRAID_AUTOCONFIG opt_raid.h 566f9d186edSScott LongRAID_DEBUG opt_raid.h 567b1f12b61STakanori Watanabe 5680384fff8SJason EvansKTR opt_global.h 5694b124a4bSJeff RobersonKTR_ALQ opt_ktr.h 570d8f03321SJohn BaldwinKTR_MASK opt_ktr.h 571d8f03321SJohn BaldwinKTR_CPUMASK opt_ktr.h 5720384fff8SJason EvansKTR_COMPILE opt_global.h 5730384fff8SJason EvansKTR_ENTRIES opt_global.h 574d8f03321SJohn BaldwinKTR_VERBOSE opt_ktr.h 5750384fff8SJason EvansWITNESS opt_global.h 576660d1e3aSJohn BaldwinWITNESS_DDB opt_witness.h 577660d1e3aSJohn BaldwinWITNESS_SKIPSPIN opt_witness.h 5780384fff8SJason Evans 579b1f12b61STakanori Watanabe# options for ACPI support 580b1f12b61STakanori WatanabeACPI_DEBUG opt_acpi.h 581c573e654SMitsuru IWASAKIACPI_NO_SEMAPHORES opt_acpi.h 582c573e654SMitsuru IWASAKIACPI_MAX_THREADS opt_acpi.h 58393bcdfe2SPoul-Henning Kamp 58493bcdfe2SPoul-Henning Kamp# options for DEVFS, see sys/fs/devfs/devfs.h 58593bcdfe2SPoul-Henning KampNDEVFSINO opt_devfs.h 58693bcdfe2SPoul-Henning KampNDEVFSOVERFLOW opt_devfs.h 587810d0bd1SPeter Wemm 588810d0bd1SPeter Wemm# various 'device presence' options. 5891f23083aSYoshihiro TakahashiDEV_ISA opt_isa.h 590f444a0efSPeter WemmDEV_MCA opt_mca.h 5915bb5f2c9SPeter WemmDEV_BPF opt_bpf.h 59228ab032eSJake BurkholderDEV_SPLASH opt_splash.h 5939b04180cSIan Dowse 5949b04180cSIan Dowse# ed driver 5959b04180cSIan DowseED_NO_MIIBUS opt_ed.h 5960483b1a8SAndrew Gallatin 597073eef8cSWarner Losh# wi driver 598073eef8cSWarner LoshWI_SYMBOL_FIRMWARE opt_wi.h 599073eef8cSWarner Losh 600d971c22bSRobert Watson# XXX bogusly global. 6010483b1a8SAndrew GallatinDEVICE_POLLING opt_global.h 602b7c4858fSSam Leffler# options for ubsec driver 603b7c4858fSSam LefflerUBSEC_DEBUG opt_ubsec.h 604b7c4858fSSam LefflerUBSEC_RNDTEST opt_ubsec.h 605b7c4858fSSam Leffler 606b7c4858fSSam Leffler# options for hifn driver 607b7c4858fSSam LefflerHIFN_DEBUG opt_hifn.h 608b7c4858fSSam LefflerHIFN_RNDTEST opt_hifn.h 60928ab032eSJake Burkholder 61028ab032eSJake Burkholder# syscons options 61128ab032eSJake BurkholderMAXCONS opt_syscons.h 61228ab032eSJake BurkholderSC_ALT_MOUSE_IMAGE opt_syscons.h 61328ab032eSJake BurkholderSC_CUT_SPACES2TABS opt_syscons.h 61428ab032eSJake BurkholderSC_CUT_SEPCHARS opt_syscons.h 61528ab032eSJake BurkholderSC_DEBUG_LEVEL opt_syscons.h 61628ab032eSJake BurkholderSC_DFLT_FONT opt_syscons.h 61728ab032eSJake BurkholderSC_DISABLE_DDBKEY opt_syscons.h 61828ab032eSJake BurkholderSC_DISABLE_REBOOT opt_syscons.h 61928ab032eSJake BurkholderSC_HISTORY_SIZE opt_syscons.h 62028ab032eSJake BurkholderSC_KERNEL_CONS_ATTR opt_syscons.h 62128ab032eSJake BurkholderSC_KERNEL_CONS_REV_ATTR opt_syscons.h 62228ab032eSJake BurkholderSC_MOUSE_CHAR opt_syscons.h 62328ab032eSJake BurkholderSC_NO_CUTPASTE opt_syscons.h 62428ab032eSJake BurkholderSC_NO_FONT_LOADING opt_syscons.h 62528ab032eSJake BurkholderSC_NO_HISTORY opt_syscons.h 62628ab032eSJake BurkholderSC_NO_SYSMOUSE opt_syscons.h 62728ab032eSJake BurkholderSC_NORM_ATTR opt_syscons.h 62828ab032eSJake BurkholderSC_NORM_REV_ATTR opt_syscons.h 62928ab032eSJake BurkholderSC_PIXEL_MODE opt_syscons.h 63028ab032eSJake BurkholderSC_RENDER_DEBUG opt_syscons.h 63128ab032eSJake BurkholderSC_TWOBUTTON_MOUSE opt_syscons.h 63228ab032eSJake BurkholderSC_NO_SUSPEND_VTYSWITCH opt_syscons.h 63328ab032eSJake Burkholder 63428ab032eSJake Burkholder# kbd options 63528ab032eSJake BurkholderKBD_DISABLE_KEYMAP_LOAD opt_kbd.h 63628ab032eSJake BurkholderKBD_INSTALL_CDEV opt_kbd.h 63728ab032eSJake BurkholderKBD_MAXRETRY opt_kbd.h 63828ab032eSJake BurkholderKBD_MAXWAIT opt_kbd.h 63928ab032eSJake BurkholderKBD_RESETDELAY opt_kbd.h 64028ab032eSJake BurkholderKBDIO_DEBUG opt_kbd.h 641