blob: 158522f51d31d4d6dac1d3a5c011156dc7c2f4e5 [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
169 See also the <file:Documentation/smp.txt>,
170 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
171 <http://www.tldp.org/docs.html#howto>.
172
173 If you don't know what to do here, say N.
174
Linus Torvalds1da177e2005-04-16 15:20:36 -0700175config NR_CPUS
David S. Miller22adb352007-05-26 01:14:43 -0700176 int "Maximum number of CPUs (2-1024)"
177 range 2 1024
Linus Torvalds1da177e2005-04-16 15:20:36 -0700178 depends on SMP
David S. Miller22adb352007-05-26 01:14:43 -0700179 default "64"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700180
181source "drivers/cpufreq/Kconfig"
182
183config US3_FREQ
184 tristate "UltraSPARC-III CPU Frequency driver"
185 depends on CPU_FREQ
186 select CPU_FREQ_TABLE
187 help
188 This adds the CPUFreq driver for UltraSPARC-III processors.
189
190 For details, take a look at <file:Documentation/cpu-freq>.
191
192 If in doubt, say N.
193
194config US2E_FREQ
195 tristate "UltraSPARC-IIe CPU Frequency driver"
196 depends on CPU_FREQ
197 select CPU_FREQ_TABLE
198 help
199 This adds the CPUFreq driver for UltraSPARC-IIe processors.
200
201 For details, take a look at <file:Documentation/cpu-freq>.
202
203 If in doubt, say N.
204
Linus Torvalds1da177e2005-04-16 15:20:36 -0700205# Global things across all Sun machines.
Nick Piggin95c354f2008-01-30 13:31:20 +0100206config GENERIC_LOCKBREAK
207 bool
208 default y
209 depends on SMP && PREEMPT
210
Linus Torvalds1da177e2005-04-16 15:20:36 -0700211config RWSEM_GENERIC_SPINLOCK
212 bool
213
214config RWSEM_XCHGADD_ALGORITHM
215 bool
216 default y
217
Akinobu Mita2d78d4b2006-03-26 01:39:40 -0800218config GENERIC_FIND_NEXT_BIT
219 bool
220 default y
221
222config GENERIC_HWEIGHT
223 bool
224 default y if !ULTRA_HAS_POPULATION_COUNT
225
Linus Torvalds1da177e2005-04-16 15:20:36 -0700226config GENERIC_CALIBRATE_DELAY
227 bool
228 default y
229
230choice
231 prompt "SPARC64 Huge TLB Page Size"
232 depends on HUGETLB_PAGE
233 default HUGETLB_PAGE_SIZE_4MB
234
235config HUGETLB_PAGE_SIZE_4MB
236 bool "4MB"
237
238config HUGETLB_PAGE_SIZE_512K
David S. Millerdcc1e8d2006-03-22 00:49:59 -0800239 depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700240 bool "512K"
241
242config HUGETLB_PAGE_SIZE_64K
Jean-Luc Légerf2a15852006-04-18 16:19:53 -0700243 depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB && !SPARC64_PAGE_SIZE_64KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700244 bool "64K"
245
246endchoice
247
David S. Miller5843e372005-08-30 21:46:19 -0700248endmenu
249
David S. Miller68491d52006-04-06 20:28:11 -0700250config ARCH_SELECT_MEMORY_MODEL
251 def_bool y
252
David S. Millerd1112012006-03-08 02:16:07 -0800253config ARCH_SPARSEMEM_ENABLE
254 def_bool y
David Miller46644c22007-10-16 01:24:16 -0700255 select SPARSEMEM_VMEMMAP_ENABLE
David S. Millerd1112012006-03-08 02:16:07 -0800256
257config ARCH_SPARSEMEM_DEFAULT
258 def_bool y
259
David S. Miller5843e372005-08-30 21:46:19 -0700260source "mm/Kconfig"
261
Linus Torvalds1da177e2005-04-16 15:20:36 -0700262config ISA
263 bool
264 help
265 Find out whether you have ISA slots on your motherboard. ISA is the
266 name of a bus system, i.e. the way the CPU talks to the other stuff
267 inside your box. Other bus systems are PCI, EISA, MicroChannel
268 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
269 newer boards don't support it. If you have ISA, say Y, otherwise N.
270
271config ISAPNP
272 bool
273 help
274 Say Y here if you would like support for ISA Plug and Play devices.
275 Some information is in <file:Documentation/isapnp.txt>.
276
277 To compile this driver as a module, choose M here: the
278 module will be called isapnp.
279
280 If unsure, say Y.
281
282config EISA
283 bool
284 ---help---
285 The Extended Industry Standard Architecture (EISA) bus was
286 developed as an open alternative to the IBM MicroChannel bus.
287
288 The EISA bus provided some of the features of the IBM MicroChannel
289 bus while maintaining backward compatibility with cards made for
290 the older ISA bus. The EISA bus saw limited use between 1988 and
291 1995 when it was made obsolete by the PCI bus.
292
293 Say Y here if you are building a kernel for an EISA-based machine.
294
295 Otherwise, say N.
296
297config MCA
298 bool
299 help
300 MicroChannel Architecture is found in some IBM PS/2 machines and
301 laptops. It is a bus system similar to PCI or ISA. See
302 <file:Documentation/mca.txt> (and especially the web page given
303 there) before attempting to build an MCA bus kernel.
304
305config PCMCIA
306 tristate
307 ---help---
308 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
309 computer. These are credit-card size devices such as network cards,
310 modems or hard drives often used with laptops computers. There are
311 actually two varieties of these cards: the older 16 bit PCMCIA cards
312 and the newer 32 bit CardBus cards. If you want to use CardBus
313 cards, you need to say Y here and also to "CardBus support" below.
314
315 To use your PC-cards, you will need supporting software from David
316 Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
317 for location). Please also read the PCMCIA-HOWTO, available from
318 <http://www.tldp.org/docs.html#howto>.
319
320 To compile this driver as modules, choose M here: the
321 modules will be called pcmcia_core and ds.
322
323config SBUS
324 bool
325 default y
326
327config SBUSCHAR
328 bool
329 default y
330
331config SUN_AUXIO
332 bool
333 default y
334
335config SUN_IO
336 bool
337 default y
338
David S. Millere53e97c2007-07-09 22:22:44 -0700339config SUN_LDOMS
340 bool "Sun Logical Domains support"
341 help
342 Say Y here is you want to support virtual devices via
343 Logical Domains.
344
Linus Torvalds1da177e2005-04-16 15:20:36 -0700345config PCI
346 bool "PCI support"
Dan Williamsf282b972007-04-18 18:46:20 +1000347 select ARCH_SUPPORTS_MSI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700348 help
349 Find out whether you have a PCI motherboard. PCI is the name of a
350 bus system, i.e. the way the CPU talks to the other stuff inside
351 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
352 VESA. If you have PCI, say Y, otherwise N.
353
Linus Torvalds1da177e2005-04-16 15:20:36 -0700354config PCI_DOMAINS
Matthew Wilcox36e23592007-07-10 10:54:40 -0600355 def_bool PCI
356
357config PCI_SYSCALL
358 def_bool PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700359
Linus Torvalds1da177e2005-04-16 15:20:36 -0700360source "drivers/pci/Kconfig"
361
362config SUN_OPENPROMFS
363 tristate "Openprom tree appears in /proc/openprom"
364 help
365 If you say Y, the OpenPROM device tree will be available as a
366 virtual file system, which you can mount to /proc/openprom by "mount
367 -t openpromfs none /proc/openprom".
368
369 To compile the /proc/openprom support as a module, choose M here: the
370 module will be called openpromfs. If unsure, choose M.
371
372config SPARC32_COMPAT
373 bool "Kernel support for Linux/Sparc 32bit binary compatibility"
374 help
375 This allows you to run 32-bit binaries on your Ultra.
376 Everybody wants this; say Y.
377
378config COMPAT
379 bool
380 depends on SPARC32_COMPAT
381 default y
382
Linus Torvalds1da177e2005-04-16 15:20:36 -0700383config BINFMT_ELF32
Christoph Hellwig289fbc22006-07-10 04:45:38 -0700384 bool "Kernel support for 32-bit ELF binaries"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700385 depends on SPARC32_COMPAT
386 help
387 This allows you to run 32-bit Linux/ELF binaries on your Ultra.
388 Everybody wants this; say Y.
389
390config BINFMT_AOUT32
391 bool "Kernel support for 32-bit (ie. SunOS) a.out binaries"
392 depends on SPARC32_COMPAT
393 help
394 This allows you to run 32-bit a.out format binaries on your Ultra.
395 If you want to run SunOS binaries (see SunOS binary emulation below)
396 or other a.out binaries, say Y. If unsure, say N.
397
David S. Miller5843e372005-08-30 21:46:19 -0700398menu "Executable file formats"
399
Linus Torvalds1da177e2005-04-16 15:20:36 -0700400source "fs/Kconfig.binfmt"
401
402config SUNOS_EMUL
403 bool "SunOS binary emulation"
404 depends on BINFMT_AOUT32
405 help
406 This allows you to run most SunOS binaries. If you want to do this,
407 say Y here and place appropriate files in /usr/gnemul/sunos. See
408 <http://www.ultralinux.org/faq.html> for more information. If you
409 want to run SunOS binaries on an Ultra you must also say Y to
410 "Kernel support for 32-bit a.out binaries" above.
411
412config SOLARIS_EMUL
413 tristate "Solaris binary emulation (EXPERIMENTAL)"
David S. Millerd6898552007-10-29 01:19:14 -0700414 depends on SPARC32_COMPAT && NET && EXPERIMENTAL
Linus Torvalds1da177e2005-04-16 15:20:36 -0700415 help
416 This is experimental code which will enable you to run (many)
417 Solaris binaries on your SPARC Linux machine.
418
419 To compile this code as a module, choose M here: the
420 module will be called solaris.
421
David S. Miller5843e372005-08-30 21:46:19 -0700422endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -0700423
David S. Miller8935dce2006-03-08 16:09:19 -0800424config SCHED_SMT
425 bool "SMT (Hyperthreading) scheduler support"
426 depends on SMP
427 default y
428 help
429 SMT scheduler support improves the CPU scheduler's decision making
430 when dealing with UltraSPARC cpus at a cost of slightly increased
431 overhead in some places. If unsure say N here.
432
David S. Millerf78eae22007-06-04 17:01:39 -0700433config SCHED_MC
434 bool "Multi-core scheduler support"
435 depends on SMP
436 default y
437 help
438 Multi-core scheduler support improves the CPU scheduler's decision
439 making when dealing with multi-core CPU chips at a cost of slightly
440 increased overhead in some places. If unsure say N here.
441
David S. Millerdb2f9f62007-03-17 15:23:22 -0700442source "kernel/Kconfig.preempt"
443
Linus Torvalds1da177e2005-04-16 15:20:36 -0700444config CMDLINE_BOOL
445 bool "Default bootloader kernel arguments"
446
447config CMDLINE
448 string "Initial kernel command string"
449 depends on CMDLINE_BOOL
450 default "console=ttyS0,9600 root=/dev/sda1"
451 help
452 Say Y here if you want to be able to pass default arguments to
453 the kernel. This will be overridden by the bootloader, if you
454 use one (such as SILO). This is most useful if you want to boot
455 a kernel from TFTP, and want default options to be available
456 with having them passed on the command line.
457
458 NOTE: This option WILL override the PROM bootargs setting!
459
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700460source "net/Kconfig"
461
David S. Miller5843e372005-08-30 21:46:19 -0700462source "drivers/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700463
464source "drivers/sbus/char/Kconfig"
465
Linus Torvalds1da177e2005-04-16 15:20:36 -0700466source "fs/Kconfig"
467
Mathieu Desnoyers09caded2007-10-18 23:41:05 -0700468source "kernel/Kconfig.instrumentation"
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800469
Linus Torvalds1da177e2005-04-16 15:20:36 -0700470source "arch/sparc64/Kconfig.debug"
471
472source "security/Kconfig"
473
474source "crypto/Kconfig"
475
476source "lib/Kconfig"