[PATCH] correct printing to operator panel
[powerpc.git] / arch / ppc64 / Kconfig
1 #
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
4 #
5
6 config 64BIT
7         def_bool y
8
9 config MMU
10         bool
11         default y
12
13 config UID16
14         bool
15
16 config RWSEM_GENERIC_SPINLOCK
17         bool
18
19 config RWSEM_XCHGADD_ALGORITHM
20         bool
21         default y
22
23 config GENERIC_CALIBRATE_DELAY
24         bool
25         default y
26
27 config GENERIC_ISA_DMA
28         bool
29         default y
30
31 config HAVE_DEC_LOCK
32         bool
33         default y
34
35 config EARLY_PRINTK
36         bool
37         default y
38
39 config COMPAT
40         bool
41         default y
42
43 config SCHED_NO_NO_OMIT_FRAME_POINTER
44         bool
45         default y
46
47 # We optimistically allocate largepages from the VM, so make the limit
48 # large enough (16MB). This badly named config option is actually
49 # max order + 1
50 config FORCE_MAX_ZONEORDER
51         int
52         default "13"
53
54 source "init/Kconfig"
55
56 config SYSVIPC_COMPAT
57         bool
58         depends on COMPAT && SYSVIPC
59         default y
60
61 menu "Platform support"
62
63 choice
64         prompt "Platform Type"
65         default PPC_MULTIPLATFORM
66
67 config PPC_ISERIES
68         bool "IBM Legacy iSeries"
69
70 config PPC_MULTIPLATFORM
71         bool "Generic"
72
73 endchoice
74
75 config PPC_PSERIES
76         depends on PPC_MULTIPLATFORM
77         bool "  IBM pSeries & new iSeries"
78         default y
79
80 config PPC_BPA
81         bool "  Broadband Processor Architecture"
82         depends on PPC_MULTIPLATFORM
83
84 config PPC_PMAC
85         depends on PPC_MULTIPLATFORM
86         bool "  Apple G5 based machines"
87         default y
88         select U3_DART
89
90 config PPC_MAPLE
91         depends on PPC_MULTIPLATFORM
92         bool "  Maple 970FX Evaluation Board"
93         select U3_DART
94         select MPIC_BROKEN_U3
95         default n
96         help
97           This option enables support for the Maple 970FX Evaluation Board.
98           For more informations, refer to <http://www.970eval.com>
99
100 config PPC
101         bool
102         default y
103
104 config PPC64
105         bool
106         default y
107
108 config PPC_OF
109         depends on PPC_MULTIPLATFORM
110         bool
111         default y
112
113 config XICS
114         depends on PPC_PSERIES
115         bool
116         default y
117
118 config MPIC
119         depends on PPC_PSERIES || PPC_PMAC || PPC_MAPLE
120         bool
121         default y
122
123 config BPA_IIC
124         depends on PPC_BPA
125         bool
126         default y
127
128 # VMX is pSeries only for now until somebody writes the iSeries
129 # exception vectors for it
130 config ALTIVEC
131         bool "Support for VMX (Altivec) vector unit"
132         depends on PPC_MULTIPLATFORM
133         default y
134
135 config PPC_SPLPAR
136         depends on PPC_PSERIES
137         bool "Support for shared-processor logical partitions"
138         default n
139         help
140           Enabling this option will make the kernel run more efficiently
141           on logically-partitioned pSeries systems which use shared
142           processors, that is, which share physical processors between
143           two or more partitions.
144
145 config IBMVIO
146         depends on PPC_PSERIES || PPC_ISERIES
147         bool
148         default y
149
150 config U3_DART
151         bool 
152         depends on PPC_MULTIPLATFORM
153         default n
154
155 config MPIC_BROKEN_U3
156         bool
157         depends on PPC_MAPLE
158         default y
159
160 config PPC_PMAC64
161         bool
162         depends on PPC_PMAC
163         default y
164
165 config BOOTX_TEXT
166         bool "Support for early boot text console"
167         depends PPC_OF
168         help
169           Say Y here to see progress messages from the boot firmware in text
170           mode. Requires an Open Firmware compatible video card.
171
172 config POWER4_ONLY
173         bool "Optimize for POWER4"
174         default n
175         ---help---
176           Cause the compiler to optimize for POWER4 processors. The resulting
177           binary will not work on POWER3 or RS64 processors when compiled with
178           binutils 2.15 or later.
179
180 config IOMMU_VMERGE
181         bool "Enable IOMMU virtual merging (EXPERIMENTAL)"
182         depends on EXPERIMENTAL
183         default n
184         help
185           Cause IO segments sent to a device for DMA to be merged virtually
186           by the IOMMU when they happen to have been allocated contiguously.
187           This doesn't add pressure to the IOMMU allocator. However, some
188           drivers don't support getting large merged segments coming back
189           from *_map_sg(). Say Y if you know the drivers you are using are
190           properly handling this case.
191
192 config SMP
193         bool "Symmetric multi-processing support"
194         ---help---
195           This enables support for systems with more than one CPU. If you have
196           a system with only one CPU, say N. If you have a system with more
197           than one CPU, say Y.
198
199           If you say N here, the kernel will run on single and multiprocessor
200           machines, but will use only one CPU of a multiprocessor machine. If
201           you say Y here, the kernel will run on single-processor machines.
202           On a single-processor machine, the kernel will run faster if you say
203           N here.
204
205           If you don't know what to do here, say Y.
206
207 config NR_CPUS
208         int "Maximum number of CPUs (2-128)"
209         range 2 128
210         depends on SMP
211         default "32"
212
213 config HMT
214         bool "Hardware multithreading"
215         depends on SMP && PPC_PSERIES && BROKEN
216         help
217           This option enables hardware multithreading on RS64 cpus.
218           pSeries systems p620 and p660 have such a cpu type.
219
220 config DISCONTIGMEM
221         bool "Discontiguous Memory Support"
222         depends on SMP && PPC_PSERIES
223
224 config NUMA
225         bool "NUMA support"
226         depends on DISCONTIGMEM
227
228 config SCHED_SMT
229         bool "SMT (Hyperthreading) scheduler support"
230         depends on SMP
231         default off
232         help
233           SMT scheduler support improves the CPU scheduler's decision making
234           when dealing with POWER5 cpus at a cost of slightly increased
235           overhead in some places. If unsure say N here.
236
237 config PREEMPT
238         bool "Preemptible Kernel"
239         help
240           This option reduces the latency of the kernel when reacting to
241           real-time or interactive events by allowing a low priority process to
242           be preempted even if it is in kernel mode executing a system call.
243
244           Say Y here if you are building a kernel for a desktop, embedded
245           or real-time system.  Say N if you are unsure.
246
247 config PREEMPT_BKL
248         bool "Preempt The Big Kernel Lock"
249         depends on PREEMPT
250         default y
251         help
252           This option reduces the latency of the kernel by making the
253           big kernel lock preemptible.
254
255           Say Y here if you are building a kernel for a desktop system.
256           Say N if you are unsure.
257
258 config EEH
259         bool "PCI Extended Error Handling (EEH)" if EMBEDDED
260         depends on PPC_PSERIES
261         default y if !EMBEDDED
262
263 #
264 # Use the generic interrupt handling code in kernel/irq/:
265 #
266 config GENERIC_HARDIRQS
267         bool
268         default y
269
270 config MSCHUNKS
271         bool
272         depends on PPC_ISERIES
273         default y
274
275
276 config PPC_RTAS
277         bool
278         depends on PPC_PSERIES || PPC_BPA
279         default y
280
281 config RTAS_PROC
282         bool "Proc interface to RTAS"
283         depends on PPC_RTAS
284         default y
285
286 config RTAS_FLASH
287         tristate "Firmware flash interface"
288         depends on RTAS_PROC
289
290 config SCANLOG
291         tristate "Scanlog dump interface"
292         depends on RTAS_PROC && PPC_PSERIES
293
294 config LPARCFG
295         tristate "LPAR Configuration Data"
296         depends on PPC_PSERIES || PPC_ISERIES
297         help
298         Provide system capacity information via human readable
299         <key word>=<value> pairs through a /proc/ppc64/lparcfg interface.
300
301 config SECCOMP
302         bool "Enable seccomp to safely compute untrusted bytecode"
303         depends on PROC_FS
304         default y
305         help
306           This kernel feature is useful for number crunching applications
307           that may need to compute untrusted bytecode during their
308           execution. By using pipes or other transports made available to
309           the process as file descriptors supporting the read/write
310           syscalls, it's possible to isolate those applications in
311           their own address space using seccomp. Once seccomp is
312           enabled via /proc/<pid>/seccomp, it cannot be disabled
313           and the task is only allowed to execute a few safe syscalls
314           defined by each seccomp mode.
315
316           If unsure, say Y. Only embedded should say N here.
317
318 endmenu
319
320 config ISA_DMA_API
321         bool
322         default y
323
324 menu "General setup"
325
326 config ISA
327         bool
328         help
329           Find out whether you have ISA slots on your motherboard.  ISA is the
330           name of a bus system, i.e. the way the CPU talks to the other stuff
331           inside your box.  If you have an Apple machine, say N here; if you
332           have an IBM RS/6000 or pSeries machine or a PReP machine, say Y.  If
333           you have an embedded board, consult your board documentation.
334
335 config SBUS
336         bool
337
338 config MCA
339         bool
340
341 config EISA
342         bool
343
344 config PCI
345         bool "support for PCI devices" if (EMBEDDED && PPC_ISERIES)
346         default y
347         help
348           Find out whether your system includes a PCI bus. PCI is the name of
349           a bus system, i.e. the way the CPU talks to the other stuff inside
350           your box.  If you say Y here, the kernel will include drivers and
351           infrastructure code to support PCI bus devices.
352
353 config PCI_DOMAINS
354         bool
355         default PCI
356
357 source "fs/Kconfig.binfmt"
358
359 source "drivers/pci/Kconfig"
360
361 config HOTPLUG_CPU
362         bool "Support for hot-pluggable CPUs"
363         depends on SMP && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC)
364         select HOTPLUG
365         ---help---
366           Say Y here to be able to turn CPUs off and on.
367
368           Say N if you are unsure.
369
370 source "drivers/pcmcia/Kconfig"
371
372 source "drivers/pci/hotplug/Kconfig"
373
374 config PROC_DEVICETREE
375         bool "Support for Open Firmware device tree in /proc"
376         depends on !PPC_ISERIES
377         help
378           This option adds a device-tree directory under /proc which contains
379           an image of the device tree that the kernel copies from Open
380           Firmware. If unsure, say Y here.
381
382 config CMDLINE_BOOL
383         bool "Default bootloader kernel arguments"
384         depends on !PPC_ISERIES
385
386 config CMDLINE
387         string "Initial kernel command string"
388         depends on CMDLINE_BOOL
389         default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
390         help
391           On some platforms, there is currently no way for the boot loader to
392           pass arguments to the kernel. For these platforms, you can supply
393           some command-line options at build time by entering them here.  In
394           most cases you will need to specify the root device here.
395
396 endmenu
397
398 source "drivers/Kconfig"
399
400 source "fs/Kconfig"
401
402 menu "iSeries device drivers"
403         depends on PPC_ISERIES
404
405 config VIOCONS
406         tristate "iSeries Virtual Console Support"
407
408 config VIODASD
409         tristate "iSeries Virtual I/O disk support"
410         help
411           If you are running on an iSeries system and you want to use
412           virtual disks created and managed by OS/400, say Y.
413
414 config VIOCD
415         tristate "iSeries Virtual I/O CD support"
416         help
417           If you are running Linux on an IBM iSeries system and you want to
418           read a CD drive owned by OS/400, say Y here.
419
420 config VIOTAPE
421         tristate "iSeries Virtual Tape Support"
422         help
423           If you are running Linux on an iSeries system and you want Linux
424           to read and/or write a tape drive owned by OS/400, say Y here.
425
426 endmenu
427
428 config VIOPATH
429         bool
430         depends on VIOCONS || VIODASD || VIOCD || VIOTAPE || VETH
431         default y
432
433 source "arch/ppc64/oprofile/Kconfig"
434
435 source "arch/ppc64/Kconfig.debug"
436
437 source "security/Kconfig"
438
439 config KEYS_COMPAT
440         bool
441         depends on COMPAT && KEYS
442         default y
443
444 source "crypto/Kconfig"
445
446 source "lib/Kconfig"