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