blob: b782d874759c03222b4bb77e50f8bd0e7ee0fd5a [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
Ananth N Mavinakayanahalli9edddaa2008-03-04 14:28:37 -080013 select HAVE_KRETPROBES
Adrian Bunk0b57ee92005-12-22 21:03:47 -080014
David S. Miller5843e372005-08-30 21:46:19 -070015config SPARC64
16 bool
17 default y
Sam Ravnborgec7748b2008-02-09 10:46:40 +010018 select HAVE_IDE
David S. Miller5843e372005-08-30 21:46:19 -070019 help
20 SPARC is a family of RISC microprocessors designed and marketed by
21 Sun Microsystems, incorporated. This port covers the newer 64-bit
22 UltraSPARC. The UltraLinux project maintains both the SPARC32 and
23 SPARC64 ports; its web page is available at
24 <http://www.ultralinux.org/>.
25
David S. Miller112f4872007-03-05 15:28:37 -080026config GENERIC_TIME
27 bool
28 default y
29
Thomas Gleixner82644452007-07-21 04:37:37 -070030config GENERIC_CMOS_UPDATE
31 bool
32 default y
33
David S. Miller112f4872007-03-05 15:28:37 -080034config GENERIC_CLOCKEVENTS
35 bool
36 default y
37
Linus Torvalds1da177e2005-04-16 15:20:36 -070038config 64BIT
39 def_bool y
40
41config MMU
42 bool
43 default y
44
David S. Millerd2841422008-02-08 18:05:46 -080045config IOMMU_HELPER
46 bool
47 default y
48
David Miller3a2cba92007-05-06 14:49:51 -070049config QUICKLIST
50 bool
51 default y
52
David S. Miller10e26722006-11-16 13:38:57 -080053config STACKTRACE_SUPPORT
54 bool
55 default y
56
57config LOCKDEP_SUPPORT
58 bool
59 default y
60
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +010061config ARCH_MAY_HAVE_PC_FDC
62 bool
63 default y
64
David Howellsf0d1b0b2006-12-08 02:37:49 -080065config ARCH_HAS_ILOG2_U32
66 bool
67 default n
68
69config ARCH_HAS_ILOG2_U64
70 bool
71 default n
72
Al Virof6bc0c12006-09-12 02:59:45 -040073config AUDIT_ARCH
74 bool
75 default y
76
travis@sgi.com988c3882008-01-30 23:27:58 +010077config HAVE_SETUP_PER_CPU_AREA
travis@sgi.comb32ef632008-01-30 13:32:51 +010078 def_bool y
79
Stephen Rothwell0785b9d2007-07-18 00:09:30 -070080config ARCH_NO_VIRT_TO_BUS
81 def_bool y
82
Stephen Rothwell97e873e2007-05-01 16:26:07 +100083config OF
84 def_bool y
85
David S. Miller8d57d3a2007-10-22 02:16:45 -070086config GENERIC_HARDIRQS_NO__DO_IRQ
87 bool
88 def_bool y
89
Linus Torvalds1da177e2005-04-16 15:20:36 -070090choice
91 prompt "Kernel page size"
92 default SPARC64_PAGE_SIZE_8KB
93
94config SPARC64_PAGE_SIZE_8KB
95 bool "8KB"
96 help
97 This lets you select the page size of the kernel.
98
99 8KB and 64KB work quite well, since Sparc ELF sections
100 provide for up to 64KB alignment.
101
102 Therefore, 512KB and 4MB are for expert hackers only.
103
104 If you don't know what to do, choose 8KB.
105
106config SPARC64_PAGE_SIZE_64KB
107 bool "64KB"
108
109config SPARC64_PAGE_SIZE_512KB
110 bool "512KB"
111
112config SPARC64_PAGE_SIZE_4MB
113 bool "4MB"
114
115endchoice
116
David S. Millerbb49bcd2005-07-10 16:49:28 -0700117config SECCOMP
118 bool "Enable seccomp to safely compute untrusted bytecode"
119 depends on PROC_FS
120 default y
121 help
122 This kernel feature is useful for number crunching applications
123 that may need to compute untrusted bytecode during their
124 execution. By using pipes or other transports made available to
125 the process as file descriptors supporting the read/write
126 syscalls, it's possible to isolate those applications in
127 their own address space using seccomp. Once seccomp is
128 enabled via /proc/<pid>/seccomp, it cannot be disabled
129 and the task is only allowed to execute a few safe syscalls
130 defined by each seccomp mode.
131
132 If unsure, say Y. Only embedded should say N here.
133
David S. Millera6524812005-07-08 15:21:51 -0700134source kernel/Kconfig.hz
135
David S. Miller4f0234f2007-07-13 16:03:42 -0700136config HOTPLUG_CPU
137 bool "Support for hot-pluggable CPUs"
138 depends on SMP
139 select HOTPLUG
140 ---help---
141 Say Y here to experiment with turning CPUs off and on. CPUs
142 can be controlled through /sys/devices/system/cpu/cpu#.
143 Say N if you want to disable CPU hotplug.
144
Linus Torvalds1da177e2005-04-16 15:20:36 -0700145source "init/Kconfig"
146
David S. Millere18e2a02006-06-20 01:23:32 -0700147config GENERIC_HARDIRQS
148 bool
149 default y
150
Linus Torvalds1da177e2005-04-16 15:20:36 -0700151menu "General machine setup"
152
David S. Miller112f4872007-03-05 15:28:37 -0800153source "kernel/time/Kconfig"
154
Linus Torvalds1da177e2005-04-16 15:20:36 -0700155config SMP
156 bool "Symmetric multi-processing support"
157 ---help---
158 This enables support for systems with more than one CPU. If you have
159 a system with only one CPU, say N. If you have a system with more than
160 one CPU, say Y.
161
162 If you say N here, the kernel will run on single and multiprocessor
163 machines, but will use only one CPU of a multiprocessor machine. If
164 you say Y here, the kernel will run on many, but not all,
165 singleprocessor machines. On a singleprocessor machine, the kernel
166 will run faster if you say N here.
167
168 People using multiprocessor machines who say Y here should also say
169 Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
170 Management" code will be disabled if you say Y here.
171
Adrian Bunk03502fa2008-02-03 15:50:21 +0200172 See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
173 available at <http://www.tldp.org/docs.html#howto>.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700174
175 If you don't know what to do here, say N.
176
Linus Torvalds1da177e2005-04-16 15:20:36 -0700177config NR_CPUS
David S. Miller22adb352007-05-26 01:14:43 -0700178 int "Maximum number of CPUs (2-1024)"
179 range 2 1024
Linus Torvalds1da177e2005-04-16 15:20:36 -0700180 depends on SMP
David S. Miller22adb352007-05-26 01:14:43 -0700181 default "64"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700182
183source "drivers/cpufreq/Kconfig"
184
185config US3_FREQ
186 tristate "UltraSPARC-III CPU Frequency driver"
187 depends on CPU_FREQ
188 select CPU_FREQ_TABLE
189 help
190 This adds the CPUFreq driver for UltraSPARC-III processors.
191
192 For details, take a look at <file:Documentation/cpu-freq>.
193
194 If in doubt, say N.
195
196config US2E_FREQ
197 tristate "UltraSPARC-IIe CPU Frequency driver"
198 depends on CPU_FREQ
199 select CPU_FREQ_TABLE
200 help
201 This adds the CPUFreq driver for UltraSPARC-IIe processors.
202
203 For details, take a look at <file:Documentation/cpu-freq>.
204
205 If in doubt, say N.
206
Linus Torvalds1da177e2005-04-16 15:20:36 -0700207# Global things across all Sun machines.
Nick Piggin95c354f2008-01-30 13:31:20 +0100208config GENERIC_LOCKBREAK
209 bool
210 default y
211 depends on SMP && PREEMPT
212
Linus Torvalds1da177e2005-04-16 15:20:36 -0700213config RWSEM_GENERIC_SPINLOCK
214 bool
215
216config RWSEM_XCHGADD_ALGORITHM
217 bool
218 default y
219
Akinobu Mita2d78d4b2006-03-26 01:39:40 -0800220config GENERIC_FIND_NEXT_BIT
221 bool
222 default y
223
224config GENERIC_HWEIGHT
225 bool
226 default y if !ULTRA_HAS_POPULATION_COUNT
227
Linus Torvalds1da177e2005-04-16 15:20:36 -0700228config GENERIC_CALIBRATE_DELAY
229 bool
230 default y
231
232choice
233 prompt "SPARC64 Huge TLB Page Size"
234 depends on HUGETLB_PAGE
235 default HUGETLB_PAGE_SIZE_4MB
236
237config HUGETLB_PAGE_SIZE_4MB
238 bool "4MB"
239
240config HUGETLB_PAGE_SIZE_512K
David S. Millerdcc1e8d2006-03-22 00:49:59 -0800241 depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700242 bool "512K"
243
244config HUGETLB_PAGE_SIZE_64K
Jean-Luc Légerf2a15852006-04-18 16:19:53 -0700245 depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB && !SPARC64_PAGE_SIZE_64KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700246 bool "64K"
247
248endchoice
249
David S. Miller5843e372005-08-30 21:46:19 -0700250endmenu
251
David S. Miller68491d52006-04-06 20:28:11 -0700252config ARCH_SELECT_MEMORY_MODEL
253 def_bool y
254
David S. Millerd1112012006-03-08 02:16:07 -0800255config ARCH_SPARSEMEM_ENABLE
256 def_bool y
David Miller46644c242007-10-16 01:24:16 -0700257 select SPARSEMEM_VMEMMAP_ENABLE
David S. Millerd1112012006-03-08 02:16:07 -0800258
259config ARCH_SPARSEMEM_DEFAULT
260 def_bool y
261
David S. Miller5843e372005-08-30 21:46:19 -0700262source "mm/Kconfig"
263
Linus Torvalds1da177e2005-04-16 15:20:36 -0700264config ISA
265 bool
266 help
267 Find out whether you have ISA slots on your motherboard. ISA is the
268 name of a bus system, i.e. the way the CPU talks to the other stuff
269 inside your box. Other bus systems are PCI, EISA, MicroChannel
270 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
271 newer boards don't support it. If you have ISA, say Y, otherwise N.
272
273config ISAPNP
274 bool
275 help
276 Say Y here if you would like support for ISA Plug and Play devices.
277 Some information is in <file:Documentation/isapnp.txt>.
278
279 To compile this driver as a module, choose M here: the
280 module will be called isapnp.
281
282 If unsure, say Y.
283
284config EISA
285 bool
286 ---help---
287 The Extended Industry Standard Architecture (EISA) bus was
288 developed as an open alternative to the IBM MicroChannel bus.
289
290 The EISA bus provided some of the features of the IBM MicroChannel
291 bus while maintaining backward compatibility with cards made for
292 the older ISA bus. The EISA bus saw limited use between 1988 and
293 1995 when it was made obsolete by the PCI bus.
294
295 Say Y here if you are building a kernel for an EISA-based machine.
296
297 Otherwise, say N.
298
299config MCA
300 bool
301 help
302 MicroChannel Architecture is found in some IBM PS/2 machines and
303 laptops. It is a bus system similar to PCI or ISA. See
304 <file:Documentation/mca.txt> (and especially the web page given
305 there) before attempting to build an MCA bus kernel.
306
307config PCMCIA
308 tristate
309 ---help---
310 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
311 computer. These are credit-card size devices such as network cards,
312 modems or hard drives often used with laptops computers. There are
313 actually two varieties of these cards: the older 16 bit PCMCIA cards
314 and the newer 32 bit CardBus cards. If you want to use CardBus
315 cards, you need to say Y here and also to "CardBus support" below.
316
317 To use your PC-cards, you will need supporting software from David
318 Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
319 for location). Please also read the PCMCIA-HOWTO, available from
320 <http://www.tldp.org/docs.html#howto>.
321
322 To compile this driver as modules, choose M here: the
323 modules will be called pcmcia_core and ds.
324
325config SBUS
326 bool
327 default y
328
329config SBUSCHAR
330 bool
331 default y
332
333config SUN_AUXIO
334 bool
335 default y
336
337config SUN_IO
338 bool
339 default y
340
David S. Millere53e97c2007-07-09 22:22:44 -0700341config SUN_LDOMS
342 bool "Sun Logical Domains support"
343 help
344 Say Y here is you want to support virtual devices via
345 Logical Domains.
346
Linus Torvalds1da177e2005-04-16 15:20:36 -0700347config PCI
348 bool "PCI support"
Dan Williamsf282b9702007-04-18 18:46:20 +1000349 select ARCH_SUPPORTS_MSI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700350 help
351 Find out whether you have a PCI motherboard. PCI is the name of a
352 bus system, i.e. the way the CPU talks to the other stuff inside
353 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
354 VESA. If you have PCI, say Y, otherwise N.
355
Linus Torvalds1da177e2005-04-16 15:20:36 -0700356config PCI_DOMAINS
Matthew Wilcox36e23592007-07-10 10:54:40 -0600357 def_bool PCI
358
359config PCI_SYSCALL
360 def_bool PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700361
Linus Torvalds1da177e2005-04-16 15:20:36 -0700362source "drivers/pci/Kconfig"
363
364config SUN_OPENPROMFS
365 tristate "Openprom tree appears in /proc/openprom"
366 help
367 If you say Y, the OpenPROM device tree will be available as a
368 virtual file system, which you can mount to /proc/openprom by "mount
369 -t openpromfs none /proc/openprom".
370
371 To compile the /proc/openprom support as a module, choose M here: the
372 module will be called openpromfs. If unsure, choose M.
373
David S. Millerec98c6b2008-04-20 02:14:23 -0700374menu "Executable file formats"
375
376source "fs/Kconfig.binfmt"
377
Linus Torvalds1da177e2005-04-16 15:20:36 -0700378config SPARC32_COMPAT
379 bool "Kernel support for Linux/Sparc 32bit binary compatibility"
380 help
381 This allows you to run 32-bit binaries on your Ultra.
382 Everybody wants this; say Y.
383
384config COMPAT
385 bool
386 depends on SPARC32_COMPAT
387 default y
David S. Miller48c946a2008-02-08 00:08:10 -0800388 select COMPAT_BINFMT_ELF
Linus Torvalds1da177e2005-04-16 15:20:36 -0700389
David S. Millerec98c6b2008-04-20 02:14:23 -0700390config SYSVIPC_COMPAT
391 bool
392 depends on COMPAT && SYSVIPC
393 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700394
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
David S. Millerf78eae22007-06-04 17:01:39 -0700406config SCHED_MC
407 bool "Multi-core scheduler support"
408 depends on SMP
409 default y
410 help
411 Multi-core scheduler support improves the CPU scheduler's decision
412 making when dealing with multi-core CPU chips at a cost of slightly
413 increased overhead in some places. If unsure say N here.
414
David S. Millerdb2f9f62007-03-17 15:23:22 -0700415source "kernel/Kconfig.preempt"
416
Linus Torvalds1da177e2005-04-16 15:20:36 -0700417config CMDLINE_BOOL
418 bool "Default bootloader kernel arguments"
419
420config CMDLINE
421 string "Initial kernel command string"
422 depends on CMDLINE_BOOL
423 default "console=ttyS0,9600 root=/dev/sda1"
424 help
425 Say Y here if you want to be able to pass default arguments to
426 the kernel. This will be overridden by the bootloader, if you
427 use one (such as SILO). This is most useful if you want to boot
428 a kernel from TFTP, and want default options to be available
429 with having them passed on the command line.
430
431 NOTE: This option WILL override the PROM bootargs setting!
432
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700433source "net/Kconfig"
434
David S. Miller5843e372005-08-30 21:46:19 -0700435source "drivers/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700436
437source "drivers/sbus/char/Kconfig"
438
Linus Torvalds1da177e2005-04-16 15:20:36 -0700439source "fs/Kconfig"
440
Linus Torvalds1da177e2005-04-16 15:20:36 -0700441source "arch/sparc64/Kconfig.debug"
442
443source "security/Kconfig"
444
445source "crypto/Kconfig"
446
447source "lib/Kconfig"