751f3ac7607e854a8ce7f27a9b8c10284c4af056
[linux-2.6.git] / arch / parisc / Kconfig
1 #
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
4 #
5
6 mainmenu "Linux/PA-RISC Kernel Configuration"
7
8 config PARISC
9         bool
10         default y
11         help
12           The PA-RISC microprocessor is designed by Hewlett-Packard and used
13           in many of their workstations & servers (HP9000 700 and 800 series,
14           and later HP3000 series).  The PA-RISC Linux project home page is
15           at <http://www.parisc-linux.org/>.
16
17 config MMU
18         bool
19         default y
20
21 config STACK_GROWSUP
22         bool
23         default y
24
25 config UID16
26         bool
27
28 config RWSEM_GENERIC_SPINLOCK
29         bool
30         default y
31
32 config RWSEM_XCHGADD_ALGORITHM
33         bool
34
35 config GENERIC_ISA_DMA
36         bool
37
38 # unless you want to implement ACPI on PA-RISC ... ;-)
39 config PM
40         bool
41
42 source "init/Kconfig"
43
44
45 menu "Processor type and features"
46
47 choice
48         prompt "Processor type"
49         default PA7000
50
51 config PA7000
52         bool "PA7000/PA7100"
53         ---help---
54           This is the processor type of your CPU. This information is used for
55           optimizing purposes.  In order to compile a kernel that can run on
56           all PA CPUs (albeit not optimally fast), you can specify "PA7000"
57           here.
58
59           Specifying "PA8000" here will allow you to select a 64-bit kernel
60           which is required on some machines.
61
62 config PA7100LC
63         bool "PA7100LC/PA7300LC"
64         help
65           Select this option for a 7100LC or 7300LC processor, as used
66           in the 712, 715/Mirage, A180, B132, C160L and some other machines.
67
68 config PA7200
69         bool "PA7200"
70         help
71           Select this option for the PCX-T' processor, as used in C110, D100
72           and similar machines.
73
74 config PA8X00
75         bool "PA8000 and up"
76         help
77           Select this option for PCX-U to PCX-W2 processors.
78
79 endchoice
80
81 # Define implied options from the CPU selection here
82
83 config PA20
84         bool
85         depends on PA8X00
86         default y
87
88 config PA11
89         bool
90         depends on PA7000 || PA7100LC || PA7200
91         default y
92
93 config PARISC64
94         bool "64-bit kernel"
95         depends on PA8X00
96         help
97           Enable this if you want to support 64bit kernel on PA-RISC platform.
98           
99           At the moment, only people willing to use more than 2GB of RAM,
100           or having a 64bit-only capable PA-RISC machine should say Y here.
101
102           Since there is no 64bit userland on PA-RISC, there is no point to
103           enable this option otherwise. The 64bit kernel is significantly bigger
104           and slower than the 32bit one.
105
106 config 64BIT
107         def_bool PARISC64
108
109 config PDC_NARROW
110         bool "32-bit firmware"
111         depends on PARISC64
112         help
113           This option will enable owners of C160, C180, C200, C240, C360, J280,
114           J282, J2240 and some D/K/R class to run a 64bit kernel with their
115           32bit PDC firmware.
116         
117           Nobody should try this option unless they know what they are doing.
118         
119           If unsure, say N.
120
121 config SMP
122         bool "Symmetric multi-processing support"
123         ---help---
124           This enables support for systems with more than one CPU. If you have
125           a system with only one CPU, like most personal computers, say N. If
126           you have a system with more than one CPU, say Y.
127
128           If you say N here, the kernel will run on single and multiprocessor
129           machines, but will use only one CPU of a multiprocessor machine. If
130           you say Y here, the kernel will run on many, but not all,
131           singleprocessor machines. On a singleprocessor machine, the kernel
132           will run faster if you say N here.
133
134           See also the <file:Documentation/smp.txt>,
135           <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available
136           at <http://www.tldp.org/docs.html#howto>.
137
138           If you don't know what to do here, say N.
139
140 config PREEMPT
141         bool
142 #       bool "Preemptible Kernel"
143         default n
144
145 config COMPAT
146         bool
147         depends on PARISC64
148         default y
149
150 config HPUX
151         bool "Support for HP-UX binaries"
152         depends on !PARISC64
153
154 config NR_CPUS
155         int "Maximum number of CPUs (2-32)"
156         range 2 32
157         depends on SMP
158         default "32"
159
160 endmenu
161
162
163 source "drivers/parisc/Kconfig"
164
165
166 menu "Executable file formats"
167
168 source "fs/Kconfig.binfmt"
169
170 endmenu
171
172 source "drivers/Kconfig"
173
174 source "fs/Kconfig"
175
176 source "arch/parisc/oprofile/Kconfig"
177
178 menu "Kernel hacking"
179
180 config DEBUG_KERNEL
181         bool "Kernel debugging"
182         help
183           Say Y here if you are developing drivers or trying to debug and
184           identify kernel problems.
185
186 config DEBUG_SLAB
187         bool "Debug memory allocations"
188         depends on DEBUG_KERNEL
189         help
190           Say Y here to have the kernel do limited verification on memory
191           allocation as well as poisoning memory on free to catch use of freed
192           memory.
193
194 config MAGIC_SYSRQ
195         bool "Magic SysRq key"
196         depends on DEBUG_KERNEL
197         help
198           If you say Y here, you will have some control over the system even
199           if the system crashes for example during kernel debugging (e.g., you
200           will be able to flush the buffer cache to disk, reboot the system
201           immediately or dump some status information). This is accomplished
202           by pressing various keys while holding SysRq (Alt+PrintScreen). It
203           also works on a serial console (on PC hardware at least), if you
204           send a BREAK and then within 5 seconds a command keypress. The
205           keys are documented in <file:Documentation/sysrq.txt>. Don't say Y
206           unless you really know what this hack does.
207
208 config FRAME_POINTER
209         bool "Compile the kernel with frame pointers"
210         help
211           If you say Y here the resulting kernel image will be slightly larger
212           and slower, but it will give very useful debugging information.
213           If you don't debug the kernel, you can say N, but we may not be able
214           to solve problems without frame pointers.
215
216 config DEBUG_INFO
217         bool "Compile the kernel with debug info"
218         depends on DEBUG_KERNEL
219         help
220           If you say Y here the resulting kernel image will include
221           debugging info resulting in a larger kernel image.
222           Say Y here only if you plan to use gdb to debug the kernel.
223           If you don't debug the kernel, you can say N.
224           
225 endmenu
226
227 source "security/Kconfig"
228
229 source "crypto/Kconfig"
230
231 source "lib/Kconfig"
232