]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blob - arch/sparc/Kconfig
08821b078eccc20a3b4da15359115b5c2ea3990f
[linux-2.6-omap-h63xx.git] / arch / sparc / Kconfig
1 # $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
6 mainmenu "Linux/SPARC Kernel Configuration"
7
8 config MMU
9         bool
10         default y
11
12 config HIGHMEM
13         bool
14         default y
15
16 config ZONE_DMA
17         bool
18         default y
19
20 config GENERIC_ISA_DMA
21         bool
22         default y
23
24 config ARCH_NO_VIRT_TO_BUS
25         def_bool y
26
27 config OF
28         def_bool y
29
30 config ARCH_SUPPORTS_AOUT
31         def_bool y
32
33 source "init/Kconfig"
34
35 menu "General machine setup"
36
37 config SMP
38         bool "Symmetric multi-processing support (does not work on sun4/sun4c)"
39         ---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
54           See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
55           available at <http://www.tldp.org/docs.html#howto>.
56
57           If you don't know what to do here, say N.
58
59 config NR_CPUS
60         int "Maximum number of CPUs (2-32)"
61         range 2 32
62         depends on SMP
63         default "32"
64
65 config SPARC
66         bool
67         default y
68         select HAVE_OPROFILE
69
70 # Identify this as a Sparc32 build
71 config 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.
84 config ISA
85         bool
86         help
87           ISA is found on Espresso only and is not supported currently.
88           Say N
89
90 config EISA
91         bool
92         help
93           EISA is not supported.
94           Say N
95
96 config MCA
97         bool
98         help
99           MCA is not supported.
100           Say N
101
102 config 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
120 config SBUS
121         bool
122         default y
123
124 config SBUSCHAR
125         bool
126         default y
127
128 config 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
151 config SUN_AUXIO
152         bool
153         default y
154
155 config SUN_IO
156         bool
157         default y
158
159 config RWSEM_GENERIC_SPINLOCK
160         bool
161         default y
162
163 config RWSEM_XCHGADD_ALGORITHM
164         bool
165
166 config GENERIC_FIND_NEXT_BIT
167         bool
168         default y
169
170 config GENERIC_HWEIGHT
171         bool
172         default y
173
174 config GENERIC_CALIBRATE_DELAY
175         bool
176         default y
177
178 config ARCH_MAY_HAVE_PC_FDC
179         bool
180         default y
181
182 config ARCH_HAS_ILOG2_U32
183         bool
184         default n
185
186 config ARCH_HAS_ILOG2_U64
187         bool
188         default n
189
190 config 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
197 config SUN_PM
198         bool
199         default y
200         help
201           Enable power management and CPU standby features on supported
202           SPARC platforms.
203
204 config 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
213 if !SUN4
214
215 config 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
222 config PCI_SYSCALL
223         def_bool PCI
224
225 source "drivers/pci/Kconfig"
226
227 endif
228
229 config NO_DMA
230         def_bool !PCI
231
232 config 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
245 config SPARC_LED
246         tristate "Sun4m LED driver"
247         help
248           This driver toggles the front-panel LED on sun4m systems
249           in a user-specifiable manner.  Its state can be probed
250           by reading /proc/led and its blinking mode can be changed
251           via writes to /proc/led
252
253 source "fs/Kconfig.binfmt"
254
255 config 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
264 source "mm/Kconfig"
265
266 endmenu
267
268 source "net/Kconfig"
269
270 source "drivers/Kconfig"
271
272 if !SUN4
273 source "drivers/sbus/char/Kconfig"
274 endif
275
276 # This one must be before the filesystem configs. -DaveM
277
278 menu "Unix98 PTY support"
279
280 config 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
308 config 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
322 endmenu
323
324 source "fs/Kconfig"
325
326 source "arch/sparc/Kconfig.debug"
327
328 source "security/Kconfig"
329
330 source "crypto/Kconfig"
331
332 source "lib/Kconfig"