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