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