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