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