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