blob: d41f66ac7fff71dd8768271775aad6b183de987f [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
Linus Torvalds1da177e2005-04-16 15:20:36 -070022config 64BIT
23 def_bool y
24
25config MMU
26 bool
27 default y
28
David S. Miller10e26722006-11-16 13:38:57 -080029config STACKTRACE_SUPPORT
30 bool
31 default y
32
33config LOCKDEP_SUPPORT
34 bool
35 default y
36
Linus Torvalds1da177e2005-04-16 15:20:36 -070037config TIME_INTERPOLATION
38 bool
39 default y
40
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +010041config ARCH_MAY_HAVE_PC_FDC
42 bool
43 default y
44
David Howellsf0d1b0b2006-12-08 02:37:49 -080045config ARCH_HAS_ILOG2_U32
46 bool
47 default n
48
49config ARCH_HAS_ILOG2_U64
50 bool
51 default n
52
Al Virof6bc0c12006-09-12 02:59:45 -040053config AUDIT_ARCH
54 bool
55 default y
56
Linus Torvalds1da177e2005-04-16 15:20:36 -070057choice
58 prompt "Kernel page size"
59 default SPARC64_PAGE_SIZE_8KB
60
61config SPARC64_PAGE_SIZE_8KB
62 bool "8KB"
63 help
64 This lets you select the page size of the kernel.
65
66 8KB and 64KB work quite well, since Sparc ELF sections
67 provide for up to 64KB alignment.
68
69 Therefore, 512KB and 4MB are for expert hackers only.
70
71 If you don't know what to do, choose 8KB.
72
73config SPARC64_PAGE_SIZE_64KB
74 bool "64KB"
75
76config SPARC64_PAGE_SIZE_512KB
77 bool "512KB"
78
79config SPARC64_PAGE_SIZE_4MB
80 bool "4MB"
81
82endchoice
83
David S. Millerbb49bcd2005-07-10 16:49:28 -070084config SECCOMP
85 bool "Enable seccomp to safely compute untrusted bytecode"
86 depends on PROC_FS
87 default y
88 help
89 This kernel feature is useful for number crunching applications
90 that may need to compute untrusted bytecode during their
91 execution. By using pipes or other transports made available to
92 the process as file descriptors supporting the read/write
93 syscalls, it's possible to isolate those applications in
94 their own address space using seccomp. Once seccomp is
95 enabled via /proc/<pid>/seccomp, it cannot be disabled
96 and the task is only allowed to execute a few safe syscalls
97 defined by each seccomp mode.
98
99 If unsure, say Y. Only embedded should say N here.
100
David S. Millera6524812005-07-08 15:21:51 -0700101source kernel/Kconfig.hz
102
Linus Torvalds1da177e2005-04-16 15:20:36 -0700103source "init/Kconfig"
104
105config SYSVIPC_COMPAT
106 bool
107 depends on COMPAT && SYSVIPC
108 default y
109
David S. Millere18e2a02006-06-20 01:23:32 -0700110config GENERIC_HARDIRQS
111 bool
112 default y
113
Linus Torvalds1da177e2005-04-16 15:20:36 -0700114menu "General machine setup"
115
Linus Torvalds1da177e2005-04-16 15:20:36 -0700116config SMP
117 bool "Symmetric multi-processing support"
118 ---help---
119 This enables support for systems with more than one CPU. If you have
120 a system with only one CPU, say N. If you have a system with more than
121 one CPU, say Y.
122
123 If you say N here, the kernel will run on single and multiprocessor
124 machines, but will use only one CPU of a multiprocessor machine. If
125 you say Y here, the kernel will run on many, but not all,
126 singleprocessor machines. On a singleprocessor machine, the kernel
127 will run faster if you say N here.
128
129 People using multiprocessor machines who say Y here should also say
130 Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
131 Management" code will be disabled if you say Y here.
132
133 See also the <file:Documentation/smp.txt>,
134 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
135 <http://www.tldp.org/docs.html#howto>.
136
137 If you don't know what to do here, say N.
138
139config PREEMPT
140 bool "Preemptible Kernel"
141 help
142 This option reduces the latency of the kernel when reacting to
143 real-time or interactive events by allowing a low priority process to
144 be preempted even if it is in kernel mode executing a system call.
145 This allows applications to run more reliably even when the system is
146 under load.
147
148 Say Y here if you are building a kernel for a desktop, embedded
149 or real-time system. Say N if you are unsure.
150
151config NR_CPUS
152 int "Maximum number of CPUs (2-64)"
153 range 2 64
154 depends on SMP
155 default "32"
156
157source "drivers/cpufreq/Kconfig"
158
159config US3_FREQ
160 tristate "UltraSPARC-III CPU Frequency driver"
161 depends on CPU_FREQ
162 select CPU_FREQ_TABLE
163 help
164 This adds the CPUFreq driver for UltraSPARC-III processors.
165
166 For details, take a look at <file:Documentation/cpu-freq>.
167
168 If in doubt, say N.
169
170config US2E_FREQ
171 tristate "UltraSPARC-IIe CPU Frequency driver"
172 depends on CPU_FREQ
173 select CPU_FREQ_TABLE
174 help
175 This adds the CPUFreq driver for UltraSPARC-IIe processors.
176
177 For details, take a look at <file:Documentation/cpu-freq>.
178
179 If in doubt, say N.
180
Linus Torvalds1da177e2005-04-16 15:20:36 -0700181# Global things across all Sun machines.
182config RWSEM_GENERIC_SPINLOCK
183 bool
184
185config RWSEM_XCHGADD_ALGORITHM
186 bool
187 default y
188
Akinobu Mita2d78d4b2006-03-26 01:39:40 -0800189config GENERIC_FIND_NEXT_BIT
190 bool
191 default y
192
193config GENERIC_HWEIGHT
194 bool
195 default y if !ULTRA_HAS_POPULATION_COUNT
196
Linus Torvalds1da177e2005-04-16 15:20:36 -0700197config GENERIC_CALIBRATE_DELAY
198 bool
199 default y
200
201choice
202 prompt "SPARC64 Huge TLB Page Size"
203 depends on HUGETLB_PAGE
204 default HUGETLB_PAGE_SIZE_4MB
205
206config HUGETLB_PAGE_SIZE_4MB
207 bool "4MB"
208
209config HUGETLB_PAGE_SIZE_512K
David S. Millerdcc1e8d2006-03-22 00:49:59 -0800210 depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700211 bool "512K"
212
213config HUGETLB_PAGE_SIZE_64K
Jean-Luc Légerf2a15852006-04-18 16:19:53 -0700214 depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB && !SPARC64_PAGE_SIZE_64KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700215 bool "64K"
216
217endchoice
218
David S. Miller5843e372005-08-30 21:46:19 -0700219endmenu
220
David S. Miller68491d52006-04-06 20:28:11 -0700221config ARCH_SELECT_MEMORY_MODEL
222 def_bool y
223
David S. Millerd1112012006-03-08 02:16:07 -0800224config ARCH_SPARSEMEM_ENABLE
225 def_bool y
226
227config ARCH_SPARSEMEM_DEFAULT
228 def_bool y
229
David S. Miller9b4006d2006-03-18 18:12:42 -0800230config LARGE_ALLOCS
231 def_bool y
232
David S. Miller5843e372005-08-30 21:46:19 -0700233source "mm/Kconfig"
234
Linus Torvalds1da177e2005-04-16 15:20:36 -0700235config GENERIC_ISA_DMA
236 bool
237 default y
238
239config ISA
240 bool
241 help
242 Find out whether you have ISA slots on your motherboard. ISA is the
243 name of a bus system, i.e. the way the CPU talks to the other stuff
244 inside your box. Other bus systems are PCI, EISA, MicroChannel
245 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
246 newer boards don't support it. If you have ISA, say Y, otherwise N.
247
248config ISAPNP
249 bool
250 help
251 Say Y here if you would like support for ISA Plug and Play devices.
252 Some information is in <file:Documentation/isapnp.txt>.
253
254 To compile this driver as a module, choose M here: the
255 module will be called isapnp.
256
257 If unsure, say Y.
258
259config EISA
260 bool
261 ---help---
262 The Extended Industry Standard Architecture (EISA) bus was
263 developed as an open alternative to the IBM MicroChannel bus.
264
265 The EISA bus provided some of the features of the IBM MicroChannel
266 bus while maintaining backward compatibility with cards made for
267 the older ISA bus. The EISA bus saw limited use between 1988 and
268 1995 when it was made obsolete by the PCI bus.
269
270 Say Y here if you are building a kernel for an EISA-based machine.
271
272 Otherwise, say N.
273
274config MCA
275 bool
276 help
277 MicroChannel Architecture is found in some IBM PS/2 machines and
278 laptops. It is a bus system similar to PCI or ISA. See
279 <file:Documentation/mca.txt> (and especially the web page given
280 there) before attempting to build an MCA bus kernel.
281
282config PCMCIA
283 tristate
284 ---help---
285 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
286 computer. These are credit-card size devices such as network cards,
287 modems or hard drives often used with laptops computers. There are
288 actually two varieties of these cards: the older 16 bit PCMCIA cards
289 and the newer 32 bit CardBus cards. If you want to use CardBus
290 cards, you need to say Y here and also to "CardBus support" below.
291
292 To use your PC-cards, you will need supporting software from David
293 Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
294 for location). Please also read the PCMCIA-HOWTO, available from
295 <http://www.tldp.org/docs.html#howto>.
296
297 To compile this driver as modules, choose M here: the
298 modules will be called pcmcia_core and ds.
299
300config SBUS
301 bool
302 default y
303
304config SBUSCHAR
305 bool
306 default y
307
308config SUN_AUXIO
309 bool
310 default y
311
312config SUN_IO
313 bool
314 default y
315
316config PCI
317 bool "PCI support"
318 help
319 Find out whether you have a PCI motherboard. PCI is the name of a
320 bus system, i.e. the way the CPU talks to the other stuff inside
321 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
322 VESA. If you have PCI, say Y, otherwise N.
323
324 The PCI-HOWTO, available from
325 <http://www.tldp.org/docs.html#howto>, contains valuable
326 information about which PCI hardware does work under Linux and which
327 doesn't.
328
329config PCI_DOMAINS
330 bool
331 default PCI
332
Linus Torvalds1da177e2005-04-16 15:20:36 -0700333source "drivers/pci/Kconfig"
334
335config SUN_OPENPROMFS
336 tristate "Openprom tree appears in /proc/openprom"
337 help
338 If you say Y, the OpenPROM device tree will be available as a
339 virtual file system, which you can mount to /proc/openprom by "mount
340 -t openpromfs none /proc/openprom".
341
342 To compile the /proc/openprom support as a module, choose M here: the
343 module will be called openpromfs. If unsure, choose M.
344
345config SPARC32_COMPAT
346 bool "Kernel support for Linux/Sparc 32bit binary compatibility"
347 help
348 This allows you to run 32-bit binaries on your Ultra.
349 Everybody wants this; say Y.
350
351config COMPAT
352 bool
353 depends on SPARC32_COMPAT
354 default y
355
Linus Torvalds1da177e2005-04-16 15:20:36 -0700356config BINFMT_ELF32
Christoph Hellwig289fbc22006-07-10 04:45:38 -0700357 bool "Kernel support for 32-bit ELF binaries"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700358 depends on SPARC32_COMPAT
359 help
360 This allows you to run 32-bit Linux/ELF binaries on your Ultra.
361 Everybody wants this; say Y.
362
363config BINFMT_AOUT32
364 bool "Kernel support for 32-bit (ie. SunOS) a.out binaries"
365 depends on SPARC32_COMPAT
366 help
367 This allows you to run 32-bit a.out format binaries on your Ultra.
368 If you want to run SunOS binaries (see SunOS binary emulation below)
369 or other a.out binaries, say Y. If unsure, say N.
370
David S. Miller5843e372005-08-30 21:46:19 -0700371menu "Executable file formats"
372
Linus Torvalds1da177e2005-04-16 15:20:36 -0700373source "fs/Kconfig.binfmt"
374
375config SUNOS_EMUL
376 bool "SunOS binary emulation"
377 depends on BINFMT_AOUT32
378 help
379 This allows you to run most SunOS binaries. If you want to do this,
380 say Y here and place appropriate files in /usr/gnemul/sunos. See
381 <http://www.ultralinux.org/faq.html> for more information. If you
382 want to run SunOS binaries on an Ultra you must also say Y to
383 "Kernel support for 32-bit a.out binaries" above.
384
385config SOLARIS_EMUL
386 tristate "Solaris binary emulation (EXPERIMENTAL)"
387 depends on SPARC32_COMPAT && EXPERIMENTAL
388 help
389 This is experimental code which will enable you to run (many)
390 Solaris binaries on your SPARC Linux machine.
391
392 To compile this code as a module, choose M here: the
393 module will be called solaris.
394
David S. Miller5843e372005-08-30 21:46:19 -0700395endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -0700396
David S. Miller8935dce2006-03-08 16:09:19 -0800397config SCHED_SMT
398 bool "SMT (Hyperthreading) scheduler support"
399 depends on SMP
400 default y
401 help
402 SMT scheduler support improves the CPU scheduler's decision making
403 when dealing with UltraSPARC cpus at a cost of slightly increased
404 overhead in some places. If unsure say N here.
405
Linus Torvalds1da177e2005-04-16 15:20:36 -0700406config CMDLINE_BOOL
407 bool "Default bootloader kernel arguments"
408
409config CMDLINE
410 string "Initial kernel command string"
411 depends on CMDLINE_BOOL
412 default "console=ttyS0,9600 root=/dev/sda1"
413 help
414 Say Y here if you want to be able to pass default arguments to
415 the kernel. This will be overridden by the bootloader, if you
416 use one (such as SILO). This is most useful if you want to boot
417 a kernel from TFTP, and want default options to be available
418 with having them passed on the command line.
419
420 NOTE: This option WILL override the PROM bootargs setting!
421
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700422source "net/Kconfig"
423
David S. Miller5843e372005-08-30 21:46:19 -0700424source "drivers/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700425
426source "drivers/sbus/char/Kconfig"
427
Linus Torvalds1da177e2005-04-16 15:20:36 -0700428source "drivers/fc4/Kconfig"
429
Linus Torvalds1da177e2005-04-16 15:20:36 -0700430source "fs/Kconfig"
431
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800432menu "Instrumentation Support"
433 depends on EXPERIMENTAL
434
Linus Torvalds1da177e2005-04-16 15:20:36 -0700435source "arch/sparc64/oprofile/Kconfig"
436
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800437config KPROBES
438 bool "Kprobes (EXPERIMENTAL)"
Ananth N Mavinakayanahalli3a872d82006-10-02 02:17:30 -0700439 depends on KALLSYMS && EXPERIMENTAL && MODULES
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800440 help
441 Kprobes allows you to trap at almost any kernel address and
442 execute a callback function. register_kprobe() establishes
443 a probepoint and specifies the callback. Kprobes is useful
444 for kernel debugging, non-intrusive instrumentation and testing.
445 If in doubt, say "N".
446endmenu
447
Linus Torvalds1da177e2005-04-16 15:20:36 -0700448source "arch/sparc64/Kconfig.debug"
449
450source "security/Kconfig"
451
452source "crypto/Kconfig"
453
454source "lib/Kconfig"