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