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