blob: 10b212a1f9f5aa046dbe1e2b5702dbcba9a3b7c0 [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
Stephen Rothwell0785b9d2007-07-18 00:09:30 -070069config ARCH_NO_VIRT_TO_BUS
70 def_bool y
71
Stephen Rothwell97e873e2007-05-01 16:26:07 +100072config OF
73 def_bool y
74
David S. Miller8d57d3a2007-10-22 02:16:45 -070075config GENERIC_HARDIRQS_NO__DO_IRQ
76 bool
77 def_bool y
78
Linus Torvalds1da177e2005-04-16 15:20:36 -070079choice
80 prompt "Kernel page size"
81 default SPARC64_PAGE_SIZE_8KB
82
83config SPARC64_PAGE_SIZE_8KB
84 bool "8KB"
85 help
86 This lets you select the page size of the kernel.
87
88 8KB and 64KB work quite well, since Sparc ELF sections
89 provide for up to 64KB alignment.
90
91 Therefore, 512KB and 4MB are for expert hackers only.
92
93 If you don't know what to do, choose 8KB.
94
95config SPARC64_PAGE_SIZE_64KB
96 bool "64KB"
97
98config SPARC64_PAGE_SIZE_512KB
99 bool "512KB"
100
101config SPARC64_PAGE_SIZE_4MB
102 bool "4MB"
103
104endchoice
105
David S. Millerbb49bcd2005-07-10 16:49:28 -0700106config SECCOMP
107 bool "Enable seccomp to safely compute untrusted bytecode"
108 depends on PROC_FS
109 default y
110 help
111 This kernel feature is useful for number crunching applications
112 that may need to compute untrusted bytecode during their
113 execution. By using pipes or other transports made available to
114 the process as file descriptors supporting the read/write
115 syscalls, it's possible to isolate those applications in
116 their own address space using seccomp. Once seccomp is
117 enabled via /proc/<pid>/seccomp, it cannot be disabled
118 and the task is only allowed to execute a few safe syscalls
119 defined by each seccomp mode.
120
121 If unsure, say Y. Only embedded should say N here.
122
David S. Millera6524812005-07-08 15:21:51 -0700123source kernel/Kconfig.hz
124
David S. Miller4f0234f2007-07-13 16:03:42 -0700125config HOTPLUG_CPU
126 bool "Support for hot-pluggable CPUs"
127 depends on SMP
128 select HOTPLUG
129 ---help---
130 Say Y here to experiment with turning CPUs off and on. CPUs
131 can be controlled through /sys/devices/system/cpu/cpu#.
132 Say N if you want to disable CPU hotplug.
133
Linus Torvalds1da177e2005-04-16 15:20:36 -0700134source "init/Kconfig"
135
136config SYSVIPC_COMPAT
137 bool
138 depends on COMPAT && SYSVIPC
139 default y
140
David S. Millere18e2a02006-06-20 01:23:32 -0700141config GENERIC_HARDIRQS
142 bool
143 default y
144
Linus Torvalds1da177e2005-04-16 15:20:36 -0700145menu "General machine setup"
146
David S. Miller112f4872007-03-05 15:28:37 -0800147source "kernel/time/Kconfig"
148
Linus Torvalds1da177e2005-04-16 15:20:36 -0700149config SMP
150 bool "Symmetric multi-processing support"
151 ---help---
152 This enables support for systems with more than one CPU. If you have
153 a system with only one CPU, say N. If you have a system with more than
154 one CPU, say Y.
155
156 If you say N here, the kernel will run on single and multiprocessor
157 machines, but will use only one CPU of a multiprocessor machine. If
158 you say Y here, the kernel will run on many, but not all,
159 singleprocessor machines. On a singleprocessor machine, the kernel
160 will run faster if you say N here.
161
162 People using multiprocessor machines who say Y here should also say
163 Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
164 Management" code will be disabled if you say Y here.
165
166 See also the <file:Documentation/smp.txt>,
167 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
168 <http://www.tldp.org/docs.html#howto>.
169
170 If you don't know what to do here, say N.
171
Linus Torvalds1da177e2005-04-16 15:20:36 -0700172config NR_CPUS
David S. Miller22adb352007-05-26 01:14:43 -0700173 int "Maximum number of CPUs (2-1024)"
174 range 2 1024
Linus Torvalds1da177e2005-04-16 15:20:36 -0700175 depends on SMP
David S. Miller22adb352007-05-26 01:14:43 -0700176 default "64"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700177
178source "drivers/cpufreq/Kconfig"
179
180config US3_FREQ
181 tristate "UltraSPARC-III CPU Frequency driver"
182 depends on CPU_FREQ
183 select CPU_FREQ_TABLE
184 help
185 This adds the CPUFreq driver for UltraSPARC-III processors.
186
187 For details, take a look at <file:Documentation/cpu-freq>.
188
189 If in doubt, say N.
190
191config US2E_FREQ
192 tristate "UltraSPARC-IIe CPU Frequency driver"
193 depends on CPU_FREQ
194 select CPU_FREQ_TABLE
195 help
196 This adds the CPUFreq driver for UltraSPARC-IIe processors.
197
198 For details, take a look at <file:Documentation/cpu-freq>.
199
200 If in doubt, say N.
201
Linus Torvalds1da177e2005-04-16 15:20:36 -0700202# Global things across all Sun machines.
203config RWSEM_GENERIC_SPINLOCK
204 bool
205
206config RWSEM_XCHGADD_ALGORITHM
207 bool
208 default y
209
Akinobu Mita2d78d4b2006-03-26 01:39:40 -0800210config GENERIC_FIND_NEXT_BIT
211 bool
212 default y
213
214config GENERIC_HWEIGHT
215 bool
216 default y if !ULTRA_HAS_POPULATION_COUNT
217
Linus Torvalds1da177e2005-04-16 15:20:36 -0700218config GENERIC_CALIBRATE_DELAY
219 bool
220 default y
221
222choice
223 prompt "SPARC64 Huge TLB Page Size"
224 depends on HUGETLB_PAGE
225 default HUGETLB_PAGE_SIZE_4MB
226
227config HUGETLB_PAGE_SIZE_4MB
228 bool "4MB"
229
230config HUGETLB_PAGE_SIZE_512K
David S. Millerdcc1e8d2006-03-22 00:49:59 -0800231 depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700232 bool "512K"
233
234config HUGETLB_PAGE_SIZE_64K
Jean-Luc Légerf2a15852006-04-18 16:19:53 -0700235 depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB && !SPARC64_PAGE_SIZE_64KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700236 bool "64K"
237
238endchoice
239
David S. Miller5843e372005-08-30 21:46:19 -0700240endmenu
241
David S. Miller68491d52006-04-06 20:28:11 -0700242config ARCH_SELECT_MEMORY_MODEL
243 def_bool y
244
David S. Millerd1112012006-03-08 02:16:07 -0800245config ARCH_SPARSEMEM_ENABLE
246 def_bool y
David Miller46644c22007-10-16 01:24:16 -0700247 select SPARSEMEM_VMEMMAP_ENABLE
David S. Millerd1112012006-03-08 02:16:07 -0800248
249config ARCH_SPARSEMEM_DEFAULT
250 def_bool y
251
David S. Miller5843e372005-08-30 21:46:19 -0700252source "mm/Kconfig"
253
Linus Torvalds1da177e2005-04-16 15:20:36 -0700254config ISA
255 bool
256 help
257 Find out whether you have ISA slots on your motherboard. ISA is the
258 name of a bus system, i.e. the way the CPU talks to the other stuff
259 inside your box. Other bus systems are PCI, EISA, MicroChannel
260 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
261 newer boards don't support it. If you have ISA, say Y, otherwise N.
262
263config ISAPNP
264 bool
265 help
266 Say Y here if you would like support for ISA Plug and Play devices.
267 Some information is in <file:Documentation/isapnp.txt>.
268
269 To compile this driver as a module, choose M here: the
270 module will be called isapnp.
271
272 If unsure, say Y.
273
274config EISA
275 bool
276 ---help---
277 The Extended Industry Standard Architecture (EISA) bus was
278 developed as an open alternative to the IBM MicroChannel bus.
279
280 The EISA bus provided some of the features of the IBM MicroChannel
281 bus while maintaining backward compatibility with cards made for
282 the older ISA bus. The EISA bus saw limited use between 1988 and
283 1995 when it was made obsolete by the PCI bus.
284
285 Say Y here if you are building a kernel for an EISA-based machine.
286
287 Otherwise, say N.
288
289config MCA
290 bool
291 help
292 MicroChannel Architecture is found in some IBM PS/2 machines and
293 laptops. It is a bus system similar to PCI or ISA. See
294 <file:Documentation/mca.txt> (and especially the web page given
295 there) before attempting to build an MCA bus kernel.
296
297config PCMCIA
298 tristate
299 ---help---
300 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
301 computer. These are credit-card size devices such as network cards,
302 modems or hard drives often used with laptops computers. There are
303 actually two varieties of these cards: the older 16 bit PCMCIA cards
304 and the newer 32 bit CardBus cards. If you want to use CardBus
305 cards, you need to say Y here and also to "CardBus support" below.
306
307 To use your PC-cards, you will need supporting software from David
308 Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
309 for location). Please also read the PCMCIA-HOWTO, available from
310 <http://www.tldp.org/docs.html#howto>.
311
312 To compile this driver as modules, choose M here: the
313 modules will be called pcmcia_core and ds.
314
315config SBUS
316 bool
317 default y
318
319config SBUSCHAR
320 bool
321 default y
322
323config SUN_AUXIO
324 bool
325 default y
326
327config SUN_IO
328 bool
329 default y
330
David S. Millere53e97c2007-07-09 22:22:44 -0700331config SUN_LDOMS
332 bool "Sun Logical Domains support"
333 help
334 Say Y here is you want to support virtual devices via
335 Logical Domains.
336
Linus Torvalds1da177e2005-04-16 15:20:36 -0700337config PCI
338 bool "PCI support"
Dan Williamsf282b9702007-04-18 18:46:20 +1000339 select ARCH_SUPPORTS_MSI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700340 help
341 Find out whether you have a PCI motherboard. PCI is the name of a
342 bus system, i.e. the way the CPU talks to the other stuff inside
343 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
344 VESA. If you have PCI, say Y, otherwise N.
345
346 The PCI-HOWTO, available from
347 <http://www.tldp.org/docs.html#howto>, contains valuable
348 information about which PCI hardware does work under Linux and which
349 doesn't.
350
351config PCI_DOMAINS
Matthew Wilcox36e23592007-07-10 10:54:40 -0600352 def_bool PCI
353
354config PCI_SYSCALL
355 def_bool PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700356
Linus Torvalds1da177e2005-04-16 15:20:36 -0700357source "drivers/pci/Kconfig"
358
359config SUN_OPENPROMFS
360 tristate "Openprom tree appears in /proc/openprom"
361 help
362 If you say Y, the OpenPROM device tree will be available as a
363 virtual file system, which you can mount to /proc/openprom by "mount
364 -t openpromfs none /proc/openprom".
365
366 To compile the /proc/openprom support as a module, choose M here: the
367 module will be called openpromfs. If unsure, choose M.
368
369config SPARC32_COMPAT
370 bool "Kernel support for Linux/Sparc 32bit binary compatibility"
371 help
372 This allows you to run 32-bit binaries on your Ultra.
373 Everybody wants this; say Y.
374
375config COMPAT
376 bool
377 depends on SPARC32_COMPAT
378 default y
379
Linus Torvalds1da177e2005-04-16 15:20:36 -0700380config BINFMT_ELF32
Christoph Hellwig289fbc22006-07-10 04:45:38 -0700381 bool "Kernel support for 32-bit ELF binaries"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700382 depends on SPARC32_COMPAT
383 help
384 This allows you to run 32-bit Linux/ELF binaries on your Ultra.
385 Everybody wants this; say Y.
386
387config BINFMT_AOUT32
388 bool "Kernel support for 32-bit (ie. SunOS) a.out binaries"
389 depends on SPARC32_COMPAT
390 help
391 This allows you to run 32-bit a.out format binaries on your Ultra.
392 If you want to run SunOS binaries (see SunOS binary emulation below)
393 or other a.out binaries, say Y. If unsure, say N.
394
David S. Miller5843e372005-08-30 21:46:19 -0700395menu "Executable file formats"
396
Linus Torvalds1da177e2005-04-16 15:20:36 -0700397source "fs/Kconfig.binfmt"
398
399config SUNOS_EMUL
400 bool "SunOS binary emulation"
401 depends on BINFMT_AOUT32
402 help
403 This allows you to run most SunOS binaries. If you want to do this,
404 say Y here and place appropriate files in /usr/gnemul/sunos. See
405 <http://www.ultralinux.org/faq.html> for more information. If you
406 want to run SunOS binaries on an Ultra you must also say Y to
407 "Kernel support for 32-bit a.out binaries" above.
408
409config SOLARIS_EMUL
410 tristate "Solaris binary emulation (EXPERIMENTAL)"
David S. Millerd6898552007-10-29 01:19:14 -0700411 depends on SPARC32_COMPAT && NET && EXPERIMENTAL
Linus Torvalds1da177e2005-04-16 15:20:36 -0700412 help
413 This is experimental code which will enable you to run (many)
414 Solaris binaries on your SPARC Linux machine.
415
416 To compile this code as a module, choose M here: the
417 module will be called solaris.
418
David S. Miller5843e372005-08-30 21:46:19 -0700419endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -0700420
David S. Miller8935dce2006-03-08 16:09:19 -0800421config SCHED_SMT
422 bool "SMT (Hyperthreading) scheduler support"
423 depends on SMP
424 default y
425 help
426 SMT scheduler support improves the CPU scheduler's decision making
427 when dealing with UltraSPARC cpus at a cost of slightly increased
428 overhead in some places. If unsure say N here.
429
David S. Millerf78eae22007-06-04 17:01:39 -0700430config SCHED_MC
431 bool "Multi-core scheduler support"
432 depends on SMP
433 default y
434 help
435 Multi-core scheduler support improves the CPU scheduler's decision
436 making when dealing with multi-core CPU chips at a cost of slightly
437 increased overhead in some places. If unsure say N here.
438
David S. Millerdb2f9f62007-03-17 15:23:22 -0700439source "kernel/Kconfig.preempt"
440
Linus Torvalds1da177e2005-04-16 15:20:36 -0700441config CMDLINE_BOOL
442 bool "Default bootloader kernel arguments"
443
444config CMDLINE
445 string "Initial kernel command string"
446 depends on CMDLINE_BOOL
447 default "console=ttyS0,9600 root=/dev/sda1"
448 help
449 Say Y here if you want to be able to pass default arguments to
450 the kernel. This will be overridden by the bootloader, if you
451 use one (such as SILO). This is most useful if you want to boot
452 a kernel from TFTP, and want default options to be available
453 with having them passed on the command line.
454
455 NOTE: This option WILL override the PROM bootargs setting!
456
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700457source "net/Kconfig"
458
David S. Miller5843e372005-08-30 21:46:19 -0700459source "drivers/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700460
461source "drivers/sbus/char/Kconfig"
462
Linus Torvalds1da177e2005-04-16 15:20:36 -0700463source "fs/Kconfig"
464
Mathieu Desnoyers09caded2007-10-18 23:41:05 -0700465source "kernel/Kconfig.instrumentation"
Prasanna S Panchamukhicd6b0762005-11-07 00:59:14 -0800466
Linus Torvalds1da177e2005-04-16 15:20:36 -0700467source "arch/sparc64/Kconfig.debug"
468
469source "security/Kconfig"
470
471source "crypto/Kconfig"
472
473source "lib/Kconfig"