Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | # |
2 | # For a description of the syntax of this configuration file, | |
3 | # see Documentation/kbuild/kconfig-language.txt. | |
4 | # | |
5 | ||
6 | mainmenu "Linux Kernel Configuration" | |
7 | ||
8 | config X86 | |
9 | bool | |
10 | default y | |
11 | help | |
12 | This is Linux's home port. Linux was originally native to the Intel | |
13 | 386, and runs on all the later x86 processors including the Intel | |
14 | 486, 586, Pentiums, and various instruction-set-compatible chips by | |
15 | AMD, Cyrix, and others. | |
16 | ||
17 | config MMU | |
18 | bool | |
19 | default y | |
20 | ||
21 | config SBUS | |
22 | bool | |
23 | ||
24 | config UID16 | |
25 | bool | |
26 | default y | |
27 | ||
28 | config GENERIC_ISA_DMA | |
29 | bool | |
30 | default y | |
31 | ||
32 | config GENERIC_IOMAP | |
33 | bool | |
34 | default y | |
35 | ||
36 | source "init/Kconfig" | |
37 | ||
38 | menu "Processor type and features" | |
39 | ||
40 | choice | |
41 | prompt "Subarchitecture Type" | |
42 | default X86_PC | |
43 | ||
44 | config X86_PC | |
45 | bool "PC-compatible" | |
46 | help | |
47 | Choose this option if your computer is a standard PC or compatible. | |
48 | ||
49 | config X86_ELAN | |
50 | bool "AMD Elan" | |
51 | help | |
52 | Select this for an AMD Elan processor. | |
53 | ||
54 | Do not use this option for K6/Athlon/Opteron processors! | |
55 | ||
56 | If unsure, choose "PC-compatible" instead. | |
57 | ||
58 | config X86_VOYAGER | |
59 | bool "Voyager (NCR)" | |
60 | help | |
61 | Voyager is an MCA-based 32-way capable SMP architecture proprietary | |
62 | to NCR Corp. Machine classes 345x/35xx/4100/51xx are Voyager-based. | |
63 | ||
64 | *** WARNING *** | |
65 | ||
66 | If you do not specifically know you have a Voyager based machine, | |
67 | say N here, otherwise the kernel you build will not be bootable. | |
68 | ||
69 | config X86_NUMAQ | |
70 | bool "NUMAQ (IBM/Sequent)" | |
71 | select DISCONTIGMEM | |
72 | select NUMA | |
73 | help | |
74 | This option is used for getting Linux to run on a (IBM/Sequent) NUMA | |
75 | multiquad box. This changes the way that processors are bootstrapped, | |
76 | and uses Clustered Logical APIC addressing mode instead of Flat Logical. | |
77 | You will need a new lynxer.elf file to flash your firmware with - send | |
78 | email to <Martin.Bligh@us.ibm.com>. | |
79 | ||
80 | config X86_SUMMIT | |
81 | bool "Summit/EXA (IBM x440)" | |
82 | depends on SMP | |
83 | help | |
84 | This option is needed for IBM systems that use the Summit/EXA chipset. | |
85 | In particular, it is needed for the x440. | |
86 | ||
87 | If you don't have one of these computers, you should say N here. | |
88 | ||
89 | config X86_BIGSMP | |
90 | bool "Support for other sub-arch SMP systems with more than 8 CPUs" | |
91 | depends on SMP | |
92 | help | |
93 | This option is needed for the systems that have more than 8 CPUs | |
94 | and if the system is not of any sub-arch type above. | |
95 | ||
96 | If you don't have such a system, you should say N here. | |
97 | ||
98 | config X86_VISWS | |
99 | bool "SGI 320/540 (Visual Workstation)" | |
100 | help | |
101 | The SGI Visual Workstation series is an IA32-based workstation | |
102 | based on SGI systems chips with some legacy PC hardware attached. | |
103 | ||
104 | Say Y here to create a kernel to run on the SGI 320 or 540. | |
105 | ||
106 | A kernel compiled for the Visual Workstation will not run on PCs | |
107 | and vice versa. See <file:Documentation/sgi-visws.txt> for details. | |
108 | ||
109 | config X86_GENERICARCH | |
110 | bool "Generic architecture (Summit, bigsmp, ES7000, default)" | |
111 | depends on SMP | |
112 | help | |
113 | This option compiles in the Summit, bigsmp, ES7000, default subarchitectures. | |
114 | It is intended for a generic binary kernel. | |
115 | ||
116 | config X86_ES7000 | |
117 | bool "Support for Unisys ES7000 IA32 series" | |
118 | depends on SMP | |
119 | help | |
120 | Support for Unisys ES7000 systems. Say 'Y' here if this kernel is | |
121 | supposed to run on an IA32-based Unisys ES7000 system. | |
122 | Only choose this option if you have such a system, otherwise you | |
123 | should say N here. | |
124 | ||
125 | endchoice | |
126 | ||
127 | config ACPI_SRAT | |
128 | bool | |
129 | default y | |
130 | depends on NUMA && (X86_SUMMIT || X86_GENERICARCH) | |
131 | ||
132 | config X86_SUMMIT_NUMA | |
133 | bool | |
134 | default y | |
135 | depends on NUMA && (X86_SUMMIT || X86_GENERICARCH) | |
136 | ||
137 | config X86_CYCLONE_TIMER | |
138 | bool | |
139 | default y | |
140 | depends on X86_SUMMIT || X86_GENERICARCH | |
141 | ||
142 | config ES7000_CLUSTERED_APIC | |
143 | bool | |
144 | default y | |
145 | depends on SMP && X86_ES7000 && MPENTIUMIII | |
146 | ||
147 | if !X86_ELAN | |
148 | ||
149 | choice | |
150 | prompt "Processor family" | |
151 | default M686 | |
152 | ||
153 | config M386 | |
154 | bool "386" | |
155 | ---help--- | |
156 | This is the processor type of your CPU. This information is used for | |
157 | optimizing purposes. In order to compile a kernel that can run on | |
158 | all x86 CPU types (albeit not optimally fast), you can specify | |
159 | "386" here. | |
160 | ||
161 | The kernel will not necessarily run on earlier architectures than | |
162 | the one you have chosen, e.g. a Pentium optimized kernel will run on | |
163 | a PPro, but not necessarily on a i486. | |
164 | ||
165 | Here are the settings recommended for greatest speed: | |
166 | - "386" for the AMD/Cyrix/Intel 386DX/DXL/SL/SLC/SX, Cyrix/TI | |
167 | 486DLC/DLC2, UMC 486SX-S and NexGen Nx586. Only "386" kernels | |
168 | will run on a 386 class machine. | |
169 | - "486" for the AMD/Cyrix/IBM/Intel 486DX/DX2/DX4 or | |
170 | SL/SLC/SLC2/SLC3/SX/SX2 and UMC U5D or U5S. | |
171 | - "586" for generic Pentium CPUs lacking the TSC | |
172 | (time stamp counter) register. | |
173 | - "Pentium-Classic" for the Intel Pentium. | |
174 | - "Pentium-MMX" for the Intel Pentium MMX. | |
175 | - "Pentium-Pro" for the Intel Pentium Pro. | |
176 | - "Pentium-II" for the Intel Pentium II or pre-Coppermine Celeron. | |
177 | - "Pentium-III" for the Intel Pentium III or Coppermine Celeron. | |
178 | - "Pentium-4" for the Intel Pentium 4 or P4-based Celeron. | |
179 | - "K6" for the AMD K6, K6-II and K6-III (aka K6-3D). | |
180 | - "Athlon" for the AMD K7 family (Athlon/Duron/Thunderbird). | |
181 | - "Crusoe" for the Transmeta Crusoe series. | |
182 | - "Efficeon" for the Transmeta Efficeon series. | |
183 | - "Winchip-C6" for original IDT Winchip. | |
184 | - "Winchip-2" for IDT Winchip 2. | |
185 | - "Winchip-2A" for IDT Winchips with 3dNow! capabilities. | |
47137419 | 186 | - "GeodeGX1" for Geode GX1 (Cyrix MediaGX). |
1da177e4 LT |
187 | - "CyrixIII/VIA C3" for VIA Cyrix III or VIA C3. |
188 | - "VIA C3-2 for VIA C3-2 "Nehemiah" (model 9 and above). | |
189 | ||
190 | If you don't know what to do, choose "386". | |
191 | ||
192 | config M486 | |
193 | bool "486" | |
194 | help | |
195 | Select this for a 486 series processor, either Intel or one of the | |
196 | compatible processors from AMD, Cyrix, IBM, or Intel. Includes DX, | |
197 | DX2, and DX4 variants; also SL/SLC/SLC2/SLC3/SX/SX2 and UMC U5D or | |
198 | U5S. | |
199 | ||
200 | config M586 | |
201 | bool "586/K5/5x86/6x86/6x86MX" | |
202 | help | |
203 | Select this for an 586 or 686 series processor such as the AMD K5, | |
204 | the Cyrix 5x86, 6x86 and 6x86MX. This choice does not | |
205 | assume the RDTSC (Read Time Stamp Counter) instruction. | |
206 | ||
207 | config M586TSC | |
208 | bool "Pentium-Classic" | |
209 | help | |
210 | Select this for a Pentium Classic processor with the RDTSC (Read | |
211 | Time Stamp Counter) instruction for benchmarking. | |
212 | ||
213 | config M586MMX | |
214 | bool "Pentium-MMX" | |
215 | help | |
216 | Select this for a Pentium with the MMX graphics/multimedia | |
217 | extended instructions. | |
218 | ||
219 | config M686 | |
220 | bool "Pentium-Pro" | |
221 | help | |
222 | Select this for Intel Pentium Pro chips. This enables the use of | |
223 | Pentium Pro extended instructions, and disables the init-time guard | |
224 | against the f00f bug found in earlier Pentiums. | |
225 | ||
226 | config MPENTIUMII | |
227 | bool "Pentium-II/Celeron(pre-Coppermine)" | |
228 | help | |
229 | Select this for Intel chips based on the Pentium-II and | |
230 | pre-Coppermine Celeron core. This option enables an unaligned | |
231 | copy optimization, compiles the kernel with optimization flags | |
232 | tailored for the chip, and applies any applicable Pentium Pro | |
233 | optimizations. | |
234 | ||
235 | config MPENTIUMIII | |
236 | bool "Pentium-III/Celeron(Coppermine)/Pentium-III Xeon" | |
237 | help | |
238 | Select this for Intel chips based on the Pentium-III and | |
239 | Celeron-Coppermine core. This option enables use of some | |
240 | extended prefetch instructions in addition to the Pentium II | |
241 | extensions. | |
242 | ||
243 | config MPENTIUMM | |
244 | bool "Pentium M" | |
245 | help | |
246 | Select this for Intel Pentium M (not Pentium-4 M) | |
247 | notebook chips. | |
248 | ||
249 | config MPENTIUM4 | |
250 | bool "Pentium-4/Celeron(P4-based)/Pentium-4 M/Xeon" | |
251 | help | |
252 | Select this for Intel Pentium 4 chips. This includes the | |
253 | Pentium 4, P4-based Celeron and Xeon, and Pentium-4 M | |
254 | (not Pentium M) chips. This option enables compile flags | |
255 | optimized for the chip, uses the correct cache shift, and | |
256 | applies any applicable Pentium III optimizations. | |
257 | ||
258 | config MK6 | |
259 | bool "K6/K6-II/K6-III" | |
260 | help | |
261 | Select this for an AMD K6-family processor. Enables use of | |
262 | some extended instructions, and passes appropriate optimization | |
263 | flags to GCC. | |
264 | ||
265 | config MK7 | |
266 | bool "Athlon/Duron/K7" | |
267 | help | |
268 | Select this for an AMD Athlon K7-family processor. Enables use of | |
269 | some extended instructions, and passes appropriate optimization | |
270 | flags to GCC. | |
271 | ||
272 | config MK8 | |
273 | bool "Opteron/Athlon64/Hammer/K8" | |
274 | help | |
275 | Select this for an AMD Opteron or Athlon64 Hammer-family processor. Enables | |
276 | use of some extended instructions, and passes appropriate optimization | |
277 | flags to GCC. | |
278 | ||
279 | config MCRUSOE | |
280 | bool "Crusoe" | |
281 | help | |
282 | Select this for a Transmeta Crusoe processor. Treats the processor | |
283 | like a 586 with TSC, and sets some GCC optimization flags (like a | |
284 | Pentium Pro with no alignment requirements). | |
285 | ||
286 | config MEFFICEON | |
287 | bool "Efficeon" | |
288 | help | |
289 | Select this for a Transmeta Efficeon processor. | |
290 | ||
291 | config MWINCHIPC6 | |
292 | bool "Winchip-C6" | |
293 | help | |
294 | Select this for an IDT Winchip C6 chip. Linux and GCC | |
295 | treat this chip as a 586TSC with some extended instructions | |
296 | and alignment requirements. | |
297 | ||
298 | config MWINCHIP2 | |
299 | bool "Winchip-2" | |
300 | help | |
301 | Select this for an IDT Winchip-2. Linux and GCC | |
302 | treat this chip as a 586TSC with some extended instructions | |
303 | and alignment requirements. | |
304 | ||
305 | config MWINCHIP3D | |
306 | bool "Winchip-2A/Winchip-3" | |
307 | help | |
308 | Select this for an IDT Winchip-2A or 3. Linux and GCC | |
309 | treat this chip as a 586TSC with some extended instructions | |
310 | and alignment reqirements. Also enable out of order memory | |
311 | stores for this CPU, which can increase performance of some | |
312 | operations. | |
313 | ||
47137419 KSK |
314 | config MGEODEGX1 |
315 | bool "GeodeGX1" | |
1da177e4 | 316 | help |
47137419 | 317 | Select this for a Geode GX1 (Cyrix MediaGX) chip. |
1da177e4 LT |
318 | |
319 | config MCYRIXIII | |
320 | bool "CyrixIII/VIA-C3" | |
321 | help | |
322 | Select this for a Cyrix III or C3 chip. Presently Linux and GCC | |
323 | treat this chip as a generic 586. Whilst the CPU is 686 class, | |
324 | it lacks the cmov extension which gcc assumes is present when | |
325 | generating 686 code. | |
326 | Note that Nehemiah (Model 9) and above will not boot with this | |
327 | kernel due to them lacking the 3DNow! instructions used in earlier | |
328 | incarnations of the CPU. | |
329 | ||
330 | config MVIAC3_2 | |
331 | bool "VIA C3-2 (Nehemiah)" | |
332 | help | |
333 | Select this for a VIA C3 "Nehemiah". Selecting this enables usage | |
334 | of SSE and tells gcc to treat the CPU as a 686. | |
335 | Note, this kernel will not boot on older (pre model 9) C3s. | |
336 | ||
337 | endchoice | |
338 | ||
339 | config X86_GENERIC | |
340 | bool "Generic x86 support" | |
341 | help | |
342 | Instead of just including optimizations for the selected | |
343 | x86 variant (e.g. PII, Crusoe or Athlon), include some more | |
344 | generic optimizations as well. This will make the kernel | |
345 | perform better on x86 CPUs other than that selected. | |
346 | ||
347 | This is really intended for distributors who need more | |
348 | generic optimizations. | |
349 | ||
350 | endif | |
351 | ||
352 | # | |
353 | # Define implied options from the CPU selection here | |
354 | # | |
355 | config X86_CMPXCHG | |
356 | bool | |
357 | depends on !M386 | |
358 | default y | |
359 | ||
360 | config X86_XADD | |
361 | bool | |
362 | depends on !M386 | |
363 | default y | |
364 | ||
365 | config X86_L1_CACHE_SHIFT | |
366 | int | |
367 | default "7" if MPENTIUM4 || X86_GENERIC | |
368 | default "4" if X86_ELAN || M486 || M386 | |
47137419 | 369 | default "5" if MWINCHIP3D || MWINCHIP2 || MWINCHIPC6 || MCRUSOE || MEFFICEON || MCYRIXIII || MK6 || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || M586TSC || M586 || MVIAC3_2 || MGEODEGX1 |
1da177e4 LT |
370 | default "6" if MK7 || MK8 || MPENTIUMM |
371 | ||
372 | config RWSEM_GENERIC_SPINLOCK | |
373 | bool | |
374 | depends on M386 | |
375 | default y | |
376 | ||
377 | config RWSEM_XCHGADD_ALGORITHM | |
378 | bool | |
379 | depends on !M386 | |
380 | default y | |
381 | ||
382 | config GENERIC_CALIBRATE_DELAY | |
383 | bool | |
384 | default y | |
385 | ||
386 | config X86_PPRO_FENCE | |
387 | bool | |
47137419 | 388 | depends on M686 || M586MMX || M586TSC || M586 || M486 || M386 || MGEODEGX1 |
1da177e4 LT |
389 | default y |
390 | ||
391 | config X86_F00F_BUG | |
392 | bool | |
393 | depends on M586MMX || M586TSC || M586 || M486 || M386 | |
394 | default y | |
395 | ||
396 | config X86_WP_WORKS_OK | |
397 | bool | |
398 | depends on !M386 | |
399 | default y | |
400 | ||
401 | config X86_INVLPG | |
402 | bool | |
403 | depends on !M386 | |
404 | default y | |
405 | ||
406 | config X86_BSWAP | |
407 | bool | |
408 | depends on !M386 | |
409 | default y | |
410 | ||
411 | config X86_POPAD_OK | |
412 | bool | |
413 | depends on !M386 | |
414 | default y | |
415 | ||
416 | config X86_ALIGNMENT_16 | |
417 | bool | |
47137419 | 418 | depends on MWINCHIP3D || MWINCHIP2 || MWINCHIPC6 || MCYRIXIII || X86_ELAN || MK6 || M586MMX || M586TSC || M586 || M486 || MVIAC3_2 || MGEODEGX1 |
1da177e4 LT |
419 | default y |
420 | ||
421 | config X86_GOOD_APIC | |
422 | bool | |
423 | depends on MK7 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || MK8 || MEFFICEON | |
424 | default y | |
425 | ||
426 | config X86_INTEL_USERCOPY | |
427 | bool | |
428 | depends on MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M586MMX || X86_GENERIC || MK8 || MK7 || MEFFICEON | |
429 | default y | |
430 | ||
431 | config X86_USE_PPRO_CHECKSUM | |
432 | bool | |
433 | depends on MWINCHIP3D || MWINCHIP2 || MWINCHIPC6 || MCYRIXIII || MK7 || MK6 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || MK8 || MVIAC3_2 || MEFFICEON | |
434 | default y | |
435 | ||
436 | config X86_USE_3DNOW | |
437 | bool | |
438 | depends on MCYRIXIII || MK7 | |
439 | default y | |
440 | ||
441 | config X86_OOSTORE | |
442 | bool | |
47137419 | 443 | depends on (MWINCHIP3D || MWINCHIP2 || MWINCHIPC6) && MTRR |
1da177e4 LT |
444 | default y |
445 | ||
446 | config HPET_TIMER | |
447 | bool "HPET Timer Support" | |
448 | help | |
449 | This enables the use of the HPET for the kernel's internal timer. | |
450 | HPET is the next generation timer replacing legacy 8254s. | |
451 | You can safely choose Y here. However, HPET will only be | |
452 | activated if the platform and the BIOS support this feature. | |
453 | Otherwise the 8254 will be used for timing services. | |
454 | ||
455 | Choose N to continue using the legacy 8254 timer. | |
456 | ||
457 | config HPET_EMULATE_RTC | |
458 | bool "Provide RTC interrupt" | |
459 | depends on HPET_TIMER && RTC=y | |
460 | ||
461 | config SMP | |
462 | bool "Symmetric multi-processing support" | |
463 | ---help--- | |
464 | This enables support for systems with more than one CPU. If you have | |
465 | a system with only one CPU, like most personal computers, say N. If | |
466 | you have a system with more than one CPU, say Y. | |
467 | ||
468 | If you say N here, the kernel will run on single and multiprocessor | |
469 | machines, but will use only one CPU of a multiprocessor machine. If | |
470 | you say Y here, the kernel will run on many, but not all, | |
471 | singleprocessor machines. On a singleprocessor machine, the kernel | |
472 | will run faster if you say N here. | |
473 | ||
474 | Note that if you say Y here and choose architecture "586" or | |
475 | "Pentium" under "Processor family", the kernel will not work on 486 | |
476 | architectures. Similarly, multiprocessor kernels for the "PPro" | |
477 | architecture may not work on all Pentium based boards. | |
478 | ||
479 | People using multiprocessor machines who say Y here should also say | |
480 | Y to "Enhanced Real Time Clock Support", below. The "Advanced Power | |
481 | Management" code will be disabled if you say Y here. | |
482 | ||
483 | See also the <file:Documentation/smp.txt>, | |
484 | <file:Documentation/i386/IO-APIC.txt>, | |
485 | <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at | |
486 | <http://www.tldp.org/docs.html#howto>. | |
487 | ||
488 | If you don't know what to do here, say N. | |
489 | ||
490 | config NR_CPUS | |
491 | int "Maximum number of CPUs (2-255)" | |
492 | range 2 255 | |
493 | depends on SMP | |
494 | default "32" if X86_NUMAQ || X86_SUMMIT || X86_BIGSMP || X86_ES7000 | |
495 | default "8" | |
496 | help | |
497 | This allows you to specify the maximum number of CPUs which this | |
498 | kernel will support. The maximum supported value is 255 and the | |
499 | minimum value which makes sense is 2. | |
500 | ||
501 | This is purely to save memory - each supported CPU adds | |
502 | approximately eight kilobytes to the kernel image. | |
503 | ||
504 | config SCHED_SMT | |
505 | bool "SMT (Hyperthreading) scheduler support" | |
506 | depends on SMP | |
507 | default off | |
508 | help | |
509 | SMT scheduler support improves the CPU scheduler's decision making | |
510 | when dealing with Intel Pentium 4 chips with HyperThreading at a | |
511 | cost of slightly increased overhead in some places. If unsure say | |
512 | N here. | |
513 | ||
514 | config PREEMPT | |
515 | bool "Preemptible Kernel" | |
516 | help | |
517 | This option reduces the latency of the kernel when reacting to | |
518 | real-time or interactive events by allowing a low priority process to | |
519 | be preempted even if it is in kernel mode executing a system call. | |
520 | This allows applications to run more reliably even when the system is | |
521 | under load. | |
522 | ||
523 | Say Y here if you are building a kernel for a desktop, embedded | |
524 | or real-time system. Say N if you are unsure. | |
525 | ||
526 | config PREEMPT_BKL | |
527 | bool "Preempt The Big Kernel Lock" | |
528 | depends on PREEMPT | |
529 | default y | |
530 | help | |
531 | This option reduces the latency of the kernel by making the | |
532 | big kernel lock preemptible. | |
533 | ||
534 | Say Y here if you are building a kernel for a desktop system. | |
535 | Say N if you are unsure. | |
536 | ||
537 | config X86_UP_APIC | |
538 | bool "Local APIC support on uniprocessors" | |
539 | depends on !SMP && !(X86_VISWS || X86_VOYAGER) | |
540 | help | |
541 | A local APIC (Advanced Programmable Interrupt Controller) is an | |
542 | integrated interrupt controller in the CPU. If you have a single-CPU | |
543 | system which has a processor with a local APIC, you can say Y here to | |
544 | enable and use it. If you say Y here even though your machine doesn't | |
545 | have a local APIC, then the kernel will still run with no slowdown at | |
546 | all. The local APIC supports CPU-generated self-interrupts (timer, | |
547 | performance counters), and the NMI watchdog which detects hard | |
548 | lockups. | |
549 | ||
550 | config X86_UP_IOAPIC | |
551 | bool "IO-APIC support on uniprocessors" | |
552 | depends on X86_UP_APIC | |
553 | help | |
554 | An IO-APIC (I/O Advanced Programmable Interrupt Controller) is an | |
555 | SMP-capable replacement for PC-style interrupt controllers. Most | |
556 | SMP systems and many recent uniprocessor systems have one. | |
557 | ||
558 | If you have a single-CPU system with an IO-APIC, you can say Y here | |
559 | to use it. If you say Y here even though your machine doesn't have | |
560 | an IO-APIC, then the kernel will still run with no slowdown at all. | |
561 | ||
562 | config X86_LOCAL_APIC | |
563 | bool | |
564 | depends on X86_UP_APIC || ((X86_VISWS || SMP) && !X86_VOYAGER) | |
565 | default y | |
566 | ||
567 | config X86_IO_APIC | |
568 | bool | |
569 | depends on X86_UP_IOAPIC || (SMP && !(X86_VISWS || X86_VOYAGER)) | |
570 | default y | |
571 | ||
572 | config X86_VISWS_APIC | |
573 | bool | |
574 | depends on X86_VISWS | |
575 | default y | |
576 | ||
577 | config X86_TSC | |
578 | bool | |
47137419 | 579 | depends on (MWINCHIP3D || MWINCHIP2 || MCRUSOE || MEFFICEON || MCYRIXIII || MK7 || MK6 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || M586TSC || MK8 || MVIAC3_2 || MGEODEGX1) && !X86_NUMAQ |
1da177e4 LT |
580 | default y |
581 | ||
582 | config X86_MCE | |
583 | bool "Machine Check Exception" | |
584 | depends on !X86_VOYAGER | |
585 | ---help--- | |
586 | Machine Check Exception support allows the processor to notify the | |
587 | kernel if it detects a problem (e.g. overheating, component failure). | |
588 | The action the kernel takes depends on the severity of the problem, | |
589 | ranging from a warning message on the console, to halting the machine. | |
590 | Your processor must be a Pentium or newer to support this - check the | |
591 | flags in /proc/cpuinfo for mce. Note that some older Pentium systems | |
592 | have a design flaw which leads to false MCE events - hence MCE is | |
593 | disabled on all P5 processors, unless explicitly enabled with "mce" | |
594 | as a boot argument. Similarly, if MCE is built in and creates a | |
595 | problem on some new non-standard machine, you can boot with "nomce" | |
596 | to disable it. MCE support simply ignores non-MCE processors like | |
597 | the 386 and 486, so nearly everyone can say Y here. | |
598 | ||
599 | config X86_MCE_NONFATAL | |
600 | tristate "Check for non-fatal errors on AMD Athlon/Duron / Intel Pentium 4" | |
601 | depends on X86_MCE | |
602 | help | |
603 | Enabling this feature starts a timer that triggers every 5 seconds which | |
604 | will look at the machine check registers to see if anything happened. | |
605 | Non-fatal problems automatically get corrected (but still logged). | |
606 | Disable this if you don't want to see these messages. | |
607 | Seeing the messages this option prints out may be indicative of dying hardware, | |
608 | or out-of-spec (ie, overclocked) hardware. | |
609 | This option only does something on certain CPUs. | |
610 | (AMD Athlon/Duron and Intel Pentium 4) | |
611 | ||
612 | config X86_MCE_P4THERMAL | |
613 | bool "check for P4 thermal throttling interrupt." | |
614 | depends on X86_MCE && (X86_UP_APIC || SMP) && !X86_VISWS | |
615 | help | |
616 | Enabling this feature will cause a message to be printed when the P4 | |
617 | enters thermal throttling. | |
618 | ||
619 | config TOSHIBA | |
620 | tristate "Toshiba Laptop support" | |
621 | ---help--- | |
622 | This adds a driver to safely access the System Management Mode of | |
623 | the CPU on Toshiba portables with a genuine Toshiba BIOS. It does | |
624 | not work on models with a Phoenix BIOS. The System Management Mode | |
625 | is used to set the BIOS and power saving options on Toshiba portables. | |
626 | ||
627 | For information on utilities to make use of this driver see the | |
628 | Toshiba Linux utilities web site at: | |
629 | <http://www.buzzard.org.uk/toshiba/>. | |
630 | ||
631 | Say Y if you intend to run this kernel on a Toshiba portable. | |
632 | Say N otherwise. | |
633 | ||
634 | config I8K | |
635 | tristate "Dell laptop support" | |
636 | ---help--- | |
637 | This adds a driver to safely access the System Management Mode | |
638 | of the CPU on the Dell Inspiron 8000. The System Management Mode | |
639 | is used to read cpu temperature and cooling fan status and to | |
640 | control the fans on the I8K portables. | |
641 | ||
642 | This driver has been tested only on the Inspiron 8000 but it may | |
643 | also work with other Dell laptops. You can force loading on other | |
644 | models by passing the parameter `force=1' to the module. Use at | |
645 | your own risk. | |
646 | ||
647 | For information on utilities to make use of this driver see the | |
648 | I8K Linux utilities web site at: | |
649 | <http://people.debian.org/~dz/i8k/> | |
650 | ||
651 | Say Y if you intend to run this kernel on a Dell Inspiron 8000. | |
652 | Say N otherwise. | |
653 | ||
a2f7c354 JK |
654 | config X86_REBOOTFIXUPS |
655 | bool "Enable X86 board specific fixups for reboot" | |
656 | depends on X86 | |
657 | default n | |
658 | ---help--- | |
659 | This enables chipset and/or board specific fixups to be done | |
660 | in order to get reboot to work correctly. This is only needed on | |
661 | some combinations of hardware and BIOS. The symptom, for which | |
662 | this config is intended, is when reboot ends with a stalled/hung | |
663 | system. | |
664 | ||
665 | Currently, the only fixup is for the Geode GX1/CS5530A/TROM2.1. | |
666 | combination. | |
667 | ||
668 | Say Y if you want to enable the fixup. Currently, it's safe to | |
669 | enable this option even if you don't need it. | |
670 | Say N otherwise. | |
671 | ||
1da177e4 LT |
672 | config MICROCODE |
673 | tristate "/dev/cpu/microcode - Intel IA32 CPU microcode support" | |
674 | ---help--- | |
675 | If you say Y here and also to "/dev file system support" in the | |
676 | 'File systems' section, you will be able to update the microcode on | |
677 | Intel processors in the IA32 family, e.g. Pentium Pro, Pentium II, | |
678 | Pentium III, Pentium 4, Xeon etc. You will obviously need the | |
679 | actual microcode binary data itself which is not shipped with the | |
680 | Linux kernel. | |
681 | ||
682 | For latest news and information on obtaining all the required | |
683 | ingredients for this driver, check: | |
684 | <http://www.urbanmyth.org/microcode/>. | |
685 | ||
686 | To compile this driver as a module, choose M here: the | |
687 | module will be called microcode. | |
688 | ||
689 | config X86_MSR | |
690 | tristate "/dev/cpu/*/msr - Model-specific register support" | |
691 | help | |
692 | This device gives privileged processes access to the x86 | |
693 | Model-Specific Registers (MSRs). It is a character device with | |
694 | major 202 and minors 0 to 31 for /dev/cpu/0/msr to /dev/cpu/31/msr. | |
695 | MSR accesses are directed to a specific CPU on multi-processor | |
696 | systems. | |
697 | ||
698 | config X86_CPUID | |
699 | tristate "/dev/cpu/*/cpuid - CPU information support" | |
700 | help | |
701 | This device gives processes access to the x86 CPUID instruction to | |
702 | be executed on a specific processor. It is a character device | |
703 | with major 203 and minors 0 to 31 for /dev/cpu/0/cpuid to | |
704 | /dev/cpu/31/cpuid. | |
705 | ||
706 | source "drivers/firmware/Kconfig" | |
707 | ||
708 | choice | |
709 | prompt "High Memory Support" | |
710 | default NOHIGHMEM | |
711 | ||
712 | config NOHIGHMEM | |
713 | bool "off" | |
714 | ---help--- | |
715 | Linux can use up to 64 Gigabytes of physical memory on x86 systems. | |
716 | However, the address space of 32-bit x86 processors is only 4 | |
717 | Gigabytes large. That means that, if you have a large amount of | |
718 | physical memory, not all of it can be "permanently mapped" by the | |
719 | kernel. The physical memory that's not permanently mapped is called | |
720 | "high memory". | |
721 | ||
722 | If you are compiling a kernel which will never run on a machine with | |
723 | more than 1 Gigabyte total physical RAM, answer "off" here (default | |
724 | choice and suitable for most users). This will result in a "3GB/1GB" | |
725 | split: 3GB are mapped so that each process sees a 3GB virtual memory | |
726 | space and the remaining part of the 4GB virtual memory space is used | |
727 | by the kernel to permanently map as much physical memory as | |
728 | possible. | |
729 | ||
730 | If the machine has between 1 and 4 Gigabytes physical RAM, then | |
731 | answer "4GB" here. | |
732 | ||
733 | If more than 4 Gigabytes is used then answer "64GB" here. This | |
734 | selection turns Intel PAE (Physical Address Extension) mode on. | |
735 | PAE implements 3-level paging on IA32 processors. PAE is fully | |
736 | supported by Linux, PAE mode is implemented on all recent Intel | |
737 | processors (Pentium Pro and better). NOTE: If you say "64GB" here, | |
738 | then the kernel will not boot on CPUs that don't support PAE! | |
739 | ||
740 | The actual amount of total physical memory will either be | |
741 | auto detected or can be forced by using a kernel command line option | |
742 | such as "mem=256M". (Try "man bootparam" or see the documentation of | |
743 | your boot loader (lilo or loadlin) about how to pass options to the | |
744 | kernel at boot time.) | |
745 | ||
746 | If unsure, say "off". | |
747 | ||
748 | config HIGHMEM4G | |
749 | bool "4GB" | |
750 | help | |
751 | Select this if you have a 32-bit processor and between 1 and 4 | |
752 | gigabytes of physical RAM. | |
753 | ||
754 | config HIGHMEM64G | |
755 | bool "64GB" | |
756 | help | |
757 | Select this if you have a 32-bit processor and more than 4 | |
758 | gigabytes of physical RAM. | |
759 | ||
760 | endchoice | |
761 | ||
762 | config HIGHMEM | |
763 | bool | |
764 | depends on HIGHMEM64G || HIGHMEM4G | |
765 | default y | |
766 | ||
767 | config X86_PAE | |
768 | bool | |
769 | depends on HIGHMEM64G | |
770 | default y | |
771 | ||
772 | # Common NUMA Features | |
773 | config NUMA | |
774 | bool "Numa Memory Allocation and Scheduler Support" | |
775 | depends on SMP && HIGHMEM64G && (X86_NUMAQ || X86_GENERICARCH || (X86_SUMMIT && ACPI)) | |
776 | default n if X86_PC | |
777 | default y if (X86_NUMAQ || X86_SUMMIT) | |
778 | ||
779 | # Need comments to help the hapless user trying to turn on NUMA support | |
780 | comment "NUMA (NUMA-Q) requires SMP, 64GB highmem support" | |
781 | depends on X86_NUMAQ && (!HIGHMEM64G || !SMP) | |
782 | ||
783 | comment "NUMA (Summit) requires SMP, 64GB highmem support, ACPI" | |
784 | depends on X86_SUMMIT && (!HIGHMEM64G || !ACPI) | |
785 | ||
786 | config DISCONTIGMEM | |
787 | bool | |
788 | depends on NUMA | |
789 | default y | |
790 | ||
791 | config HAVE_ARCH_BOOTMEM_NODE | |
792 | bool | |
793 | depends on NUMA | |
794 | default y | |
795 | ||
796 | config HAVE_MEMORY_PRESENT | |
797 | bool | |
798 | depends on DISCONTIGMEM | |
799 | default y | |
800 | ||
801 | config NEED_NODE_MEMMAP_SIZE | |
802 | bool | |
803 | depends on DISCONTIGMEM | |
804 | default y | |
805 | ||
6f167ec7 DH |
806 | config HAVE_ARCH_ALLOC_REMAP |
807 | bool | |
808 | depends on NUMA | |
809 | default y | |
810 | ||
1da177e4 LT |
811 | config HIGHPTE |
812 | bool "Allocate 3rd-level pagetables from highmem" | |
813 | depends on HIGHMEM4G || HIGHMEM64G | |
814 | help | |
815 | The VM uses one page table entry for each page of physical memory. | |
816 | For systems with a lot of RAM, this can be wasteful of precious | |
817 | low memory. Setting this option will put user-space page table | |
818 | entries in high memory. | |
819 | ||
820 | config MATH_EMULATION | |
821 | bool "Math emulation" | |
822 | ---help--- | |
823 | Linux can emulate a math coprocessor (used for floating point | |
824 | operations) if you don't have one. 486DX and Pentium processors have | |
825 | a math coprocessor built in, 486SX and 386 do not, unless you added | |
826 | a 487DX or 387, respectively. (The messages during boot time can | |
827 | give you some hints here ["man dmesg"].) Everyone needs either a | |
828 | coprocessor or this emulation. | |
829 | ||
830 | If you don't have a math coprocessor, you need to say Y here; if you | |
831 | say Y here even though you have a coprocessor, the coprocessor will | |
832 | be used nevertheless. (This behavior can be changed with the kernel | |
833 | command line option "no387", which comes handy if your coprocessor | |
834 | is broken. Try "man bootparam" or see the documentation of your boot | |
835 | loader (lilo or loadlin) about how to pass options to the kernel at | |
836 | boot time.) This means that it is a good idea to say Y here if you | |
837 | intend to use this kernel on different machines. | |
838 | ||
839 | More information about the internals of the Linux math coprocessor | |
840 | emulation can be found in <file:arch/i386/math-emu/README>. | |
841 | ||
842 | If you are not sure, say Y; apart from resulting in a 66 KB bigger | |
843 | kernel, it won't hurt. | |
844 | ||
845 | config MTRR | |
846 | bool "MTRR (Memory Type Range Register) support" | |
847 | ---help--- | |
848 | On Intel P6 family processors (Pentium Pro, Pentium II and later) | |
849 | the Memory Type Range Registers (MTRRs) may be used to control | |
850 | processor access to memory ranges. This is most useful if you have | |
851 | a video (VGA) card on a PCI or AGP bus. Enabling write-combining | |
852 | allows bus write transfers to be combined into a larger transfer | |
853 | before bursting over the PCI/AGP bus. This can increase performance | |
854 | of image write operations 2.5 times or more. Saying Y here creates a | |
855 | /proc/mtrr file which may be used to manipulate your processor's | |
856 | MTRRs. Typically the X server should use this. | |
857 | ||
858 | This code has a reasonably generic interface so that similar | |
859 | control registers on other processors can be easily supported | |
860 | as well: | |
861 | ||
862 | The Cyrix 6x86, 6x86MX and M II processors have Address Range | |
863 | Registers (ARRs) which provide a similar functionality to MTRRs. For | |
864 | these, the ARRs are used to emulate the MTRRs. | |
865 | The AMD K6-2 (stepping 8 and above) and K6-3 processors have two | |
866 | MTRRs. The Centaur C6 (WinChip) has 8 MCRs, allowing | |
867 | write-combining. All of these processors are supported by this code | |
868 | and it makes sense to say Y here if you have one of them. | |
869 | ||
870 | Saying Y here also fixes a problem with buggy SMP BIOSes which only | |
871 | set the MTRRs for the boot CPU and not for the secondary CPUs. This | |
872 | can lead to all sorts of problems, so it's good to say Y here. | |
873 | ||
874 | You can safely say Y even if your machine doesn't have MTRRs, you'll | |
875 | just add about 9 KB to your kernel. | |
876 | ||
877 | See <file:Documentation/mtrr.txt> for more information. | |
878 | ||
879 | config EFI | |
880 | bool "Boot from EFI support (EXPERIMENTAL)" | |
881 | depends on ACPI | |
882 | default n | |
883 | ---help--- | |
884 | This enables the the kernel to boot on EFI platforms using | |
885 | system configuration information passed to it from the firmware. | |
886 | This also enables the kernel to use any EFI runtime services that are | |
887 | available (such as the EFI variable services). | |
888 | ||
889 | This option is only useful on systems that have EFI firmware | |
890 | and will result in a kernel image that is ~8k larger. In addition, | |
891 | you must use the latest ELILO loader available at | |
892 | <http://elilo.sourceforge.net> in order to take advantage of | |
893 | kernel initialization using EFI information (neither GRUB nor LILO know | |
894 | anything about EFI). However, even with this option, the resultant | |
895 | kernel should continue to boot on existing non-EFI platforms. | |
896 | ||
897 | config IRQBALANCE | |
898 | bool "Enable kernel irq balancing" | |
899 | depends on SMP && X86_IO_APIC | |
900 | default y | |
901 | help | |
902 | The default yes will allow the kernel to do irq load balancing. | |
903 | Saying no will keep the kernel from doing irq load balancing. | |
904 | ||
905 | config HAVE_DEC_LOCK | |
906 | bool | |
907 | depends on (SMP || PREEMPT) && X86_CMPXCHG | |
908 | default y | |
909 | ||
910 | # turning this on wastes a bunch of space. | |
911 | # Summit needs it only when NUMA is on | |
912 | config BOOT_IOREMAP | |
913 | bool | |
914 | depends on (((X86_SUMMIT || X86_GENERICARCH) && NUMA) || (X86 && EFI)) | |
915 | default y | |
916 | ||
917 | config REGPARM | |
918 | bool "Use register arguments (EXPERIMENTAL)" | |
919 | depends on EXPERIMENTAL | |
920 | default n | |
921 | help | |
922 | Compile the kernel with -mregparm=3. This uses a different ABI | |
923 | and passes the first three arguments of a function call in registers. | |
924 | This will probably break binary only modules. | |
925 | ||
926 | This feature is only enabled for gcc-3.0 and later - earlier compilers | |
927 | generate incorrect output with certain kernel constructs when | |
928 | -mregparm=3 is used. | |
929 | ||
930 | config SECCOMP | |
931 | bool "Enable seccomp to safely compute untrusted bytecode" | |
932 | depends on PROC_FS | |
933 | default y | |
934 | help | |
935 | This kernel feature is useful for number crunching applications | |
936 | that may need to compute untrusted bytecode during their | |
937 | execution. By using pipes or other transports made available to | |
938 | the process as file descriptors supporting the read/write | |
939 | syscalls, it's possible to isolate those applications in | |
940 | their own address space using seccomp. Once seccomp is | |
941 | enabled via /proc/<pid>/seccomp, it cannot be disabled | |
942 | and the task is only allowed to execute a few safe syscalls | |
943 | defined by each seccomp mode. | |
944 | ||
945 | If unsure, say Y. Only embedded should say N here. | |
946 | ||
947 | endmenu | |
948 | ||
949 | ||
950 | menu "Power management options (ACPI, APM)" | |
951 | depends on !X86_VOYAGER | |
952 | ||
953 | source kernel/power/Kconfig | |
954 | ||
955 | source "drivers/acpi/Kconfig" | |
956 | ||
957 | menu "APM (Advanced Power Management) BIOS Support" | |
958 | depends on PM && !X86_VISWS | |
959 | ||
960 | config APM | |
961 | tristate "APM (Advanced Power Management) BIOS support" | |
962 | depends on PM | |
963 | ---help--- | |
964 | APM is a BIOS specification for saving power using several different | |
965 | techniques. This is mostly useful for battery powered laptops with | |
966 | APM compliant BIOSes. If you say Y here, the system time will be | |
967 | reset after a RESUME operation, the /proc/apm device will provide | |
968 | battery status information, and user-space programs will receive | |
969 | notification of APM "events" (e.g. battery status change). | |
970 | ||
971 | If you select "Y" here, you can disable actual use of the APM | |
972 | BIOS by passing the "apm=off" option to the kernel at boot time. | |
973 | ||
974 | Note that the APM support is almost completely disabled for | |
975 | machines with more than one CPU. | |
976 | ||
977 | In order to use APM, you will need supporting software. For location | |
978 | and more information, read <file:Documentation/pm.txt> and the | |
979 | Battery Powered Linux mini-HOWTO, available from | |
980 | <http://www.tldp.org/docs.html#howto>. | |
981 | ||
982 | This driver does not spin down disk drives (see the hdparm(8) | |
983 | manpage ("man 8 hdparm") for that), and it doesn't turn off | |
984 | VESA-compliant "green" monitors. | |
985 | ||
986 | This driver does not support the TI 4000M TravelMate and the ACER | |
987 | 486/DX4/75 because they don't have compliant BIOSes. Many "green" | |
988 | desktop machines also don't have compliant BIOSes, and this driver | |
989 | may cause those machines to panic during the boot phase. | |
990 | ||
991 | Generally, if you don't have a battery in your machine, there isn't | |
992 | much point in using this driver and you should say N. If you get | |
993 | random kernel OOPSes or reboots that don't seem to be related to | |
994 | anything, try disabling/enabling this option (or disabling/enabling | |
995 | APM in your BIOS). | |
996 | ||
997 | Some other things you should try when experiencing seemingly random, | |
998 | "weird" problems: | |
999 | ||
1000 | 1) make sure that you have enough swap space and that it is | |
1001 | enabled. | |
1002 | 2) pass the "no-hlt" option to the kernel | |
1003 | 3) switch on floating point emulation in the kernel and pass | |
1004 | the "no387" option to the kernel | |
1005 | 4) pass the "floppy=nodma" option to the kernel | |
1006 | 5) pass the "mem=4M" option to the kernel (thereby disabling | |
1007 | all but the first 4 MB of RAM) | |
1008 | 6) make sure that the CPU is not over clocked. | |
1009 | 7) read the sig11 FAQ at <http://www.bitwizard.nl/sig11/> | |
1010 | 8) disable the cache from your BIOS settings | |
1011 | 9) install a fan for the video card or exchange video RAM | |
1012 | 10) install a better fan for the CPU | |
1013 | 11) exchange RAM chips | |
1014 | 12) exchange the motherboard. | |
1015 | ||
1016 | To compile this driver as a module, choose M here: the | |
1017 | module will be called apm. | |
1018 | ||
1019 | config APM_IGNORE_USER_SUSPEND | |
1020 | bool "Ignore USER SUSPEND" | |
1021 | depends on APM | |
1022 | help | |
1023 | This option will ignore USER SUSPEND requests. On machines with a | |
1024 | compliant APM BIOS, you want to say N. However, on the NEC Versa M | |
1025 | series notebooks, it is necessary to say Y because of a BIOS bug. | |
1026 | ||
1027 | config APM_DO_ENABLE | |
1028 | bool "Enable PM at boot time" | |
1029 | depends on APM | |
1030 | ---help--- | |
1031 | Enable APM features at boot time. From page 36 of the APM BIOS | |
1032 | specification: "When disabled, the APM BIOS does not automatically | |
1033 | power manage devices, enter the Standby State, enter the Suspend | |
1034 | State, or take power saving steps in response to CPU Idle calls." | |
1035 | This driver will make CPU Idle calls when Linux is idle (unless this | |
1036 | feature is turned off -- see "Do CPU IDLE calls", below). This | |
1037 | should always save battery power, but more complicated APM features | |
1038 | will be dependent on your BIOS implementation. You may need to turn | |
1039 | this option off if your computer hangs at boot time when using APM | |
1040 | support, or if it beeps continuously instead of suspending. Turn | |
1041 | this off if you have a NEC UltraLite Versa 33/C or a Toshiba | |
1042 | T400CDT. This is off by default since most machines do fine without | |
1043 | this feature. | |
1044 | ||
1045 | config APM_CPU_IDLE | |
1046 | bool "Make CPU Idle calls when idle" | |
1047 | depends on APM | |
1048 | help | |
1049 | Enable calls to APM CPU Idle/CPU Busy inside the kernel's idle loop. | |
1050 | On some machines, this can activate improved power savings, such as | |
1051 | a slowed CPU clock rate, when the machine is idle. These idle calls | |
1052 | are made after the idle loop has run for some length of time (e.g., | |
1053 | 333 mS). On some machines, this will cause a hang at boot time or | |
1054 | whenever the CPU becomes idle. (On machines with more than one CPU, | |
1055 | this option does nothing.) | |
1056 | ||
1057 | config APM_DISPLAY_BLANK | |
1058 | bool "Enable console blanking using APM" | |
1059 | depends on APM | |
1060 | help | |
1061 | Enable console blanking using the APM. Some laptops can use this to | |
1062 | turn off the LCD backlight when the screen blanker of the Linux | |
1063 | virtual console blanks the screen. Note that this is only used by | |
1064 | the virtual console screen blanker, and won't turn off the backlight | |
1065 | when using the X Window system. This also doesn't have anything to | |
1066 | do with your VESA-compliant power-saving monitor. Further, this | |
1067 | option doesn't work for all laptops -- it might not turn off your | |
1068 | backlight at all, or it might print a lot of errors to the console, | |
1069 | especially if you are using gpm. | |
1070 | ||
1071 | config APM_RTC_IS_GMT | |
1072 | bool "RTC stores time in GMT" | |
1073 | depends on APM | |
1074 | help | |
1075 | Say Y here if your RTC (Real Time Clock a.k.a. hardware clock) | |
1076 | stores the time in GMT (Greenwich Mean Time). Say N if your RTC | |
1077 | stores localtime. | |
1078 | ||
1079 | It is in fact recommended to store GMT in your RTC, because then you | |
1080 | don't have to worry about daylight savings time changes. The only | |
1081 | reason not to use GMT in your RTC is if you also run a broken OS | |
1082 | that doesn't understand GMT. | |
1083 | ||
1084 | config APM_ALLOW_INTS | |
1085 | bool "Allow interrupts during APM BIOS calls" | |
1086 | depends on APM | |
1087 | help | |
1088 | Normally we disable external interrupts while we are making calls to | |
1089 | the APM BIOS as a measure to lessen the effects of a badly behaving | |
1090 | BIOS implementation. The BIOS should reenable interrupts if it | |
1091 | needs to. Unfortunately, some BIOSes do not -- especially those in | |
1092 | many of the newer IBM Thinkpads. If you experience hangs when you | |
1093 | suspend, try setting this to Y. Otherwise, say N. | |
1094 | ||
1095 | config APM_REAL_MODE_POWER_OFF | |
1096 | bool "Use real mode APM BIOS call to power off" | |
1097 | depends on APM | |
1098 | help | |
1099 | Use real mode APM BIOS calls to switch off the computer. This is | |
1100 | a work-around for a number of buggy BIOSes. Switch this option on if | |
1101 | your computer crashes instead of powering off properly. | |
1102 | ||
1103 | endmenu | |
1104 | ||
1105 | source "arch/i386/kernel/cpu/cpufreq/Kconfig" | |
1106 | ||
1107 | endmenu | |
1108 | ||
1109 | menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)" | |
1110 | ||
1111 | config PCI | |
1112 | bool "PCI support" if !X86_VISWS | |
1113 | depends on !X86_VOYAGER | |
1114 | default y if X86_VISWS | |
1115 | help | |
1116 | Find out whether you have a PCI motherboard. PCI is the name of a | |
1117 | bus system, i.e. the way the CPU talks to the other stuff inside | |
1118 | your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or | |
1119 | VESA. If you have PCI, say Y, otherwise N. | |
1120 | ||
1121 | The PCI-HOWTO, available from | |
1122 | <http://www.tldp.org/docs.html#howto>, contains valuable | |
1123 | information about which PCI hardware does work under Linux and which | |
1124 | doesn't. | |
1125 | ||
1126 | choice | |
1127 | prompt "PCI access mode" | |
1128 | depends on PCI && !X86_VISWS | |
1129 | default PCI_GOANY | |
1130 | ---help--- | |
1131 | On PCI systems, the BIOS can be used to detect the PCI devices and | |
1132 | determine their configuration. However, some old PCI motherboards | |
1133 | have BIOS bugs and may crash if this is done. Also, some embedded | |
1134 | PCI-based systems don't have any BIOS at all. Linux can also try to | |
1135 | detect the PCI hardware directly without using the BIOS. | |
1136 | ||
1137 | With this option, you can specify how Linux should detect the | |
1138 | PCI devices. If you choose "BIOS", the BIOS will be used, | |
1139 | if you choose "Direct", the BIOS won't be used, and if you | |
1140 | choose "MMConfig", then PCI Express MMCONFIG will be used. | |
1141 | If you choose "Any", the kernel will try MMCONFIG, then the | |
1142 | direct access method and falls back to the BIOS if that doesn't | |
1143 | work. If unsure, go with the default, which is "Any". | |
1144 | ||
1145 | config PCI_GOBIOS | |
1146 | bool "BIOS" | |
1147 | ||
1148 | config PCI_GOMMCONFIG | |
1149 | bool "MMConfig" | |
1150 | ||
1151 | config PCI_GODIRECT | |
1152 | bool "Direct" | |
1153 | ||
1154 | config PCI_GOANY | |
1155 | bool "Any" | |
1156 | ||
1157 | endchoice | |
1158 | ||
1159 | config PCI_BIOS | |
1160 | bool | |
1161 | depends on !X86_VISWS && PCI && (PCI_GOBIOS || PCI_GOANY) | |
1162 | default y | |
1163 | ||
1164 | config PCI_DIRECT | |
1165 | bool | |
1166 | depends on PCI && ((PCI_GODIRECT || PCI_GOANY) || X86_VISWS) | |
1167 | default y | |
1168 | ||
1169 | config PCI_MMCONFIG | |
1170 | bool | |
8aadff7d | 1171 | depends on PCI && ACPI && (PCI_GOMMCONFIG || PCI_GOANY) |
1da177e4 LT |
1172 | select ACPI_BOOT |
1173 | default y | |
1174 | ||
1175 | source "drivers/pci/pcie/Kconfig" | |
1176 | ||
1177 | source "drivers/pci/Kconfig" | |
1178 | ||
5cae841b AV |
1179 | config ISA_DMA_API |
1180 | bool | |
1181 | default y | |
1182 | ||
1da177e4 LT |
1183 | config ISA |
1184 | bool "ISA support" | |
1185 | depends on !(X86_VOYAGER || X86_VISWS) | |
1186 | help | |
1187 | Find out whether you have ISA slots on your motherboard. ISA is the | |
1188 | name of a bus system, i.e. the way the CPU talks to the other stuff | |
1189 | inside your box. Other bus systems are PCI, EISA, MicroChannel | |
1190 | (MCA) or VESA. ISA is an older system, now being displaced by PCI; | |
1191 | newer boards don't support it. If you have ISA, say Y, otherwise N. | |
1192 | ||
1193 | config EISA | |
1194 | bool "EISA support" | |
1195 | depends on ISA | |
1196 | ---help--- | |
1197 | The Extended Industry Standard Architecture (EISA) bus was | |
1198 | developed as an open alternative to the IBM MicroChannel bus. | |
1199 | ||
1200 | The EISA bus provided some of the features of the IBM MicroChannel | |
1201 | bus while maintaining backward compatibility with cards made for | |
1202 | the older ISA bus. The EISA bus saw limited use between 1988 and | |
1203 | 1995 when it was made obsolete by the PCI bus. | |
1204 | ||
1205 | Say Y here if you are building a kernel for an EISA-based machine. | |
1206 | ||
1207 | Otherwise, say N. | |
1208 | ||
1209 | source "drivers/eisa/Kconfig" | |
1210 | ||
1211 | config MCA | |
1212 | bool "MCA support" if !(X86_VISWS || X86_VOYAGER) | |
1213 | default y if X86_VOYAGER | |
1214 | help | |
1215 | MicroChannel Architecture is found in some IBM PS/2 machines and | |
1216 | laptops. It is a bus system similar to PCI or ISA. See | |
1217 | <file:Documentation/mca.txt> (and especially the web page given | |
1218 | there) before attempting to build an MCA bus kernel. | |
1219 | ||
1220 | source "drivers/mca/Kconfig" | |
1221 | ||
1222 | config SCx200 | |
1223 | tristate "NatSemi SCx200 support" | |
1224 | depends on !X86_VOYAGER | |
1225 | help | |
1226 | This provides basic support for the National Semiconductor SCx200 | |
1227 | processor. Right now this is just a driver for the GPIO pins. | |
1228 | ||
1229 | If you don't know what to do here, say N. | |
1230 | ||
1231 | This support is also available as a module. If compiled as a | |
1232 | module, it will be called scx200. | |
1233 | ||
1234 | source "drivers/pcmcia/Kconfig" | |
1235 | ||
1236 | source "drivers/pci/hotplug/Kconfig" | |
1237 | ||
1238 | endmenu | |
1239 | ||
1240 | menu "Executable file formats" | |
1241 | ||
1242 | source "fs/Kconfig.binfmt" | |
1243 | ||
1244 | endmenu | |
1245 | ||
1246 | source "drivers/Kconfig" | |
1247 | ||
1248 | source "fs/Kconfig" | |
1249 | ||
1250 | source "arch/i386/oprofile/Kconfig" | |
1251 | ||
1252 | source "arch/i386/Kconfig.debug" | |
1253 | ||
1254 | source "security/Kconfig" | |
1255 | ||
1256 | source "crypto/Kconfig" | |
1257 | ||
1258 | source "lib/Kconfig" | |
1259 | ||
1260 | # | |
1261 | # Use the generic interrupt handling code in kernel/irq/: | |
1262 | # | |
1263 | config GENERIC_HARDIRQS | |
1264 | bool | |
1265 | default y | |
1266 | ||
1267 | config GENERIC_IRQ_PROBE | |
1268 | bool | |
1269 | default y | |
1270 | ||
1271 | config X86_SMP | |
1272 | bool | |
1273 | depends on SMP && !X86_VOYAGER | |
1274 | default y | |
1275 | ||
1276 | config X86_HT | |
1277 | bool | |
1278 | depends on SMP && !(X86_VISWS || X86_VOYAGER) | |
1279 | default y | |
1280 | ||
1281 | config X86_BIOS_REBOOT | |
1282 | bool | |
1283 | depends on !(X86_VISWS || X86_VOYAGER) | |
1284 | default y | |
1285 | ||
1286 | config X86_TRAMPOLINE | |
1287 | bool | |
1288 | depends on X86_SMP || (X86_VOYAGER && SMP) | |
1289 | default y | |
1290 | ||
1291 | config PC | |
1292 | bool | |
1293 | depends on X86 && !EMBEDDED | |
1294 | default y |