1 # $Id: options,v 1.114 1999/01/08 17:31:05 eivind Exp $
3 # On the handling of kernel options
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
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.
24 # This handling scheme is not yet fully implemented.
27 # Format of this file:
28 # Option name filename
30 # If filename is missing, the default is
31 # opt_<name-of-option-in-lower-case>.h
33 # Adaptec aic7xxx SCSI controller options
34 AHC_ALLOW_MEMIO opt_aic7xxx.h # Allow PCI devices to use memory
37 AHC_TMODE_ENABLE opt_aic7xxx.h # Bitmap of units to enable
38 # targetmode operations.
40 ADW_ALLOW_MEMIO opt_adw.h # Allow PCI devices to use memory
43 # Miscellaneous options.
44 COMPAT_43 opt_compat.h
45 COMPAT_SUNOS opt_compat.h
46 COMPILING_LINT opt_lint.h
48 DDB_UNATTENDED opt_ddb.h
49 GDB_REMOTE_CHAT opt_ddb.h
56 MFS_ROOT_SIZE opt_mfs.h
57 NTIMECOUNTER opt_ntp.h
71 # POSIX kernel options
73 _KPOSIX_PRIORITY_SCHEDULING opt_posix.h
74 _KPOSIX_VERSION opt_posix.h
76 # Do we want the config file compiled into the kernel?
77 INCLUDE_CONFIG_FILE opt_config.h
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.
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.
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
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
115 NFS_ROOT opt_nfsroot.h
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
120 CD9660_ROOTDELAY opt_cd9660.h
122 # The union static file system has bogus static dependencies, so it isn't
126 # Options used only in param.c.
134 NMBCLUSTERS opt_param.h
145 SHMMAXPGS opt_param.h
150 # Generic SCSI options.
151 CAM_MAX_HIGHPOWER 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
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
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
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
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
189 MROUTING opt_mrouting.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
202 PPP_BSDCOMP opt_ppp.h
203 PPP_DEFLATE opt_ppp.h
205 TCP_COMPAT_42 opt_compat.h
207 IPFILTER opt_ipfilter.h
208 IPFILTER_LOG opt_ipfilter.h
209 IPFILTER_LKM opt_ipfilter.h
218 # XXX Conflict: # of devices vs network protocol (Native ATM).
219 # This makes "atm.h" unusable.
222 DPT_ALLOW_MEMIO opt_dpt.h # Allow PCI devices to use memory
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
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
250 # These cause changes all over the kernel
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
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
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
271 # Standard SMP options
280 # Size of the kernel message buffer
281 MSGBUF_SIZE opt_msgbuf.h
283 # PCI related 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
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
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
314 # Include tweaks for running under the SimOS machine simulator.
317 # options for bus/device framework
320 # options for USB support
325 VINUMDEBUG opt_vinum.h