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