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