vserver 1.9.3
[linux-2.6.git] / arch / sparc / Kconfig
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.
4 #
5
6 mainmenu "Linux/SPARC Kernel Configuration"
7
8 config MMU
9         bool
10         default y
11
12 config UID16
13         bool
14         default y
15
16 config HIGHMEM
17         bool
18         default y
19
20 config GENERIC_ISA_DMA
21         bool
22         default y
23
24 source "init/Kconfig"
25
26 menu "General machine setup"
27
28 config VT
29         bool
30         default y
31         ---help---
32           If you say Y here, you will get support for terminal devices with
33           display and keyboard devices. These are called "virtual" because you
34           can run several virtual terminals (also called virtual consoles) on
35           one physical terminal. This is rather useful, for example one
36           virtual terminal can collect system messages and warnings, another
37           one can be used for a text-mode user session, and a third could run
38           an X session, all in parallel. Switching between virtual terminals
39           is done with certain key combinations, usually Alt-<function key>.
40
41           The setterm command ("man setterm") can be used to change the
42           properties (such as colors or beeping) of a virtual terminal. The
43           man page console_codes(4) ("man console_codes") contains the special
44           character sequences that can be used to change those properties
45           directly. The fonts used on virtual terminals can be changed with
46           the setfont ("man setfont") command and the key bindings are defined
47           with the loadkeys ("man loadkeys") command.
48
49           You need at least one virtual terminal device in order to make use
50           of your keyboard and monitor. Therefore, only people configuring an
51           embedded system would want to say N here in order to save some
52           memory; the only way to log into such a system is then via a serial
53           or network connection.
54
55           If unsure, say Y, or else you won't be able to do much with your new
56           shiny Linux system :-)
57
58 config VT_CONSOLE
59         bool
60         default y
61         ---help---
62           The system console is the device which receives all kernel messages
63           and warnings and which allows logins in single user mode. If you
64           answer Y here, a virtual terminal (the device used to interact with
65           a physical terminal) can be used as system console. This is the most
66           common mode of operations, so you should say Y here unless you want
67           the kernel messages be output only to a serial port (in which case
68           you should say Y to "Console on serial port", below).
69
70           If you do say Y here, by default the currently visible virtual
71           terminal (/dev/tty0) will be used as system console. You can change
72           that with a kernel command line option such as "console=tty3" which
73           would use the third virtual terminal as system console. (Try "man
74           bootparam" or see the documentation of your boot loader (lilo or
75           loadlin) about how to pass options to the kernel at boot time.)
76
77           If unsure, say Y.
78
79 config HW_CONSOLE
80         bool
81         default y
82
83 config SMP
84         bool "Symmetric multi-processing support (does not work on sun4/sun4c)"
85         depends on BROKEN
86         ---help---
87           This enables support for systems with more than one CPU. If you have
88           a system with only one CPU, like most personal computers, say N. If
89           you have a system with more than one CPU, say Y.
90
91           If you say N here, the kernel will run on single and multiprocessor
92           machines, but will use only one CPU of a multiprocessor machine. If
93           you say Y here, the kernel will run on many, but not all,
94           singleprocessor machines. On a singleprocessor machine, the kernel
95           will run faster if you say N here.
96
97           Note that if you say Y here and choose architecture "586" or
98           "Pentium" under "Processor family", the kernel will not work on 486
99           architectures. Similarly, multiprocessor kernels for the "PPro"
100           architecture may not work on all Pentium based boards.
101
102           People using multiprocessor machines who say Y here should also say
103           Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
104           Management" code will be disabled if you say Y here.
105
106           See also the <file:Documentation/smp.txt>,
107           <file:Documentation/i386/IO-APIC.txt>,
108           <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
109           <http://www.tldp.org/docs.html#howto>.
110
111           If you don't know what to do here, say N.
112
113 config NR_CPUS
114         int "Maximum number of CPUs (2-32)"
115         range 2 32
116         depends on SMP
117         default "32"
118
119 # Identify this as a Sparc32 build
120 config SPARC32
121         bool
122         default y
123         help
124           SPARC is a family of RISC microprocessors designed and marketed by
125           Sun Microsystems, incorporated.  They are very widely found in Sun
126           workstations and clones. This port covers the original 32-bit SPARC;
127           it is old and stable and usually considered one of the "big three"
128           along with the Intel and Alpha ports.  The UltraLinux project
129           maintains both the SPARC32 and SPARC64 ports; its web page is
130           available at <http://www.ultralinux.org/>.
131
132 # Global things across all Sun machines.
133 config ISA
134         bool
135         help
136           ISA is found on Espresso only and is not supported currently.
137           Say N
138
139 config EISA
140         bool
141         help
142           EISA is not supported.
143           Say N
144
145 config MCA
146         bool
147         help
148           MCA is not supported.
149           Say N
150
151 config PCMCIA
152         tristate
153         ---help---
154           Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
155           computer.  These are credit-card size devices such as network cards,
156           modems or hard drives often used with laptops computers.  There are
157           actually two varieties of these cards: the older 16 bit PCMCIA cards
158           and the newer 32 bit CardBus cards.  If you want to use CardBus
159           cards, you need to say Y here and also to "CardBus support" below.
160
161           To use your PC-cards, you will need supporting software from David
162           Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
163           for location).  Please also read the PCMCIA-HOWTO, available from
164           <http://www.tldp.org/docs.html#howto>.
165
166           To compile this driver as modules, choose M here: the
167           modules will be called pcmcia_core and ds.
168
169 config SBUS
170         bool
171         default y
172
173 config SBUSCHAR
174         bool
175         default y
176
177 config SERIAL_CONSOLE
178         bool
179         default y
180         ---help---
181           If you say Y here, it will be possible to use a serial port as the
182           system console (the system console is the device which receives all
183           kernel messages and warnings and which allows logins in single user
184           mode). This could be useful if some terminal or printer is connected
185           to that serial port.
186
187           Even if you say Y here, the currently visible virtual console
188           (/dev/tty0) will still be used as the system console by default, but
189           you can alter that using a kernel command line option such as
190           "console=ttyS1". (Try "man bootparam" or see the documentation of
191           your boot loader (lilo or loadlin) about how to pass options to the
192           kernel at boot time.)
193
194           If you don't have a VGA card installed and you say Y here, the
195           kernel will automatically use the first serial line, /dev/ttyS0, as
196           system console.
197
198           If unsure, say N.
199
200 config SUN_AUXIO
201         bool
202         default y
203
204 config SUN_IO
205         bool
206         default y
207
208 config RWSEM_GENERIC_SPINLOCK
209         bool
210         default y
211
212 config RWSEM_XCHGADD_ALGORITHM
213         bool
214
215 config SUN_PM
216         bool
217         default y
218         help
219           Enable power management and CPU standby features on supported
220           SPARC platforms.
221
222 config SUN4
223         bool "Support for SUN4 machines (disables SUN4[CDM] support)"
224         depends on !SMP
225         help
226           Say Y here if, and only if, your machine is a sun4. Note that
227           a kernel compiled with this option will run only on sun4.
228           (And the current version will probably work only on sun4/330.)
229
230 if !SUN4
231
232 config PCI
233         bool "Support for PCI and PS/2 keyboard/mouse"
234         help
235           CONFIG_PCI is needed for all JavaStation's (including MrCoffee),
236           CP-1200, JavaEngine-1, Corona, Red October, and Serengeti SGSC.
237           All of these platforms are extremely obscure, so say N if unsure.
238
239 source "drivers/pci/Kconfig"
240
241 endif
242
243 config SUN_OPENPROMFS
244         tristate "Openprom tree appears in /proc/openprom"
245         help
246           If you say Y, the OpenPROM device tree will be available as a
247           virtual file system, which you can mount to /proc/openprom by "mount
248           -t openpromfs none /proc/openprom".
249
250           To compile the /proc/openprom support as a module, choose M here: the
251           module will be called openpromfs.  If unsure, choose M.
252
253 source "fs/Kconfig.binfmt"
254
255 config SUNOS_EMUL
256         bool "SunOS binary emulation"
257         help
258           This allows you to run most SunOS binaries.  If you want to do this,
259           say Y here and place appropriate files in /usr/gnemul/sunos. See
260           <http://www.ultralinux.org/faq.html> for more information.  If you
261           want to run SunOS binaries on an Ultra you must also say Y to
262           "Kernel support for 32-bit a.out binaries" above.
263
264 source "drivers/parport/Kconfig"
265
266 config PRINTER
267         tristate "Parallel printer support"
268         depends on PARPORT
269         ---help---
270           If you intend to attach a printer to the parallel port of your Linux
271           box (as opposed to using a serial printer; if the connector at the
272           printer has 9 or 25 holes ["female"], then it's serial), say Y.
273           Also read the Printing-HOWTO, available from
274           <http://www.tldp.org/docs.html#howto>.
275
276           It is possible to share one parallel port among several devices
277           (e.g. printer and ZIP drive) and it is safe to compile the
278           corresponding drivers into the kernel.  If you want to compile this
279           driver as a module however, choose M here and read
280           <file:Documentation/parport.txt>.  The module will be called lp.
281
282           If you have several parallel ports, you can specify which ports to
283           use with the "lp" kernel command line option.  (Try "man bootparam"
284           or see the documentation of your boot loader (lilo or loadlin) about
285           how to pass options to the kernel at boot time.)  The syntax of the
286           "lp" command line option can be found in <file:drivers/char/lp.c>.
287
288           If you have more than 8 printers, you need to increase the LP_NO
289           macro in lp.c and the PARPORT_MAX macro in parport.h.
290
291 endmenu
292
293 source "drivers/base/Kconfig"
294
295 source "drivers/video/Kconfig"
296
297 source "drivers/mtd/Kconfig"
298
299 source "drivers/serial/Kconfig"
300
301 if !SUN4
302 source "drivers/sbus/char/Kconfig"
303 endif
304
305 source "drivers/block/Kconfig"
306
307 # Don't frighten a common SBus user
308 if PCI
309
310 source "drivers/ide/Kconfig"
311
312 endif
313
314 source "drivers/isdn/Kconfig"
315
316 source "drivers/scsi/Kconfig"
317
318 source "drivers/fc4/Kconfig"
319
320 source "drivers/md/Kconfig"
321
322 source "net/Kconfig"
323
324 # This one must be before the filesystem configs. -DaveM
325
326 menu "Unix98 PTY support"
327
328 config UNIX98_PTYS
329         bool "Unix98 PTY support"
330         ---help---
331           A pseudo terminal (PTY) is a software device consisting of two
332           halves: a master and a slave. The slave device behaves identical to
333           a physical terminal; the master device is used by a process to
334           read data from and write data to the slave, thereby emulating a
335           terminal. Typical programs for the master side are telnet servers
336           and xterms.
337
338           Linux has traditionally used the BSD-like names /dev/ptyxx for
339           masters and /dev/ttyxx for slaves of pseudo terminals. This scheme
340           has a number of problems. The GNU C library glibc 2.1 and later,
341           however, supports the Unix98 naming standard: in order to acquire a
342           pseudo terminal, a process opens /dev/ptmx; the number of the pseudo
343           terminal is then made available to the process and the pseudo
344           terminal slave can be accessed as /dev/pts/<number>. What was
345           traditionally /dev/ttyp2 will then be /dev/pts/2, for example.
346
347           The entries in /dev/pts/ are created on the fly by a virtual
348           file system; therefore, if you say Y here you should say Y to
349           "/dev/pts file system for Unix98 PTYs" as well.
350
351           If you want to say Y here, you need to have the C library glibc 2.1
352           or later (equal to libc-6.1, check with "ls -l /lib/libc.so.*").
353           Read the instructions in <file:Documentation/Changes> pertaining to
354           pseudo terminals. It's safe to say N.
355
356 config UNIX98_PTY_COUNT
357         int "Maximum number of Unix98 PTYs in use (0-2048)"
358         depends on UNIX98_PTYS
359         default "256"
360         help
361           The maximum number of Unix98 PTYs that can be used at any one time.
362           The default is 256, and should be enough for desktop systems. Server
363           machines which support incoming telnet/rlogin/ssh connections and/or
364           serve several X terminals may want to increase this: every incoming
365           connection and every xterm uses up one PTY.
366
367           When not in use, each additional set of 256 PTYs occupy
368           approximately 8 KB of kernel memory on 32-bit architectures.
369
370 endmenu
371
372 source "drivers/input/Kconfig"
373
374 source "fs/Kconfig"
375
376 source "sound/Kconfig"
377
378 source "drivers/usb/Kconfig"
379
380 source "drivers/char/watchdog/Kconfig"
381
382 source "arch/sparc/Kconfig.debug"
383
384 source "kernel/vserver/Kconfig"
385
386 source "security/Kconfig"
387
388 source "crypto/Kconfig"
389
390 source "lib/Kconfig"