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