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