1# $FreeBSD: head/sys/conf/options 171568 2007-07-24 15:35:02Z scottl $
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
33AAC_DEBUG opt_aac.h
34AHC_ALLOW_MEMIO opt_aic7xxx.h
35AHC_TMODE_ENABLE opt_aic7xxx.h
36AHC_DUMP_EEPROM opt_aic7xxx.h
37AHC_DEBUG opt_aic7xxx.h
38AHC_DEBUG_OPTS opt_aic7xxx.h
39AHC_REG_PRETTY_PRINT opt_aic7xxx.h
40AHD_DEBUG opt_aic79xx.h
41AHD_DEBUG_OPTS opt_aic79xx.h
42AHD_TMODE_ENABLE opt_aic79xx.h
43AHD_REG_PRETTY_PRINT opt_aic79xx.h
44ADW_ALLOW_MEMIO opt_adw.h
45
46TWA_DEBUG opt_twa.h
47TWA_FLASH_FIRMWARE opt_twa.h
48
49# Debugging options.
50DDB
51DDB_NUMSYM opt_ddb.h
52GDB
53KDB opt_global.h
54KDB_TRACE opt_kdb.h
55KDB_UNATTENDED opt_kdb.h
56SYSCTL_DEBUG opt_sysctl.h
57
58NO_SYSCTL_DESCR opt_global.h
59
60# Miscellaneous options.
61ADAPTIVE_GIANT opt_adaptive_mutexes.h
62ADAPTIVE_SX
63ALQ
64AUDIT opt_global.h
65CODA_COMPAT_5 opt_coda.h
66COMPAT_43 opt_compat.h
67COMPAT_43TTY opt_compat.h
68COMPAT_FREEBSD4 opt_compat.h
69COMPAT_FREEBSD5 opt_compat.h
70COMPAT_FREEBSD6 opt_compat.h
71COMPILING_LINT opt_global.h
72CY_PCI_FASTINTR
73DIRECTIO
74FULL_PREEMPTION opt_sched.h
75IPI_PREEMPTION opt_sched.h
76GEOM_AES opt_geom.h
77GEOM_BDE opt_geom.h
78GEOM_BSD opt_geom.h
79GEOM_CACHE opt_geom.h
80GEOM_CONCAT opt_geom.h
81GEOM_ELI opt_geom.h
82GEOM_FOX opt_geom.h
83GEOM_GATE opt_geom.h
84GEOM_JOURNAL opt_geom.h
85GEOM_LABEL opt_geom.h
86GEOM_MBR opt_geom.h
87GEOM_MIRROR opt_geom.h
88GEOM_MULTIPATH opt_geom.h
89GEOM_NOP opt_geom.h
90GEOM_PART_APM opt_geom.h
91GEOM_PART_GPT opt_geom.h
92GEOM_PART_MBR opt_geom.h
93GEOM_PC98 opt_geom.h
94GEOM_RAID3 opt_geom.h
95GEOM_SHSEC opt_geom.h
96GEOM_STRIPE opt_geom.h
97GEOM_SUNLABEL opt_geom.h
98GEOM_UZIP opt_geom.h
99GEOM_VOL opt_geom.h
100GEOM_ZERO opt_geom.h
101KSE opt_global.h
102KSTACK_MAX_PAGES
103KSTACK_PAGES
104KTRACE
105KTRACE_REQUEST_POOL opt_ktrace.h
106LIBICONV
107MAC
108MAC_ALWAYS_LABEL_MBUF opt_mac.h
109MAC_BIBA opt_dontuse.h
110MAC_BSDEXTENDED opt_dontuse.h
111MAC_IFOFF opt_dontuse.h
112MAC_LOMAC opt_dontuse.h
113MAC_MLS opt_dontuse.h
114MAC_NONE opt_dontuse.h
115MAC_PARTITION opt_dontuse.h
116MAC_PORTACL opt_dontuse.h
117MAC_SEEOTHERUIDS opt_dontuse.h
118MAC_STATIC opt_mac.h
119MAC_STUB opt_dontuse.h
120MAC_TEST opt_dontuse.h
121MD_ROOT opt_md.h
122MD_ROOT_SIZE opt_md.h
123MFI_DEBUG opt_mfi.h
124MFI_DECODE_LOG opt_mfi.h
125MPROF_BUFFERS opt_mprof.h
126MPROF_HASH_SIZE opt_mprof.h
127NO_ADAPTIVE_MUTEXES opt_adaptive_mutexes.h
128NO_ADAPTIVE_RWLOCKS
129NSWBUF_MIN opt_swap.h
130MBUF_PACKET_ZONE_DISABLE opt_global.h
131PANIC_REBOOT_WAIT_TIME opt_panic.h
132PPC_DEBUG opt_ppc.h
133PPC_PROBE_CHIPSET opt_ppc.h
134PPS_SYNC opt_ntp.h
135PREEMPTION opt_sched.h
136QUOTA
137SCHED_4BSD opt_sched.h
138SCHED_ULE opt_sched.h
139SHOW_BUSYBUFS
140SLEEPQUEUE_PROFILING
141SLHCI_DEBUG opt_slhci.h
142SPX_HACK
143SUIDDIR
144MSGMNB opt_sysvipc.h
145MSGMNI opt_sysvipc.h
146MSGSEG opt_sysvipc.h
147MSGSSZ opt_sysvipc.h
148MSGTQL opt_sysvipc.h
149SEMMAP opt_sysvipc.h
150SEMMNI opt_sysvipc.h
151SEMMNS opt_sysvipc.h
152SEMMNU opt_sysvipc.h
153SEMMSL opt_sysvipc.h
154SEMOPM opt_sysvipc.h
155SEMUME opt_sysvipc.h
156SHMALL opt_sysvipc.h
157SHMMAX opt_sysvipc.h
158SHMMAXPGS opt_sysvipc.h
159SHMMIN opt_sysvipc.h
160SHMMNI opt_sysvipc.h
161SHMSEG opt_sysvipc.h
162SYSVMSG opt_sysvipc.h
163SYSVSEM opt_sysvipc.h
164SYSVSHM opt_sysvipc.h
165SW_WATCHDOG opt_watchdog.h
166TURNSTILE_PROFILING
167TTYHOG opt_tty.h
168VFS_AIO
169VERBOSE_SYSINIT opt_global.h
170WLCACHE opt_wavelan.h
171WLDEBUG opt_wavelan.h
172
173# POSIX kernel options
174P1003_1B_MQUEUE opt_posix.h
175P1003_1B_SEMAPHORES opt_posix.h
176_KPOSIX_PRIORITY_SCHEDULING opt_posix.h
177
178# Do we want the config file compiled into the kernel?
179INCLUDE_CONFIG_FILE opt_config.h
180
181# Options for static filesystems. These should only be used at config
182# time, since the corresponding lkms cannot work if there are any static
183# dependencies. Unusability is enforced by hiding the defines for the
184# options in a never-included header.
185CD9660 opt_dontuse.h
186CODA opt_dontuse.h
187EXT2FS opt_dontuse.h
188FDESCFS opt_dontuse.h
189HPFS opt_dontuse.h
190MSDOSFS opt_dontuse.h
191NTFS opt_dontuse.h
192NULLFS opt_dontuse.h
193NWFS opt_dontuse.h
194PORTALFS opt_dontuse.h
195PROCFS opt_dontuse.h
196PSEUDOFS opt_dontuse.h
197REISERFS opt_dontuse.h
198SMBFS opt_dontuse.h
199TMPFS opt_dontuse.h
200UDF opt_dontuse.h
201UNIONFS opt_dontuse.h
202
203# Pseudofs debugging
204PSEUDOFS_TRACE opt_pseudofs.h
205
206# Broken - ffs_snapshot() dependency from ufs_lookup() :-(
207FFS opt_ffs_broken_fixme.h
208
209# These static filesystems have one slightly bogus static dependency in
210# sys/i386/i386/autoconf.c. If any of these filesystems are
211# statically compiled into the kernel, code for mounting them as root
212# filesystems will be enabled - but look below.
213NFSCLIENT opt_nfs.h
214NFSSERVER opt_nfs.h
215NFS4CLIENT opt_nfs.h
216
217# filesystems and libiconv bridge
218CD9660_ICONV opt_dontuse.h
219MSDOSFS_ICONV opt_dontuse.h
220NTFS_ICONV opt_dontuse.h
221UDF_ICONV opt_dontuse.h
222
223# If you are following the conditions in the copyright,
224# you can enable soft-updates which will speed up a lot of thigs
225# and make the system safer from crashes at the same time.
226# otherwise a STUB module will be compiled in.
227SOFTUPDATES opt_ffs.h
228
229# On small, embedded systems, it can be useful to turn off support for
230# snapshots. It saves about 30-40k for a feature that would be lightly
231# used, if it is used at all.
232NO_FFS_SNAPSHOT opt_ffs.h
233
234# Enabling this option turns on support for Access Control Lists in UFS,
235# which can be used to support high security configurations. Depends on
236# UFS_EXTATTR.
237UFS_ACL opt_ufs.h
238
239# Enabling this option turns on support for extended attributes in UFS-based
240# filesystems, which can be used to support high security configurations
241# as well as new filesystem features.
242UFS_EXTATTR opt_ufs.h
243UFS_EXTATTR_AUTOSTART opt_ufs.h
244
245# Enable fast hash lookups for large directories on UFS-based filesystems.
246UFS_DIRHASH opt_ufs.h
247
248# Enable gjournal-based UFS journal.
249UFS_GJOURNAL opt_ufs.h
250
251# The below sentence is not in English, and neither is this one.
252# We plan to remove the static dependences above, with a
253# <filesystem>_ROOT option to control if it usable as root. This list
254# allows these options to be present in config files already (though
255# they won't make any difference yet).
256NFS_ROOT opt_nfsroot.h
257
258# SMB/CIFS requester
259NETSMB opt_netsmb.h
260
261# Options used only in subr_param.c.
262HZ opt_param.h
263MAXFILES opt_param.h
264NBUF opt_param.h
265NSFBUFS opt_param.h
266VM_BCACHE_SIZE_MAX opt_param.h
267VM_SWZONE_SIZE_MAX opt_param.h
268MAXUSERS
269DFLDSIZ opt_param.h
270MAXDSIZ opt_param.h
271MAXSSIZ opt_param.h
272
273# Generic SCSI options.
274CAM_MAX_HIGHPOWER opt_cam.h
275CAMDEBUG opt_cam.h
276CAM_DEBUG_DELAY opt_cam.h
277CAM_DEBUG_BUS opt_cam.h
278CAM_DEBUG_TARGET opt_cam.h
279CAM_DEBUG_LUN opt_cam.h
280CAM_DEBUG_FLAGS opt_cam.h
281SCSI_DELAY opt_scsi.h
282SCSI_NO_SENSE_STRINGS opt_scsi.h
283SCSI_NO_OP_STRINGS opt_scsi.h
284
285# Options used only in cam/scsi/scsi_cd.c
286CHANGER_MIN_BUSY_SECONDS opt_cd.h
287CHANGER_MAX_BUSY_SECONDS opt_cd.h
288
289# Options used only in cam/scsi/scsi_sa.c.
290SA_IO_TIMEOUT opt_sa.h
291SA_SPACE_TIMEOUT opt_sa.h
292SA_REWIND_TIMEOUT opt_sa.h
293SA_ERASE_TIMEOUT opt_sa.h
294SA_1FM_AT_EOD opt_sa.h
295
296# Options used only in cam/scsi/scsi_pt.c
297SCSI_PT_DEFAULT_TIMEOUT opt_pt.h
298
299# Options used only in cam/scsi/scsi_ses.c
300SES_ENABLE_PASSTHROUGH opt_ses.h
301
302# Options used in dev/sym/ (Symbios SCSI driver).
303SYM_SETUP_LP_PROBE_MAP opt_sym.h #-Low Priority Probe Map (bits)
304 # Allows the ncr to take precedence
305 # 1 (1<<0) -> 810a, 860
306 # 2 (1<<1) -> 825a, 875, 885, 895
307 # 4 (1<<2) -> 895a, 896, 1510d
308SYM_SETUP_SCSI_DIFF opt_sym.h #-HVD support for 825a, 875, 885
309 # disabled:0 (default), enabled:1
310SYM_SETUP_PCI_PARITY opt_sym.h #-PCI parity checking
311 # disabled:0, enabled:1 (default)
312SYM_SETUP_MAX_LUN opt_sym.h #-Number of LUNs supported
313 # default:8, range:[1..64]
314
315# Options used only in pci/ncr.c
316SCSI_NCR_DEBUG opt_ncr.h
317SCSI_NCR_MAX_SYNC opt_ncr.h
318SCSI_NCR_MAX_WIDE opt_ncr.h
319SCSI_NCR_MYADDR opt_ncr.h
320
321# Options used only in dev/isp/*
322ISP_TARGET_MODE opt_isp.h
323ISP_FW_CRASH_DUMP opt_isp.h
324ISP_DEFAULT_ROLES opt_isp.h
325
326# Options used only in dev/iscsi
327ISCSI_INITIATOR_DEBUG opt_iscsi_initiator.h
328
329# Options used in the 'ata' ATA/ATAPI driver
330ATA_STATIC_ID opt_ata.h
331ATA_NOPCI opt_ata.h
332
333# Net stuff.
334ACCEPT_FILTER_DATA
335ACCEPT_FILTER_HTTP
336ALTQ opt_global.h
337ALTQ_CBQ opt_altq.h
338ALTQ_RED opt_altq.h
339ALTQ_RIO opt_altq.h
340ALTQ_HFSC opt_altq.h
341ALTQ_CDNR opt_altq.h
342ALTQ_PRIQ opt_altq.h
343ALTQ_NOPCC opt_altq.h
344ALTQ_DEBUG opt_altq.h
345BOOTP opt_bootp.h
346BOOTP_COMPAT opt_bootp.h
347BOOTP_NFSROOT opt_bootp.h
348BOOTP_NFSV3 opt_bootp.h
349BOOTP_WIRED_TO opt_bootp.h
350DEVICE_POLLING
351DEV_ENC opt_enc.h
352DEV_PF opt_pf.h
353DEV_PFLOG opt_pf.h
354DEV_PFSYNC opt_pf.h
355PF_MPSAFE_UGID opt_pf.h
356ETHER_II opt_ef.h
357ETHER_8023 opt_ef.h
358ETHER_8022 opt_ef.h
359ETHER_SNAP opt_ef.h
360MROUTING opt_mrouting.h
361INET opt_inet.h
362INET6 opt_inet6.h
363IPSEC opt_ipsec.h
364IPSEC_DEBUG opt_ipsec.h
365IPSEC_FILTERGIF opt_ipsec.h
366IPDIVERT
367DUMMYNET opt_ipdn.h
368IPFILTER opt_ipfilter.h
369IPFILTER_LOG opt_ipfilter.h
370IPFILTER_LOOKUP opt_ipfilter.h
371IPFILTER_DEFAULT_BLOCK opt_ipfilter.h
372IPFIREWALL opt_ipfw.h
373IPFIREWALL_VERBOSE opt_ipfw.h
374IPFIREWALL_VERBOSE_LIMIT opt_ipfw.h
375IPFIREWALL_DEFAULT_TO_ACCEPT opt_ipfw.h
376IPFIREWALL_FORWARD opt_ipfw.h
377IPFIREWALL_NAT opt_ipfw.h
378IPSTEALTH
379IPX
380LIBMBPOOL
381LIBMCHAIN
382LIBALIAS
383MBUF_STRESS_TEST
384NCP
385NETATALK opt_atalk.h
386NET_WITH_GIANT opt_net.h
387PPP_BSDCOMP opt_ppp.h
388PPP_DEFLATE opt_ppp.h
389PPP_FILTER opt_ppp.h
390SLIP_IFF_OPTS opt_slip.h
391TCPDEBUG
392TCP_SIGNATURE opt_inet.h
393DEV_VLAN opt_vlan.h
394VLAN_ARRAY opt_vlan.h
395XBONEHACK
396
397#
398# SCTP
399#
400SCTP opt_sctp.h
401SCTP_DEBUG opt_sctp.h # Enable debug printfs
402SCTP_WITH_NO_CSUM opt_sctp.h # Use this at your peril
403SCTP_LOCK_LOGGING opt_sctp.h # Log to KTR lock activity
404SCTP_MBUF_LOGGING opt_sctp.h # Log to KTR general mbuf aloc/free
405SCTP_MBCNT_LOGGING opt_sctp.h # Log to KTR mbcnt activity
406SCTP_PACKET_LOGGING opt_sctp.h # Log to a packet buffer last N packets
407SCTP_LTRACE_CHUNKS opt_sctp.h # Log to KTR chunks processed
408SCTP_LTRACE_ERRORS opt_sctp.h # Log to KTR error returns.
409#
410#
411#
412
413# Netgraph(4). Use option NETGRAPH to enable the base netgraph code.
414# Each netgraph node type can be either be compiled into the kernel
415# or loaded dynamically. To get the former, include the corresponding
416# option below. Each type has its own man page, e.g. ng_async(4).
417NETGRAPH
418NETGRAPH_DEBUG opt_netgraph.h
419NETGRAPH_ASYNC opt_netgraph.h
420NETGRAPH_ATMLLC opt_netgraph.h
421NETGRAPH_ATM_ATMPIF opt_netgraph.h
422NETGRAPH_BLUETOOTH opt_netgraph.h
423NETGRAPH_BLUETOOTH_BT3C opt_netgraph.h
424NETGRAPH_BLUETOOTH_H4 opt_netgraph.h
425NETGRAPH_BLUETOOTH_HCI opt_netgraph.h
426NETGRAPH_BLUETOOTH_L2CAP opt_netgraph.h
427NETGRAPH_BLUETOOTH_SOCKET opt_netgraph.h
428NETGRAPH_BLUETOOTH_UBT opt_netgraph.h
429NETGRAPH_BLUETOOTH_UBTBCMFW opt_netgraph.h
430NETGRAPH_BPF opt_netgraph.h
431NETGRAPH_BRIDGE opt_netgraph.h
432NETGRAPH_CAR opt_netgraph.h
433NETGRAPH_CISCO opt_netgraph.h
434NETGRAPH_DEFLATE opt_netgraph.h
435NETGRAPH_DEVICE opt_netgraph.h
436NETGRAPH_ECHO opt_netgraph.h
437NETGRAPH_EIFACE opt_netgraph.h
438NETGRAPH_ETHER opt_netgraph.h
439NETGRAPH_FEC opt_netgraph.h
440NETGRAPH_FRAME_RELAY opt_netgraph.h
441NETGRAPH_GIF opt_netgraph.h
442NETGRAPH_GIF_DEMUX opt_netgraph.h
443NETGRAPH_HOLE opt_netgraph.h
444NETGRAPH_IFACE opt_netgraph.h
445NETGRAPH_IP_INPUT opt_netgraph.h
446NETGRAPH_IPFW opt_netgraph.h
447NETGRAPH_KSOCKET opt_netgraph.h
448NETGRAPH_L2TP opt_netgraph.h
449NETGRAPH_LMI opt_netgraph.h
450# MPPC compression requires proprietary files (not included)
451NETGRAPH_MPPC_COMPRESSION opt_netgraph.h
452NETGRAPH_MPPC_ENCRYPTION opt_netgraph.h
453NETGRAPH_NAT opt_netgraph.h
454NETGRAPH_NETFLOW opt_netgraph.h
455NETGRAPH_ONE2MANY opt_netgraph.h
456NETGRAPH_PPP opt_netgraph.h
457NETGRAPH_PPPOE opt_netgraph.h
458NETGRAPH_PPTPGRE opt_netgraph.h
459NETGRAPH_PRED1 opt_netgraph.h
460NETGRAPH_RFC1490 opt_netgraph.h
461NETGRAPH_SOCKET opt_netgraph.h
462NETGRAPH_SPLIT opt_netgraph.h
463NETGRAPH_SPPP opt_netgraph.h
464NETGRAPH_TAG opt_netgraph.h
465NETGRAPH_TCPMSS opt_netgraph.h
466NETGRAPH_TEE opt_netgraph.h
467NETGRAPH_TTY opt_netgraph.h
468NETGRAPH_UI opt_netgraph.h
469NETGRAPH_VJC opt_netgraph.h
470
471# NgATM options
472NGATM_ATM opt_netgraph.h
473NGATM_ATMBASE opt_netgraph.h
474NGATM_SSCOP opt_netgraph.h
475NGATM_SSCFU opt_netgraph.h
476NGATM_UNI opt_netgraph.h
477NGATM_CCATM opt_netgraph.h
478
479# DRM options
480DRM_DEBUG opt_drm.h
481
482ZERO_COPY_SOCKETS opt_zero.h
483TI_PRIVATE_JUMBOS opt_ti.h
484TI_JUMBO_HDRSPLIT opt_ti.h
485
486# ATM (HARP version) - disabled as not MPSAFE in 7.0
487#ATM_CORE opt_atm.h
488#ATM_IP opt_atm.h
489#ATM_SIGPVC opt_atm.h
490#ATM_SPANS opt_atm.h
491#ATM_UNI opt_atm.h
492
493# XXX Conflict: # of devices vs network protocol (Native ATM).
494# This makes "atm.h" unusable.
495NATM
496
497# DPT driver debug flags
498DPT_MEASURE_PERFORMANCE opt_dpt.h
499DPT_HANDLE_TIMEOUTS opt_dpt.h
500DPT_TIMEOUT_FACTOR opt_dpt.h
501DPT_LOST_IRQ opt_dpt.h
502DPT_RESET_HBA opt_dpt.h
503
504# Misc debug flags. Most of these should probably be replaced with
505# 'DEBUG', and then let people recompile just the interesting modules
506# with 'make CC="cc -DDEBUG"'.
507CLUSTERDEBUG opt_debug_cluster.h
508DEBUG_1284 opt_ppb_1284.h
509VP0_DEBUG opt_vpo.h
510LPT_DEBUG opt_lpt.h
511PLIP_DEBUG opt_plip.h
512LOCKF_DEBUG opt_debug_lockf.h
513NETATALKDEBUG opt_atalk.h
514SI_DEBUG opt_debug_si.h
515
516# Fb options
517FB_DEBUG opt_fb.h
518FB_INSTALL_CDEV opt_fb.h
519
520# ppbus related options
521PERIPH_1284 opt_ppb_1284.h
522DONTPROBE_1284 opt_ppb_1284.h
523
524# smbus related options
525ENABLE_ALART opt_intpm.h
526
527# These cause changes all over the kernel
528BLKDEV_IOSIZE opt_global.h
529MAXPHYS opt_global.h
530DFLTPHYS opt_global.h
531BURN_BRIDGES opt_global.h
532DEBUG opt_global.h
533DEBUG_LOCKS opt_global.h
534DEBUG_VFS_LOCKS opt_global.h
535DIAGNOSTIC opt_global.h
536INVARIANT_SUPPORT opt_global.h
537INVARIANTS opt_global.h
538MCLSHIFT opt_global.h
539MUTEX_DEBUG opt_global.h
540MUTEX_NOINLINE opt_global.h
541LOCK_PROFILING opt_global.h
542LOCK_PROFILING_FAST opt_global.h
543LOCK_PROFILING_SHARED opt_global.h
544MSIZE opt_global.h
545REGRESSION opt_global.h
546RESTARTABLE_PANICS opt_global.h
547RWLOCK_NOINLINE opt_global.h
548SX_NOINLINE opt_global.h
549VFS_BIO_DEBUG opt_global.h
550
551# These are VM related options
552VM_KMEM_SIZE opt_vm.h
553VM_KMEM_SIZE_SCALE opt_vm.h
554VM_KMEM_SIZE_MAX opt_vm.h
555NO_SWAPPING opt_vm.h
556MALLOC_MAKE_FAILURES opt_vm.h
557MALLOC_PROFILE opt_vm.h
558
559# The MemGuard replacement allocator used for tamper-after-free detection
560DEBUG_MEMGUARD opt_vm.h
561
562# The RedZone malloc(9) protection
563DEBUG_REDZONE opt_vm.h
564
565# Standard SMP options
566SMP opt_global.h
567
568# Size of the kernel message buffer
569MSGBUF_SIZE opt_msgbuf.h
570
571# NFS options
572NFS_MINATTRTIMO opt_nfs.h
573NFS_MAXATTRTIMO opt_nfs.h
574NFS_MINDIRATTRTIMO opt_nfs.h
575NFS_MAXDIRATTRTIMO opt_nfs.h
576NFS_GATHERDELAY opt_nfs.h
577NFS_WDELAYHASHSIZ opt_nfs.h
578NFS_DEBUG opt_nfs.h
579
580# For the Bt848/Bt848A/Bt849/Bt878/Bt879 driver
581OVERRIDE_CARD opt_bktr.h
582OVERRIDE_TUNER opt_bktr.h
583OVERRIDE_DBX opt_bktr.h
584OVERRIDE_MSP opt_bktr.h
585BROOKTREE_SYSTEM_DEFAULT opt_bktr.h
586BROOKTREE_ALLOC_PAGES opt_bktr.h
587BKTR_OVERRIDE_CARD opt_bktr.h
588BKTR_OVERRIDE_TUNER opt_bktr.h
589BKTR_OVERRIDE_DBX opt_bktr.h
590BKTR_OVERRIDE_MSP opt_bktr.h
591BKTR_SYSTEM_DEFAULT opt_bktr.h
592BKTR_ALLOC_PAGES opt_bktr.h
593BKTR_USE_PLL opt_bktr.h
594BKTR_GPIO_ACCESS opt_bktr.h
595BKTR_NO_MSP_RESET opt_bktr.h
596BKTR_430_FX_MODE opt_bktr.h
597BKTR_SIS_VIA_MODE opt_bktr.h
598BKTR_USE_FREEBSD_SMBUS opt_bktr.h
599BKTR_NEW_MSP34XX_DRIVER opt_bktr.h
600
601BREAK_TO_DEBUGGER opt_comconsole.h
602ALT_BREAK_TO_DEBUGGER opt_comconsole.h
603
604# Options to support PPS
605UART_PPS_ON_CTS opt_uart.h
606
607# options for bus/device framework
608BUS_DEBUG opt_bus.h
609
610# options for USB support
611USB_DEBUG opt_usb.h
612USBVERBOSE opt_usb.h
613UKBD_DFLT_KEYMAP opt_ukbd.h
614UPLCOM_INTR_INTERVAL opt_uplcom.h
615UVSCOM_DEFAULT_OPKTSIZE opt_uvscom.h
616UVSCOM_INTR_INTERVAL opt_uvscom.h
617
618# Embedded system options
619INIT_PATH
620
621ROOTDEVNAME
622
623FDC_DEBUG opt_fdc.h
624PCFCLOCK_VERBOSE opt_pcfclock.h
625PCFCLOCK_MAX_RETRIES opt_pcfclock.h
626
627KTR opt_global.h
628KTR_ALQ opt_ktr.h
629KTR_MASK opt_ktr.h
630KTR_CPUMASK opt_ktr.h
631KTR_COMPILE opt_global.h
632KTR_ENTRIES opt_global.h
633KTR_VERBOSE opt_ktr.h
634WITNESS opt_global.h
635WITNESS_KDB opt_witness.h
636WITNESS_SKIPSPIN opt_witness.h
637
638# options for ACPI support
639ACPI_DEBUG opt_acpi.h
640ACPI_MAX_THREADS opt_acpi.h
641ACPI_NO_SEMAPHORES opt_acpi.h
642
643# ISA support
644DEV_ISA opt_isa.h
645ISAPNP opt_isa.h
646
647# various 'device presence' options.
648DEV_BPF opt_bpf.h
649DEV_MCA opt_mca.h
650DEV_CARP opt_carp.h
651DEV_SPLASH opt_splash.h
652
653# EISA support
654DEV_EISA opt_eisa.h
655EISA_SLOTS opt_eisa.h
656
657# ed driver
658ED_HPP opt_ed.h
659ED_3C503 opt_ed.h
660ED_SIC opt_ed.h
661
662# bce driver
663BCE_DEBUG opt_bce.h
664
665# wi driver
666WI_SYMBOL_FIRMWARE opt_wi.h
667
668SOCKBUF_DEBUG opt_global.h
669
670# options for ubsec driver
671UBSEC_DEBUG opt_ubsec.h
672UBSEC_RNDTEST opt_ubsec.h
673UBSEC_NO_RNG opt_ubsec.h
674
675# options for hifn driver
676HIFN_DEBUG opt_hifn.h
677HIFN_RNDTEST opt_hifn.h
678
679# options for safenet driver
680SAFE_DEBUG opt_safe.h
681SAFE_NO_RNG opt_safe.h
682SAFE_RNDTEST opt_safe.h
683
684# syscons options
685MAXCONS opt_syscons.h
686SC_ALT_MOUSE_IMAGE opt_syscons.h
687SC_CUT_SPACES2TABS opt_syscons.h
688SC_CUT_SEPCHARS opt_syscons.h
689SC_DEBUG_LEVEL opt_syscons.h
690SC_DFLT_FONT opt_syscons.h
691SC_DISABLE_KDBKEY opt_syscons.h
692SC_DISABLE_REBOOT opt_syscons.h
693SC_HISTORY_SIZE opt_syscons.h
694SC_KERNEL_CONS_ATTR opt_syscons.h
695SC_KERNEL_CONS_REV_ATTR opt_syscons.h
696SC_MOUSE_CHAR opt_syscons.h
697SC_NO_CUTPASTE opt_syscons.h
698SC_NO_FONT_LOADING opt_syscons.h
699SC_NO_HISTORY opt_syscons.h
700SC_NO_MODE_CHANGE opt_syscons.h
701SC_NO_SUSPEND_VTYSWITCH opt_syscons.h
702SC_NO_SYSMOUSE opt_syscons.h
703SC_NORM_ATTR opt_syscons.h
704SC_NORM_REV_ATTR opt_syscons.h
705SC_PIXEL_MODE opt_syscons.h
706SC_RENDER_DEBUG opt_syscons.h
707SC_TWOBUTTON_MOUSE opt_syscons.h
708
709# options for printf
710PRINTF_BUFR_SIZE opt_printf.h
711
712# kbd options
713KBD_DISABLE_KEYMAP_LOAD opt_kbd.h
714KBD_INSTALL_CDEV opt_kbd.h
715KBD_MAXRETRY opt_kbd.h
716KBD_MAXWAIT opt_kbd.h
717KBD_RESETDELAY opt_kbd.h
718KBDIO_DEBUG opt_kbd.h
719
720# options for the Atheros driver
721ATH_DEBUG opt_ath.h
722ATH_TXBUF opt_ath.h
723ATH_RXBUF opt_ath.h
724ATH_DIAGAPI opt_ath.h
725ATH_TX99_DIAG opt_ath.h
726
727# dcons options
728DCONS_BUF_SIZE opt_dcons.h
729DCONS_POLL_HZ opt_dcons.h
730DCONS_FORCE_CONSOLE opt_dcons.h
731DCONS_FORCE_GDB opt_dcons.h
732
733# Static unit counts
734NI4BTRC opt_i4b.h
735NI4BRBCH opt_i4b.h
736NI4BTEL opt_i4b.h
737#XXXBZ#NI4BIPR opt_i4b.h
738#XXXBZ#NI4BING opt_i4b.h
739#XXXBZ#NI4BISPPP opt_i4b.h
740
741# VFS options
742LOOKUP_SHARED opt_vfs.h
743
744# HWPMC options
745HWPMC_HOOKS
746
747# XBOX options for FreeBSD/i386, but some files are MI
748XBOX opt_xbox.h
749
750# XFS
751XFS
752
753# snd_emu10kx sound driver options
754SND_EMU10KX_MULTICHANNEL opt_emu10kx.h
755
756# Interrupt filtering
757INTR_FILTER opt_global.h
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
33AAC_DEBUG opt_aac.h
34AHC_ALLOW_MEMIO opt_aic7xxx.h
35AHC_TMODE_ENABLE opt_aic7xxx.h
36AHC_DUMP_EEPROM opt_aic7xxx.h
37AHC_DEBUG opt_aic7xxx.h
38AHC_DEBUG_OPTS opt_aic7xxx.h
39AHC_REG_PRETTY_PRINT opt_aic7xxx.h
40AHD_DEBUG opt_aic79xx.h
41AHD_DEBUG_OPTS opt_aic79xx.h
42AHD_TMODE_ENABLE opt_aic79xx.h
43AHD_REG_PRETTY_PRINT opt_aic79xx.h
44ADW_ALLOW_MEMIO opt_adw.h
45
46TWA_DEBUG opt_twa.h
47TWA_FLASH_FIRMWARE opt_twa.h
48
49# Debugging options.
50DDB
51DDB_NUMSYM opt_ddb.h
52GDB
53KDB opt_global.h
54KDB_TRACE opt_kdb.h
55KDB_UNATTENDED opt_kdb.h
56SYSCTL_DEBUG opt_sysctl.h
57
58NO_SYSCTL_DESCR opt_global.h
59
60# Miscellaneous options.
61ADAPTIVE_GIANT opt_adaptive_mutexes.h
62ADAPTIVE_SX
63ALQ
64AUDIT opt_global.h
65CODA_COMPAT_5 opt_coda.h
66COMPAT_43 opt_compat.h
67COMPAT_43TTY opt_compat.h
68COMPAT_FREEBSD4 opt_compat.h
69COMPAT_FREEBSD5 opt_compat.h
70COMPAT_FREEBSD6 opt_compat.h
71COMPILING_LINT opt_global.h
72CY_PCI_FASTINTR
73DIRECTIO
74FULL_PREEMPTION opt_sched.h
75IPI_PREEMPTION opt_sched.h
76GEOM_AES opt_geom.h
77GEOM_BDE opt_geom.h
78GEOM_BSD opt_geom.h
79GEOM_CACHE opt_geom.h
80GEOM_CONCAT opt_geom.h
81GEOM_ELI opt_geom.h
82GEOM_FOX opt_geom.h
83GEOM_GATE opt_geom.h
84GEOM_JOURNAL opt_geom.h
85GEOM_LABEL opt_geom.h
86GEOM_MBR opt_geom.h
87GEOM_MIRROR opt_geom.h
88GEOM_MULTIPATH opt_geom.h
89GEOM_NOP opt_geom.h
90GEOM_PART_APM opt_geom.h
91GEOM_PART_GPT opt_geom.h
92GEOM_PART_MBR opt_geom.h
93GEOM_PC98 opt_geom.h
94GEOM_RAID3 opt_geom.h
95GEOM_SHSEC opt_geom.h
96GEOM_STRIPE opt_geom.h
97GEOM_SUNLABEL opt_geom.h
98GEOM_UZIP opt_geom.h
99GEOM_VOL opt_geom.h
100GEOM_ZERO opt_geom.h
101KSE opt_global.h
102KSTACK_MAX_PAGES
103KSTACK_PAGES
104KTRACE
105KTRACE_REQUEST_POOL opt_ktrace.h
106LIBICONV
107MAC
108MAC_ALWAYS_LABEL_MBUF opt_mac.h
109MAC_BIBA opt_dontuse.h
110MAC_BSDEXTENDED opt_dontuse.h
111MAC_IFOFF opt_dontuse.h
112MAC_LOMAC opt_dontuse.h
113MAC_MLS opt_dontuse.h
114MAC_NONE opt_dontuse.h
115MAC_PARTITION opt_dontuse.h
116MAC_PORTACL opt_dontuse.h
117MAC_SEEOTHERUIDS opt_dontuse.h
118MAC_STATIC opt_mac.h
119MAC_STUB opt_dontuse.h
120MAC_TEST opt_dontuse.h
121MD_ROOT opt_md.h
122MD_ROOT_SIZE opt_md.h
123MFI_DEBUG opt_mfi.h
124MFI_DECODE_LOG opt_mfi.h
125MPROF_BUFFERS opt_mprof.h
126MPROF_HASH_SIZE opt_mprof.h
127NO_ADAPTIVE_MUTEXES opt_adaptive_mutexes.h
128NO_ADAPTIVE_RWLOCKS
129NSWBUF_MIN opt_swap.h
130MBUF_PACKET_ZONE_DISABLE opt_global.h
131PANIC_REBOOT_WAIT_TIME opt_panic.h
132PPC_DEBUG opt_ppc.h
133PPC_PROBE_CHIPSET opt_ppc.h
134PPS_SYNC opt_ntp.h
135PREEMPTION opt_sched.h
136QUOTA
137SCHED_4BSD opt_sched.h
138SCHED_ULE opt_sched.h
139SHOW_BUSYBUFS
140SLEEPQUEUE_PROFILING
141SLHCI_DEBUG opt_slhci.h
142SPX_HACK
143SUIDDIR
144MSGMNB opt_sysvipc.h
145MSGMNI opt_sysvipc.h
146MSGSEG opt_sysvipc.h
147MSGSSZ opt_sysvipc.h
148MSGTQL opt_sysvipc.h
149SEMMAP opt_sysvipc.h
150SEMMNI opt_sysvipc.h
151SEMMNS opt_sysvipc.h
152SEMMNU opt_sysvipc.h
153SEMMSL opt_sysvipc.h
154SEMOPM opt_sysvipc.h
155SEMUME opt_sysvipc.h
156SHMALL opt_sysvipc.h
157SHMMAX opt_sysvipc.h
158SHMMAXPGS opt_sysvipc.h
159SHMMIN opt_sysvipc.h
160SHMMNI opt_sysvipc.h
161SHMSEG opt_sysvipc.h
162SYSVMSG opt_sysvipc.h
163SYSVSEM opt_sysvipc.h
164SYSVSHM opt_sysvipc.h
165SW_WATCHDOG opt_watchdog.h
166TURNSTILE_PROFILING
167TTYHOG opt_tty.h
168VFS_AIO
169VERBOSE_SYSINIT opt_global.h
170WLCACHE opt_wavelan.h
171WLDEBUG opt_wavelan.h
172
173# POSIX kernel options
174P1003_1B_MQUEUE opt_posix.h
175P1003_1B_SEMAPHORES opt_posix.h
176_KPOSIX_PRIORITY_SCHEDULING opt_posix.h
177
178# Do we want the config file compiled into the kernel?
179INCLUDE_CONFIG_FILE opt_config.h
180
181# Options for static filesystems. These should only be used at config
182# time, since the corresponding lkms cannot work if there are any static
183# dependencies. Unusability is enforced by hiding the defines for the
184# options in a never-included header.
185CD9660 opt_dontuse.h
186CODA opt_dontuse.h
187EXT2FS opt_dontuse.h
188FDESCFS opt_dontuse.h
189HPFS opt_dontuse.h
190MSDOSFS opt_dontuse.h
191NTFS opt_dontuse.h
192NULLFS opt_dontuse.h
193NWFS opt_dontuse.h
194PORTALFS opt_dontuse.h
195PROCFS opt_dontuse.h
196PSEUDOFS opt_dontuse.h
197REISERFS opt_dontuse.h
198SMBFS opt_dontuse.h
199TMPFS opt_dontuse.h
200UDF opt_dontuse.h
201UNIONFS opt_dontuse.h
202
203# Pseudofs debugging
204PSEUDOFS_TRACE opt_pseudofs.h
205
206# Broken - ffs_snapshot() dependency from ufs_lookup() :-(
207FFS opt_ffs_broken_fixme.h
208
209# These static filesystems have one slightly bogus static dependency in
210# sys/i386/i386/autoconf.c. If any of these filesystems are
211# statically compiled into the kernel, code for mounting them as root
212# filesystems will be enabled - but look below.
213NFSCLIENT opt_nfs.h
214NFSSERVER opt_nfs.h
215NFS4CLIENT opt_nfs.h
216
217# filesystems and libiconv bridge
218CD9660_ICONV opt_dontuse.h
219MSDOSFS_ICONV opt_dontuse.h
220NTFS_ICONV opt_dontuse.h
221UDF_ICONV opt_dontuse.h
222
223# If you are following the conditions in the copyright,
224# you can enable soft-updates which will speed up a lot of thigs
225# and make the system safer from crashes at the same time.
226# otherwise a STUB module will be compiled in.
227SOFTUPDATES opt_ffs.h
228
229# On small, embedded systems, it can be useful to turn off support for
230# snapshots. It saves about 30-40k for a feature that would be lightly
231# used, if it is used at all.
232NO_FFS_SNAPSHOT opt_ffs.h
233
234# Enabling this option turns on support for Access Control Lists in UFS,
235# which can be used to support high security configurations. Depends on
236# UFS_EXTATTR.
237UFS_ACL opt_ufs.h
238
239# Enabling this option turns on support for extended attributes in UFS-based
240# filesystems, which can be used to support high security configurations
241# as well as new filesystem features.
242UFS_EXTATTR opt_ufs.h
243UFS_EXTATTR_AUTOSTART opt_ufs.h
244
245# Enable fast hash lookups for large directories on UFS-based filesystems.
246UFS_DIRHASH opt_ufs.h
247
248# Enable gjournal-based UFS journal.
249UFS_GJOURNAL opt_ufs.h
250
251# The below sentence is not in English, and neither is this one.
252# We plan to remove the static dependences above, with a
253# <filesystem>_ROOT option to control if it usable as root. This list
254# allows these options to be present in config files already (though
255# they won't make any difference yet).
256NFS_ROOT opt_nfsroot.h
257
258# SMB/CIFS requester
259NETSMB opt_netsmb.h
260
261# Options used only in subr_param.c.
262HZ opt_param.h
263MAXFILES opt_param.h
264NBUF opt_param.h
265NSFBUFS opt_param.h
266VM_BCACHE_SIZE_MAX opt_param.h
267VM_SWZONE_SIZE_MAX opt_param.h
268MAXUSERS
269DFLDSIZ opt_param.h
270MAXDSIZ opt_param.h
271MAXSSIZ opt_param.h
272
273# Generic SCSI options.
274CAM_MAX_HIGHPOWER opt_cam.h
275CAMDEBUG opt_cam.h
276CAM_DEBUG_DELAY opt_cam.h
277CAM_DEBUG_BUS opt_cam.h
278CAM_DEBUG_TARGET opt_cam.h
279CAM_DEBUG_LUN opt_cam.h
280CAM_DEBUG_FLAGS opt_cam.h
281SCSI_DELAY opt_scsi.h
282SCSI_NO_SENSE_STRINGS opt_scsi.h
283SCSI_NO_OP_STRINGS opt_scsi.h
284
285# Options used only in cam/scsi/scsi_cd.c
286CHANGER_MIN_BUSY_SECONDS opt_cd.h
287CHANGER_MAX_BUSY_SECONDS opt_cd.h
288
289# Options used only in cam/scsi/scsi_sa.c.
290SA_IO_TIMEOUT opt_sa.h
291SA_SPACE_TIMEOUT opt_sa.h
292SA_REWIND_TIMEOUT opt_sa.h
293SA_ERASE_TIMEOUT opt_sa.h
294SA_1FM_AT_EOD opt_sa.h
295
296# Options used only in cam/scsi/scsi_pt.c
297SCSI_PT_DEFAULT_TIMEOUT opt_pt.h
298
299# Options used only in cam/scsi/scsi_ses.c
300SES_ENABLE_PASSTHROUGH opt_ses.h
301
302# Options used in dev/sym/ (Symbios SCSI driver).
303SYM_SETUP_LP_PROBE_MAP opt_sym.h #-Low Priority Probe Map (bits)
304 # Allows the ncr to take precedence
305 # 1 (1<<0) -> 810a, 860
306 # 2 (1<<1) -> 825a, 875, 885, 895
307 # 4 (1<<2) -> 895a, 896, 1510d
308SYM_SETUP_SCSI_DIFF opt_sym.h #-HVD support for 825a, 875, 885
309 # disabled:0 (default), enabled:1
310SYM_SETUP_PCI_PARITY opt_sym.h #-PCI parity checking
311 # disabled:0, enabled:1 (default)
312SYM_SETUP_MAX_LUN opt_sym.h #-Number of LUNs supported
313 # default:8, range:[1..64]
314
315# Options used only in pci/ncr.c
316SCSI_NCR_DEBUG opt_ncr.h
317SCSI_NCR_MAX_SYNC opt_ncr.h
318SCSI_NCR_MAX_WIDE opt_ncr.h
319SCSI_NCR_MYADDR opt_ncr.h
320
321# Options used only in dev/isp/*
322ISP_TARGET_MODE opt_isp.h
323ISP_FW_CRASH_DUMP opt_isp.h
324ISP_DEFAULT_ROLES opt_isp.h
325
326# Options used only in dev/iscsi
327ISCSI_INITIATOR_DEBUG opt_iscsi_initiator.h
328
329# Options used in the 'ata' ATA/ATAPI driver
330ATA_STATIC_ID opt_ata.h
331ATA_NOPCI opt_ata.h
332
333# Net stuff.
334ACCEPT_FILTER_DATA
335ACCEPT_FILTER_HTTP
336ALTQ opt_global.h
337ALTQ_CBQ opt_altq.h
338ALTQ_RED opt_altq.h
339ALTQ_RIO opt_altq.h
340ALTQ_HFSC opt_altq.h
341ALTQ_CDNR opt_altq.h
342ALTQ_PRIQ opt_altq.h
343ALTQ_NOPCC opt_altq.h
344ALTQ_DEBUG opt_altq.h
345BOOTP opt_bootp.h
346BOOTP_COMPAT opt_bootp.h
347BOOTP_NFSROOT opt_bootp.h
348BOOTP_NFSV3 opt_bootp.h
349BOOTP_WIRED_TO opt_bootp.h
350DEVICE_POLLING
351DEV_ENC opt_enc.h
352DEV_PF opt_pf.h
353DEV_PFLOG opt_pf.h
354DEV_PFSYNC opt_pf.h
355PF_MPSAFE_UGID opt_pf.h
356ETHER_II opt_ef.h
357ETHER_8023 opt_ef.h
358ETHER_8022 opt_ef.h
359ETHER_SNAP opt_ef.h
360MROUTING opt_mrouting.h
361INET opt_inet.h
362INET6 opt_inet6.h
363IPSEC opt_ipsec.h
364IPSEC_DEBUG opt_ipsec.h
365IPSEC_FILTERGIF opt_ipsec.h
366IPDIVERT
367DUMMYNET opt_ipdn.h
368IPFILTER opt_ipfilter.h
369IPFILTER_LOG opt_ipfilter.h
370IPFILTER_LOOKUP opt_ipfilter.h
371IPFILTER_DEFAULT_BLOCK opt_ipfilter.h
372IPFIREWALL opt_ipfw.h
373IPFIREWALL_VERBOSE opt_ipfw.h
374IPFIREWALL_VERBOSE_LIMIT opt_ipfw.h
375IPFIREWALL_DEFAULT_TO_ACCEPT opt_ipfw.h
376IPFIREWALL_FORWARD opt_ipfw.h
377IPFIREWALL_NAT opt_ipfw.h
378IPSTEALTH
379IPX
380LIBMBPOOL
381LIBMCHAIN
382LIBALIAS
383MBUF_STRESS_TEST
384NCP
385NETATALK opt_atalk.h
386NET_WITH_GIANT opt_net.h
387PPP_BSDCOMP opt_ppp.h
388PPP_DEFLATE opt_ppp.h
389PPP_FILTER opt_ppp.h
390SLIP_IFF_OPTS opt_slip.h
391TCPDEBUG
392TCP_SIGNATURE opt_inet.h
393DEV_VLAN opt_vlan.h
394VLAN_ARRAY opt_vlan.h
395XBONEHACK
396
397#
398# SCTP
399#
400SCTP opt_sctp.h
401SCTP_DEBUG opt_sctp.h # Enable debug printfs
402SCTP_WITH_NO_CSUM opt_sctp.h # Use this at your peril
403SCTP_LOCK_LOGGING opt_sctp.h # Log to KTR lock activity
404SCTP_MBUF_LOGGING opt_sctp.h # Log to KTR general mbuf aloc/free
405SCTP_MBCNT_LOGGING opt_sctp.h # Log to KTR mbcnt activity
406SCTP_PACKET_LOGGING opt_sctp.h # Log to a packet buffer last N packets
407SCTP_LTRACE_CHUNKS opt_sctp.h # Log to KTR chunks processed
408SCTP_LTRACE_ERRORS opt_sctp.h # Log to KTR error returns.
409#
410#
411#
412
413# Netgraph(4). Use option NETGRAPH to enable the base netgraph code.
414# Each netgraph node type can be either be compiled into the kernel
415# or loaded dynamically. To get the former, include the corresponding
416# option below. Each type has its own man page, e.g. ng_async(4).
417NETGRAPH
418NETGRAPH_DEBUG opt_netgraph.h
419NETGRAPH_ASYNC opt_netgraph.h
420NETGRAPH_ATMLLC opt_netgraph.h
421NETGRAPH_ATM_ATMPIF opt_netgraph.h
422NETGRAPH_BLUETOOTH opt_netgraph.h
423NETGRAPH_BLUETOOTH_BT3C opt_netgraph.h
424NETGRAPH_BLUETOOTH_H4 opt_netgraph.h
425NETGRAPH_BLUETOOTH_HCI opt_netgraph.h
426NETGRAPH_BLUETOOTH_L2CAP opt_netgraph.h
427NETGRAPH_BLUETOOTH_SOCKET opt_netgraph.h
428NETGRAPH_BLUETOOTH_UBT opt_netgraph.h
429NETGRAPH_BLUETOOTH_UBTBCMFW opt_netgraph.h
430NETGRAPH_BPF opt_netgraph.h
431NETGRAPH_BRIDGE opt_netgraph.h
432NETGRAPH_CAR opt_netgraph.h
433NETGRAPH_CISCO opt_netgraph.h
434NETGRAPH_DEFLATE opt_netgraph.h
435NETGRAPH_DEVICE opt_netgraph.h
436NETGRAPH_ECHO opt_netgraph.h
437NETGRAPH_EIFACE opt_netgraph.h
438NETGRAPH_ETHER opt_netgraph.h
439NETGRAPH_FEC opt_netgraph.h
440NETGRAPH_FRAME_RELAY opt_netgraph.h
441NETGRAPH_GIF opt_netgraph.h
442NETGRAPH_GIF_DEMUX opt_netgraph.h
443NETGRAPH_HOLE opt_netgraph.h
444NETGRAPH_IFACE opt_netgraph.h
445NETGRAPH_IP_INPUT opt_netgraph.h
446NETGRAPH_IPFW opt_netgraph.h
447NETGRAPH_KSOCKET opt_netgraph.h
448NETGRAPH_L2TP opt_netgraph.h
449NETGRAPH_LMI opt_netgraph.h
450# MPPC compression requires proprietary files (not included)
451NETGRAPH_MPPC_COMPRESSION opt_netgraph.h
452NETGRAPH_MPPC_ENCRYPTION opt_netgraph.h
453NETGRAPH_NAT opt_netgraph.h
454NETGRAPH_NETFLOW opt_netgraph.h
455NETGRAPH_ONE2MANY opt_netgraph.h
456NETGRAPH_PPP opt_netgraph.h
457NETGRAPH_PPPOE opt_netgraph.h
458NETGRAPH_PPTPGRE opt_netgraph.h
459NETGRAPH_PRED1 opt_netgraph.h
460NETGRAPH_RFC1490 opt_netgraph.h
461NETGRAPH_SOCKET opt_netgraph.h
462NETGRAPH_SPLIT opt_netgraph.h
463NETGRAPH_SPPP opt_netgraph.h
464NETGRAPH_TAG opt_netgraph.h
465NETGRAPH_TCPMSS opt_netgraph.h
466NETGRAPH_TEE opt_netgraph.h
467NETGRAPH_TTY opt_netgraph.h
468NETGRAPH_UI opt_netgraph.h
469NETGRAPH_VJC opt_netgraph.h
470
471# NgATM options
472NGATM_ATM opt_netgraph.h
473NGATM_ATMBASE opt_netgraph.h
474NGATM_SSCOP opt_netgraph.h
475NGATM_SSCFU opt_netgraph.h
476NGATM_UNI opt_netgraph.h
477NGATM_CCATM opt_netgraph.h
478
479# DRM options
480DRM_DEBUG opt_drm.h
481
482ZERO_COPY_SOCKETS opt_zero.h
483TI_PRIVATE_JUMBOS opt_ti.h
484TI_JUMBO_HDRSPLIT opt_ti.h
485
486# ATM (HARP version) - disabled as not MPSAFE in 7.0
487#ATM_CORE opt_atm.h
488#ATM_IP opt_atm.h
489#ATM_SIGPVC opt_atm.h
490#ATM_SPANS opt_atm.h
491#ATM_UNI opt_atm.h
492
493# XXX Conflict: # of devices vs network protocol (Native ATM).
494# This makes "atm.h" unusable.
495NATM
496
497# DPT driver debug flags
498DPT_MEASURE_PERFORMANCE opt_dpt.h
499DPT_HANDLE_TIMEOUTS opt_dpt.h
500DPT_TIMEOUT_FACTOR opt_dpt.h
501DPT_LOST_IRQ opt_dpt.h
502DPT_RESET_HBA opt_dpt.h
503
504# Misc debug flags. Most of these should probably be replaced with
505# 'DEBUG', and then let people recompile just the interesting modules
506# with 'make CC="cc -DDEBUG"'.
507CLUSTERDEBUG opt_debug_cluster.h
508DEBUG_1284 opt_ppb_1284.h
509VP0_DEBUG opt_vpo.h
510LPT_DEBUG opt_lpt.h
511PLIP_DEBUG opt_plip.h
512LOCKF_DEBUG opt_debug_lockf.h
513NETATALKDEBUG opt_atalk.h
514SI_DEBUG opt_debug_si.h
515
516# Fb options
517FB_DEBUG opt_fb.h
518FB_INSTALL_CDEV opt_fb.h
519
520# ppbus related options
521PERIPH_1284 opt_ppb_1284.h
522DONTPROBE_1284 opt_ppb_1284.h
523
524# smbus related options
525ENABLE_ALART opt_intpm.h
526
527# These cause changes all over the kernel
528BLKDEV_IOSIZE opt_global.h
529MAXPHYS opt_global.h
530DFLTPHYS opt_global.h
531BURN_BRIDGES opt_global.h
532DEBUG opt_global.h
533DEBUG_LOCKS opt_global.h
534DEBUG_VFS_LOCKS opt_global.h
535DIAGNOSTIC opt_global.h
536INVARIANT_SUPPORT opt_global.h
537INVARIANTS opt_global.h
538MCLSHIFT opt_global.h
539MUTEX_DEBUG opt_global.h
540MUTEX_NOINLINE opt_global.h
541LOCK_PROFILING opt_global.h
542LOCK_PROFILING_FAST opt_global.h
543LOCK_PROFILING_SHARED opt_global.h
544MSIZE opt_global.h
545REGRESSION opt_global.h
546RESTARTABLE_PANICS opt_global.h
547RWLOCK_NOINLINE opt_global.h
548SX_NOINLINE opt_global.h
549VFS_BIO_DEBUG opt_global.h
550
551# These are VM related options
552VM_KMEM_SIZE opt_vm.h
553VM_KMEM_SIZE_SCALE opt_vm.h
554VM_KMEM_SIZE_MAX opt_vm.h
555NO_SWAPPING opt_vm.h
556MALLOC_MAKE_FAILURES opt_vm.h
557MALLOC_PROFILE opt_vm.h
558
559# The MemGuard replacement allocator used for tamper-after-free detection
560DEBUG_MEMGUARD opt_vm.h
561
562# The RedZone malloc(9) protection
563DEBUG_REDZONE opt_vm.h
564
565# Standard SMP options
566SMP opt_global.h
567
568# Size of the kernel message buffer
569MSGBUF_SIZE opt_msgbuf.h
570
571# NFS options
572NFS_MINATTRTIMO opt_nfs.h
573NFS_MAXATTRTIMO opt_nfs.h
574NFS_MINDIRATTRTIMO opt_nfs.h
575NFS_MAXDIRATTRTIMO opt_nfs.h
576NFS_GATHERDELAY opt_nfs.h
577NFS_WDELAYHASHSIZ opt_nfs.h
578NFS_DEBUG opt_nfs.h
579
580# For the Bt848/Bt848A/Bt849/Bt878/Bt879 driver
581OVERRIDE_CARD opt_bktr.h
582OVERRIDE_TUNER opt_bktr.h
583OVERRIDE_DBX opt_bktr.h
584OVERRIDE_MSP opt_bktr.h
585BROOKTREE_SYSTEM_DEFAULT opt_bktr.h
586BROOKTREE_ALLOC_PAGES opt_bktr.h
587BKTR_OVERRIDE_CARD opt_bktr.h
588BKTR_OVERRIDE_TUNER opt_bktr.h
589BKTR_OVERRIDE_DBX opt_bktr.h
590BKTR_OVERRIDE_MSP opt_bktr.h
591BKTR_SYSTEM_DEFAULT opt_bktr.h
592BKTR_ALLOC_PAGES opt_bktr.h
593BKTR_USE_PLL opt_bktr.h
594BKTR_GPIO_ACCESS opt_bktr.h
595BKTR_NO_MSP_RESET opt_bktr.h
596BKTR_430_FX_MODE opt_bktr.h
597BKTR_SIS_VIA_MODE opt_bktr.h
598BKTR_USE_FREEBSD_SMBUS opt_bktr.h
599BKTR_NEW_MSP34XX_DRIVER opt_bktr.h
600
601BREAK_TO_DEBUGGER opt_comconsole.h
602ALT_BREAK_TO_DEBUGGER opt_comconsole.h
603
604# Options to support PPS
605UART_PPS_ON_CTS opt_uart.h
606
607# options for bus/device framework
608BUS_DEBUG opt_bus.h
609
610# options for USB support
611USB_DEBUG opt_usb.h
612USBVERBOSE opt_usb.h
613UKBD_DFLT_KEYMAP opt_ukbd.h
614UPLCOM_INTR_INTERVAL opt_uplcom.h
615UVSCOM_DEFAULT_OPKTSIZE opt_uvscom.h
616UVSCOM_INTR_INTERVAL opt_uvscom.h
617
618# Embedded system options
619INIT_PATH
620
621ROOTDEVNAME
622
623FDC_DEBUG opt_fdc.h
624PCFCLOCK_VERBOSE opt_pcfclock.h
625PCFCLOCK_MAX_RETRIES opt_pcfclock.h
626
627KTR opt_global.h
628KTR_ALQ opt_ktr.h
629KTR_MASK opt_ktr.h
630KTR_CPUMASK opt_ktr.h
631KTR_COMPILE opt_global.h
632KTR_ENTRIES opt_global.h
633KTR_VERBOSE opt_ktr.h
634WITNESS opt_global.h
635WITNESS_KDB opt_witness.h
636WITNESS_SKIPSPIN opt_witness.h
637
638# options for ACPI support
639ACPI_DEBUG opt_acpi.h
640ACPI_MAX_THREADS opt_acpi.h
641ACPI_NO_SEMAPHORES opt_acpi.h
642
643# ISA support
644DEV_ISA opt_isa.h
645ISAPNP opt_isa.h
646
647# various 'device presence' options.
648DEV_BPF opt_bpf.h
649DEV_MCA opt_mca.h
650DEV_CARP opt_carp.h
651DEV_SPLASH opt_splash.h
652
653# EISA support
654DEV_EISA opt_eisa.h
655EISA_SLOTS opt_eisa.h
656
657# ed driver
658ED_HPP opt_ed.h
659ED_3C503 opt_ed.h
660ED_SIC opt_ed.h
661
662# bce driver
663BCE_DEBUG opt_bce.h
664
665# wi driver
666WI_SYMBOL_FIRMWARE opt_wi.h
667
668SOCKBUF_DEBUG opt_global.h
669
670# options for ubsec driver
671UBSEC_DEBUG opt_ubsec.h
672UBSEC_RNDTEST opt_ubsec.h
673UBSEC_NO_RNG opt_ubsec.h
674
675# options for hifn driver
676HIFN_DEBUG opt_hifn.h
677HIFN_RNDTEST opt_hifn.h
678
679# options for safenet driver
680SAFE_DEBUG opt_safe.h
681SAFE_NO_RNG opt_safe.h
682SAFE_RNDTEST opt_safe.h
683
684# syscons options
685MAXCONS opt_syscons.h
686SC_ALT_MOUSE_IMAGE opt_syscons.h
687SC_CUT_SPACES2TABS opt_syscons.h
688SC_CUT_SEPCHARS opt_syscons.h
689SC_DEBUG_LEVEL opt_syscons.h
690SC_DFLT_FONT opt_syscons.h
691SC_DISABLE_KDBKEY opt_syscons.h
692SC_DISABLE_REBOOT opt_syscons.h
693SC_HISTORY_SIZE opt_syscons.h
694SC_KERNEL_CONS_ATTR opt_syscons.h
695SC_KERNEL_CONS_REV_ATTR opt_syscons.h
696SC_MOUSE_CHAR opt_syscons.h
697SC_NO_CUTPASTE opt_syscons.h
698SC_NO_FONT_LOADING opt_syscons.h
699SC_NO_HISTORY opt_syscons.h
700SC_NO_MODE_CHANGE opt_syscons.h
701SC_NO_SUSPEND_VTYSWITCH opt_syscons.h
702SC_NO_SYSMOUSE opt_syscons.h
703SC_NORM_ATTR opt_syscons.h
704SC_NORM_REV_ATTR opt_syscons.h
705SC_PIXEL_MODE opt_syscons.h
706SC_RENDER_DEBUG opt_syscons.h
707SC_TWOBUTTON_MOUSE opt_syscons.h
708
709# options for printf
710PRINTF_BUFR_SIZE opt_printf.h
711
712# kbd options
713KBD_DISABLE_KEYMAP_LOAD opt_kbd.h
714KBD_INSTALL_CDEV opt_kbd.h
715KBD_MAXRETRY opt_kbd.h
716KBD_MAXWAIT opt_kbd.h
717KBD_RESETDELAY opt_kbd.h
718KBDIO_DEBUG opt_kbd.h
719
720# options for the Atheros driver
721ATH_DEBUG opt_ath.h
722ATH_TXBUF opt_ath.h
723ATH_RXBUF opt_ath.h
724ATH_DIAGAPI opt_ath.h
725ATH_TX99_DIAG opt_ath.h
726
727# dcons options
728DCONS_BUF_SIZE opt_dcons.h
729DCONS_POLL_HZ opt_dcons.h
730DCONS_FORCE_CONSOLE opt_dcons.h
731DCONS_FORCE_GDB opt_dcons.h
732
733# Static unit counts
734NI4BTRC opt_i4b.h
735NI4BRBCH opt_i4b.h
736NI4BTEL opt_i4b.h
737#XXXBZ#NI4BIPR opt_i4b.h
738#XXXBZ#NI4BING opt_i4b.h
739#XXXBZ#NI4BISPPP opt_i4b.h
740
741# VFS options
742LOOKUP_SHARED opt_vfs.h
743
744# HWPMC options
745HWPMC_HOOKS
746
747# XBOX options for FreeBSD/i386, but some files are MI
748XBOX opt_xbox.h
749
750# XFS
751XFS
752
753# snd_emu10kx sound driver options
754SND_EMU10KX_MULTICHANNEL opt_emu10kx.h
755
756# Interrupt filtering
757INTR_FILTER opt_global.h