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