blob: 8acc5cc386212c4cba07ff12b93cd2fabf0a57b6 [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. Millerd9b2b2a2008-02-13 16:56:49 -080019 select HAVE_LMB
David S. Miller5843e372005-08-30 21:46:19 -070020 help
21 SPARC is a family of RISC microprocessors designed and marketed by
22 Sun Microsystems, incorporated. This port covers the newer 64-bit
23 UltraSPARC. The UltraLinux project maintains both the SPARC32 and
24 SPARC64 ports; its web page is available at
25 <http://www.ultralinux.org/>.
26
David S. Miller112f4872007-03-05 15:28:37 -080027config GENERIC_TIME
28 bool
29 default y
30
Thomas Gleixner82644452007-07-21 04:37:37 -070031config GENERIC_CMOS_UPDATE
32 bool
33 default y
34
David S. Miller112f4872007-03-05 15:28:37 -080035config GENERIC_CLOCKEVENTS
36 bool
37 default y
38
Linus Torvalds1da177e2005-04-16 15:20:36 -070039config 64BIT
40 def_bool y
41
42config MMU
43 bool
44 default y
45
David S. Millerd2841422008-02-08 18:05:46 -080046config IOMMU_HELPER
47 bool
48 default y
49
David Miller3a2cba92007-05-06 14:49:51 -070050config QUICKLIST
51 bool
52 default y
53
David S. Miller10e26722006-11-16 13:38:57 -080054config STACKTRACE_SUPPORT
55 bool
56 default y
57
58config LOCKDEP_SUPPORT
59 bool
60 default y
61
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +010062config ARCH_MAY_HAVE_PC_FDC
63 bool
64 default y
65
David Howellsf0d1b0b2006-12-08 02:37:49 -080066config ARCH_HAS_ILOG2_U32
67 bool
68 default n
69
70config ARCH_HAS_ILOG2_U64
71 bool
72 default n
73
Al Virof6bc0c12006-09-12 02:59:45 -040074config AUDIT_ARCH
75 bool
76 default y
77
travis@sgi.com988c3882008-01-30 23:27:58 +010078config HAVE_SETUP_PER_CPU_AREA
travis@sgi.comb32ef632008-01-30 13:32:51 +010079 def_bool y
80
Stephen Rothwell0785b9d2007-07-18 00:09:30 -070081config ARCH_NO_VIRT_TO_BUS
82 def_bool y
83
Stephen Rothwell97e873e2007-05-01 16:26:07 +100084config OF
85 def_bool y
86
David S. Miller8d57d3a2007-10-22 02:16:45 -070087config GENERIC_HARDIRQS_NO__DO_IRQ
88 bool
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
David S. Millere18e2a02006-06-20 01:23:32 -0700148config GENERIC_HARDIRQS
149 bool
150 default y
151
Linus Torvalds1da177e2005-04-16 15:20:36 -0700152menu "General machine setup"
153
David S. Miller112f4872007-03-05 15:28:37 -0800154source "kernel/time/Kconfig"
155
Linus Torvalds1da177e2005-04-16 15:20:36 -0700156config SMP
157 bool "Symmetric multi-processing support"
158 ---help---
159 This enables support for systems with more than one CPU. If you have
160 a system with only one CPU, say N. If you have a system with more than
161 one CPU, say Y.
162
163 If you say N here, the kernel will run on single and multiprocessor
164 machines, but will use only one CPU of a multiprocessor machine. If
165 you say Y here, the kernel will run on many, but not all,
166 singleprocessor machines. On a singleprocessor machine, the kernel
167 will run faster if you say N here.
168
169 People using multiprocessor machines who say Y here should also say
170 Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
171 Management" code will be disabled if you say Y here.
172
Adrian Bunk03502fa2008-02-03 15:50:21 +0200173 See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
174 available at <http://www.tldp.org/docs.html#howto>.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700175
176 If you don't know what to do here, say N.
177
Linus Torvalds1da177e2005-04-16 15:20:36 -0700178config NR_CPUS
David S. Miller22adb352007-05-26 01:14:43 -0700179 int "Maximum number of CPUs (2-1024)"
180 range 2 1024
Linus Torvalds1da177e2005-04-16 15:20:36 -0700181 depends on SMP
David S. Miller22adb352007-05-26 01:14:43 -0700182 default "64"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700183
184source "drivers/cpufreq/Kconfig"
185
186config US3_FREQ
187 tristate "UltraSPARC-III CPU Frequency driver"
188 depends on CPU_FREQ
189 select CPU_FREQ_TABLE
190 help
191 This adds the CPUFreq driver for UltraSPARC-III processors.
192
193 For details, take a look at <file:Documentation/cpu-freq>.
194
195 If in doubt, say N.
196
197config US2E_FREQ
198 tristate "UltraSPARC-IIe CPU Frequency driver"
199 depends on CPU_FREQ
200 select CPU_FREQ_TABLE
201 help
202 This adds the CPUFreq driver for UltraSPARC-IIe processors.
203
204 For details, take a look at <file:Documentation/cpu-freq>.
205
206 If in doubt, say N.
207
Linus Torvalds1da177e2005-04-16 15:20:36 -0700208# Global things across all Sun machines.
Nick Piggin95c354f2008-01-30 13:31:20 +0100209config GENERIC_LOCKBREAK
210 bool
211 default y
212 depends on SMP && PREEMPT
213
Linus Torvalds1da177e2005-04-16 15:20:36 -0700214config RWSEM_GENERIC_SPINLOCK
215 bool
216
217config RWSEM_XCHGADD_ALGORITHM
218 bool
219 default y
220
Akinobu Mita2d78d4b2006-03-26 01:39:40 -0800221config GENERIC_FIND_NEXT_BIT
222 bool
223 default y
224
225config GENERIC_HWEIGHT
226 bool
227 default y if !ULTRA_HAS_POPULATION_COUNT
228
Linus Torvalds1da177e2005-04-16 15:20:36 -0700229config GENERIC_CALIBRATE_DELAY
230 bool
231 default y
232
233choice
234 prompt "SPARC64 Huge TLB Page Size"
235 depends on HUGETLB_PAGE
236 default HUGETLB_PAGE_SIZE_4MB
237
238config HUGETLB_PAGE_SIZE_4MB
239 bool "4MB"
240
241config HUGETLB_PAGE_SIZE_512K
David S. Millerdcc1e8d2006-03-22 00:49:59 -0800242 depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700243 bool "512K"
244
245config HUGETLB_PAGE_SIZE_64K
Jean-Luc Légerf2a15852006-04-18 16:19:53 -0700246 depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB && !SPARC64_PAGE_SIZE_64KB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700247 bool "64K"
248
249endchoice
250
David S. Miller5843e372005-08-30 21:46:19 -0700251endmenu
252
David S. Miller919ee672008-04-23 05:40:25 -0700253config NUMA
254 bool "NUMA support"
255
256config NODES_SHIFT
257 int
258 default "4"
259 depends on NEED_MULTIPLE_NODES
260
261# Some NUMA nodes have memory ranges that span
262# other nodes. Even though a pfn is valid and
263# between a node's start and end pfns, it may not
264# reside on that node. See memmap_init_zone()
265# for details.
266config NODES_SPAN_OTHER_NODES
267 def_bool y
268 depends on NEED_MULTIPLE_NODES
269
270config ARCH_POPULATES_NODE_MAP
271 def_bool y
272
David S. Miller68491d52006-04-06 20:28:11 -0700273config ARCH_SELECT_MEMORY_MODEL
274 def_bool y
275
David S. Millerd1112012006-03-08 02:16:07 -0800276config ARCH_SPARSEMEM_ENABLE
277 def_bool y
David Miller46644c22007-10-16 01:24:16 -0700278 select SPARSEMEM_VMEMMAP_ENABLE
David S. Millerd1112012006-03-08 02:16:07 -0800279
280config ARCH_SPARSEMEM_DEFAULT
281 def_bool y
282
David S. Miller5843e372005-08-30 21:46:19 -0700283source "mm/Kconfig"
284
Linus Torvalds1da177e2005-04-16 15:20:36 -0700285config ISA
286 bool
287 help
288 Find out whether you have ISA slots on your motherboard. ISA is the
289 name of a bus system, i.e. the way the CPU talks to the other stuff
290 inside your box. Other bus systems are PCI, EISA, MicroChannel
291 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
292 newer boards don't support it. If you have ISA, say Y, otherwise N.
293
294config ISAPNP
295 bool
296 help
297 Say Y here if you would like support for ISA Plug and Play devices.
298 Some information is in <file:Documentation/isapnp.txt>.
299
300 To compile this driver as a module, choose M here: the
301 module will be called isapnp.
302
303 If unsure, say Y.
304
305config EISA
306 bool
307 ---help---
308 The Extended Industry Standard Architecture (EISA) bus was
309 developed as an open alternative to the IBM MicroChannel bus.
310
311 The EISA bus provided some of the features of the IBM MicroChannel
312 bus while maintaining backward compatibility with cards made for
313 the older ISA bus. The EISA bus saw limited use between 1988 and
314 1995 when it was made obsolete by the PCI bus.
315
316 Say Y here if you are building a kernel for an EISA-based machine.
317
318 Otherwise, say N.
319
320config MCA
321 bool
322 help
323 MicroChannel Architecture is found in some IBM PS/2 machines and
324 laptops. It is a bus system similar to PCI or ISA. See
325 <file:Documentation/mca.txt> (and especially the web page given
326 there) before attempting to build an MCA bus kernel.
327
328config PCMCIA
329 tristate
330 ---help---
331 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
332 computer. These are credit-card size devices such as network cards,
333 modems or hard drives often used with laptops computers. There are
334 actually two varieties of these cards: the older 16 bit PCMCIA cards
335 and the newer 32 bit CardBus cards. If you want to use CardBus
336 cards, you need to say Y here and also to "CardBus support" below.
337
338 To use your PC-cards, you will need supporting software from David
339 Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
340 for location). Please also read the PCMCIA-HOWTO, available from
341 <http://www.tldp.org/docs.html#howto>.
342
343 To compile this driver as modules, choose M here: the
344 modules will be called pcmcia_core and ds.
345
346config SBUS
347 bool
348 default y
349
350config SBUSCHAR
351 bool
352 default y
353
354config SUN_AUXIO
355 bool
356 default y
357
358config SUN_IO
359 bool
360 default y
361
David S. Millere53e97c2007-07-09 22:22:44 -0700362config SUN_LDOMS
363 bool "Sun Logical Domains support"
364 help
365 Say Y here is you want to support virtual devices via
366 Logical Domains.
367
Linus Torvalds1da177e2005-04-16 15:20:36 -0700368config PCI
369 bool "PCI support"
Dan Williamsf282b972007-04-18 18:46:20 +1000370 select ARCH_SUPPORTS_MSI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700371 help
372 Find out whether you have a PCI motherboard. PCI is the name of a
373 bus system, i.e. the way the CPU talks to the other stuff inside
374 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
375 VESA. If you have PCI, say Y, otherwise N.
376
Linus Torvalds1da177e2005-04-16 15:20:36 -0700377config PCI_DOMAINS
Matthew Wilcox36e23592007-07-10 10:54:40 -0600378 def_bool PCI
379
380config PCI_SYSCALL
381 def_bool PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700382
Linus Torvalds1da177e2005-04-16 15:20:36 -0700383source "drivers/pci/Kconfig"
384
385config SUN_OPENPROMFS
386 tristate "Openprom tree appears in /proc/openprom"
387 help
388 If you say Y, the OpenPROM device tree will be available as a
389 virtual file system, which you can mount to /proc/openprom by "mount
390 -t openpromfs none /proc/openprom".
391
392 To compile the /proc/openprom support as a module, choose M here: the
393 module will be called openpromfs. If unsure, choose M.
394
David S. Millerec98c6b2008-04-20 02:14:23 -0700395menu "Executable file formats"
396
397source "fs/Kconfig.binfmt"
398
Linus Torvalds1da177e2005-04-16 15:20:36 -0700399config SPARC32_COMPAT
400 bool "Kernel support for Linux/Sparc 32bit binary compatibility"
401 help
402 This allows you to run 32-bit binaries on your Ultra.
403 Everybody wants this; say Y.
404
405config COMPAT
406 bool
407 depends on SPARC32_COMPAT
408 default y
David S. Miller48c946a2008-02-08 00:08:10 -0800409 select COMPAT_BINFMT_ELF
Linus Torvalds1da177e2005-04-16 15:20:36 -0700410
David S. Millerec98c6b2008-04-20 02:14:23 -0700411config SYSVIPC_COMPAT
412 bool
413 depends on COMPAT && SYSVIPC
414 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700415
David S. Miller5843e372005-08-30 21:46:19 -0700416endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -0700417
David S. Miller8935dce2006-03-08 16:09:19 -0800418config SCHED_SMT
419 bool "SMT (Hyperthreading) scheduler support"
420 depends on SMP
421 default y
422 help
423 SMT scheduler support improves the CPU scheduler's decision making
424 when dealing with UltraSPARC cpus at a cost of slightly increased
425 overhead in some places. If unsure say N here.
426
David S. Millerf78eae22007-06-04 17:01:39 -0700427config SCHED_MC
428 bool "Multi-core scheduler support"
429 depends on SMP
430 default y
431 help
432 Multi-core scheduler support improves the CPU scheduler's decision
433 making when dealing with multi-core CPU chips at a cost of slightly
434 increased overhead in some places. If unsure say N here.
435
David S. Millerdb2f9f62007-03-17 15:23:22 -0700436source "kernel/Kconfig.preempt"
437
Linus Torvalds1da177e2005-04-16 15:20:36 -0700438config CMDLINE_BOOL
439 bool "Default bootloader kernel arguments"
440
441config CMDLINE
442 string "Initial kernel command string"
443 depends on CMDLINE_BOOL
444 default "console=ttyS0,9600 root=/dev/sda1"
445 help
446 Say Y here if you want to be able to pass default arguments to
447 the kernel. This will be overridden by the bootloader, if you
448 use one (such as SILO). This is most useful if you want to boot
449 a kernel from TFTP, and want default options to be available
450 with having them passed on the command line.
451
452 NOTE: This option WILL override the PROM bootargs setting!
453
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700454source "net/Kconfig"
455
David S. Miller5843e372005-08-30 21:46:19 -0700456source "drivers/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700457
458source "drivers/sbus/char/Kconfig"
459
Linus Torvalds1da177e2005-04-16 15:20:36 -0700460source "fs/Kconfig"
461
Linus Torvalds1da177e2005-04-16 15:20:36 -0700462source "arch/sparc64/Kconfig.debug"
463
464source "security/Kconfig"
465
466source "crypto/Kconfig"
467
468source "lib/Kconfig"