]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/conf/options
MFH
[FreeBSD/FreeBSD.git] / sys / conf / options
1 # $FreeBSD$
2 #
3 #        On the handling of kernel options
4 #
5 # All kernel options should be listed in NOTES, with suitable
6 # descriptions.  Negative options (options that make some code not
7 # compile) should be commented out; LINT (generated from NOTES) should
8 # compile as much code as possible.  Try to structure option-using
9 # code so that a single option only switch code on, or only switch
10 # code off, to make it possible to have a full compile-test.  If
11 # necessary, you can 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 # "conf/options.<machine>".  Options that affect a single source-file
16 # <xxx>.[c|s] should be directed into "opt_<xxx>.h", while options
17 # that affect multiple files should either go in "opt_global.h" if
18 # this is a kernel-wide option (used just about everywhere), or in
19 # "opt_<option-name-in-lower-case>.h" if it affects only some files.
20 # Note that the effect of listing only an option without a
21 # header-file-name in conf/options (and cousins) is that the last
22 # 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 AAC_DEBUG               opt_aac.h
34 AACRAID_DEBUG           opt_aacraid.h
35 AHC_ALLOW_MEMIO         opt_aic7xxx.h
36 AHC_TMODE_ENABLE        opt_aic7xxx.h
37 AHC_DUMP_EEPROM         opt_aic7xxx.h
38 AHC_DEBUG               opt_aic7xxx.h
39 AHC_DEBUG_OPTS          opt_aic7xxx.h
40 AHC_REG_PRETTY_PRINT    opt_aic7xxx.h
41 AHD_DEBUG               opt_aic79xx.h
42 AHD_DEBUG_OPTS          opt_aic79xx.h
43 AHD_TMODE_ENABLE        opt_aic79xx.h   
44 AHD_REG_PRETTY_PRINT    opt_aic79xx.h
45 ADW_ALLOW_MEMIO         opt_adw.h
46
47 TWA_DEBUG               opt_twa.h
48 TWA_FLASH_FIRMWARE      opt_twa.h
49
50 # Debugging options.
51 ALT_BREAK_TO_DEBUGGER   opt_kdb.h
52 BREAK_TO_DEBUGGER       opt_kdb.h
53 DDB
54 DDB_BUFR_SIZE   opt_ddb.h
55 DDB_CAPTURE_DEFAULTBUFSIZE      opt_ddb.h
56 DDB_CAPTURE_MAXBUFSIZE  opt_ddb.h
57 DDB_CTF         opt_ddb.h
58 DDB_NUMSYM      opt_ddb.h
59 GDB
60 KDB             opt_global.h
61 KDB_TRACE       opt_kdb.h
62 KDB_UNATTENDED  opt_kdb.h
63 KLD_DEBUG       opt_kld.h
64 SYSCTL_DEBUG    opt_sysctl.h
65 EARLY_PRINTF    opt_global.h
66 TEXTDUMP_PREFERRED      opt_ddb.h
67 TEXTDUMP_VERBOSE        opt_ddb.h
68
69 # Miscellaneous options.
70 ADAPTIVE_LOCKMGRS
71 ALQ
72 ALTERA_SDCARD_FAST_SIM  opt_altera_sdcard.h
73 ATSE_CFI_HACK   opt_cfi.h
74 AUDIT           opt_global.h
75 BOOTHOWTO       opt_global.h
76 BOOTVERBOSE     opt_global.h
77 CALLOUT_PROFILING
78 CAPABILITIES    opt_capsicum.h
79 CAPABILITY_MODE opt_capsicum.h
80 COMPAT_43       opt_compat.h
81 COMPAT_43TTY    opt_compat.h
82 COMPAT_FREEBSD4 opt_compat.h
83 COMPAT_FREEBSD5 opt_compat.h
84 COMPAT_FREEBSD6 opt_compat.h
85 COMPAT_FREEBSD7 opt_compat.h
86 COMPAT_FREEBSD9 opt_compat.h
87 COMPAT_FREEBSD10        opt_compat.h
88 COMPAT_CLOUDABI64       opt_dontuse.h
89 COMPAT_LINUXKPI opt_compat.h
90 COMPILING_LINT  opt_global.h
91 CY_PCI_FASTINTR
92 DEADLKRES       opt_watchdog.h
93 EXT_RESOURCES   opt_global.h
94 DIRECTIO
95 FILEMON         opt_dontuse.h
96 FFCLOCK
97 FULL_PREEMPTION opt_sched.h
98 GZIO            opt_gzio.h
99 IMAGACT_BINMISC         opt_dontuse.h
100 IPI_PREEMPTION  opt_sched.h
101 GEOM_AES        opt_geom.h
102 GEOM_BDE        opt_geom.h
103 GEOM_BSD        opt_geom.h
104 GEOM_CACHE      opt_geom.h
105 GEOM_CONCAT     opt_geom.h
106 GEOM_ELI        opt_geom.h
107 GEOM_FOX        opt_geom.h
108 GEOM_GATE       opt_geom.h
109 GEOM_JOURNAL    opt_geom.h
110 GEOM_LABEL      opt_geom.h
111 GEOM_LABEL_GPT  opt_geom.h
112 GEOM_LINUX_LVM  opt_geom.h
113 GEOM_MAP        opt_geom.h
114 GEOM_MBR        opt_geom.h
115 GEOM_MIRROR     opt_geom.h
116 GEOM_MOUNTVER   opt_geom.h
117 GEOM_MULTIPATH  opt_geom.h
118 GEOM_NOP        opt_geom.h
119 GEOM_PART_APM   opt_geom.h
120 GEOM_PART_BSD   opt_geom.h
121 GEOM_PART_BSD64 opt_geom.h
122 GEOM_PART_EBR   opt_geom.h
123 GEOM_PART_EBR_COMPAT    opt_geom.h
124 GEOM_PART_GPT   opt_geom.h
125 GEOM_PART_LDM   opt_geom.h
126 GEOM_PART_MBR   opt_geom.h
127 GEOM_PART_PC98  opt_geom.h
128 GEOM_PART_VTOC8 opt_geom.h
129 GEOM_PC98       opt_geom.h
130 GEOM_RAID       opt_geom.h
131 GEOM_RAID3      opt_geom.h
132 GEOM_SHSEC      opt_geom.h
133 GEOM_STRIPE     opt_geom.h
134 GEOM_SUNLABEL   opt_geom.h
135 GEOM_UNCOMPRESS opt_geom.h
136 GEOM_UNCOMPRESS_DEBUG   opt_geom.h
137 GEOM_UZIP       opt_geom.h
138 GEOM_VINUM      opt_geom.h
139 GEOM_VIRSTOR    opt_geom.h
140 GEOM_VOL        opt_geom.h
141 GEOM_ZERO       opt_geom.h
142 KDTRACE_HOOKS   opt_global.h
143 KDTRACE_FRAME   opt_kdtrace.h
144 KN_HASHSIZE     opt_kqueue.h
145 KSTACK_MAX_PAGES
146 KSTACK_PAGES
147 KSTACK_USAGE_PROF
148 KTRACE
149 KTRACE_REQUEST_POOL     opt_ktrace.h
150 LIBICONV
151 MAC             opt_global.h
152 MAC_BIBA        opt_dontuse.h
153 MAC_BSDEXTENDED opt_dontuse.h
154 MAC_IFOFF       opt_dontuse.h
155 MAC_LOMAC       opt_dontuse.h
156 MAC_MLS         opt_dontuse.h
157 MAC_NONE        opt_dontuse.h
158 MAC_PARTITION   opt_dontuse.h
159 MAC_PORTACL     opt_dontuse.h
160 MAC_SEEOTHERUIDS        opt_dontuse.h
161 MAC_STATIC      opt_mac.h
162 MAC_STUB        opt_dontuse.h
163 MAC_TEST        opt_dontuse.h
164 MD_ROOT         opt_md.h
165 MD_ROOT_FSTYPE  opt_md.h
166 MD_ROOT_SIZE    opt_md.h
167 MFI_DEBUG       opt_mfi.h
168 MFI_DECODE_LOG  opt_mfi.h
169 MPROF_BUFFERS   opt_mprof.h
170 MPROF_HASH_SIZE opt_mprof.h
171 NEW_PCIB        opt_global.h
172 NO_ADAPTIVE_MUTEXES     opt_adaptive_mutexes.h
173 NO_ADAPTIVE_RWLOCKS
174 NO_ADAPTIVE_SX
175 NO_EVENTTIMERS          opt_timer.h
176 NO_SYSCTL_DESCR opt_global.h
177 NSWBUF_MIN      opt_swap.h
178 MBUF_PACKET_ZONE_DISABLE        opt_global.h
179 PANIC_REBOOT_WAIT_TIME  opt_panic.h
180 PCI_IOV         opt_global.h
181 PPC_DEBUG       opt_ppc.h
182 PPC_PROBE_CHIPSET       opt_ppc.h
183 PPS_SYNC        opt_ntp.h
184 PREEMPTION      opt_sched.h
185 QUOTA
186 SCHED_4BSD      opt_sched.h
187 SCHED_STATS     opt_sched.h
188 SCHED_ULE       opt_sched.h
189 SLEEPQUEUE_PROFILING
190 SLHCI_DEBUG     opt_slhci.h
191 SPX_HACK
192 STACK           opt_stack.h
193 SUIDDIR
194 MSGMNB          opt_sysvipc.h
195 MSGMNI          opt_sysvipc.h
196 MSGSEG          opt_sysvipc.h
197 MSGSSZ          opt_sysvipc.h
198 MSGTQL          opt_sysvipc.h
199 SEMMNI          opt_sysvipc.h
200 SEMMNS          opt_sysvipc.h
201 SEMMNU          opt_sysvipc.h
202 SEMMSL          opt_sysvipc.h
203 SEMOPM          opt_sysvipc.h
204 SEMUME          opt_sysvipc.h
205 SHMALL          opt_sysvipc.h
206 SHMMAX          opt_sysvipc.h
207 SHMMAXPGS       opt_sysvipc.h
208 SHMMIN          opt_sysvipc.h
209 SHMMNI          opt_sysvipc.h
210 SHMSEG          opt_sysvipc.h
211 SYSVMSG         opt_sysvipc.h
212 SYSVSEM         opt_sysvipc.h
213 SYSVSHM         opt_sysvipc.h
214 SW_WATCHDOG     opt_watchdog.h
215 TURNSTILE_PROFILING
216 UMTX_PROFILING
217 VFS_AIO
218 VERBOSE_SYSINIT
219 WLCACHE         opt_wavelan.h
220 WLDEBUG         opt_wavelan.h
221
222 # POSIX kernel options
223 P1003_1B_MQUEUE                 opt_posix.h
224 P1003_1B_SEMAPHORES             opt_posix.h
225 _KPOSIX_PRIORITY_SCHEDULING     opt_posix.h
226
227 # Do we want the config file compiled into the kernel?
228 INCLUDE_CONFIG_FILE     opt_config.h
229
230 # Options for static filesystems.  These should only be used at config
231 # time, since the corresponding lkms cannot work if there are any static
232 # dependencies.  Unusability is enforced by hiding the defines for the
233 # options in a never-included header.
234 AUTOFS          opt_dontuse.h
235 CD9660          opt_dontuse.h
236 EXT2FS          opt_dontuse.h
237 FDESCFS         opt_dontuse.h
238 FFS             opt_dontuse.h
239 FUSE            opt_dontuse.h
240 MSDOSFS         opt_dontuse.h
241 NANDFS          opt_dontuse.h
242 NULLFS          opt_dontuse.h
243 PROCFS          opt_dontuse.h
244 PSEUDOFS        opt_dontuse.h
245 REISERFS        opt_dontuse.h
246 SMBFS           opt_dontuse.h
247 TMPFS           opt_dontuse.h
248 UDF             opt_dontuse.h
249 UNIONFS         opt_dontuse.h
250 ZFS             opt_dontuse.h
251
252 # Pseudofs debugging
253 PSEUDOFS_TRACE  opt_pseudofs.h
254
255 # In-kernel GSS-API
256 KGSSAPI         opt_kgssapi.h
257 KGSSAPI_DEBUG   opt_kgssapi.h
258
259 # These static filesystems have one slightly bogus static dependency in
260 # sys/i386/i386/autoconf.c.  If any of these filesystems are
261 # statically compiled into the kernel, code for mounting them as root
262 # filesystems will be enabled - but look below.
263 # NFSCL - client
264 # NFSD - server
265 NFSCL           opt_nfs.h
266 NFSD            opt_nfs.h
267
268 # filesystems and libiconv bridge
269 CD9660_ICONV    opt_dontuse.h
270 MSDOSFS_ICONV   opt_dontuse.h
271 UDF_ICONV       opt_dontuse.h
272
273 # If you are following the conditions in the copyright,
274 # you can enable soft-updates which will speed up a lot of thigs
275 # and make the system safer from crashes at the same time.
276 # otherwise a STUB module will be compiled in.
277 SOFTUPDATES     opt_ffs.h
278
279 # On small, embedded systems, it can be useful to turn off support for
280 # snapshots.  It saves about 30-40k for a feature that would be lightly
281 # used, if it is used at all.
282 NO_FFS_SNAPSHOT opt_ffs.h
283
284 # Enabling this option turns on support for Access Control Lists in UFS,
285 # which can be used to support high security configurations.  Depends on
286 # UFS_EXTATTR.
287 UFS_ACL         opt_ufs.h
288
289 # Enabling this option turns on support for extended attributes in UFS-based
290 # filesystems, which can be used to support high security configurations
291 # as well as new filesystem features.
292 UFS_EXTATTR     opt_ufs.h
293 UFS_EXTATTR_AUTOSTART   opt_ufs.h
294
295 # Enable fast hash lookups for large directories on UFS-based filesystems.
296 UFS_DIRHASH     opt_ufs.h
297
298 # Enable gjournal-based UFS journal.
299 UFS_GJOURNAL    opt_ufs.h
300
301 # The below sentence is not in English, and neither is this one.
302 # We plan to remove the static dependences above, with a
303 # <filesystem>_ROOT option to control if it usable as root.  This list
304 # allows these options to be present in config files already (though
305 # they won't make any difference yet).
306 NFS_ROOT        opt_nfsroot.h
307
308 # SMB/CIFS requester
309 NETSMB          opt_netsmb.h
310
311 # Options used only in subr_param.c.
312 HZ              opt_param.h
313 MAXFILES        opt_param.h
314 NBUF            opt_param.h
315 NSFBUFS         opt_param.h
316 VM_BCACHE_SIZE_MAX      opt_param.h
317 VM_SWZONE_SIZE_MAX      opt_param.h
318 MAXUSERS
319 DFLDSIZ         opt_param.h
320 MAXDSIZ         opt_param.h
321 MAXSSIZ         opt_param.h
322
323 # Generic SCSI options.
324 CAM_MAX_HIGHPOWER       opt_cam.h
325 CAMDEBUG                opt_cam.h
326 CAM_DEBUG_COMPILE       opt_cam.h
327 CAM_DEBUG_DELAY         opt_cam.h
328 CAM_DEBUG_BUS           opt_cam.h
329 CAM_DEBUG_TARGET        opt_cam.h
330 CAM_DEBUG_LUN           opt_cam.h
331 CAM_DEBUG_FLAGS         opt_cam.h
332 CAM_BOOT_DELAY          opt_cam.h
333 SCSI_DELAY              opt_scsi.h
334 SCSI_NO_SENSE_STRINGS   opt_scsi.h
335 SCSI_NO_OP_STRINGS      opt_scsi.h
336
337 # Options used only in cam/ata/ata_da.c
338 ADA_TEST_FAILURE        opt_ada.h
339 ATA_STATIC_ID           opt_ada.h
340
341 # Options used only in cam/scsi/scsi_cd.c
342 CHANGER_MIN_BUSY_SECONDS        opt_cd.h
343 CHANGER_MAX_BUSY_SECONDS        opt_cd.h
344
345 # Options used only in cam/scsi/scsi_sa.c.
346 SA_IO_TIMEOUT           opt_sa.h
347 SA_SPACE_TIMEOUT        opt_sa.h
348 SA_REWIND_TIMEOUT       opt_sa.h
349 SA_ERASE_TIMEOUT        opt_sa.h
350 SA_1FM_AT_EOD           opt_sa.h
351
352 # Options used only in cam/scsi/scsi_pt.c
353 SCSI_PT_DEFAULT_TIMEOUT opt_pt.h
354
355 # Options used only in cam/scsi/scsi_ses.c
356 SES_ENABLE_PASSTHROUGH  opt_ses.h
357
358 # Options used in dev/sym/ (Symbios SCSI driver).
359 SYM_SETUP_LP_PROBE_MAP  opt_sym.h       #-Low Priority Probe Map (bits)
360                                         # Allows the ncr to take precedence
361                                         # 1 (1<<0) -> 810a, 860
362                                         # 2 (1<<1) -> 825a, 875, 885, 895
363                                         # 4 (1<<2) -> 895a, 896, 1510d 
364 SYM_SETUP_SCSI_DIFF     opt_sym.h       #-HVD support for 825a, 875, 885
365                                         # disabled:0 (default), enabled:1
366 SYM_SETUP_PCI_PARITY    opt_sym.h       #-PCI parity checking
367                                         # disabled:0, enabled:1 (default)
368 SYM_SETUP_MAX_LUN       opt_sym.h       #-Number of LUNs supported
369                                         # default:8, range:[1..64]
370
371 # Options used only in dev/ncr/*
372 SCSI_NCR_DEBUG          opt_ncr.h
373 SCSI_NCR_MAX_SYNC       opt_ncr.h
374 SCSI_NCR_MAX_WIDE       opt_ncr.h
375 SCSI_NCR_MYADDR         opt_ncr.h
376
377 # Options used only in dev/isp/*
378 ISP_TARGET_MODE         opt_isp.h
379 ISP_FW_CRASH_DUMP       opt_isp.h
380 ISP_DEFAULT_ROLES       opt_isp.h
381 ISP_INTERNAL_TARGET     opt_isp.h
382
383 # Options used only in dev/iscsi
384 ISCSI_INITIATOR_DEBUG   opt_iscsi_initiator.h
385
386 # Net stuff.
387 ACCEPT_FILTER_DATA
388 ACCEPT_FILTER_DNS
389 ACCEPT_FILTER_HTTP
390 ALTQ                    opt_global.h
391 ALTQ_CBQ                opt_altq.h
392 ALTQ_CDNR               opt_altq.h
393 ALTQ_CODEL              opt_altq.h
394 ALTQ_DEBUG              opt_altq.h
395 ALTQ_HFSC               opt_altq.h
396 ALTQ_FAIRQ              opt_altq.h
397 ALTQ_NOPCC              opt_altq.h
398 ALTQ_PRIQ               opt_altq.h
399 ALTQ_RED                opt_altq.h
400 ALTQ_RIO                opt_altq.h
401 BOOTP                   opt_bootp.h
402 BOOTP_BLOCKSIZE         opt_bootp.h
403 BOOTP_COMPAT            opt_bootp.h
404 BOOTP_NFSROOT           opt_bootp.h
405 BOOTP_NFSV3             opt_bootp.h
406 BOOTP_WIRED_TO          opt_bootp.h
407 DEVICE_POLLING
408 DUMMYNET                opt_ipdn.h
409 INET                    opt_inet.h
410 INET6                   opt_inet6.h
411 IPDIVERT
412 IPFILTER                opt_ipfilter.h
413 IPFILTER_DEFAULT_BLOCK  opt_ipfilter.h
414 IPFILTER_LOG            opt_ipfilter.h
415 IPFILTER_LOOKUP         opt_ipfilter.h
416 IPFIREWALL              opt_ipfw.h
417 IPFIREWALL_DEFAULT_TO_ACCEPT    opt_ipfw.h
418 IPFIREWALL_NAT          opt_ipfw.h
419 IPFIREWALL_VERBOSE      opt_ipfw.h
420 IPFIREWALL_VERBOSE_LIMIT        opt_ipfw.h
421 IPSEC                   opt_ipsec.h
422 IPSEC_DEBUG             opt_ipsec.h
423 IPSEC_FILTERTUNNEL      opt_ipsec.h
424 IPSEC_NAT_T             opt_ipsec.h
425 IPSTEALTH
426 KRPC
427 LIBALIAS
428 LIBMBPOOL
429 LIBMCHAIN
430 MBUF_PROFILING
431 MBUF_STRESS_TEST
432 MROUTING                opt_mrouting.h
433 NFSLOCKD
434 PCBGROUP                opt_pcbgroup.h
435 PF_DEFAULT_TO_DROP      opt_pf.h
436 RADIX_MPATH             opt_mpath.h
437 ROUTETABLES             opt_route.h
438 RSS                     opt_rss.h
439 SLIP_IFF_OPTS           opt_slip.h
440 TCPDEBUG
441 TCPPCAP         opt_global.h
442 SIFTR
443 TCP_OFFLOAD             opt_inet.h # Enable code to dispatch TCP offloading
444 TCP_RFC7413             opt_inet.h
445 TCP_RFC7413_MAX_KEYS    opt_inet.h
446 TCP_SIGNATURE           opt_inet.h
447 VLAN_ARRAY              opt_vlan.h
448 XBONEHACK
449 FLOWTABLE               opt_route.h
450 FLOWTABLE_HASH_ALL      opt_route.h
451
452 #
453 # SCTP
454 #
455 SCTP                    opt_sctp.h
456 SCTP_DEBUG              opt_sctp.h # Enable debug printfs
457 SCTP_WITH_NO_CSUM       opt_sctp.h # Use this at your peril
458 SCTP_LOCK_LOGGING       opt_sctp.h # Log to KTR lock activity
459 SCTP_MBUF_LOGGING       opt_sctp.h # Log to KTR general mbuf aloc/free
460 SCTP_MBCNT_LOGGING      opt_sctp.h # Log to KTR mbcnt activity
461 SCTP_PACKET_LOGGING     opt_sctp.h # Log to a packet buffer last N packets
462 SCTP_LTRACE_CHUNKS      opt_sctp.h # Log to KTR chunks processed
463 SCTP_LTRACE_ERRORS      opt_sctp.h # Log to KTR error returns.
464 SCTP_USE_PERCPU_STAT    opt_sctp.h # Use per cpu stats.
465 SCTP_MCORE_INPUT        opt_sctp.h # Have multiple input threads for input mbufs
466 SCTP_LOCAL_TRACE_BUF    opt_sctp.h # Use tracebuffer exported via sysctl
467 SCTP_DETAILED_STR_STATS opt_sctp.h # Use per PR-SCTP policy stream stats
468 #
469 #
470 #
471
472 # Netgraph(4). Use option NETGRAPH to enable the base netgraph code.
473 # Each netgraph node type can be either be compiled into the kernel
474 # or loaded dynamically. To get the former, include the corresponding
475 # option below. Each type has its own man page, e.g. ng_async(4).
476 NETGRAPH
477 NETGRAPH_DEBUG          opt_netgraph.h
478 NETGRAPH_ASYNC          opt_netgraph.h
479 NETGRAPH_ATMLLC         opt_netgraph.h
480 NETGRAPH_ATM_ATMPIF     opt_netgraph.h
481 NETGRAPH_BLUETOOTH      opt_netgraph.h
482 NETGRAPH_BLUETOOTH_BT3C opt_netgraph.h
483 NETGRAPH_BLUETOOTH_H4   opt_netgraph.h
484 NETGRAPH_BLUETOOTH_HCI  opt_netgraph.h
485 NETGRAPH_BLUETOOTH_L2CAP        opt_netgraph.h
486 NETGRAPH_BLUETOOTH_SOCKET       opt_netgraph.h
487 NETGRAPH_BLUETOOTH_UBT  opt_netgraph.h
488 NETGRAPH_BLUETOOTH_UBTBCMFW     opt_netgraph.h
489 NETGRAPH_BPF            opt_netgraph.h
490 NETGRAPH_BRIDGE         opt_netgraph.h
491 NETGRAPH_CAR            opt_netgraph.h
492 NETGRAPH_CISCO          opt_netgraph.h
493 NETGRAPH_DEFLATE        opt_netgraph.h
494 NETGRAPH_DEVICE         opt_netgraph.h
495 NETGRAPH_ECHO           opt_netgraph.h
496 NETGRAPH_EIFACE         opt_netgraph.h
497 NETGRAPH_ETHER          opt_netgraph.h
498 NETGRAPH_ETHER_ECHO     opt_netgraph.h
499 NETGRAPH_FEC            opt_netgraph.h
500 NETGRAPH_FRAME_RELAY    opt_netgraph.h
501 NETGRAPH_GIF            opt_netgraph.h
502 NETGRAPH_GIF_DEMUX      opt_netgraph.h
503 NETGRAPH_HOLE           opt_netgraph.h
504 NETGRAPH_IFACE          opt_netgraph.h
505 NETGRAPH_IP_INPUT       opt_netgraph.h
506 NETGRAPH_IPFW           opt_netgraph.h
507 NETGRAPH_KSOCKET        opt_netgraph.h
508 NETGRAPH_L2TP           opt_netgraph.h
509 NETGRAPH_LMI            opt_netgraph.h
510 # MPPC compression requires proprietary files (not included)
511 NETGRAPH_MPPC_COMPRESSION       opt_netgraph.h
512 NETGRAPH_MPPC_ENCRYPTION        opt_netgraph.h
513 NETGRAPH_NAT            opt_netgraph.h
514 NETGRAPH_NETFLOW        opt_netgraph.h
515 NETGRAPH_ONE2MANY       opt_netgraph.h
516 NETGRAPH_PATCH          opt_netgraph.h
517 NETGRAPH_PIPE           opt_netgraph.h
518 NETGRAPH_PPP            opt_netgraph.h
519 NETGRAPH_PPPOE          opt_netgraph.h
520 NETGRAPH_PPTPGRE        opt_netgraph.h
521 NETGRAPH_PRED1          opt_netgraph.h
522 NETGRAPH_RFC1490        opt_netgraph.h
523 NETGRAPH_SOCKET         opt_netgraph.h
524 NETGRAPH_SPLIT          opt_netgraph.h
525 NETGRAPH_SPPP           opt_netgraph.h
526 NETGRAPH_TAG            opt_netgraph.h
527 NETGRAPH_TCPMSS         opt_netgraph.h
528 NETGRAPH_TEE            opt_netgraph.h
529 NETGRAPH_TTY            opt_netgraph.h
530 NETGRAPH_UI             opt_netgraph.h
531 NETGRAPH_VJC            opt_netgraph.h
532 NETGRAPH_VLAN           opt_netgraph.h
533
534 # NgATM options
535 NGATM_ATM               opt_netgraph.h
536 NGATM_ATMBASE           opt_netgraph.h
537 NGATM_SSCOP             opt_netgraph.h
538 NGATM_SSCFU             opt_netgraph.h
539 NGATM_UNI               opt_netgraph.h
540 NGATM_CCATM             opt_netgraph.h
541
542 # DRM options
543 DRM_DEBUG               opt_drm.h
544
545 TI_SF_BUF_JUMBO         opt_ti.h
546 TI_JUMBO_HDRSPLIT       opt_ti.h
547
548 # XXX Conflict: # of devices vs network protocol (Native ATM).
549 # This makes "atm.h" unusable.
550 NATM
551
552 # DPT driver debug flags
553 DPT_MEASURE_PERFORMANCE opt_dpt.h
554 DPT_RESET_HBA           opt_dpt.h
555
556 # Misc debug flags.  Most of these should probably be replaced with
557 # 'DEBUG', and then let people recompile just the interesting modules
558 # with 'make CC="cc -DDEBUG"'.
559 CLUSTERDEBUG            opt_debug_cluster.h
560 DEBUG_1284              opt_ppb_1284.h
561 VP0_DEBUG               opt_vpo.h
562 LPT_DEBUG               opt_lpt.h
563 PLIP_DEBUG              opt_plip.h
564 LOCKF_DEBUG             opt_debug_lockf.h
565 SI_DEBUG                opt_debug_si.h
566 IFMEDIA_DEBUG           opt_ifmedia.h
567
568 # Fb options
569 FB_DEBUG                opt_fb.h
570 FB_INSTALL_CDEV         opt_fb.h
571
572 # ppbus related options
573 PERIPH_1284             opt_ppb_1284.h
574 DONTPROBE_1284          opt_ppb_1284.h
575
576 # smbus related options
577 ENABLE_ALART            opt_intpm.h
578
579 # These cause changes all over the kernel
580 BLKDEV_IOSIZE           opt_global.h
581 BURN_BRIDGES            opt_global.h
582 DEBUG                   opt_global.h
583 DEBUG_LOCKS             opt_global.h
584 DEBUG_VFS_LOCKS         opt_global.h
585 DFLTPHYS                opt_global.h
586 DIAGNOSTIC              opt_global.h
587 INVARIANT_SUPPORT       opt_global.h
588 INVARIANTS              opt_global.h
589 MAXCPU                  opt_global.h
590 MAXMEMDOM               opt_global.h
591 MAXPHYS                 opt_global.h
592 MCLSHIFT                opt_global.h
593 MUTEX_DEBUG             opt_global.h
594 MUTEX_NOINLINE          opt_global.h
595 LOCK_PROFILING          opt_global.h
596 LOCK_PROFILING_FAST     opt_global.h
597 MSIZE                   opt_global.h
598 REGRESSION              opt_global.h
599 RWLOCK_NOINLINE         opt_global.h
600 SX_NOINLINE             opt_global.h
601 VFS_BIO_DEBUG           opt_global.h
602
603 # These are VM related options
604 VM_KMEM_SIZE            opt_vm.h
605 VM_KMEM_SIZE_SCALE      opt_vm.h
606 VM_KMEM_SIZE_MAX        opt_vm.h
607 VM_NRESERVLEVEL         opt_vm.h
608 VM_LEVEL_0_ORDER        opt_vm.h
609 NO_SWAPPING             opt_vm.h
610 MALLOC_MAKE_FAILURES    opt_vm.h
611 MALLOC_PROFILE          opt_vm.h
612 MALLOC_DEBUG_MAXZONES   opt_vm.h
613
614 # The MemGuard replacement allocator used for tamper-after-free detection
615 DEBUG_MEMGUARD          opt_vm.h
616
617 # The RedZone malloc(9) protection
618 DEBUG_REDZONE           opt_vm.h
619
620 # Standard SMP options
621 SMP                     opt_global.h
622
623 # Size of the kernel message buffer
624 MSGBUF_SIZE             opt_msgbuf.h
625
626 # NFS options
627 NFS_MINATTRTIMO         opt_nfs.h
628 NFS_MAXATTRTIMO         opt_nfs.h
629 NFS_MINDIRATTRTIMO      opt_nfs.h
630 NFS_MAXDIRATTRTIMO      opt_nfs.h
631 NFS_DEBUG               opt_nfs.h
632
633 # For the Bt848/Bt848A/Bt849/Bt878/Bt879 driver
634 OVERRIDE_CARD                   opt_bktr.h
635 OVERRIDE_TUNER                  opt_bktr.h
636 OVERRIDE_DBX                    opt_bktr.h
637 OVERRIDE_MSP                    opt_bktr.h
638 BROOKTREE_SYSTEM_DEFAULT        opt_bktr.h
639 BROOKTREE_ALLOC_PAGES           opt_bktr.h
640 BKTR_OVERRIDE_CARD              opt_bktr.h
641 BKTR_OVERRIDE_TUNER             opt_bktr.h
642 BKTR_OVERRIDE_DBX               opt_bktr.h
643 BKTR_OVERRIDE_MSP               opt_bktr.h
644 BKTR_SYSTEM_DEFAULT             opt_bktr.h
645 BKTR_ALLOC_PAGES                opt_bktr.h
646 BKTR_USE_PLL                    opt_bktr.h      
647 BKTR_GPIO_ACCESS                opt_bktr.h
648 BKTR_NO_MSP_RESET               opt_bktr.h
649 BKTR_430_FX_MODE                opt_bktr.h
650 BKTR_SIS_VIA_MODE               opt_bktr.h
651 BKTR_USE_FREEBSD_SMBUS          opt_bktr.h
652 BKTR_NEW_MSP34XX_DRIVER         opt_bktr.h
653
654 # Options for uart(4)
655 UART_PPS_ON_CTS         opt_uart.h
656 UART_POLL_FREQ          opt_uart.h
657 UART_DEV_TOLERANCE_PCT  opt_uart.h
658
659 # options for bus/device framework
660 BUS_DEBUG               opt_bus.h
661
662 # options for USB support
663 USB_DEBUG               opt_usb.h
664 USB_HOST_ALIGN          opt_usb.h
665 USB_REQ_DEBUG           opt_usb.h
666 USB_TEMPLATE            opt_usb.h
667 USB_VERBOSE             opt_usb.h
668 USB_DMA_SINGLE_ALLOC    opt_usb.h
669 USB_EHCI_BIG_ENDIAN_DESC        opt_usb.h
670 U3G_DEBUG               opt_u3g.h
671 UKBD_DFLT_KEYMAP        opt_ukbd.h
672 UPLCOM_INTR_INTERVAL    opt_uplcom.h
673 UVSCOM_DEFAULT_OPKTSIZE opt_uvscom.h
674 UVSCOM_INTR_INTERVAL    opt_uvscom.h
675
676 # Embedded system options
677 INIT_PATH
678
679 ROOTDEVNAME
680
681 FDC_DEBUG               opt_fdc.h
682 PCFCLOCK_VERBOSE        opt_pcfclock.h
683 PCFCLOCK_MAX_RETRIES    opt_pcfclock.h
684
685 KTR                     opt_global.h
686 KTR_ALQ                 opt_ktr.h
687 KTR_MASK                opt_ktr.h
688 KTR_CPUMASK             opt_ktr.h
689 KTR_COMPILE             opt_global.h
690 KTR_BOOT_ENTRIES        opt_global.h
691 KTR_ENTRIES             opt_global.h
692 KTR_VERBOSE             opt_ktr.h
693 WITNESS                 opt_global.h
694 WITNESS_KDB             opt_witness.h
695 WITNESS_NO_VNODE        opt_witness.h
696 WITNESS_SKIPSPIN        opt_witness.h
697 WITNESS_COUNT           opt_witness.h
698 OPENSOLARIS_WITNESS     opt_global.h
699
700 # options for ACPI support
701 ACPI_DEBUG              opt_acpi.h
702 ACPI_MAX_TASKS          opt_acpi.h
703 ACPI_MAX_THREADS        opt_acpi.h
704 ACPI_DMAR               opt_acpi.h
705 DEV_ACPI                opt_acpi.h
706
707 # ISA support
708 DEV_ISA                 opt_isa.h
709 ISAPNP                  opt_isa.h
710
711 # various 'device presence' options.
712 DEV_BPF                 opt_bpf.h
713 DEV_CARP                opt_carp.h
714 DEV_MCA                 opt_mca.h
715 DEV_NETMAP              opt_global.h
716 DEV_PCI                 opt_pci.h
717 DEV_PF                  opt_pf.h
718 DEV_PFLOG               opt_pf.h
719 DEV_PFSYNC              opt_pf.h
720 DEV_RANDOM              opt_global.h
721 DEV_SPLASH              opt_splash.h
722 DEV_VLAN                opt_vlan.h
723
724 # EISA support
725 DEV_EISA                opt_eisa.h
726 EISA_SLOTS              opt_eisa.h
727
728 # ed driver
729 ED_HPP                  opt_ed.h
730 ED_3C503                opt_ed.h
731 ED_SIC                  opt_ed.h
732
733 # bce driver
734 BCE_DEBUG               opt_bce.h
735 BCE_NVRAM_WRITE_SUPPORT opt_bce.h
736
737 SOCKBUF_DEBUG           opt_global.h
738
739
740 # options for ubsec driver
741 UBSEC_DEBUG             opt_ubsec.h
742 UBSEC_RNDTEST           opt_ubsec.h
743 UBSEC_NO_RNG            opt_ubsec.h
744
745 # options for hifn driver
746 HIFN_DEBUG              opt_hifn.h
747 HIFN_RNDTEST            opt_hifn.h
748
749 # options for safenet driver
750 SAFE_DEBUG              opt_safe.h
751 SAFE_NO_RNG             opt_safe.h
752 SAFE_RNDTEST            opt_safe.h
753
754 # syscons/vt options
755 MAXCONS                 opt_syscons.h
756 SC_ALT_MOUSE_IMAGE      opt_syscons.h
757 SC_CUT_SPACES2TABS      opt_syscons.h
758 SC_CUT_SEPCHARS         opt_syscons.h
759 SC_DEBUG_LEVEL          opt_syscons.h
760 SC_DFLT_FONT            opt_syscons.h
761 SC_DISABLE_KDBKEY       opt_syscons.h
762 SC_DISABLE_REBOOT       opt_syscons.h
763 SC_HISTORY_SIZE         opt_syscons.h
764 SC_KERNEL_CONS_ATTR     opt_syscons.h
765 SC_KERNEL_CONS_REV_ATTR opt_syscons.h
766 SC_MOUSE_CHAR           opt_syscons.h
767 SC_NO_CUTPASTE          opt_syscons.h
768 SC_NO_FONT_LOADING      opt_syscons.h
769 SC_NO_HISTORY           opt_syscons.h
770 SC_NO_MODE_CHANGE       opt_syscons.h
771 SC_NO_SUSPEND_VTYSWITCH opt_syscons.h
772 SC_NO_SYSMOUSE          opt_syscons.h
773 SC_NORM_ATTR            opt_syscons.h
774 SC_NORM_REV_ATTR        opt_syscons.h
775 SC_PIXEL_MODE           opt_syscons.h
776 SC_RENDER_DEBUG         opt_syscons.h
777 SC_TWOBUTTON_MOUSE      opt_syscons.h
778 VT_ALT_TO_ESC_HACK      opt_syscons.h
779 VT_FB_DEFAULT_WIDTH     opt_syscons.h
780 VT_FB_DEFAULT_HEIGHT    opt_syscons.h
781 VT_MAXWINDOWS           opt_syscons.h
782 VT_TWOBUTTON_MOUSE      opt_syscons.h
783 DEV_SC                  opt_syscons.h
784 DEV_VT                  opt_syscons.h
785
786 # teken terminal emulator options
787 TEKEN_CONS25            opt_teken.h
788 TEKEN_UTF8              opt_teken.h
789 TERMINAL_KERN_ATTR      opt_teken.h
790 TERMINAL_NORM_ATTR      opt_teken.h
791
792 # options for printf
793 PRINTF_BUFR_SIZE        opt_printf.h
794
795 # kbd options
796 KBD_DISABLE_KEYMAP_LOAD opt_kbd.h
797 KBD_INSTALL_CDEV        opt_kbd.h
798 KBD_MAXRETRY            opt_kbd.h
799 KBD_MAXWAIT             opt_kbd.h
800 KBD_RESETDELAY          opt_kbd.h
801 KBDIO_DEBUG             opt_kbd.h
802
803 # options for the Atheros driver
804 ATH_DEBUG               opt_ath.h
805 ATH_TXBUF               opt_ath.h
806 ATH_RXBUF               opt_ath.h
807 ATH_DIAGAPI             opt_ath.h
808 ATH_TX99_DIAG           opt_ath.h
809 ATH_ENABLE_11N          opt_ath.h
810 ATH_ENABLE_DFS          opt_ath.h
811 ATH_EEPROM_FIRMWARE     opt_ath.h
812 ATH_ENABLE_RADIOTAP_VENDOR_EXT  opt_ath.h
813 ATH_DEBUG_ALQ           opt_ath.h
814 ATH_KTR_INTR_DEBUG      opt_ath.h
815
816 # options for the Atheros hal
817 AH_SUPPORT_AR5416       opt_ah.h
818 # XXX For now, this breaks non-AR9130 chipsets, so only use it
819 # XXX when actually targetting AR9130.
820 AH_SUPPORT_AR9130       opt_ah.h
821
822 # This is required for AR933x SoC support
823 AH_SUPPORT_AR9330       opt_ah.h
824 AH_SUPPORT_AR9340       opt_ah.h
825 AH_SUPPORT_QCA9530      opt_ah.h
826 AH_SUPPORT_QCA9550      opt_ah.h
827
828 AH_DEBUG                opt_ah.h
829 AH_ASSERT               opt_ah.h
830 AH_DEBUG_ALQ            opt_ah.h
831 AH_REGOPS_FUNC          opt_ah.h
832 AH_WRITE_REGDOMAIN      opt_ah.h
833 AH_DEBUG_COUNTRY        opt_ah.h
834 AH_WRITE_EEPROM         opt_ah.h
835 AH_PRIVATE_DIAG         opt_ah.h
836 AH_NEED_DESC_SWAP       opt_ah.h
837 AH_USE_INIPDGAIN        opt_ah.h
838 AH_MAXCHAN              opt_ah.h
839 AH_RXCFG_SDMAMW_4BYTES  opt_ah.h
840 AH_INTERRUPT_DEBUGGING  opt_ah.h
841 # AR5416 and later interrupt mitigation
842 # XXX do not use this for AR9130
843 AH_AR5416_INTERRUPT_MITIGATION  opt_ah.h
844
845 # options for the Broadcom BCM43xx driver (bwi)
846 BWI_DEBUG               opt_bwi.h
847 BWI_DEBUG_VERBOSE       opt_bwi.h
848
849 # options for the Marvell 8335 wireless driver
850 MALO_DEBUG              opt_malo.h
851 MALO_TXBUF              opt_malo.h
852 MALO_RXBUF              opt_malo.h
853
854 # options for the Marvell wireless driver
855 MWL_DEBUG               opt_mwl.h
856 MWL_TXBUF               opt_mwl.h
857 MWL_RXBUF               opt_mwl.h
858 MWL_DIAGAPI             opt_mwl.h
859 MWL_AGGR_SIZE           opt_mwl.h
860 MWL_TX_NODROP           opt_mwl.h
861
862 # Options for the Intel 802.11ac wireless driver
863 IWM_DEBUG               opt_iwm.h
864
865 # Options for the Intel 802.11n wireless driver
866 IWN_DEBUG               opt_iwn.h
867
868 # Options for the Intel 3945ABG wireless driver
869 WPI_DEBUG               opt_wpi.h
870
871 # dcons options 
872 DCONS_BUF_SIZE          opt_dcons.h
873 DCONS_POLL_HZ           opt_dcons.h
874 DCONS_FORCE_CONSOLE     opt_dcons.h
875 DCONS_FORCE_GDB         opt_dcons.h
876
877 # HWPMC options
878 HWPMC_DEBUG             opt_global.h
879 HWPMC_HOOKS
880 HWPMC_MIPS_BACKTRACE    opt_hwpmc_hooks.h
881
882 # XBOX options for FreeBSD/i386, but some files are MI
883 XBOX                    opt_xbox.h
884
885 # Interrupt filtering
886 INTR_FILTER
887
888 # 802.11 support layer
889 IEEE80211_DEBUG         opt_wlan.h
890 IEEE80211_DEBUG_REFCNT  opt_wlan.h
891 IEEE80211_AMPDU_AGE     opt_wlan.h
892 IEEE80211_SUPPORT_MESH  opt_wlan.h
893 IEEE80211_SUPPORT_SUPERG        opt_wlan.h
894 IEEE80211_SUPPORT_TDMA  opt_wlan.h
895 IEEE80211_ALQ           opt_wlan.h
896 IEEE80211_DFS_DEBUG     opt_wlan.h
897
898 # 802.11 TDMA support
899 TDMA_SLOTLEN_DEFAULT    opt_tdma.h
900 TDMA_SLOTCNT_DEFAULT    opt_tdma.h
901 TDMA_BINTVAL_DEFAULT    opt_tdma.h
902 TDMA_TXRATE_11B_DEFAULT opt_tdma.h
903 TDMA_TXRATE_11G_DEFAULT opt_tdma.h
904 TDMA_TXRATE_11A_DEFAULT opt_tdma.h
905 TDMA_TXRATE_TURBO_DEFAULT       opt_tdma.h
906 TDMA_TXRATE_HALF_DEFAULT        opt_tdma.h
907 TDMA_TXRATE_QUARTER_DEFAULT     opt_tdma.h
908 TDMA_TXRATE_11NA_DEFAULT        opt_tdma.h
909 TDMA_TXRATE_11NG_DEFAULT        opt_tdma.h
910
911 # VideoMode
912 PICKMODE_DEBUG                  opt_videomode.h
913
914 # Network stack virtualization options
915 VIMAGE                  opt_global.h
916 VNET_DEBUG              opt_global.h
917
918 # Common Flash Interface (CFI) options
919 CFI_SUPPORT_STRATAFLASH opt_cfi.h
920 CFI_ARMEDANDDANGEROUS   opt_cfi.h
921 CFI_HARDWAREBYTESWAP    opt_cfi.h
922
923 # Sound options
924 SND_DEBUG               opt_snd.h
925 SND_DIAGNOSTIC          opt_snd.h
926 SND_FEEDER_MULTIFORMAT  opt_snd.h
927 SND_FEEDER_FULL_MULTIFORMAT     opt_snd.h
928 SND_FEEDER_RATE_HP      opt_snd.h
929 SND_PCM_64              opt_snd.h
930 SND_OLDSTEREO           opt_snd.h
931
932 X86BIOS
933
934 # Flattened device tree options
935 FDT             opt_platform.h
936 FDT_DTB_STATIC  opt_platform.h
937
938 # OFED Infiniband stack
939 OFED            opt_ofed.h
940 OFED_DEBUG_INIT opt_ofed.h
941 SDP             opt_ofed.h
942 SDP_DEBUG       opt_ofed.h
943 IPOIB           opt_ofed.h
944 IPOIB_DEBUG     opt_ofed.h
945 IPOIB_CM        opt_ofed.h
946
947 # Resource Accounting
948 RACCT           opt_global.h
949 RACCT_DEFAULT_TO_DISABLED       opt_global.h
950
951 # Resource Limits
952 RCTL            opt_global.h
953
954 # Random number generator(s)
955 # Which CSPRNG hash we get.
956 # If Yarrow is not chosen, Fortuna is selected.
957 RANDOM_YARROW   opt_global.h
958 # With this, no entropy processor is loaded, but the entropy
959 # harvesting infrastructure is present. This means an entropy
960 # processor may be loaded as a module.
961 RANDOM_LOADABLE opt_global.h
962 # This turns on high-rate and potentially expensive harvesting in
963 # the uma slab allocator.
964 RANDOM_ENABLE_UMA       opt_global.h
965
966 # Intel em(4) driver
967 EM_MULTIQUEUE   opt_em.h