blob: 7fd696fd3aefcf0e016e81cca32961b847637d42 [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
16 select RTC_DRV_PARISC
Rusty Russell98a79d62008-12-13 21:19:41 +103017 select INIT_ALL_POSSIBLE
Linus Torvalds1da177e2005-04-16 15:20:36 -070018 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
Nick Piggin95c354f2008-01-30 13:31:20 +010030config GENERIC_LOCKBREAK
31 bool
32 default y
33 depends on SMP && PREEMPT
34
Linus Torvalds1da177e2005-04-16 15:20:36 -070035config RWSEM_GENERIC_SPINLOCK
36 def_bool y
37
38config RWSEM_XCHGADD_ALGORITHM
39 bool
40
David Howellsf0d1b0b2006-12-08 02:37:49 -080041config ARCH_HAS_ILOG2_U32
42 bool
43 default n
44
45config ARCH_HAS_ILOG2_U64
46 bool
47 default n
48
Akinobu Mita59e18a22006-03-26 01:39:31 -080049config GENERIC_FIND_NEXT_BIT
50 bool
51 default y
52
Helge Deller6891f8a2006-12-16 16:16:50 +010053config GENERIC_BUG
54 bool
55 default y
56 depends on BUG
57
Akinobu Mita59e18a22006-03-26 01:39:31 -080058config GENERIC_HWEIGHT
59 bool
60 default y
61
Linus Torvalds1da177e2005-04-16 15:20:36 -070062config GENERIC_CALIBRATE_DELAY
63 bool
64 default y
65
Helge Deller12df29b2007-01-02 23:54:16 +010066config GENERIC_TIME
67 bool
68 default y
69
Ingo Molnar06027bd2006-02-14 13:53:15 -080070config TIME_LOW_RES
71 bool
72 depends on SMP
73 default y
74
Linus Torvalds1da177e2005-04-16 15:20:36 -070075config GENERIC_HARDIRQS
76 def_bool y
77
78config GENERIC_IRQ_PROBE
79 def_bool y
80
Helge Deller548f1172009-02-06 21:50:39 +010081config HAVE_LATENCYTOP_SUPPORT
82 def_bool y
83
Ingo Molnar0d7012a2006-06-29 02:24:43 -070084config IRQ_PER_CPU
85 bool
86 default y
87
Linus Torvalds1da177e2005-04-16 15:20:36 -070088# unless you want to implement ACPI on PA-RISC ... ;-)
89config PM
90 bool
91
Helge Deller548f1172009-02-06 21:50:39 +010092config STACKTRACE_SUPPORT
93 def_bool y
94
Al Viro5cae8412005-05-04 05:39:22 +010095config ISA_DMA_API
96 bool
Al Viro5cae8412005-05-04 05:39:22 +010097
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +010098config ARCH_MAY_HAVE_PC_FDC
99 bool
Grant Grundler8b631342005-10-21 22:52:46 -0400100 depends on BROKEN
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +0100101 default y
102
Linus Torvalds1da177e2005-04-16 15:20:36 -0700103source "init/Kconfig"
104
Matt Helsleydc52ddc2008-10-18 20:27:21 -0700105source "kernel/Kconfig.freezer"
106
Linus Torvalds1da177e2005-04-16 15:20:36 -0700107
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
Kyle McMartin32104b22006-08-13 20:37:26 -0400165 depends on PA8X00 || PA7200
Linus Torvalds1da177e2005-04-16 15:20:36 -0700166
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
Helge Deller2fd83032006-04-20 20:40:23 +0000180choice
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
Linus Torvalds1da177e2005-04-16 15:20:36 -0700211config SMP
212 bool "Symmetric multi-processing support"
Jens Axboedbcf4782008-06-10 20:50:56 +0200213 select USE_GENERIC_SMP_HELPERS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700214 ---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
Adrian Bunk03502fa2008-02-03 15:50:21 +0200225 See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
226 available at <http://www.tldp.org/docs.html#howto>.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700227
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
Kyle McMartina2ba82c2006-01-27 23:59:36 -0700235config ARCH_SELECT_MEMORY_MODEL
236 def_bool y
237 depends on 64BIT
238
Dave Hansen3f22ab22005-06-23 00:07:43 -0700239config ARCH_DISCONTIGMEM_ENABLE
Kyle McMartina2ba82c2006-01-27 23:59:36 -0700240 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
Linus Torvalds1da177e2005-04-16 15:20:36 -0700249
Yasunori Gotoc80d79d2006-04-10 22:53:53 -0700250config NODES_SHIFT
251 int
252 default "3"
253 depends on NEED_MULTIPLE_NODES
254
Kyle McMartin50a34db2006-03-24 21:24:21 -0700255source "kernel/Kconfig.preempt"
Grant Grundler8b631342005-10-21 22:52:46 -0400256source "kernel/Kconfig.hz"
Dave Hansen3f22ab22005-06-23 00:07:43 -0700257source "mm/Kconfig"
258
Linus Torvalds1da177e2005-04-16 15:20:36 -0700259config 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
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700285source "net/Kconfig"
286
Linus Torvalds1da177e2005-04-16 15:20:36 -0700287source "drivers/Kconfig"
288
289source "fs/Kconfig"
290
Linus Torvalds1da177e2005-04-16 15:20:36 -0700291source "arch/parisc/Kconfig.debug"
292
293source "security/Kconfig"
294
295source "crypto/Kconfig"
296
297source "lib/Kconfig"