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