The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/conf/options

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 # $FreeBSD$
    2 #
    3 #        On the handling of kernel options   
    4 # 
    5 # All kernel options should be listed in LINT, with suitable
    6 # descriptions.  Negative options (options that make some code not
    7 # compile) should be commented out; LINT should compile as much code
    8 # as possible.  Try to structure option-using code so that a single
    9 # option only switch code on, or only switch code off, to make it
   10 # possible to have a full compile-test.  If necessary, you can include
   11 # "opt_lint.h" and check for COMPILING_LINT to get maximum code
   12 # coverage.
   13 # 
   14 # All new options shall also be listed in either "conf/options" or
   15 # "<machine>/conf/options.<machine>".  Options that affect a single
   16 # source-file <xxx>.[c|s] should be directed into "opt_<xxx>.h", while
   17 # options that affect multiple files should either go in
   18 # "opt_global.h" if this is a kernel-wide option (used just about
   19 # everywhere), or in "opt_<option-name-in-lower-case>.h" if it affect
   20 # only some files.  Note that the effect of listing only an option
   21 # without a header-file-name in conf/options (and cousins) is that the
   22 # last convention is followed.
   23 # 
   24 # This handling scheme is not yet fully implemented.
   25 #
   26 #
   27 # Format of this file:
   28 # Option name   filename
   29 #
   30 # If filename is missing, the default is
   31 # opt_<name-of-option-in-lower-case>.h
   32 
   33 # Adaptec aic7xxx SCSI controller options
   34 AHC_ALLOW_MEMIO         opt_aic7xxx.h   # Allow PCI devices to use memory
   35                                         # mapped I/O
   36 
   37 AHC_TMODE_ENABLE        opt_aic7xxx.h   # Bitmap of units to enable
   38                                         # targetmode operations.
   39 
   40 AHC_DUMP_EEPROM         opt_aic7xxx.h   # Dump the contents of our
   41                                         # configuration prom.
   42 
   43 ADW_ALLOW_MEMIO         opt_adw.h       # Allow PCI devices to use memory
   44                                         # mapped I/O
   45 
   46 # Miscellaneous options.
   47 COMPAT_43       opt_compat.h
   48 COMPAT_SUNOS    opt_compat.h
   49 COMPILING_LINT  opt_lint.h
   50 CY_PCI_FASTINTR
   51 DDB
   52 DDB_UNATTENDED  opt_ddb.h
   53 GDB_REMOTE_CHAT opt_ddb.h
   54 DEVFS
   55 FAILSAFE
   56 HW_WDOG
   57 KTRACE
   58 MFS_ROOT        opt_mfs.h
   59 MFS_ROOT_SIZE   opt_mfs.h
   60 NTIMECOUNTER    opt_ntp.h
   61 EXPORTMFS       opt_mfs.h
   62 NO_LKM
   63 NSWAPDEV        opt_swap.h
   64 PPS_SYNC        opt_ntp.h
   65 QUOTA
   66 SPX_HACK
   67 SUIDDIR         opt_suiddir.h
   68 SYSVMSG         opt_sysvipc.h
   69 SYSVSEM         opt_sysvipc.h
   70 SYSVSHM         opt_sysvipc.h
   71 UCONSOLE
   72 ICMP_BANDLIM
   73 
   74 # POSIX kernel options
   75 P1003_1B        opt_posix.h
   76 _KPOSIX_PRIORITY_SCHEDULING opt_posix.h
   77 _KPOSIX_VERSION opt_posix.h
   78 
   79 # Do we want the config file compiled into the kernel?
   80 INCLUDE_CONFIG_FILE     opt_config.h
   81 
   82 # Options for static file systems.  These should only be used at config
   83 # time, since the corresponding lkms cannot work if there are any static
   84 # dependencies.  Unusability is enforced by hiding the defines for the
   85 # options in a never-included header.
   86 EXT2FS          opt_dontuse.h
   87 FDESC           opt_dontuse.h
   88 KERNFS          opt_dontuse.h
   89 MFS             opt_dontuse.h
   90 MSDOSFS         opt_dontuse.h
   91 NULLFS          opt_dontuse.h
   92 PORTAL          opt_dontuse.h
   93 PROCFS          opt_dontuse.h
   94 UMAPFS          opt_dontuse.h
   95 NTFS            opt_dontuse.h
   96 
   97 # These static filesystems has one slightly bogus static dependency in
   98 # sys/i386/i386/autoconf.c.  If any of these filesystems are
   99 # statically compiled into the kernel, code for mounting them as root
  100 # filesystems will be enabled - but look below.  Boot-code is purposely
  101 # unavailable for the LKM-based versions.
  102 CODA
  103 CD9660
  104 FFS
  105 NFS
  106 
  107 # If you are following the conditions in the copyright, 
  108 # you can enable soft-updates which will speed up a lot of thigs 
  109 # and make the system safer from crashes at the same time.
  110 # otherwise a STUB module will be compiled in.
  111 SOFTUPDATES     opt_ffs.h
  112 
  113 # The above static dependencies are planned removed, with a
  114 # <filesystem>_ROOT option to control if it usable as root.  This list
  115 # allows these options to be present in config files already (though
  116 # they won't make any difference yet).
  117 CD9660_ROOT     opt_cd9660.h
  118 FFS_ROOT        opt_ffs.h
  119 NFS_ROOT        opt_nfsroot.h
  120 
  121 # Multi-session CD-Rs might require a huge amount of time in order to
  122 # "settle".  If we are about mounting them as the root f/s, we gotta
  123 # wait a little.
  124 CD9660_ROOTDELAY        opt_cd9660.h
  125 
  126 # The union static file system has bogus static dependencies, so it isn't
  127 # hidden yet.
  128 UNION
  129 
  130 # Options used only in param.c.
  131 HZ              opt_param.h
  132 MAXFILES        opt_param.h
  133 MAXUSERS        opt_param.h
  134 MSGMNB          opt_param.h
  135 MSGMNI          opt_param.h
  136 MSGSEG          opt_param.h
  137 MSGSSZ          opt_param.h
  138 MSGTQL          opt_param.h
  139 NBUF            opt_param.h
  140 NMBCLUSTERS     opt_param.h
  141 NSFBUFS         opt_param.h
  142 SEMMAP          opt_param.h
  143 SEMMNI          opt_param.h
  144 SEMMNS          opt_param.h
  145 SEMMNU          opt_param.h
  146 SEMMSL          opt_param.h
  147 SEMOPM          opt_param.h
  148 SEMUME          opt_param.h
  149 SHMALL          opt_param.h
  150 SHMMAX          opt_param.h
  151 SHMMAXPGS       opt_param.h
  152 SHMMIN          opt_param.h
  153 SHMMNI          opt_param.h
  154 SHMSEG          opt_param.h
  155 
  156 # Generic SCSI options.
  157 CAM_MAX_HIGHPOWER       opt_cam.h
  158 CAMDEBUG                opt_cam.h
  159 CAM_DEBUG_BUS           opt_cam.h
  160 CAM_DEBUG_TARGET        opt_cam.h
  161 CAM_DEBUG_LUN           opt_cam.h
  162 CAM_DEBUG_FLAGS         opt_cam.h
  163 SCSI_DELAY              opt_scsi.h
  164 SCSI_REPORT_GEOMETRY    opt_scsi.h
  165 SCSI_NO_SENSE_STRINGS   opt_scsi.h
  166 SCSI_NO_OP_STRINGS      opt_scsi.h
  167 
  168 # Options used only in cam/scsi/scsi_cd.c
  169 CHANGER_MIN_BUSY_SECONDS        opt_cd.h
  170 CHANGER_MAX_BUSY_SECONDS        opt_cd.h
  171 
  172 # Options used only in cam/scsi/scsi_sa.c.
  173 SA_SPACE_TIMEOUT        opt_sa.h
  174 SA_REWIND_TIMEOUT       opt_sa.h
  175 SA_ERASE_TIMEOUT        opt_sa.h
  176 SA_1FM_AT_EOD           opt_sa.h
  177 
  178 # Options used only in cam/scsi/scsi_pt.c
  179 SCSI_PT_DEFAULT_TIMEOUT opt_pt.h
  180 
  181 # Options used in dev/sym/ (Symbios SCSI driver).
  182 SYM_SETUP_LP_PROBE_MAP  opt_sym.h       # Low Priority Probe Map (bits)
  183 SYM_SETUP_SCSI_DIFF     opt_sym.h       # HVD support for 825a, 875, 885
  184 SYM_SETUP_PCI_PARITY    opt_sym.h       # PCI parity checking
  185 SYM_SETUP_MAX_LUN       opt_sym.h       # Number of LUNs supported
  186 
  187 # Options used only in pci/ncr.c
  188 SCSI_NCR_DEBUG          opt_ncr.h
  189 SCSI_NCR_DFLT_TAGS      opt_ncr.h
  190 SCSI_NCR_MAX_SYNC       opt_ncr.h
  191 SCSI_NCR_MAX_WIDE       opt_ncr.h
  192 SCSI_NCR_MYADDR         opt_ncr.h
  193 
  194 # Options used only in pci/isp_pci.c
  195 SCSI_ISP_NO_FWLOAD_MASK opt_isp.h
  196 SCSI_ISP_NO_NVRAM_MASK  opt_isp.h
  197 SCSI_ISP_PREFER_MEM_MAP opt_isp.h
  198 SCSI_ISP_FABRIC         opt_isp.h
  199 SCSI_ISP_SCCLUN         opt_isp.h
  200 SCSI_ISP_FCDUPLEX       opt_isp.h
  201 SCSI_ISP_WWN            opt_isp.h
  202 ISP_DISABLE_1020_SUPPORT        opt_isp.h
  203 ISP_DISABLE_1080_SUPPORT        opt_isp.h
  204 ISP_DISABLE_12160_SUPPORT       opt_isp.h
  205 ISP_DISABLE_2100_SUPPORT        opt_isp.h
  206 ISP_DISABLE_2200_SUPPORT        opt_isp.h
  207 ISP_COMPILE_FW                  opt_isp.h
  208 ISP_COMPILE_1020_FW             opt_isp.h
  209 ISP_COMPILE_1080_FW             opt_isp.h
  210 ISP_COMPILE_12160_FW            opt_isp.h
  211 ISP_COMPILE_2100_FW             opt_isp.h
  212 ISP_COMPILE_2200_FW             opt_isp.h
  213 ISP_TARGET_MODE         opt_isp.h
  214 
  215 # Resource limits.
  216 DFLDSIZ                 opt_rlimit.h
  217 MAXDSIZ                 opt_rlimit.h
  218 
  219 # Net stuff.
  220 BOOTP                   opt_bootp.h
  221 BOOTP_COMPAT            opt_bootp.h
  222 BOOTP_NFSROOT           opt_bootp.h
  223 BOOTP_NFSV3             opt_bootp.h
  224 BOOTP_WIRED_TO          opt_bootp.h
  225 BRIDGE                  opt_bdg.h
  226 MROUTING                opt_mrouting.h
  227 INET                    opt_inet.h
  228 IPDIVERT
  229 DUMMYNET                opt_ipdn.h
  230 IPFIREWALL              opt_ipfw.h
  231 IPFIREWALL_VERBOSE      opt_ipfw.h
  232 IPFIREWALL_VERBOSE_LIMIT        opt_ipfw.h
  233 IPFIREWALL_DEFAULT_TO_ACCEPT    opt_ipfw.h
  234 IPFIREWALL_FORWARD              opt_ipfw.h
  235 IPSTEALTH
  236 IPX                     opt_ipx.h
  237 IPXIP                   opt_ipx.h
  238 IPTUNNEL                opt_ipx.h
  239 NETATALK                opt_atalk.h
  240 PPP_BSDCOMP             opt_ppp.h
  241 PPP_DEFLATE             opt_ppp.h
  242 PPP_FILTER              opt_ppp.h
  243 TCP_COMPAT_42           opt_compat.h
  244 TCPDEBUG
  245 TCP_DROP_SYNFIN         opt_tcp_input.h
  246 TCP_RESTRICT_RST        opt_tcp_input.h
  247 IPFILTER                opt_ipfilter.h
  248 IPFILTER_LOG            opt_ipfilter.h
  249 IPFILTER_LKM            opt_ipfilter.h
  250 IPFILTER_DEFAULT_BLOCK  opt_ipfilter.h
  251 
  252 # Netgraph(4). Use option NETGRAPH to enable the base netgraph code.
  253 # Each netgraph node type can be either be compiled into the kernel
  254 # or loaded dynamically. To get the former, include the corresponding
  255 # option below.
  256 NETGRAPH
  257 NETGRAPH_ASYNC          opt_netgraph.h
  258 NETGRAPH_BPF            opt_netgraph.h
  259 NETGRAPH_CISCO          opt_netgraph.h
  260 NETGRAPH_ECHO           opt_netgraph.h
  261 NETGRAPH_FRAME_RELAY    opt_netgraph.h
  262 NETGRAPH_HOLE           opt_netgraph.h
  263 NETGRAPH_IFACE          opt_netgraph.h
  264 NETGRAPH_KSOCKET        opt_netgraph.h
  265 NETGRAPH_LMI            opt_netgraph.h
  266 NETGRAPH_PPP            opt_netgraph.h
  267 NETGRAPH_PPPOE          opt_netgraph.h
  268 NETGRAPH_PPTPGRE        opt_netgraph.h
  269 NETGRAPH_RFC1490        opt_netgraph.h
  270 NETGRAPH_SOCKET         opt_netgraph.h
  271 NETGRAPH_TEE            opt_netgraph.h
  272 NETGRAPH_TTY            opt_netgraph.h
  273 NETGRAPH_UI             opt_netgraph.h
  274 NETGRAPH_VJC            opt_netgraph.h
  275 
  276 # ATM (HARP version)
  277 ATM_CORE                opt_atm.h
  278 ATM_IP                  opt_atm.h
  279 ATM_SIGPVC              opt_atm.h
  280 ATM_SPANS               opt_atm.h
  281 ATM_UNI                 opt_atm.h
  282 
  283 # XXX Conflict: # of devices vs network protocol (Native ATM).
  284 # This makes "atm.h" unusable.
  285 NATM                    opt_natm.h
  286 
  287 DPT_ALLOW_MEMIO         opt_dpt.h       # Allow PCI devices to use memory
  288                                         # mapped I/O
  289 # DPT driver debug flags
  290 DPT_VERIFY_HINTR        opt_dpt.h
  291 DPT_USE_SINTR           opt_dpt.h
  292 DPT_RESTRICTED_FREELIST opt_dpt.h
  293 DPT_MEASURE_PERFORMANCE opt_dpt.h
  294 DPT_FREELIST_IS_STACK   opt_dpt.h
  295 DPT_HANDLE_TIMEOUTS     opt_dpt.h
  296 DPT_TIMEOUT_FACTOR      opt_dpt.h
  297 DPT_INTR_DELAY          opt_dpt.h
  298 DPT_LOST_IRQ            opt_dpt.h
  299 DPT_SHUTDOWN_SLEEP      opt_dpt.h
  300 DPT_RESET_HBA           opt_dpt.h
  301 
  302 # Misc debug flags.  Most of these should probably be replaced with
  303 # 'DEBUG', and then let people recompile just the interesting modules
  304 # with 'make CC="cc -DDEBUG'.
  305 CLUSTERDEBUG            opt_debug_cluster.h
  306 DEBUG_1284              opt_ppb_1284.h
  307 PERIPH_1284             opt_ppb_1284.h
  308 DONTPROBE_1284          opt_ppb_1284.h
  309 VP0_DEBUG               opt_vpo.h
  310 LPT_DEBUG               opt_lpt.h
  311 PLIP_DEBUG              opt_plip.h
  312 LOCKF_DEBUG             opt_debug_lockf.h
  313 LOUTB                   opt_debug_outb.h
  314 NPX_DEBUG               opt_debug_npx.h
  315 NETATALKDEBUG           opt_atalk.h
  316 NULLFS_DIAGNOSTIC       opt_debug_nullfs.h
  317 SI_DEBUG                opt_debug_si.h
  318 
  319 # smbus related options
  320 ENABLE_ALART            opt_intpm.h
  321 
  322 # These cause changes all over the kernel
  323 DEBUG                   opt_global.h
  324 DEBUG_LOCKS             opt_global.h
  325 DEBUG_VFS_LOCKS         opt_global.h
  326 DIAGNOSTIC              opt_global.h
  327 ENABLE_VFS_IOOPT        opt_global.h
  328 INVARIANT_SUPPORT       opt_global.h
  329 INVARIANTS              opt_global.h
  330 SIMPLELOCK_DEBUG        opt_global.h
  331 VFS_BIO_DEBUG           opt_global.h
  332 
  333 # These are VM related options
  334 VM_KMEM_SIZE    opt_vm.h
  335 VM_KMEM_SIZE_SCALE opt_vm.h
  336 VM_KMEM_SIZE_MAX        opt_vm.h
  337 NO_SWAPPING     opt_vm.h
  338 PQ_NOOPT        opt_vmpage.h
  339 PQ_NORMALCACHE  opt_vmpage.h
  340 PQ_MEDIUMCACHE  opt_vmpage.h
  341 PQ_LARGECACHE   opt_vmpage.h
  342 PQ_HUGECACHE    opt_vmpage.h
  343 
  344 # Standard SMP options
  345 SMP                     opt_global.h
  346 NCPU                    opt_smp.h
  347 NBUS                    opt_smp.h
  348 
  349 # sys/netkey
  350 KEY
  351 KEY_DEBUG               opt_key.h
  352 
  353 # Size of the kernel message buffer
  354 MSGBUF_SIZE             opt_msgbuf.h
  355 
  356 # PCI related options
  357 PCI_QUIET               opt_pci.h
  358 
  359 # NFS options
  360 NFS_MINATTRTIMO         opt_nfs.h
  361 NFS_MAXATTRTIMO         opt_nfs.h
  362 NFS_MINDIRATTRTIMO      opt_nfs.h
  363 NFS_MAXDIRATTRTIMO      opt_nfs.h
  364 NFS_GATHERDELAY         opt_nfs.h
  365 NFS_UIDHASHSIZ          opt_nfs.h
  366 NFS_WDELAYHASHSIZ       opt_nfs.h
  367 NFS_MUIDHASHSIZ         opt_nfs.h
  368 NFS_NOSERVER            opt_nfs.h
  369 NFS_DEBUG               opt_nfs.h
  370 
  371 # For the Bt848/Bt848A/Bt849/Bt878/Bt879 driver
  372 OVERRIDE_CARD           opt_bktr.h      #Override the bootup card detection
  373 OVERRIDE_TUNER          opt_bktr.h      #Override the bootup tuner detection
  374 OVERRIDE_DBX            opt_bktr.h      #Override the bootup DBX detection
  375 OVERRIDE_MSP            opt_bktr.h      #Override the bootup MSP detection
  376 BROOKTREE_SYSTEM_DEFAULT opt_bktr.h     #Set to BROOKTREE_PAL or BROOKTREE_NTSC
  377                                         #can prevent hang with Captivator card
  378 BKTR_USE_PLL            opt_bktr.h      #Use PLL mode for PAL users
  379                                         #handy for newer bt878 cards for PAL
  380 BKTR_GPIO_ACCESS        opt_bktr.h      #Enable IOCTLs which give user level
  381                                         #access to the GPIO port.
  382 BKTR_NO_MSP_RESET       opt_bktr.h      #Prevent MSP34xx reset. Handy if you
  383                                         #initialise the chip in another OS first
  384 BKTR_430_FX_MODE        opt_bktr.h      #Switch Bt878 cards into Intel 430FX
  385                                         #chipset compatibility mode
  386 BKTR_SIS_VIA_MODE       opt_bktr.h      #Switch Bt878 cards into SIS/VIA chipset
  387                                         #compatibility mode. Good for older
  388                                         #SiS/VIA chipsets, older OPTi chipsets
  389                                         #and those with bad PCI 2.1 support.
  390                                         #As a rough guess, old = before mid 1998
  391 
  392 # meteor opt_meteor.h
  393 METEOR_ALLOC_PAGES      opt_meteor.h
  394 METEOR_TEST_VIDEO       opt_meteor.h
  395 METEOR_SYSTEM_DEFAULT   opt_meteor.h
  396 METEOR_DEALLOC_PAGES    opt_meteor.h
  397 METEOR_DEALLOC_ABOVE    opt_meteor.h
  398 
  399 # Include tweaks for running under the SimOS machine simulator.
  400 SIMOS                   opt_simos.h
  401 
  402 # options for bus/device framework
  403 BUS_DEBUG               opt_bus.h
  404 
  405 # options for USB support
  406 UHCI_DEBUG              opt_usb.h
  407 OHCI_DEBUG              opt_usb.h
  408 USB_DEBUG               opt_usb.h
  409 UGEN_DEBUG              opt_usb.h 
  410 UHID_DEBUG              opt_usb.h
  411 UHUB_DEBUG              opt_usb.h
  412 UKBD_DEBUG              opt_usb.h
  413 ULPT_DEBUG              opt_usb.h
  414 UMS_DEBUG               opt_usb.h
  415 
  416 # Vinum options
  417 VINUMDEBUG              opt_vinum.h
  418 
  419 # Include LKM compatability module
  420 LKM
  421 
  422 # Embedded system options
  423 INIT_PATH               opt_init_path.h

Cache object: 610b68a209e48ecee3f83008023e00a8


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.