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