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