blob: c83f6f036337c049e4d0afa729e41727abbba762 [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
Sam Ravnborg35da3e32008-11-15 13:40:12 -08007config SPARC
8 bool
9 default y
10 select HAVE_IDE
11 select HAVE_OPROFILE
12 select HAVE_ARCH_KGDB if !SMP
13 select HAVE_ARCH_TRACEHOOK
14 select ARCH_WANT_OPTIONAL_GPIOLIB
15 select RTC_CLASS
16 select RTC_DRV_M48T59
17
18# Identify this as a Sparc32 build
19config SPARC32
20 bool
21 default y
22 help
23 SPARC is a family of RISC microprocessors designed and marketed by
24 Sun Microsystems, incorporated. They are very widely found in Sun
25 workstations and clones. This port covers the original 32-bit SPARC;
26 it is old and stable and usually considered one of the "big three"
27 along with the Intel and Alpha ports. The UltraLinux project
28 maintains both the SPARC32 and SPARC64 ports; its web page is
29 available at <http://www.ultralinux.org/>.
30
Linus Torvalds1da177e2005-04-16 15:20:36 -070031config MMU
32 bool
33 default y
34
Linus Torvalds1da177e2005-04-16 15:20:36 -070035config HIGHMEM
36 bool
37 default y
38
Christoph Lameter5ac6da62007-02-10 01:43:14 -080039config ZONE_DMA
40 bool
41 default y
42
Linus Torvalds1da177e2005-04-16 15:20:36 -070043config GENERIC_ISA_DMA
44 bool
45 default y
46
David S. Miller15df0f32008-08-20 23:03:24 -070047config GENERIC_GPIO
48 bool
49 help
50 Generic GPIO API support
51
Stephen Rothwell0785b9d2007-07-18 00:09:30 -070052config ARCH_NO_VIRT_TO_BUS
53 def_bool y
54
Stephen Rothwell97e873e2007-05-01 16:26:07 +100055config OF
56 def_bool y
57
H. Peter Anvinbdc80782008-02-08 04:21:26 -080058config HZ
59 int
60 default 100
61
Linus Torvalds1da177e2005-04-16 15:20:36 -070062source "init/Kconfig"
63
Matt Helsleydc52ddc2008-10-18 20:27:21 -070064source "kernel/Kconfig.freezer"
65
Linus Torvalds1da177e2005-04-16 15:20:36 -070066menu "General machine setup"
67
Linus Torvalds1da177e2005-04-16 15:20:36 -070068config SMP
69 bool "Symmetric multi-processing support (does not work on sun4/sun4c)"
Linus Torvalds1da177e2005-04-16 15:20:36 -070070 ---help---
71 This enables support for systems with more than one CPU. If you have
72 a system with only one CPU, say N. If you have a system with more
73 than one CPU, say Y.
74
75 If you say N here, the kernel will run on single and multiprocessor
76 machines, but will use only one CPU of a multiprocessor machine. If
77 you say Y here, the kernel will run on many, but not all,
78 singleprocessor machines. On a singleprocessor machine, the kernel
79 will run faster if you say N here.
80
81 People using multiprocessor machines who say Y here should also say
82 Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
83 Management" code will be disabled if you say Y here.
84
Adrian Bunk03502fa2008-02-03 15:50:21 +020085 See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
86 available at <http://www.tldp.org/docs.html#howto>.
Linus Torvalds1da177e2005-04-16 15:20:36 -070087
88 If you don't know what to do here, say N.
89
90config NR_CPUS
91 int "Maximum number of CPUs (2-32)"
92 range 2 32
93 depends on SMP
94 default "32"
95
Linus Torvalds1da177e2005-04-16 15:20:36 -070096
97# Global things across all Sun machines.
98config ISA
99 bool
100 help
101 ISA is found on Espresso only and is not supported currently.
102 Say N
103
104config EISA
105 bool
106 help
107 EISA is not supported.
108 Say N
109
110config MCA
111 bool
112 help
113 MCA is not supported.
114 Say N
115
116config PCMCIA
117 tristate
118 ---help---
119 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
120 computer. These are credit-card size devices such as network cards,
121 modems or hard drives often used with laptops computers. There are
122 actually two varieties of these cards: the older 16 bit PCMCIA cards
123 and the newer 32 bit CardBus cards. If you want to use CardBus
124 cards, you need to say Y here and also to "CardBus support" below.
125
126 To use your PC-cards, you will need supporting software from David
127 Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
128 for location). Please also read the PCMCIA-HOWTO, available from
129 <http://www.tldp.org/docs.html#howto>.
130
131 To compile this driver as modules, choose M here: the
132 modules will be called pcmcia_core and ds.
133
134config SBUS
135 bool
136 default y
137
138config SBUSCHAR
139 bool
140 default y
141
142config SERIAL_CONSOLE
143 bool
144 default y
145 ---help---
146 If you say Y here, it will be possible to use a serial port as the
147 system console (the system console is the device which receives all
148 kernel messages and warnings and which allows logins in single user
149 mode). This could be useful if some terminal or printer is connected
150 to that serial port.
151
152 Even if you say Y here, the currently visible virtual console
153 (/dev/tty0) will still be used as the system console by default, but
154 you can alter that using a kernel command line option such as
155 "console=ttyS1". (Try "man bootparam" or see the documentation of
156 your boot loader (silo) about how to pass options to the kernel at
157 boot time.)
158
159 If you don't have a graphics card installed and you say Y here, the
160 kernel will automatically use the first serial line, /dev/ttyS0, as
161 system console.
162
163 If unsure, say N.
164
165config SUN_AUXIO
166 bool
167 default y
168
169config SUN_IO
170 bool
171 default y
172
173config RWSEM_GENERIC_SPINLOCK
174 bool
175 default y
176
177config RWSEM_XCHGADD_ALGORITHM
178 bool
179
Akinobu Mitad59288b2006-03-26 01:39:39 -0800180config GENERIC_FIND_NEXT_BIT
181 bool
182 default y
183
184config GENERIC_HWEIGHT
185 bool
186 default y
187
Linus Torvalds1da177e2005-04-16 15:20:36 -0700188config GENERIC_CALIBRATE_DELAY
189 bool
190 default y
191
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +0100192config ARCH_MAY_HAVE_PC_FDC
193 bool
194 default y
195
David Howellsf0d1b0b2006-12-08 02:37:49 -0800196config ARCH_HAS_ILOG2_U32
197 bool
198 default n
199
200config ARCH_HAS_ILOG2_U64
201 bool
202 default n
203
Martin Habets5f819412007-05-29 01:11:57 -0700204config EMULATED_CMPXCHG
205 bool
206 default y
207 help
208 Sparc32 does not have a CAS instruction like sparc64. cmpxchg()
209 is emulated, and therefore it is not completely atomic.
210
Linus Torvalds1da177e2005-04-16 15:20:36 -0700211config SUN_PM
212 bool
213 default y
214 help
215 Enable power management and CPU standby features on supported
216 SPARC platforms.
217
Linus Torvalds1da177e2005-04-16 15:20:36 -0700218config PCI
219 bool "Support for PCI and PS/2 keyboard/mouse"
220 help
221 CONFIG_PCI is needed for all JavaStation's (including MrCoffee),
222 CP-1200, JavaEngine-1, Corona, Red October, and Serengeti SGSC.
223 All of these platforms are extremely obscure, so say N if unsure.
224
Matthew Wilcox36e23592007-07-10 10:54:40 -0600225config PCI_SYSCALL
226 def_bool PCI
227
Linus Torvalds1da177e2005-04-16 15:20:36 -0700228source "drivers/pci/Kconfig"
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
William Lee Irwin III30aaa802005-06-23 00:10:18 -0700253source "mm/Kconfig"
254
255endmenu
256
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700257source "net/Kconfig"
258
William Lee Irwin III30aaa802005-06-23 00:10:18 -0700259source "drivers/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700260
Linus Torvalds1da177e2005-04-16 15:20:36 -0700261source "drivers/sbus/char/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700262
Linus Torvalds1da177e2005-04-16 15:20:36 -0700263# This one must be before the filesystem configs. -DaveM
264
265menu "Unix98 PTY support"
266
267config UNIX98_PTYS
268 bool "Unix98 PTY support"
269 ---help---
270 A pseudo terminal (PTY) is a software device consisting of two
271 halves: a master and a slave. The slave device behaves identical to
272 a physical terminal; the master device is used by a process to
273 read data from and write data to the slave, thereby emulating a
274 terminal. Typical programs for the master side are telnet servers
275 and xterms.
276
277 Linux has traditionally used the BSD-like names /dev/ptyxx for
278 masters and /dev/ttyxx for slaves of pseudo terminals. This scheme
279 has a number of problems. The GNU C library glibc 2.1 and later,
280 however, supports the Unix98 naming standard: in order to acquire a
281 pseudo terminal, a process opens /dev/ptmx; the number of the pseudo
282 terminal is then made available to the process and the pseudo
283 terminal slave can be accessed as /dev/pts/<number>. What was
284 traditionally /dev/ttyp2 will then be /dev/pts/2, for example.
285
286 The entries in /dev/pts/ are created on the fly by a virtual
287 file system; therefore, if you say Y here you should say Y to
288 "/dev/pts file system for Unix98 PTYs" as well.
289
290 If you want to say Y here, you need to have the C library glibc 2.1
291 or later (equal to libc-6.1, check with "ls -l /lib/libc.so.*").
292 Read the instructions in <file:Documentation/Changes> pertaining to
293 pseudo terminals. It's safe to say N.
294
Linus Torvalds1da177e2005-04-16 15:20:36 -0700295endmenu
296
Linus Torvalds1da177e2005-04-16 15:20:36 -0700297source "fs/Kconfig"
298
Linus Torvalds1da177e2005-04-16 15:20:36 -0700299source "arch/sparc/Kconfig.debug"
300
301source "security/Kconfig"
302
303source "crypto/Kconfig"
304
305source "lib/Kconfig"