blob: df6ee71894d1f3228a6ddf59a599df3eeced3e9d [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
Linus Torvalds1da177e2005-04-16 15:20:36 -070068choice
69 prompt "Kernel page size"
70 default SPARC64_PAGE_SIZE_8KB
71
72config SPARC64_PAGE_SIZE_8KB
73 bool "8KB"
74 help
75 This lets you select the page size of the kernel.
76
77 8KB and 64KB work quite well, since Sparc ELF sections
78 provide for up to 64KB alignment.
79
80 Therefore, 512KB and 4MB are for expert hackers only.
81
82 If you don't know what to do, choose 8KB.
83
84config SPARC64_PAGE_SIZE_64KB
85 bool "64KB"
86
87config SPARC64_PAGE_SIZE_512KB
88 bool "512KB"
89
90config SPARC64_PAGE_SIZE_4MB
91 bool "4MB"
92
93endchoice
94
David S. Millerbb49bcd2005-07-10 16:49:28 -070095config SECCOMP
96 bool "Enable seccomp to safely compute untrusted bytecode"
97 depends on PROC_FS
98 default y
99 help
100 This kernel feature is useful for number crunching applications
101 that may need to compute untrusted bytecode during their
102 execution. By using pipes or other transports made available to
103 the process as file descriptors supporting the read/write
104 syscalls, it's possible to isolate those applications in
105 their own address space using seccomp. Once seccomp is
106 enabled via /proc/<pid>/seccomp, it cannot be disabled
107 and the task is only allowed to execute a few safe syscalls
108 defined by each seccomp mode.
109
110 If unsure, say Y. Only embedded should say N here.
111
David S. Millera6524812005-07-08 15:21:51 -0700112source kernel/Kconfig.hz
113
David S. Miller4f0234f2007-07-13 16:03:42 -0700114config HOTPLUG_CPU
115 bool "Support for hot-pluggable CPUs"
116 depends on SMP
117 select HOTPLUG
118 ---help---
119 Say Y here to experiment with turning CPUs off and on. CPUs
120 can be controlled through /sys/devices/system/cpu/cpu#.
121 Say N if you want to disable CPU hotplug.
122
Linus Torvalds1da177e2005-04-16 15:20:36 -0700123source "init/Kconfig"
124
125config SYSVIPC_COMPAT
126 bool
127 depends on COMPAT && SYSVIPC
128 default y
129
David S. Millere18e2a02006-06-20 01:23:32 -0700130config GENERIC_HARDIRQS
131 bool
132 default y
133
Linus Torvalds1da177e2005-04-16 15:20:36 -0700134menu "General machine setup"
135
David S. Miller112f4872007-03-05 15:28:37 -0800136source "kernel/time/Kconfig"
137
Linus Torvalds1da177e2005-04-16 15:20:36 -0700138config SMP
139 bool "Symmetric multi-processing support"
140 ---help---
141 This enables support for systems with more than one CPU. If you have
142 a system with only one CPU, say N. If you have a system with more than
143 one CPU, say Y.
144
145 If you say N here, the kernel will run on single and multiprocessor
146 machines, but will use only one CPU of a multiprocessor machine. If
147 you say Y here, the kernel will run on many, but not all,
148 singleprocessor machines. On a singleprocessor machine, the kernel
149 will run faster if you say N here.
150
151 People using multiprocessor machines who say Y here should also say
152 Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
153 Management" code will be disabled if you say Y here.
154
155 See also the <file:Documentation/smp.txt>,
156 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
157 <http://www.tldp.org/docs.html#howto>.
158
159 If you don't know what to do here, say N.
160
Linus Torvalds1da177e2005-04-16 15:20:36 -0700161config NR_CPUS
David S. Miller22adb352007-05-26 01:14:43 -0700162 int "Maximum number of CPUs (2-1024)"
163 range 2 1024
Linus Torvalds1da177e2005-04-16 15:20:36 -0700164 depends on SMP
David S. Miller22adb352007-05-26 01:14:43 -0700165 default "64"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700166
167source "drivers/cpufreq/Kconfig"
168
169config US3_FREQ
170 tristate "UltraSPARC-III CPU Frequency driver"
171 depends on CPU_FREQ
172 select CPU_FREQ_TABLE
173 help
174 This adds the CPUFreq driver for UltraSPARC-III processors.
175
176 For details, take a look at <file:Documentation/cpu-freq>.
177
178 If in doubt, say N.
179
180config US2E_FREQ
181 tristate "UltraSPARC-IIe CPU Frequency driver"
182 depends on CPU_FREQ
183 select CPU_FREQ_TABLE
184 help
185 This adds the CPUFreq driver for UltraSPARC-IIe processors.
186
187 For details, take a look at <file:Documentation/cpu-freq>.
188
189 If in doubt, say N.
190
Linus Torvalds1da177e2005-04-16 15:20:36 -0700191# Global things across all Sun machines.
192config RWSEM_GENERIC_SPINLOCK
193 bool
194
195config RWSEM_XCHGADD_ALGORITHM
196 bool
197 default y
198
Akinobu Mita2d78d4b2006-03-26 01:39:40 -0800199config GENERIC_FIND_NEXT_BIT
200 bool
201 default y
202
203config GENERIC_HWEIGHT
204 bool
205 default y if !ULTRA_HAS_POPULATION_COUNT
206
Linus Torvalds1da177e2005-04-16 15:20:36 -0700207config GENERIC_CALIBRATE_DELAY
208 bool
209 default y
210
211choice
212 prompt "SPARC64 Huge TLB Page Size"
213 depends on HUGETLB_PAGE
214 default HUGETLB_PAGE_SIZE_4MB
215
216config HUGETLB_PAGE_SIZE_4MB
217 bool "4MB"
218
219config HUGETLB_PAGE_SIZE_512K
David S. Millerdcc1e8d2006-03-22 00:49:59 -0800220 depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700221 bool "512K"
222
223config HUGETLB_PAGE_SIZE_64K
Jean-Luc Légerf2a15852006-04-18 16:19:53 -0700224 depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB && !SPARC64_PAGE_SIZE_64KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700225 bool "64K"
226
227endchoice
228
David S. Miller5843e372005-08-30 21:46:19 -0700229endmenu
230
David S. Miller68491d52006-04-06 20:28:11 -0700231config ARCH_SELECT_MEMORY_MODEL
232 def_bool y
233
David S. Millerd1112012006-03-08 02:16:07 -0800234config ARCH_SPARSEMEM_ENABLE
235 def_bool y
236
237config ARCH_SPARSEMEM_DEFAULT
238 def_bool y
David S. Millerd78d0892007-03-14 22:47:01 -0700239 select SPARSEMEM_STATIC
David S. Millerd1112012006-03-08 02:16:07 -0800240
David S. Miller5843e372005-08-30 21:46:19 -0700241source "mm/Kconfig"
242
Linus Torvalds1da177e2005-04-16 15:20:36 -0700243config ISA
244 bool
245 help
246 Find out whether you have ISA slots on your motherboard. ISA is the
247 name of a bus system, i.e. the way the CPU talks to the other stuff
248 inside your box. Other bus systems are PCI, EISA, MicroChannel
249 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
250 newer boards don't support it. If you have ISA, say Y, otherwise N.
251
252config ISAPNP
253 bool
254 help
255 Say Y here if you would like support for ISA Plug and Play devices.
256 Some information is in <file:Documentation/isapnp.txt>.
257
258 To compile this driver as a module, choose M here: the
259 module will be called isapnp.
260
261 If unsure, say Y.
262
263config EISA
264 bool
265 ---help---
266 The Extended Industry Standard Architecture (EISA) bus was
267 developed as an open alternative to the IBM MicroChannel bus.
268
269 The EISA bus provided some of the features of the IBM MicroChannel
270 bus while maintaining backward compatibility with cards made for
271 the older ISA bus. The EISA bus saw limited use between 1988 and
272 1995 when it was made obsolete by the PCI bus.
273
274 Say Y here if you are building a kernel for an EISA-based machine.
275
276 Otherwise, say N.
277
278config MCA
279 bool
280 help
281 MicroChannel Architecture is found in some IBM PS/2 machines and
282 laptops. It is a bus system similar to PCI or ISA. See
283 <file:Documentation/mca.txt> (and especially the web page given
284 there) before attempting to build an MCA bus kernel.
285
286config PCMCIA
287 tristate
288 ---help---
289 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
290 computer. These are credit-card size devices such as network cards,
291 modems or hard drives often used with laptops computers. There are
292 actually two varieties of these cards: the older 16 bit PCMCIA cards
293 and the newer 32 bit CardBus cards. If you want to use CardBus
294 cards, you need to say Y here and also to "CardBus support" below.
295
296 To use your PC-cards, you will need supporting software from David
297 Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
298 for location). Please also read the PCMCIA-HOWTO, available from
299 <http://www.tldp.org/docs.html#howto>.
300
301 To compile this driver as modules, choose M here: the
302 modules will be called pcmcia_core and ds.
303
304config SBUS
305 bool
306 default y
307
308config SBUSCHAR
309 bool
310 default y
311
312config SUN_AUXIO
313 bool
314 default y
315
316config SUN_IO
317 bool
318 default y
319
David S. Millere53e97c2007-07-09 22:22:44 -0700320config SUN_LDOMS
321 bool "Sun Logical Domains support"
322 help
323 Say Y here is you want to support virtual devices via
324 Logical Domains.
325
Linus Torvalds1da177e2005-04-16 15:20:36 -0700326config PCI
327 bool "PCI support"
Dan Williamsf282b972007-04-18 18:46:20 +1000328 select ARCH_SUPPORTS_MSI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700329 help
330 Find out whether you have a PCI motherboard. PCI is the name of a
331 bus system, i.e. the way the CPU talks to the other stuff inside
332 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
333 VESA. If you have PCI, say Y, otherwise N.
334
335 The PCI-HOWTO, available from
336 <http://www.tldp.org/docs.html#howto>, contains valuable
337 information about which PCI hardware does work under Linux and which
338 doesn't.
339
340config PCI_DOMAINS
Matthew Wilcox36e23592007-07-10 10:54:40 -0600341 def_bool PCI
342
343config PCI_SYSCALL
344 def_bool PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700345
Linus Torvalds1da177e2005-04-16 15:20:36 -0700346source "drivers/pci/Kconfig"
347
348config SUN_OPENPROMFS
349 tristate "Openprom tree appears in /proc/openprom"
350 help
351 If you say Y, the OpenPROM device tree will be available as a
352 virtual file system, which you can mount to /proc/openprom by "mount
353 -t openpromfs none /proc/openprom".
354
355 To compile the /proc/openprom support as a module, choose M here: the
356 module will be called openpromfs. If unsure, choose M.
357
358config SPARC32_COMPAT
359 bool "Kernel support for Linux/Sparc 32bit binary compatibility"
360 help
361 This allows you to run 32-bit binaries on your Ultra.
362 Everybody wants this; say Y.
363
364config COMPAT
365 bool
366 depends on SPARC32_COMPAT
367 default y
368
Linus Torvalds1da177e2005-04-16 15:20:36 -0700369config BINFMT_ELF32
Christoph Hellwig289fbc22006-07-10 04:45:38 -0700370 bool "Kernel support for 32-bit ELF binaries"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700371 depends on SPARC32_COMPAT
372 help
373 This allows you to run 32-bit Linux/ELF binaries on your Ultra.
374 Everybody wants this; say Y.
375
376config BINFMT_AOUT32
377 bool "Kernel support for 32-bit (ie. SunOS) a.out binaries"
378 depends on SPARC32_COMPAT
379 help
380 This allows you to run 32-bit a.out format binaries on your Ultra.
381 If you want to run SunOS binaries (see SunOS binary emulation below)
382 or other a.out binaries, say Y. If unsure, say N.
383
David S. Miller5843e372005-08-30 21:46:19 -0700384menu "Executable file formats"
385
Linus Torvalds1da177e2005-04-16 15:20:36 -0700386source "fs/Kconfig.binfmt"
387
388config SUNOS_EMUL
389 bool "SunOS binary emulation"
390 depends on BINFMT_AOUT32
391 help
392 This allows you to run most SunOS binaries. If you want to do this,
393 say Y here and place appropriate files in /usr/gnemul/sunos. See
394 <http://www.ultralinux.org/faq.html> for more information. If you
395 want to run SunOS binaries on an Ultra you must also say Y to
396 "Kernel support for 32-bit a.out binaries" above.
397
398config SOLARIS_EMUL
399 tristate "Solaris binary emulation (EXPERIMENTAL)"
400 depends on SPARC32_COMPAT && EXPERIMENTAL
401 help
402 This is experimental code which will enable you to run (many)
403 Solaris binaries on your SPARC Linux machine.
404
405 To compile this code as a module, choose M here: the
406 module will be called solaris.
407
David S. Miller5843e372005-08-30 21:46:19 -0700408endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -0700409
David S. Miller8935dce2006-03-08 16:09:19 -0800410config SCHED_SMT
411 bool "SMT (Hyperthreading) scheduler support"
412 depends on SMP
413 default y
414 help
415 SMT scheduler support improves the CPU scheduler's decision making
416 when dealing with UltraSPARC cpus at a cost of slightly increased
417 overhead in some places. If unsure say N here.
418
David S. Millerf78eae22007-06-04 17:01:39 -0700419config SCHED_MC
420 bool "Multi-core scheduler support"
421 depends on SMP
422 default y
423 help
424 Multi-core scheduler support improves the CPU scheduler's decision
425 making when dealing with multi-core CPU chips at a cost of slightly
426 increased overhead in some places. If unsure say N here.
427
David S. Millerdb2f9f62007-03-17 15:23:22 -0700428source "kernel/Kconfig.preempt"
429
Linus Torvalds1da177e2005-04-16 15:20:36 -0700430config CMDLINE_BOOL
431 bool "Default bootloader kernel arguments"
432
433config CMDLINE
434 string "Initial kernel command string"
435 depends on CMDLINE_BOOL
436 default "console=ttyS0,9600 root=/dev/sda1"
437 help
438 Say Y here if you want to be able to pass default arguments to
439 the kernel. This will be overridden by the bootloader, if you
440 use one (such as SILO). This is most useful if you want to boot
441 a kernel from TFTP, and want default options to be available
442 with having them passed on the command line.
443
444 NOTE: This option WILL override the PROM bootargs setting!
445
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700446source "net/Kconfig"
447
David S. Miller5843e372005-08-30 21:46:19 -0700448source "drivers/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700449
450source "drivers/sbus/char/Kconfig"
451
Linus Torvalds1da177e2005-04-16 15:20:36 -0700452source "drivers/fc4/Kconfig"
453
Linus Torvalds1da177e2005-04-16 15:20:36 -0700454source "fs/Kconfig"
455
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800456menu "Instrumentation Support"
457 depends on EXPERIMENTAL
458
Linus Torvalds1da177e2005-04-16 15:20:36 -0700459source "arch/sparc64/oprofile/Kconfig"
460
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800461config KPROBES
462 bool "Kprobes (EXPERIMENTAL)"
Ananth N Mavinakayanahalli3a872d82006-10-02 02:17:30 -0700463 depends on KALLSYMS && EXPERIMENTAL && MODULES
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800464 help
465 Kprobes allows you to trap at almost any kernel address and
466 execute a callback function. register_kprobe() establishes
467 a probepoint and specifies the callback. Kprobes is useful
468 for kernel debugging, non-intrusive instrumentation and testing.
469 If in doubt, say "N".
470endmenu
471
Linus Torvalds1da177e2005-04-16 15:20:36 -0700472source "arch/sparc64/Kconfig.debug"
473
474source "security/Kconfig"
475
476source "crypto/Kconfig"
477
478source "lib/Kconfig"