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