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