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