1 # $Id: config.in,v 1.113 2002/01/24 22:14:44 davem Exp $
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
6 mainmenu "Linux/SPARC Kernel Configuration"
20 config GENERIC_ISA_DMA
33 If you say Y here, you will get support for terminal devices with
34 display and keyboard devices. These are called "virtual" because you
35 can run several virtual terminals (also called virtual consoles) on
36 one physical terminal. This is rather useful, for example one
37 virtual terminal can collect system messages and warnings, another
38 one can be used for a text-mode user session, and a third could run
39 an X session, all in parallel. Switching between virtual terminals
40 is done with certain key combinations, usually Alt-<function key>.
42 The setterm command ("man setterm") can be used to change the
43 properties (such as colors or beeping) of a virtual terminal. The
44 man page console_codes(4) ("man console_codes") contains the special
45 character sequences that can be used to change those properties
46 directly. The fonts used on virtual terminals can be changed with
47 the setfont ("man setfont") command and the key bindings are defined
48 with the loadkeys ("man loadkeys") command.
50 You need at least one virtual terminal device in order to make use
51 of your keyboard and monitor. Therefore, only people configuring an
52 embedded system would want to say N here in order to save some
53 memory; the only way to log into such a system is then via a serial
54 or network connection.
56 If unsure, say Y, or else you won't be able to do much with your new
57 shiny Linux system :-)
63 The system console is the device which receives all kernel messages
64 and warnings and which allows logins in single user mode. If you
65 answer Y here, a virtual terminal (the device used to interact with
66 a physical terminal) can be used as system console. This is the most
67 common mode of operations, so you should say Y here unless you want
68 the kernel messages be output only to a serial port (in which case
69 you should say Y to "Console on serial port", below).
71 If you do say Y here, by default the currently visible virtual
72 terminal (/dev/tty0) will be used as system console. You can change
73 that with a kernel command line option such as "console=tty3" which
74 would use the third virtual terminal as system console. (Try "man
75 bootparam" or see the documentation of your boot loader (lilo or
76 loadlin) about how to pass options to the kernel at boot time.)
85 bool "Symmetric multi-processing support (does not work on sun4/sun4c)"
88 This enables support for systems with more than one CPU. If you have
89 a system with only one CPU, like most personal computers, say N. If
90 you have a system with more than one CPU, say Y.
92 If you say N here, the kernel will run on single and multiprocessor
93 machines, but will use only one CPU of a multiprocessor machine. If
94 you say Y here, the kernel will run on many, but not all,
95 singleprocessor machines. On a singleprocessor machine, the kernel
96 will run faster if you say N here.
98 Note that if you say Y here and choose architecture "586" or
99 "Pentium" under "Processor family", the kernel will not work on 486
100 architectures. Similarly, multiprocessor kernels for the "PPro"
101 architecture may not work on all Pentium based boards.
103 People using multiprocessor machines who say Y here should also say
104 Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
105 Management" code will be disabled if you say Y here.
107 See also the <file:Documentation/smp.txt>,
108 <file:Documentation/i386/IO-APIC.txt>,
109 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
110 <http://www.tldp.org/docs.html#howto>.
112 If you don't know what to do here, say N.
115 int "Maximum number of CPUs (2-32)"
120 # Identify this as a Sparc32 build
125 SPARC is a family of RISC microprocessors designed and marketed by
126 Sun Microsystems, incorporated. They are very widely found in Sun
127 workstations and clones. This port covers the original 32-bit SPARC;
128 it is old and stable and usually considered one of the "big three"
129 along with the Intel and Alpha ports. The UltraLinux project
130 maintains both the SPARC32 and SPARC64 ports; its web page is
131 available at <http://www.ultralinux.org/>.
133 # Global things across all Sun machines.
137 ISA is found on Espresso only and is not supported currently.
143 EISA is not supported.
149 MCA is not supported.
155 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
156 computer. These are credit-card size devices such as network cards,
157 modems or hard drives often used with laptops computers. There are
158 actually two varieties of these cards: the older 16 bit PCMCIA cards
159 and the newer 32 bit CardBus cards. If you want to use CardBus
160 cards, you need to say Y here and also to "CardBus support" below.
162 To use your PC-cards, you will need supporting software from David
163 Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
164 for location). Please also read the PCMCIA-HOWTO, available from
165 <http://www.tldp.org/docs.html#howto>.
167 To compile this driver as modules, choose M here: the
168 modules will be called pcmcia_core and ds.
178 config SERIAL_CONSOLE
182 If you say Y here, it will be possible to use a serial port as the
183 system console (the system console is the device which receives all
184 kernel messages and warnings and which allows logins in single user
185 mode). This could be useful if some terminal or printer is connected
188 Even if you say Y here, the currently visible virtual console
189 (/dev/tty0) will still be used as the system console by default, but
190 you can alter that using a kernel command line option such as
191 "console=ttyS1". (Try "man bootparam" or see the documentation of
192 your boot loader (lilo or loadlin) about how to pass options to the
193 kernel at boot time.)
195 If you don't have a VGA card installed and you say Y here, the
196 kernel will automatically use the first serial line, /dev/ttyS0, as
209 config RWSEM_GENERIC_SPINLOCK
213 config RWSEM_XCHGADD_ALGORITHM
220 Enable power management and CPU standby features on supported
224 bool "Support for SUN4 machines (disables SUN4[CDM] support)"
227 Say Y here if, and only if, your machine is a sun4. Note that
228 a kernel compiled with this option will run only on sun4.
229 (And the current version will probably work only on sun4/330.)
234 bool "Support for PCI and PS/2 keyboard/mouse"
236 CONFIG_PCI is needed for all JavaStation's (including MrCoffee),
237 CP-1200, JavaEngine-1, Corona, Red October, and Serengeti SGSC.
238 All of these platforms are extremely obscure, so say N if unsure.
240 source "drivers/pci/Kconfig"
244 config SUN_OPENPROMFS
245 tristate "Openprom tree appears in /proc/openprom"
247 If you say Y, the OpenPROM device tree will be available as a
248 virtual file system, which you can mount to /proc/openprom by "mount
249 -t openpromfs none /proc/openprom".
251 To compile the /proc/openprom support as a module, choose M here: the
252 module will be called openpromfs. If unsure, choose M.
254 source "fs/Kconfig.binfmt"
257 bool "SunOS binary emulation"
259 This allows you to run most SunOS binaries. If you want to do this,
260 say Y here and place appropriate files in /usr/gnemul/sunos. See
261 <http://www.ultralinux.org/faq.html> for more information. If you
262 want to run SunOS binaries on an Ultra you must also say Y to
263 "Kernel support for 32-bit a.out binaries" above.
265 source "drivers/parport/Kconfig"
268 tristate "Parallel printer support"
271 If you intend to attach a printer to the parallel port of your Linux
272 box (as opposed to using a serial printer; if the connector at the
273 printer has 9 or 25 holes ["female"], then it's serial), say Y.
274 Also read the Printing-HOWTO, available from
275 <http://www.tldp.org/docs.html#howto>.
277 It is possible to share one parallel port among several devices
278 (e.g. printer and ZIP drive) and it is safe to compile the
279 corresponding drivers into the kernel. If you want to compile this
280 driver as a module however, choose M here and read
281 <file:Documentation/parport.txt>. The module will be called lp.
283 If you have several parallel ports, you can specify which ports to
284 use with the "lp" kernel command line option. (Try "man bootparam"
285 or see the documentation of your boot loader (lilo or loadlin) about
286 how to pass options to the kernel at boot time.) The syntax of the
287 "lp" command line option can be found in <file:drivers/char/lp.c>.
289 If you have more than 8 printers, you need to increase the LP_NO
290 macro in lp.c and the PARPORT_MAX macro in parport.h.
294 source "drivers/base/Kconfig"
296 source "drivers/video/Kconfig"
298 source "drivers/mtd/Kconfig"
300 source "drivers/serial/Kconfig"
303 source "drivers/sbus/char/Kconfig"
306 source "drivers/block/Kconfig"
308 # Don't frighten a common SBus user
311 source "drivers/ide/Kconfig"
315 source "drivers/isdn/Kconfig"
317 source "drivers/scsi/Kconfig"
319 source "drivers/fc4/Kconfig"
321 source "drivers/md/Kconfig"
325 # This one must be before the filesystem configs. -DaveM
327 menu "Unix98 PTY support"
330 bool "Unix98 PTY support"
332 A pseudo terminal (PTY) is a software device consisting of two
333 halves: a master and a slave. The slave device behaves identical to
334 a physical terminal; the master device is used by a process to
335 read data from and write data to the slave, thereby emulating a
336 terminal. Typical programs for the master side are telnet servers
339 Linux has traditionally used the BSD-like names /dev/ptyxx for
340 masters and /dev/ttyxx for slaves of pseudo terminals. This scheme
341 has a number of problems. The GNU C library glibc 2.1 and later,
342 however, supports the Unix98 naming standard: in order to acquire a
343 pseudo terminal, a process opens /dev/ptmx; the number of the pseudo
344 terminal is then made available to the process and the pseudo
345 terminal slave can be accessed as /dev/pts/<number>. What was
346 traditionally /dev/ttyp2 will then be /dev/pts/2, for example.
348 The entries in /dev/pts/ are created on the fly by a virtual
349 file system; therefore, if you say Y here you should say Y to
350 "/dev/pts file system for Unix98 PTYs" as well.
352 If you want to say Y here, you need to have the C library glibc 2.1
353 or later (equal to libc-6.1, check with "ls -l /lib/libc.so.*").
354 Read the instructions in <file:Documentation/Changes> pertaining to
355 pseudo terminals. It's safe to say N.
357 config UNIX98_PTY_COUNT
358 int "Maximum number of Unix98 PTYs in use (0-2048)"
359 depends on UNIX98_PTYS
362 The maximum number of Unix98 PTYs that can be used at any one time.
363 The default is 256, and should be enough for desktop systems. Server
364 machines which support incoming telnet/rlogin/ssh connections and/or
365 serve several X terminals may want to increase this: every incoming
366 connection and every xterm uses up one PTY.
368 When not in use, each additional set of 256 PTYs occupy
369 approximately 8 KB of kernel memory on 32-bit architectures.
373 source "drivers/input/Kconfig"
377 source "sound/Kconfig"
379 source "drivers/usb/Kconfig"
381 source "drivers/char/watchdog/Kconfig"
383 menu "Kernel hacking"
386 bool "Kernel debugging"
388 Say Y here if you are developing drivers or trying to debug and
389 identify kernel problems.
391 config DEBUG_STACK_USAGE
392 bool "Enable stack utilization instrumentation"
393 depends on DEBUG_KERNEL
395 Enables the display of the minimum amount of free stack which each
396 task has ever had available in the sysrq-T and sysrq-P debug output.
398 This option will slow down process creation somewhat.
401 bool "Debug memory allocations"
402 depends on DEBUG_KERNEL
404 Say Y here to have the kernel do limited verification on memory
405 allocation as well as poisoning memory on free to catch use of freed
409 bool "Magic SysRq key"
410 depends on DEBUG_KERNEL
412 If you say Y here, you will have some control over the system even
413 if the system crashes for example during kernel debugging (e.g., you
414 will be able to flush the buffer cache to disk, reboot the system
415 immediately or dump some status information). This is accomplished
416 by pressing various keys while holding SysRq (Alt+PrintScreen). It
417 also works on a serial console (on PC hardware at least), if you
418 send a BREAK and then within 5 seconds a command keypress. The
419 keys are documented in <file:Documentation/sysrq.txt>. Don't say Y
420 unless you really know what this hack does.
422 config DEBUG_SPINLOCK
423 bool "Spinlock debugging"
424 depends on DEBUG_KERNEL
426 Say Y here and build SMP to catch missing spinlock initialization
427 and certain other kinds of spinlock errors commonly made. This is
428 best used in conjunction with the NMI watchdog so that spinlock
429 deadlocks are also debuggable.
432 bool "Highmem debugging"
433 depends on DEBUG_KERNEL && HIGHMEM
435 This options enables additional error checking for high memory
436 systems. Disable for production systems.
438 config DEBUG_SPINLOCK_SLEEP
439 bool "Sleep-inside-spinlock checking"
440 depends on DEBUG_KERNEL
442 If you say Y here, various routines which may sleep will become very
443 noisy if they are called with a spinlock held.
445 config DEBUG_BUGVERBOSE
446 bool "Verbose BUG() reporting (adds 70K)"
447 depends on DEBUG_KERNEL
449 Say Y here to make BUG() panics output the file name and line number
450 of the BUG call as well as the EIP and oops trace. This aids
451 debugging but costs about 70-100K of memory.
455 source "kernel/vserver/Kconfig"
457 source "security/Kconfig"
459 source "crypto/Kconfig"