blob: 9038f39d9d736320996f95e6bae5d10473895da0 [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
Linus Torvalds1da177e2005-04-16 15:20:36 -070019 help
20 The PA-RISC microprocessor is designed by Hewlett-Packard and used
21 in many of their workstations & servers (HP9000 700 and 800 series,
22 and later HP3000 series). The PA-RISC Linux project home page is
23 at <http://www.parisc-linux.org/>.
24
25config MMU
26 def_bool y
27
28config STACK_GROWSUP
29 def_bool y
30
Nick Piggin95c354f2008-01-30 13:31:20 +010031config GENERIC_LOCKBREAK
32 bool
33 default y
34 depends on SMP && PREEMPT
35
Linus Torvalds1da177e2005-04-16 15:20:36 -070036config RWSEM_GENERIC_SPINLOCK
37 def_bool y
38
39config RWSEM_XCHGADD_ALGORITHM
40 bool
41
David Howellsf0d1b0b2006-12-08 02:37:49 -080042config ARCH_HAS_ILOG2_U32
43 bool
44 default n
45
46config ARCH_HAS_ILOG2_U64
47 bool
48 default n
49
Akinobu Mita59e18a22006-03-26 01:39:31 -080050config GENERIC_FIND_NEXT_BIT
51 bool
52 default y
53
Helge Deller6891f8a2006-12-16 16:16:50 +010054config GENERIC_BUG
55 bool
56 default y
57 depends on BUG
58
Akinobu Mita59e18a22006-03-26 01:39:31 -080059config GENERIC_HWEIGHT
60 bool
61 default y
62
Linus Torvalds1da177e2005-04-16 15:20:36 -070063config GENERIC_CALIBRATE_DELAY
64 bool
65 default y
66
Helge Deller12df29b2007-01-02 23:54:16 +010067config GENERIC_TIME
68 bool
69 default y
70
Ingo Molnar06027bd2006-02-14 13:53:15 -080071config TIME_LOW_RES
72 bool
73 depends on SMP
74 default y
75
Linus Torvalds1da177e2005-04-16 15:20:36 -070076config GENERIC_HARDIRQS
77 def_bool y
78
79config GENERIC_IRQ_PROBE
80 def_bool y
81
Helge Deller548f1172009-02-06 21:50:39 +010082config HAVE_LATENCYTOP_SUPPORT
83 def_bool y
84
Ingo Molnar0d7012a2006-06-29 02:24:43 -070085config IRQ_PER_CPU
86 bool
87 default y
88
Linus Torvalds1da177e2005-04-16 15:20:36 -070089# unless you want to implement ACPI on PA-RISC ... ;-)
90config PM
91 bool
92
Helge Deller548f1172009-02-06 21:50:39 +010093config STACKTRACE_SUPPORT
94 def_bool y
95
Al Viro5cae8412005-05-04 05:39:22 +010096config ISA_DMA_API
97 bool
Al Viro5cae8412005-05-04 05:39:22 +010098
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +010099config ARCH_MAY_HAVE_PC_FDC
100 bool
Grant Grundler8b631342005-10-21 22:52:46 -0400101 depends on BROKEN
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +0100102 default y
103
Linus Torvalds1da177e2005-04-16 15:20:36 -0700104source "init/Kconfig"
105
Matt Helsleydc52ddc2008-10-18 20:27:21 -0700106source "kernel/Kconfig.freezer"
107
Linus Torvalds1da177e2005-04-16 15:20:36 -0700108
109menu "Processor type and features"
110
111choice
112 prompt "Processor type"
113 default PA7000
114
115config 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
126config 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
133config 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
140config 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
147config PA8X00
148 bool "PA8000 and up"
149 help
150 Select this option for PCX-U to PCX-W2 processors.
151
152endchoice
153
154# Define implied options from the CPU selection here
155
156config PA20
157 def_bool y
158 depends on PA8X00
159
160config PA11
161 def_bool y
162 depends on PA7000 || PA7100LC || PA7200 || PA7300LC
163
164config PREFETCH
165 def_bool y
Kyle McMartin32104b22006-08-13 20:37:26 -0400166 depends on PA8X00 || PA7200
Linus Torvalds1da177e2005-04-16 15:20:36 -0700167
168config 64BIT
169 bool "64-bit kernel"
170 depends on PA8X00
171 help
172 Enable this if you want to support 64bit kernel on PA-RISC platform.
173
174 At the moment, only people willing to use more than 2GB of RAM,
175 or having a 64bit-only capable PA-RISC machine should say Y here.
176
177 Since there is no 64bit userland on PA-RISC, there is no point to
178 enable this option otherwise. The 64bit kernel is significantly bigger
179 and slower than the 32bit one.
180
Helge Deller2fd83032006-04-20 20:40:23 +0000181choice
182 prompt "Kernel page size"
183 default PARISC_PAGE_SIZE_4KB if !64BIT
184 default PARISC_PAGE_SIZE_4KB if 64BIT
185# default PARISC_PAGE_SIZE_16KB if 64BIT
186
187config PARISC_PAGE_SIZE_4KB
188 bool "4KB"
189 help
190 This lets you select the page size of the kernel. For best
191 performance, a page size of 16KB is recommended. For best
192 compatibility with 32bit applications, a page size of 4KB should be
193 selected (the vast majority of 32bit binaries work perfectly fine
194 with a larger page size).
195
196 4KB For best 32bit compatibility
197 16KB For best performance
198 64KB For best performance, might give more overhead.
199
200 If you don't know what to do, choose 4KB.
201
202config PARISC_PAGE_SIZE_16KB
203 bool "16KB (EXPERIMENTAL)"
204 depends on PA8X00 && EXPERIMENTAL
205
206config PARISC_PAGE_SIZE_64KB
207 bool "64KB (EXPERIMENTAL)"
208 depends on PA8X00 && EXPERIMENTAL
209
210endchoice
211
Linus Torvalds1da177e2005-04-16 15:20:36 -0700212config SMP
213 bool "Symmetric multi-processing support"
Jens Axboedbcf4782008-06-10 20:50:56 +0200214 select USE_GENERIC_SMP_HELPERS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700215 ---help---
216 This enables support for systems with more than one CPU. If you have
217 a system with only one CPU, like most personal computers, say N. If
218 you have a system with more than one CPU, say Y.
219
220 If you say N here, the kernel will run on single and multiprocessor
221 machines, but will use only one CPU of a multiprocessor machine. If
222 you say Y here, the kernel will run on many, but not all,
223 singleprocessor machines. On a singleprocessor machine, the kernel
224 will run faster if you say N here.
225
Adrian Bunk03502fa2008-02-03 15:50:21 +0200226 See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
227 available at <http://www.tldp.org/docs.html#howto>.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700228
229 If you don't know what to do here, say N.
230
231config HOTPLUG_CPU
232 bool
233 default y if SMP
234 select HOTPLUG
235
Kyle McMartina2ba82c2006-01-27 23:59:36 -0700236config ARCH_SELECT_MEMORY_MODEL
237 def_bool y
238 depends on 64BIT
239
Dave Hansen3f22ab22005-06-23 00:07:43 -0700240config ARCH_DISCONTIGMEM_ENABLE
Kyle McMartina2ba82c2006-01-27 23:59:36 -0700241 def_bool y
242 depends on 64BIT
243
244config ARCH_FLATMEM_ENABLE
245 def_bool y
246
247config ARCH_DISCONTIGMEM_DEFAULT
248 def_bool y
249 depends on ARCH_DISCONTIGMEM_ENABLE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700250
Yasunori Gotoc80d79d2006-04-10 22:53:53 -0700251config NODES_SHIFT
252 int
253 default "3"
254 depends on NEED_MULTIPLE_NODES
255
Kyle McMartin50a34db2006-03-24 21:24:21 -0700256source "kernel/Kconfig.preempt"
Grant Grundler8b631342005-10-21 22:52:46 -0400257source "kernel/Kconfig.hz"
Dave Hansen3f22ab22005-06-23 00:07:43 -0700258source "mm/Kconfig"
259
Linus Torvalds1da177e2005-04-16 15:20:36 -0700260config COMPAT
261 def_bool y
262 depends on 64BIT
263
264config HPUX
265 bool "Support for HP-UX binaries"
266 depends on !64BIT
267
268config NR_CPUS
269 int "Maximum number of CPUs (2-32)"
270 range 2 32
271 depends on SMP
272 default "32"
273
274endmenu
275
276
277source "drivers/parisc/Kconfig"
278
279
280menu "Executable file formats"
281
282source "fs/Kconfig.binfmt"
283
284endmenu
285
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700286source "net/Kconfig"
287
Linus Torvalds1da177e2005-04-16 15:20:36 -0700288source "drivers/Kconfig"
289
290source "fs/Kconfig"
291
Linus Torvalds1da177e2005-04-16 15:20:36 -0700292source "arch/parisc/Kconfig.debug"
293
294source "security/Kconfig"
295
296source "crypto/Kconfig"
297
298source "lib/Kconfig"