Merge master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6
[sfrench/cifs-2.6.git] / arch / sparc64 / Kconfig
1 # $Id: config.in,v 1.158 2002/01/24 22:14:44 davem Exp $
2 # For a description of the syntax of this configuration file,
3 # see the Configure script.
4 #
5
6 mainmenu "Linux/UltraSPARC Kernel Configuration"
7
8 config SPARC
9         bool
10         default y
11
12 config SPARC64
13         bool
14         default y
15         help
16           SPARC is a family of RISC microprocessors designed and marketed by
17           Sun Microsystems, incorporated.  This port covers the newer 64-bit
18           UltraSPARC.  The UltraLinux project maintains both the SPARC32 and
19           SPARC64 ports; its web page is available at
20           <http://www.ultralinux.org/>.
21
22 config GENERIC_TIME
23         bool
24         default y
25
26 config GENERIC_CLOCKEVENTS
27         bool
28         default y
29
30 config 64BIT
31         def_bool y
32
33 config MMU
34         bool
35         default y
36
37 config QUICKLIST
38         bool
39         default y
40
41 config STACKTRACE_SUPPORT
42         bool
43         default y
44
45 config LOCKDEP_SUPPORT
46         bool
47         default y
48
49 config ARCH_MAY_HAVE_PC_FDC
50         bool
51         default y
52
53 config ARCH_HAS_ILOG2_U32
54         bool
55         default n
56
57 config ARCH_HAS_ILOG2_U64
58         bool
59         default n
60
61 config AUDIT_ARCH
62         bool
63         default y
64
65 choice
66         prompt "Kernel page size"
67         default SPARC64_PAGE_SIZE_8KB
68
69 config SPARC64_PAGE_SIZE_8KB
70         bool "8KB"
71         help
72           This lets you select the page size of the kernel.
73
74           8KB and 64KB work quite well, since Sparc ELF sections
75           provide for up to 64KB alignment.
76
77           Therefore, 512KB and 4MB are for expert hackers only.
78
79           If you don't know what to do, choose 8KB.
80
81 config SPARC64_PAGE_SIZE_64KB
82         bool "64KB"
83
84 config SPARC64_PAGE_SIZE_512KB
85         bool "512KB"
86
87 config SPARC64_PAGE_SIZE_4MB
88         bool "4MB"
89
90 endchoice
91
92 config SECCOMP
93         bool "Enable seccomp to safely compute untrusted bytecode"
94         depends on PROC_FS
95         default y
96         help
97           This kernel feature is useful for number crunching applications
98           that may need to compute untrusted bytecode during their
99           execution. By using pipes or other transports made available to
100           the process as file descriptors supporting the read/write
101           syscalls, it's possible to isolate those applications in
102           their own address space using seccomp. Once seccomp is
103           enabled via /proc/<pid>/seccomp, it cannot be disabled
104           and the task is only allowed to execute a few safe syscalls
105           defined by each seccomp mode.
106
107           If unsure, say Y. Only embedded should say N here.
108
109 source kernel/Kconfig.hz
110
111 source "init/Kconfig"
112
113 config SYSVIPC_COMPAT
114         bool
115         depends on COMPAT && SYSVIPC
116         default y
117
118 config GENERIC_HARDIRQS
119         bool
120         default y
121
122 menu "General machine setup"
123
124 source "kernel/time/Kconfig"
125
126 config SMP
127         bool "Symmetric multi-processing support"
128         ---help---
129           This enables support for systems with more than one CPU. If you have
130           a system with only one CPU, say N. If you have a system with more than
131           one CPU, say Y.
132
133           If you say N here, the kernel will run on single and multiprocessor
134           machines, but will use only one CPU of a multiprocessor machine. If
135           you say Y here, the kernel will run on many, but not all,
136           singleprocessor machines. On a singleprocessor machine, the kernel
137           will run faster if you say N here.
138
139           People using multiprocessor machines who say Y here should also say
140           Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
141           Management" code will be disabled if you say Y here.
142
143           See also the <file:Documentation/smp.txt>,
144           <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
145           <http://www.tldp.org/docs.html#howto>.
146
147           If you don't know what to do here, say N.
148
149 config NR_CPUS
150         int "Maximum number of CPUs (2-64)"
151         range 2 64
152         depends on SMP
153         default "32"
154
155 source "drivers/cpufreq/Kconfig"
156
157 config US3_FREQ
158         tristate "UltraSPARC-III CPU Frequency driver"
159         depends on CPU_FREQ
160         select CPU_FREQ_TABLE
161         help
162           This adds the CPUFreq driver for UltraSPARC-III processors.
163
164           For details, take a look at <file:Documentation/cpu-freq>.
165
166           If in doubt, say N.
167
168 config US2E_FREQ
169         tristate "UltraSPARC-IIe CPU Frequency driver"
170         depends on CPU_FREQ
171         select CPU_FREQ_TABLE
172         help
173           This adds the CPUFreq driver for UltraSPARC-IIe processors.
174
175           For details, take a look at <file:Documentation/cpu-freq>.
176
177           If in doubt, say N.
178
179 # Global things across all Sun machines.
180 config RWSEM_GENERIC_SPINLOCK
181         bool
182
183 config RWSEM_XCHGADD_ALGORITHM
184         bool
185         default y
186
187 config GENERIC_FIND_NEXT_BIT
188         bool
189         default y
190
191 config GENERIC_HWEIGHT
192         bool
193         default y if !ULTRA_HAS_POPULATION_COUNT
194
195 config GENERIC_CALIBRATE_DELAY
196         bool
197         default y
198
199 choice
200         prompt "SPARC64 Huge TLB Page Size"
201         depends on HUGETLB_PAGE
202         default HUGETLB_PAGE_SIZE_4MB
203
204 config HUGETLB_PAGE_SIZE_4MB
205         bool "4MB"
206
207 config HUGETLB_PAGE_SIZE_512K
208         depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB
209         bool "512K"
210
211 config HUGETLB_PAGE_SIZE_64K
212         depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB && !SPARC64_PAGE_SIZE_64KB
213         bool "64K"
214
215 endchoice
216
217 endmenu
218
219 config ARCH_SELECT_MEMORY_MODEL
220         def_bool y
221
222 config ARCH_SPARSEMEM_ENABLE
223         def_bool y
224
225 config ARCH_SPARSEMEM_DEFAULT
226         def_bool y
227         select SPARSEMEM_STATIC
228
229 config LARGE_ALLOCS
230         def_bool y
231
232 source "mm/Kconfig"
233
234 config ISA
235         bool
236         help
237           Find out whether you have ISA slots on your motherboard.  ISA is the
238           name of a bus system, i.e. the way the CPU talks to the other stuff
239           inside your box.  Other bus systems are PCI, EISA, MicroChannel
240           (MCA) or VESA.  ISA is an older system, now being displaced by PCI;
241           newer boards don't support it.  If you have ISA, say Y, otherwise N.
242
243 config ISAPNP
244         bool
245         help
246           Say Y here if you would like support for ISA Plug and Play devices.
247           Some information is in <file:Documentation/isapnp.txt>.
248
249           To compile this driver as a module, choose M here: the
250           module will be called isapnp.
251
252           If unsure, say Y.
253
254 config EISA
255         bool
256         ---help---
257           The Extended Industry Standard Architecture (EISA) bus was
258           developed as an open alternative to the IBM MicroChannel bus.
259
260           The EISA bus provided some of the features of the IBM MicroChannel
261           bus while maintaining backward compatibility with cards made for
262           the older ISA bus.  The EISA bus saw limited use between 1988 and
263           1995 when it was made obsolete by the PCI bus.
264
265           Say Y here if you are building a kernel for an EISA-based machine.
266
267           Otherwise, say N.
268
269 config MCA
270         bool
271         help
272           MicroChannel Architecture is found in some IBM PS/2 machines and
273           laptops.  It is a bus system similar to PCI or ISA. See
274           <file:Documentation/mca.txt> (and especially the web page given
275           there) before attempting to build an MCA bus kernel.
276
277 config PCMCIA
278         tristate
279         ---help---
280           Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
281           computer.  These are credit-card size devices such as network cards,
282           modems or hard drives often used with laptops computers.  There are
283           actually two varieties of these cards: the older 16 bit PCMCIA cards
284           and the newer 32 bit CardBus cards.  If you want to use CardBus
285           cards, you need to say Y here and also to "CardBus support" below.
286
287           To use your PC-cards, you will need supporting software from David
288           Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
289           for location).  Please also read the PCMCIA-HOWTO, available from
290           <http://www.tldp.org/docs.html#howto>.
291
292           To compile this driver as modules, choose M here: the
293           modules will be called pcmcia_core and ds.
294
295 config SBUS
296         bool
297         default y
298
299 config SBUSCHAR
300         bool
301         default y
302
303 config SUN_AUXIO
304         bool
305         default y
306
307 config SUN_IO
308         bool
309         default y
310
311 config PCI
312         bool "PCI support"
313         select ARCH_SUPPORTS_MSI
314         help
315           Find out whether you have a PCI motherboard. PCI is the name of a
316           bus system, i.e. the way the CPU talks to the other stuff inside
317           your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
318           VESA. If you have PCI, say Y, otherwise N.
319
320           The PCI-HOWTO, available from
321           <http://www.tldp.org/docs.html#howto>, contains valuable
322           information about which PCI hardware does work under Linux and which
323           doesn't.
324
325 config PCI_DOMAINS
326         bool
327         default PCI
328
329 source "drivers/pci/Kconfig"
330
331 config SUN_OPENPROMFS
332         tristate "Openprom tree appears in /proc/openprom"
333         help
334           If you say Y, the OpenPROM device tree will be available as a
335           virtual file system, which you can mount to /proc/openprom by "mount
336           -t openpromfs none /proc/openprom".
337
338           To compile the /proc/openprom support as a module, choose M here: the
339           module will be called openpromfs.  If unsure, choose M.
340
341 config SPARC32_COMPAT
342         bool "Kernel support for Linux/Sparc 32bit binary compatibility"
343         help
344           This allows you to run 32-bit binaries on your Ultra.
345           Everybody wants this; say Y.
346
347 config COMPAT
348         bool
349         depends on SPARC32_COMPAT
350         default y
351
352 config BINFMT_ELF32
353         bool "Kernel support for 32-bit ELF binaries"
354         depends on SPARC32_COMPAT
355         help
356           This allows you to run 32-bit Linux/ELF binaries on your Ultra.
357           Everybody wants this; say Y.
358
359 config BINFMT_AOUT32
360         bool "Kernel support for 32-bit (ie. SunOS) a.out binaries"
361         depends on SPARC32_COMPAT
362         help
363           This allows you to run 32-bit a.out format binaries on your Ultra.
364           If you want to run SunOS binaries (see SunOS binary emulation below)
365           or other a.out binaries, say Y. If unsure, say N.
366
367 menu "Executable file formats"
368
369 source "fs/Kconfig.binfmt"
370
371 config SUNOS_EMUL
372         bool "SunOS binary emulation"
373         depends on BINFMT_AOUT32
374         help
375           This allows you to run most SunOS binaries.  If you want to do this,
376           say Y here and place appropriate files in /usr/gnemul/sunos. See
377           <http://www.ultralinux.org/faq.html> for more information.  If you
378           want to run SunOS binaries on an Ultra you must also say Y to
379           "Kernel support for 32-bit a.out binaries" above.
380
381 config SOLARIS_EMUL
382         tristate "Solaris binary emulation (EXPERIMENTAL)"
383         depends on SPARC32_COMPAT && EXPERIMENTAL
384         help
385           This is experimental code which will enable you to run (many)
386           Solaris binaries on your SPARC Linux machine.
387
388           To compile this code as a module, choose M here: the
389           module will be called solaris.
390
391 endmenu
392
393 config SCHED_SMT
394         bool "SMT (Hyperthreading) scheduler support"
395         depends on SMP
396         default y
397         help
398           SMT scheduler support improves the CPU scheduler's decision making
399           when dealing with UltraSPARC cpus at a cost of slightly increased
400           overhead in some places. If unsure say N here.
401
402 source "kernel/Kconfig.preempt"
403
404 config CMDLINE_BOOL
405         bool "Default bootloader kernel arguments"
406
407 config CMDLINE
408         string "Initial kernel command string"
409         depends on CMDLINE_BOOL
410         default "console=ttyS0,9600 root=/dev/sda1"
411         help
412           Say Y here if you want to be able to pass default arguments to
413           the kernel. This will be overridden by the bootloader, if you
414           use one (such as SILO). This is most useful if you want to boot
415           a kernel from TFTP, and want default options to be available
416           with having them passed on the command line.
417
418           NOTE: This option WILL override the PROM bootargs setting!
419
420 source "net/Kconfig"
421
422 source "drivers/Kconfig"
423
424 source "drivers/sbus/char/Kconfig"
425
426 source "drivers/fc4/Kconfig"
427
428 source "fs/Kconfig"
429
430 menu "Instrumentation Support"
431         depends on EXPERIMENTAL
432
433 source "arch/sparc64/oprofile/Kconfig"
434
435 config KPROBES
436         bool "Kprobes (EXPERIMENTAL)"
437         depends on KALLSYMS && EXPERIMENTAL && MODULES
438         help
439           Kprobes allows you to trap at almost any kernel address and
440           execute a callback function.  register_kprobe() establishes
441           a probepoint and specifies the callback.  Kprobes is useful
442           for kernel debugging, non-intrusive instrumentation and testing.
443           If in doubt, say "N".
444 endmenu
445
446 source "arch/sparc64/Kconfig.debug"
447
448 source "security/Kconfig"
449
450 source "crypto/Kconfig"
451
452 source "lib/Kconfig"