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