]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/conf/options
Back out last change to sysctl.
[FreeBSD/FreeBSD.git] / sys / conf / options
1 #       $Id: options,v 1.114 1999/01/08 17:31:05 eivind 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 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 ADW_ALLOW_MEMIO         opt_adw.h       # Allow PCI devices to use memory
41                                         # mapped I/O
42
43 # Miscellaneous options.
44 COMPAT_43       opt_compat.h
45 COMPAT_SUNOS    opt_compat.h
46 COMPILING_LINT  opt_lint.h
47 DDB
48 DDB_UNATTENDED  opt_ddb.h
49 GDB_REMOTE_CHAT opt_ddb.h
50 DEVFS
51 FAILSAFE
52 HW_WDOG
53 KTRACE
54 MD5
55 MFS_ROOT        opt_mfs.h
56 MFS_ROOT_SIZE   opt_mfs.h
57 NTIMECOUNTER    opt_ntp.h
58 EXPORTMFS       opt_mfs.h
59 NO_LKM
60 NSWAPDEV        opt_swap.h
61 PPS_SYNC        opt_ntp.h
62 QUOTA
63 SPX_HACK
64 SUIDDIR         opt_suiddir.h
65 SYSVMSG         opt_sysvipc.h
66 SYSVSEM         opt_sysvipc.h
67 SYSVSHM         opt_sysvipc.h
68 UCONSOLE
69 ICMP_BANDLIM
70
71 # POSIX kernel options
72 P1003_1B        opt_posix.h
73 _KPOSIX_PRIORITY_SCHEDULING opt_posix.h
74 _KPOSIX_VERSION opt_posix.h
75
76 # Do we want the config file compiled into the kernel?
77 INCLUDE_CONFIG_FILE     opt_config.h
78
79 # Options for static file systems.  These should only be used at config
80 # time, since the corresponding lkms cannot work if there are any static
81 # dependencies.  Unusability is enforced by hiding the defines for the
82 # options in a never-included header.
83 EXT2FS          opt_dontuse.h
84 FDESC           opt_dontuse.h
85 KERNFS          opt_dontuse.h
86 MFS             opt_dontuse.h
87 MSDOSFS         opt_dontuse.h
88 NULLFS          opt_dontuse.h
89 PORTAL          opt_dontuse.h
90 PROCFS          opt_dontuse.h
91 UMAPFS          opt_dontuse.h
92
93 # These static filesystems has one slightly bogus static dependency in
94 # sys/i386/i386/autoconf.c.  If any of these filesystems are
95 # statically compiled into the kernel, code for mounting them as root
96 # filesystems will be enabled - but look below.  Boot-code is purposely
97 # unavailable for the LKM-based versions.
98 CODA
99 CD9660
100 FFS
101 NFS
102
103 # If you are following the conditions in the copyright, 
104 # you can enable soft-updates which will speed up a lot of thigs 
105 # and make the system safer from crashes at the same time.
106 # otherwise a STUB module will be compiled in.
107 SOFTUPDATES     opt_ffs.h
108
109 # The above static dependencies are planned removed, with a
110 # <filesystem>_ROOT option to control if it usable as root.  This list
111 # allows these options to be present in config files already (though
112 # they won't make any difference yet).
113 CD9660_ROOT     opt_cd9660.h
114 FFS_ROOT        opt_ffs.h
115 NFS_ROOT        opt_nfsroot.h
116
117 # Multi-session CD-Rs might require a huge amount of time in order to
118 # "settle".  If we are about mounting them as the root f/s, we gotta
119 # wait a little.
120 CD9660_ROOTDELAY        opt_cd9660.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 MAXUSERS        opt_param.h
128 MSGMNB          opt_param.h
129 MSGMNI          opt_param.h
130 MSGSEG          opt_param.h
131 MSGSSZ          opt_param.h
132 MSGTQL          opt_param.h
133 NBUF            opt_param.h
134 NMBCLUSTERS     opt_param.h
135 NSFBUFS         opt_param.h
136 SEMMAP          opt_param.h
137 SEMMNI          opt_param.h
138 SEMMNS          opt_param.h
139 SEMMNU          opt_param.h
140 SEMMSL          opt_param.h
141 SEMOPM          opt_param.h
142 SEMUME          opt_param.h
143 SHMALL          opt_param.h
144 SHMMAX          opt_param.h
145 SHMMAXPGS       opt_param.h
146 SHMMIN          opt_param.h
147 SHMMNI          opt_param.h
148 SHMSEG          opt_param.h
149
150 # Generic SCSI options.
151 CAM_MAX_HIGHPOWER       opt_cam.h
152 CAMDEBUG                opt_cam.h
153 CAM_DEBUG_BUS           opt_cam.h
154 CAM_DEBUG_TARGET        opt_cam.h
155 CAM_DEBUG_LUN           opt_cam.h
156 CAM_DEBUG_FLAGS         opt_cam.h
157 SCSI_DELAY              opt_scsi.h
158 SCSI_REPORT_GEOMETRY    opt_scsi.h
159 SCSI_NO_SENSE_STRINGS   opt_scsi.h
160 SCSI_NO_OP_STRINGS      opt_scsi.h
161
162 # Options used only in cam/scsi/scsi_cd.c
163 CHANGER_MIN_BUSY_SECONDS        opt_cd.h
164 CHANGER_MAX_BUSY_SECONDS        opt_cd.h
165
166 # Options used only in cam/scsi/sa.c.
167 SA_SPACE_TIMEOUT        opt_sa.h
168 SA_REWIND_TIMEOUT       opt_sa.h
169 SA_ERASE_TIMEOUT        opt_sa.h
170
171 # Options used only in pci/ncr.c
172 SCSI_NCR_DEBUG          opt_ncr.h
173 SCSI_NCR_DFLT_TAGS      opt_ncr.h
174 SCSI_NCR_MAX_SYNC       opt_ncr.h
175 SCSI_NCR_MAX_WIDE       opt_ncr.h
176 SCSI_NCR_MYADDR         opt_ncr.h
177
178 # Resource limits.
179 DFLDSIZ                 opt_rlimit.h
180 MAXDSIZ                 opt_rlimit.h
181
182 # Net stuff.
183 BOOTP                   opt_bootp.h
184 BOOTP_COMPAT            opt_bootp.h
185 BOOTP_NFSROOT           opt_bootp.h
186 BOOTP_NFSV3             opt_bootp.h
187 BOOTP_WIRED_TO          opt_bootp.h
188 BRIDGE                  opt_bdg.h
189 MROUTING                opt_mrouting.h
190 INET                    opt_inet.h
191 IPDIVERT
192 DUMMYNET                opt_ipdn.h
193 IPFIREWALL              opt_ipfw.h
194 IPFIREWALL_VERBOSE      opt_ipfw.h
195 IPFIREWALL_VERBOSE_LIMIT        opt_ipfw.h
196 IPFIREWALL_DEFAULT_TO_ACCEPT    opt_ipfw.h
197 IPFIREWALL_FORWARD              opt_ipfw.h
198 IPX                     opt_ipx.h
199 IPXIP                   opt_ipx.h
200 IPTUNNEL                opt_ipx.h
201 NETATALK                opt_atalk.h
202 PPP_BSDCOMP             opt_ppp.h
203 PPP_DEFLATE             opt_ppp.h
204 PPP_FILTER              opt_ppp.h
205 TCP_COMPAT_42           opt_compat.h
206 TCPDEBUG
207 IPFILTER                opt_ipfilter.h
208 IPFILTER_LOG            opt_ipfilter.h
209 IPFILTER_LKM            opt_ipfilter.h
210
211 # ATM (HARP version)
212 ATM_CORE                opt_atm.h
213 ATM_IP                  opt_atm.h
214 ATM_SIGPVC              opt_atm.h
215 ATM_SPANS               opt_atm.h
216 ATM_UNI                 opt_atm.h
217
218 # XXX Conflict: # of devices vs network protocol (Native ATM).
219 # This makes "atm.h" unusable.
220 NATM                    opt_natm.h
221
222 DPT_ALLOW_MEMIO         opt_dpt.h       # Allow PCI devices to use memory
223                                         # mapped I/O
224 # DPT driver debug flags
225 DPT_VERIFY_HINTR        opt_dpt.h
226 DPT_USE_SINTR           opt_dpt.h
227 DPT_RESTRICTED_FREELIST opt_dpt.h
228 DPT_MEASURE_PERFORMANCE opt_dpt.h
229 DPT_FREELIST_IS_STACK   opt_dpt.h
230 DPT_HANDLE_TIMEOUTS     opt_dpt.h
231 DPT_TIMEOUT_FACTOR      opt_dpt.h
232 DPT_INTR_DELAY          opt_dpt.h
233 DPT_LOST_IRQ            opt_dpt.h
234 DPT_SHUTDOWN_SLEEP      opt_dpt.h
235 DPT_RESET_HBA           opt_dpt.h
236
237 # Misc debug flags.  Most of these should probably be replaced with
238 # 'DEBUG', and then let people recompile just the interesting modules
239 # with 'make CC="cc -DDEBUG'.
240 CLUSTERDEBUG            opt_debug_cluster.h
241 DEBUG_1284              opt_debug_1284.h
242 LOCKF_DEBUG             opt_debug_lockf.h
243 LOUTB                   opt_debug_outb.h
244 NPX_DEBUG               opt_debug_npx.h
245 NETATALKDEBUG           opt_atalk.h
246 NULLFS_DIAGNOSTIC       opt_debug_nullfs.h
247 SI_DEBUG                opt_debug_si.h
248
249
250 # These cause changes all over the kernel
251 DEBUG                   opt_global.h
252 DEBUG_VFS_LOCKS         opt_global.h
253 DIAGNOSTIC              opt_global.h
254 ENABLE_VFS_IOOPT        opt_global.h
255 INVARIANT_SUPPORT       opt_global.h
256 INVARIANTS              opt_global.h
257 SIMPLELOCK_DEBUG        opt_global.h
258 VFS_BIO_DEBUG           opt_global.h
259
260 # These are VM related options
261 VM_KMEM_SIZE    opt_vm.h
262 VM_KMEM_SIZE_SCALE opt_vm.h
263 VM_KMEM_SIZE_MAX        opt_vm.h
264 NO_SWAPPING     opt_vm.h
265 PQ_NOOPT        opt_vmpage.h
266 PQ_NORMALCACHE  opt_vmpage.h
267 PQ_MEDIUMCACHE  opt_vmpage.h
268 PQ_LARGECACHE   opt_vmpage.h
269 PQ_HUGECACHE    opt_vmpage.h
270
271 # Standard SMP options
272 SMP                     opt_global.h
273 NCPU                    opt_smp.h
274 NBUS                    opt_smp.h
275
276 # sys/netkey
277 KEY
278 KEY_DEBUG               opt_key.h
279
280 # Size of the kernel message buffer
281 MSGBUF_SIZE             opt_msgbuf.h
282
283 # PCI related options
284 PCI_QUIET               opt_pci.h
285
286 # NFS options
287 NFS_MINATTRTIMO         opt_nfs.h
288 NFS_MAXATTRTIMO         opt_nfs.h
289 NFS_MINDIRATTRTIMO      opt_nfs.h
290 NFS_MAXDIRATTRTIMO      opt_nfs.h
291 NFS_GATHERDELAY         opt_nfs.h
292 NFS_UIDHASHSIZ          opt_nfs.h
293 NFS_WDELAYHASHSIZ       opt_nfs.h
294 NFS_MUIDHASHSIZ         opt_nfs.h
295 NFS_NOSERVER            opt_nfs.h
296 NFS_DEBUG               opt_nfs.h
297
298 # give bktr an opt_bktr.h file
299 OVERRIDE_CARD           opt_bktr.h
300 OVERRIDE_TUNER          opt_bktr.h
301 OVERRIDE_DBX            opt_bktr.h
302 OVERRIDE_MSP            opt_bktr.h
303 BROOKTREE_SYSTEM_DEFAULT opt_bktr.h
304 BKTR_USE_PLL            opt_bktr.h
305
306
307 # meteor opt_meteor.h
308 METEOR_ALLOC_PAGES      opt_meteor.h
309 METEOR_TEST_VIDEO       opt_meteor.h
310 METEOR_SYSTEM_DEFAULT   opt_meteor.h
311 METEOR_DEALLOC_PAGES    opt_meteor.h
312 METEOR_DEALLOC_ABOVE    opt_meteor.h
313
314 # Include tweaks for running under the SimOS machine simulator.
315 SIMOS                   opt_simos.h
316
317 # options for bus/device framework
318 BUS_DEBUG               opt_bus.h
319
320 # options for USB support
321 USB_DEBUG               opt_usb.h
322 USBVERBOSE              opt_usb.h
323
324 # Vinum options
325 VINUMDEBUG              opt_vinum.h