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