blob: c38bbc7af793fc2a7c7fb91dd127b579d640bd8f [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
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
Sam Ravnborgec7748b2008-02-09 10:46:40 +010010 select HAVE_IDE
Mathieu Desnoyers42d4b832008-02-02 15:10:34 -050011 select HAVE_OPROFILE
Helge Dellerd75f0542009-02-09 00:43:36 +010012 select HAVE_FUNCTION_TRACER if 64BIT
13 select HAVE_FUNCTION_GRAPH_TRACER if 64BIT
14 select HAVE_FUNCTION_TRACE_MCOUNT_TEST if 64BIT
Kyle McMartin9eb16862008-09-10 14:24:07 +000015 select RTC_CLASS
Geert Uytterhoeven3afe6d02009-02-19 16:46:49 +010016 select RTC_DRV_GENERIC
Rusty Russell98a79d62008-12-13 21:19:41 +103017 select INIT_ALL_POSSIBLE
Kyle McMartinf67d3c82009-03-25 14:09:10 +000018 select BUG
Kyle McMartin2d4618d2009-06-23 21:38:49 -040019 select HAVE_PERF_COUNTERS
Linus Torvalds1da177e2005-04-16 15:20:36 -070020 help
21 The PA-RISC microprocessor is designed by Hewlett-Packard and used
22 in many of their workstations & servers (HP9000 700 and 800 series,
23 and later HP3000 series). The PA-RISC Linux project home page is
24 at <http://www.parisc-linux.org/>.
25
26config MMU
27 def_bool y
28
29config STACK_GROWSUP
30 def_bool y
31
Nick Piggin95c354f2008-01-30 13:31:20 +010032config GENERIC_LOCKBREAK
33 bool
34 default y
35 depends on SMP && PREEMPT
36
Linus Torvalds1da177e2005-04-16 15:20:36 -070037config RWSEM_GENERIC_SPINLOCK
38 def_bool y
39
40config RWSEM_XCHGADD_ALGORITHM
41 bool
42
David Howellsf0d1b0b2006-12-08 02:37:49 -080043config ARCH_HAS_ILOG2_U32
44 bool
45 default n
46
47config ARCH_HAS_ILOG2_U64
48 bool
49 default n
50
Akinobu Mita59e18a22006-03-26 01:39:31 -080051config GENERIC_FIND_NEXT_BIT
52 bool
53 default y
54
Helge Deller6891f8a2006-12-16 16:16:50 +010055config GENERIC_BUG
56 bool
57 default y
58 depends on BUG
59
Akinobu Mita59e18a22006-03-26 01:39:31 -080060config GENERIC_HWEIGHT
61 bool
62 default y
63
Linus Torvalds1da177e2005-04-16 15:20:36 -070064config GENERIC_CALIBRATE_DELAY
65 bool
66 default y
67
Helge Deller12df29b2007-01-02 23:54:16 +010068config GENERIC_TIME
69 bool
70 default y
71
Ingo Molnar06027bd2006-02-14 13:53:15 -080072config TIME_LOW_RES
73 bool
74 depends on SMP
75 default y
76
Linus Torvalds1da177e2005-04-16 15:20:36 -070077config GENERIC_HARDIRQS
78 def_bool y
79
80config GENERIC_IRQ_PROBE
81 def_bool y
82
Helge Deller548f1172009-02-06 21:50:39 +010083config HAVE_LATENCYTOP_SUPPORT
84 def_bool y
85
Ingo Molnar0d7012a2006-06-29 02:24:43 -070086config IRQ_PER_CPU
87 bool
88 default y
89
Linus Torvalds1da177e2005-04-16 15:20:36 -070090# unless you want to implement ACPI on PA-RISC ... ;-)
91config PM
92 bool
93
Helge Deller548f1172009-02-06 21:50:39 +010094config STACKTRACE_SUPPORT
95 def_bool y
96
Al Viro5cae8412005-05-04 05:39:22 +010097config ISA_DMA_API
98 bool
Al Viro5cae8412005-05-04 05:39:22 +010099
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +0100100config ARCH_MAY_HAVE_PC_FDC
101 bool
Grant Grundler8b631342005-10-21 22:52:46 -0400102 depends on BROKEN
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +0100103 default y
104
Linus Torvalds1da177e2005-04-16 15:20:36 -0700105source "init/Kconfig"
106
Matt Helsleydc52ddc2008-10-18 20:27:21 -0700107source "kernel/Kconfig.freezer"
108
Linus Torvalds1da177e2005-04-16 15:20:36 -0700109
110menu "Processor type and features"
111
112choice
113 prompt "Processor type"
114 default PA7000
115
116config PA7000
117 bool "PA7000/PA7100"
118 ---help---
119 This is the processor type of your CPU. This information is
120 used for optimizing purposes. In order to compile a kernel
121 that can run on all 32-bit PA CPUs (albeit not optimally fast),
122 you can specify "PA7000" here.
123
124 Specifying "PA8000" here will allow you to select a 64-bit kernel
125 which is required on some machines.
126
127config PA7100LC
128 bool "PA7100LC"
129 help
130 Select this option for the PCX-L processor, as used in the
131 712, 715/64, 715/80, 715/100, 715/100XC, 725/100, 743, 748,
132 D200, D210, D300, D310 and E-class
133
134config PA7200
135 bool "PA7200"
136 help
137 Select this option for the PCX-T' processor, as used in the
138 C100, C110, J100, J110, J210XC, D250, D260, D350, D360,
139 K100, K200, K210, K220, K400, K410 and K420
140
141config PA7300LC
142 bool "PA7300LC"
143 help
144 Select this option for the PCX-L2 processor, as used in the
145 744, A180, B132L, B160L, B180L, C132L, C160L, C180L,
146 D220, D230, D320 and D330.
147
148config PA8X00
149 bool "PA8000 and up"
150 help
151 Select this option for PCX-U to PCX-W2 processors.
152
153endchoice
154
155# Define implied options from the CPU selection here
156
157config PA20
158 def_bool y
159 depends on PA8X00
160
161config PA11
162 def_bool y
163 depends on PA7000 || PA7100LC || PA7200 || PA7300LC
164
165config PREFETCH
166 def_bool y
Kyle McMartin32104b22006-08-13 20:37:26 -0400167 depends on PA8X00 || PA7200
Linus Torvalds1da177e2005-04-16 15:20:36 -0700168
169config 64BIT
170 bool "64-bit kernel"
171 depends on PA8X00
172 help
173 Enable this if you want to support 64bit kernel on PA-RISC platform.
174
175 At the moment, only people willing to use more than 2GB of RAM,
176 or having a 64bit-only capable PA-RISC machine should say Y here.
177
178 Since there is no 64bit userland on PA-RISC, there is no point to
179 enable this option otherwise. The 64bit kernel is significantly bigger
180 and slower than the 32bit one.
181
Helge Deller2fd83032006-04-20 20:40:23 +0000182choice
183 prompt "Kernel page size"
184 default PARISC_PAGE_SIZE_4KB if !64BIT
185 default PARISC_PAGE_SIZE_4KB if 64BIT
186# default PARISC_PAGE_SIZE_16KB if 64BIT
187
188config PARISC_PAGE_SIZE_4KB
189 bool "4KB"
190 help
191 This lets you select the page size of the kernel. For best
192 performance, a page size of 16KB is recommended. For best
193 compatibility with 32bit applications, a page size of 4KB should be
194 selected (the vast majority of 32bit binaries work perfectly fine
195 with a larger page size).
196
197 4KB For best 32bit compatibility
198 16KB For best performance
199 64KB For best performance, might give more overhead.
200
201 If you don't know what to do, choose 4KB.
202
203config PARISC_PAGE_SIZE_16KB
204 bool "16KB (EXPERIMENTAL)"
205 depends on PA8X00 && EXPERIMENTAL
206
207config PARISC_PAGE_SIZE_64KB
208 bool "64KB (EXPERIMENTAL)"
209 depends on PA8X00 && EXPERIMENTAL
210
211endchoice
212
Linus Torvalds1da177e2005-04-16 15:20:36 -0700213config SMP
214 bool "Symmetric multi-processing support"
Jens Axboedbcf4782008-06-10 20:50:56 +0200215 select USE_GENERIC_SMP_HELPERS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700216 ---help---
217 This enables support for systems with more than one CPU. If you have
218 a system with only one CPU, like most personal computers, say N. If
219 you have a system with more than one CPU, say Y.
220
221 If you say N here, the kernel will run on single and multiprocessor
222 machines, but will use only one CPU of a multiprocessor machine. If
223 you say Y here, the kernel will run on many, but not all,
224 singleprocessor machines. On a singleprocessor machine, the kernel
225 will run faster if you say N here.
226
Adrian Bunk03502fa2008-02-03 15:50:21 +0200227 See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
228 available at <http://www.tldp.org/docs.html#howto>.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700229
230 If you don't know what to do here, say N.
231
232config HOTPLUG_CPU
233 bool
234 default y if SMP
235 select HOTPLUG
236
Kyle McMartina2ba82c2006-01-27 23:59:36 -0700237config ARCH_SELECT_MEMORY_MODEL
238 def_bool y
239 depends on 64BIT
240
Dave Hansen3f22ab22005-06-23 00:07:43 -0700241config ARCH_DISCONTIGMEM_ENABLE
Kyle McMartina2ba82c2006-01-27 23:59:36 -0700242 def_bool y
243 depends on 64BIT
244
245config ARCH_FLATMEM_ENABLE
246 def_bool y
247
248config ARCH_DISCONTIGMEM_DEFAULT
249 def_bool y
250 depends on ARCH_DISCONTIGMEM_ENABLE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700251
Yasunori Gotoc80d79d2006-04-10 22:53:53 -0700252config NODES_SHIFT
253 int
254 default "3"
255 depends on NEED_MULTIPLE_NODES
256
Kyle McMartin50a34db2006-03-24 21:24:21 -0700257source "kernel/Kconfig.preempt"
Grant Grundler8b631342005-10-21 22:52:46 -0400258source "kernel/Kconfig.hz"
Dave Hansen3f22ab22005-06-23 00:07:43 -0700259source "mm/Kconfig"
260
Linus Torvalds1da177e2005-04-16 15:20:36 -0700261config COMPAT
262 def_bool y
263 depends on 64BIT
264
265config HPUX
266 bool "Support for HP-UX binaries"
267 depends on !64BIT
268
269config NR_CPUS
270 int "Maximum number of CPUs (2-32)"
271 range 2 32
272 depends on SMP
273 default "32"
274
275endmenu
276
277
278source "drivers/parisc/Kconfig"
279
280
281menu "Executable file formats"
282
283source "fs/Kconfig.binfmt"
284
285endmenu
286
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700287source "net/Kconfig"
288
Linus Torvalds1da177e2005-04-16 15:20:36 -0700289source "drivers/Kconfig"
290
291source "fs/Kconfig"
292
Linus Torvalds1da177e2005-04-16 15:20:36 -0700293source "arch/parisc/Kconfig.debug"
294
295source "security/Kconfig"
296
297source "crypto/Kconfig"
298
299source "lib/Kconfig"