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