Pull button into test branch
[linux-drm-fsl-dcu.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 HIGHMEM
13         bool
14         default y
15
16 config GENERIC_ISA_DMA
17         bool
18         default y
19
20 source "init/Kconfig"
21
22 menu "General machine setup"
23
24 config SMP
25         bool "Symmetric multi-processing support (does not work on sun4/sun4c)"
26         ---help---
27           This enables support for systems with more than one CPU. If you have
28           a system with only one CPU, say N. If you have a system with more
29           than one CPU, say Y.
30
31           If you say N here, the kernel will run on single and multiprocessor
32           machines, but will use only one CPU of a multiprocessor machine. If
33           you say Y here, the kernel will run on many, but not all,
34           singleprocessor machines. On a singleprocessor machine, the kernel
35           will run faster if you say N here.
36
37           People using multiprocessor machines who say Y here should also say
38           Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
39           Management" code will be disabled if you say Y here.
40
41           See also the <file:Documentation/smp.txt>,
42           <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
43           <http://www.tldp.org/docs.html#howto>.
44
45           If you don't know what to do here, say N.
46
47 config NR_CPUS
48         int "Maximum number of CPUs (2-32)"
49         range 2 32
50         depends on SMP
51         default "32"
52
53 config SPARC
54         bool
55         default y
56
57 # Identify this as a Sparc32 build
58 config SPARC32
59         bool
60         default y
61         help
62           SPARC is a family of RISC microprocessors designed and marketed by
63           Sun Microsystems, incorporated.  They are very widely found in Sun
64           workstations and clones. This port covers the original 32-bit SPARC;
65           it is old and stable and usually considered one of the "big three"
66           along with the Intel and Alpha ports.  The UltraLinux project
67           maintains both the SPARC32 and SPARC64 ports; its web page is
68           available at <http://www.ultralinux.org/>.
69
70 # Global things across all Sun machines.
71 config ISA
72         bool
73         help
74           ISA is found on Espresso only and is not supported currently.
75           Say N
76
77 config EISA
78         bool
79         help
80           EISA is not supported.
81           Say N
82
83 config MCA
84         bool
85         help
86           MCA is not supported.
87           Say N
88
89 config PCMCIA
90         tristate
91         ---help---
92           Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
93           computer.  These are credit-card size devices such as network cards,
94           modems or hard drives often used with laptops computers.  There are
95           actually two varieties of these cards: the older 16 bit PCMCIA cards
96           and the newer 32 bit CardBus cards.  If you want to use CardBus
97           cards, you need to say Y here and also to "CardBus support" below.
98
99           To use your PC-cards, you will need supporting software from David
100           Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
101           for location).  Please also read the PCMCIA-HOWTO, available from
102           <http://www.tldp.org/docs.html#howto>.
103
104           To compile this driver as modules, choose M here: the
105           modules will be called pcmcia_core and ds.
106
107 config SBUS
108         bool
109         default y
110
111 config SBUSCHAR
112         bool
113         default y
114
115 config SERIAL_CONSOLE
116         bool
117         default y
118         ---help---
119           If you say Y here, it will be possible to use a serial port as the
120           system console (the system console is the device which receives all
121           kernel messages and warnings and which allows logins in single user
122           mode). This could be useful if some terminal or printer is connected
123           to that serial port.
124
125           Even if you say Y here, the currently visible virtual console
126           (/dev/tty0) will still be used as the system console by default, but
127           you can alter that using a kernel command line option such as
128           "console=ttyS1". (Try "man bootparam" or see the documentation of
129           your boot loader (silo) about how to pass options to the kernel at
130           boot time.)
131
132           If you don't have a graphics card installed and you say Y here, the
133           kernel will automatically use the first serial line, /dev/ttyS0, as
134           system console.
135
136           If unsure, say N.
137
138 config SUN_AUXIO
139         bool
140         default y
141
142 config SUN_IO
143         bool
144         default y
145
146 config RWSEM_GENERIC_SPINLOCK
147         bool
148         default y
149
150 config RWSEM_XCHGADD_ALGORITHM
151         bool
152
153 config GENERIC_FIND_NEXT_BIT
154         bool
155         default y
156
157 config GENERIC_HWEIGHT
158         bool
159         default y
160
161 config GENERIC_CALIBRATE_DELAY
162         bool
163         default y
164
165 config ARCH_MAY_HAVE_PC_FDC
166         bool
167         default y
168
169 config ARCH_HAS_ILOG2_U32
170         bool
171         default n
172
173 config ARCH_HAS_ILOG2_U64
174         bool
175         default n
176
177 config SUN_PM
178         bool
179         default y
180         help
181           Enable power management and CPU standby features on supported
182           SPARC platforms.
183
184 config SUN4
185         bool "Support for SUN4 machines (disables SUN4[CDM] support)"
186         depends on !SMP
187         default n
188         help
189           Say Y here if, and only if, your machine is a sun4. Note that
190           a kernel compiled with this option will run only on sun4.
191           (And the current version will probably work only on sun4/330.)
192
193 if !SUN4
194
195 config PCI
196         bool "Support for PCI and PS/2 keyboard/mouse"
197         help
198           CONFIG_PCI is needed for all JavaStation's (including MrCoffee),
199           CP-1200, JavaEngine-1, Corona, Red October, and Serengeti SGSC.
200           All of these platforms are extremely obscure, so say N if unsure.
201
202 source "drivers/pci/Kconfig"
203
204 endif
205
206 config SUN_OPENPROMFS
207         tristate "Openprom tree appears in /proc/openprom"
208         help
209           If you say Y, the OpenPROM device tree will be available as a
210           virtual file system, which you can mount to /proc/openprom by "mount
211           -t openpromfs none /proc/openprom".
212
213           To compile the /proc/openprom support as a module, choose M here: the
214           module will be called openpromfs.
215
216           Only choose N if you know in advance that you will not need to modify
217           OpenPROM settings on the running system.
218
219 config SPARC_LED
220         tristate "Sun4m LED driver"
221         help
222           This driver toggles the front-panel LED on sun4m systems
223           in a user-specifiable manner.  Its state can be probed
224           by reading /proc/led and its blinking mode can be changed
225           via writes to /proc/led
226
227 source "fs/Kconfig.binfmt"
228
229 config SUNOS_EMUL
230         bool "SunOS binary emulation"
231         help
232           This allows you to run most SunOS binaries.  If you want to do this,
233           say Y here and place appropriate files in /usr/gnemul/sunos. See
234           <http://www.ultralinux.org/faq.html> for more information.  If you
235           want to run SunOS binaries on an Ultra you must also say Y to
236           "Kernel support for 32-bit a.out binaries" above.
237
238 source "mm/Kconfig"
239
240 endmenu
241
242 source "net/Kconfig"
243
244 source "drivers/Kconfig"
245
246 if !SUN4
247 source "drivers/sbus/char/Kconfig"
248 endif
249
250 # This one must be before the filesystem configs. -DaveM
251
252 menu "Unix98 PTY support"
253
254 config UNIX98_PTYS
255         bool "Unix98 PTY support"
256         ---help---
257           A pseudo terminal (PTY) is a software device consisting of two
258           halves: a master and a slave. The slave device behaves identical to
259           a physical terminal; the master device is used by a process to
260           read data from and write data to the slave, thereby emulating a
261           terminal. Typical programs for the master side are telnet servers
262           and xterms.
263
264           Linux has traditionally used the BSD-like names /dev/ptyxx for
265           masters and /dev/ttyxx for slaves of pseudo terminals. This scheme
266           has a number of problems. The GNU C library glibc 2.1 and later,
267           however, supports the Unix98 naming standard: in order to acquire a
268           pseudo terminal, a process opens /dev/ptmx; the number of the pseudo
269           terminal is then made available to the process and the pseudo
270           terminal slave can be accessed as /dev/pts/<number>. What was
271           traditionally /dev/ttyp2 will then be /dev/pts/2, for example.
272
273           The entries in /dev/pts/ are created on the fly by a virtual
274           file system; therefore, if you say Y here you should say Y to
275           "/dev/pts file system for Unix98 PTYs" as well.
276
277           If you want to say Y here, you need to have the C library glibc 2.1
278           or later (equal to libc-6.1, check with "ls -l /lib/libc.so.*").
279           Read the instructions in <file:Documentation/Changes> pertaining to
280           pseudo terminals. It's safe to say N.
281
282 config UNIX98_PTY_COUNT
283         int "Maximum number of Unix98 PTYs in use (0-2048)"
284         depends on UNIX98_PTYS
285         default "256"
286         help
287           The maximum number of Unix98 PTYs that can be used at any one time.
288           The default is 256, and should be enough for desktop systems. Server
289           machines which support incoming telnet/rlogin/ssh connections and/or
290           serve several X terminals may want to increase this: every incoming
291           connection and every xterm uses up one PTY.
292
293           When not in use, each additional set of 256 PTYs occupy
294           approximately 8 KB of kernel memory on 32-bit architectures.
295
296 endmenu
297
298 source "fs/Kconfig"
299
300 menu "Instrumentation Support"
301         depends on EXPERIMENTAL
302
303 source "arch/sparc/oprofile/Kconfig"
304
305 endmenu
306
307 source "arch/sparc/Kconfig.debug"
308
309 source "security/Kconfig"
310
311 source "crypto/Kconfig"
312
313 source "lib/Kconfig"