Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
[pandora-kernel.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         def_bool y
10         select HAVE_IDE
11         select HAVE_OPROFILE
12         select HAVE_FUNCTION_TRACER if 64BIT
13         select HAVE_FUNCTION_GRAPH_TRACER if 64BIT
14         select HAVE_FUNCTION_TRACE_MCOUNT_TEST if 64BIT
15         select RTC_CLASS
16         select RTC_DRV_GENERIC
17         select INIT_ALL_POSSIBLE
18         select BUG
19         select HAVE_PERF_EVENTS
20         select GENERIC_ATOMIC64 if !64BIT
21         help
22           The PA-RISC microprocessor is designed by Hewlett-Packard and used
23           in many of their workstations & servers (HP9000 700 and 800 series,
24           and later HP3000 series).  The PA-RISC Linux project home page is
25           at <http://www.parisc-linux.org/>.
26
27 config MMU
28         def_bool y
29
30 config STACK_GROWSUP
31         def_bool y
32
33 config GENERIC_LOCKBREAK
34         bool
35         default y
36         depends on SMP && PREEMPT
37
38 config RWSEM_GENERIC_SPINLOCK
39         def_bool y
40
41 config RWSEM_XCHGADD_ALGORITHM
42         bool
43
44 config ARCH_HAS_ILOG2_U32
45         bool
46         default n
47
48 config ARCH_HAS_ILOG2_U64
49         bool
50         default n
51
52 config GENERIC_FIND_NEXT_BIT
53         bool
54         default y
55
56 config GENERIC_BUG
57         bool
58         default y
59         depends on BUG
60
61 config GENERIC_HWEIGHT
62         bool
63         default y
64
65 config GENERIC_CALIBRATE_DELAY
66         bool
67         default y
68
69 config TIME_LOW_RES
70         bool
71         depends on SMP
72         default y
73
74 config GENERIC_HARDIRQS
75         def_bool y
76
77 config GENERIC_IRQ_PROBE
78         def_bool y
79
80 config HAVE_LATENCYTOP_SUPPORT
81         def_bool y
82
83 config IRQ_PER_CPU
84         bool
85         default y
86
87 # unless you want to implement ACPI on PA-RISC ... ;-)
88 config PM
89         bool
90
91 config STACKTRACE_SUPPORT
92         def_bool y
93
94 config NEED_DMA_MAP_STATE
95         def_bool y
96
97 config NEED_SG_DMA_LENGTH
98         def_bool y
99
100 config ISA_DMA_API
101         bool
102
103 config ARCH_MAY_HAVE_PC_FDC
104         bool
105         depends on BROKEN
106         default y
107
108 source "init/Kconfig"
109
110 source "kernel/Kconfig.freezer"
111
112
113 menu "Processor type and features"
114
115 choice
116         prompt "Processor type"
117         default PA7000
118
119 config PA7000
120         bool "PA7000/PA7100"
121         ---help---
122           This is the processor type of your CPU.  This information is
123           used for optimizing purposes.  In order to compile a kernel
124           that can run on all 32-bit PA CPUs (albeit not optimally fast),
125           you can specify "PA7000" here.
126
127           Specifying "PA8000" here will allow you to select a 64-bit kernel
128           which is required on some machines.
129
130 config PA7100LC
131         bool "PA7100LC"
132         help
133           Select this option for the PCX-L processor, as used in the
134           712, 715/64, 715/80, 715/100, 715/100XC, 725/100, 743, 748,
135           D200, D210, D300, D310 and E-class
136
137 config PA7200
138         bool "PA7200"
139         help
140           Select this option for the PCX-T' processor, as used in the
141           C100, C110, J100, J110, J210XC, D250, D260, D350, D360,
142           K100, K200, K210, K220, K400, K410 and K420
143
144 config PA7300LC
145         bool "PA7300LC"
146         help
147           Select this option for the PCX-L2 processor, as used in the
148           744, A180, B132L, B160L, B180L, C132L, C160L, C180L,
149           D220, D230, D320 and D330.
150
151 config PA8X00
152         bool "PA8000 and up"
153         help
154           Select this option for PCX-U to PCX-W2 processors.
155
156 endchoice
157
158 # Define implied options from the CPU selection here
159
160 config PA20
161         def_bool y
162         depends on PA8X00
163
164 config PA11
165         def_bool y
166         depends on PA7000 || PA7100LC || PA7200 || PA7300LC
167
168 config PREFETCH
169         def_bool y
170         depends on PA8X00 || PA7200
171
172 config 64BIT
173         bool "64-bit kernel"
174         depends on PA8X00
175         help
176           Enable this if you want to support 64bit kernel on PA-RISC platform.
177
178           At the moment, only people willing to use more than 2GB of RAM,
179           or having a 64bit-only capable PA-RISC machine should say Y here.
180
181           Since there is no 64bit userland on PA-RISC, there is no point to
182           enable this option otherwise. The 64bit kernel is significantly bigger
183           and slower than the 32bit one.
184
185 choice
186         prompt "Kernel page size"
187         default PARISC_PAGE_SIZE_4KB  if !64BIT
188         default PARISC_PAGE_SIZE_4KB  if 64BIT
189 #       default PARISC_PAGE_SIZE_16KB if 64BIT
190
191 config PARISC_PAGE_SIZE_4KB
192         bool "4KB"
193         help
194           This lets you select the page size of the kernel.  For best
195           performance, a page size of 16KB is recommended.  For best
196           compatibility with 32bit applications, a page size of 4KB should be
197           selected (the vast majority of 32bit binaries work perfectly fine
198           with a larger page size).
199
200           4KB                For best 32bit compatibility
201           16KB               For best performance
202           64KB               For best performance, might give more overhead.
203
204           If you don't know what to do, choose 4KB.
205
206 config PARISC_PAGE_SIZE_16KB
207         bool "16KB (EXPERIMENTAL)"
208         depends on PA8X00 && EXPERIMENTAL
209
210 config PARISC_PAGE_SIZE_64KB
211         bool "64KB (EXPERIMENTAL)"
212         depends on PA8X00 && EXPERIMENTAL
213
214 endchoice
215
216 config SMP
217         bool "Symmetric multi-processing support"
218         select USE_GENERIC_SMP_HELPERS
219         ---help---
220           This enables support for systems with more than one CPU. If you have
221           a system with only one CPU, like most personal computers, say N. If
222           you have a system with more than one CPU, say Y.
223
224           If you say N here, the kernel will run on single and multiprocessor
225           machines, but will use only one CPU of a multiprocessor machine. If
226           you say Y here, the kernel will run on many, but not all,
227           singleprocessor machines. On a singleprocessor machine, the kernel
228           will run faster if you say N here.
229
230           See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
231           available at <http://www.tldp.org/docs.html#howto>.
232
233           If you don't know what to do here, say N.
234
235 config HOTPLUG_CPU
236         bool
237         default y if SMP
238         select HOTPLUG
239
240 config ARCH_SELECT_MEMORY_MODEL
241         def_bool y
242         depends on 64BIT
243
244 config ARCH_DISCONTIGMEM_ENABLE
245         def_bool y
246         depends on 64BIT
247
248 config ARCH_FLATMEM_ENABLE
249         def_bool y
250
251 config ARCH_DISCONTIGMEM_DEFAULT
252         def_bool y
253         depends on ARCH_DISCONTIGMEM_ENABLE
254
255 config NODES_SHIFT
256         int
257         default "3"
258         depends on NEED_MULTIPLE_NODES
259
260 source "kernel/Kconfig.preempt"
261 source "kernel/Kconfig.hz"
262 source "mm/Kconfig"
263
264 config COMPAT
265         def_bool y
266         depends on 64BIT
267
268 config HPUX
269         bool "Support for HP-UX binaries"
270         depends on !64BIT
271
272 config NR_CPUS
273         int "Maximum number of CPUs (2-32)"
274         range 2 32
275         depends on SMP
276         default "32"
277
278 endmenu
279
280
281 source "drivers/parisc/Kconfig"
282
283
284 menu "Executable file formats"
285
286 source "fs/Kconfig.binfmt"
287
288 endmenu
289
290 source "net/Kconfig"
291
292 source "drivers/Kconfig"
293
294 source "fs/Kconfig"
295
296 source "arch/parisc/Kconfig.debug"
297
298 source "security/Kconfig"
299
300 source "crypto/Kconfig"
301
302 source "lib/Kconfig"