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