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