blob: 810755637311c425751f55e7726089d8bd3ff7db [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
Mathieu Desnoyers3f550092008-02-02 15:10:35 -050012 select HAVE_KPROBES
Adrian Bunk0b57ee92005-12-22 21:03:47 -080013
David S. Miller5843e372005-08-30 21:46:19 -070014config SPARC64
15 bool
16 default y
Sam Ravnborgec7748b2008-02-09 10:46:40 +010017 select HAVE_IDE
David S. Miller5843e372005-08-30 21:46:19 -070018 help
19 SPARC is a family of RISC microprocessors designed and marketed by
20 Sun Microsystems, incorporated. This port covers the newer 64-bit
21 UltraSPARC. The UltraLinux project maintains both the SPARC32 and
22 SPARC64 ports; its web page is available at
23 <http://www.ultralinux.org/>.
24
David S. Miller112f4872007-03-05 15:28:37 -080025config GENERIC_TIME
26 bool
27 default y
28
Thomas Gleixner82644452007-07-21 04:37:37 -070029config GENERIC_CMOS_UPDATE
30 bool
31 default y
32
David S. Miller112f4872007-03-05 15:28:37 -080033config GENERIC_CLOCKEVENTS
34 bool
35 default y
36
Linus Torvalds1da177e2005-04-16 15:20:36 -070037config 64BIT
38 def_bool y
39
40config MMU
41 bool
42 default y
43
David Miller3a2cba92007-05-06 14:49:51 -070044config QUICKLIST
45 bool
46 default y
47
David S. Miller10e26722006-11-16 13:38:57 -080048config STACKTRACE_SUPPORT
49 bool
50 default y
51
52config LOCKDEP_SUPPORT
53 bool
54 default y
55
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +010056config ARCH_MAY_HAVE_PC_FDC
57 bool
58 default y
59
David Howellsf0d1b0b2006-12-08 02:37:49 -080060config ARCH_HAS_ILOG2_U32
61 bool
62 default n
63
64config ARCH_HAS_ILOG2_U64
65 bool
66 default n
67
Al Virof6bc0c12006-09-12 02:59:45 -040068config AUDIT_ARCH
69 bool
70 default y
71
travis@sgi.com988c3882008-01-30 23:27:58 +010072config HAVE_SETUP_PER_CPU_AREA
travis@sgi.comb32ef632008-01-30 13:32:51 +010073 def_bool y
74
Stephen Rothwell0785b9d2007-07-18 00:09:30 -070075config ARCH_NO_VIRT_TO_BUS
76 def_bool y
77
Stephen Rothwell97e873e2007-05-01 16:26:07 +100078config OF
79 def_bool y
80
David S. Miller8d57d3a2007-10-22 02:16:45 -070081config GENERIC_HARDIRQS_NO__DO_IRQ
82 bool
83 def_bool y
84
David Howellsb0b933c2008-02-08 04:19:27 -080085config ARCH_SUPPORTS_AOUT
86 def_bool y
87
Linus Torvalds1da177e2005-04-16 15:20:36 -070088choice
89 prompt "Kernel page size"
90 default SPARC64_PAGE_SIZE_8KB
91
92config SPARC64_PAGE_SIZE_8KB
93 bool "8KB"
94 help
95 This lets you select the page size of the kernel.
96
97 8KB and 64KB work quite well, since Sparc ELF sections
98 provide for up to 64KB alignment.
99
100 Therefore, 512KB and 4MB are for expert hackers only.
101
102 If you don't know what to do, choose 8KB.
103
104config SPARC64_PAGE_SIZE_64KB
105 bool "64KB"
106
107config SPARC64_PAGE_SIZE_512KB
108 bool "512KB"
109
110config SPARC64_PAGE_SIZE_4MB
111 bool "4MB"
112
113endchoice
114
David S. Millerbb49bcd2005-07-10 16:49:28 -0700115config SECCOMP
116 bool "Enable seccomp to safely compute untrusted bytecode"
117 depends on PROC_FS
118 default y
119 help
120 This kernel feature is useful for number crunching applications
121 that may need to compute untrusted bytecode during their
122 execution. By using pipes or other transports made available to
123 the process as file descriptors supporting the read/write
124 syscalls, it's possible to isolate those applications in
125 their own address space using seccomp. Once seccomp is
126 enabled via /proc/<pid>/seccomp, it cannot be disabled
127 and the task is only allowed to execute a few safe syscalls
128 defined by each seccomp mode.
129
130 If unsure, say Y. Only embedded should say N here.
131
David S. Millera6524812005-07-08 15:21:51 -0700132source kernel/Kconfig.hz
133
David S. Miller4f0234f2007-07-13 16:03:42 -0700134config HOTPLUG_CPU
135 bool "Support for hot-pluggable CPUs"
136 depends on SMP
137 select HOTPLUG
138 ---help---
139 Say Y here to experiment with turning CPUs off and on. CPUs
140 can be controlled through /sys/devices/system/cpu/cpu#.
141 Say N if you want to disable CPU hotplug.
142
Linus Torvalds1da177e2005-04-16 15:20:36 -0700143source "init/Kconfig"
144
145config SYSVIPC_COMPAT
146 bool
147 depends on COMPAT && SYSVIPC
148 default y
149
David S. Millere18e2a02006-06-20 01:23:32 -0700150config GENERIC_HARDIRQS
151 bool
152 default y
153
Linus Torvalds1da177e2005-04-16 15:20:36 -0700154menu "General machine setup"
155
David S. Miller112f4872007-03-05 15:28:37 -0800156source "kernel/time/Kconfig"
157
Linus Torvalds1da177e2005-04-16 15:20:36 -0700158config SMP
159 bool "Symmetric multi-processing support"
160 ---help---
161 This enables support for systems with more than one CPU. If you have
162 a system with only one CPU, say N. If you have a system with more than
163 one CPU, say Y.
164
165 If you say N here, the kernel will run on single and multiprocessor
166 machines, but will use only one CPU of a multiprocessor machine. If
167 you say Y here, the kernel will run on many, but not all,
168 singleprocessor machines. On a singleprocessor machine, the kernel
169 will run faster if you say N here.
170
171 People using multiprocessor machines who say Y here should also say
172 Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
173 Management" code will be disabled if you say Y here.
174
Adrian Bunk03502fa2008-02-03 15:50:21 +0200175 See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
176 available at <http://www.tldp.org/docs.html#howto>.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700177
178 If you don't know what to do here, say N.
179
Linus Torvalds1da177e2005-04-16 15:20:36 -0700180config NR_CPUS
David S. Miller22adb352007-05-26 01:14:43 -0700181 int "Maximum number of CPUs (2-1024)"
182 range 2 1024
Linus Torvalds1da177e2005-04-16 15:20:36 -0700183 depends on SMP
David S. Miller22adb352007-05-26 01:14:43 -0700184 default "64"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700185
186source "drivers/cpufreq/Kconfig"
187
188config US3_FREQ
189 tristate "UltraSPARC-III CPU Frequency driver"
190 depends on CPU_FREQ
191 select CPU_FREQ_TABLE
192 help
193 This adds the CPUFreq driver for UltraSPARC-III processors.
194
195 For details, take a look at <file:Documentation/cpu-freq>.
196
197 If in doubt, say N.
198
199config US2E_FREQ
200 tristate "UltraSPARC-IIe CPU Frequency driver"
201 depends on CPU_FREQ
202 select CPU_FREQ_TABLE
203 help
204 This adds the CPUFreq driver for UltraSPARC-IIe processors.
205
206 For details, take a look at <file:Documentation/cpu-freq>.
207
208 If in doubt, say N.
209
Linus Torvalds1da177e2005-04-16 15:20:36 -0700210# Global things across all Sun machines.
Nick Piggin95c354f2008-01-30 13:31:20 +0100211config GENERIC_LOCKBREAK
212 bool
213 default y
214 depends on SMP && PREEMPT
215
Linus Torvalds1da177e2005-04-16 15:20:36 -0700216config RWSEM_GENERIC_SPINLOCK
217 bool
218
219config RWSEM_XCHGADD_ALGORITHM
220 bool
221 default y
222
Akinobu Mita2d78d4b2006-03-26 01:39:40 -0800223config GENERIC_FIND_NEXT_BIT
224 bool
225 default y
226
227config GENERIC_HWEIGHT
228 bool
229 default y if !ULTRA_HAS_POPULATION_COUNT
230
Linus Torvalds1da177e2005-04-16 15:20:36 -0700231config GENERIC_CALIBRATE_DELAY
232 bool
233 default y
234
235choice
236 prompt "SPARC64 Huge TLB Page Size"
237 depends on HUGETLB_PAGE
238 default HUGETLB_PAGE_SIZE_4MB
239
240config HUGETLB_PAGE_SIZE_4MB
241 bool "4MB"
242
243config HUGETLB_PAGE_SIZE_512K
David S. Millerdcc1e8d2006-03-22 00:49:59 -0800244 depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700245 bool "512K"
246
247config HUGETLB_PAGE_SIZE_64K
Jean-Luc Légerf2a15852006-04-18 16:19:53 -0700248 depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB && !SPARC64_PAGE_SIZE_64KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700249 bool "64K"
250
251endchoice
252
David S. Miller5843e372005-08-30 21:46:19 -0700253endmenu
254
David S. Miller68491d52006-04-06 20:28:11 -0700255config ARCH_SELECT_MEMORY_MODEL
256 def_bool y
257
David S. Millerd1112012006-03-08 02:16:07 -0800258config ARCH_SPARSEMEM_ENABLE
259 def_bool y
David Miller46644c22007-10-16 01:24:16 -0700260 select SPARSEMEM_VMEMMAP_ENABLE
David S. Millerd1112012006-03-08 02:16:07 -0800261
262config ARCH_SPARSEMEM_DEFAULT
263 def_bool y
264
David S. Miller5843e372005-08-30 21:46:19 -0700265source "mm/Kconfig"
266
Linus Torvalds1da177e2005-04-16 15:20:36 -0700267config ISA
268 bool
269 help
270 Find out whether you have ISA slots on your motherboard. ISA is the
271 name of a bus system, i.e. the way the CPU talks to the other stuff
272 inside your box. Other bus systems are PCI, EISA, MicroChannel
273 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
274 newer boards don't support it. If you have ISA, say Y, otherwise N.
275
276config ISAPNP
277 bool
278 help
279 Say Y here if you would like support for ISA Plug and Play devices.
280 Some information is in <file:Documentation/isapnp.txt>.
281
282 To compile this driver as a module, choose M here: the
283 module will be called isapnp.
284
285 If unsure, say Y.
286
287config EISA
288 bool
289 ---help---
290 The Extended Industry Standard Architecture (EISA) bus was
291 developed as an open alternative to the IBM MicroChannel bus.
292
293 The EISA bus provided some of the features of the IBM MicroChannel
294 bus while maintaining backward compatibility with cards made for
295 the older ISA bus. The EISA bus saw limited use between 1988 and
296 1995 when it was made obsolete by the PCI bus.
297
298 Say Y here if you are building a kernel for an EISA-based machine.
299
300 Otherwise, say N.
301
302config MCA
303 bool
304 help
305 MicroChannel Architecture is found in some IBM PS/2 machines and
306 laptops. It is a bus system similar to PCI or ISA. See
307 <file:Documentation/mca.txt> (and especially the web page given
308 there) before attempting to build an MCA bus kernel.
309
310config PCMCIA
311 tristate
312 ---help---
313 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
314 computer. These are credit-card size devices such as network cards,
315 modems or hard drives often used with laptops computers. There are
316 actually two varieties of these cards: the older 16 bit PCMCIA cards
317 and the newer 32 bit CardBus cards. If you want to use CardBus
318 cards, you need to say Y here and also to "CardBus support" below.
319
320 To use your PC-cards, you will need supporting software from David
321 Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
322 for location). Please also read the PCMCIA-HOWTO, available from
323 <http://www.tldp.org/docs.html#howto>.
324
325 To compile this driver as modules, choose M here: the
326 modules will be called pcmcia_core and ds.
327
328config SBUS
329 bool
330 default y
331
332config SBUSCHAR
333 bool
334 default y
335
336config SUN_AUXIO
337 bool
338 default y
339
340config SUN_IO
341 bool
342 default y
343
David S. Millere53e97c2007-07-09 22:22:44 -0700344config SUN_LDOMS
345 bool "Sun Logical Domains support"
346 help
347 Say Y here is you want to support virtual devices via
348 Logical Domains.
349
Linus Torvalds1da177e2005-04-16 15:20:36 -0700350config PCI
351 bool "PCI support"
Dan Williamsf282b972007-04-18 18:46:20 +1000352 select ARCH_SUPPORTS_MSI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700353 help
354 Find out whether you have a PCI motherboard. PCI is the name of a
355 bus system, i.e. the way the CPU talks to the other stuff inside
356 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
357 VESA. If you have PCI, say Y, otherwise N.
358
Linus Torvalds1da177e2005-04-16 15:20:36 -0700359config PCI_DOMAINS
Matthew Wilcox36e23592007-07-10 10:54:40 -0600360 def_bool PCI
361
362config PCI_SYSCALL
363 def_bool PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700364
Linus Torvalds1da177e2005-04-16 15:20:36 -0700365source "drivers/pci/Kconfig"
366
367config SUN_OPENPROMFS
368 tristate "Openprom tree appears in /proc/openprom"
369 help
370 If you say Y, the OpenPROM device tree will be available as a
371 virtual file system, which you can mount to /proc/openprom by "mount
372 -t openpromfs none /proc/openprom".
373
374 To compile the /proc/openprom support as a module, choose M here: the
375 module will be called openpromfs. If unsure, choose M.
376
377config SPARC32_COMPAT
378 bool "Kernel support for Linux/Sparc 32bit binary compatibility"
379 help
380 This allows you to run 32-bit binaries on your Ultra.
381 Everybody wants this; say Y.
382
383config COMPAT
384 bool
385 depends on SPARC32_COMPAT
386 default y
David S. Miller48c946a2008-02-08 00:08:10 -0800387 select COMPAT_BINFMT_ELF
Linus Torvalds1da177e2005-04-16 15:20:36 -0700388
389config BINFMT_AOUT32
390 bool "Kernel support for 32-bit (ie. SunOS) a.out binaries"
David Howellsb0b933c2008-02-08 04:19:27 -0800391 depends on SPARC32_COMPAT && ARCH_SUPPORTS_AOUT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700392 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
Linus Torvalds1da177e2005-04-16 15:20:36 -0700467source "arch/sparc64/Kconfig.debug"
468
469source "security/Kconfig"
470
471source "crypto/Kconfig"
472
473source "lib/Kconfig"