blob: 7392ea9c23016375a02fac281c00b26585c1216c [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
Thomas Gleixner82644452007-07-21 04:37:37 -070026config GENERIC_CMOS_UPDATE
27 bool
28 default y
29
David S. Miller112f4872007-03-05 15:28:37 -080030config GENERIC_CLOCKEVENTS
31 bool
32 default y
33
Linus Torvalds1da177e2005-04-16 15:20:36 -070034config 64BIT
35 def_bool y
36
37config MMU
38 bool
39 default y
40
David Miller3a2cba92007-05-06 14:49:51 -070041config QUICKLIST
42 bool
43 default y
44
David S. Miller10e26722006-11-16 13:38:57 -080045config STACKTRACE_SUPPORT
46 bool
47 default y
48
49config LOCKDEP_SUPPORT
50 bool
51 default y
52
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +010053config ARCH_MAY_HAVE_PC_FDC
54 bool
55 default y
56
David Howellsf0d1b0b2006-12-08 02:37:49 -080057config ARCH_HAS_ILOG2_U32
58 bool
59 default n
60
61config ARCH_HAS_ILOG2_U64
62 bool
63 default n
64
Al Virof6bc0c12006-09-12 02:59:45 -040065config AUDIT_ARCH
66 bool
67 default y
68
travis@sgi.com988c3882008-01-30 23:27:58 +010069config HAVE_SETUP_PER_CPU_AREA
travis@sgi.comb32ef632008-01-30 13:32:51 +010070 def_bool y
71
Stephen Rothwell0785b9d2007-07-18 00:09:30 -070072config ARCH_NO_VIRT_TO_BUS
73 def_bool y
74
Stephen Rothwell97e873e2007-05-01 16:26:07 +100075config OF
76 def_bool y
77
David S. Miller8d57d3a2007-10-22 02:16:45 -070078config GENERIC_HARDIRQS_NO__DO_IRQ
79 bool
80 def_bool y
81
Linus Torvalds1da177e2005-04-16 15:20:36 -070082choice
83 prompt "Kernel page size"
84 default SPARC64_PAGE_SIZE_8KB
85
86config SPARC64_PAGE_SIZE_8KB
87 bool "8KB"
88 help
89 This lets you select the page size of the kernel.
90
91 8KB and 64KB work quite well, since Sparc ELF sections
92 provide for up to 64KB alignment.
93
94 Therefore, 512KB and 4MB are for expert hackers only.
95
96 If you don't know what to do, choose 8KB.
97
98config SPARC64_PAGE_SIZE_64KB
99 bool "64KB"
100
101config SPARC64_PAGE_SIZE_512KB
102 bool "512KB"
103
104config SPARC64_PAGE_SIZE_4MB
105 bool "4MB"
106
107endchoice
108
David S. Millerbb49bcd2005-07-10 16:49:28 -0700109config SECCOMP
110 bool "Enable seccomp to safely compute untrusted bytecode"
111 depends on PROC_FS
112 default y
113 help
114 This kernel feature is useful for number crunching applications
115 that may need to compute untrusted bytecode during their
116 execution. By using pipes or other transports made available to
117 the process as file descriptors supporting the read/write
118 syscalls, it's possible to isolate those applications in
119 their own address space using seccomp. Once seccomp is
120 enabled via /proc/<pid>/seccomp, it cannot be disabled
121 and the task is only allowed to execute a few safe syscalls
122 defined by each seccomp mode.
123
124 If unsure, say Y. Only embedded should say N here.
125
David S. Millera6524812005-07-08 15:21:51 -0700126source kernel/Kconfig.hz
127
David S. Miller4f0234f2007-07-13 16:03:42 -0700128config HOTPLUG_CPU
129 bool "Support for hot-pluggable CPUs"
130 depends on SMP
131 select HOTPLUG
132 ---help---
133 Say Y here to experiment with turning CPUs off and on. CPUs
134 can be controlled through /sys/devices/system/cpu/cpu#.
135 Say N if you want to disable CPU hotplug.
136
Linus Torvalds1da177e2005-04-16 15:20:36 -0700137source "init/Kconfig"
138
139config SYSVIPC_COMPAT
140 bool
141 depends on COMPAT && SYSVIPC
142 default y
143
David S. Millere18e2a02006-06-20 01:23:32 -0700144config GENERIC_HARDIRQS
145 bool
146 default y
147
Linus Torvalds1da177e2005-04-16 15:20:36 -0700148menu "General machine setup"
149
David S. Miller112f4872007-03-05 15:28:37 -0800150source "kernel/time/Kconfig"
151
Linus Torvalds1da177e2005-04-16 15:20:36 -0700152config SMP
153 bool "Symmetric multi-processing support"
154 ---help---
155 This enables support for systems with more than one CPU. If you have
156 a system with only one CPU, say N. If you have a system with more than
157 one CPU, say Y.
158
159 If you say N here, the kernel will run on single and multiprocessor
160 machines, but will use only one CPU of a multiprocessor machine. If
161 you say Y here, the kernel will run on many, but not all,
162 singleprocessor machines. On a singleprocessor machine, the kernel
163 will run faster if you say N here.
164
165 People using multiprocessor machines who say Y here should also say
166 Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
167 Management" code will be disabled if you say Y here.
168
Adrian Bunk03502fa2008-02-03 15:50:21 +0200169 See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
170 available at <http://www.tldp.org/docs.html#howto>.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700171
172 If you don't know what to do here, say N.
173
Linus Torvalds1da177e2005-04-16 15:20:36 -0700174config NR_CPUS
David S. Miller22adb352007-05-26 01:14:43 -0700175 int "Maximum number of CPUs (2-1024)"
176 range 2 1024
Linus Torvalds1da177e2005-04-16 15:20:36 -0700177 depends on SMP
David S. Miller22adb352007-05-26 01:14:43 -0700178 default "64"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700179
180source "drivers/cpufreq/Kconfig"
181
182config US3_FREQ
183 tristate "UltraSPARC-III CPU Frequency driver"
184 depends on CPU_FREQ
185 select CPU_FREQ_TABLE
186 help
187 This adds the CPUFreq driver for UltraSPARC-III processors.
188
189 For details, take a look at <file:Documentation/cpu-freq>.
190
191 If in doubt, say N.
192
193config US2E_FREQ
194 tristate "UltraSPARC-IIe CPU Frequency driver"
195 depends on CPU_FREQ
196 select CPU_FREQ_TABLE
197 help
198 This adds the CPUFreq driver for UltraSPARC-IIe processors.
199
200 For details, take a look at <file:Documentation/cpu-freq>.
201
202 If in doubt, say N.
203
Linus Torvalds1da177e2005-04-16 15:20:36 -0700204# Global things across all Sun machines.
Nick Piggin95c354f2008-01-30 13:31:20 +0100205config GENERIC_LOCKBREAK
206 bool
207 default y
208 depends on SMP && PREEMPT
209
Linus Torvalds1da177e2005-04-16 15:20:36 -0700210config RWSEM_GENERIC_SPINLOCK
211 bool
212
213config RWSEM_XCHGADD_ALGORITHM
214 bool
215 default y
216
Akinobu Mita2d78d4b2006-03-26 01:39:40 -0800217config GENERIC_FIND_NEXT_BIT
218 bool
219 default y
220
221config GENERIC_HWEIGHT
222 bool
223 default y if !ULTRA_HAS_POPULATION_COUNT
224
Linus Torvalds1da177e2005-04-16 15:20:36 -0700225config GENERIC_CALIBRATE_DELAY
226 bool
227 default y
228
229choice
230 prompt "SPARC64 Huge TLB Page Size"
231 depends on HUGETLB_PAGE
232 default HUGETLB_PAGE_SIZE_4MB
233
234config HUGETLB_PAGE_SIZE_4MB
235 bool "4MB"
236
237config HUGETLB_PAGE_SIZE_512K
David S. Millerdcc1e8d2006-03-22 00:49:59 -0800238 depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700239 bool "512K"
240
241config HUGETLB_PAGE_SIZE_64K
Jean-Luc Légerf2a15852006-04-18 16:19:53 -0700242 depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB && !SPARC64_PAGE_SIZE_64KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700243 bool "64K"
244
245endchoice
246
David S. Miller5843e372005-08-30 21:46:19 -0700247endmenu
248
David S. Miller68491d52006-04-06 20:28:11 -0700249config ARCH_SELECT_MEMORY_MODEL
250 def_bool y
251
David S. Millerd1112012006-03-08 02:16:07 -0800252config ARCH_SPARSEMEM_ENABLE
253 def_bool y
David Miller46644c22007-10-16 01:24:16 -0700254 select SPARSEMEM_VMEMMAP_ENABLE
David S. Millerd1112012006-03-08 02:16:07 -0800255
256config ARCH_SPARSEMEM_DEFAULT
257 def_bool y
258
David S. Miller5843e372005-08-30 21:46:19 -0700259source "mm/Kconfig"
260
Linus Torvalds1da177e2005-04-16 15:20:36 -0700261config ISA
262 bool
263 help
264 Find out whether you have ISA slots on your motherboard. ISA is the
265 name of a bus system, i.e. the way the CPU talks to the other stuff
266 inside your box. Other bus systems are PCI, EISA, MicroChannel
267 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
268 newer boards don't support it. If you have ISA, say Y, otherwise N.
269
270config ISAPNP
271 bool
272 help
273 Say Y here if you would like support for ISA Plug and Play devices.
274 Some information is in <file:Documentation/isapnp.txt>.
275
276 To compile this driver as a module, choose M here: the
277 module will be called isapnp.
278
279 If unsure, say Y.
280
281config EISA
282 bool
283 ---help---
284 The Extended Industry Standard Architecture (EISA) bus was
285 developed as an open alternative to the IBM MicroChannel bus.
286
287 The EISA bus provided some of the features of the IBM MicroChannel
288 bus while maintaining backward compatibility with cards made for
289 the older ISA bus. The EISA bus saw limited use between 1988 and
290 1995 when it was made obsolete by the PCI bus.
291
292 Say Y here if you are building a kernel for an EISA-based machine.
293
294 Otherwise, say N.
295
296config MCA
297 bool
298 help
299 MicroChannel Architecture is found in some IBM PS/2 machines and
300 laptops. It is a bus system similar to PCI or ISA. See
301 <file:Documentation/mca.txt> (and especially the web page given
302 there) before attempting to build an MCA bus kernel.
303
304config PCMCIA
305 tristate
306 ---help---
307 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
308 computer. These are credit-card size devices such as network cards,
309 modems or hard drives often used with laptops computers. There are
310 actually two varieties of these cards: the older 16 bit PCMCIA cards
311 and the newer 32 bit CardBus cards. If you want to use CardBus
312 cards, you need to say Y here and also to "CardBus support" below.
313
314 To use your PC-cards, you will need supporting software from David
315 Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
316 for location). Please also read the PCMCIA-HOWTO, available from
317 <http://www.tldp.org/docs.html#howto>.
318
319 To compile this driver as modules, choose M here: the
320 modules will be called pcmcia_core and ds.
321
322config SBUS
323 bool
324 default y
325
326config SBUSCHAR
327 bool
328 default y
329
330config SUN_AUXIO
331 bool
332 default y
333
334config SUN_IO
335 bool
336 default y
337
David S. Millere53e97c2007-07-09 22:22:44 -0700338config SUN_LDOMS
339 bool "Sun Logical Domains support"
340 help
341 Say Y here is you want to support virtual devices via
342 Logical Domains.
343
Linus Torvalds1da177e2005-04-16 15:20:36 -0700344config PCI
345 bool "PCI support"
Dan Williamsf282b9702007-04-18 18:46:20 +1000346 select ARCH_SUPPORTS_MSI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700347 help
348 Find out whether you have a PCI motherboard. PCI is the name of a
349 bus system, i.e. the way the CPU talks to the other stuff inside
350 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
351 VESA. If you have PCI, say Y, otherwise N.
352
Linus Torvalds1da177e2005-04-16 15:20:36 -0700353config PCI_DOMAINS
Matthew Wilcox36e23592007-07-10 10:54:40 -0600354 def_bool PCI
355
356config PCI_SYSCALL
357 def_bool PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700358
Linus Torvalds1da177e2005-04-16 15:20:36 -0700359source "drivers/pci/Kconfig"
360
361config SUN_OPENPROMFS
362 tristate "Openprom tree appears in /proc/openprom"
363 help
364 If you say Y, the OpenPROM device tree will be available as a
365 virtual file system, which you can mount to /proc/openprom by "mount
366 -t openpromfs none /proc/openprom".
367
368 To compile the /proc/openprom support as a module, choose M here: the
369 module will be called openpromfs. If unsure, choose M.
370
371config SPARC32_COMPAT
372 bool "Kernel support for Linux/Sparc 32bit binary compatibility"
373 help
374 This allows you to run 32-bit binaries on your Ultra.
375 Everybody wants this; say Y.
376
377config COMPAT
378 bool
379 depends on SPARC32_COMPAT
380 default y
381
Linus Torvalds1da177e2005-04-16 15:20:36 -0700382config BINFMT_ELF32
Christoph Hellwig289fbc22006-07-10 04:45:38 -0700383 bool "Kernel support for 32-bit ELF binaries"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700384 depends on SPARC32_COMPAT
385 help
386 This allows you to run 32-bit Linux/ELF binaries on your Ultra.
387 Everybody wants this; say Y.
388
389config BINFMT_AOUT32
390 bool "Kernel support for 32-bit (ie. SunOS) a.out binaries"
391 depends on SPARC32_COMPAT
392 help
393 This allows you to run 32-bit a.out format binaries on your Ultra.
394 If you want to run SunOS binaries (see SunOS binary emulation below)
395 or other a.out binaries, say Y. If unsure, say N.
396
David S. Miller5843e372005-08-30 21:46:19 -0700397menu "Executable file formats"
398
Linus Torvalds1da177e2005-04-16 15:20:36 -0700399source "fs/Kconfig.binfmt"
400
401config SUNOS_EMUL
402 bool "SunOS binary emulation"
403 depends on BINFMT_AOUT32
404 help
405 This allows you to run most SunOS binaries. If you want to do this,
406 say Y here and place appropriate files in /usr/gnemul/sunos. See
407 <http://www.ultralinux.org/faq.html> for more information. If you
408 want to run SunOS binaries on an Ultra you must also say Y to
409 "Kernel support for 32-bit a.out binaries" above.
410
411config SOLARIS_EMUL
412 tristate "Solaris binary emulation (EXPERIMENTAL)"
David S. Millerd6898552007-10-29 01:19:14 -0700413 depends on SPARC32_COMPAT && NET && EXPERIMENTAL
Linus Torvalds1da177e2005-04-16 15:20:36 -0700414 help
415 This is experimental code which will enable you to run (many)
416 Solaris binaries on your SPARC Linux machine.
417
418 To compile this code as a module, choose M here: the
419 module will be called solaris.
420
David S. Miller5843e372005-08-30 21:46:19 -0700421endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -0700422
David S. Miller8935dce2006-03-08 16:09:19 -0800423config SCHED_SMT
424 bool "SMT (Hyperthreading) scheduler support"
425 depends on SMP
426 default y
427 help
428 SMT scheduler support improves the CPU scheduler's decision making
429 when dealing with UltraSPARC cpus at a cost of slightly increased
430 overhead in some places. If unsure say N here.
431
David S. Millerf78eae22007-06-04 17:01:39 -0700432config SCHED_MC
433 bool "Multi-core scheduler support"
434 depends on SMP
435 default y
436 help
437 Multi-core scheduler support improves the CPU scheduler's decision
438 making when dealing with multi-core CPU chips at a cost of slightly
439 increased overhead in some places. If unsure say N here.
440
David S. Millerdb2f9f62007-03-17 15:23:22 -0700441source "kernel/Kconfig.preempt"
442
Linus Torvalds1da177e2005-04-16 15:20:36 -0700443config CMDLINE_BOOL
444 bool "Default bootloader kernel arguments"
445
446config CMDLINE
447 string "Initial kernel command string"
448 depends on CMDLINE_BOOL
449 default "console=ttyS0,9600 root=/dev/sda1"
450 help
451 Say Y here if you want to be able to pass default arguments to
452 the kernel. This will be overridden by the bootloader, if you
453 use one (such as SILO). This is most useful if you want to boot
454 a kernel from TFTP, and want default options to be available
455 with having them passed on the command line.
456
457 NOTE: This option WILL override the PROM bootargs setting!
458
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700459source "net/Kconfig"
460
David S. Miller5843e372005-08-30 21:46:19 -0700461source "drivers/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700462
463source "drivers/sbus/char/Kconfig"
464
Linus Torvalds1da177e2005-04-16 15:20:36 -0700465source "fs/Kconfig"
466
Mathieu Desnoyers09caded2007-10-18 23:41:05 -0700467source "kernel/Kconfig.instrumentation"
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800468
Linus Torvalds1da177e2005-04-16 15:20:36 -0700469source "arch/sparc64/Kconfig.debug"
470
471source "security/Kconfig"
472
473source "crypto/Kconfig"
474
475source "lib/Kconfig"