1998-04-20 03:57:41 +00:00
|
|
|
# $Id: options,v 1.70 1998/03/28 11:49:16 dufault Exp $
|
1998-03-10 15:55:38 +00:00
|
|
|
#
|
|
|
|
# On the handling of kernel options
|
|
|
|
#
|
|
|
|
# All kernel options should be listed in LINT, with suitable
|
|
|
|
# descriptions. Negative options (options that make some code not
|
|
|
|
# compile) should be commented out; LINT should compile as much code
|
|
|
|
# as possible. Try to structure option-using code so that a single
|
|
|
|
# option only switch code on, or only switch code off, to make it
|
|
|
|
# possible to have a full compile-test. If necessary, you can include
|
|
|
|
# "opt_lint.h" and check for COMPILING_LINT to get maximum code
|
|
|
|
# coverage.
|
|
|
|
#
|
|
|
|
# All new options shall also be listed in either "conf/options" or
|
|
|
|
# "<machine>/conf/options.<machine>". Options that affect a single
|
|
|
|
# source-file <xxx>.[c|s] should be directed into "opt_<xxx>.h", while
|
|
|
|
# options that affect multiple files should either go in
|
|
|
|
# "opt_global.h" if this is a kernel-wide option (used just about
|
|
|
|
# everywhere), or in "opt_<option-name-in-lower-case>.h" if it affect
|
|
|
|
# only some files. Note that the effect of listing only an option
|
|
|
|
# without a header-file-name in conf/options (and cousins) is that the
|
|
|
|
# last convention is followed.
|
|
|
|
#
|
|
|
|
# This handling scheme is not yet fully implemented.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Format of this file:
|
1996-03-02 18:24:13 +00:00
|
|
|
# Option name filename
|
1998-03-10 15:55:38 +00:00
|
|
|
#
|
|
|
|
# If filename is missing, the default is
|
|
|
|
# opt_<name-of-option-in-lower-case>.h
|
1996-03-29 13:51:30 +00:00
|
|
|
|
1996-12-23 18:42:02 +00:00
|
|
|
# Miscellaneous options.
|
1996-01-05 20:12:53 +00:00
|
|
|
BOUNCE_BUFFERS opt_bounce.h
|
1998-01-25 04:13:25 +00:00
|
|
|
COMPAT_43 opt_compat.h
|
|
|
|
COMPAT_SUNOS opt_compat.h
|
1998-02-04 04:41:37 +00:00
|
|
|
COMPILING_LINT opt_lint.h
|
1996-01-04 21:13:23 +00:00
|
|
|
DDB
|
1996-05-05 02:26:57 +00:00
|
|
|
DDB_UNATTENDED opt_ddb.h
|
1997-06-04 16:44:29 +00:00
|
|
|
GDB_REMOTE_CHAT opt_ddb.h
|
1998-01-24 02:54:56 +00:00
|
|
|
DEVFS
|
1998-04-20 03:57:41 +00:00
|
|
|
SLICE opt_devfs.h
|
1996-12-23 18:42:02 +00:00
|
|
|
DEVFS_ROOT opt_devfs.h
|
1998-02-04 03:47:16 +00:00
|
|
|
FAILSAFE
|
1998-02-16 23:57:49 +00:00
|
|
|
HW_WDOG
|
1996-03-02 18:24:13 +00:00
|
|
|
KTRACE
|
1998-01-25 03:34:17 +00:00
|
|
|
MD5
|
1998-01-24 02:54:56 +00:00
|
|
|
MFS_AUTOLOAD opt_mfs.h
|
|
|
|
MFS_ROOT opt_mfs.h
|
1998-02-12 18:02:07 +00:00
|
|
|
NO_LKM
|
1998-01-25 04:13:25 +00:00
|
|
|
NSWAPDEV opt_swap.h
|
1998-01-31 05:00:21 +00:00
|
|
|
PPS_SYNC opt_ntp.h
|
1996-12-23 18:42:02 +00:00
|
|
|
QUOTA
|
1998-02-04 04:12:29 +00:00
|
|
|
SPX_HACK
|
1998-01-25 04:13:25 +00:00
|
|
|
SUIDDIR opt_suiddir.h
|
1996-12-23 18:42:02 +00:00
|
|
|
SYSVMSG opt_sysvipc.h
|
|
|
|
SYSVSEM opt_sysvipc.h
|
|
|
|
SYSVSHM opt_sysvipc.h
|
|
|
|
UCONSOLE
|
1996-05-11 04:39:53 +00:00
|
|
|
|
1998-03-28 11:51:01 +00:00
|
|
|
# POSIX kernel options
|
|
|
|
P1003_1B opt_posix.h
|
|
|
|
_KPOSIX_PRIORITY_SCHEDULING opt_posix.h
|
|
|
|
_KPOSIX_VERSION opt_posix.h
|
1998-03-04 10:27:00 +00:00
|
|
|
|
1996-12-26 23:38:17 +00:00
|
|
|
# Do we want the config file compiled into the kernel?
|
|
|
|
INCLUDE_CONFIG_FILE opt_config.h
|
|
|
|
|
1996-05-11 04:39:53 +00:00
|
|
|
# Options for static file systems. These should only be used at config
|
|
|
|
# time, since the corresponding lkms cannot work if there are any static
|
|
|
|
# dependencies. Unusability is enforced by hiding the defines for the
|
|
|
|
# options in a never-included header.
|
1997-12-16 23:59:37 +00:00
|
|
|
EXT2FS opt_dontuse.h
|
1996-05-11 04:39:53 +00:00
|
|
|
FDESC opt_dontuse.h
|
|
|
|
KERNFS opt_dontuse.h
|
1997-09-22 21:24:03 +00:00
|
|
|
MFS opt_dontuse.h
|
1997-12-16 23:59:37 +00:00
|
|
|
MSDOSFS opt_dontuse.h
|
1996-05-11 04:39:53 +00:00
|
|
|
NULLFS opt_dontuse.h
|
|
|
|
PORTAL opt_dontuse.h
|
|
|
|
PROCFS opt_dontuse.h
|
|
|
|
UMAPFS opt_dontuse.h
|
|
|
|
|
1998-01-24 02:54:56 +00:00
|
|
|
# These static filesystems has one slightly bogus static dependency in
|
|
|
|
# sys/i386/i386/autoconf.c. If any of these filesystems are
|
|
|
|
# statically compiled into the kernel, code for mounting them as root
|
|
|
|
# filesystems will be enabled - but look below. Boot-code is purposely
|
|
|
|
# unavailable for the LKM-based versions.
|
1997-05-04 15:24:23 +00:00
|
|
|
CD9660
|
1998-01-24 02:54:56 +00:00
|
|
|
FFS
|
|
|
|
NFS
|
1997-05-04 15:24:23 +00:00
|
|
|
|
1998-03-08 09:59:44 +00:00
|
|
|
# If you are following the conditions in the copyright,
|
|
|
|
# you can enable soft-updates which will speed up a lot of thigs
|
|
|
|
# and make the system safer from crashes at the same time.
|
|
|
|
# otherwise a STUB module will be compiled in.
|
|
|
|
SOFTUPDATES opt_ffs.h
|
|
|
|
|
1998-01-24 02:54:56 +00:00
|
|
|
# The above static dependencies are planned removed, with a
|
|
|
|
# <filesystem>_ROOT option to control if it usable as root. This list
|
|
|
|
# allows these options to be present in config files already (though
|
|
|
|
# they won't make any difference yet).
|
|
|
|
CD9660_ROOT opt_cd9660.h
|
|
|
|
FFS_ROOT opt_ffs.h
|
|
|
|
NFS_ROOT opt_nfs.h
|
|
|
|
|
|
|
|
# Multi-session CD-Rs might require a huge amount of time in order to
|
|
|
|
# "settle". If we are about mounting them as the root f/s, we gotta
|
|
|
|
# wait a little.
|
1997-05-04 15:24:23 +00:00
|
|
|
CD9660_ROOTDELAY opt_cd9660.h
|
|
|
|
|
1996-05-11 04:39:53 +00:00
|
|
|
# The union static file system has bogus static dependencies, so it isn't
|
|
|
|
# hidden yet.
|
|
|
|
UNION
|
|
|
|
|
1996-03-29 13:51:30 +00:00
|
|
|
# Options used only in param.c.
|
1997-01-16 13:16:10 +00:00
|
|
|
EXTRAVNODES opt_defunct.h
|
1996-12-23 18:42:02 +00:00
|
|
|
MSGMNB opt_param.h
|
|
|
|
MSGMNI opt_param.h
|
|
|
|
MSGSEG opt_param.h
|
|
|
|
MSGSSZ opt_param.h
|
|
|
|
MSGTQL opt_param.h
|
|
|
|
NBUF opt_param.h
|
1996-03-02 18:24:13 +00:00
|
|
|
NMBCLUSTERS opt_param.h
|
|
|
|
SEMMAP opt_param.h
|
|
|
|
SEMMNI opt_param.h
|
|
|
|
SEMMNS opt_param.h
|
|
|
|
SEMMNU opt_param.h
|
|
|
|
SEMMSL opt_param.h
|
|
|
|
SEMOPM opt_param.h
|
|
|
|
SEMUME opt_param.h
|
1996-12-23 18:42:02 +00:00
|
|
|
SHMALL opt_param.h
|
|
|
|
SHMMAX opt_param.h
|
|
|
|
SHMMAXPGS opt_param.h
|
|
|
|
SHMMIN opt_param.h
|
|
|
|
SHMMNI opt_param.h
|
|
|
|
SHMSEG opt_param.h
|
1996-03-29 13:51:30 +00:00
|
|
|
|
|
|
|
# Generic SCSI options.
|
1996-07-14 10:46:56 +00:00
|
|
|
SCSIDEBUG opt_scsi.h
|
1996-12-23 18:42:02 +00:00
|
|
|
SCSI_DELAY opt_scsi.h
|
|
|
|
SCSI_REPORT_GEOMETRY opt_scsi.h
|
1998-02-04 03:59:50 +00:00
|
|
|
SCSI_2_DEF opt_scsi.h
|
1996-03-29 13:51:30 +00:00
|
|
|
|
1996-06-16 19:58:24 +00:00
|
|
|
# Options used only in scsi/od.c.
|
|
|
|
OD_AUTO_TURNOFF opt_od.h
|
1996-12-23 18:42:02 +00:00
|
|
|
OD_BOGUS_NOT_READY opt_od.h
|
1996-06-16 19:58:24 +00:00
|
|
|
|
1996-12-15 16:35:54 +00:00
|
|
|
# Options used only in pci/ncr.c
|
1996-12-23 18:42:02 +00:00
|
|
|
SCSI_NCR_DEBUG opt_ncr.h
|
|
|
|
SCSI_NCR_DFLT_TAGS opt_ncr.h
|
1996-12-23 18:40:40 +00:00
|
|
|
SCSI_NCR_MAX_SYNC opt_ncr.h
|
|
|
|
SCSI_NCR_MAX_WIDE opt_ncr.h
|
1996-12-23 18:42:02 +00:00
|
|
|
SCSI_NCR_MYADDR opt_ncr.h
|
1996-12-15 16:35:54 +00:00
|
|
|
|
1996-03-29 13:51:30 +00:00
|
|
|
# Resource limits.
|
1997-01-27 12:39:09 +00:00
|
|
|
CHILD_MAX opt_defunct.h
|
|
|
|
DFLDSIZ opt_rlimit.h
|
|
|
|
MAXDSIZ opt_rlimit.h
|
|
|
|
OPEN_MAX opt_defunct.h
|
1996-03-29 13:51:30 +00:00
|
|
|
|
|
|
|
# Net stuff.
|
1997-02-10 19:19:16 +00:00
|
|
|
ARP_PROXYALL opt_defunct.h
|
1998-01-09 03:21:07 +00:00
|
|
|
BOOTP opt_bootp.h
|
|
|
|
BOOTP_COMPAT opt_bootp.h
|
|
|
|
BOOTP_NFSROOT opt_bootp.h
|
|
|
|
BOOTP_NFSV3 opt_bootp.h
|
1998-03-14 04:13:56 +00:00
|
|
|
BOOTP_WIRED_TO opt_bootp.h
|
1997-01-27 12:39:09 +00:00
|
|
|
GATEWAY opt_defunct.h
|
1996-06-12 19:34:33 +00:00
|
|
|
MROUTING opt_mrouting.h
|
1998-01-08 23:42:31 +00:00
|
|
|
INET opt_inet.h
|
1997-11-05 20:17:23 +00:00
|
|
|
IPDIVERT
|
1996-06-12 19:34:33 +00:00
|
|
|
IPFIREWALL opt_ipfw.h
|
|
|
|
IPFIREWALL_VERBOSE opt_ipfw.h
|
1996-06-23 14:43:55 +00:00
|
|
|
IPFIREWALL_VERBOSE_LIMIT opt_ipfw.h
|
1997-09-10 03:07:14 +00:00
|
|
|
IPFIREWALL_DEFAULT_TO_ACCEPT opt_ipfw.h
|
1997-12-15 20:31:25 +00:00
|
|
|
IPX opt_ipx.h
|
|
|
|
IPXIP opt_ipx.h
|
|
|
|
IPTUNNEL opt_ipx.h
|
1998-01-09 00:51:57 +00:00
|
|
|
NETATALK opt_atalk.h
|
1997-08-19 17:05:26 +00:00
|
|
|
PPP_BSDCOMP opt_ppp.h
|
|
|
|
PPP_DEFLATE opt_ppp.h
|
1997-10-18 01:15:32 +00:00
|
|
|
PPP_FILTER opt_ppp.h
|
1998-01-25 04:23:33 +00:00
|
|
|
TCP_COMPAT_42 opt_compat.h
|
1997-09-16 18:36:06 +00:00
|
|
|
TCPDEBUG
|
1998-03-21 11:34:28 +00:00
|
|
|
IPFILTER opt_ipfilter.h
|
|
|
|
IPFILTER_LOG opt_ipfilter.h
|
|
|
|
IPFILTER_LKM opt_ipfilter.h
|
1998-01-26 18:31:18 +00:00
|
|
|
|
1998-01-31 05:00:21 +00:00
|
|
|
# XXX Conflict: # of devices vs network protocol (Native ATM).
|
|
|
|
# This makes "atm.h" unusable.
|
|
|
|
NATM opt_natm.h
|
|
|
|
|
1998-01-26 18:31:18 +00:00
|
|
|
# DPT driver debug flags
|
|
|
|
DPT_VERIFY_HINTR opt_dpt.h
|
|
|
|
DPT_USE_SINTR opt_dpt.h
|
|
|
|
DPT_RESTRICTED_FREELIST opt_dpt.h
|
|
|
|
DPT_MEASURE_PERFORMANCE opt_dpt.h
|
|
|
|
DPT_FREELIST_IS_STACK opt_dpt.h
|
|
|
|
DPT_HANDLE_TIMEOUTS opt_dpt.h
|
|
|
|
DPT_TIMEOUT_FACTOR opt_dpt.h
|
|
|
|
DPT_INTR_DELAY opt_dpt.h
|
|
|
|
DPT_LOST_IRQ opt_dpt.h
|
1998-01-31 07:23:16 +00:00
|
|
|
|
|
|
|
# Misc debug flags. Most of these should probably be replaced with
|
|
|
|
# 'DEBUG', and then let people recompile just the interesting modules
|
|
|
|
# with 'make CC="cc -DDEBUG'.
|
|
|
|
CLUSTERDEBUG opt_debug_cluster.h
|
|
|
|
DEBUG_1284 opt_debug_1284.h
|
|
|
|
LOCKF_DEBUG opt_debug_lockf.h
|
|
|
|
LOUTB opt_debug_outb.h
|
|
|
|
NPX_DEBUG opt_debug_npx.h
|
|
|
|
NETATALKDEBUG opt_atalk.h
|
|
|
|
NULLFS_DIAGNOSTIC opt_debug_nullfs.h
|
|
|
|
SI_DEBUG opt_debug_si.h
|
|
|
|
|
|
|
|
|
1998-02-06 12:41:39 +00:00
|
|
|
# These cause changes all over the kernel
|
|
|
|
DEBUG opt_global.h
|
|
|
|
DIAGNOSTIC opt_global.h
|
1998-01-31 07:23:16 +00:00
|
|
|
SIMPLELOCK_DEBUG opt_global.h
|
1998-03-19 22:37:37 +00:00
|
|
|
ENABLE_VFS_IOOPT opt_global.h
|
1998-02-23 07:42:43 +00:00
|
|
|
|
|
|
|
# These are VM related options
|
|
|
|
VM_KMEM_SIZE opt_vm.h
|
|
|
|
VM_KMEM_SIZE_SCALE opt_vm.h
|
|
|
|
VM_KMEM_SIZE_MAX opt_vm.h
|
1998-02-27 10:02:49 +00:00
|
|
|
|
|
|
|
# sys/netkey
|
|
|
|
KEY
|
|
|
|
KEY_DEBUG opt_key.h
|