blob: 3d9bc2f0b4710acc364436b250d5975160c986a8 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001# $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
6mainmenu "Linux/SPARC Kernel Configuration"
7
8config MMU
9 bool
10 default y
11
Linus Torvalds1da177e2005-04-16 15:20:36 -070012config HIGHMEM
13 bool
14 default y
15
Christoph Lameter5ac6da62007-02-10 01:43:14 -080016config ZONE_DMA
17 bool
18 default y
19
Linus Torvalds1da177e2005-04-16 15:20:36 -070020config GENERIC_ISA_DMA
21 bool
22 default y
23
Stephen Rothwell0785b9d2007-07-18 00:09:30 -070024config ARCH_NO_VIRT_TO_BUS
25 def_bool y
26
Stephen Rothwell97e873e2007-05-01 16:26:07 +100027config OF
28 def_bool y
29
Linus Torvalds1da177e2005-04-16 15:20:36 -070030source "init/Kconfig"
31
32menu "General machine setup"
33
Linus Torvalds1da177e2005-04-16 15:20:36 -070034config SMP
35 bool "Symmetric multi-processing support (does not work on sun4/sun4c)"
Linus Torvalds1da177e2005-04-16 15:20:36 -070036 ---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
57config NR_CPUS
58 int "Maximum number of CPUs (2-32)"
59 range 2 32
60 depends on SMP
61 default "32"
62
Adrian Bunk0b57ee92005-12-22 21:03:47 -080063config SPARC
64 bool
65 default y
Mathieu Desnoyers42d4b832008-02-02 15:10:34 -050066 select HAVE_OPROFILE
Adrian Bunk0b57ee92005-12-22 21:03:47 -080067
Linus Torvalds1da177e2005-04-16 15:20:36 -070068# Identify this as a Sparc32 build
69config 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.
82config ISA
83 bool
84 help
85 ISA is found on Espresso only and is not supported currently.
86 Say N
87
88config EISA
89 bool
90 help
91 EISA is not supported.
92 Say N
93
94config MCA
95 bool
96 help
97 MCA is not supported.
98 Say N
99
100config 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
118config SBUS
119 bool
120 default y
121
122config SBUSCHAR
123 bool
124 default y
125
126config 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
149config SUN_AUXIO
150 bool
151 default y
152
153config SUN_IO
154 bool
155 default y
156
157config RWSEM_GENERIC_SPINLOCK
158 bool
159 default y
160
161config RWSEM_XCHGADD_ALGORITHM
162 bool
163
Akinobu Mitad59288b2006-03-26 01:39:39 -0800164config GENERIC_FIND_NEXT_BIT
165 bool
166 default y
167
168config GENERIC_HWEIGHT
169 bool
170 default y
171
Linus Torvalds1da177e2005-04-16 15:20:36 -0700172config GENERIC_CALIBRATE_DELAY
173 bool
174 default y
175
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +0100176config ARCH_MAY_HAVE_PC_FDC
177 bool
178 default y
179
David Howellsf0d1b0b2006-12-08 02:37:49 -0800180config ARCH_HAS_ILOG2_U32
181 bool
182 default n
183
184config ARCH_HAS_ILOG2_U64
185 bool
186 default n
187
Martin Habets5f819412007-05-29 01:11:57 -0700188config 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
Linus Torvalds1da177e2005-04-16 15:20:36 -0700195config SUN_PM
196 bool
197 default y
198 help
199 Enable power management and CPU standby features on supported
200 SPARC platforms.
201
202config 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
211if !SUN4
212
213config 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
Matthew Wilcox36e23592007-07-10 10:54:40 -0600220config PCI_SYSCALL
221 def_bool PCI
222
Linus Torvalds1da177e2005-04-16 15:20:36 -0700223source "drivers/pci/Kconfig"
224
225endif
226
Al Viro7155c9f2007-07-17 08:49:35 +0100227config NO_DMA
228 def_bool !PCI
229
Linus Torvalds1da177e2005-04-16 15:20:36 -0700230config 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
Lars Kotthoffee1858d2005-11-07 14:08:04 -0800243config SPARC_LED
244 tristate "Sun4m LED driver"
245 help
246 This driver toggles the front-panel LED on sun4m systems
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +0100247 in a user-specifiable manner. Its state can be probed
248 by reading /proc/led and its blinking mode can be changed
Lars Kotthoffee1858d2005-11-07 14:08:04 -0800249 via writes to /proc/led
250
Linus Torvalds1da177e2005-04-16 15:20:36 -0700251source "fs/Kconfig.binfmt"
252
253config 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
William Lee Irwin III30aaa802005-06-23 00:10:18 -0700262source "mm/Kconfig"
263
264endmenu
265
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700266source "net/Kconfig"
267
William Lee Irwin III30aaa802005-06-23 00:10:18 -0700268source "drivers/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700269
Linus Torvalds1da177e2005-04-16 15:20:36 -0700270if !SUN4
271source "drivers/sbus/char/Kconfig"
272endif
273
Linus Torvalds1da177e2005-04-16 15:20:36 -0700274# This one must be before the filesystem configs. -DaveM
275
276menu "Unix98 PTY support"
277
278config 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
306config 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
320endmenu
321
Linus Torvalds1da177e2005-04-16 15:20:36 -0700322source "fs/Kconfig"
323
Mathieu Desnoyers09caded2007-10-18 23:41:05 -0700324source "kernel/Kconfig.instrumentation"
Martin Habets9550e592006-10-17 19:21:48 -0700325
Linus Torvalds1da177e2005-04-16 15:20:36 -0700326source "arch/sparc/Kconfig.debug"
327
328source "security/Kconfig"
329
330source "crypto/Kconfig"
331
332source "lib/Kconfig"