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