Initial import from FreeBSD RELENG_4:
[games.git] / sys / conf / options
1 # $FreeBSD: src/sys/conf/options,v 1.191.2.53 2003/06/04 17:56:58 sam Exp $
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 Array Controller driver options
34 AAC_COMPAT_LINUX        opt_aac.h       # Enable the linux ioctl interface
35
36 AAC_DEBUG               opt_aac.h       # Debugging levels:
37                                         # 0 - quiet, only emit warnings
38                                         # 1 - noisy, emit major function
39                                         #     points and things done
40                                         # 2 - extremely noisy, emit trace
41                                         #     items in loops, etc.
42
43 # Adaptec aic7xxx SCSI controller options
44 AHC_ALLOW_MEMIO         opt_aic7xxx.h   # Allow PCI devices to use memory
45                                         # mapped I/O
46
47 AHC_TMODE_ENABLE        opt_aic7xxx.h   # Bitmap of units to enable
48                                         # targetmode operations.
49
50 AHC_DUMP_EEPROM         opt_aic7xxx.h   # Dump the contents of our
51                                         # configuration prom.
52
53 AHC_DEBUG               opt_aic7xxx.h   # Compile in Aic7xxx Debugging code.
54
55 AHC_DEBUG_OPTS          opt_aic7xxx.h   # Aic7xxx driver debugging options.
56                                         # See sys/dev/aic7xxx/aic7xxx.h
57
58 AHC_REG_PRETTY_PRINT    opt_aic7xxx.h   # Print register bitfields in debug
59                                         # output.  Adds ~15k to driver.
60
61 # Adaptec aic79xx SCSI controller options
62 AHD_DEBUG               opt_aic79xx.h   # Compile in Aic79xx Debugging code.
63
64 AHD_DEBUG_OPTS          opt_aic79xx.h   # Aic79xx driver debugging options.
65                                         # See sys/dev/aic7xxx/aic79xx.h
66
67 AHD_TMODE_ENABLE        opt_aic79xx.h   # Bitmap of units to enable
68                                         # targetmode operations.
69
70 AHD_REG_PRETTY_PRINT    opt_aic79xx.h   # Print register bitfields in debug
71                                         # output.  Adds ~15k to driver.
72
73 ADW_ALLOW_MEMIO         opt_adw.h       # Allow PCI devices to use memory
74                                         # mapped I/O
75
76 # Miscellaneous options.
77 COMPAT_43       opt_compat.h
78 COMPAT_SUNOS    opt_compat.h
79 COMPILING_LINT  opt_lint.h
80 CY_PCI_FASTINTR
81 DDB
82 DDB_UNATTENDED  opt_ddb.h
83 GDB_REMOTE_CHAT opt_ddb.h
84 HW_WDOG
85 KTRACE
86 LIBICONV
87 MD_NSECT        opt_md.h
88 MD_ROOT         opt_md.h
89 MD_ROOT_SIZE    opt_md.h
90 MFS_ROOT        opt_mfs.h
91 MFS_ROOT_SIZE   opt_mfs.h
92 NTIMECOUNTER    opt_ntp.h
93 NSWAPDEV        opt_swap.h
94 NSWBUF_MIN      opt_swap.h
95 PPS_SYNC        opt_ntp.h
96 QUOTA
97 SPX_HACK
98 SUIDDIR         opt_suiddir.h
99 SYSVMSG         opt_sysvipc.h
100 SYSVSEM         opt_sysvipc.h
101 SYSVSHM         opt_sysvipc.h
102 SHMALL          opt_sysvipc.h
103 SHMMAX          opt_sysvipc.h
104 SHMMAXPGS       opt_sysvipc.h
105 SHMMIN          opt_sysvipc.h
106 SHMMNI          opt_sysvipc.h
107 SHMSEG          opt_sysvipc.h
108 SEMMAP          opt_sysvipc.h
109 SEMMNI          opt_sysvipc.h
110 SEMMNS          opt_sysvipc.h
111 SEMMNU          opt_sysvipc.h
112 SEMMSL          opt_sysvipc.h
113 SEMOPM          opt_sysvipc.h
114 SEMUME          opt_sysvipc.h
115 MSGMNB          opt_sysvipc.h
116 MSGMNI          opt_sysvipc.h
117 MSGSEG          opt_sysvipc.h
118 MSGSSZ          opt_sysvipc.h
119 MSGTQL          opt_sysvipc.h
120 UCONSOLE
121 ICMP_BANDLIM
122 VFS_AIO
123 DIRECTIO        opt_directio.h
124
125 # POSIX kernel options
126 P1003_1B                        opt_posix.h
127 _KPOSIX_PRIORITY_SCHEDULING     opt_posix.h
128 _KPOSIX_VERSION                 opt_posix.h
129
130 # Do we want the config file compiled into the kernel?
131 INCLUDE_CONFIG_FILE     opt_config.h
132
133 # Options for static file systems.  These should only be used at config
134 # time, since the corresponding lkms cannot work if there are any static
135 # dependencies.  Unusability is enforced by hiding the defines for the
136 # options in a never-included header.
137 EXT2FS          opt_dontuse.h
138 FDESC           opt_dontuse.h
139 KERNFS          opt_dontuse.h
140 MFS             opt_dontuse.h
141 MSDOSFS         opt_dontuse.h
142 NULLFS          opt_dontuse.h
143 PORTAL          opt_dontuse.h
144 PROCFS          opt_dontuse.h
145 UMAPFS          opt_dontuse.h
146 NTFS            opt_dontuse.h
147
148 # These static filesystems has one slightly bogus static dependency in
149 # sys/i386/i386/autoconf.c.  If any of these filesystems are
150 # statically compiled into the kernel, code for mounting them as root
151 # filesystems will be enabled - but look below.  Boot-code is purposely
152 # unavailable for the LKM-based versions.
153 CODA
154 CD9660
155 FFS
156 NFS
157 NWFS
158
159 # If you are following the conditions in the copyright,
160 # you can enable soft-updates which will speed up a lot of thigs
161 # and make the system safer from crashes at the same time.
162 # otherwise a STUB module will be compiled in.
163 SOFTUPDATES     opt_ffs.h
164
165 # Enable fast hash lookups for large directories on UFS-based filesystems.
166 UFS_DIRHASH     opt_ufs.h
167
168 # The above static dependencies are planned removed, with a
169 # <filesystem>_ROOT option to control if it usable as root.  This list
170 # allows these options to be present in config files already (though
171 # they won't make any difference yet).
172 CD9660_ROOT     opt_cd9660.h
173 FFS_ROOT        opt_ffs.h
174 NFS_ROOT        opt_nfsroot.h
175
176 # The union static file system has bogus static dependencies, so it isn't
177 # hidden yet.
178 UNION
179
180 # Options used only in subr_param.c.
181 HZ              opt_param.h
182 MAXFILES        opt_param.h
183 NBUF            opt_param.h
184 NMBCLUSTERS     opt_param.h
185 NMBUFS          opt_param.h
186 NSFBUFS         opt_param.h
187 VM_BCACHE_SIZE_MAX      opt_param.h
188 VM_SWZONE_SIZE_MAX      opt_param.h
189 MAXUSERS
190 DFLDSIZ         opt_param.h
191 MAXDSIZ         opt_param.h
192 MAXSSIZ         opt_param.h
193
194 # Generic SCSI options.
195 CAM_MAX_HIGHPOWER       opt_cam.h
196 CAMDEBUG                opt_cam.h
197 CAM_DEBUG_DELAY         opt_cam.h
198 CAM_DEBUG_BUS           opt_cam.h
199 CAM_DEBUG_TARGET        opt_cam.h
200 CAM_DEBUG_LUN           opt_cam.h
201 CAM_DEBUG_FLAGS         opt_cam.h
202 SCSI_DELAY              opt_scsi.h
203 SCSI_NO_SENSE_STRINGS   opt_scsi.h
204 SCSI_NO_OP_STRINGS      opt_scsi.h
205
206 # Options used only in cam/scsi/scsi_cd.c
207 CHANGER_MIN_BUSY_SECONDS        opt_cd.h
208 CHANGER_MAX_BUSY_SECONDS        opt_cd.h
209
210 # Options used only in cam/scsi/scsi_sa.c.
211 SA_IO_TIMEOUT           opt_sa.h
212 SA_SPACE_TIMEOUT        opt_sa.h
213 SA_REWIND_TIMEOUT       opt_sa.h
214 SA_ERASE_TIMEOUT        opt_sa.h
215 SA_1FM_AT_EOD           opt_sa.h
216
217 # Options used only in cam/scsi/scsi_pt.c
218 SCSI_PT_DEFAULT_TIMEOUT opt_pt.h
219
220 # Options used only in cam/scsi/scsi_ses.c
221 SES_ENABLE_PASSTHROUGH  opt_ses.h
222
223 # Options used in dev/sym/ (Symbios SCSI driver).
224 SYM_SETUP_LP_PROBE_MAP  opt_sym.h       #-Low Priority Probe Map (bits)
225                                         # Allows the ncr to take precedence
226                                         # 1 (1<<0) -> 810a, 860
227                                         # 2 (1<<1) -> 825a, 875, 885, 895
228                                         # 4 (1<<2) -> 895a, 896, 1510d 
229 SYM_SETUP_SCSI_DIFF     opt_sym.h       #-HVD support for 825a, 875, 885
230                                         # disabled:0 (default), enabled:1
231 SYM_SETUP_PCI_PARITY    opt_sym.h       #-PCI parity checking
232                                         # disabled:0, enabled:1 (default)
233 SYM_SETUP_MAX_LUN       opt_sym.h       #-Number of LUNs supported
234                                         # default:8, range:[1..64]
235
236 # Options used only in pci/ncr.c
237 SCSI_NCR_DEBUG          opt_ncr.h
238 SCSI_NCR_MAX_SYNC       opt_ncr.h
239 SCSI_NCR_MAX_WIDE       opt_ncr.h
240 SCSI_NCR_MYADDR         opt_ncr.h
241
242 # Options used only in pci/isp_pci.c
243 ISP_TARGET_MODE         opt_isp.h
244
245 # Options used in the 'ata' ATA/ATAPI driver
246 ATA_STATIC_ID           opt_ata.h
247
248 # Net stuff.
249 ACCEPT_FILTER_DATA
250 ACCEPT_FILTER_HTTP
251 BOOTP                   opt_bootp.h
252 BOOTP_COMPAT            opt_bootp.h
253 BOOTP_NFSROOT           opt_bootp.h
254 BOOTP_NFSV3             opt_bootp.h
255 BOOTP_WIRED_TO          opt_bootp.h
256 BRIDGE                  opt_bdg.h
257 ETHER_II                opt_ef.h
258 ETHER_8023              opt_ef.h
259 ETHER_8022              opt_ef.h
260 ETHER_SNAP              opt_ef.h
261 MROUTING                opt_mrouting.h
262 INET                    opt_inet.h
263 INET6                   opt_inet6.h
264 IPSEC                   opt_ipsec.h
265 IPSEC_ESP               opt_ipsec.h
266 IPSEC_DEBUG             opt_ipsec.h
267 IPSEC_FILTERGIF         opt_ipsec.h
268 FAST_IPSEC              opt_ipsec.h
269 IPDIVERT
270 DUMMYNET                opt_ipdn.h
271 IPFILTER                opt_ipfilter.h
272 IPFILTER_LOG            opt_ipfilter.h
273 IPFILTER_DEFAULT_BLOCK  opt_ipfilter.h
274 IPFIREWALL              opt_ipfw.h
275 IPFW2                   opt_ipfw.h
276 IPFIREWALL_VERBOSE      opt_ipfw.h
277 IPFIREWALL_VERBOSE_LIMIT        opt_ipfw.h
278 IPFIREWALL_DEFAULT_TO_ACCEPT    opt_ipfw.h
279 IPFIREWALL_FORWARD              opt_ipfw.h
280 IPV6FIREWALL            opt_ip6fw.h
281 IPV6FIREWALL_VERBOSE    opt_ip6fw.h
282 IPV6FIREWALL_VERBOSE_LIMIT      opt_ip6fw.h
283 IPV6FIREWALL_DEFAULT_TO_ACCEPT  opt_ip6fw.h
284 IPSTEALTH
285 IPX                     opt_ipx.h
286 IPXIP                   opt_ipx.h
287 IPTUNNEL                opt_ipx.h
288 LIBMCHAIN
289 NCP                     opt_ncp.h
290 NETATALK                opt_atalk.h
291 NS                      opt_ns.h
292 PPP_BSDCOMP             opt_ppp.h
293 PPP_DEFLATE             opt_ppp.h
294 PPP_FILTER              opt_ppp.h
295 RANDOM_IP_ID
296 SLIP_IFF_OPTS           opt_slip.h
297 TCPDEBUG
298 TCP_DROP_SYNFIN         opt_tcp_input.h
299 XBONEHACK
300 MBUF_STRESS_TEST        opt_mbuf_stress_test.h
301
302 # Netgraph(4). Use option NETGRAPH to enable the base netgraph code.
303 # Each netgraph node type can be either be compiled into the kernel
304 # or loaded dynamically. To get the former, include the corresponding
305 # option below. Each type has its own man page, e.g. ng_async(8).
306 NETGRAPH
307 NETGRAPH_ASYNC          opt_netgraph.h
308 NETGRAPH_BPF            opt_netgraph.h
309 NETGRAPH_BRIDGE         opt_netgraph.h
310 NETGRAPH_CISCO          opt_netgraph.h
311 NETGRAPH_ECHO           opt_netgraph.h
312 NETGRAPH_ETHER          opt_netgraph.h
313 NETGRAPH_FRAME_RELAY    opt_netgraph.h
314 NETGRAPH_HOLE           opt_netgraph.h
315 NETGRAPH_IFACE          opt_netgraph.h
316 NETGRAPH_KSOCKET        opt_netgraph.h
317 NETGRAPH_LMI            opt_netgraph.h
318 NETGRAPH_L2TP           opt_netgraph.h
319 # MPPC compression requires proprietary files (not included)
320 NETGRAPH_MPPC_COMPRESSION       opt_netgraph.h
321 NETGRAPH_MPPC_ENCRYPTION        opt_netgraph.h
322 NETGRAPH_ONE2MANY       opt_netgraph.h
323 NETGRAPH_PPP            opt_netgraph.h
324 NETGRAPH_PPPOE          opt_netgraph.h
325 NETGRAPH_PPTPGRE        opt_netgraph.h
326 NETGRAPH_RFC1490        opt_netgraph.h
327 NETGRAPH_SOCKET         opt_netgraph.h
328 NETGRAPH_TEE            opt_netgraph.h
329 NETGRAPH_TTY            opt_netgraph.h
330 NETGRAPH_UI             opt_netgraph.h
331 NETGRAPH_VJC            opt_netgraph.h
332
333 # DRM options
334 DRM_DEBUG               opt_drm.h
335
336 # ATM (HARP version)
337 ATM_CORE                opt_atm.h
338 ATM_IP                  opt_atm.h
339 ATM_SIGPVC              opt_atm.h
340 ATM_SPANS               opt_atm.h
341 ATM_UNI                 opt_atm.h
342
343 # XXX Conflict: # of devices vs network protocol (Native ATM).
344 # This makes "atm.h" unusable.
345 NATM                    opt_natm.h
346
347 DPT_ALLOW_MEMIO         opt_dpt.h       # Allow PCI devices to use memory
348                                         # mapped I/O
349 # DPT driver debug flags
350 DPT_MEASURE_PERFORMANCE opt_dpt.h
351 DPT_HANDLE_TIMEOUTS     opt_dpt.h
352 DPT_TIMEOUT_FACTOR      opt_dpt.h
353 DPT_LOST_IRQ            opt_dpt.h
354 DPT_RESET_HBA           opt_dpt.h
355
356 # Adaptec ASR and DPT V/VI controller options
357 ASR_MEASURE_PERFORMANCE opt_asr.h
358
359 # Misc debug flags.  Most of these should probably be replaced with
360 # 'DEBUG', and then let people recompile just the interesting modules
361 # with 'make CC="cc -DDEBUG"'.
362 CLUSTERDEBUG            opt_debug_cluster.h
363 DEBUG_1284              opt_ppb_1284.h
364 VP0_DEBUG               opt_vpo.h
365 LPT_DEBUG               opt_lpt.h
366 PLIP_DEBUG              opt_plip.h
367 LOCKF_DEBUG             opt_debug_lockf.h
368 LOUTB                   opt_debug_outb.h
369 NPX_DEBUG               opt_debug_npx.h
370 NETATALKDEBUG           opt_atalk.h
371 SI_DEBUG                opt_debug_si.h
372
373 # Fb options
374 FB_DEBUG                opt_fb.h
375 FB_INSTALL_CDEV         opt_fb.h
376
377 # ppbus related options
378 PERIPH_1284             opt_ppb_1284.h
379 DONTPROBE_1284          opt_ppb_1284.h
380
381 # smbus related options
382 ENABLE_ALART            opt_intpm.h
383
384 # These cause changes all over the kernel
385 BLKDEV_IOSIZE           opt_global.h
386 DEBUG                   opt_global.h
387 DEBUG_LOCKS             opt_global.h
388 DEBUG_VFS_LOCKS         opt_global.h
389 DIAGNOSTIC              opt_global.h
390 ENABLE_VFS_IOOPT        opt_global.h
391 INVARIANT_SUPPORT       opt_global.h
392 INVARIANTS              opt_global.h
393 SIMPLELOCK_DEBUG        opt_global.h
394 VFS_BIO_DEBUG           opt_global.h
395
396 # These are VM related options
397 VM_KMEM_SIZE            opt_vm.h
398 VM_KMEM_SIZE_SCALE      opt_vm.h
399 VM_KMEM_SIZE_MAX        opt_vm.h
400 NO_SWAPPING             opt_vm.h
401 PQ_NOOPT                opt_vmpage.h
402 PQ_NORMALCACHE          opt_vmpage.h
403 PQ_MEDIUMCACHE          opt_vmpage.h
404 PQ_LARGECACHE           opt_vmpage.h
405 PQ_HUGECACHE            opt_vmpage.h
406 PQ_CACHESIZE            opt_vmpage.h
407
408 # Standard SMP options
409 SMP                     opt_global.h
410
411 # sys/netkey
412 KEY
413
414 # Size of the kernel message buffer
415 MSGBUF_SIZE             opt_msgbuf.h
416
417 # PCI related options
418 PCI_QUIET               opt_pci.h
419 PCI_ENABLE_IO_MODES     opt_pci.h
420
421 # NFS options
422 NFS_MINATTRTIMO         opt_nfs.h
423 NFS_MAXATTRTIMO         opt_nfs.h
424 NFS_MINDIRATTRTIMO      opt_nfs.h
425 NFS_MAXDIRATTRTIMO      opt_nfs.h
426 NFS_GATHERDELAY         opt_nfs.h
427 NFS_UIDHASHSIZ          opt_nfs.h
428 NFS_WDELAYHASHSIZ       opt_nfs.h
429 NFS_MUIDHASHSIZ         opt_nfs.h
430 NFS_NOSERVER            opt_nfs.h
431 NFS_DEBUG               opt_nfs.h
432
433 # For the Bt848/Bt848A/Bt849/Bt878/Bt879 driver
434 OVERRIDE_CARD                   opt_bktr.h
435 OVERRIDE_TUNER                  opt_bktr.h
436 OVERRIDE_DBX                    opt_bktr.h
437 OVERRIDE_MSP                    opt_bktr.h
438 BROOKTREE_SYSTEM_DEFAULT        opt_bktr.h
439 BROOKTREE_ALLOC_PAGES           opt_bktr.h
440 BKTR_OVERRIDE_CARD              opt_bktr.h
441 BKTR_OVERRIDE_TUNER             opt_bktr.h
442 BKTR_OVERRIDE_DBX               opt_bktr.h
443 BKTR_OVERRIDE_MSP               opt_bktr.h
444 BKTR_SYSTEM_DEFAULT             opt_bktr.h
445 BKTR_ALLOC_PAGES                opt_bktr.h
446 BKTR_USE_PLL                    opt_bktr.h      
447 BKTR_GPIO_ACCESS                opt_bktr.h
448 BKTR_NO_MSP_RESET               opt_bktr.h
449 BKTR_430_FX_MODE                opt_bktr.h
450 BKTR_SIS_VIA_MODE               opt_bktr.h
451
452 # meteor opt_meteor.h
453 METEOR_ALLOC_PAGES      opt_meteor.h
454 METEOR_TEST_VIDEO       opt_meteor.h
455 METEOR_SYSTEM_DEFAULT   opt_meteor.h
456 METEOR_DEALLOC_PAGES    opt_meteor.h
457 METEOR_DEALLOC_ABOVE    opt_meteor.h
458
459 # Various mi ISA bus flags
460 COM_ESP                 opt_sio.h
461 COM_MULTIPORT           opt_sio.h
462 BREAK_TO_DEBUGGER       opt_comconsole.h
463 ALT_BREAK_TO_DEBUGGER   opt_comconsole.h
464
465 # Include tweaks for running under the SimOS machine simulator.
466 SIMOS                   opt_simos.h
467
468 # options for bus/device framework
469 BUS_DEBUG               opt_bus.h
470 DEVICE_SYSCTLS          opt_bus.h
471
472 # options for USB support
473 UHCI_DEBUG              opt_usb.h
474 OHCI_DEBUG              opt_usb.h
475 USB_DEBUG               opt_usb.h
476 UGEN_DEBUG              opt_usb.h
477 UHID_DEBUG              opt_usb.h
478 UHUB_DEBUG              opt_usb.h
479 UKBD_DEBUG              opt_usb.h
480 ULPT_DEBUG              opt_usb.h
481 UMASS_DEBUG             opt_usb.h
482 UMS_DEBUG               opt_usb.h
483
484 # Vinum options
485 VINUMDEBUG              opt_vinum.h
486
487 # Embedded system options
488 UKBD_DFLT_KEYMAP        opt_ukbd.h
489 INIT_PATH               opt_init_path.h
490
491 ROOTDEVNAME             opt_rootdevname.h
492
493 FDC_DEBUG               opt_fdc.h
494 PCFCLOCK_VERBOSE        opt_pcfclock.h
495 PCFCLOCK_MAX_RETRIES    opt_pcfclock.h
496
497 # Polling device handling
498 DEVICE_POLLING          opt_global.h
499
500 # options for ubsec driver
501 UBSEC_DEBUG             opt_ubsec.h
502 UBSEC_RNDTEST           opt_ubsec.h
503 UBSEC_NO_RNG            opt_ubsec.h
504
505 # options for hifn driver
506 HIFN_DEBUG              opt_hifn.h
507 HIFN_RNDTEST            opt_hifn.h
508 HIFN_NO_RNG             opt_hifn.h