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