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