blob: f1cc55677ff24b874db671be74d8ba736c727dbf [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 Miller3a2cba92007-05-06 14:49:51 -070037config QUICKLIST
38 bool
39 default y
40
David S. Miller10e26722006-11-16 13:38:57 -080041config STACKTRACE_SUPPORT
42 bool
43 default y
44
45config LOCKDEP_SUPPORT
46 bool
47 default y
48
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +010049config ARCH_MAY_HAVE_PC_FDC
50 bool
51 default y
52
David Howellsf0d1b0b2006-12-08 02:37:49 -080053config ARCH_HAS_ILOG2_U32
54 bool
55 default n
56
57config ARCH_HAS_ILOG2_U64
58 bool
59 default n
60
Al Virof6bc0c12006-09-12 02:59:45 -040061config AUDIT_ARCH
62 bool
63 default y
64
Stephen Rothwell0785b9d2007-07-18 00:09:30 -070065config ARCH_NO_VIRT_TO_BUS
66 def_bool y
67
Stephen Rothwell97e873e2007-05-01 16:26:07 +100068config OF
69 def_bool y
70
Linus Torvalds1da177e2005-04-16 15:20:36 -070071choice
72 prompt "Kernel page size"
73 default SPARC64_PAGE_SIZE_8KB
74
75config SPARC64_PAGE_SIZE_8KB
76 bool "8KB"
77 help
78 This lets you select the page size of the kernel.
79
80 8KB and 64KB work quite well, since Sparc ELF sections
81 provide for up to 64KB alignment.
82
83 Therefore, 512KB and 4MB are for expert hackers only.
84
85 If you don't know what to do, choose 8KB.
86
87config SPARC64_PAGE_SIZE_64KB
88 bool "64KB"
89
90config SPARC64_PAGE_SIZE_512KB
91 bool "512KB"
92
93config SPARC64_PAGE_SIZE_4MB
94 bool "4MB"
95
96endchoice
97
David S. Millerbb49bcd2005-07-10 16:49:28 -070098config SECCOMP
99 bool "Enable seccomp to safely compute untrusted bytecode"
100 depends on PROC_FS
101 default y
102 help
103 This kernel feature is useful for number crunching applications
104 that may need to compute untrusted bytecode during their
105 execution. By using pipes or other transports made available to
106 the process as file descriptors supporting the read/write
107 syscalls, it's possible to isolate those applications in
108 their own address space using seccomp. Once seccomp is
109 enabled via /proc/<pid>/seccomp, it cannot be disabled
110 and the task is only allowed to execute a few safe syscalls
111 defined by each seccomp mode.
112
113 If unsure, say Y. Only embedded should say N here.
114
David S. Millera6524812005-07-08 15:21:51 -0700115source kernel/Kconfig.hz
116
David S. Miller4f0234f2007-07-13 16:03:42 -0700117config HOTPLUG_CPU
118 bool "Support for hot-pluggable CPUs"
119 depends on SMP
120 select HOTPLUG
121 ---help---
122 Say Y here to experiment with turning CPUs off and on. CPUs
123 can be controlled through /sys/devices/system/cpu/cpu#.
124 Say N if you want to disable CPU hotplug.
125
Linus Torvalds1da177e2005-04-16 15:20:36 -0700126source "init/Kconfig"
127
128config SYSVIPC_COMPAT
129 bool
130 depends on COMPAT && SYSVIPC
131 default y
132
David S. Millere18e2a02006-06-20 01:23:32 -0700133config GENERIC_HARDIRQS
134 bool
135 default y
136
Linus Torvalds1da177e2005-04-16 15:20:36 -0700137menu "General machine setup"
138
David S. Miller112f4872007-03-05 15:28:37 -0800139source "kernel/time/Kconfig"
140
Linus Torvalds1da177e2005-04-16 15:20:36 -0700141config SMP
142 bool "Symmetric multi-processing support"
143 ---help---
144 This enables support for systems with more than one CPU. If you have
145 a system with only one CPU, say N. If you have a system with more than
146 one CPU, say Y.
147
148 If you say N here, the kernel will run on single and multiprocessor
149 machines, but will use only one CPU of a multiprocessor machine. If
150 you say Y here, the kernel will run on many, but not all,
151 singleprocessor machines. On a singleprocessor machine, the kernel
152 will run faster if you say N here.
153
154 People using multiprocessor machines who say Y here should also say
155 Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
156 Management" code will be disabled if you say Y here.
157
158 See also the <file:Documentation/smp.txt>,
159 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
160 <http://www.tldp.org/docs.html#howto>.
161
162 If you don't know what to do here, say N.
163
Linus Torvalds1da177e2005-04-16 15:20:36 -0700164config NR_CPUS
David S. Miller22adb352007-05-26 01:14:43 -0700165 int "Maximum number of CPUs (2-1024)"
166 range 2 1024
Linus Torvalds1da177e2005-04-16 15:20:36 -0700167 depends on SMP
David S. Miller22adb352007-05-26 01:14:43 -0700168 default "64"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700169
170source "drivers/cpufreq/Kconfig"
171
172config US3_FREQ
173 tristate "UltraSPARC-III CPU Frequency driver"
174 depends on CPU_FREQ
175 select CPU_FREQ_TABLE
176 help
177 This adds the CPUFreq driver for UltraSPARC-III processors.
178
179 For details, take a look at <file:Documentation/cpu-freq>.
180
181 If in doubt, say N.
182
183config US2E_FREQ
184 tristate "UltraSPARC-IIe CPU Frequency driver"
185 depends on CPU_FREQ
186 select CPU_FREQ_TABLE
187 help
188 This adds the CPUFreq driver for UltraSPARC-IIe processors.
189
190 For details, take a look at <file:Documentation/cpu-freq>.
191
192 If in doubt, say N.
193
Linus Torvalds1da177e2005-04-16 15:20:36 -0700194# Global things across all Sun machines.
195config RWSEM_GENERIC_SPINLOCK
196 bool
197
198config RWSEM_XCHGADD_ALGORITHM
199 bool
200 default y
201
Akinobu Mita2d78d4b2006-03-26 01:39:40 -0800202config GENERIC_FIND_NEXT_BIT
203 bool
204 default y
205
206config GENERIC_HWEIGHT
207 bool
208 default y if !ULTRA_HAS_POPULATION_COUNT
209
Linus Torvalds1da177e2005-04-16 15:20:36 -0700210config GENERIC_CALIBRATE_DELAY
211 bool
212 default y
213
214choice
215 prompt "SPARC64 Huge TLB Page Size"
216 depends on HUGETLB_PAGE
217 default HUGETLB_PAGE_SIZE_4MB
218
219config HUGETLB_PAGE_SIZE_4MB
220 bool "4MB"
221
222config HUGETLB_PAGE_SIZE_512K
David S. Millerdcc1e8d2006-03-22 00:49:59 -0800223 depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700224 bool "512K"
225
226config HUGETLB_PAGE_SIZE_64K
Jean-Luc Légerf2a15852006-04-18 16:19:53 -0700227 depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB && !SPARC64_PAGE_SIZE_64KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700228 bool "64K"
229
230endchoice
231
David S. Miller5843e372005-08-30 21:46:19 -0700232endmenu
233
David S. Miller68491d52006-04-06 20:28:11 -0700234config ARCH_SELECT_MEMORY_MODEL
235 def_bool y
236
David S. Millerd1112012006-03-08 02:16:07 -0800237config ARCH_SPARSEMEM_ENABLE
238 def_bool y
239
240config ARCH_SPARSEMEM_DEFAULT
241 def_bool y
David S. Millerd78d0892007-03-14 22:47:01 -0700242 select SPARSEMEM_STATIC
David S. Millerd1112012006-03-08 02:16:07 -0800243
David S. Miller5843e372005-08-30 21:46:19 -0700244source "mm/Kconfig"
245
Linus Torvalds1da177e2005-04-16 15:20:36 -0700246config ISA
247 bool
248 help
249 Find out whether you have ISA slots on your motherboard. ISA is the
250 name of a bus system, i.e. the way the CPU talks to the other stuff
251 inside your box. Other bus systems are PCI, EISA, MicroChannel
252 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
253 newer boards don't support it. If you have ISA, say Y, otherwise N.
254
255config ISAPNP
256 bool
257 help
258 Say Y here if you would like support for ISA Plug and Play devices.
259 Some information is in <file:Documentation/isapnp.txt>.
260
261 To compile this driver as a module, choose M here: the
262 module will be called isapnp.
263
264 If unsure, say Y.
265
266config EISA
267 bool
268 ---help---
269 The Extended Industry Standard Architecture (EISA) bus was
270 developed as an open alternative to the IBM MicroChannel bus.
271
272 The EISA bus provided some of the features of the IBM MicroChannel
273 bus while maintaining backward compatibility with cards made for
274 the older ISA bus. The EISA bus saw limited use between 1988 and
275 1995 when it was made obsolete by the PCI bus.
276
277 Say Y here if you are building a kernel for an EISA-based machine.
278
279 Otherwise, say N.
280
281config MCA
282 bool
283 help
284 MicroChannel Architecture is found in some IBM PS/2 machines and
285 laptops. It is a bus system similar to PCI or ISA. See
286 <file:Documentation/mca.txt> (and especially the web page given
287 there) before attempting to build an MCA bus kernel.
288
289config PCMCIA
290 tristate
291 ---help---
292 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
293 computer. These are credit-card size devices such as network cards,
294 modems or hard drives often used with laptops computers. There are
295 actually two varieties of these cards: the older 16 bit PCMCIA cards
296 and the newer 32 bit CardBus cards. If you want to use CardBus
297 cards, you need to say Y here and also to "CardBus support" below.
298
299 To use your PC-cards, you will need supporting software from David
300 Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
301 for location). Please also read the PCMCIA-HOWTO, available from
302 <http://www.tldp.org/docs.html#howto>.
303
304 To compile this driver as modules, choose M here: the
305 modules will be called pcmcia_core and ds.
306
307config SBUS
308 bool
309 default y
310
311config SBUSCHAR
312 bool
313 default y
314
315config SUN_AUXIO
316 bool
317 default y
318
319config SUN_IO
320 bool
321 default y
322
David S. Millere53e97c2007-07-09 22:22:44 -0700323config SUN_LDOMS
324 bool "Sun Logical Domains support"
325 help
326 Say Y here is you want to support virtual devices via
327 Logical Domains.
328
Linus Torvalds1da177e2005-04-16 15:20:36 -0700329config PCI
330 bool "PCI support"
Dan Williamsf282b972007-04-18 18:46:20 +1000331 select ARCH_SUPPORTS_MSI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700332 help
333 Find out whether you have a PCI motherboard. PCI is the name of a
334 bus system, i.e. the way the CPU talks to the other stuff inside
335 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
336 VESA. If you have PCI, say Y, otherwise N.
337
338 The PCI-HOWTO, available from
339 <http://www.tldp.org/docs.html#howto>, contains valuable
340 information about which PCI hardware does work under Linux and which
341 doesn't.
342
343config PCI_DOMAINS
Matthew Wilcox36e23592007-07-10 10:54:40 -0600344 def_bool PCI
345
346config PCI_SYSCALL
347 def_bool PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700348
Linus Torvalds1da177e2005-04-16 15:20:36 -0700349source "drivers/pci/Kconfig"
350
351config SUN_OPENPROMFS
352 tristate "Openprom tree appears in /proc/openprom"
353 help
354 If you say Y, the OpenPROM device tree will be available as a
355 virtual file system, which you can mount to /proc/openprom by "mount
356 -t openpromfs none /proc/openprom".
357
358 To compile the /proc/openprom support as a module, choose M here: the
359 module will be called openpromfs. If unsure, choose M.
360
361config SPARC32_COMPAT
362 bool "Kernel support for Linux/Sparc 32bit binary compatibility"
363 help
364 This allows you to run 32-bit binaries on your Ultra.
365 Everybody wants this; say Y.
366
367config COMPAT
368 bool
369 depends on SPARC32_COMPAT
370 default y
371
Linus Torvalds1da177e2005-04-16 15:20:36 -0700372config BINFMT_ELF32
Christoph Hellwig289fbc22006-07-10 04:45:38 -0700373 bool "Kernel support for 32-bit ELF binaries"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700374 depends on SPARC32_COMPAT
375 help
376 This allows you to run 32-bit Linux/ELF binaries on your Ultra.
377 Everybody wants this; say Y.
378
379config BINFMT_AOUT32
380 bool "Kernel support for 32-bit (ie. SunOS) a.out binaries"
381 depends on SPARC32_COMPAT
382 help
383 This allows you to run 32-bit a.out format binaries on your Ultra.
384 If you want to run SunOS binaries (see SunOS binary emulation below)
385 or other a.out binaries, say Y. If unsure, say N.
386
David S. Miller5843e372005-08-30 21:46:19 -0700387menu "Executable file formats"
388
Linus Torvalds1da177e2005-04-16 15:20:36 -0700389source "fs/Kconfig.binfmt"
390
391config SUNOS_EMUL
392 bool "SunOS binary emulation"
393 depends on BINFMT_AOUT32
394 help
395 This allows you to run most SunOS binaries. If you want to do this,
396 say Y here and place appropriate files in /usr/gnemul/sunos. See
397 <http://www.ultralinux.org/faq.html> for more information. If you
398 want to run SunOS binaries on an Ultra you must also say Y to
399 "Kernel support for 32-bit a.out binaries" above.
400
401config SOLARIS_EMUL
402 tristate "Solaris binary emulation (EXPERIMENTAL)"
403 depends on SPARC32_COMPAT && EXPERIMENTAL
404 help
405 This is experimental code which will enable you to run (many)
406 Solaris binaries on your SPARC Linux machine.
407
408 To compile this code as a module, choose M here: the
409 module will be called solaris.
410
David S. Miller5843e372005-08-30 21:46:19 -0700411endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -0700412
David S. Miller8935dce2006-03-08 16:09:19 -0800413config SCHED_SMT
414 bool "SMT (Hyperthreading) scheduler support"
415 depends on SMP
416 default y
417 help
418 SMT scheduler support improves the CPU scheduler's decision making
419 when dealing with UltraSPARC cpus at a cost of slightly increased
420 overhead in some places. If unsure say N here.
421
David S. Millerf78eae22007-06-04 17:01:39 -0700422config SCHED_MC
423 bool "Multi-core scheduler support"
424 depends on SMP
425 default y
426 help
427 Multi-core scheduler support improves the CPU scheduler's decision
428 making when dealing with multi-core CPU chips at a cost of slightly
429 increased overhead in some places. If unsure say N here.
430
David S. Millerdb2f9f62007-03-17 15:23:22 -0700431source "kernel/Kconfig.preempt"
432
Linus Torvalds1da177e2005-04-16 15:20:36 -0700433config CMDLINE_BOOL
434 bool "Default bootloader kernel arguments"
435
436config CMDLINE
437 string "Initial kernel command string"
438 depends on CMDLINE_BOOL
439 default "console=ttyS0,9600 root=/dev/sda1"
440 help
441 Say Y here if you want to be able to pass default arguments to
442 the kernel. This will be overridden by the bootloader, if you
443 use one (such as SILO). This is most useful if you want to boot
444 a kernel from TFTP, and want default options to be available
445 with having them passed on the command line.
446
447 NOTE: This option WILL override the PROM bootargs setting!
448
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700449source "net/Kconfig"
450
David S. Miller5843e372005-08-30 21:46:19 -0700451source "drivers/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700452
453source "drivers/sbus/char/Kconfig"
454
Linus Torvalds1da177e2005-04-16 15:20:36 -0700455source "drivers/fc4/Kconfig"
456
Linus Torvalds1da177e2005-04-16 15:20:36 -0700457source "fs/Kconfig"
458
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800459menu "Instrumentation Support"
460 depends on EXPERIMENTAL
461
Linus Torvalds1da177e2005-04-16 15:20:36 -0700462source "arch/sparc64/oprofile/Kconfig"
463
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800464config KPROBES
465 bool "Kprobes (EXPERIMENTAL)"
Ananth N Mavinakayanahalli3a872d82006-10-02 02:17:30 -0700466 depends on KALLSYMS && EXPERIMENTAL && MODULES
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800467 help
468 Kprobes allows you to trap at almost any kernel address and
469 execute a callback function. register_kprobe() establishes
470 a probepoint and specifies the callback. Kprobes is useful
471 for kernel debugging, non-intrusive instrumentation and testing.
472 If in doubt, say "N".
473endmenu
474
Linus Torvalds1da177e2005-04-16 15:20:36 -0700475source "arch/sparc64/Kconfig.debug"
476
477source "security/Kconfig"
478
479source "crypto/Kconfig"
480
481source "lib/Kconfig"