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