blob: cb1dd356b278ae9430f797ab36caf4daa2c87657 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001# For a description of the syntax of this configuration file,
2# see Documentation/kbuild/kconfig-language.txt.
3#
4
5mainmenu "Linux/SPARC Kernel Configuration"
6
7config MMU
8 bool
9 default y
10
Linus Torvalds1da177e2005-04-16 15:20:36 -070011config HIGHMEM
12 bool
13 default y
14
Christoph Lameter5ac6da62007-02-10 01:43:14 -080015config ZONE_DMA
16 bool
17 default y
18
Linus Torvalds1da177e2005-04-16 15:20:36 -070019config GENERIC_ISA_DMA
20 bool
21 default y
22
David S. Miller15df0f32008-08-20 23:03:24 -070023config GENERIC_GPIO
24 bool
25 help
26 Generic GPIO API support
27
Stephen Rothwell0785b9d2007-07-18 00:09:30 -070028config ARCH_NO_VIRT_TO_BUS
29 def_bool y
30
Stephen Rothwell97e873e2007-05-01 16:26:07 +100031config OF
32 def_bool y
33
H. Peter Anvinbdc80782008-02-08 04:21:26 -080034config HZ
35 int
36 default 100
37
Linus Torvalds1da177e2005-04-16 15:20:36 -070038source "init/Kconfig"
39
40menu "General machine setup"
41
Linus Torvalds1da177e2005-04-16 15:20:36 -070042config SMP
43 bool "Symmetric multi-processing support (does not work on sun4/sun4c)"
Linus Torvalds1da177e2005-04-16 15:20:36 -070044 ---help---
45 This enables support for systems with more than one CPU. If you have
46 a system with only one CPU, say N. If you have a system with more
47 than one CPU, say Y.
48
49 If you say N here, the kernel will run on single and multiprocessor
50 machines, but will use only one CPU of a multiprocessor machine. If
51 you say Y here, the kernel will run on many, but not all,
52 singleprocessor machines. On a singleprocessor machine, the kernel
53 will run faster if you say N here.
54
55 People using multiprocessor machines who say Y here should also say
56 Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
57 Management" code will be disabled if you say Y here.
58
Adrian Bunk03502fa2008-02-03 15:50:21 +020059 See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
60 available at <http://www.tldp.org/docs.html#howto>.
Linus Torvalds1da177e2005-04-16 15:20:36 -070061
62 If you don't know what to do here, say N.
63
64config NR_CPUS
65 int "Maximum number of CPUs (2-32)"
66 range 2 32
67 depends on SMP
68 default "32"
69
Adrian Bunk0b57ee92005-12-22 21:03:47 -080070config SPARC
71 bool
72 default y
Sam Ravnborgec7748b2008-02-09 10:46:40 +010073 select HAVE_IDE
Mathieu Desnoyers42d4b832008-02-02 15:10:34 -050074 select HAVE_OPROFILE
David S. Millere2fdd7f2008-04-29 02:38:50 -070075 select HAVE_ARCH_KGDB if !SMP
David S. Miller04d91cb2008-07-27 03:53:32 -070076 select HAVE_ARCH_TRACEHOOK
David S. Miller15df0f32008-08-20 23:03:24 -070077 select ARCH_WANT_OPTIONAL_GPIOLIB
Adrian Bunk0b57ee92005-12-22 21:03:47 -080078
Linus Torvalds1da177e2005-04-16 15:20:36 -070079# Identify this as a Sparc32 build
80config SPARC32
81 bool
82 default y
83 help
84 SPARC is a family of RISC microprocessors designed and marketed by
85 Sun Microsystems, incorporated. They are very widely found in Sun
86 workstations and clones. This port covers the original 32-bit SPARC;
87 it is old and stable and usually considered one of the "big three"
88 along with the Intel and Alpha ports. The UltraLinux project
89 maintains both the SPARC32 and SPARC64 ports; its web page is
90 available at <http://www.ultralinux.org/>.
91
92# Global things across all Sun machines.
93config ISA
94 bool
95 help
96 ISA is found on Espresso only and is not supported currently.
97 Say N
98
99config EISA
100 bool
101 help
102 EISA is not supported.
103 Say N
104
105config MCA
106 bool
107 help
108 MCA is not supported.
109 Say N
110
111config PCMCIA
112 tristate
113 ---help---
114 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
115 computer. These are credit-card size devices such as network cards,
116 modems or hard drives often used with laptops computers. There are
117 actually two varieties of these cards: the older 16 bit PCMCIA cards
118 and the newer 32 bit CardBus cards. If you want to use CardBus
119 cards, you need to say Y here and also to "CardBus support" below.
120
121 To use your PC-cards, you will need supporting software from David
122 Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
123 for location). Please also read the PCMCIA-HOWTO, available from
124 <http://www.tldp.org/docs.html#howto>.
125
126 To compile this driver as modules, choose M here: the
127 modules will be called pcmcia_core and ds.
128
129config SBUS
130 bool
131 default y
132
133config SBUSCHAR
134 bool
135 default y
136
137config SERIAL_CONSOLE
138 bool
139 default y
140 ---help---
141 If you say Y here, it will be possible to use a serial port as the
142 system console (the system console is the device which receives all
143 kernel messages and warnings and which allows logins in single user
144 mode). This could be useful if some terminal or printer is connected
145 to that serial port.
146
147 Even if you say Y here, the currently visible virtual console
148 (/dev/tty0) will still be used as the system console by default, but
149 you can alter that using a kernel command line option such as
150 "console=ttyS1". (Try "man bootparam" or see the documentation of
151 your boot loader (silo) about how to pass options to the kernel at
152 boot time.)
153
154 If you don't have a graphics card installed and you say Y here, the
155 kernel will automatically use the first serial line, /dev/ttyS0, as
156 system console.
157
158 If unsure, say N.
159
160config SUN_AUXIO
161 bool
162 default y
163
164config SUN_IO
165 bool
166 default y
167
168config RWSEM_GENERIC_SPINLOCK
169 bool
170 default y
171
172config RWSEM_XCHGADD_ALGORITHM
173 bool
174
Akinobu Mitad59288b2006-03-26 01:39:39 -0800175config GENERIC_FIND_NEXT_BIT
176 bool
177 default y
178
179config GENERIC_HWEIGHT
180 bool
181 default y
182
Linus Torvalds1da177e2005-04-16 15:20:36 -0700183config GENERIC_CALIBRATE_DELAY
184 bool
185 default y
186
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +0100187config ARCH_MAY_HAVE_PC_FDC
188 bool
189 default y
190
David Howellsf0d1b0b2006-12-08 02:37:49 -0800191config ARCH_HAS_ILOG2_U32
192 bool
193 default n
194
195config ARCH_HAS_ILOG2_U64
196 bool
197 default n
198
Martin Habets5f819412007-05-29 01:11:57 -0700199config EMULATED_CMPXCHG
200 bool
201 default y
202 help
203 Sparc32 does not have a CAS instruction like sparc64. cmpxchg()
204 is emulated, and therefore it is not completely atomic.
205
Linus Torvalds1da177e2005-04-16 15:20:36 -0700206config SUN_PM
207 bool
208 default y
209 help
210 Enable power management and CPU standby features on supported
211 SPARC platforms.
212
213config SUN4
214 bool "Support for SUN4 machines (disables SUN4[CDM] support)"
215 depends on !SMP
216 default n
217 help
218 Say Y here if, and only if, your machine is a sun4. Note that
219 a kernel compiled with this option will run only on sun4.
220 (And the current version will probably work only on sun4/330.)
221
222if !SUN4
223
224config PCI
225 bool "Support for PCI and PS/2 keyboard/mouse"
226 help
227 CONFIG_PCI is needed for all JavaStation's (including MrCoffee),
228 CP-1200, JavaEngine-1, Corona, Red October, and Serengeti SGSC.
229 All of these platforms are extremely obscure, so say N if unsure.
230
Matthew Wilcox36e23592007-07-10 10:54:40 -0600231config PCI_SYSCALL
232 def_bool PCI
233
Linus Torvalds1da177e2005-04-16 15:20:36 -0700234source "drivers/pci/Kconfig"
235
236endif
237
Al Viro7155c9f2007-07-17 08:49:35 +0100238config NO_DMA
239 def_bool !PCI
240
Linus Torvalds1da177e2005-04-16 15:20:36 -0700241config SUN_OPENPROMFS
242 tristate "Openprom tree appears in /proc/openprom"
243 help
244 If you say Y, the OpenPROM device tree will be available as a
245 virtual file system, which you can mount to /proc/openprom by "mount
246 -t openpromfs none /proc/openprom".
247
248 To compile the /proc/openprom support as a module, choose M here: the
249 module will be called openpromfs.
250
251 Only choose N if you know in advance that you will not need to modify
252 OpenPROM settings on the running system.
253
Lars Kotthoffee1858d2005-11-07 14:08:04 -0800254config SPARC_LED
255 tristate "Sun4m LED driver"
256 help
257 This driver toggles the front-panel LED on sun4m systems
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +0100258 in a user-specifiable manner. Its state can be probed
259 by reading /proc/led and its blinking mode can be changed
Lars Kotthoffee1858d2005-11-07 14:08:04 -0800260 via writes to /proc/led
261
Linus Torvalds1da177e2005-04-16 15:20:36 -0700262source "fs/Kconfig.binfmt"
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
Linus Torvalds1da177e2005-04-16 15:20:36 -0700308endmenu
309
Linus Torvalds1da177e2005-04-16 15:20:36 -0700310source "fs/Kconfig"
311
Linus Torvalds1da177e2005-04-16 15:20:36 -0700312source "arch/sparc/Kconfig.debug"
313
314source "security/Kconfig"
315
316source "crypto/Kconfig"
317
318source "lib/Kconfig"