Merge branch 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-block.git] / arch / parisc / Kconfig
CommitLineData
1da177e4
LT
1config PARISC
2 def_bool y
ec7748b5 3 select HAVE_IDE
42d4b839 4 select HAVE_OPROFILE
d75f054a
HD
5 select HAVE_FUNCTION_TRACER if 64BIT
6 select HAVE_FUNCTION_GRAPH_TRACER if 64BIT
7 select HAVE_FUNCTION_TRACE_MCOUNT_TEST if 64BIT
4530c49e 8 select ARCH_WANT_FRAME_POINTERS
9eb16864 9 select RTC_CLASS
3afe6d04 10 select RTC_DRV_GENERIC
98a79d6a 11 select INIT_ALL_POSSIBLE
f67d3c83 12 select BUG
cdd6c482 13 select HAVE_PERF_EVENTS
64daa443 14 select GENERIC_ATOMIC64 if !64BIT
72e73af1 15 select HAVE_GENERIC_HARDIRQS
754b7b63 16 select BROKEN_RODATA
72e73af1 17 select GENERIC_IRQ_PROBE
629a8581 18 select GENERIC_PCI_IOMAP
df013ffb 19 select ARCH_HAVE_NMI_SAFE_CMPXCHG
9a134723 20 select GENERIC_SMP_IDLE_THREAD
b1195c0e 21 select GENERIC_STRNCPY_FROM_USER
bf14e3b9 22 select SYSCTL_ARCH_UNALIGN_ALLOW
786d35d4 23 select HAVE_MOD_ARCH_SPECIFIC
887cbce0 24 select HAVE_VIRT_TO_BUS
786d35d4 25 select MODULES_USE_ELF_RELA
415bfae9 26 select CLONE_BACKWARDS
4f73bc4d 27 select TTY # Needed for pdc_cons.c
72e73af1 28
1da177e4
LT
29 help
30 The PA-RISC microprocessor is designed by Hewlett-Packard and used
31 in many of their workstations & servers (HP9000 700 and 800 series,
32 and later HP3000 series). The PA-RISC Linux project home page is
33 at <http://www.parisc-linux.org/>.
34
35config MMU
36 def_bool y
37
38config STACK_GROWSUP
39 def_bool y
40
95c354fe
NP
41config GENERIC_LOCKBREAK
42 bool
43 default y
44 depends on SMP && PREEMPT
45
1da177e4
LT
46config RWSEM_GENERIC_SPINLOCK
47 def_bool y
48
49config RWSEM_XCHGADD_ALGORITHM
50 bool
51
f0d1b0b3
DH
52config ARCH_HAS_ILOG2_U32
53 bool
54 default n
55
56config ARCH_HAS_ILOG2_U64
57 bool
58 default n
59
6891f8a1
HD
60config GENERIC_BUG
61 bool
62 default y
63 depends on BUG
64
59e18a2e
AM
65config GENERIC_HWEIGHT
66 bool
67 default y
68
1da177e4
LT
69config GENERIC_CALIBRATE_DELAY
70 bool
71 default y
72
06027bdd
IM
73config TIME_LOW_RES
74 bool
75 depends on SMP
76 default y
77
548f1176
HD
78config HAVE_LATENCYTOP_SUPPORT
79 def_bool y
80
1da177e4
LT
81# unless you want to implement ACPI on PA-RISC ... ;-)
82config PM
83 bool
84
548f1176
HD
85config STACKTRACE_SUPPORT
86 def_bool y
87
74a0bd66
FT
88config NEED_DMA_MAP_STATE
89 def_bool y
90
f6ae31c2
FT
91config NEED_SG_DMA_LENGTH
92 def_bool y
93
5cae841b
AV
94config ISA_DMA_API
95 bool
5cae841b 96
a08b6b79
Z
97config ARCH_MAY_HAVE_PC_FDC
98 bool
8b631342 99 depends on BROKEN
a08b6b79
Z
100 default y
101
1da177e4
LT
102source "init/Kconfig"
103
dc52ddc0
MH
104source "kernel/Kconfig.freezer"
105
1da177e4
LT
106
107menu "Processor type and features"
108
109choice
110 prompt "Processor type"
111 default PA7000
112
113config PA7000
114 bool "PA7000/PA7100"
115 ---help---
116 This is the processor type of your CPU. This information is
117 used for optimizing purposes. In order to compile a kernel
118 that can run on all 32-bit PA CPUs (albeit not optimally fast),
119 you can specify "PA7000" here.
120
121 Specifying "PA8000" here will allow you to select a 64-bit kernel
122 which is required on some machines.
123
124config PA7100LC
125 bool "PA7100LC"
126 help
127 Select this option for the PCX-L processor, as used in the
128 712, 715/64, 715/80, 715/100, 715/100XC, 725/100, 743, 748,
129 D200, D210, D300, D310 and E-class
130
131config PA7200
132 bool "PA7200"
133 help
134 Select this option for the PCX-T' processor, as used in the
135 C100, C110, J100, J110, J210XC, D250, D260, D350, D360,
136 K100, K200, K210, K220, K400, K410 and K420
137
138config PA7300LC
139 bool "PA7300LC"
140 help
141 Select this option for the PCX-L2 processor, as used in the
142 744, A180, B132L, B160L, B180L, C132L, C160L, C180L,
143 D220, D230, D320 and D330.
144
145config PA8X00
146 bool "PA8000 and up"
147 help
148 Select this option for PCX-U to PCX-W2 processors.
149
150endchoice
151
152# Define implied options from the CPU selection here
153
154config PA20
155 def_bool y
156 depends on PA8X00
157
158config PA11
159 def_bool y
160 depends on PA7000 || PA7100LC || PA7200 || PA7300LC
161
162config PREFETCH
163 def_bool y
32104b29 164 depends on PA8X00 || PA7200
1da177e4 165
ec758f98
HD
166config MLONGCALLS
167 bool "Enable the -mlong-calls compiler option for big kernels"
168 def_bool y if (!MODULES)
169 depends on PA8X00
170 help
171 If you configure the kernel to include many drivers built-in instead
172 as modules, the kernel executable may become too big, so that the
173 linker will not be able to resolve some long branches and fails to link
174 your vmlinux kernel. In that case enabling this option will help you
175 to overcome this limit by using the -mlong-calls compiler option.
176
177 Usually you want to say N here, unless you e.g. want to build
178 a kernel which includes all necessary drivers built-in and which can
179 be used for TFTP booting without the need to have an initrd ramdisk.
180
181 Enabling this option will probably slow down your kernel.
182
1da177e4
LT
183config 64BIT
184 bool "64-bit kernel"
185 depends on PA8X00
186 help
187 Enable this if you want to support 64bit kernel on PA-RISC platform.
188
189 At the moment, only people willing to use more than 2GB of RAM,
190 or having a 64bit-only capable PA-RISC machine should say Y here.
191
192 Since there is no 64bit userland on PA-RISC, there is no point to
193 enable this option otherwise. The 64bit kernel is significantly bigger
194 and slower than the 32bit one.
195
2fd83038
HD
196choice
197 prompt "Kernel page size"
1c5f873d 198 default PARISC_PAGE_SIZE_4KB
2fd83038
HD
199
200config PARISC_PAGE_SIZE_4KB
201 bool "4KB"
202 help
203 This lets you select the page size of the kernel. For best
204 performance, a page size of 16KB is recommended. For best
205 compatibility with 32bit applications, a page size of 4KB should be
206 selected (the vast majority of 32bit binaries work perfectly fine
207 with a larger page size).
208
209 4KB For best 32bit compatibility
210 16KB For best performance
211 64KB For best performance, might give more overhead.
212
213 If you don't know what to do, choose 4KB.
214
215config PARISC_PAGE_SIZE_16KB
daef22cf
KC
216 bool "16KB"
217 depends on PA8X00
2fd83038
HD
218
219config PARISC_PAGE_SIZE_64KB
daef22cf
KC
220 bool "64KB"
221 depends on PA8X00
2fd83038
HD
222
223endchoice
224
1da177e4
LT
225config SMP
226 bool "Symmetric multi-processing support"
dbcf4787 227 select USE_GENERIC_SMP_HELPERS
1da177e4
LT
228 ---help---
229 This enables support for systems with more than one CPU. If you have
230 a system with only one CPU, like most personal computers, say N. If
231 you have a system with more than one CPU, say Y.
232
233 If you say N here, the kernel will run on single and multiprocessor
234 machines, but will use only one CPU of a multiprocessor machine. If
235 you say Y here, the kernel will run on many, but not all,
236 singleprocessor machines. On a singleprocessor machine, the kernel
237 will run faster if you say N here.
238
03502faa
AB
239 See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
240 available at <http://www.tldp.org/docs.html#howto>.
1da177e4
LT
241
242 If you don't know what to do here, say N.
243
244config HOTPLUG_CPU
245 bool
246 default y if SMP
247 select HOTPLUG
248
a2ba82cd
KM
249config ARCH_SELECT_MEMORY_MODEL
250 def_bool y
251 depends on 64BIT
252
3f22ab27 253config ARCH_DISCONTIGMEM_ENABLE
a2ba82cd
KM
254 def_bool y
255 depends on 64BIT
256
257config ARCH_FLATMEM_ENABLE
258 def_bool y
259
260config ARCH_DISCONTIGMEM_DEFAULT
261 def_bool y
262 depends on ARCH_DISCONTIGMEM_ENABLE
1da177e4 263
c80d79d7
YG
264config NODES_SHIFT
265 int
266 default "3"
267 depends on NEED_MULTIPLE_NODES
268
50a34dbd 269source "kernel/Kconfig.preempt"
8b631342 270source "kernel/Kconfig.hz"
3f22ab27
DH
271source "mm/Kconfig"
272
1da177e4
LT
273config COMPAT
274 def_bool y
275 depends on 64BIT
276
bf581e15
HD
277config SYSVIPC_COMPAT
278 def_bool y
279 depends on COMPAT && SYSVIPC
280
1da177e4
LT
281config HPUX
282 bool "Support for HP-UX binaries"
283 depends on !64BIT
284
285config NR_CPUS
286 int "Maximum number of CPUs (2-32)"
287 range 2 32
288 depends on SMP
289 default "32"
290
291endmenu
292
293
294source "drivers/parisc/Kconfig"
295
296
297menu "Executable file formats"
298
299source "fs/Kconfig.binfmt"
300
301endmenu
302
d5950b43
SR
303source "net/Kconfig"
304
1da177e4
LT
305source "drivers/Kconfig"
306
307source "fs/Kconfig"
308
1da177e4
LT
309source "arch/parisc/Kconfig.debug"
310
311source "security/Kconfig"
312
313source "crypto/Kconfig"
314
315source "lib/Kconfig"