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