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