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