]> Pileus Git - ~andy/linux/blob - arch/sparc64/Kconfig
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jk/spufs
[~andy/linux] / arch / sparc64 / Kconfig
1 # $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
6 mainmenu "Linux/UltraSPARC Kernel Configuration"
7
8 config SPARC
9         bool
10         default y
11         select HAVE_OPROFILE
12         select HAVE_KPROBES
13         select HAVE_KRETPROBES
14
15 config SPARC64
16         bool
17         default y
18         select HAVE_IDE
19         select HAVE_LMB
20         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
27 config GENERIC_TIME
28         bool
29         default y
30
31 config GENERIC_CMOS_UPDATE
32         bool
33         default y
34
35 config GENERIC_CLOCKEVENTS
36         bool
37         default y
38
39 config 64BIT
40         def_bool y
41
42 config MMU
43         bool
44         default y
45
46 config IOMMU_HELPER
47         bool
48         default y
49
50 config QUICKLIST
51         bool
52         default y
53
54 config STACKTRACE_SUPPORT
55         bool
56         default y
57
58 config LOCKDEP_SUPPORT
59         bool
60         default y
61
62 config ARCH_MAY_HAVE_PC_FDC
63         bool
64         default y
65
66 config ARCH_HAS_ILOG2_U32
67         bool
68         default n
69
70 config ARCH_HAS_ILOG2_U64
71         bool
72         default n
73
74 config AUDIT_ARCH
75         bool
76         default y
77
78 config HAVE_SETUP_PER_CPU_AREA
79         def_bool y
80
81 config ARCH_NO_VIRT_TO_BUS
82         def_bool y
83
84 config OF
85         def_bool y
86
87 config GENERIC_HARDIRQS_NO__DO_IRQ
88         bool
89         def_bool y
90
91 config ARCH_SUPPORTS_AOUT
92         def_bool y
93
94 choice
95         prompt "Kernel page size"
96         default SPARC64_PAGE_SIZE_8KB
97
98 config SPARC64_PAGE_SIZE_8KB
99         bool "8KB"
100         help
101           This lets you select the page size of the kernel.
102
103           8KB and 64KB work quite well, since Sparc ELF sections
104           provide for up to 64KB alignment.
105
106           Therefore, 512KB and 4MB are for expert hackers only.
107
108           If you don't know what to do, choose 8KB.
109
110 config SPARC64_PAGE_SIZE_64KB
111         bool "64KB"
112
113 config SPARC64_PAGE_SIZE_512KB
114         bool "512KB"
115
116 config SPARC64_PAGE_SIZE_4MB
117         bool "4MB"
118
119 endchoice
120
121 config SECCOMP
122         bool "Enable seccomp to safely compute untrusted bytecode"
123         depends on PROC_FS
124         default y
125         help
126           This kernel feature is useful for number crunching applications
127           that may need to compute untrusted bytecode during their
128           execution. By using pipes or other transports made available to
129           the process as file descriptors supporting the read/write
130           syscalls, it's possible to isolate those applications in
131           their own address space using seccomp. Once seccomp is
132           enabled via /proc/<pid>/seccomp, it cannot be disabled
133           and the task is only allowed to execute a few safe syscalls
134           defined by each seccomp mode.
135
136           If unsure, say Y. Only embedded should say N here.
137
138 source kernel/Kconfig.hz
139
140 config HOTPLUG_CPU
141         bool "Support for hot-pluggable CPUs"
142         depends on SMP
143         select HOTPLUG
144         ---help---
145           Say Y here to experiment with turning CPUs off and on.  CPUs
146           can be controlled through /sys/devices/system/cpu/cpu#.
147           Say N if you want to disable CPU hotplug.
148
149 source "init/Kconfig"
150
151 config SYSVIPC_COMPAT
152         bool
153         depends on COMPAT && SYSVIPC
154         default y
155
156 config GENERIC_HARDIRQS
157         bool
158         default y
159
160 menu "General machine setup"
161
162 source "kernel/time/Kconfig"
163
164 config SMP
165         bool "Symmetric multi-processing support"
166         ---help---
167           This enables support for systems with more than one CPU. If you have
168           a system with only one CPU, say N. If you have a system with more than
169           one CPU, say Y.
170
171           If you say N here, the kernel will run on single and multiprocessor
172           machines, but will use only one CPU of a multiprocessor machine. If
173           you say Y here, the kernel will run on many, but not all,
174           singleprocessor machines. On a singleprocessor machine, the kernel
175           will run faster if you say N here.
176
177           People using multiprocessor machines who say Y here should also say
178           Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
179           Management" code will be disabled if you say Y here.
180
181           See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
182           available at <http://www.tldp.org/docs.html#howto>.
183
184           If you don't know what to do here, say N.
185
186 config NR_CPUS
187         int "Maximum number of CPUs (2-1024)"
188         range 2 1024
189         depends on SMP
190         default "64"
191
192 source "drivers/cpufreq/Kconfig"
193
194 config US3_FREQ
195         tristate "UltraSPARC-III CPU Frequency driver"
196         depends on CPU_FREQ
197         select CPU_FREQ_TABLE
198         help
199           This adds the CPUFreq driver for UltraSPARC-III processors.
200
201           For details, take a look at <file:Documentation/cpu-freq>.
202
203           If in doubt, say N.
204
205 config US2E_FREQ
206         tristate "UltraSPARC-IIe CPU Frequency driver"
207         depends on CPU_FREQ
208         select CPU_FREQ_TABLE
209         help
210           This adds the CPUFreq driver for UltraSPARC-IIe processors.
211
212           For details, take a look at <file:Documentation/cpu-freq>.
213
214           If in doubt, say N.
215
216 # Global things across all Sun machines.
217 config GENERIC_LOCKBREAK
218         bool
219         default y
220         depends on SMP && PREEMPT
221
222 config RWSEM_GENERIC_SPINLOCK
223         bool
224
225 config RWSEM_XCHGADD_ALGORITHM
226         bool
227         default y
228
229 config GENERIC_FIND_NEXT_BIT
230         bool
231         default y
232
233 config GENERIC_HWEIGHT
234         bool
235         default y if !ULTRA_HAS_POPULATION_COUNT
236
237 config GENERIC_CALIBRATE_DELAY
238         bool
239         default y
240
241 choice
242         prompt "SPARC64 Huge TLB Page Size"
243         depends on HUGETLB_PAGE
244         default HUGETLB_PAGE_SIZE_4MB
245
246 config HUGETLB_PAGE_SIZE_4MB
247         bool "4MB"
248
249 config HUGETLB_PAGE_SIZE_512K
250         depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB
251         bool "512K"
252
253 config HUGETLB_PAGE_SIZE_64K
254         depends on !SPARC64_PAGE_SIZE_4MB && !SPARC64_PAGE_SIZE_512KB && !SPARC64_PAGE_SIZE_64KB
255         bool "64K"
256
257 endchoice
258
259 endmenu
260
261 config ARCH_SELECT_MEMORY_MODEL
262         def_bool y
263
264 config ARCH_SPARSEMEM_ENABLE
265         def_bool y
266         select SPARSEMEM_VMEMMAP_ENABLE
267
268 config ARCH_SPARSEMEM_DEFAULT
269         def_bool y
270
271 source "mm/Kconfig"
272
273 config ISA
274         bool
275         help
276           Find out whether you have ISA slots on your motherboard.  ISA is the
277           name of a bus system, i.e. the way the CPU talks to the other stuff
278           inside your box.  Other bus systems are PCI, EISA, MicroChannel
279           (MCA) or VESA.  ISA is an older system, now being displaced by PCI;
280           newer boards don't support it.  If you have ISA, say Y, otherwise N.
281
282 config ISAPNP
283         bool
284         help
285           Say Y here if you would like support for ISA Plug and Play devices.
286           Some information is in <file:Documentation/isapnp.txt>.
287
288           To compile this driver as a module, choose M here: the
289           module will be called isapnp.
290
291           If unsure, say Y.
292
293 config EISA
294         bool
295         ---help---
296           The Extended Industry Standard Architecture (EISA) bus was
297           developed as an open alternative to the IBM MicroChannel bus.
298
299           The EISA bus provided some of the features of the IBM MicroChannel
300           bus while maintaining backward compatibility with cards made for
301           the older ISA bus.  The EISA bus saw limited use between 1988 and
302           1995 when it was made obsolete by the PCI bus.
303
304           Say Y here if you are building a kernel for an EISA-based machine.
305
306           Otherwise, say N.
307
308 config MCA
309         bool
310         help
311           MicroChannel Architecture is found in some IBM PS/2 machines and
312           laptops.  It is a bus system similar to PCI or ISA. See
313           <file:Documentation/mca.txt> (and especially the web page given
314           there) before attempting to build an MCA bus kernel.
315
316 config PCMCIA
317         tristate
318         ---help---
319           Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
320           computer.  These are credit-card size devices such as network cards,
321           modems or hard drives often used with laptops computers.  There are
322           actually two varieties of these cards: the older 16 bit PCMCIA cards
323           and the newer 32 bit CardBus cards.  If you want to use CardBus
324           cards, you need to say Y here and also to "CardBus support" below.
325
326           To use your PC-cards, you will need supporting software from David
327           Hinds' pcmcia-cs package (see the file <file:Documentation/Changes>
328           for location).  Please also read the PCMCIA-HOWTO, available from
329           <http://www.tldp.org/docs.html#howto>.
330
331           To compile this driver as modules, choose M here: the
332           modules will be called pcmcia_core and ds.
333
334 config SBUS
335         bool
336         default y
337
338 config SBUSCHAR
339         bool
340         default y
341
342 config SUN_AUXIO
343         bool
344         default y
345
346 config SUN_IO
347         bool
348         default y
349
350 config SUN_LDOMS
351         bool "Sun Logical Domains support"
352         help
353           Say Y here is you want to support virtual devices via
354           Logical Domains.
355
356 config PCI
357         bool "PCI support"
358         select ARCH_SUPPORTS_MSI
359         help
360           Find out whether you have a PCI motherboard. PCI is the name of a
361           bus system, i.e. the way the CPU talks to the other stuff inside
362           your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
363           VESA. If you have PCI, say Y, otherwise N.
364
365 config PCI_DOMAINS
366         def_bool PCI
367
368 config PCI_SYSCALL
369         def_bool PCI
370
371 source "drivers/pci/Kconfig"
372
373 config SUN_OPENPROMFS
374         tristate "Openprom tree appears in /proc/openprom"
375         help
376           If you say Y, the OpenPROM device tree will be available as a
377           virtual file system, which you can mount to /proc/openprom by "mount
378           -t openpromfs none /proc/openprom".
379
380           To compile the /proc/openprom support as a module, choose M here: the
381           module will be called openpromfs.  If unsure, choose M.
382
383 config SPARC32_COMPAT
384         bool "Kernel support for Linux/Sparc 32bit binary compatibility"
385         help
386           This allows you to run 32-bit binaries on your Ultra.
387           Everybody wants this; say Y.
388
389 config COMPAT
390         bool
391         depends on SPARC32_COMPAT
392         default y
393         select COMPAT_BINFMT_ELF
394
395 config BINFMT_AOUT32
396         bool "Kernel support for 32-bit (ie. SunOS) a.out binaries"
397         depends on SPARC32_COMPAT && ARCH_SUPPORTS_AOUT
398         help
399           This allows you to run 32-bit a.out format binaries on your Ultra.
400           If you want to run SunOS binaries (see SunOS binary emulation below)
401           or other a.out binaries, say Y. If unsure, say N.
402
403 menu "Executable file formats"
404
405 source "fs/Kconfig.binfmt"
406
407 config SUNOS_EMUL
408         bool "SunOS binary emulation"
409         depends on BINFMT_AOUT32
410         help
411           This allows you to run most SunOS binaries.  If you want to do this,
412           say Y here and place appropriate files in /usr/gnemul/sunos. See
413           <http://www.ultralinux.org/faq.html> for more information.  If you
414           want to run SunOS binaries on an Ultra you must also say Y to
415           "Kernel support for 32-bit a.out binaries" above.
416
417 config SOLARIS_EMUL
418         tristate "Solaris binary emulation (EXPERIMENTAL)"
419         depends on SPARC32_COMPAT && NET && EXPERIMENTAL
420         help
421           This is experimental code which will enable you to run (many)
422           Solaris binaries on your SPARC Linux machine.
423
424           To compile this code as a module, choose M here: the
425           module will be called solaris.
426
427 endmenu
428
429 config SCHED_SMT
430         bool "SMT (Hyperthreading) scheduler support"
431         depends on SMP
432         default y
433         help
434           SMT scheduler support improves the CPU scheduler's decision making
435           when dealing with UltraSPARC cpus at a cost of slightly increased
436           overhead in some places. If unsure say N here.
437
438 config SCHED_MC
439         bool "Multi-core scheduler support"
440         depends on SMP
441         default y
442         help
443           Multi-core scheduler support improves the CPU scheduler's decision
444           making when dealing with multi-core CPU chips at a cost of slightly
445           increased overhead in some places. If unsure say N here.
446
447 source "kernel/Kconfig.preempt"
448
449 config CMDLINE_BOOL
450         bool "Default bootloader kernel arguments"
451
452 config CMDLINE
453         string "Initial kernel command string"
454         depends on CMDLINE_BOOL
455         default "console=ttyS0,9600 root=/dev/sda1"
456         help
457           Say Y here if you want to be able to pass default arguments to
458           the kernel. This will be overridden by the bootloader, if you
459           use one (such as SILO). This is most useful if you want to boot
460           a kernel from TFTP, and want default options to be available
461           with having them passed on the command line.
462
463           NOTE: This option WILL override the PROM bootargs setting!
464
465 source "net/Kconfig"
466
467 source "drivers/Kconfig"
468
469 source "drivers/sbus/char/Kconfig"
470
471 source "fs/Kconfig"
472
473 source "arch/sparc64/Kconfig.debug"
474
475 source "security/Kconfig"
476
477 source "crypto/Kconfig"
478
479 source "lib/Kconfig"