blob: 524d9352f17e56a4120008d601d219590fad6a23 [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
Ingo Molnarcdd6c482009-09-21 12:02:48 +020019 select HAVE_PERF_EVENTS
Kyle McMartin64daa442009-07-02 13:10:29 -040020 select GENERIC_ATOMIC64 if !64BIT
Kyle McMartin81bf5502009-09-27 23:04:47 -040021 select HAVE_ARCH_TRACEHOOK
Linus Torvalds1da177e2005-04-16 15:20:36 -070022 help
23 The PA-RISC microprocessor is designed by Hewlett-Packard and used
24 in many of their workstations & servers (HP9000 700 and 800 series,
25 and later HP3000 series). The PA-RISC Linux project home page is
26 at <http://www.parisc-linux.org/>.
27
28config MMU
29 def_bool y
30
31config STACK_GROWSUP
32 def_bool y
33
Nick Piggin95c354f2008-01-30 13:31:20 +010034config GENERIC_LOCKBREAK
35 bool
36 default y
37 depends on SMP && PREEMPT
38
Linus Torvalds1da177e2005-04-16 15:20:36 -070039config RWSEM_GENERIC_SPINLOCK
40 def_bool y
41
42config RWSEM_XCHGADD_ALGORITHM
43 bool
44
David Howellsf0d1b0b2006-12-08 02:37:49 -080045config ARCH_HAS_ILOG2_U32
46 bool
47 default n
48
49config ARCH_HAS_ILOG2_U64
50 bool
51 default n
52
Akinobu Mita59e18a22006-03-26 01:39:31 -080053config GENERIC_FIND_NEXT_BIT
54 bool
55 default y
56
Helge Deller6891f8a2006-12-16 16:16:50 +010057config GENERIC_BUG
58 bool
59 default y
60 depends on BUG
61
Akinobu Mita59e18a22006-03-26 01:39:31 -080062config GENERIC_HWEIGHT
63 bool
64 default y
65
Linus Torvalds1da177e2005-04-16 15:20:36 -070066config GENERIC_CALIBRATE_DELAY
67 bool
68 default y
69
Helge Deller12df29b2007-01-02 23:54:16 +010070config GENERIC_TIME
71 bool
72 default y
73
Ingo Molnar06027bd2006-02-14 13:53:15 -080074config TIME_LOW_RES
75 bool
76 depends on SMP
77 default y
78
Linus Torvalds1da177e2005-04-16 15:20:36 -070079config GENERIC_HARDIRQS
80 def_bool y
81
82config GENERIC_IRQ_PROBE
83 def_bool y
84
Helge Deller548f1172009-02-06 21:50:39 +010085config HAVE_LATENCYTOP_SUPPORT
86 def_bool y
87
Ingo Molnar0d7012a2006-06-29 02:24:43 -070088config IRQ_PER_CPU
89 bool
90 default y
91
Linus Torvalds1da177e2005-04-16 15:20:36 -070092# unless you want to implement ACPI on PA-RISC ... ;-)
93config PM
94 bool
95
Helge Deller548f1172009-02-06 21:50:39 +010096config STACKTRACE_SUPPORT
97 def_bool y
98
Al Viro5cae8412005-05-04 05:39:22 +010099config ISA_DMA_API
100 bool
Al Viro5cae8412005-05-04 05:39:22 +0100101
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +0100102config ARCH_MAY_HAVE_PC_FDC
103 bool
Grant Grundler8b631342005-10-21 22:52:46 -0400104 depends on BROKEN
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +0100105 default y
106
Linus Torvalds1da177e2005-04-16 15:20:36 -0700107source "init/Kconfig"
108
Matt Helsleydc52ddc2008-10-18 20:27:21 -0700109source "kernel/Kconfig.freezer"
110
Linus Torvalds1da177e2005-04-16 15:20:36 -0700111
112menu "Processor type and features"
113
114choice
115 prompt "Processor type"
116 default PA7000
117
118config PA7000
119 bool "PA7000/PA7100"
120 ---help---
121 This is the processor type of your CPU. This information is
122 used for optimizing purposes. In order to compile a kernel
123 that can run on all 32-bit PA CPUs (albeit not optimally fast),
124 you can specify "PA7000" here.
125
126 Specifying "PA8000" here will allow you to select a 64-bit kernel
127 which is required on some machines.
128
129config PA7100LC
130 bool "PA7100LC"
131 help
132 Select this option for the PCX-L processor, as used in the
133 712, 715/64, 715/80, 715/100, 715/100XC, 725/100, 743, 748,
134 D200, D210, D300, D310 and E-class
135
136config PA7200
137 bool "PA7200"
138 help
139 Select this option for the PCX-T' processor, as used in the
140 C100, C110, J100, J110, J210XC, D250, D260, D350, D360,
141 K100, K200, K210, K220, K400, K410 and K420
142
143config PA7300LC
144 bool "PA7300LC"
145 help
146 Select this option for the PCX-L2 processor, as used in the
147 744, A180, B132L, B160L, B180L, C132L, C160L, C180L,
148 D220, D230, D320 and D330.
149
150config PA8X00
151 bool "PA8000 and up"
152 help
153 Select this option for PCX-U to PCX-W2 processors.
154
155endchoice
156
157# Define implied options from the CPU selection here
158
159config PA20
160 def_bool y
161 depends on PA8X00
162
163config PA11
164 def_bool y
165 depends on PA7000 || PA7100LC || PA7200 || PA7300LC
166
167config PREFETCH
168 def_bool y
Kyle McMartin32104b22006-08-13 20:37:26 -0400169 depends on PA8X00 || PA7200
Linus Torvalds1da177e2005-04-16 15:20:36 -0700170
171config 64BIT
172 bool "64-bit kernel"
173 depends on PA8X00
174 help
175 Enable this if you want to support 64bit kernel on PA-RISC platform.
176
177 At the moment, only people willing to use more than 2GB of RAM,
178 or having a 64bit-only capable PA-RISC machine should say Y here.
179
180 Since there is no 64bit userland on PA-RISC, there is no point to
181 enable this option otherwise. The 64bit kernel is significantly bigger
182 and slower than the 32bit one.
183
Helge Deller2fd83032006-04-20 20:40:23 +0000184choice
185 prompt "Kernel page size"
186 default PARISC_PAGE_SIZE_4KB if !64BIT
187 default PARISC_PAGE_SIZE_4KB if 64BIT
188# default PARISC_PAGE_SIZE_16KB if 64BIT
189
190config PARISC_PAGE_SIZE_4KB
191 bool "4KB"
192 help
193 This lets you select the page size of the kernel. For best
194 performance, a page size of 16KB is recommended. For best
195 compatibility with 32bit applications, a page size of 4KB should be
196 selected (the vast majority of 32bit binaries work perfectly fine
197 with a larger page size).
198
199 4KB For best 32bit compatibility
200 16KB For best performance
201 64KB For best performance, might give more overhead.
202
203 If you don't know what to do, choose 4KB.
204
205config PARISC_PAGE_SIZE_16KB
206 bool "16KB (EXPERIMENTAL)"
207 depends on PA8X00 && EXPERIMENTAL
208
209config PARISC_PAGE_SIZE_64KB
210 bool "64KB (EXPERIMENTAL)"
211 depends on PA8X00 && EXPERIMENTAL
212
213endchoice
214
Linus Torvalds1da177e2005-04-16 15:20:36 -0700215config SMP
216 bool "Symmetric multi-processing support"
Jens Axboedbcf4782008-06-10 20:50:56 +0200217 select USE_GENERIC_SMP_HELPERS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700218 ---help---
219 This enables support for systems with more than one CPU. If you have
220 a system with only one CPU, like most personal computers, say N. If
221 you have a system with more than one CPU, say Y.
222
223 If you say N here, the kernel will run on single and multiprocessor
224 machines, but will use only one CPU of a multiprocessor machine. If
225 you say Y here, the kernel will run on many, but not all,
226 singleprocessor machines. On a singleprocessor machine, the kernel
227 will run faster if you say N here.
228
Adrian Bunk03502fa2008-02-03 15:50:21 +0200229 See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
230 available at <http://www.tldp.org/docs.html#howto>.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700231
232 If you don't know what to do here, say N.
233
234config HOTPLUG_CPU
235 bool
236 default y if SMP
237 select HOTPLUG
238
Kyle McMartina2ba82c2006-01-27 23:59:36 -0700239config ARCH_SELECT_MEMORY_MODEL
240 def_bool y
241 depends on 64BIT
242
Dave Hansen3f22ab22005-06-23 00:07:43 -0700243config ARCH_DISCONTIGMEM_ENABLE
Kyle McMartina2ba82c2006-01-27 23:59:36 -0700244 def_bool y
245 depends on 64BIT
246
247config ARCH_FLATMEM_ENABLE
248 def_bool y
249
250config ARCH_DISCONTIGMEM_DEFAULT
251 def_bool y
252 depends on ARCH_DISCONTIGMEM_ENABLE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700253
Yasunori Gotoc80d79d2006-04-10 22:53:53 -0700254config NODES_SHIFT
255 int
256 default "3"
257 depends on NEED_MULTIPLE_NODES
258
Kyle McMartin50a34db2006-03-24 21:24:21 -0700259source "kernel/Kconfig.preempt"
Grant Grundler8b631342005-10-21 22:52:46 -0400260source "kernel/Kconfig.hz"
Dave Hansen3f22ab22005-06-23 00:07:43 -0700261source "mm/Kconfig"
262
Linus Torvalds1da177e2005-04-16 15:20:36 -0700263config COMPAT
264 def_bool y
265 depends on 64BIT
266
267config HPUX
268 bool "Support for HP-UX binaries"
269 depends on !64BIT
270
271config NR_CPUS
272 int "Maximum number of CPUs (2-32)"
273 range 2 32
274 depends on SMP
275 default "32"
276
277endmenu
278
279
280source "drivers/parisc/Kconfig"
281
282
283menu "Executable file formats"
284
285source "fs/Kconfig.binfmt"
286
287endmenu
288
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700289source "net/Kconfig"
290
Linus Torvalds1da177e2005-04-16 15:20:36 -0700291source "drivers/Kconfig"
292
293source "fs/Kconfig"
294
Linus Torvalds1da177e2005-04-16 15:20:36 -0700295source "arch/parisc/Kconfig.debug"
296
297source "security/Kconfig"
298
299source "crypto/Kconfig"
300
301source "lib/Kconfig"