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