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