blob: 262e13d086fefdb23c63e73ac89c28fb619b2e82 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001# $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
6mainmenu "Linux/SPARC Kernel Configuration"
7
8config MMU
9 bool
10 default y
11
12config UID16
13 bool
14 default y
15
16config HIGHMEM
17 bool
18 default y
19
20config GENERIC_ISA_DMA
21 bool
22 default y
23
24source "init/Kconfig"
25
26menu "General machine setup"
27
28config VT
29 bool
30 select INPUT
31 default y
32 ---help---
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>.
41
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.
49
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.
55
56 If unsure, say Y, or else you won't be able to do much with your new
57 shiny Linux system :-)
58
59config VT_CONSOLE
60 bool
61 default y
62 ---help---
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).
70
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.)
77
78 If unsure, say Y.
79
80config HW_CONSOLE
81 bool
82 default y
83
84config SMP
85 bool "Symmetric multi-processing support (does not work on sun4/sun4c)"
86 depends on BROKEN
87 ---help---
88 This enables support for systems with more than one CPU. If you have
89 a system with only one CPU, say N. If you have a system with more
90 than one CPU, say Y.
91
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.
97
98 People using multiprocessor machines who say Y here should also say
99 Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
100 Management" code will be disabled if you say Y here.
101
102 See also the <file:Documentation/smp.txt>,
103 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
104 <http://www.tldp.org/docs.html#howto>.
105
106 If you don't know what to do here, say N.
107
108config NR_CPUS
109 int "Maximum number of CPUs (2-32)"
110 range 2 32
111 depends on SMP
112 default "32"
113
114# Identify this as a Sparc32 build
115config SPARC32
116 bool
117 default y
118 help
119 SPARC is a family of RISC microprocessors designed and marketed by
120 Sun Microsystems, incorporated. They are very widely found in Sun
121 workstations and clones. This port covers the original 32-bit SPARC;
122 it is old and stable and usually considered one of the "big three"
123 along with the Intel and Alpha ports. The UltraLinux project
124 maintains both the SPARC32 and SPARC64 ports; its web page is
125 available at <http://www.ultralinux.org/>.
126
127# Global things across all Sun machines.
128config ISA
129 bool
130 help
131 ISA is found on Espresso only and is not supported currently.
132 Say N
133
134config EISA
135 bool
136 help
137 EISA is not supported.
138 Say N
139
140config MCA
141 bool
142 help
143 MCA is not supported.
144 Say N
145
146config PCMCIA
147 tristate
148 ---help---
149 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
150 computer. These are credit-card size devices such as network cards,
151 modems or hard drives often used with laptops computers. There are
152 actually two varieties of these cards: the older 16 bit PCMCIA cards
153 and the newer 32 bit CardBus cards. If you want to use CardBus
154 cards, you need to say Y here and also to "CardBus support" below.
155
156 To use your PC-cards, you will need supporting software from David
157 Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
158 for location). Please also read the PCMCIA-HOWTO, available from
159 <http://www.tldp.org/docs.html#howto>.
160
161 To compile this driver as modules, choose M here: the
162 modules will be called pcmcia_core and ds.
163
164config SBUS
165 bool
166 default y
167
168config SBUSCHAR
169 bool
170 default y
171
172config SERIAL_CONSOLE
173 bool
174 default y
175 ---help---
176 If you say Y here, it will be possible to use a serial port as the
177 system console (the system console is the device which receives all
178 kernel messages and warnings and which allows logins in single user
179 mode). This could be useful if some terminal or printer is connected
180 to that serial port.
181
182 Even if you say Y here, the currently visible virtual console
183 (/dev/tty0) will still be used as the system console by default, but
184 you can alter that using a kernel command line option such as
185 "console=ttyS1". (Try "man bootparam" or see the documentation of
186 your boot loader (silo) about how to pass options to the kernel at
187 boot time.)
188
189 If you don't have a graphics card installed and you say Y here, the
190 kernel will automatically use the first serial line, /dev/ttyS0, as
191 system console.
192
193 If unsure, say N.
194
195config SUN_AUXIO
196 bool
197 default y
198
199config SUN_IO
200 bool
201 default y
202
203config RWSEM_GENERIC_SPINLOCK
204 bool
205 default y
206
207config RWSEM_XCHGADD_ALGORITHM
208 bool
209
210config GENERIC_CALIBRATE_DELAY
211 bool
212 default y
213
214config SUN_PM
215 bool
216 default y
217 help
218 Enable power management and CPU standby features on supported
219 SPARC platforms.
220
221config SUN4
222 bool "Support for SUN4 machines (disables SUN4[CDM] support)"
223 depends on !SMP
224 default n
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
230if !SUN4
231
232config 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
239source "drivers/pci/Kconfig"
240
241endif
242
243config 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.
252
253 Only choose N if you know in advance that you will not need to modify
254 OpenPROM settings on the running system.
255
256source "fs/Kconfig.binfmt"
257
258config SUNOS_EMUL
259 bool "SunOS binary emulation"
260 help
261 This allows you to run most SunOS binaries. If you want to do this,
262 say Y here and place appropriate files in /usr/gnemul/sunos. See
263 <http://www.ultralinux.org/faq.html> for more information. If you
264 want to run SunOS binaries on an Ultra you must also say Y to
265 "Kernel support for 32-bit a.out binaries" above.
266
William Lee Irwin III30aaa802005-06-23 00:10:18 -0700267source "mm/Kconfig"
268
269endmenu
270
271source "drivers/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700272
273config PRINTER
274 tristate "Parallel printer support"
275 depends on PARPORT
276 ---help---
277 If you intend to attach a printer to the parallel port of your Linux
278 box (as opposed to using a serial printer; if the connector at the
279 printer has 9 or 25 holes ["female"], then it's serial), say Y.
280 Also read the Printing-HOWTO, available from
281 <http://www.tldp.org/docs.html#howto>.
282
283 It is possible to share one parallel port among several devices
284 (e.g. printer and ZIP drive) and it is safe to compile the
285 corresponding drivers into the kernel. If you want to compile this
286 driver as a module however, choose M here and read
287 <file:Documentation/parport.txt>. The module will be called lp.
288
289 If you have several parallel ports, you can specify which ports to
290 use with the "lp" kernel command line option. (Try "man bootparam"
291 or see the documentation of your boot loader (silo) about how to pass
292 options to the kernel at boot time.) The syntax of the "lp" command
293 line option can be found in <file:drivers/char/lp.c>.
294
295 If you have more than 8 printers, you need to increase the LP_NO
296 macro in lp.c and the PARPORT_MAX macro in parport.h.
297
Dave Hansen3f22ab22005-06-23 00:07:43 -0700298source "mm/Kconfig"
299
Linus Torvalds1da177e2005-04-16 15:20:36 -0700300endmenu
301
302source "drivers/base/Kconfig"
303
304source "drivers/video/Kconfig"
305
306source "drivers/mtd/Kconfig"
307
308source "drivers/serial/Kconfig"
309
310if !SUN4
311source "drivers/sbus/char/Kconfig"
312endif
313
314source "drivers/block/Kconfig"
315
316# Don't frighten a common SBus user
317if PCI
318
319source "drivers/ide/Kconfig"
320
321endif
322
323source "drivers/isdn/Kconfig"
324
325source "drivers/scsi/Kconfig"
326
327source "drivers/fc4/Kconfig"
328
329source "drivers/md/Kconfig"
330
331source "net/Kconfig"
332
333# This one must be before the filesystem configs. -DaveM
334
335menu "Unix98 PTY support"
336
337config UNIX98_PTYS
338 bool "Unix98 PTY support"
339 ---help---
340 A pseudo terminal (PTY) is a software device consisting of two
341 halves: a master and a slave. The slave device behaves identical to
342 a physical terminal; the master device is used by a process to
343 read data from and write data to the slave, thereby emulating a
344 terminal. Typical programs for the master side are telnet servers
345 and xterms.
346
347 Linux has traditionally used the BSD-like names /dev/ptyxx for
348 masters and /dev/ttyxx for slaves of pseudo terminals. This scheme
349 has a number of problems. The GNU C library glibc 2.1 and later,
350 however, supports the Unix98 naming standard: in order to acquire a
351 pseudo terminal, a process opens /dev/ptmx; the number of the pseudo
352 terminal is then made available to the process and the pseudo
353 terminal slave can be accessed as /dev/pts/<number>. What was
354 traditionally /dev/ttyp2 will then be /dev/pts/2, for example.
355
356 The entries in /dev/pts/ are created on the fly by a virtual
357 file system; therefore, if you say Y here you should say Y to
358 "/dev/pts file system for Unix98 PTYs" as well.
359
360 If you want to say Y here, you need to have the C library glibc 2.1
361 or later (equal to libc-6.1, check with "ls -l /lib/libc.so.*").
362 Read the instructions in <file:Documentation/Changes> pertaining to
363 pseudo terminals. It's safe to say N.
364
365config UNIX98_PTY_COUNT
366 int "Maximum number of Unix98 PTYs in use (0-2048)"
367 depends on UNIX98_PTYS
368 default "256"
369 help
370 The maximum number of Unix98 PTYs that can be used at any one time.
371 The default is 256, and should be enough for desktop systems. Server
372 machines which support incoming telnet/rlogin/ssh connections and/or
373 serve several X terminals may want to increase this: every incoming
374 connection and every xterm uses up one PTY.
375
376 When not in use, each additional set of 256 PTYs occupy
377 approximately 8 KB of kernel memory on 32-bit architectures.
378
379endmenu
380
Linus Torvalds1da177e2005-04-16 15:20:36 -0700381source "fs/Kconfig"
382
Linus Torvalds1da177e2005-04-16 15:20:36 -0700383source "arch/sparc/Kconfig.debug"
384
385source "security/Kconfig"
386
387source "crypto/Kconfig"
388
389source "lib/Kconfig"