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