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