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