blob: 51c87fdd998c3a1de4038ada10d9200f4ef15d96 [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
223
David S. Miller9b4006d2006-03-18 18:12:42 -0800224config LARGE_ALLOCS
225 def_bool y
226
David S. Miller5843e372005-08-30 21:46:19 -0700227source "mm/Kconfig"
228
Linus Torvalds1da177e2005-04-16 15:20:36 -0700229config ISA
230 bool
231 help
232 Find out whether you have ISA slots on your motherboard. ISA is the
233 name of a bus system, i.e. the way the CPU talks to the other stuff
234 inside your box. Other bus systems are PCI, EISA, MicroChannel
235 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
236 newer boards don't support it. If you have ISA, say Y, otherwise N.
237
238config ISAPNP
239 bool
240 help
241 Say Y here if you would like support for ISA Plug and Play devices.
242 Some information is in <file:Documentation/isapnp.txt>.
243
244 To compile this driver as a module, choose M here: the
245 module will be called isapnp.
246
247 If unsure, say Y.
248
249config EISA
250 bool
251 ---help---
252 The Extended Industry Standard Architecture (EISA) bus was
253 developed as an open alternative to the IBM MicroChannel bus.
254
255 The EISA bus provided some of the features of the IBM MicroChannel
256 bus while maintaining backward compatibility with cards made for
257 the older ISA bus. The EISA bus saw limited use between 1988 and
258 1995 when it was made obsolete by the PCI bus.
259
260 Say Y here if you are building a kernel for an EISA-based machine.
261
262 Otherwise, say N.
263
264config MCA
265 bool
266 help
267 MicroChannel Architecture is found in some IBM PS/2 machines and
268 laptops. It is a bus system similar to PCI or ISA. See
269 <file:Documentation/mca.txt> (and especially the web page given
270 there) before attempting to build an MCA bus kernel.
271
272config PCMCIA
273 tristate
274 ---help---
275 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
276 computer. These are credit-card size devices such as network cards,
277 modems or hard drives often used with laptops computers. There are
278 actually two varieties of these cards: the older 16 bit PCMCIA cards
279 and the newer 32 bit CardBus cards. If you want to use CardBus
280 cards, you need to say Y here and also to "CardBus support" below.
281
282 To use your PC-cards, you will need supporting software from David
283 Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
284 for location). Please also read the PCMCIA-HOWTO, available from
285 <http://www.tldp.org/docs.html#howto>.
286
287 To compile this driver as modules, choose M here: the
288 modules will be called pcmcia_core and ds.
289
290config SBUS
291 bool
292 default y
293
294config SBUSCHAR
295 bool
296 default y
297
298config SUN_AUXIO
299 bool
300 default y
301
302config SUN_IO
303 bool
304 default y
305
306config PCI
307 bool "PCI support"
308 help
309 Find out whether you have a PCI motherboard. PCI is the name of a
310 bus system, i.e. the way the CPU talks to the other stuff inside
311 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
312 VESA. If you have PCI, say Y, otherwise N.
313
314 The PCI-HOWTO, available from
315 <http://www.tldp.org/docs.html#howto>, contains valuable
316 information about which PCI hardware does work under Linux and which
317 doesn't.
318
319config PCI_DOMAINS
320 bool
321 default PCI
322
Linus Torvalds1da177e2005-04-16 15:20:36 -0700323source "drivers/pci/Kconfig"
324
325config SUN_OPENPROMFS
326 tristate "Openprom tree appears in /proc/openprom"
327 help
328 If you say Y, the OpenPROM device tree will be available as a
329 virtual file system, which you can mount to /proc/openprom by "mount
330 -t openpromfs none /proc/openprom".
331
332 To compile the /proc/openprom support as a module, choose M here: the
333 module will be called openpromfs. If unsure, choose M.
334
335config SPARC32_COMPAT
336 bool "Kernel support for Linux/Sparc 32bit binary compatibility"
337 help
338 This allows you to run 32-bit binaries on your Ultra.
339 Everybody wants this; say Y.
340
341config COMPAT
342 bool
343 depends on SPARC32_COMPAT
344 default y
345
Linus Torvalds1da177e2005-04-16 15:20:36 -0700346config BINFMT_ELF32
Christoph Hellwig289fbc22006-07-10 04:45:38 -0700347 bool "Kernel support for 32-bit ELF binaries"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700348 depends on SPARC32_COMPAT
349 help
350 This allows you to run 32-bit Linux/ELF binaries on your Ultra.
351 Everybody wants this; say Y.
352
353config BINFMT_AOUT32
354 bool "Kernel support for 32-bit (ie. SunOS) a.out binaries"
355 depends on SPARC32_COMPAT
356 help
357 This allows you to run 32-bit a.out format binaries on your Ultra.
358 If you want to run SunOS binaries (see SunOS binary emulation below)
359 or other a.out binaries, say Y. If unsure, say N.
360
David S. Miller5843e372005-08-30 21:46:19 -0700361menu "Executable file formats"
362
Linus Torvalds1da177e2005-04-16 15:20:36 -0700363source "fs/Kconfig.binfmt"
364
365config SUNOS_EMUL
366 bool "SunOS binary emulation"
367 depends on BINFMT_AOUT32
368 help
369 This allows you to run most SunOS binaries. If you want to do this,
370 say Y here and place appropriate files in /usr/gnemul/sunos. See
371 <http://www.ultralinux.org/faq.html> for more information. If you
372 want to run SunOS binaries on an Ultra you must also say Y to
373 "Kernel support for 32-bit a.out binaries" above.
374
375config SOLARIS_EMUL
376 tristate "Solaris binary emulation (EXPERIMENTAL)"
377 depends on SPARC32_COMPAT && EXPERIMENTAL
378 help
379 This is experimental code which will enable you to run (many)
380 Solaris binaries on your SPARC Linux machine.
381
382 To compile this code as a module, choose M here: the
383 module will be called solaris.
384
David S. Miller5843e372005-08-30 21:46:19 -0700385endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -0700386
David S. Miller8935dce2006-03-08 16:09:19 -0800387config SCHED_SMT
388 bool "SMT (Hyperthreading) scheduler support"
389 depends on SMP
390 default y
391 help
392 SMT scheduler support improves the CPU scheduler's decision making
393 when dealing with UltraSPARC cpus at a cost of slightly increased
394 overhead in some places. If unsure say N here.
395
David S. Millerdb2f9f62007-03-17 15:23:22 -0700396source "kernel/Kconfig.preempt"
397
Linus Torvalds1da177e2005-04-16 15:20:36 -0700398config CMDLINE_BOOL
399 bool "Default bootloader kernel arguments"
400
401config CMDLINE
402 string "Initial kernel command string"
403 depends on CMDLINE_BOOL
404 default "console=ttyS0,9600 root=/dev/sda1"
405 help
406 Say Y here if you want to be able to pass default arguments to
407 the kernel. This will be overridden by the bootloader, if you
408 use one (such as SILO). This is most useful if you want to boot
409 a kernel from TFTP, and want default options to be available
410 with having them passed on the command line.
411
412 NOTE: This option WILL override the PROM bootargs setting!
413
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700414source "net/Kconfig"
415
David S. Miller5843e372005-08-30 21:46:19 -0700416source "drivers/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700417
418source "drivers/sbus/char/Kconfig"
419
Linus Torvalds1da177e2005-04-16 15:20:36 -0700420source "drivers/fc4/Kconfig"
421
Linus Torvalds1da177e2005-04-16 15:20:36 -0700422source "fs/Kconfig"
423
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800424menu "Instrumentation Support"
425 depends on EXPERIMENTAL
426
Linus Torvalds1da177e2005-04-16 15:20:36 -0700427source "arch/sparc64/oprofile/Kconfig"
428
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800429config KPROBES
430 bool "Kprobes (EXPERIMENTAL)"
Ananth N Mavinakayanahalli3a872d82006-10-02 02:17:30 -0700431 depends on KALLSYMS && EXPERIMENTAL && MODULES
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800432 help
433 Kprobes allows you to trap at almost any kernel address and
434 execute a callback function. register_kprobe() establishes
435 a probepoint and specifies the callback. Kprobes is useful
436 for kernel debugging, non-intrusive instrumentation and testing.
437 If in doubt, say "N".
438endmenu
439
Linus Torvalds1da177e2005-04-16 15:20:36 -0700440source "arch/sparc64/Kconfig.debug"
441
442source "security/Kconfig"
443
444source "crypto/Kconfig"
445
446source "lib/Kconfig"