blob: df3eacb5ca15dcaf1f716148d1dcdcc1e7c33195 [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. Miller68491d52006-04-06 20:28:11 -0700253config ARCH_SELECT_MEMORY_MODEL
254 def_bool y
255
David S. Millerd1112012006-03-08 02:16:07 -0800256config ARCH_SPARSEMEM_ENABLE
257 def_bool y
David Miller46644c22007-10-16 01:24:16 -0700258 select SPARSEMEM_VMEMMAP_ENABLE
David S. Millerd1112012006-03-08 02:16:07 -0800259
260config ARCH_SPARSEMEM_DEFAULT
261 def_bool y
262
David S. Miller5843e372005-08-30 21:46:19 -0700263source "mm/Kconfig"
264
Linus Torvalds1da177e2005-04-16 15:20:36 -0700265config ISA
266 bool
267 help
268 Find out whether you have ISA slots on your motherboard. ISA is the
269 name of a bus system, i.e. the way the CPU talks to the other stuff
270 inside your box. Other bus systems are PCI, EISA, MicroChannel
271 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
272 newer boards don't support it. If you have ISA, say Y, otherwise N.
273
274config ISAPNP
275 bool
276 help
277 Say Y here if you would like support for ISA Plug and Play devices.
278 Some information is in <file:Documentation/isapnp.txt>.
279
280 To compile this driver as a module, choose M here: the
281 module will be called isapnp.
282
283 If unsure, say Y.
284
285config EISA
286 bool
287 ---help---
288 The Extended Industry Standard Architecture (EISA) bus was
289 developed as an open alternative to the IBM MicroChannel bus.
290
291 The EISA bus provided some of the features of the IBM MicroChannel
292 bus while maintaining backward compatibility with cards made for
293 the older ISA bus. The EISA bus saw limited use between 1988 and
294 1995 when it was made obsolete by the PCI bus.
295
296 Say Y here if you are building a kernel for an EISA-based machine.
297
298 Otherwise, say N.
299
300config MCA
301 bool
302 help
303 MicroChannel Architecture is found in some IBM PS/2 machines and
304 laptops. It is a bus system similar to PCI or ISA. See
305 <file:Documentation/mca.txt> (and especially the web page given
306 there) before attempting to build an MCA bus kernel.
307
308config PCMCIA
309 tristate
310 ---help---
311 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
312 computer. These are credit-card size devices such as network cards,
313 modems or hard drives often used with laptops computers. There are
314 actually two varieties of these cards: the older 16 bit PCMCIA cards
315 and the newer 32 bit CardBus cards. If you want to use CardBus
316 cards, you need to say Y here and also to "CardBus support" below.
317
318 To use your PC-cards, you will need supporting software from David
319 Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
320 for location). Please also read the PCMCIA-HOWTO, available from
321 <http://www.tldp.org/docs.html#howto>.
322
323 To compile this driver as modules, choose M here: the
324 modules will be called pcmcia_core and ds.
325
326config SBUS
327 bool
328 default y
329
330config SBUSCHAR
331 bool
332 default y
333
334config SUN_AUXIO
335 bool
336 default y
337
338config SUN_IO
339 bool
340 default y
341
David S. Millere53e97c2007-07-09 22:22:44 -0700342config SUN_LDOMS
343 bool "Sun Logical Domains support"
344 help
345 Say Y here is you want to support virtual devices via
346 Logical Domains.
347
Linus Torvalds1da177e2005-04-16 15:20:36 -0700348config PCI
349 bool "PCI support"
Dan Williamsf282b972007-04-18 18:46:20 +1000350 select ARCH_SUPPORTS_MSI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700351 help
352 Find out whether you have a PCI motherboard. PCI is the name of a
353 bus system, i.e. the way the CPU talks to the other stuff inside
354 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
355 VESA. If you have PCI, say Y, otherwise N.
356
Linus Torvalds1da177e2005-04-16 15:20:36 -0700357config PCI_DOMAINS
Matthew Wilcox36e23592007-07-10 10:54:40 -0600358 def_bool PCI
359
360config PCI_SYSCALL
361 def_bool PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700362
Linus Torvalds1da177e2005-04-16 15:20:36 -0700363source "drivers/pci/Kconfig"
364
365config SUN_OPENPROMFS
366 tristate "Openprom tree appears in /proc/openprom"
367 help
368 If you say Y, the OpenPROM device tree will be available as a
369 virtual file system, which you can mount to /proc/openprom by "mount
370 -t openpromfs none /proc/openprom".
371
372 To compile the /proc/openprom support as a module, choose M here: the
373 module will be called openpromfs. If unsure, choose M.
374
David S. Millerec98c6b2008-04-20 02:14:23 -0700375menu "Executable file formats"
376
377source "fs/Kconfig.binfmt"
378
Linus Torvalds1da177e2005-04-16 15:20:36 -0700379config SPARC32_COMPAT
380 bool "Kernel support for Linux/Sparc 32bit binary compatibility"
381 help
382 This allows you to run 32-bit binaries on your Ultra.
383 Everybody wants this; say Y.
384
385config COMPAT
386 bool
387 depends on SPARC32_COMPAT
388 default y
David S. Miller48c946a2008-02-08 00:08:10 -0800389 select COMPAT_BINFMT_ELF
Linus Torvalds1da177e2005-04-16 15:20:36 -0700390
David S. Millerec98c6b2008-04-20 02:14:23 -0700391config SYSVIPC_COMPAT
392 bool
393 depends on COMPAT && SYSVIPC
394 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700395
David S. Miller5843e372005-08-30 21:46:19 -0700396endmenu
Linus Torvalds1da177e2005-04-16 15:20:36 -0700397
David S. Miller8935dce2006-03-08 16:09:19 -0800398config SCHED_SMT
399 bool "SMT (Hyperthreading) scheduler support"
400 depends on SMP
401 default y
402 help
403 SMT scheduler support improves the CPU scheduler's decision making
404 when dealing with UltraSPARC cpus at a cost of slightly increased
405 overhead in some places. If unsure say N here.
406
David S. Millerf78eae22007-06-04 17:01:39 -0700407config SCHED_MC
408 bool "Multi-core scheduler support"
409 depends on SMP
410 default y
411 help
412 Multi-core scheduler support improves the CPU scheduler's decision
413 making when dealing with multi-core CPU chips at a cost of slightly
414 increased overhead in some places. If unsure say N here.
415
David S. Millerdb2f9f62007-03-17 15:23:22 -0700416source "kernel/Kconfig.preempt"
417
Linus Torvalds1da177e2005-04-16 15:20:36 -0700418config CMDLINE_BOOL
419 bool "Default bootloader kernel arguments"
420
421config CMDLINE
422 string "Initial kernel command string"
423 depends on CMDLINE_BOOL
424 default "console=ttyS0,9600 root=/dev/sda1"
425 help
426 Say Y here if you want to be able to pass default arguments to
427 the kernel. This will be overridden by the bootloader, if you
428 use one (such as SILO). This is most useful if you want to boot
429 a kernel from TFTP, and want default options to be available
430 with having them passed on the command line.
431
432 NOTE: This option WILL override the PROM bootargs setting!
433
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700434source "net/Kconfig"
435
David S. Miller5843e372005-08-30 21:46:19 -0700436source "drivers/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700437
438source "drivers/sbus/char/Kconfig"
439
Linus Torvalds1da177e2005-04-16 15:20:36 -0700440source "fs/Kconfig"
441
Linus Torvalds1da177e2005-04-16 15:20:36 -0700442source "arch/sparc64/Kconfig.debug"
443
444source "security/Kconfig"
445
446source "crypto/Kconfig"
447
448source "lib/Kconfig"