blob: 4ac22f4f97983959b735eea49ea795a91addbee9 [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
Adrian Bunk0b57ee92005-12-22 21:03:47 -080013
David S. Miller5843e372005-08-30 21:46:19 -070014config SPARC64
15 bool
16 default y
17 help
18 SPARC is a family of RISC microprocessors designed and marketed by
19 Sun Microsystems, incorporated. This port covers the newer 64-bit
20 UltraSPARC. The UltraLinux project maintains both the SPARC32 and
21 SPARC64 ports; its web page is available at
22 <http://www.ultralinux.org/>.
23
David S. Miller112f4872007-03-05 15:28:37 -080024config GENERIC_TIME
25 bool
26 default y
27
Thomas Gleixner82644452007-07-21 04:37:37 -070028config GENERIC_CMOS_UPDATE
29 bool
30 default y
31
David S. Miller112f4872007-03-05 15:28:37 -080032config GENERIC_CLOCKEVENTS
33 bool
34 default y
35
Linus Torvalds1da177e2005-04-16 15:20:36 -070036config 64BIT
37 def_bool y
38
39config MMU
40 bool
41 default y
42
David S. Millerd2841422008-02-08 18:05:46 -080043config IOMMU_HELPER
44 bool
45 default y
46
David Miller3a2cba92007-05-06 14:49:51 -070047config QUICKLIST
48 bool
49 default y
50
David S. Miller10e26722006-11-16 13:38:57 -080051config STACKTRACE_SUPPORT
52 bool
53 default y
54
55config LOCKDEP_SUPPORT
56 bool
57 default y
58
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +010059config ARCH_MAY_HAVE_PC_FDC
60 bool
61 default y
62
David Howellsf0d1b0b2006-12-08 02:37:49 -080063config ARCH_HAS_ILOG2_U32
64 bool
65 default n
66
67config ARCH_HAS_ILOG2_U64
68 bool
69 default n
70
Al Virof6bc0c12006-09-12 02:59:45 -040071config AUDIT_ARCH
72 bool
73 default y
74
travis@sgi.com988c3882008-01-30 23:27:58 +010075config HAVE_SETUP_PER_CPU_AREA
travis@sgi.comb32ef632008-01-30 13:32:51 +010076 def_bool y
77
Stephen Rothwell0785b9d2007-07-18 00:09:30 -070078config ARCH_NO_VIRT_TO_BUS
79 def_bool y
80
Stephen Rothwell97e873e2007-05-01 16:26:07 +100081config OF
82 def_bool y
83
David S. Miller8d57d3a2007-10-22 02:16:45 -070084config GENERIC_HARDIRQS_NO__DO_IRQ
85 bool
86 def_bool y
87
David Howellsb0b933c2008-02-08 04:19:27 -080088config ARCH_SUPPORTS_AOUT
89 def_bool y
90
Linus Torvalds1da177e2005-04-16 15:20:36 -070091choice
92 prompt "Kernel page size"
93 default SPARC64_PAGE_SIZE_8KB
94
95config SPARC64_PAGE_SIZE_8KB
96 bool "8KB"
97 help
98 This lets you select the page size of the kernel.
99
100 8KB and 64KB work quite well, since Sparc ELF sections
101 provide for up to 64KB alignment.
102
103 Therefore, 512KB and 4MB are for expert hackers only.
104
105 If you don't know what to do, choose 8KB.
106
107config SPARC64_PAGE_SIZE_64KB
108 bool "64KB"
109
110config SPARC64_PAGE_SIZE_512KB
111 bool "512KB"
112
113config SPARC64_PAGE_SIZE_4MB
114 bool "4MB"
115
116endchoice
117
David S. Millerbb49bcd2005-07-10 16:49:28 -0700118config SECCOMP
119 bool "Enable seccomp to safely compute untrusted bytecode"
120 depends on PROC_FS
121 default y
122 help
123 This kernel feature is useful for number crunching applications
124 that may need to compute untrusted bytecode during their
125 execution. By using pipes or other transports made available to
126 the process as file descriptors supporting the read/write
127 syscalls, it's possible to isolate those applications in
128 their own address space using seccomp. Once seccomp is
129 enabled via /proc/<pid>/seccomp, it cannot be disabled
130 and the task is only allowed to execute a few safe syscalls
131 defined by each seccomp mode.
132
133 If unsure, say Y. Only embedded should say N here.
134
David S. Millera6524812005-07-08 15:21:51 -0700135source kernel/Kconfig.hz
136
David S. Miller4f0234f2007-07-13 16:03:42 -0700137config HOTPLUG_CPU
138 bool "Support for hot-pluggable CPUs"
139 depends on SMP
140 select HOTPLUG
141 ---help---
142 Say Y here to experiment with turning CPUs off and on. CPUs
143 can be controlled through /sys/devices/system/cpu/cpu#.
144 Say N if you want to disable CPU hotplug.
145
Linus Torvalds1da177e2005-04-16 15:20:36 -0700146source "init/Kconfig"
147
148config SYSVIPC_COMPAT
149 bool
150 depends on COMPAT && SYSVIPC
151 default y
152
David S. Millere18e2a02006-06-20 01:23:32 -0700153config GENERIC_HARDIRQS
154 bool
155 default y
156
Linus Torvalds1da177e2005-04-16 15:20:36 -0700157menu "General machine setup"
158
David S. Miller112f4872007-03-05 15:28:37 -0800159source "kernel/time/Kconfig"
160
Linus Torvalds1da177e2005-04-16 15:20:36 -0700161config SMP
162 bool "Symmetric multi-processing support"
163 ---help---
164 This enables support for systems with more than one CPU. If you have
165 a system with only one CPU, say N. If you have a system with more than
166 one CPU, say Y.
167
168 If you say N here, the kernel will run on single and multiprocessor
169 machines, but will use only one CPU of a multiprocessor machine. If
170 you say Y here, the kernel will run on many, but not all,
171 singleprocessor machines. On a singleprocessor machine, the kernel
172 will run faster if you say N here.
173
174 People using multiprocessor machines who say Y here should also say
175 Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
176 Management" code will be disabled if you say Y here.
177
Adrian Bunk03502fa2008-02-03 15:50:21 +0200178 See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
179 available at <http://www.tldp.org/docs.html#howto>.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700180
181 If you don't know what to do here, say N.
182
Linus Torvalds1da177e2005-04-16 15:20:36 -0700183config NR_CPUS
David S. Miller22adb352007-05-26 01:14:43 -0700184 int "Maximum number of CPUs (2-1024)"
185 range 2 1024
Linus Torvalds1da177e2005-04-16 15:20:36 -0700186 depends on SMP
David S. Miller22adb352007-05-26 01:14:43 -0700187 default "64"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700188
189source "drivers/cpufreq/Kconfig"
190
191config US3_FREQ
192 tristate "UltraSPARC-III CPU Frequency driver"
193 depends on CPU_FREQ
194 select CPU_FREQ_TABLE
195 help
196 This adds the CPUFreq driver for UltraSPARC-III processors.
197
198 For details, take a look at <file:Documentation/cpu-freq>.
199
200 If in doubt, say N.
201
202config US2E_FREQ
203 tristate "UltraSPARC-IIe CPU Frequency driver"
204 depends on CPU_FREQ
205 select CPU_FREQ_TABLE
206 help
207 This adds the CPUFreq driver for UltraSPARC-IIe processors.
208
209 For details, take a look at <file:Documentation/cpu-freq>.
210
211 If in doubt, say N.
212
Linus Torvalds1da177e2005-04-16 15:20:36 -0700213# Global things across all Sun machines.
Nick Piggin95c354f2008-01-30 13:31:20 +0100214config GENERIC_LOCKBREAK
215 bool
216 default y
217 depends on SMP && PREEMPT
218
Linus Torvalds1da177e2005-04-16 15:20:36 -0700219config RWSEM_GENERIC_SPINLOCK
220 bool
221
222config RWSEM_XCHGADD_ALGORITHM
223 bool
224 default y
225
Akinobu Mita2d78d4b2006-03-26 01:39:40 -0800226config GENERIC_FIND_NEXT_BIT
227 bool
228 default y
229
230config GENERIC_HWEIGHT
231 bool
232 default y if !ULTRA_HAS_POPULATION_COUNT
233
Linus Torvalds1da177e2005-04-16 15:20:36 -0700234config GENERIC_CALIBRATE_DELAY
235 bool
236 default y
237
238choice
239 prompt "SPARC64 Huge TLB Page Size"
240 depends on HUGETLB_PAGE
241 default HUGETLB_PAGE_SIZE_4MB
242
243config HUGETLB_PAGE_SIZE_4MB
244 bool "4MB"
245
246config HUGETLB_PAGE_SIZE_512K
David S. Millerdcc1e8d2006-03-22 00:49:59 -0800247 depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700248 bool "512K"
249
250config HUGETLB_PAGE_SIZE_64K
Jean-Luc Légerf2a15852006-04-18 16:19:53 -0700251 depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB && !SPARC64_PAGE_SIZE_64KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700252 bool "64K"
253
254endchoice
255
David S. Miller5843e372005-08-30 21:46:19 -0700256endmenu
257
David S. Miller68491d52006-04-06 20:28:11 -0700258config ARCH_SELECT_MEMORY_MODEL
259 def_bool y
260
David S. Millerd1112012006-03-08 02:16:07 -0800261config ARCH_SPARSEMEM_ENABLE
262 def_bool y
David Miller46644c22007-10-16 01:24:16 -0700263 select SPARSEMEM_VMEMMAP_ENABLE
David S. Millerd1112012006-03-08 02:16:07 -0800264
265config ARCH_SPARSEMEM_DEFAULT
266 def_bool y
267
David S. Miller5843e372005-08-30 21:46:19 -0700268source "mm/Kconfig"
269
Linus Torvalds1da177e2005-04-16 15:20:36 -0700270config ISA
271 bool
272 help
273 Find out whether you have ISA slots on your motherboard. ISA is the
274 name of a bus system, i.e. the way the CPU talks to the other stuff
275 inside your box. Other bus systems are PCI, EISA, MicroChannel
276 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
277 newer boards don't support it. If you have ISA, say Y, otherwise N.
278
279config ISAPNP
280 bool
281 help
282 Say Y here if you would like support for ISA Plug and Play devices.
283 Some information is in <file:Documentation/isapnp.txt>.
284
285 To compile this driver as a module, choose M here: the
286 module will be called isapnp.
287
288 If unsure, say Y.
289
290config EISA
291 bool
292 ---help---
293 The Extended Industry Standard Architecture (EISA) bus was
294 developed as an open alternative to the IBM MicroChannel bus.
295
296 The EISA bus provided some of the features of the IBM MicroChannel
297 bus while maintaining backward compatibility with cards made for
298 the older ISA bus. The EISA bus saw limited use between 1988 and
299 1995 when it was made obsolete by the PCI bus.
300
301 Say Y here if you are building a kernel for an EISA-based machine.
302
303 Otherwise, say N.
304
305config MCA
306 bool
307 help
308 MicroChannel Architecture is found in some IBM PS/2 machines and
309 laptops. It is a bus system similar to PCI or ISA. See
310 <file:Documentation/mca.txt> (and especially the web page given
311 there) before attempting to build an MCA bus kernel.
312
313config PCMCIA
314 tristate
315 ---help---
316 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
317 computer. These are credit-card size devices such as network cards,
318 modems or hard drives often used with laptops computers. There are
319 actually two varieties of these cards: the older 16 bit PCMCIA cards
320 and the newer 32 bit CardBus cards. If you want to use CardBus
321 cards, you need to say Y here and also to "CardBus support" below.
322
323 To use your PC-cards, you will need supporting software from David
324 Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
325 for location). Please also read the PCMCIA-HOWTO, available from
326 <http://www.tldp.org/docs.html#howto>.
327
328 To compile this driver as modules, choose M here: the
329 modules will be called pcmcia_core and ds.
330
331config SBUS
332 bool
333 default y
334
335config SBUSCHAR
336 bool
337 default y
338
339config SUN_AUXIO
340 bool
341 default y
342
343config SUN_IO
344 bool
345 default y
346
David S. Millere53e97c2007-07-09 22:22:44 -0700347config SUN_LDOMS
348 bool "Sun Logical Domains support"
349 help
350 Say Y here is you want to support virtual devices via
351 Logical Domains.
352
Linus Torvalds1da177e2005-04-16 15:20:36 -0700353config PCI
354 bool "PCI support"
Dan Williamsf282b972007-04-18 18:46:20 +1000355 select ARCH_SUPPORTS_MSI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700356 help
357 Find out whether you have a PCI motherboard. PCI is the name of a
358 bus system, i.e. the way the CPU talks to the other stuff inside
359 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
360 VESA. If you have PCI, say Y, otherwise N.
361
Linus Torvalds1da177e2005-04-16 15:20:36 -0700362config PCI_DOMAINS
Matthew Wilcox36e23592007-07-10 10:54:40 -0600363 def_bool PCI
364
365config PCI_SYSCALL
366 def_bool PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700367
Linus Torvalds1da177e2005-04-16 15:20:36 -0700368source "drivers/pci/Kconfig"
369
370config SUN_OPENPROMFS
371 tristate "Openprom tree appears in /proc/openprom"
372 help
373 If you say Y, the OpenPROM device tree will be available as a
374 virtual file system, which you can mount to /proc/openprom by "mount
375 -t openpromfs none /proc/openprom".
376
377 To compile the /proc/openprom support as a module, choose M here: the
378 module will be called openpromfs. If unsure, choose M.
379
380config SPARC32_COMPAT
381 bool "Kernel support for Linux/Sparc 32bit binary compatibility"
382 help
383 This allows you to run 32-bit binaries on your Ultra.
384 Everybody wants this; say Y.
385
386config COMPAT
387 bool
388 depends on SPARC32_COMPAT
389 default y
David S. Miller48c946a2008-02-08 00:08:10 -0800390 select COMPAT_BINFMT_ELF
Linus Torvalds1da177e2005-04-16 15:20:36 -0700391
392config BINFMT_AOUT32
393 bool "Kernel support for 32-bit (ie. SunOS) a.out binaries"
David Howellsb0b933c2008-02-08 04:19:27 -0800394 depends on SPARC32_COMPAT && ARCH_SUPPORTS_AOUT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700395 help
396 This allows you to run 32-bit a.out format binaries on your Ultra.
397 If you want to run SunOS binaries (see SunOS binary emulation below)
398 or other a.out binaries, say Y. If unsure, say N.
399
David S. Miller5843e372005-08-30 21:46:19 -0700400menu "Executable file formats"
401
Linus Torvalds1da177e2005-04-16 15:20:36 -0700402source "fs/Kconfig.binfmt"
403
404config SUNOS_EMUL
405 bool "SunOS binary emulation"
406 depends on BINFMT_AOUT32
407 help
408 This allows you to run most SunOS binaries. If you want to do this,
409 say Y here and place appropriate files in /usr/gnemul/sunos. See
410 <http://www.ultralinux.org/faq.html> for more information. If you
411 want to run SunOS binaries on an Ultra you must also say Y to
412 "Kernel support for 32-bit a.out binaries" above.
413
414config SOLARIS_EMUL
415 tristate "Solaris binary emulation (EXPERIMENTAL)"
David S. Millerd6898552007-10-29 01:19:14 -0700416 depends on SPARC32_COMPAT && NET && EXPERIMENTAL
Linus Torvalds1da177e2005-04-16 15:20:36 -0700417 help
418 This is experimental code which will enable you to run (many)
419 Solaris binaries on your SPARC Linux machine.
420
421 To compile this code as a module, choose M here: the
422 module will be called solaris.
423
David S. Miller5843e372005-08-30 21:46:19 -0700424endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -0700425
David S. Miller8935dce2006-03-08 16:09:19 -0800426config SCHED_SMT
427 bool "SMT (Hyperthreading) scheduler support"
428 depends on SMP
429 default y
430 help
431 SMT scheduler support improves the CPU scheduler's decision making
432 when dealing with UltraSPARC cpus at a cost of slightly increased
433 overhead in some places. If unsure say N here.
434
David S. Millerf78eae22007-06-04 17:01:39 -0700435config SCHED_MC
436 bool "Multi-core scheduler support"
437 depends on SMP
438 default y
439 help
440 Multi-core scheduler support improves the CPU scheduler's decision
441 making when dealing with multi-core CPU chips at a cost of slightly
442 increased overhead in some places. If unsure say N here.
443
David S. Millerdb2f9f62007-03-17 15:23:22 -0700444source "kernel/Kconfig.preempt"
445
Linus Torvalds1da177e2005-04-16 15:20:36 -0700446config CMDLINE_BOOL
447 bool "Default bootloader kernel arguments"
448
449config CMDLINE
450 string "Initial kernel command string"
451 depends on CMDLINE_BOOL
452 default "console=ttyS0,9600 root=/dev/sda1"
453 help
454 Say Y here if you want to be able to pass default arguments to
455 the kernel. This will be overridden by the bootloader, if you
456 use one (such as SILO). This is most useful if you want to boot
457 a kernel from TFTP, and want default options to be available
458 with having them passed on the command line.
459
460 NOTE: This option WILL override the PROM bootargs setting!
461
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700462source "net/Kconfig"
463
David S. Miller5843e372005-08-30 21:46:19 -0700464source "drivers/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700465
466source "drivers/sbus/char/Kconfig"
467
Linus Torvalds1da177e2005-04-16 15:20:36 -0700468source "fs/Kconfig"
469
Linus Torvalds1da177e2005-04-16 15:20:36 -0700470source "arch/sparc64/Kconfig.debug"
471
472source "security/Kconfig"
473
474source "crypto/Kconfig"
475
476source "lib/Kconfig"