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