Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/voyager-2.6
[pandora-kernel.git] / arch / mips / Kconfig
1 config MIPS
2         bool
3         default y
4         # Horrible source of confusion.  Die, die, die ...
5         select EMBEDDED
6
7 mainmenu "Linux/MIPS Kernel Configuration"
8
9 menu "Machine selection"
10
11 config ZONE_DMA
12         bool
13
14 choice
15         prompt "System type"
16         default SGI_IP22
17
18 config MIPS_MTX1
19         bool "4G Systems MTX-1 board"
20         select DMA_NONCOHERENT
21         select HW_HAS_PCI
22         select RESOURCES_64BIT if PCI
23         select SOC_AU1500
24         select SYS_HAS_CPU_MIPS32_R1
25         select SYS_SUPPORTS_LITTLE_ENDIAN
26
27 config MIPS_BOSPORUS
28         bool "AMD Alchemy Bosporus board"
29         select SOC_AU1500
30         select DMA_NONCOHERENT
31         select SYS_HAS_CPU_MIPS32_R1
32         select SYS_SUPPORTS_LITTLE_ENDIAN
33
34 config MIPS_PB1000
35         bool "AMD Alchemy PB1000 board"
36         select SOC_AU1000
37         select DMA_NONCOHERENT
38         select HW_HAS_PCI
39         select RESOURCES_64BIT if PCI
40         select SWAP_IO_SPACE
41         select SYS_HAS_CPU_MIPS32_R1
42         select SYS_SUPPORTS_LITTLE_ENDIAN
43
44 config MIPS_PB1100
45         bool "AMD Alchemy PB1100 board"
46         select SOC_AU1100
47         select DMA_NONCOHERENT
48         select HW_HAS_PCI
49         select RESOURCES_64BIT if PCI
50         select SWAP_IO_SPACE
51         select SYS_HAS_CPU_MIPS32_R1
52         select SYS_SUPPORTS_LITTLE_ENDIAN
53
54 config MIPS_PB1500
55         bool "AMD Alchemy PB1500 board"
56         select SOC_AU1500
57         select DMA_NONCOHERENT
58         select HW_HAS_PCI
59         select RESOURCES_64BIT if PCI
60         select SYS_HAS_CPU_MIPS32_R1
61         select SYS_SUPPORTS_LITTLE_ENDIAN
62
63 config MIPS_PB1550
64         bool "AMD Alchemy PB1550 board"
65         select SOC_AU1550
66         select DMA_NONCOHERENT
67         select HW_HAS_PCI
68         select MIPS_DISABLE_OBSOLETE_IDE
69         select RESOURCES_64BIT if PCI
70         select SYS_HAS_CPU_MIPS32_R1
71         select SYS_SUPPORTS_LITTLE_ENDIAN
72
73 config MIPS_PB1200
74         bool "AMD Alchemy PB1200 board"
75         select SOC_AU1200
76         select DMA_NONCOHERENT
77         select MIPS_DISABLE_OBSOLETE_IDE
78         select RESOURCES_64BIT if PCI
79         select SYS_HAS_CPU_MIPS32_R1
80         select SYS_SUPPORTS_LITTLE_ENDIAN
81
82 config MIPS_DB1000
83         bool "AMD Alchemy DB1000 board"
84         select SOC_AU1000
85         select DMA_NONCOHERENT
86         select HW_HAS_PCI
87         select RESOURCES_64BIT if PCI
88         select SYS_HAS_CPU_MIPS32_R1
89         select SYS_SUPPORTS_LITTLE_ENDIAN
90
91 config MIPS_DB1100
92         bool "AMD Alchemy DB1100 board"
93         select SOC_AU1100
94         select DMA_NONCOHERENT
95         select SYS_HAS_CPU_MIPS32_R1
96         select SYS_SUPPORTS_LITTLE_ENDIAN
97
98 config MIPS_DB1500
99         bool "AMD Alchemy DB1500 board"
100         select SOC_AU1500
101         select DMA_NONCOHERENT
102         select HW_HAS_PCI
103         select MIPS_DISABLE_OBSOLETE_IDE
104         select RESOURCES_64BIT if PCI
105         select SYS_HAS_CPU_MIPS32_R1
106         select SYS_SUPPORTS_BIG_ENDIAN
107         select SYS_SUPPORTS_LITTLE_ENDIAN
108
109 config MIPS_DB1550
110         bool "AMD Alchemy DB1550 board"
111         select SOC_AU1550
112         select HW_HAS_PCI
113         select DMA_NONCOHERENT
114         select MIPS_DISABLE_OBSOLETE_IDE
115         select RESOURCES_64BIT if PCI
116         select SYS_HAS_CPU_MIPS32_R1
117         select SYS_SUPPORTS_LITTLE_ENDIAN
118
119 config MIPS_DB1200
120         bool "AMD Alchemy DB1200 board"
121         select SOC_AU1200
122         select DMA_COHERENT
123         select MIPS_DISABLE_OBSOLETE_IDE
124         select SYS_HAS_CPU_MIPS32_R1
125         select SYS_SUPPORTS_LITTLE_ENDIAN
126
127 config MIPS_MIRAGE
128         bool "AMD Alchemy Mirage board"
129         select DMA_NONCOHERENT
130         select SOC_AU1500
131         select SYS_HAS_CPU_MIPS32_R1
132         select SYS_SUPPORTS_LITTLE_ENDIAN
133
134 config BASLER_EXCITE
135         bool "Basler eXcite smart camera"
136         select DMA_COHERENT
137         select HW_HAS_PCI
138         select IRQ_CPU
139         select IRQ_CPU_RM7K
140         select IRQ_CPU_RM9K
141         select MIPS_RM9122
142         select SYS_HAS_CPU_RM9000
143         select SYS_SUPPORTS_32BIT_KERNEL
144         select SYS_SUPPORTS_64BIT_KERNEL
145         select SYS_SUPPORTS_BIG_ENDIAN
146         select SYS_SUPPORTS_KGDB
147         help
148           The eXcite is a smart camera platform manufactured by
149           Basler Vision Technologies AG.
150
151 config BASLER_EXCITE_PROTOTYPE
152         bool "Support for pre-release units"
153         depends on BASLER_EXCITE
154         default n
155         help
156           Pre-series (prototype) units are different from later ones in
157           some ways. Select this option if you have one of these. Please
158           note that a kernel built with this option selected will not be
159           able to run on normal units.
160
161 config MIPS_COBALT
162         bool "Cobalt Server"
163         select DMA_NONCOHERENT
164         select HW_HAS_PCI
165         select I8259
166         select IRQ_CPU
167         select PCI_GT64XXX_PCI0
168         select SYS_HAS_CPU_NEVADA
169         select SYS_HAS_EARLY_PRINTK
170         select SYS_SUPPORTS_32BIT_KERNEL
171         select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
172         select SYS_SUPPORTS_LITTLE_ENDIAN
173         select GENERIC_HARDIRQS_NO__DO_IRQ
174
175 config MACH_DECSTATION
176         bool "DECstations"
177         select BOOT_ELF32
178         select DMA_NONCOHERENT
179         select SYS_HAS_EARLY_PRINTK
180         select IRQ_CPU
181         select SYS_HAS_CPU_R3000
182         select SYS_HAS_CPU_R4X00
183         select SYS_SUPPORTS_32BIT_KERNEL
184         select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
185         select SYS_SUPPORTS_LITTLE_ENDIAN
186         select SYS_SUPPORTS_128HZ
187         select SYS_SUPPORTS_256HZ
188         select SYS_SUPPORTS_1024HZ
189         help
190           This enables support for DEC's MIPS based workstations.  For details
191           see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
192           DECstation porting pages on <http://decstation.unix-ag.org/>.
193
194           If you have one of the following DECstation Models you definitely
195           want to choose R4xx0 for the CPU Type:
196
197                 DECstation 5000/50
198                 DECstation 5000/150
199                 DECstation 5000/260
200                 DECsystem 5900/260
201
202           otherwise choose R3000.
203
204 config MIPS_EV64120
205         bool "Galileo EV64120 Evaluation board (EXPERIMENTAL)"
206         depends on EXPERIMENTAL
207         select DMA_NONCOHERENT
208         select HW_HAS_PCI
209         select PCI_GT64XXX_PCI0
210         select SYS_HAS_CPU_R5000
211         select SYS_SUPPORTS_32BIT_KERNEL
212         select SYS_SUPPORTS_64BIT_KERNEL
213         select SYS_SUPPORTS_BIG_ENDIAN
214         select SYS_SUPPORTS_KGDB
215         help
216           This is an evaluation board based on the Galileo GT-64120
217           single-chip system controller that contains a MIPS R5000 compatible
218           core running at 75/100MHz.  Their website is located at
219           <http://www.marvell.com/>.  Say Y here if you wish to build a
220           kernel for this platform.
221
222 config MACH_JAZZ
223         bool "Jazz family of machines"
224         select ARC
225         select ARC32
226         select ARCH_MAY_HAVE_PC_FDC
227         select GENERIC_ISA_DMA
228         select I8253
229         select I8259
230         select ISA
231         select SYS_HAS_CPU_R4X00
232         select SYS_SUPPORTS_32BIT_KERNEL
233         select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
234         select SYS_SUPPORTS_100HZ
235         select GENERIC_HARDIRQS_NO__DO_IRQ
236         help
237          This a family of machines based on the MIPS R4030 chipset which was
238          used by several vendors to build RISC/os and Windows NT workstations.
239          Members include the Acer PICA, MIPS Magnum 4000, MIPS Millenium and
240          Olivetti M700-10 workstations.
241
242 config LASAT
243         bool "LASAT Networks platforms"
244         select DMA_NONCOHERENT
245         select SYS_HAS_EARLY_PRINTK
246         select HW_HAS_PCI
247         select PCI_GT64XXX_PCI0
248         select MIPS_NILE4
249         select R5000_CPU_SCACHE
250         select SYS_HAS_CPU_R5000
251         select SYS_SUPPORTS_32BIT_KERNEL
252         select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
253         select SYS_SUPPORTS_LITTLE_ENDIAN
254         select GENERIC_HARDIRQS_NO__DO_IRQ
255
256 config MIPS_ATLAS
257         bool "MIPS Atlas board"
258         select BOOT_ELF32
259         select DMA_NONCOHERENT
260         select SYS_HAS_EARLY_PRINTK
261         select IRQ_CPU
262         select HW_HAS_PCI
263         select MIPS_BOARDS_GEN
264         select MIPS_BONITO64
265         select PCI_GT64XXX_PCI0
266         select MIPS_MSC
267         select RM7000_CPU_SCACHE
268         select SWAP_IO_SPACE
269         select SYS_HAS_CPU_MIPS32_R1
270         select SYS_HAS_CPU_MIPS32_R2
271         select SYS_HAS_CPU_MIPS64_R1
272         select SYS_HAS_CPU_NEVADA
273         select SYS_HAS_CPU_RM7000
274         select SYS_SUPPORTS_32BIT_KERNEL
275         select SYS_SUPPORTS_64BIT_KERNEL
276         select SYS_SUPPORTS_BIG_ENDIAN
277         select SYS_SUPPORTS_LITTLE_ENDIAN
278         select SYS_SUPPORTS_MULTITHREADING if EXPERIMENTAL
279         select SYS_SUPPORTS_SMARTMIPS
280         select GENERIC_HARDIRQS_NO__DO_IRQ
281         help
282           This enables support for the MIPS Technologies Atlas evaluation
283           board.
284
285 config MIPS_MALTA
286         bool "MIPS Malta board"
287         select ARCH_MAY_HAVE_PC_FDC
288         select BOOT_ELF32
289         select HAVE_STD_PC_SERIAL_PORT
290         select DMA_NONCOHERENT
291         select GENERIC_ISA_DMA
292         select IRQ_CPU
293         select HW_HAS_PCI
294         select I8259
295         select MIPS_BOARDS_GEN
296         select MIPS_BONITO64
297         select MIPS_CPU_SCACHE
298         select PCI_GT64XXX_PCI0
299         select MIPS_MSC
300         select SWAP_IO_SPACE
301         select SYS_HAS_CPU_MIPS32_R1
302         select SYS_HAS_CPU_MIPS32_R2
303         select SYS_HAS_CPU_MIPS64_R1
304         select SYS_HAS_CPU_NEVADA
305         select SYS_HAS_CPU_RM7000
306         select SYS_HAS_EARLY_PRINTK
307         select SYS_SUPPORTS_32BIT_KERNEL
308         select SYS_SUPPORTS_64BIT_KERNEL
309         select SYS_SUPPORTS_BIG_ENDIAN
310         select SYS_SUPPORTS_LITTLE_ENDIAN
311         select SYS_SUPPORTS_MULTITHREADING
312         select SYS_SUPPORTS_SMARTMIPS
313         help
314           This enables support for the MIPS Technologies Malta evaluation
315           board.
316
317 config MIPS_SEAD
318         bool "MIPS SEAD board (EXPERIMENTAL)"
319         depends on EXPERIMENTAL
320         select IRQ_CPU
321         select DMA_NONCOHERENT
322         select SYS_HAS_EARLY_PRINTK
323         select MIPS_BOARDS_GEN
324         select SYS_HAS_CPU_MIPS32_R1
325         select SYS_HAS_CPU_MIPS32_R2
326         select SYS_HAS_CPU_MIPS64_R1
327         select SYS_SUPPORTS_32BIT_KERNEL
328         select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
329         select SYS_SUPPORTS_BIG_ENDIAN
330         select SYS_SUPPORTS_LITTLE_ENDIAN
331         select SYS_SUPPORTS_SMARTMIPS
332         help
333           This enables support for the MIPS Technologies SEAD evaluation
334           board.
335
336 config WR_PPMC
337         bool "Wind River PPMC board"
338         select IRQ_CPU
339         select BOOT_ELF32
340         select DMA_NONCOHERENT
341         select HW_HAS_PCI
342         select PCI_GT64XXX_PCI0
343         select SWAP_IO_SPACE
344         select SYS_HAS_CPU_MIPS32_R1
345         select SYS_HAS_CPU_MIPS32_R2
346         select SYS_HAS_CPU_MIPS64_R1
347         select SYS_HAS_CPU_NEVADA
348         select SYS_HAS_CPU_RM7000
349         select SYS_SUPPORTS_32BIT_KERNEL
350         select SYS_SUPPORTS_64BIT_KERNEL
351         select SYS_SUPPORTS_BIG_ENDIAN
352         select SYS_SUPPORTS_LITTLE_ENDIAN
353         help
354           This enables support for the Wind River MIPS32 4KC PPMC evaluation
355           board, which is based on GT64120 bridge chip.
356
357 config MIPS_SIM
358         bool 'MIPS simulator (MIPSsim)'
359         select DMA_NONCOHERENT
360         select SYS_HAS_EARLY_PRINTK
361         select IRQ_CPU
362         select SYS_HAS_CPU_MIPS32_R1
363         select SYS_HAS_CPU_MIPS32_R2
364         select SYS_HAS_EARLY_PRINTK
365         select SYS_SUPPORTS_32BIT_KERNEL
366         select SYS_SUPPORTS_BIG_ENDIAN
367         select SYS_SUPPORTS_LITTLE_ENDIAN
368         help
369           This option enables support for MIPS Technologies MIPSsim software
370           emulator.
371
372 config MOMENCO_JAGUAR_ATX
373         bool "Momentum Jaguar board"
374         select BOOT_ELF32
375         select DMA_NONCOHERENT
376         select HW_HAS_PCI
377         select IRQ_CPU
378         select IRQ_CPU_RM7K
379         select IRQ_MV64340
380         select LIMITED_DMA
381         select PCI_MARVELL
382         select RM7000_CPU_SCACHE
383         select SWAP_IO_SPACE
384         select SYS_HAS_CPU_RM9000
385         select SYS_HAS_EARLY_PRINTK
386         select SYS_SUPPORTS_32BIT_KERNEL
387         select SYS_SUPPORTS_64BIT_KERNEL
388         select SYS_SUPPORTS_BIG_ENDIAN
389         select SYS_SUPPORTS_KGDB
390         help
391           The Jaguar ATX is a MIPS-based Single Board Computer (SBC) made by
392           Momentum Computer <http://www.momenco.com/>.
393
394 config MOMENCO_OCELOT
395         bool "Momentum Ocelot board"
396         select DMA_NONCOHERENT
397         select HW_HAS_PCI
398         select IRQ_CPU
399         select IRQ_CPU_RM7K
400         select PCI_GT64XXX_PCI0
401         select RM7000_CPU_SCACHE
402         select SWAP_IO_SPACE
403         select SYS_HAS_CPU_RM7000
404         select SYS_SUPPORTS_32BIT_KERNEL
405         select SYS_SUPPORTS_64BIT_KERNEL
406         select SYS_SUPPORTS_BIG_ENDIAN
407         select SYS_SUPPORTS_KGDB
408         help
409           The Ocelot is a MIPS-based Single Board Computer (SBC) made by
410           Momentum Computer <http://www.momenco.com/>.
411
412 config MOMENCO_OCELOT_3
413         bool "Momentum Ocelot-3 board"
414         select BOOT_ELF32
415         select DMA_NONCOHERENT
416         select HW_HAS_PCI
417         select IRQ_CPU
418         select IRQ_CPU_RM7K
419         select IRQ_MV64340
420         select PCI_MARVELL
421         select RM7000_CPU_SCACHE
422         select SWAP_IO_SPACE
423         select SYS_HAS_CPU_RM9000
424         select SYS_SUPPORTS_32BIT_KERNEL
425         select SYS_SUPPORTS_64BIT_KERNEL
426         select SYS_SUPPORTS_BIG_ENDIAN
427         help
428           The Ocelot-3 is based off Discovery III System Controller and
429           PMC-Sierra Rm79000 core.
430
431 config MOMENCO_OCELOT_C
432         bool "Momentum Ocelot-C board"
433         select DMA_NONCOHERENT
434         select HW_HAS_PCI
435         select IRQ_CPU
436         select IRQ_MV64340
437         select PCI_MARVELL
438         select RM7000_CPU_SCACHE
439         select SWAP_IO_SPACE
440         select SYS_HAS_CPU_RM7000
441         select SYS_SUPPORTS_32BIT_KERNEL
442         select SYS_SUPPORTS_64BIT_KERNEL
443         select SYS_SUPPORTS_BIG_ENDIAN
444         select GENERIC_HARDIRQS_NO__DO_IRQ
445         help
446           The Ocelot is a MIPS-based Single Board Computer (SBC) made by
447           Momentum Computer <http://www.momenco.com/>.
448
449 config MOMENCO_OCELOT_G
450         bool "Momentum Ocelot-G board"
451         select DMA_NONCOHERENT
452         select HW_HAS_PCI
453         select IRQ_CPU
454         select IRQ_CPU_RM7K
455         select PCI_MARVELL
456         select RM7000_CPU_SCACHE
457         select SWAP_IO_SPACE
458         select SYS_HAS_CPU_RM7000
459         select SYS_SUPPORTS_32BIT_KERNEL
460         select SYS_SUPPORTS_64BIT_KERNEL if BROKEN
461         select SYS_SUPPORTS_BIG_ENDIAN
462         help
463           The Ocelot is a MIPS-based Single Board Computer (SBC) made by
464           Momentum Computer <http://www.momenco.com/>.
465
466 config MIPS_XXS1500
467         bool "MyCable XXS1500 board"
468         select DMA_NONCOHERENT
469         select SOC_AU1500
470         select SYS_SUPPORTS_LITTLE_ENDIAN
471
472 config PNX8550_JBS
473         bool "Philips PNX8550 based JBS board"
474         select PNX8550
475         select SYS_SUPPORTS_LITTLE_ENDIAN
476
477 config PNX8550_STB810
478         bool "Support for Philips PNX8550 based STB810 board"
479         select PNX8550
480         select SYS_SUPPORTS_LITTLE_ENDIAN
481
482 config DDB5477
483         bool "NEC DDB Vrc-5477"
484         select DDB5XXX_COMMON
485         select DMA_NONCOHERENT
486         select HW_HAS_PCI
487         select I8259
488         select IRQ_CPU
489         select SYS_HAS_CPU_R5432
490         select SYS_SUPPORTS_32BIT_KERNEL
491         select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
492         select SYS_SUPPORTS_KGDB
493         select SYS_SUPPORTS_KGDB
494         select SYS_SUPPORTS_LITTLE_ENDIAN
495         help
496           This enables support for the R5432-based NEC DDB Vrc-5477,
497           or Rockhopper/SolutionGear boards with R5432/R5500 CPUs.
498
499           Features : kernel debugging, serial terminal, NFS root fs, on-board
500           ether port USB, AC97, PCI, etc.
501
502 config MACH_VR41XX
503         bool "NEC VR4100 series based machines"
504         select SYS_HAS_CPU_VR41XX
505         select GENERIC_HARDIRQS_NO__DO_IRQ
506
507 config PMC_YOSEMITE
508         bool "PMC-Sierra Yosemite eval board"
509         select DMA_COHERENT
510         select HW_HAS_PCI
511         select IRQ_CPU
512         select IRQ_CPU_RM7K
513         select IRQ_CPU_RM9K
514         select SWAP_IO_SPACE
515         select SYS_HAS_CPU_RM9000
516         select SYS_HAS_EARLY_PRINTK
517         select SYS_SUPPORTS_32BIT_KERNEL
518         select SYS_SUPPORTS_64BIT_KERNEL
519         select SYS_SUPPORTS_BIG_ENDIAN
520         select SYS_SUPPORTS_HIGHMEM
521         select SYS_SUPPORTS_KGDB
522         select SYS_SUPPORTS_SMP
523         help
524           Yosemite is an evaluation board for the RM9000x2 processor
525           manufactured by PMC-Sierra.
526
527 config QEMU
528         bool "Qemu"
529         select DMA_COHERENT
530         select GENERIC_ISA_DMA
531         select HAVE_STD_PC_SERIAL_PORT
532         select I8253
533         select I8259
534         select ISA
535         select SWAP_IO_SPACE
536         select SYS_HAS_CPU_MIPS32_R1
537         select SYS_SUPPORTS_32BIT_KERNEL
538         select SYS_SUPPORTS_BIG_ENDIAN
539         select SYS_SUPPORTS_LITTLE_ENDIAN
540         select ARCH_SPARSEMEM_ENABLE
541         select GENERIC_HARDIRQS_NO__DO_IRQ
542         select NR_CPUS_DEFAULT_1
543         select SYS_SUPPORTS_SMP
544         help
545           Qemu is a software emulator which among other architectures also
546           can simulate a MIPS32 4Kc system.  This patch adds support for the
547           system architecture that currently is being simulated by Qemu.  It
548           will eventually be removed again when Qemu has the capability to
549           simulate actual MIPS hardware platforms.  More information on Qemu
550           can be found at http://www.linux-mips.org/wiki/Qemu.
551
552 config MARKEINS
553         bool "Support for NEC EMMA2RH Mark-eins"
554         select DMA_NONCOHERENT
555         select HW_HAS_PCI
556         select IRQ_CPU
557         select SWAP_IO_SPACE
558         select SYS_SUPPORTS_32BIT_KERNEL
559         select SYS_SUPPORTS_BIG_ENDIAN
560         select SYS_SUPPORTS_LITTLE_ENDIAN
561         select SYS_HAS_CPU_R5000
562         help
563           This enables support for the R5432-based NEC Mark-eins
564           boards with R5500 CPU.
565
566 config SGI_IP22
567         bool "SGI IP22 (Indy/Indigo2)"
568         select ARC
569         select ARC32
570         select BOOT_ELF32
571         select DMA_NONCOHERENT
572         select HW_HAS_EISA
573         select IP22_CPU_SCACHE
574         select IRQ_CPU
575         select GENERIC_ISA_DMA_SUPPORT_BROKEN
576         select SWAP_IO_SPACE
577         select SYS_HAS_CPU_R4X00
578         select SYS_HAS_CPU_R5000
579         select SYS_HAS_EARLY_PRINTK
580         select SYS_SUPPORTS_32BIT_KERNEL
581         select SYS_SUPPORTS_64BIT_KERNEL
582         select SYS_SUPPORTS_BIG_ENDIAN
583         help
584           This are the SGI Indy, Challenge S and Indigo2, as well as certain
585           OEM variants like the Tandem CMN B006S. To compile a Linux kernel
586           that runs on these, say Y here.
587
588 config SGI_IP27
589         bool "SGI IP27 (Origin200/2000)"
590         select ARC
591         select ARC64
592         select BOOT_ELF64
593         select DMA_IP27
594         select SYS_HAS_EARLY_PRINTK
595         select HW_HAS_PCI
596         select NR_CPUS_DEFAULT_64
597         select PCI_DOMAINS
598         select SYS_HAS_CPU_R10000
599         select SYS_SUPPORTS_64BIT_KERNEL
600         select SYS_SUPPORTS_BIG_ENDIAN
601         select SYS_SUPPORTS_KGDB
602         select SYS_SUPPORTS_NUMA
603         select SYS_SUPPORTS_SMP
604         select GENERIC_HARDIRQS_NO__DO_IRQ
605         help
606           This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
607           workstations.  To compile a Linux kernel that runs on these, say Y
608           here.
609
610 config SGI_IP32
611         bool "SGI IP32 (O2) (EXPERIMENTAL)"
612         depends on EXPERIMENTAL
613         select ARC
614         select ARC32
615         select BOOT_ELF32
616         select DMA_NONCOHERENT
617         select HW_HAS_PCI
618         select R5000_CPU_SCACHE
619         select RM7000_CPU_SCACHE
620         select SYS_HAS_CPU_R5000
621         select SYS_HAS_CPU_R10000 if BROKEN
622         select SYS_HAS_CPU_RM7000
623         select SYS_HAS_CPU_NEVADA
624         select SYS_SUPPORTS_64BIT_KERNEL
625         select SYS_SUPPORTS_BIG_ENDIAN
626         help
627           If you want this kernel to run on SGI O2 workstation, say Y here.
628
629 config SIBYTE_BIGSUR
630         bool "Sibyte BCM91480B-BigSur"
631         select BOOT_ELF32
632         select DMA_COHERENT
633         select NR_CPUS_DEFAULT_4
634         select PCI_DOMAINS
635         select SIBYTE_BCM1x80
636         select SWAP_IO_SPACE
637         select SYS_HAS_CPU_SB1
638         select SYS_SUPPORTS_BIG_ENDIAN
639         select SYS_SUPPORTS_LITTLE_ENDIAN
640
641 config SIBYTE_SWARM
642         bool "Sibyte BCM91250A-SWARM"
643         select BOOT_ELF32
644         select DMA_COHERENT
645         select NR_CPUS_DEFAULT_2
646         select SIBYTE_SB1250
647         select SWAP_IO_SPACE
648         select SYS_HAS_CPU_SB1
649         select SYS_SUPPORTS_BIG_ENDIAN
650         select SYS_SUPPORTS_HIGHMEM
651         select SYS_SUPPORTS_KGDB
652         select SYS_SUPPORTS_LITTLE_ENDIAN
653
654 config SIBYTE_SENTOSA
655         bool "Sibyte BCM91250E-Sentosa"
656         depends on EXPERIMENTAL
657         select BOOT_ELF32
658         select DMA_COHERENT
659         select NR_CPUS_DEFAULT_2
660         select SIBYTE_SB1250
661         select SWAP_IO_SPACE
662         select SYS_HAS_CPU_SB1
663         select SYS_SUPPORTS_BIG_ENDIAN
664         select SYS_SUPPORTS_LITTLE_ENDIAN
665
666 config SIBYTE_RHONE
667         bool "Sibyte BCM91125E-Rhone"
668         depends on EXPERIMENTAL
669         select BOOT_ELF32
670         select DMA_COHERENT
671         select SIBYTE_BCM1125H
672         select SWAP_IO_SPACE
673         select SYS_HAS_CPU_SB1
674         select SYS_SUPPORTS_BIG_ENDIAN
675         select SYS_SUPPORTS_LITTLE_ENDIAN
676
677 config SIBYTE_CARMEL
678         bool "Sibyte BCM91120x-Carmel"
679         depends on EXPERIMENTAL
680         select BOOT_ELF32
681         select DMA_COHERENT
682         select SIBYTE_BCM1120
683         select SWAP_IO_SPACE
684         select SYS_HAS_CPU_SB1
685         select SYS_SUPPORTS_BIG_ENDIAN
686         select SYS_SUPPORTS_LITTLE_ENDIAN
687
688 config SIBYTE_PTSWARM
689         bool "Sibyte BCM91250PT-PTSWARM"
690         depends on EXPERIMENTAL
691         select BOOT_ELF32
692         select DMA_COHERENT
693         select NR_CPUS_DEFAULT_2
694         select SIBYTE_SB1250
695         select SWAP_IO_SPACE
696         select SYS_HAS_CPU_SB1
697         select SYS_SUPPORTS_BIG_ENDIAN
698         select SYS_SUPPORTS_HIGHMEM
699         select SYS_SUPPORTS_LITTLE_ENDIAN
700
701 config SIBYTE_LITTLESUR
702         bool "Sibyte BCM91250C2-LittleSur"
703         depends on EXPERIMENTAL
704         select BOOT_ELF32
705         select DMA_COHERENT
706         select NR_CPUS_DEFAULT_2
707         select SIBYTE_SB1250
708         select SWAP_IO_SPACE
709         select SYS_HAS_CPU_SB1
710         select SYS_SUPPORTS_BIG_ENDIAN
711         select SYS_SUPPORTS_HIGHMEM
712         select SYS_SUPPORTS_LITTLE_ENDIAN
713
714 config SIBYTE_CRHINE
715         bool "Sibyte BCM91120C-CRhine"
716         depends on EXPERIMENTAL
717         select BOOT_ELF32
718         select DMA_COHERENT
719         select SIBYTE_BCM1120
720         select SWAP_IO_SPACE
721         select SYS_HAS_CPU_SB1
722         select SYS_SUPPORTS_BIG_ENDIAN
723         select SYS_SUPPORTS_LITTLE_ENDIAN
724
725 config SIBYTE_CRHONE
726         bool "Sibyte BCM91125C-CRhone"
727         depends on EXPERIMENTAL
728         select BOOT_ELF32
729         select DMA_COHERENT
730         select SIBYTE_BCM1125
731         select SWAP_IO_SPACE
732         select SYS_HAS_CPU_SB1
733         select SYS_SUPPORTS_BIG_ENDIAN
734         select SYS_SUPPORTS_HIGHMEM
735         select SYS_SUPPORTS_LITTLE_ENDIAN
736
737 config SNI_RM
738         bool "SNI RM200/300/400"
739         select ARC if CPU_LITTLE_ENDIAN
740         select ARC32 if CPU_LITTLE_ENDIAN
741         select ARCH_MAY_HAVE_PC_FDC
742         select BOOT_ELF32
743         select DMA_NONCOHERENT
744         select GENERIC_ISA_DMA
745         select HW_HAS_EISA
746         select HW_HAS_PCI
747         select IRQ_CPU
748         select I8253
749         select I8259
750         select ISA
751         select SWAP_IO_SPACE if CPU_BIG_ENDIAN
752         select SYS_HAS_CPU_R4X00
753         select SYS_HAS_CPU_R5000
754         select SYS_HAS_CPU_R10000
755         select R5000_CPU_SCACHE
756         select SYS_HAS_EARLY_PRINTK
757         select SYS_SUPPORTS_32BIT_KERNEL
758         select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
759         select SYS_SUPPORTS_BIG_ENDIAN
760         select SYS_SUPPORTS_HIGHMEM
761         select SYS_SUPPORTS_LITTLE_ENDIAN
762         help
763           The SNI RM200/300/400 are MIPS-based machines manufactured by
764           Siemens Nixdorf Informationssysteme (SNI), parent company of Pyramid
765           Technology and now in turn merged with Fujitsu.  Say Y here to
766           support this machine type.
767
768 config TOSHIBA_JMR3927
769         bool "Toshiba JMR-TX3927 board"
770         select DMA_NONCOHERENT
771         select HW_HAS_PCI
772         select MIPS_TX3927
773         select SWAP_IO_SPACE
774         select SYS_HAS_CPU_TX39XX
775         select SYS_SUPPORTS_32BIT_KERNEL
776         select SYS_SUPPORTS_LITTLE_ENDIAN
777         select SYS_SUPPORTS_BIG_ENDIAN
778         select TOSHIBA_BOARDS
779         select GENERIC_HARDIRQS_NO__DO_IRQ
780
781 config TOSHIBA_RBTX4927
782         bool "Toshiba TBTX49[23]7 board"
783         select DMA_NONCOHERENT
784         select HAS_TXX9_SERIAL
785         select HW_HAS_PCI
786         select I8259
787         select ISA
788         select SWAP_IO_SPACE
789         select SYS_HAS_CPU_TX49XX
790         select SYS_SUPPORTS_32BIT_KERNEL
791         select SYS_SUPPORTS_64BIT_KERNEL
792         select SYS_SUPPORTS_LITTLE_ENDIAN
793         select SYS_SUPPORTS_BIG_ENDIAN
794         select SYS_SUPPORTS_KGDB
795         select TOSHIBA_BOARDS
796         select GENERIC_HARDIRQS_NO__DO_IRQ
797         help
798           This Toshiba board is based on the TX4927 processor. Say Y here to
799           support this machine type
800
801 config TOSHIBA_RBTX4938
802         bool "Toshiba RBTX4938 board"
803         select HAVE_STD_PC_SERIAL_PORT
804         select DMA_NONCOHERENT
805         select GENERIC_ISA_DMA
806         select HAS_TXX9_SERIAL
807         select HW_HAS_PCI
808         select I8259
809         select ISA
810         select SWAP_IO_SPACE
811         select SYS_HAS_CPU_TX49XX
812         select SYS_SUPPORTS_32BIT_KERNEL
813         select SYS_SUPPORTS_LITTLE_ENDIAN
814         select SYS_SUPPORTS_BIG_ENDIAN
815         select SYS_SUPPORTS_KGDB
816         select TOSHIBA_BOARDS
817         select GENERIC_HARDIRQS_NO__DO_IRQ
818         help
819           This Toshiba board is based on the TX4938 processor. Say Y here to
820           support this machine type
821
822 endchoice
823
824 source "arch/mips/ddb5xxx/Kconfig"
825 source "arch/mips/gt64120/ev64120/Kconfig"
826 source "arch/mips/jazz/Kconfig"
827 source "arch/mips/lasat/Kconfig"
828 source "arch/mips/momentum/Kconfig"
829 source "arch/mips/pmc-sierra/Kconfig"
830 source "arch/mips/sgi-ip27/Kconfig"
831 source "arch/mips/sibyte/Kconfig"
832 source "arch/mips/tx4927/Kconfig"
833 source "arch/mips/tx4938/Kconfig"
834 source "arch/mips/vr41xx/Kconfig"
835 source "arch/mips/philips/pnx8550/common/Kconfig"
836
837 endmenu
838
839 config RWSEM_GENERIC_SPINLOCK
840         bool
841         default y
842
843 config RWSEM_XCHGADD_ALGORITHM
844         bool
845
846 config ARCH_HAS_ILOG2_U32
847         bool
848         default n
849
850 config ARCH_HAS_ILOG2_U64
851         bool
852         default n
853
854 config GENERIC_FIND_NEXT_BIT
855         bool
856         default y
857
858 config GENERIC_HWEIGHT
859         bool
860         default y
861
862 config GENERIC_CALIBRATE_DELAY
863         bool
864         default y
865
866 config GENERIC_TIME
867         bool
868         default y
869
870 config SCHED_NO_NO_OMIT_FRAME_POINTER
871         bool
872         default y
873
874 config GENERIC_HARDIRQS_NO__DO_IRQ
875         bool
876         default n
877
878 #
879 # Select some configuration options automatically based on user selections.
880 #
881 config ARC
882         bool
883
884 config ARCH_MAY_HAVE_PC_FDC
885         bool
886
887 config DMA_COHERENT
888         bool
889
890 config DMA_IP27
891         bool
892
893 config DMA_IP32
894         bool
895         select DMA_NEED_PCI_MAP_STATE
896
897 config DMA_NONCOHERENT
898         bool
899         select DMA_NEED_PCI_MAP_STATE
900
901 config DMA_NEED_PCI_MAP_STATE
902         bool
903
904 config EARLY_PRINTK
905         bool "Early printk" if EMBEDDED && DEBUG_KERNEL
906         depends on SYS_HAS_EARLY_PRINTK
907         default y
908         help
909           This option enables special console drivers which allow the kernel
910           to print messages very early in the bootup process.
911
912           This is useful for kernel debugging when your machine crashes very
913           early before the console code is initialized. For normal operation
914           it is not recommended because it looks on some machines ugly and
915           oesn't cooperate with an X server. You should normally N here,
916           unless you want to debug such a crash.
917
918 config SYS_HAS_EARLY_PRINTK
919         bool
920
921 config GENERIC_ISA_DMA
922         bool
923         select ZONE_DMA
924
925 config I8259
926         bool
927
928 config LIMITED_DMA
929         bool
930         select HIGHMEM
931         select SYS_SUPPORTS_HIGHMEM
932
933 config MIPS_BONITO64
934         bool
935
936 config MIPS_MSC
937         bool
938
939 config MIPS_NILE4
940         bool
941
942 config MIPS_DISABLE_OBSOLETE_IDE
943         bool
944
945 config GENERIC_ISA_DMA_SUPPORT_BROKEN
946         bool
947         select ZONE_DMA
948
949 #
950 # Endianess selection.  Sufficiently obscure so many users don't know what to
951 # answer,so we try hard to limit the available choices.  Also the use of a
952 # choice statement should be more obvious to the user.
953 #
954 choice
955         prompt "Endianess selection"
956         help
957           Some MIPS machines can be configured for either little or big endian
958           byte order. These modes require different kernels and a different
959           Linux distribution.  In general there is one preferred byteorder for a
960           particular system but some systems are just as commonly used in the
961           one or the other endianess.
962
963 config CPU_BIG_ENDIAN
964         bool "Big endian"
965         depends on SYS_SUPPORTS_BIG_ENDIAN
966
967 config CPU_LITTLE_ENDIAN
968         bool "Little endian"
969         depends on SYS_SUPPORTS_LITTLE_ENDIAN
970         help
971
972 endchoice
973
974 config SYS_SUPPORTS_APM_EMULATION
975         bool
976
977 config SYS_SUPPORTS_BIG_ENDIAN
978         bool
979
980 config SYS_SUPPORTS_LITTLE_ENDIAN
981         bool
982
983 config IRQ_CPU
984         bool
985
986 config IRQ_CPU_RM7K
987         bool
988
989 config IRQ_CPU_RM9K
990         bool
991
992 config IRQ_MV64340
993         bool
994
995 config DDB5XXX_COMMON
996         bool
997         select SYS_SUPPORTS_KGDB
998
999 config MIPS_BOARDS_GEN
1000         bool
1001
1002 config PCI_GT64XXX_PCI0
1003         bool
1004
1005 config MIPS_TX3927
1006         bool
1007         select HAS_TXX9_SERIAL
1008
1009 config MIPS_RM9122
1010         bool
1011         select SERIAL_RM9000
1012         select GPI_RM9000
1013         select WDT_RM9000
1014
1015 config PCI_MARVELL
1016         bool
1017
1018 config SOC_AU1000
1019         bool
1020         select SOC_AU1X00
1021
1022 config SOC_AU1100
1023         bool
1024         select SOC_AU1X00
1025
1026 config SOC_AU1500
1027         bool
1028         select SOC_AU1X00
1029
1030 config SOC_AU1550
1031         bool
1032         select SOC_AU1X00
1033
1034 config SOC_AU1200
1035         bool
1036         select SOC_AU1X00
1037
1038 config SOC_AU1X00
1039         bool
1040         select SYS_HAS_CPU_MIPS32_R1
1041         select SYS_SUPPORTS_32BIT_KERNEL
1042         select SYS_SUPPORTS_APM_EMULATION
1043         select SYS_SUPPORTS_KGDB
1044
1045 config PNX8550
1046         bool
1047         select SOC_PNX8550
1048
1049 config SOC_PNX8550
1050         bool
1051         select DMA_NONCOHERENT
1052         select HW_HAS_PCI
1053         select SYS_HAS_CPU_MIPS32_R1
1054         select SYS_HAS_EARLY_PRINTK
1055         select SYS_SUPPORTS_32BIT_KERNEL
1056         select GENERIC_HARDIRQS_NO__DO_IRQ
1057         select SYS_SUPPORTS_KGDB
1058
1059 config SWAP_IO_SPACE
1060         bool
1061
1062 config EMMA2RH
1063         bool
1064         depends on MARKEINS
1065         default y
1066
1067 config SERIAL_RM9000
1068         bool
1069
1070 config GPI_RM9000
1071         bool
1072
1073 config WDT_RM9000
1074         bool
1075
1076 #
1077 # Unfortunately not all GT64120 systems run the chip at the same clock.
1078 # As the user for the clock rate and try to minimize the available options.
1079 #
1080 choice
1081         prompt "Galileo Chip Clock"
1082         #default SYSCLK_83 if MIPS_EV64120
1083         depends on MIPS_EV64120 || MOMENCO_OCELOT || MOMENCO_OCELOT_G
1084         default SYSCLK_83 if MIPS_EV64120
1085         default SYSCLK_100 if MOMENCO_OCELOT || MOMENCO_OCELOT_G
1086
1087 config SYSCLK_75
1088         bool "75" if MIPS_EV64120
1089
1090 config SYSCLK_83
1091         bool "83.3" if MIPS_EV64120
1092
1093 config SYSCLK_100
1094         bool "100" if MIPS_EV64120 || MOMENCO_OCELOT || MOMENCO_OCELOT_G
1095
1096 endchoice
1097
1098 config ARC32
1099         bool
1100
1101 config BOOT_ELF32
1102         bool
1103
1104 config MIPS_L1_CACHE_SHIFT
1105         int
1106         default "4" if MACH_DECSTATION || SNI_RM
1107         default "7" if SGI_IP27
1108         default "5"
1109
1110 config HAVE_STD_PC_SERIAL_PORT
1111         bool
1112
1113 config ARC_CONSOLE
1114         bool "ARC console support"
1115         depends on SGI_IP22 || (SNI_RM && CPU_LITTLE_ENDIAN)
1116
1117 config ARC_MEMORY
1118         bool
1119         depends on MACH_JAZZ || SNI_RM || SGI_IP32
1120         default y
1121
1122 config ARC_PROMLIB
1123         bool
1124         depends on MACH_JAZZ || SNI_RM || SGI_IP22 || SGI_IP32
1125         default y
1126
1127 config ARC64
1128         bool
1129
1130 config BOOT_ELF64
1131         bool
1132
1133 config TOSHIBA_BOARDS
1134         bool
1135
1136 menu "CPU selection"
1137
1138 choice
1139         prompt "CPU type"
1140         default CPU_R4X00
1141
1142 config CPU_MIPS32_R1
1143         bool "MIPS32 Release 1"
1144         depends on SYS_HAS_CPU_MIPS32_R1
1145         select CPU_HAS_LLSC
1146         select CPU_HAS_PREFETCH
1147         select CPU_SUPPORTS_32BIT_KERNEL
1148         select CPU_SUPPORTS_HIGHMEM
1149         help
1150           Choose this option to build a kernel for release 1 or later of the
1151           MIPS32 architecture.  Most modern embedded systems with a 32-bit
1152           MIPS processor are based on a MIPS32 processor.  If you know the
1153           specific type of processor in your system, choose those that one
1154           otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
1155           Release 2 of the MIPS32 architecture is available since several
1156           years so chances are you even have a MIPS32 Release 2 processor
1157           in which case you should choose CPU_MIPS32_R2 instead for better
1158           performance.
1159
1160 config CPU_MIPS32_R2
1161         bool "MIPS32 Release 2"
1162         depends on SYS_HAS_CPU_MIPS32_R2
1163         select CPU_HAS_LLSC
1164         select CPU_HAS_PREFETCH
1165         select CPU_SUPPORTS_32BIT_KERNEL
1166         select CPU_SUPPORTS_HIGHMEM
1167         help
1168           Choose this option to build a kernel for release 2 or later of the
1169           MIPS32 architecture.  Most modern embedded systems with a 32-bit
1170           MIPS processor are based on a MIPS32 processor.  If you know the
1171           specific type of processor in your system, choose those that one
1172           otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system.
1173
1174 config CPU_MIPS64_R1
1175         bool "MIPS64 Release 1"
1176         depends on SYS_HAS_CPU_MIPS64_R1
1177         select CPU_HAS_LLSC
1178         select CPU_HAS_PREFETCH
1179         select CPU_SUPPORTS_32BIT_KERNEL
1180         select CPU_SUPPORTS_64BIT_KERNEL
1181         select CPU_SUPPORTS_HIGHMEM
1182         help
1183           Choose this option to build a kernel for release 1 or later of the
1184           MIPS64 architecture.  Many modern embedded systems with a 64-bit
1185           MIPS processor are based on a MIPS64 processor.  If you know the
1186           specific type of processor in your system, choose those that one
1187           otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
1188           Release 2 of the MIPS64 architecture is available since several
1189           years so chances are you even have a MIPS64 Release 2 processor
1190           in which case you should choose CPU_MIPS64_R2 instead for better
1191           performance.
1192
1193 config CPU_MIPS64_R2
1194         bool "MIPS64 Release 2"
1195         depends on SYS_HAS_CPU_MIPS64_R2
1196         select CPU_HAS_LLSC
1197         select CPU_HAS_PREFETCH
1198         select CPU_SUPPORTS_32BIT_KERNEL
1199         select CPU_SUPPORTS_64BIT_KERNEL
1200         select CPU_SUPPORTS_HIGHMEM
1201         help
1202           Choose this option to build a kernel for release 2 or later of the
1203           MIPS64 architecture.  Many modern embedded systems with a 64-bit
1204           MIPS processor are based on a MIPS64 processor.  If you know the
1205           specific type of processor in your system, choose those that one
1206           otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system.
1207
1208 config CPU_R3000
1209         bool "R3000"
1210         depends on SYS_HAS_CPU_R3000
1211         select CPU_HAS_WB
1212         select CPU_SUPPORTS_32BIT_KERNEL
1213         select CPU_SUPPORTS_HIGHMEM
1214         help
1215           Please make sure to pick the right CPU type. Linux/MIPS is not
1216           designed to be generic, i.e. Kernels compiled for R3000 CPUs will
1217           *not* work on R4000 machines and vice versa.  However, since most
1218           of the supported machines have an R4000 (or similar) CPU, R4x00
1219           might be a safe bet.  If the resulting kernel does not work,
1220           try to recompile with R3000.
1221
1222 config CPU_TX39XX
1223         bool "R39XX"
1224         depends on SYS_HAS_CPU_TX39XX
1225         select CPU_SUPPORTS_32BIT_KERNEL
1226
1227 config CPU_VR41XX
1228         bool "R41xx"
1229         depends on SYS_HAS_CPU_VR41XX
1230         select CPU_SUPPORTS_32BIT_KERNEL
1231         select CPU_SUPPORTS_64BIT_KERNEL
1232         help
1233           The options selects support for the NEC VR4100 series of processors.
1234           Only choose this option if you have one of these processors as a
1235           kernel built with this option will not run on any other type of
1236           processor or vice versa.
1237
1238 config CPU_R4300
1239         bool "R4300"
1240         depends on SYS_HAS_CPU_R4300
1241         select CPU_HAS_LLSC
1242         select CPU_SUPPORTS_32BIT_KERNEL
1243         select CPU_SUPPORTS_64BIT_KERNEL
1244         help
1245           MIPS Technologies R4300-series processors.
1246
1247 config CPU_R4X00
1248         bool "R4x00"
1249         depends on SYS_HAS_CPU_R4X00
1250         select CPU_HAS_LLSC
1251         select CPU_SUPPORTS_32BIT_KERNEL
1252         select CPU_SUPPORTS_64BIT_KERNEL
1253         help
1254           MIPS Technologies R4000-series processors other than 4300, including
1255           the R4000, R4400, R4600, and 4700.
1256
1257 config CPU_TX49XX
1258         bool "R49XX"
1259         depends on SYS_HAS_CPU_TX49XX
1260         select CPU_HAS_LLSC
1261         select CPU_HAS_PREFETCH
1262         select CPU_SUPPORTS_32BIT_KERNEL
1263         select CPU_SUPPORTS_64BIT_KERNEL
1264
1265 config CPU_R5000
1266         bool "R5000"
1267         depends on SYS_HAS_CPU_R5000
1268         select CPU_HAS_LLSC
1269         select CPU_SUPPORTS_32BIT_KERNEL
1270         select CPU_SUPPORTS_64BIT_KERNEL
1271         help
1272           MIPS Technologies R5000-series processors other than the Nevada.
1273
1274 config CPU_R5432
1275         bool "R5432"
1276         depends on SYS_HAS_CPU_R5432
1277         select CPU_HAS_LLSC
1278         select CPU_SUPPORTS_32BIT_KERNEL
1279         select CPU_SUPPORTS_64BIT_KERNEL
1280
1281 config CPU_R6000
1282         bool "R6000"
1283         depends on EXPERIMENTAL
1284         select CPU_HAS_LLSC
1285         depends on SYS_HAS_CPU_R6000
1286         select CPU_SUPPORTS_32BIT_KERNEL
1287         help
1288           MIPS Technologies R6000 and R6000A series processors.  Note these
1289           processors are extremely rare and the support for them is incomplete.
1290
1291 config CPU_NEVADA
1292         bool "RM52xx"
1293         depends on SYS_HAS_CPU_NEVADA
1294         select CPU_HAS_LLSC
1295         select CPU_SUPPORTS_32BIT_KERNEL
1296         select CPU_SUPPORTS_64BIT_KERNEL
1297         help
1298           QED / PMC-Sierra RM52xx-series ("Nevada") processors.
1299
1300 config CPU_R8000
1301         bool "R8000"
1302         depends on EXPERIMENTAL
1303         depends on SYS_HAS_CPU_R8000
1304         select CPU_HAS_LLSC
1305         select CPU_HAS_PREFETCH
1306         select CPU_SUPPORTS_64BIT_KERNEL
1307         help
1308           MIPS Technologies R8000 processors.  Note these processors are
1309           uncommon and the support for them is incomplete.
1310
1311 config CPU_R10000
1312         bool "R10000"
1313         depends on SYS_HAS_CPU_R10000
1314         select CPU_HAS_LLSC
1315         select CPU_HAS_PREFETCH
1316         select CPU_SUPPORTS_32BIT_KERNEL
1317         select CPU_SUPPORTS_64BIT_KERNEL
1318         select CPU_SUPPORTS_HIGHMEM
1319         help
1320           MIPS Technologies R10000-series processors.
1321
1322 config CPU_RM7000
1323         bool "RM7000"
1324         depends on SYS_HAS_CPU_RM7000
1325         select CPU_HAS_LLSC
1326         select CPU_HAS_PREFETCH
1327         select CPU_SUPPORTS_32BIT_KERNEL
1328         select CPU_SUPPORTS_64BIT_KERNEL
1329         select CPU_SUPPORTS_HIGHMEM
1330
1331 config CPU_RM9000
1332         bool "RM9000"
1333         depends on SYS_HAS_CPU_RM9000
1334         select CPU_HAS_LLSC
1335         select CPU_HAS_PREFETCH
1336         select CPU_SUPPORTS_32BIT_KERNEL
1337         select CPU_SUPPORTS_64BIT_KERNEL
1338         select CPU_SUPPORTS_HIGHMEM
1339         select WEAK_ORDERING
1340
1341 config CPU_SB1
1342         bool "SB1"
1343         depends on SYS_HAS_CPU_SB1
1344         select CPU_HAS_LLSC
1345         select CPU_SUPPORTS_32BIT_KERNEL
1346         select CPU_SUPPORTS_64BIT_KERNEL
1347         select CPU_SUPPORTS_HIGHMEM
1348         select WEAK_ORDERING
1349
1350 endchoice
1351
1352 config SYS_HAS_CPU_MIPS32_R1
1353         bool
1354
1355 config SYS_HAS_CPU_MIPS32_R2
1356         bool
1357
1358 config SYS_HAS_CPU_MIPS64_R1
1359         bool
1360
1361 config SYS_HAS_CPU_MIPS64_R2
1362         bool
1363
1364 config SYS_HAS_CPU_R3000
1365         bool
1366
1367 config SYS_HAS_CPU_TX39XX
1368         bool
1369
1370 config SYS_HAS_CPU_VR41XX
1371         bool
1372
1373 config SYS_HAS_CPU_R4300
1374         bool
1375
1376 config SYS_HAS_CPU_R4X00
1377         bool
1378
1379 config SYS_HAS_CPU_TX49XX
1380         bool
1381
1382 config SYS_HAS_CPU_R5000
1383         bool
1384
1385 config SYS_HAS_CPU_R5432
1386         bool
1387
1388 config SYS_HAS_CPU_R6000
1389         bool
1390
1391 config SYS_HAS_CPU_NEVADA
1392         bool
1393
1394 config SYS_HAS_CPU_R8000
1395         bool
1396
1397 config SYS_HAS_CPU_R10000
1398         bool
1399
1400 config SYS_HAS_CPU_RM7000
1401         bool
1402
1403 config SYS_HAS_CPU_RM9000
1404         bool
1405
1406 config SYS_HAS_CPU_SB1
1407         bool
1408
1409 config WEAK_ORDERING
1410         bool
1411 endmenu
1412
1413 #
1414 # These two indicate any level of the MIPS32 and MIPS64 architecture
1415 #
1416 config CPU_MIPS32
1417         bool
1418         default y if CPU_MIPS32_R1 || CPU_MIPS32_R2
1419
1420 config CPU_MIPS64
1421         bool
1422         default y if CPU_MIPS64_R1 || CPU_MIPS64_R2
1423
1424 #
1425 # These two indicate the revision of the architecture, either Release 1 or Release 2
1426 #
1427 config CPU_MIPSR1
1428         bool
1429         default y if CPU_MIPS32_R1 || CPU_MIPS64_R1
1430
1431 config CPU_MIPSR2
1432         bool
1433         default y if CPU_MIPS32_R2 || CPU_MIPS64_R2
1434
1435 config SYS_SUPPORTS_32BIT_KERNEL
1436         bool
1437 config SYS_SUPPORTS_64BIT_KERNEL
1438         bool
1439 config CPU_SUPPORTS_32BIT_KERNEL
1440         bool
1441 config CPU_SUPPORTS_64BIT_KERNEL
1442         bool
1443
1444 menu "Kernel type"
1445
1446 choice
1447
1448         prompt "Kernel code model"
1449         help
1450           You should only select this option if you have a workload that
1451           actually benefits from 64-bit processing or if your machine has
1452           large memory.  You will only be presented a single option in this
1453           menu if your system does not support both 32-bit and 64-bit kernels.
1454
1455 config 32BIT
1456         bool "32-bit kernel"
1457         depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
1458         select TRAD_SIGNALS
1459         help
1460           Select this option if you want to build a 32-bit kernel.
1461 config 64BIT
1462         bool "64-bit kernel"
1463         depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
1464         help
1465           Select this option if you want to build a 64-bit kernel.
1466
1467 endchoice
1468
1469 choice
1470         prompt "Kernel page size"
1471         default PAGE_SIZE_4KB
1472
1473 config PAGE_SIZE_4KB
1474         bool "4kB"
1475         help
1476          This option select the standard 4kB Linux page size.  On some
1477          R3000-family processors this is the only available page size.  Using
1478          4kB page size will minimize memory consumption and is therefore
1479          recommended for low memory systems.
1480
1481 config PAGE_SIZE_8KB
1482         bool "8kB"
1483         depends on EXPERIMENTAL && CPU_R8000
1484         help
1485           Using 8kB page size will result in higher performance kernel at
1486           the price of higher memory consumption.  This option is available
1487           only on the R8000 processor.  Not that at the time of this writing
1488           this option is still high experimental; there are also issues with
1489           compatibility of user applications.
1490
1491 config PAGE_SIZE_16KB
1492         bool "16kB"
1493         depends on !CPU_R3000 && !CPU_TX39XX
1494         help
1495           Using 16kB page size will result in higher performance kernel at
1496           the price of higher memory consumption.  This option is available on
1497           all non-R3000 family processors.  Note that you will need a suitable
1498           Linux distribution to support this.
1499
1500 config PAGE_SIZE_64KB
1501         bool "64kB"
1502         depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
1503         help
1504           Using 64kB page size will result in higher performance kernel at
1505           the price of higher memory consumption.  This option is available on
1506           all non-R3000 family processor.  Not that at the time of this
1507           writing this option is still high experimental.
1508
1509 endchoice
1510
1511 config BOARD_SCACHE
1512         bool
1513
1514 config IP22_CPU_SCACHE
1515         bool
1516         select BOARD_SCACHE
1517
1518 #
1519 # Support for a MIPS32 / MIPS64 style S-caches
1520 #
1521 config MIPS_CPU_SCACHE
1522         bool
1523         select BOARD_SCACHE
1524
1525 config R5000_CPU_SCACHE
1526         bool
1527         select BOARD_SCACHE
1528
1529 config RM7000_CPU_SCACHE
1530         bool
1531         select BOARD_SCACHE
1532
1533 config SIBYTE_DMA_PAGEOPS
1534         bool "Use DMA to clear/copy pages"
1535         depends on CPU_SB1
1536         help
1537           Instead of using the CPU to zero and copy pages, use a Data Mover
1538           channel.  These DMA channels are otherwise unused by the standard
1539           SiByte Linux port.  Seems to give a small performance benefit.
1540
1541 config CPU_HAS_PREFETCH
1542         bool
1543
1544 choice
1545         prompt "MIPS MT options"
1546
1547 config MIPS_MT_DISABLED
1548         bool "Disable multithreading support."
1549         help
1550           Use this option if your workload can't take advantage of
1551           MIPS hardware multithreading support.  On systems that don't have
1552           the option of an MT-enabled processor this option will be the only
1553           option in this menu.
1554
1555 config MIPS_MT_SMP
1556         bool "Use 1 TC on each available VPE for SMP"
1557         depends on SYS_SUPPORTS_MULTITHREADING
1558         select CPU_MIPSR2_IRQ_VI
1559         select CPU_MIPSR2_SRS
1560         select MIPS_MT
1561         select NR_CPUS_DEFAULT_2
1562         select SMP
1563         select SYS_SUPPORTS_SMP
1564         help
1565           This is a kernel model which is also known a VSMP or lately
1566           has been marketesed into SMVP.
1567
1568 config MIPS_MT_SMTC
1569         bool "SMTC: Use all TCs on all VPEs for SMP"
1570         depends on CPU_MIPS32_R2
1571         #depends on CPU_MIPS64_R2               # once there is hardware ...
1572         depends on SYS_SUPPORTS_MULTITHREADING
1573         select CPU_MIPSR2_IRQ_VI
1574         select CPU_MIPSR2_SRS
1575         select MIPS_MT
1576         select NR_CPUS_DEFAULT_8
1577         select SMP
1578         select SYS_SUPPORTS_SMP
1579         help
1580           This is a kernel model which is known a SMTC or lately has been
1581           marketesed into SMVP.
1582
1583 config MIPS_VPE_LOADER
1584         bool "VPE loader support."
1585         depends on SYS_SUPPORTS_MULTITHREADING
1586         select MIPS_MT
1587         help
1588           Includes a loader for loading an elf relocatable object
1589           onto another VPE and running it.
1590
1591 endchoice
1592
1593 config MIPS_MT
1594         bool
1595
1596 config SYS_SUPPORTS_MULTITHREADING
1597         bool
1598
1599 config MIPS_MT_FPAFF
1600         bool "Dynamic FPU affinity for FP-intensive threads"
1601         depends on MIPS_MT
1602         default y
1603
1604 config MIPS_MT_SMTC_INSTANT_REPLAY
1605         bool "Low-latency Dispatch of Deferred SMTC IPIs"
1606         depends on MIPS_MT_SMTC && !PREEMPT
1607         default y
1608         help
1609           SMTC pseudo-interrupts between TCs are deferred and queued
1610           if the target TC is interrupt-inhibited (IXMT). In the first
1611           SMTC prototypes, these queued IPIs were serviced on return
1612           to user mode, or on entry into the kernel idle loop. The
1613           INSTANT_REPLAY option dispatches them as part of local_irq_restore()
1614           processing, which adds runtime overhead (hence the option to turn
1615           it off), but ensures that IPIs are handled promptly even under
1616           heavy I/O interrupt load.
1617
1618 config MIPS_VPE_LOADER_TOM
1619         bool "Load VPE program into memory hidden from linux"
1620         depends on MIPS_VPE_LOADER
1621         default y
1622         help
1623           The loader can use memory that is present but has been hidden from
1624           Linux using the kernel command line option "mem=xxMB". It's up to
1625           you to ensure the amount you put in the option and the space your
1626           program requires is less or equal to the amount physically present.
1627
1628 # this should possibly be in drivers/char, but it is rather cpu related. Hmmm
1629 config MIPS_VPE_APSP_API
1630         bool "Enable support for AP/SP API (RTLX)"
1631         depends on MIPS_VPE_LOADER
1632         help
1633
1634 config MIPS_APSP_KSPD
1635         bool "Enable KSPD"
1636         depends on MIPS_VPE_APSP_API
1637         default y
1638         help
1639           KSPD is a kernel daemon that accepts syscall requests from the SP
1640           side, actions them and returns the results. It also handles the
1641           "exit" syscall notifying other kernel modules the SP program is
1642           exiting.  You probably want to say yes here.
1643
1644 config SB1_PASS_1_WORKAROUNDS
1645         bool
1646         depends on CPU_SB1_PASS_1
1647         default y
1648
1649 config SB1_PASS_2_WORKAROUNDS
1650         bool
1651         depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
1652         default y
1653
1654 config SB1_PASS_2_1_WORKAROUNDS
1655         bool
1656         depends on CPU_SB1 && CPU_SB1_PASS_2
1657         default y
1658
1659 config 64BIT_PHYS_ADDR
1660         bool "Support for 64-bit physical address space"
1661         depends on (CPU_R4X00 || CPU_R5000 || CPU_RM7000 || CPU_RM9000 || CPU_R10000 || CPU_SB1 || CPU_MIPS32 || CPU_MIPS64) && 32BIT
1662
1663 config CPU_HAS_LLSC
1664         bool
1665
1666 config CPU_HAS_SMARTMIPS
1667         depends on SYS_SUPPORTS_SMARTMIPS
1668         bool "Support for the SmartMIPS ASE"
1669         help
1670           SmartMIPS is a extension of the MIPS32 architecture aimed at
1671           increased security at both hardware and software level for
1672           smartcards.  Enabling this option will allow proper use of the
1673           SmartMIPS instructions by Linux applications.  However a kernel with
1674           this option will not work on a MIPS core without SmartMIPS core.  If
1675           you don't know you probably don't have SmartMIPS and should say N
1676           here.
1677
1678 config CPU_HAS_WB
1679         bool
1680
1681 #
1682 # Vectored interrupt mode is an R2 feature
1683 #
1684 config CPU_MIPSR2_IRQ_VI
1685         bool
1686
1687 #
1688 # Extended interrupt mode is an R2 feature
1689 #
1690 config CPU_MIPSR2_IRQ_EI
1691         bool
1692
1693 #
1694 # Shadow registers are an R2 feature
1695 #
1696 config CPU_MIPSR2_SRS
1697         bool
1698
1699 config CPU_HAS_SYNC
1700         bool
1701         depends on !CPU_R3000
1702         default y
1703
1704 #
1705 # Use the generic interrupt handling code in kernel/irq/:
1706 #
1707 config GENERIC_HARDIRQS
1708         bool
1709         default y
1710
1711 config GENERIC_IRQ_PROBE
1712         bool
1713         default y
1714
1715 config IRQ_PER_CPU
1716         bool
1717
1718 #
1719 # - Highmem only makes sense for the 32-bit kernel.
1720 # - The current highmem code will only work properly on physically indexed
1721 #   caches such as R3000, SB1, R7000 or those that look like they're virtually
1722 #   indexed such as R4000/R4400 SC and MC versions or R10000.  So for the
1723 #   moment we protect the user and offer the highmem option only on machines
1724 #   where it's known to be safe.  This will not offer highmem on a few systems
1725 #   such as MIPS32 and MIPS64 CPUs which may have virtual and physically
1726 #   indexed CPUs but we're playing safe.
1727 # - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
1728 #   know they might have memory configurations that could make use of highmem
1729 #   support.
1730 #
1731 config HIGHMEM
1732         bool "High Memory Support"
1733         depends on 32BIT && CPU_SUPPORTS_HIGHMEM && SYS_SUPPORTS_HIGHMEM
1734
1735 config CPU_SUPPORTS_HIGHMEM
1736         bool
1737
1738 config SYS_SUPPORTS_HIGHMEM
1739         bool
1740
1741 config SYS_SUPPORTS_SMARTMIPS
1742         bool
1743
1744 config ARCH_FLATMEM_ENABLE
1745         def_bool y
1746         depends on !NUMA
1747
1748 config ARCH_DISCONTIGMEM_ENABLE
1749         bool
1750         default y if SGI_IP27
1751         help
1752           Say Y to upport efficient handling of discontiguous physical memory,
1753           for architectures which are either NUMA (Non-Uniform Memory Access)
1754           or have huge holes in the physical address space for other reasons.
1755           See <file:Documentation/vm/numa> for more.
1756
1757 config ARCH_SPARSEMEM_ENABLE
1758         bool
1759         select SPARSEMEM_STATIC
1760
1761 config NUMA
1762         bool "NUMA Support"
1763         depends on SYS_SUPPORTS_NUMA
1764         help
1765           Say Y to compile the kernel to support NUMA (Non-Uniform Memory
1766           Access).  This option improves performance on systems with more
1767           than two nodes; on two node systems it is generally better to
1768           leave it disabled; on single node systems disable this option
1769           disabled.
1770
1771 config SYS_SUPPORTS_NUMA
1772         bool
1773
1774 config NODES_SHIFT
1775         int
1776         default "6"
1777         depends on NEED_MULTIPLE_NODES
1778
1779 source "mm/Kconfig"
1780
1781 config SMP
1782         bool "Multi-Processing support"
1783         depends on SYS_SUPPORTS_SMP
1784         select IRQ_PER_CPU
1785         help
1786           This enables support for systems with more than one CPU. If you have
1787           a system with only one CPU, like most personal computers, say N. If
1788           you have a system with more than one CPU, say Y.
1789
1790           If you say N here, the kernel will run on single and multiprocessor
1791           machines, but will use only one CPU of a multiprocessor machine. If
1792           you say Y here, the kernel will run on many, but not all,
1793           singleprocessor machines. On a singleprocessor machine, the kernel
1794           will run faster if you say N here.
1795
1796           People using multiprocessor machines who say Y here should also say
1797           Y to "Enhanced Real Time Clock Support", below.
1798
1799           See also the <file:Documentation/smp.txt> and the SMP-HOWTO
1800           available at <http://www.tldp.org/docs.html#howto>.
1801
1802           If you don't know what to do here, say N.
1803
1804 config SYS_SUPPORTS_SMP
1805         bool
1806
1807 config NR_CPUS_DEFAULT_1
1808         bool
1809
1810 config NR_CPUS_DEFAULT_2
1811         bool
1812
1813 config NR_CPUS_DEFAULT_4
1814         bool
1815
1816 config NR_CPUS_DEFAULT_8
1817         bool
1818
1819 config NR_CPUS_DEFAULT_16
1820         bool
1821
1822 config NR_CPUS_DEFAULT_32
1823         bool
1824
1825 config NR_CPUS_DEFAULT_64
1826         bool
1827
1828 config NR_CPUS
1829         int "Maximum number of CPUs (2-64)"
1830         range 1 64 if NR_CPUS_DEFAULT_1
1831         depends on SMP
1832         default "1" if NR_CPUS_DEFAULT_1
1833         default "2" if NR_CPUS_DEFAULT_2
1834         default "4" if NR_CPUS_DEFAULT_4
1835         default "8" if NR_CPUS_DEFAULT_8
1836         default "16" if NR_CPUS_DEFAULT_16
1837         default "32" if NR_CPUS_DEFAULT_32
1838         default "64" if NR_CPUS_DEFAULT_64
1839         help
1840           This allows you to specify the maximum number of CPUs which this
1841           kernel will support.  The maximum supported value is 32 for 32-bit
1842           kernel and 64 for 64-bit kernels; the minimum value which makes
1843           sense is 1 for Qemu (useful only for kernel debugging purposes)
1844           and 2 for all others.
1845
1846           This is purely to save memory - each supported CPU adds
1847           approximately eight kilobytes to the kernel image.  For best
1848           performance should round up your number of processors to the next
1849           power of two.
1850
1851 #
1852 # Timer Interrupt Frequency Configuration
1853 #
1854
1855 choice
1856         prompt "Timer frequency"
1857         default HZ_250
1858         help
1859          Allows the configuration of the timer frequency.
1860
1861         config HZ_48
1862                 bool "48 HZ" if SYS_SUPPORTS_48HZ
1863
1864         config HZ_100
1865                 bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
1866
1867         config HZ_128
1868                 bool "128 HZ" if SYS_SUPPORTS_128HZ || SYS_SUPPORTS_ARBIT_HZ
1869
1870         config HZ_250
1871                 bool "250 HZ" if SYS_SUPPORTS_250HZ || SYS_SUPPORTS_ARBIT_HZ
1872
1873         config HZ_256
1874                 bool "256 HZ" if SYS_SUPPORTS_256HZ || SYS_SUPPORTS_ARBIT_HZ
1875
1876         config HZ_1000
1877                 bool "1000 HZ" if SYS_SUPPORTS_1000HZ || SYS_SUPPORTS_ARBIT_HZ
1878
1879         config HZ_1024
1880                 bool "1024 HZ" if SYS_SUPPORTS_1024HZ || SYS_SUPPORTS_ARBIT_HZ
1881
1882 endchoice
1883
1884 config SYS_SUPPORTS_48HZ
1885         bool
1886
1887 config SYS_SUPPORTS_100HZ
1888         bool
1889
1890 config SYS_SUPPORTS_128HZ
1891         bool
1892
1893 config SYS_SUPPORTS_250HZ
1894         bool
1895
1896 config SYS_SUPPORTS_256HZ
1897         bool
1898
1899 config SYS_SUPPORTS_1000HZ
1900         bool
1901
1902 config SYS_SUPPORTS_1024HZ
1903         bool
1904
1905 config SYS_SUPPORTS_ARBIT_HZ
1906         bool
1907         default y if !SYS_SUPPORTS_48HZ && !SYS_SUPPORTS_100HZ && \
1908                      !SYS_SUPPORTS_128HZ && !SYS_SUPPORTS_250HZ && \
1909                      !SYS_SUPPORTS_256HZ && !SYS_SUPPORTS_1000HZ && \
1910                      !SYS_SUPPORTS_1024HZ
1911
1912 config HZ
1913         int
1914         default 48 if HZ_48
1915         default 100 if HZ_100
1916         default 128 if HZ_128
1917         default 250 if HZ_250
1918         default 256 if HZ_256
1919         default 1000 if HZ_1000
1920         default 1024 if HZ_1024
1921
1922 source "kernel/Kconfig.preempt"
1923
1924 config MIPS_INSANE_LARGE
1925         bool "Support for large 64-bit configurations"
1926         depends on CPU_R10000 && 64BIT
1927         help
1928           MIPS R10000 does support a 44 bit / 16TB address space as opposed to
1929           previous 64-bit processors which only supported 40 bit / 1TB. If you
1930           need processes of more than 1TB virtual address space, say Y here.
1931           This will result in additional memory usage, so it is not
1932           recommended for normal users.
1933
1934 config KEXEC
1935         bool "Kexec system call (EXPERIMENTAL)"
1936         depends on EXPERIMENTAL
1937         help
1938           kexec is a system call that implements the ability to shutdown your
1939           current kernel, and to start another kernel.  It is like a reboot
1940           but it is indepedent of the system firmware.   And like a reboot
1941           you can start any kernel with it, not just Linux.
1942
1943           The name comes from the similiarity to the exec system call.
1944
1945           It is an ongoing process to be certain the hardware in a machine
1946           is properly shutdown, so do not be surprised if this code does not
1947           initially work for you.  It may help to enable device hotplugging
1948           support.  As of this writing the exact hardware interface is
1949           strongly in flux, so no good recommendation can be made.
1950
1951 config SECCOMP
1952         bool "Enable seccomp to safely compute untrusted bytecode"
1953         depends on PROC_FS && BROKEN
1954         default y
1955         help
1956           This kernel feature is useful for number crunching applications
1957           that may need to compute untrusted bytecode during their
1958           execution. By using pipes or other transports made available to
1959           the process as file descriptors supporting the read/write
1960           syscalls, it's possible to isolate those applications in
1961           their own address space using seccomp. Once seccomp is
1962           enabled via /proc/<pid>/seccomp, it cannot be disabled
1963           and the task is only allowed to execute a few safe syscalls
1964           defined by each seccomp mode.
1965
1966           If unsure, say Y. Only embedded should say N here.
1967
1968 endmenu
1969
1970 config RWSEM_GENERIC_SPINLOCK
1971         bool
1972         default y
1973
1974 config LOCKDEP_SUPPORT
1975         bool
1976         default y
1977
1978 config STACKTRACE_SUPPORT
1979         bool
1980         default y
1981
1982 source "init/Kconfig"
1983
1984 menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
1985
1986 config HW_HAS_EISA
1987         bool
1988 config HW_HAS_PCI
1989         bool
1990
1991 config PCI
1992         bool "Support for PCI controller"
1993         depends on HW_HAS_PCI
1994         help
1995           Find out whether you have a PCI motherboard. PCI is the name of a
1996           bus system, i.e. the way the CPU talks to the other stuff inside
1997           your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
1998           say Y, otherwise N.
1999
2000           The PCI-HOWTO, available from
2001           <http://www.tldp.org/docs.html#howto>, contains valuable
2002           information about which PCI hardware does work under Linux and which
2003           doesn't.
2004
2005 config PCI_DOMAINS
2006         bool
2007         depends on PCI
2008
2009 source "drivers/pci/Kconfig"
2010
2011 #
2012 # ISA support is now enabled via select.  Too many systems still have the one
2013 # or other ISA chip on the board that users don't know about so don't expect
2014 # users to choose the right thing ...
2015 #
2016 config ISA
2017         bool
2018
2019 config EISA
2020         bool "EISA support"
2021         depends on HW_HAS_EISA
2022         select ISA
2023         select GENERIC_ISA_DMA
2024         ---help---
2025           The Extended Industry Standard Architecture (EISA) bus was
2026           developed as an open alternative to the IBM MicroChannel bus.
2027
2028           The EISA bus provided some of the features of the IBM MicroChannel
2029           bus while maintaining backward compatibility with cards made for
2030           the older ISA bus.  The EISA bus saw limited use between 1988 and
2031           1995 when it was made obsolete by the PCI bus.
2032
2033           Say Y here if you are building a kernel for an EISA-based machine.
2034
2035           Otherwise, say N.
2036
2037 source "drivers/eisa/Kconfig"
2038
2039 config TC
2040         bool "TURBOchannel support"
2041         depends on MACH_DECSTATION
2042         help
2043           TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
2044           processors.  Documentation on writing device drivers for TurboChannel
2045           is available at:
2046           <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
2047
2048 #config ACCESSBUS
2049 #       bool "Access.Bus support"
2050 #       depends on TC
2051
2052 config MMU
2053         bool
2054         default y
2055
2056 config I8253
2057         bool
2058
2059 source "drivers/pcmcia/Kconfig"
2060
2061 source "drivers/pci/hotplug/Kconfig"
2062
2063 endmenu
2064
2065 menu "Executable file formats"
2066
2067 source "fs/Kconfig.binfmt"
2068
2069 config TRAD_SIGNALS
2070         bool
2071
2072 config BUILD_ELF64
2073         bool "Use 64-bit ELF format for building"
2074         depends on 64BIT
2075         help
2076           A 64-bit kernel is usually built using the 64-bit ELF binary object
2077           format as it's one that allows arbitrary 64-bit constructs.  For
2078           kernels that are loaded within the KSEG compatibility segments the
2079           32-bit ELF format can optionally be used resulting in a somewhat
2080           smaller binary, but this option is not explicitly supported by the
2081           toolchain and since binutils 2.14 it does not even work at all.
2082
2083           Say Y to use the 64-bit format or N to use the 32-bit one.
2084
2085           If unsure say Y.
2086
2087 config BINFMT_IRIX
2088         bool "Include IRIX binary compatibility"
2089         depends on CPU_BIG_ENDIAN && 32BIT && BROKEN
2090
2091 config MIPS32_COMPAT
2092         bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
2093         depends on 64BIT
2094         help
2095           Select this option if you want Linux/MIPS 32-bit binary
2096           compatibility. Since all software available for Linux/MIPS is
2097           currently 32-bit you should say Y here.
2098
2099 config COMPAT
2100         bool
2101         depends on MIPS32_COMPAT
2102         default y
2103
2104 config SYSVIPC_COMPAT
2105         bool
2106         depends on COMPAT && SYSVIPC
2107         default y
2108
2109 config MIPS32_O32
2110         bool "Kernel support for o32 binaries"
2111         depends on MIPS32_COMPAT
2112         help
2113           Select this option if you want to run o32 binaries.  These are pure
2114           32-bit binaries as used by the 32-bit Linux/MIPS port.  Most of
2115           existing binaries are in this format.
2116
2117           If unsure, say Y.
2118
2119 config MIPS32_N32
2120         bool "Kernel support for n32 binaries"
2121         depends on MIPS32_COMPAT
2122         help
2123           Select this option if you want to run n32 binaries.  These are
2124           64-bit binaries using 32-bit quantities for addressing and certain
2125           data that would normally be 64-bit.  They are used in special
2126           cases.
2127
2128           If unsure, say N.
2129
2130 config BINFMT_ELF32
2131         bool
2132         default y if MIPS32_O32 || MIPS32_N32
2133
2134 endmenu
2135
2136 menu "Power management options"
2137
2138 source "kernel/power/Kconfig"
2139
2140 endmenu
2141
2142 source "net/Kconfig"
2143
2144 source "drivers/Kconfig"
2145
2146 source "fs/Kconfig"
2147
2148 source "arch/mips/oprofile/Kconfig"
2149
2150 source "arch/mips/Kconfig.debug"
2151
2152 source "security/Kconfig"
2153
2154 source "crypto/Kconfig"
2155
2156 source "lib/Kconfig"