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