Fix 'prctl' system call for IRIX. At this point IRIX 5.3 static binaries
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / mips / Kconfig
CommitLineData
1da177e4
LT
1config MIPS
2 bool
3 default y
4 # Horrible source of confusion. Die, die, die ...
5 select EMBEDDED
6
a08b6b79
AV
7# shouldn't it be per-subarchitecture?
8config ARCH_MAY_HAVE_PC_FDC
9 bool
10 default y
11
875d43e7
RB
12mainmenu "Linux/MIPS Kernel Configuration"
13
14source "init/Kconfig"
15
ed5ba2fb
YY
16config SYS_SUPPORTS_32BIT_KERNEL
17 bool
18config SYS_SUPPORTS_64BIT_KERNEL
19 bool
20config CPU_SUPPORTS_32BIT_KERNEL
21 bool
22config CPU_SUPPORTS_64BIT_KERNEL
23 bool
24
875d43e7
RB
25menu "Kernel type"
26
27choice
28
29 prompt "Kernel code model"
1da177e4 30 help
875d43e7
RB
31 You should only select this option if you have a workload that
32 actually benefits from 64-bit processing or if your machine has
33 large memory. You will only be presented a single option in this
34 menu if your system does not support both 32-bit and 64-bit kernels.
1da177e4 35
875d43e7
RB
36config 32BIT
37 bool "32-bit kernel"
38 depends on CPU_SUPPORTS_32BIT_KERNEL && SYS_SUPPORTS_32BIT_KERNEL
39 select TRAD_SIGNALS
40 help
41 Select this option if you want to build a 32-bit kernel.
1da177e4 42
875d43e7
RB
43config 64BIT
44 bool "64-bit kernel"
45 depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
46 help
47 Select this option if you want to build a 64-bit kernel.
1da177e4 48
875d43e7 49endchoice
1da177e4 50
875d43e7 51endmenu
1da177e4
LT
52
53menu "Machine selection"
54
55config MACH_JAZZ
56 bool "Support for the Jazz family of machines"
57 select ARC
58 select ARC32
59 select GENERIC_ISA_DMA
60 select I8259
61 select ISA
ed5ba2fb
YY
62 select SYS_SUPPORTS_32BIT_KERNEL
63 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1da177e4
LT
64 help
65 This a family of machines based on the MIPS R4030 chipset which was
66 used by several vendors to build RISC/os and Windows NT workstations.
67 Members include the Acer PICA, MIPS Magnum 4000, MIPS Millenium and
68 Olivetti M700-10 workstations.
69
70config ACER_PICA_61
71 bool "Support for Acer PICA 1 chipset (EXPERIMENTAL)"
72 depends on MACH_JAZZ && EXPERIMENTAL
73 select DMA_NONCOHERENT
74 help
75 This is a machine with a R4400 133/150 MHz CPU. To compile a Linux
76 kernel that runs on these, say Y here. For details about Linux on
77 the MIPS architecture, check out the Linux/MIPS FAQ on the WWW at
78 <http://www.linux-mips.org/>.
79
80config MIPS_MAGNUM_4000
81 bool "Support for MIPS Magnum 4000"
82 depends on MACH_JAZZ
83 select DMA_NONCOHERENT
84 help
85 This is a machine with a R4000 100 MHz CPU. To compile a Linux
86 kernel that runs on these, say Y here. For details about Linux on
87 the MIPS architecture, check out the Linux/MIPS FAQ on the WWW at
88 <http://www.linux-mips.org/>.
89
90config OLIVETTI_M700
91 bool "Support for Olivetti M700-10"
92 depends on MACH_JAZZ
93 select DMA_NONCOHERENT
94 help
95 This is a machine with a R4000 100 MHz CPU. To compile a Linux
96 kernel that runs on these, say Y here. For details about Linux on
97 the MIPS architecture, check out the Linux/MIPS FAQ on the WWW at
98 <http://www.linux-mips.org/>.
99
100config MACH_VR41XX
63fb6fd1 101 bool "Support for NEC VR4100 series based machines"
ed5ba2fb
YY
102 select SYS_SUPPORTS_32BIT_KERNEL
103 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1da177e4
LT
104
105config NEC_CMBVR4133
106 bool "Support for NEC CMB-VR4133"
107 depends on MACH_VR41XX
108 select CPU_VR41XX
109 select DMA_NONCOHERENT
110 select IRQ_CPU
111 select HW_HAS_PCI
1da177e4
LT
112
113config ROCKHOPPER
114 bool "Support for Rockhopper baseboard"
115 depends on NEC_CMBVR4133
116 select I8259
117 select HAVE_STD_PC_SERIAL_PORT
118
119config CASIO_E55
120 bool "Support for CASIO CASSIOPEIA E-10/15/55/65"
121 depends on MACH_VR41XX
8dd4aebe 122 select CPU_LITTLE_ENDIAN
1da177e4
LT
123 select DMA_NONCOHERENT
124 select IRQ_CPU
125 select ISA
126
127config IBM_WORKPAD
128 bool "Support for IBM WorkPad z50"
129 depends on MACH_VR41XX
8dd4aebe 130 select CPU_LITTLE_ENDIAN
1da177e4
LT
131 select DMA_NONCOHERENT
132 select IRQ_CPU
133 select ISA
134
63b799f9
YY
135config TANBAC_TB022X
136 bool "Support for TANBAC VR4131 multichip module and TANBAC VR4131DIMM"
1da177e4 137 depends on MACH_VR41XX
63b799f9 138 select CPU_LITTLE_ENDIAN
1da177e4 139 select DMA_NONCOHERENT
1da177e4 140 select IRQ_CPU
63b799f9 141 select HW_HAS_PCI
1da177e4 142 help
63b799f9
YY
143 The TANBAC VR4131 multichip module(TB0225) and
144 the TANBAC VR4131DIMM(TB0229) are MIPS-based platforms
145 manufactured by TANBAC.
146 Please refer to <http://www.tanbac.co.jp/>
147 about VR4131 multichip module and VR4131DIMM.
1da177e4 148
63b799f9
YY
149config TANBAC_TB0226
150 bool "Support for TANBAC Mbase(TB0226)"
151 depends on TANBAC_TB022X
63b799f9 152 select GPIO_VR41XX
1da177e4 153 help
63b799f9
YY
154 The TANBAC Mbase(TB0226) is a MIPS-based platform manufactured by TANBAC.
155 Please refer to <http://www.tanbac.co.jp/> about Mbase.
1da177e4 156
4d666d7a
YY
157config TANBAC_TB0287
158 bool "Support for TANBAC Mini-ITX DIMM base(TB0287)"
159 depends on TANBAC_TB022X
160 help
161 The TANBAC Mini-ITX DIMM base(TB0287) is a MIPS-based platform manufactured by TANBAC.
162 Please refer to <http://www.tanbac.co.jp/> about Mini-ITX DIMM base.
163
1da177e4
LT
164config VICTOR_MPC30X
165 bool "Support for Victor MP-C303/304"
8dd4aebe
YY
166 depends on MACH_VR41XX
167 select CPU_LITTLE_ENDIAN
1da177e4 168 select DMA_NONCOHERENT
1da177e4 169 select IRQ_CPU
8dd4aebe 170 select HW_HAS_PCI
1da177e4
LT
171
172config ZAO_CAPCELLA
173 bool "Support for ZAO Networks Capcella"
174 depends on MACH_VR41XX
8dd4aebe 175 select CPU_LITTLE_ENDIAN
1da177e4 176 select DMA_NONCOHERENT
1da177e4 177 select IRQ_CPU
8dd4aebe 178 select HW_HAS_PCI
1da177e4
LT
179
180config PCI_VR41XX
181 bool "Add PCI control unit support of NEC VR4100 series"
466adc66
YY
182 depends on MACH_VR41XX && HW_HAS_PCI
183 default y
184 select PCI
1da177e4 185
1da177e4
LT
186config VRC4173
187 tristate "Add NEC VRC4173 companion chip support"
188 depends on MACH_VR41XX && PCI_VR41XX
189 ---help---
190 The NEC VRC4173 is a companion chip for NEC VR4122/VR4131.
191
192config TOSHIBA_JMR3927
193 bool "Support for Toshiba JMR-TX3927 board"
1da177e4
LT
194 select DMA_NONCOHERENT
195 select HW_HAS_PCI
196 select SWAP_IO_SPACE
ed5ba2fb 197 select SYS_SUPPORTS_32BIT_KERNEL
1da177e4
LT
198
199config MIPS_COBALT
ed5ba2fb 200 bool "Support for Cobalt Server"
1da177e4
LT
201 depends on EXPERIMENTAL
202 select DMA_NONCOHERENT
203 select HW_HAS_PCI
204 select I8259
205 select IRQ_CPU
ed5ba2fb
YY
206 select SYS_SUPPORTS_32BIT_KERNEL
207 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1da177e4
LT
208
209config MACH_DECSTATION
210 bool "Support for DECstations"
211 select BOOT_ELF32
212 select DMA_NONCOHERENT
b6d468ec 213 select EARLY_PRINTK
1da177e4 214 select IRQ_CPU
ed5ba2fb
YY
215 select SYS_SUPPORTS_32BIT_KERNEL
216 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1da177e4
LT
217 ---help---
218 This enables support for DEC's MIPS based workstations. For details
219 see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the
220 DECstation porting pages on <http://decstation.unix-ag.org/>.
221
222 If you have one of the following DECstation Models you definitely
223 want to choose R4xx0 for the CPU Type:
224
225 DECstation 5000/50
226 DECstation 5000/150
227 DECstation 5000/260
228 DECsystem 5900/260
229
230 otherwise choose R3000.
231
232config MIPS_EV64120
233 bool "Support for Galileo EV64120 Evaluation board (EXPERIMENTAL)"
234 depends on EXPERIMENTAL
235 select DMA_NONCOHERENT
236 select HW_HAS_PCI
237 select MIPS_GT64120
ed5ba2fb
YY
238 select SYS_SUPPORTS_32BIT_KERNEL
239 select SYS_SUPPORTS_64BIT_KERNEL
1da177e4
LT
240 help
241 This is an evaluation board based on the Galileo GT-64120
242 single-chip system controller that contains a MIPS R5000 compatible
243 core running at 75/100MHz. Their website is located at
244 <http://www.marvell.com/>. Say Y here if you wish to build a
245 kernel for this platform.
246
247config EVB_PCI1
248 bool "Enable Second PCI (PCI1)"
249 depends on MIPS_EV64120
250
251config MIPS_EV96100
252 bool "Support for Galileo EV96100 Evaluation board (EXPERIMENTAL)"
253 depends on EXPERIMENTAL
254 select DMA_NONCOHERENT
255 select HW_HAS_PCI
256 select IRQ_CPU
257 select MIPS_GT96100
258 select RM7000_CPU_SCACHE
259 select SWAP_IO_SPACE
ed5ba2fb
YY
260 select SYS_SUPPORTS_32BIT_KERNEL
261 select SYS_SUPPORTS_64BIT_KERNEL
1da177e4
LT
262 help
263 This is an evaluation board based on the Galileo GT-96100 LAN/WAN
264 communications controllers containing a MIPS R5000 compatible core
265 running at 83MHz. Their website is <http://www.marvell.com/>. Say Y
266 here if you wish to build a kernel for this platform.
267
268config MIPS_IVR
269 bool "Support for Globespan IVR board"
270 select DMA_NONCOHERENT
271 select HW_HAS_PCI
ed5ba2fb
YY
272 select SYS_SUPPORTS_32BIT_KERNEL
273 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1da177e4
LT
274 help
275 This is an evaluation board built by Globespan to showcase thir
276 iVR (Internet Video Recorder) design. It utilizes a QED RM5231
277 R5000 MIPS core. More information can be found out their website
278 located at <http://www.globespan.net/>. Say Y here if you wish to
279 build a kernel for this platform.
280
281config LASAT
282 bool "Support for LASAT Networks platforms"
283 select DMA_NONCOHERENT
284 select HW_HAS_PCI
285 select MIPS_GT64120
286 select R5000_CPU_SCACHE
ed5ba2fb
YY
287 select SYS_SUPPORTS_32BIT_KERNEL
288 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1da177e4
LT
289
290config PICVUE
291 tristate "PICVUE LCD display driver"
292 depends on LASAT
293
294config PICVUE_PROC
295 tristate "PICVUE LCD display driver /proc interface"
296 depends on PICVUE
297
298config DS1603
299 bool "DS1603 RTC driver"
300 depends on LASAT
301
302config LASAT_SYSCTL
303 bool "LASAT sysctl interface"
304 depends on LASAT
305
306config MIPS_ITE8172
307 bool "Support for ITE 8172G board"
308 select DMA_NONCOHERENT
309 select HW_HAS_PCI
ed5ba2fb
YY
310 select SYS_SUPPORTS_32BIT_KERNEL
311 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1da177e4
LT
312 help
313 Ths is an evaluation board made by ITE <http://www.ite.com.tw/>
314 with ATX form factor that utilizes a MIPS R5000 to work with its
315 ITE8172G companion internet appliance chip. The MIPS core can be
316 either a NEC Vr5432 or QED RM5231. Say Y here if you wish to build
317 a kernel for this platform.
318
319config IT8172_REVC
320 bool "Support for older IT8172 (Rev C)"
321 depends on MIPS_ITE8172
322 help
323 Say Y here to support the older, Revision C version of the Integrated
324 Technology Express, Inc. ITE8172 SBC. Vendor page at
325 <http://www.ite.com.tw/ia/brief_it8172bsp.htm>; picture of the
326 board at <http://www.mvista.com/partners/semiconductor/ite.html>.
327
328config MIPS_ATLAS
329 bool "Support for MIPS Atlas board"
330 select BOOT_ELF32
331 select DMA_NONCOHERENT
332 select HW_HAS_PCI
333 select MIPS_GT64120
f4b7cdb4 334 select RM7000_CPU_SCACHE
1da177e4 335 select SWAP_IO_SPACE
ed5ba2fb
YY
336 select SYS_SUPPORTS_32BIT_KERNEL
337 select SYS_SUPPORTS_64BIT_KERNEL
1da177e4 338 help
f638d197 339 This enables support for the MIPS Technologies Atlas evaluation
1da177e4
LT
340 board.
341
342config MIPS_MALTA
343 bool "Support for MIPS Malta board"
344 select BOOT_ELF32
345 select HAVE_STD_PC_SERIAL_PORT
346 select DMA_NONCOHERENT
347 select GENERIC_ISA_DMA
348 select HW_HAS_PCI
349 select I8259
350 select MIPS_GT64120
351 select SWAP_IO_SPACE
ed5ba2fb
YY
352 select SYS_SUPPORTS_32BIT_KERNEL
353 select SYS_SUPPORTS_64BIT_KERNEL
1da177e4 354 help
f638d197 355 This enables support for the MIPS Technologies Malta evaluation
1da177e4
LT
356 board.
357
358config MIPS_SEAD
359 bool "Support for MIPS SEAD board (EXPERIMENTAL)"
360 depends on EXPERIMENTAL
361 select IRQ_CPU
362 select DMA_NONCOHERENT
ed5ba2fb
YY
363 select SYS_SUPPORTS_32BIT_KERNEL
364 select SYS_SUPPORTS_64BIT_KERNEL
f638d197
MR
365 help
366 This enables support for the MIPS Technologies SEAD evaluation
367 board.
1da177e4
LT
368
369config MOMENCO_OCELOT
370 bool "Support for Momentum Ocelot board"
371 select DMA_NONCOHERENT
372 select HW_HAS_PCI
373 select IRQ_CPU
374 select IRQ_CPU_RM7K
375 select MIPS_GT64120
376 select RM7000_CPU_SCACHE
377 select SWAP_IO_SPACE
ed5ba2fb
YY
378 select SYS_SUPPORTS_32BIT_KERNEL
379 select SYS_SUPPORTS_64BIT_KERNEL
1da177e4
LT
380 help
381 The Ocelot is a MIPS-based Single Board Computer (SBC) made by
382 Momentum Computer <http://www.momenco.com/>.
383
384config MOMENCO_OCELOT_G
385 bool "Support for Momentum Ocelot-G board"
386 select DMA_NONCOHERENT
387 select HW_HAS_PCI
388 select IRQ_CPU
389 select IRQ_CPU_RM7K
390 select PCI_MARVELL
391 select RM7000_CPU_SCACHE
392 select SWAP_IO_SPACE
ed5ba2fb
YY
393 select SYS_SUPPORTS_32BIT_KERNEL
394 select SYS_SUPPORTS_64BIT_KERNEL
1da177e4
LT
395 help
396 The Ocelot is a MIPS-based Single Board Computer (SBC) made by
397 Momentum Computer <http://www.momenco.com/>.
398
399config MOMENCO_OCELOT_C
400 bool "Support for Momentum Ocelot-C board"
401 select DMA_NONCOHERENT
402 select HW_HAS_PCI
403 select IRQ_CPU
404 select IRQ_MV64340
405 select PCI_MARVELL
406 select RM7000_CPU_SCACHE
407 select SWAP_IO_SPACE
ed5ba2fb
YY
408 select SYS_SUPPORTS_32BIT_KERNEL
409 select SYS_SUPPORTS_64BIT_KERNEL
1da177e4
LT
410 help
411 The Ocelot is a MIPS-based Single Board Computer (SBC) made by
412 Momentum Computer <http://www.momenco.com/>.
413
414config MOMENCO_OCELOT_3
415 bool "Support for Momentum Ocelot-3 board"
416 select BOOT_ELF32
417 select DMA_NONCOHERENT
418 select HW_HAS_PCI
419 select IRQ_CPU
420 select IRQ_CPU_RM7K
421 select IRQ_MV64340
422 select PCI_MARVELL
423 select RM7000_CPU_SCACHE
424 select SWAP_IO_SPACE
ed5ba2fb
YY
425 select SYS_SUPPORTS_32BIT_KERNEL
426 select SYS_SUPPORTS_64BIT_KERNEL
1da177e4
LT
427 help
428 The Ocelot-3 is based off Discovery III System Controller and
429 PMC-Sierra Rm79000 core.
430
431config MOMENCO_JAGUAR_ATX
432 bool "Support for Momentum Jaguar board"
433 select BOOT_ELF32
434 select DMA_NONCOHERENT
435 select HW_HAS_PCI
436 select IRQ_CPU
437 select IRQ_CPU_RM7K
438 select IRQ_MV64340
439 select LIMITED_DMA
440 select PCI_MARVELL
441 select RM7000_CPU_SCACHE
442 select SWAP_IO_SPACE
ed5ba2fb
YY
443 select SYS_SUPPORTS_32BIT_KERNEL
444 select SYS_SUPPORTS_64BIT_KERNEL
1da177e4
LT
445 help
446 The Jaguar ATX is a MIPS-based Single Board Computer (SBC) made by
447 Momentum Computer <http://www.momenco.com/>.
448
449config JAGUAR_DMALOW
450 bool "Low DMA Mode"
451 depends on MOMENCO_JAGUAR_ATX
452 help
453 Select to Y if jump JP5 is set on your board, N otherwise. Normally
454 the jumper is set, so if you feel unsafe, just say Y.
455
456config PMC_YOSEMITE
457 bool "Support for PMC-Sierra Yosemite eval board"
458 select DMA_COHERENT
459 select HW_HAS_PCI
460 select IRQ_CPU
461 select IRQ_CPU_RM7K
462 select IRQ_CPU_RM9K
463 select SWAP_IO_SPACE
ed5ba2fb
YY
464 select SYS_SUPPORTS_32BIT_KERNEL
465 select SYS_SUPPORTS_64BIT_KERNEL
1da177e4
LT
466 help
467 Yosemite is an evaluation board for the RM9000x2 processor
468 manufactured by PMC-Sierra
469
470config HYPERTRANSPORT
471 bool "Hypertransport Support for PMC-Sierra Yosemite"
472 depends on PMC_YOSEMITE
473
474config DDB5074
475 bool "Support for NEC DDB Vrc-5074 (EXPERIMENTAL)"
476 depends on EXPERIMENTAL
477 select DMA_NONCOHERENT
478 select HAVE_STD_PC_SERIAL_PORT
479 select HW_HAS_PCI
480 select IRQ_CPU
481 select I8259
482 select ISA
ed5ba2fb
YY
483 select SYS_SUPPORTS_32BIT_KERNEL
484 select SYS_SUPPORTS_64BIT_KERNEL
1da177e4
LT
485 help
486 This enables support for the VR5000-based NEC DDB Vrc-5074
487 evaluation board.
488
489config DDB5476
490 bool "Support for NEC DDB Vrc-5476"
491 select DMA_NONCOHERENT
492 select HAVE_STD_PC_SERIAL_PORT
493 select HW_HAS_PCI
494 select IRQ_CPU
495 select I8259
496 select ISA
ed5ba2fb
YY
497 select SYS_SUPPORTS_32BIT_KERNEL
498 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1da177e4
LT
499 help
500 This enables support for the R5432-based NEC DDB Vrc-5476
501 evaluation board.
502
503 Features : kernel debugging, serial terminal, NFS root fs, on-board
504 ether port USB, AC97, PCI, PCI VGA card & framebuffer console,
505 IDE controller, PS2 keyboard, PS2 mouse, etc.
506
507config DDB5477
508 bool "Support for NEC DDB Vrc-5477"
509 select DMA_NONCOHERENT
510 select HW_HAS_PCI
511 select I8259
512 select IRQ_CPU
ed5ba2fb
YY
513 select SYS_SUPPORTS_32BIT_KERNEL
514 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1da177e4
LT
515 help
516 This enables support for the R5432-based NEC DDB Vrc-5477,
517 or Rockhopper/SolutionGear boards with R5432/R5500 CPUs.
518
519 Features : kernel debugging, serial terminal, NFS root fs, on-board
520 ether port USB, AC97, PCI, etc.
521
522config DDB5477_BUS_FREQUENCY
523 int "bus frequency (in kHZ, 0 for auto-detect)"
524 depends on DDB5477
525 default 0
526
07119621
RB
527config QEMU
528 bool "Support for Qemu"
529 select DMA_COHERENT
530 select GENERIC_ISA_DMA
531 select HAVE_STD_PC_SERIAL_PORT
532 select I8259
533 select ISA
534 select SWAP_IO_SPACE
535 select SYS_SUPPORTS_32BIT_KERNEL
536 select SYS_SUPPORTS_BIG_ENDIAN
537 help
538 Qemu is a software emulator which among other architectures also
539 can simulate a MIPS32 4Kc system. This patch adds support for the
540 system architecture that currently is being simulated by Qemu. It
541 will eventually be removed again when Qemu has the capability to
542 simulate actual MIPS hardware platforms. More information on Qemu
543 can be found at http://www.linux-mips.org/wiki/Qemu.
544
1da177e4
LT
545config SGI_IP22
546 bool "Support for SGI IP22 (Indy/Indigo2)"
547 select ARC
548 select ARC32
549 select BOOT_ELF32
550 select DMA_NONCOHERENT
551 select IP22_CPU_SCACHE
552 select IRQ_CPU
553 select SWAP_IO_SPACE
ed5ba2fb
YY
554 select SYS_SUPPORTS_32BIT_KERNEL
555 select SYS_SUPPORTS_64BIT_KERNEL
1da177e4
LT
556 help
557 This are the SGI Indy, Challenge S and Indigo2, as well as certain
558 OEM variants like the Tandem CMN B006S. To compile a Linux kernel
559 that runs on these, say Y here.
560
561config SGI_IP27
562 bool "Support for SGI IP27 (Origin200/2000)"
1da177e4
LT
563 select ARC
564 select ARC64
565 select DMA_IP27
566 select HW_HAS_PCI
567 select PCI_DOMAINS
ed5ba2fb 568 select SYS_SUPPORTS_64BIT_KERNEL
1da177e4
LT
569 help
570 This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics
571 workstations. To compile a Linux kernel that runs on these, say Y
572 here.
573
574#config SGI_SN0_XXL
575# bool "IP27 XXL"
576# depends on SGI_IP27
577# This options adds support for userspace processes upto 16TB size.
578# Normally the limit is just .5TB.
579
580config SGI_SN0_N_MODE
581 bool "IP27 N-Mode"
582 depends on SGI_IP27
583 help
584 The nodes of Origin 200, Origin 2000 and Onyx 2 systems can be
585 configured in either N-Modes which allows for more nodes or M-Mode
586 which allows for more memory. Your system is most probably
587 running in M-Mode, so you should say N here.
588
3f22ab27 589config ARCH_DISCONTIGMEM_ENABLE
1da177e4
LT
590 bool
591 default y if SGI_IP27
592 help
593 Say Y to upport efficient handling of discontiguous physical memory,
594 for architectures which are either NUMA (Non-Uniform Memory Access)
595 or have huge holes in the physical address space for other reasons.
596 See <file:Documentation/vm/numa> for more.
597
598config NUMA
599 bool "NUMA Support"
600 depends on SGI_IP27
601 help
602 Say Y to compile the kernel to support NUMA (Non-Uniform Memory
603 Access). This option is for configuring high-end multiprocessor
604 server machines. If in doubt, say N.
605
606config MAPPED_KERNEL
607 bool "Mapped kernel support"
608 depends on SGI_IP27
609 help
610 Change the way a Linux kernel is loaded into memory on a MIPS64
611 machine. This is required in order to support text replication and
612 NUMA. If you need to understand it, read the source code.
613
614config REPLICATE_KTEXT
615 bool "Kernel text replication support"
616 depends on SGI_IP27
617 help
618 Say Y here to enable replicating the kernel text across multiple
619 nodes in a NUMA cluster. This trades memory for speed.
620
621config REPLICATE_EXHANDLERS
622 bool "Exception handler replication support"
623 depends on SGI_IP27
624 help
625 Say Y here to enable replicating the kernel exception handlers
626 across multiple nodes in a NUMA cluster. This trades memory for
627 speed.
628
629config SGI_IP32
630 bool "Support for SGI IP32 (O2) (EXPERIMENTAL)"
ed5ba2fb 631 depends on EXPERIMENTAL
1da177e4
LT
632 select ARC
633 select ARC32
634 select BOOT_ELF32
635 select OWN_DMA
636 select DMA_IP32
637 select DMA_NONCOHERENT
638 select HW_HAS_PCI
639 select R5000_CPU_SCACHE
640 select RM7000_CPU_SCACHE
ed5ba2fb 641 select SYS_SUPPORTS_64BIT_KERNEL
1da177e4
LT
642 help
643 If you want this kernel to run on SGI O2 workstation, say Y here.
644
645config SOC_AU1X00
1da177e4 646 bool "Support for AMD/Alchemy Au1X00 SOCs"
ed5ba2fb 647 select SYS_SUPPORTS_32BIT_KERNEL
1da177e4
LT
648
649choice
650 prompt "Au1X00 SOC Type"
651 depends on SOC_AU1X00
652 help
653 Say Y here to enable support for one of three AMD/Alchemy
654 SOCs. For additional documentation see www.amd.com.
655
656config SOC_AU1000
657 bool "SOC_AU1000"
658config SOC_AU1100
659 bool "SOC_AU1100"
660config SOC_AU1500
661 bool "SOC_AU1500"
662config SOC_AU1550
663 bool "SOC_AU1550"
664
665endchoice
666
667choice
668 prompt "AMD/Alchemy Au1x00 board support"
669 depends on SOC_AU1X00
670 help
671 These are evaluation boards built by AMD/Alchemy to
672 showcase their Au1X00 Internet Edge Processors. The SOC design
673 is based on the MIPS32 architecture running at 266/400/500MHz
674 with many integrated peripherals. Further information can be
675 found at their website, <http://www.amd.com/>. Say Y here if you
676 wish to build a kernel for this platform.
677
678config MIPS_PB1000
679 bool "PB1000 board"
680 depends on SOC_AU1000
681 select DMA_NONCOHERENT
682 select HW_HAS_PCI
683 select SWAP_IO_SPACE
684
685config MIPS_PB1100
686 bool "PB1100 board"
687 depends on SOC_AU1100
688 select DMA_NONCOHERENT
689 select HW_HAS_PCI
690 select SWAP_IO_SPACE
691
692config MIPS_PB1500
693 bool "PB1500 board"
694 depends on SOC_AU1500
d8f5d861 695 select DMA_NONCOHERENT
1da177e4
LT
696 select HW_HAS_PCI
697
698config MIPS_PB1550
699 bool "PB1550 board"
700 depends on SOC_AU1550
701 select DMA_COHERENT
702 select HW_HAS_PCI
703 select MIPS_DISABLE_OBSOLETE_IDE
704
705config MIPS_DB1000
706 bool "DB1000 board"
707 depends on SOC_AU1000
708 select DMA_NONCOHERENT
709 select HW_HAS_PCI
710
711config MIPS_DB1100
712 bool "DB1100 board"
713 depends on SOC_AU1100
714 select DMA_NONCOHERENT
715
716config MIPS_DB1500
717 bool "DB1500 board"
718 depends on SOC_AU1500
d8f5d861 719 select DMA_NONCOHERENT
1da177e4
LT
720 select HW_HAS_PCI
721 select MIPS_DISABLE_OBSOLETE_IDE
722
723config MIPS_DB1550
724 bool "DB1550 board"
725 depends on SOC_AU1550
726 select HW_HAS_PCI
d8f5d861 727 select DMA_NONCOHERENT
1da177e4
LT
728 select MIPS_DISABLE_OBSOLETE_IDE
729
730config MIPS_BOSPORUS
731 bool "Bosporus board"
732 depends on SOC_AU1500
733 select DMA_NONCOHERENT
734
735config MIPS_MIRAGE
736 bool "Mirage board"
737 depends on SOC_AU1500
738 select DMA_NONCOHERENT
739
740config MIPS_XXS1500
741 bool "MyCable XXS1500 board"
742 depends on SOC_AU1500
743 select DMA_NONCOHERENT
744
745config MIPS_MTX1
746 bool "4G Systems MTX-1 board"
747 depends on SOC_AU1500
748 select HW_HAS_PCI
749 select DMA_NONCOHERENT
750
751endchoice
752
1da177e4
LT
753config SNI_RM200_PCI
754 bool "Support for SNI RM200 PCI"
755 select ARC
756 select ARC32
757 select BOOT_ELF32
758 select DMA_NONCOHERENT
759 select GENERIC_ISA_DMA
760 select HAVE_STD_PC_SERIAL_PORT
761 select HW_HAS_PCI
762 select I8259
763 select ISA
ed5ba2fb
YY
764 select SYS_SUPPORTS_32BIT_KERNEL
765 select SYS_SUPPORTS_64BIT_KERNEL if EXPERIMENTAL
1da177e4
LT
766 help
767 The SNI RM200 PCI was a MIPS-based platform manufactured by Siemens
768 Nixdorf Informationssysteme (SNI), parent company of Pyramid
769 Technology and now in turn merged with Fujitsu. Say Y here to
770 support this machine type.
771
772config TOSHIBA_RBTX4927
773 bool "Support for Toshiba TBTX49[23]7 board"
1da177e4
LT
774 select DMA_NONCOHERENT
775 select HAS_TXX9_SERIAL
776 select HW_HAS_PCI
777 select I8259
778 select ISA
779 select SWAP_IO_SPACE
ed5ba2fb
YY
780 select SYS_SUPPORTS_32BIT_KERNEL
781 select SYS_SUPPORTS_64BIT_KERNEL
1da177e4
LT
782 help
783 This Toshiba board is based on the TX4927 processor. Say Y here to
784 support this machine type
785
786config TOSHIBA_FPCIB0
787 bool "FPCIB0 Backplane Support"
788 depends on TOSHIBA_RBTX4927
789
29c48699 790source "arch/mips/sgi-ip27/Kconfig"
38b18f72
RB
791source "arch/mips/sibyte/Kconfig"
792
1da177e4
LT
793config RWSEM_GENERIC_SPINLOCK
794 bool
795 default y
796
797config RWSEM_XCHGADD_ALGORITHM
798 bool
799
800config GENERIC_CALIBRATE_DELAY
801 bool
802 default y
803
1da177e4
LT
804#
805# Select some configuration options automatically based on user selections.
806#
807config ARC
808 bool
809 depends on SNI_RM200_PCI || SGI_IP32 || SGI_IP27 || SGI_IP22 || MIPS_MAGNUM_4000 || OLIVETTI_M700 || ACER_PICA_61
810 default y
811
4ce588cd 812config DMA_COHERENT
1da177e4
LT
813 bool
814
4ce588cd 815config DMA_IP27
1da177e4
LT
816 bool
817
4ce588cd
RB
818config DMA_IP32
819 bool
820 select DMA_NEED_PCI_MAP_STATE
821
822config DMA_NONCOHERENT
823 bool
824 select DMA_NEED_PCI_MAP_STATE
825
826config DMA_NEED_PCI_MAP_STATE
1da177e4
LT
827 bool
828
829config EARLY_PRINTK
830 bool
831 depends on MACH_DECSTATION
832 default y
833
834config GENERIC_ISA_DMA
835 bool
836 depends on SNI_RM200_PCI || MIPS_MAGNUM_4000 || OLIVETTI_M700 || ACER_PICA_61 || MIPS_MALTA
837 default y
838
839config I8259
840 bool
841 depends on SNI_RM200_PCI || DDB5477 || DDB5476 || DDB5074 || MACH_JAZZ || MIPS_MALTA || MIPS_COBALT
842 default y
843
844config LIMITED_DMA
845 bool
846 select HIGHMEM
847
848config MIPS_BONITO64
849 bool
850 depends on MIPS_ATLAS || MIPS_MALTA
851 default y
852
853config MIPS_MSC
854 bool
855 depends on MIPS_ATLAS || MIPS_MALTA
856 default y
857
858config MIPS_NILE4
859 bool
860 depends on LASAT
861 default y
862
863config MIPS_DISABLE_OBSOLETE_IDE
864 bool
865
866config CPU_LITTLE_ENDIAN
867 bool "Generate little endian code"
ab1418a3 868 default y if ACER_PICA_61 || CASIO_E55 || DDB5074 || DDB5476 || DDB5477 || MACH_DECSTATION || IBM_WORKPAD || LASAT || MIPS_COBALT || MIPS_ITE8172 || MIPS_IVR || SOC_AU1X00 || OLIVETTI_M700 || SNI_RM200_PCI || VICTOR_MPC30X || ZAO_CAPCELLA
1da177e4
LT
869 default n if MIPS_EV64120 || MIPS_EV96100 || MOMENCO_OCELOT || MOMENCO_OCELOT_G || SGI_IP22 || SGI_IP27 || SGI_IP32 || TOSHIBA_JMR3927
870 help
871 Some MIPS machines can be configured for either little or big endian
872 byte order. These modes require different kernels. Say Y if your
873 machine is little endian, N if it's a big endian machine.
874
875config IRQ_CPU
876 bool
877
878config IRQ_CPU_RM7K
879 bool
880
881config IRQ_MV64340
882 bool
883
884config DDB5XXX_COMMON
885 bool
886 depends on DDB5074 || DDB5476 || DDB5477
887 default y
888
889config MIPS_BOARDS_GEN
890 bool
891 depends on MIPS_ATLAS || MIPS_MALTA || MIPS_SEAD
892 default y
893
894config MIPS_GT64111
895 bool
896 depends on MIPS_COBALT
897 default y
898
899config MIPS_GT64120
900 bool
901 depends on MIPS_EV64120 || MIPS_EV96100 || LASAT || MIPS_ATLAS || MIPS_MALTA || MOMENCO_OCELOT
902 default y
903
904config MIPS_TX3927
905 bool
906 depends on TOSHIBA_JMR3927
907 select HAS_TXX9_SERIAL
908 default y
909
910config PCI_MARVELL
911 bool
912
913config ITE_BOARD_GEN
914 bool
915 depends on MIPS_IVR || MIPS_ITE8172
916 default y
917
918config SWAP_IO_SPACE
919 bool
920
921#
922# Unfortunately not all GT64120 systems run the chip at the same clock.
923# As the user for the clock rate and try to minimize the available options.
924#
925choice
926 prompt "Galileo Chip Clock"
927 #default SYSCLK_83 if MIPS_EV64120
928 depends on MIPS_EV64120 || MOMENCO_OCELOT || MOMENCO_OCELOT_G
929 default SYSCLK_83 if MIPS_EV64120
930 default SYSCLK_100 if MOMENCO_OCELOT || MOMENCO_OCELOT_G
931
932config SYSCLK_75
933 bool "75" if MIPS_EV64120
934
935config SYSCLK_83
936 bool "83.3" if MIPS_EV64120
937
938config SYSCLK_100
939 bool "100" if MIPS_EV64120 || MOMENCO_OCELOT || MOMENCO_OCELOT_G
940
941endchoice
942
943config AU1X00_USB_DEVICE
944 bool
945 depends on MIPS_PB1500 || MIPS_PB1100 || MIPS_PB1000
946 default n
947
948config MIPS_GT96100
949 bool
950 depends on MIPS_EV96100
951 default y
952 help
953 Say Y here to support the Galileo Technology GT96100 communications
954 controller card. There is a web page at <http://www.galileot.com/>.
955
956config IT8172_CIR
957 bool
958 depends on MIPS_ITE8172 || MIPS_IVR
959 default y
960
961config IT8712
962 bool
963 depends on MIPS_ITE8172
964 default y
965
966config BOOT_ELF32
967 bool
968 depends on MACH_DECSTATION || MIPS_ATLAS || MIPS_MALTA || MOMENCO_JAGUAR_ATX || MOMENCO_OCELOT_3 || SIBYTE_SB1xxx_SOC || SGI_IP32 || SGI_IP22 || SNI_RM200_PCI
969 default y
970
971config MIPS_L1_CACHE_SHIFT
972 int
973 default "4" if MACH_DECSTATION
974 default "7" if SGI_IP27
975 default "5"
976
977config ARC32
978 bool
979 depends on MACH_JAZZ || SNI_RM200_PCI || SGI_IP22 || SGI_IP32
980 default y
981
1da177e4
LT
982config HAVE_STD_PC_SERIAL_PORT
983 bool
984
1da177e4
LT
985config ARC_CONSOLE
986 bool "ARC console support"
987 depends on SGI_IP22 || SNI_RM200_PCI
988
989config ARC_MEMORY
990 bool
991 depends on MACH_JAZZ || SNI_RM200_PCI || SGI_IP32
992 default y
993
994config ARC_PROMLIB
995 bool
996 depends on MACH_JAZZ || SNI_RM200_PCI || SGI_IP22 || SGI_IP32
997 default y
998
999config ARC64
1000 bool
1001 depends on SGI_IP27
1002 default y
1003
1004config BOOT_ELF64
1005 bool
1006 depends on SGI_IP27
1007 default y
1008
1009#config MAPPED_PCI_IO y
1010# bool
1011# depends on SGI_IP27
1012# default y
1013
1014config QL_ISP_A64
1015 bool
1016 depends on SGI_IP27
1017 default y
1018
1019config TOSHIBA_BOARDS
1020 bool
1021 depends on TOSHIBA_JMR3927 || TOSHIBA_RBTX4927
1022 default y
1023
1024endmenu
1025
1026menu "CPU selection"
1027
1028choice
1029 prompt "CPU type"
1030 default CPU_R4X00
1031
1032config CPU_MIPS32
1033 bool "MIPS32"
ed5ba2fb 1034 select CPU_SUPPORTS_32BIT_KERNEL
1da177e4
LT
1035
1036config CPU_MIPS64
1037 bool "MIPS64"
ed5ba2fb
YY
1038 select CPU_SUPPORTS_32BIT_KERNEL
1039 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1040
1041config CPU_R3000
1042 bool "R3000"
ed5ba2fb 1043 select CPU_SUPPORTS_32BIT_KERNEL
1da177e4
LT
1044 help
1045 Please make sure to pick the right CPU type. Linux/MIPS is not
1046 designed to be generic, i.e. Kernels compiled for R3000 CPUs will
1047 *not* work on R4000 machines and vice versa. However, since most
1048 of the supported machines have an R4000 (or similar) CPU, R4x00
1049 might be a safe bet. If the resulting kernel does not work,
1050 try to recompile with R3000.
1051
1052config CPU_TX39XX
1053 bool "R39XX"
ed5ba2fb 1054 select CPU_SUPPORTS_32BIT_KERNEL
1da177e4
LT
1055
1056config CPU_VR41XX
1057 bool "R41xx"
ed5ba2fb
YY
1058 select CPU_SUPPORTS_32BIT_KERNEL
1059 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1060 help
1061 The options selects support for the NEC VR41xx series of processors.
1062 Only choose this option if you have one of these processors as a
1063 kernel built with this option will not run on any other type of
1064 processor or vice versa.
1065
1066config CPU_R4300
1067 bool "R4300"
ed5ba2fb
YY
1068 select CPU_SUPPORTS_32BIT_KERNEL
1069 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1070 help
1071 MIPS Technologies R4300-series processors.
1072
1073config CPU_R4X00
1074 bool "R4x00"
ed5ba2fb
YY
1075 select CPU_SUPPORTS_32BIT_KERNEL
1076 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1077 help
1078 MIPS Technologies R4000-series processors other than 4300, including
1079 the R4000, R4400, R4600, and 4700.
1080
1081config CPU_TX49XX
1082 bool "R49XX"
ed5ba2fb
YY
1083 select CPU_SUPPORTS_32BIT_KERNEL
1084 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1085
1086config CPU_R5000
1087 bool "R5000"
ed5ba2fb
YY
1088 select CPU_SUPPORTS_32BIT_KERNEL
1089 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1090 help
1091 MIPS Technologies R5000-series processors other than the Nevada.
1092
1093config CPU_R5432
1094 bool "R5432"
1095
1096config CPU_R6000
1097 bool "R6000"
ed5ba2fb
YY
1098 depends on EXPERIMENTAL
1099 select CPU_SUPPORTS_32BIT_KERNEL
1da177e4
LT
1100 help
1101 MIPS Technologies R6000 and R6000A series processors. Note these
1102 processors are extremly rare and the support for them is incomplete.
1103
1104config CPU_NEVADA
1105 bool "RM52xx"
ed5ba2fb
YY
1106 select CPU_SUPPORTS_32BIT_KERNEL
1107 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1108 help
1109 QED / PMC-Sierra RM52xx-series ("Nevada") processors.
1110
1111config CPU_R8000
1112 bool "R8000"
ed5ba2fb
YY
1113 depends on EXPERIMENTAL
1114 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1115 help
1116 MIPS Technologies R8000 processors. Note these processors are
1117 uncommon and the support for them is incomplete.
1118
1119config CPU_R10000
1120 bool "R10000"
ed5ba2fb
YY
1121 select CPU_SUPPORTS_32BIT_KERNEL
1122 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1123 help
1124 MIPS Technologies R10000-series processors.
1125
1126config CPU_RM7000
1127 bool "RM7000"
ed5ba2fb
YY
1128 select CPU_SUPPORTS_32BIT_KERNEL
1129 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1130
1131config CPU_RM9000
1132 bool "RM9000"
ed5ba2fb
YY
1133 select CPU_SUPPORTS_32BIT_KERNEL
1134 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1135
1136config CPU_SB1
1137 bool "SB1"
ed5ba2fb
YY
1138 select CPU_SUPPORTS_32BIT_KERNEL
1139 select CPU_SUPPORTS_64BIT_KERNEL
1da177e4
LT
1140
1141endchoice
1142
1143choice
1144 prompt "Kernel page size"
1145 default PAGE_SIZE_4KB
1146
1147config PAGE_SIZE_4KB
1148 bool "4kB"
1149 help
1150 This option select the standard 4kB Linux page size. On some
1151 R3000-family processors this is the only available page size. Using
1152 4kB page size will minimize memory consumption and is therefore
1153 recommended for low memory systems.
1154
1155config PAGE_SIZE_8KB
1156 bool "8kB"
1157 depends on EXPERIMENTAL && CPU_R8000
1158 help
1159 Using 8kB page size will result in higher performance kernel at
1160 the price of higher memory consumption. This option is available
1161 only on the R8000 processor. Not that at the time of this writing
1162 this option is still high experimental; there are also issues with
1163 compatibility of user applications.
1164
1165config PAGE_SIZE_16KB
1166 bool "16kB"
1167 depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
1168 help
1169 Using 16kB page size will result in higher performance kernel at
1170 the price of higher memory consumption. This option is available on
1171 all non-R3000 family processor. Not that at the time of this
1172 writing this option is still high experimental; there are also
1173 issues with compatibility of user applications.
1174
1175config PAGE_SIZE_64KB
1176 bool "64kB"
1177 depends on EXPERIMENTAL && !CPU_R3000 && !CPU_TX39XX
1178 help
1179 Using 64kB page size will result in higher performance kernel at
1180 the price of higher memory consumption. This option is available on
1181 all non-R3000 family processor. Not that at the time of this
1182 writing this option is still high experimental; there are also
1183 issues with compatibility of user applications.
1184
1185endchoice
1186
1187config BOARD_SCACHE
1188 bool
1189
1190config IP22_CPU_SCACHE
1191 bool
1192 select BOARD_SCACHE
1193
1194config R5000_CPU_SCACHE
1195 bool
1196 select BOARD_SCACHE
1197
1198config RM7000_CPU_SCACHE
1199 bool
1200 select BOARD_SCACHE
1201
1202config SIBYTE_DMA_PAGEOPS
1203 bool "Use DMA to clear/copy pages"
1204 depends on CPU_SB1
1205 help
1206 Instead of using the CPU to zero and copy pages, use a Data Mover
1207 channel. These DMA channels are otherwise unused by the standard
1208 SiByte Linux port. Seems to give a small performance benefit.
1209
1210config CPU_HAS_PREFETCH
1211 bool "Enable prefetches" if CPU_SB1 && !CPU_SB1_PASS_2
1212 default y if CPU_MIPS32 || CPU_MIPS64 || CPU_RM7000 || CPU_RM9000 || CPU_R10000
1213
1214config VTAG_ICACHE
1215 bool "Support for Virtual Tagged I-cache" if CPU_MIPS64 || CPU_MIPS32
1216 default y if CPU_SB1
1217
1218config SB1_PASS_1_WORKAROUNDS
1219 bool
1220 depends on CPU_SB1_PASS_1
1221 default y
1222
1223config SB1_PASS_2_WORKAROUNDS
1224 bool
1225 depends on CPU_SB1 && (CPU_SB1_PASS_2_2 || CPU_SB1_PASS_2)
1226 default y
1227
1228config SB1_PASS_2_1_WORKAROUNDS
1229 bool
1230 depends on CPU_SB1 && CPU_SB1_PASS_2
1231 default y
1232
1233config 64BIT_PHYS_ADDR
1234 bool "Support for 64-bit physical address space"
875d43e7 1235 depends on (CPU_R4X00 || CPU_R5000 || CPU_RM7000 || CPU_RM9000 || CPU_R10000 || CPU_SB1 || CPU_MIPS32 || CPU_MIPS64) && 32BIT
1da177e4
LT
1236
1237config CPU_ADVANCED
1238 bool "Override CPU Options"
875d43e7 1239 depends on 32BIT
1da177e4
LT
1240 help
1241 Saying yes here allows you to select support for various features
1242 your CPU may or may not have. Most people should say N here.
1243
1244config CPU_HAS_LLSC
1245 bool "ll/sc Instructions available" if CPU_ADVANCED
1246 default y if !CPU_ADVANCED && !CPU_R3000 && !CPU_VR41XX && !CPU_TX39XX
1247 help
1248 MIPS R4000 series and later provide the Load Linked (ll)
1249 and Store Conditional (sc) instructions. More information is
1250 available at <http://www.go-ecs.com/mips/miptek1.htm>.
1251
1252 Say Y here if your CPU has the ll and sc instructions. Say Y here
1253 for better performance, N if you don't know. You must say Y here
1254 for multiprocessor machines.
1255
1256config CPU_HAS_LLDSCD
1257 bool "lld/scd Instructions available" if CPU_ADVANCED
1258 default y if !CPU_ADVANCED && !CPU_R3000 && !CPU_VR41XX && !CPU_TX39XX && !CPU_MIPS32
1259 help
1260 Say Y here if your CPU has the lld and scd instructions, the 64-bit
1261 equivalents of ll and sc. Say Y here for better performance, N if
1262 you don't know. You must say Y here for multiprocessor machines.
1263
1264config CPU_HAS_WB
1265 bool "Writeback Buffer available" if CPU_ADVANCED
1266 default y if !CPU_ADVANCED && CPU_R3000 && MACH_DECSTATION
1267 help
1268 Say N here for slightly better performance. You must say Y here for
1269 machines which require flushing of write buffers in software. Saying
1270 Y is the safe option; N may result in kernel malfunction and crashes.
1271
1272config CPU_HAS_SYNC
1273 bool
1274 depends on !CPU_R3000
1275 default y
1276
1277#
1278# - Highmem only makes sense for the 32-bit kernel.
1279# - The current highmem code will only work properly on physically indexed
1280# caches such as R3000, SB1, R7000 or those that look like they're virtually
1281# indexed such as R4000/R4400 SC and MC versions or R10000. So for the
1282# moment we protect the user and offer the highmem option only on machines
1283# where it's known to be safe. This will not offer highmem on a few systems
1284# such as MIPS32 and MIPS64 CPUs which may have virtual and physically
1285# indexed CPUs but we're playing safe.
1286# - We should not offer highmem for system of which we already know that they
1287# don't have memory configurations that could gain from highmem support in
1288# the kernel because they don't support configurations with RAM at physical
1289# addresses > 0x20000000.
1290#
1291config HIGHMEM
1292 bool "High Memory Support"
875d43e7 1293 depends on 32BIT && (CPU_R3000 || CPU_SB1 || CPU_R7000 || CPU_RM9000 || CPU_R10000) && !(MACH_DECSTATION || MOMENCO_JAGUAR_ATX)
1da177e4 1294
b4819b59
YY
1295config ARCH_FLATMEM_ENABLE
1296 def_bool y
1297 depends on !NUMA
1298
1299source "mm/Kconfig"
1300
1da177e4
LT
1301config SMP
1302 bool "Multi-Processing support"
1303 depends on CPU_RM9000 || (SIBYTE_SB1250 && !SIBYTE_STANDALONE) || SGI_IP27
1304 ---help---
1305 This enables support for systems with more than one CPU. If you have
1306 a system with only one CPU, like most personal computers, say N. If
1307 you have a system with more than one CPU, say Y.
1308
1309 If you say N here, the kernel will run on single and multiprocessor
1310 machines, but will use only one CPU of a multiprocessor machine. If
1311 you say Y here, the kernel will run on many, but not all,
1312 singleprocessor machines. On a singleprocessor machine, the kernel
1313 will run faster if you say N here.
1314
1315 People using multiprocessor machines who say Y here should also say
1316 Y to "Enhanced Real Time Clock Support", below.
1317
1318 See also the <file:Documentation/smp.txt> and the SMP-HOWTO
1319 available at <http://www.tldp.org/docs.html#howto>.
1320
1321 If you don't know what to do here, say N.
1322
1323config NR_CPUS
1324 int "Maximum number of CPUs (2-64)"
1325 range 2 64
1326 depends on SMP
1327 default "64" if SGI_IP27
1328 default "2"
1329 help
1330 This allows you to specify the maximum number of CPUs which this
1331 kernel will support. The maximum supported value is 32 for 32-bit
1332 kernel and 64 for 64-bit kernels; the minimum value which makes
1333 sense is 2.
1334
1335 This is purely to save memory - each supported CPU adds
1336 approximately eight kilobytes to the kernel image.
1337
1338config PREEMPT
1339 bool "Preemptible Kernel"
1340 help
1341 This option reduces the latency of the kernel when reacting to
1342 real-time or interactive events by allowing a low priority process to
1343 be preempted even if it is in kernel mode executing a system call.
1344 This allows applications to run more reliably even when the system is
1345 under load.
1346
1347config RTC_DS1742
1348 bool "DS1742 BRAM/RTC support"
1349 depends on TOSHIBA_JMR3927 || TOSHIBA_RBTX4927
1350
1351config MIPS_INSANE_LARGE
1352 bool "Support for large 64-bit configurations"
875d43e7 1353 depends on CPU_R10000 && 64BIT
1da177e4
LT
1354 help
1355 MIPS R10000 does support a 44 bit / 16TB address space as opposed to
1356 previous 64-bit processors which only supported 40 bit / 1TB. If you
1357 need processes of more than 1TB virtual address space, say Y here.
1358 This will result in additional memory usage, so it is not
1359 recommended for normal users.
1360
1361config RWSEM_GENERIC_SPINLOCK
1362 bool
1363 default y
1364
1365endmenu
1366
1367menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
1368
1369config HW_HAS_PCI
1370 bool
1371
1372config PCI
1373 bool "Support for PCI controller"
1374 depends on HW_HAS_PCI
1375 help
1376 Find out whether you have a PCI motherboard. PCI is the name of a
1377 bus system, i.e. the way the CPU talks to the other stuff inside
1378 your box. Other bus systems are ISA, EISA, or VESA. If you have PCI,
1379 say Y, otherwise N.
1380
1381 The PCI-HOWTO, available from
1382 <http://www.tldp.org/docs.html#howto>, contains valuable
1383 information about which PCI hardware does work under Linux and which
1384 doesn't.
1385
1386config PCI_DOMAINS
1387 bool
1388 depends on PCI
1389
1390source "drivers/pci/Kconfig"
1391
1392#
1393# ISA support is now enabled via select. Too many systems still have the one
1394# or other ISA chip on the board that users don't know about so don't expect
1395# users to choose the right thing ...
1396#
1397config ISA
1398 bool
1399
1400config EISA
1401 bool "EISA support"
1402 depends on SGI_IP22 || SNI_RM200_PCI
1403 select ISA
1404 ---help---
1405 The Extended Industry Standard Architecture (EISA) bus was
1406 developed as an open alternative to the IBM MicroChannel bus.
1407
1408 The EISA bus provided some of the features of the IBM MicroChannel
1409 bus while maintaining backward compatibility with cards made for
1410 the older ISA bus. The EISA bus saw limited use between 1988 and
1411 1995 when it was made obsolete by the PCI bus.
1412
1413 Say Y here if you are building a kernel for an EISA-based machine.
1414
1415 Otherwise, say N.
1416
1417source "drivers/eisa/Kconfig"
1418
1419config TC
1420 bool "TURBOchannel support"
1421 depends on MACH_DECSTATION
1422 help
1423 TurboChannel is a DEC (now Compaq (now HP)) bus for Alpha and MIPS
1424 processors. Documentation on writing device drivers for TurboChannel
1425 is available at:
1426 <http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS3HD-TET1_html/TITLE.html>.
1427
1428#config ACCESSBUS
1429# bool "Access.Bus support"
1430# depends on TC
1431
1432config MMU
1433 bool
1434 default y
1435
1436config MCA
1437 bool
1438
1439config SBUS
1440 bool
1441
1442source "drivers/pcmcia/Kconfig"
1443
1444source "drivers/pci/hotplug/Kconfig"
1445
1446endmenu
1447
1448menu "Executable file formats"
1449
1450source "fs/Kconfig.binfmt"
1451
1452config TRAD_SIGNALS
1453 bool
875d43e7 1454 default y if 32BIT
1da177e4
LT
1455
1456config BUILD_ELF64
1457 bool "Use 64-bit ELF format for building"
875d43e7 1458 depends on 64BIT
1da177e4
LT
1459 help
1460 A 64-bit kernel is usually built using the 64-bit ELF binary object
1461 format as it's one that allows arbitrary 64-bit constructs. For
1462 kernels that are loaded within the KSEG compatibility segments the
1463 32-bit ELF format can optionally be used resulting in a somewhat
1464 smaller binary, but this option is not explicitly supported by the
1465 toolchain and since binutils 2.14 it does not even work at all.
1466
1467 Say Y to use the 64-bit format or N to use the 32-bit one.
1468
1469 If unsure say Y.
1470
1471config BINFMT_IRIX
1472 bool "Include IRIX binary compatibility"
875d43e7 1473 depends on !CPU_LITTLE_ENDIAN && 32BIT && BROKEN
1da177e4
LT
1474
1475config MIPS32_COMPAT
1476 bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
875d43e7 1477 depends on 64BIT
1da177e4
LT
1478 help
1479 Select this option if you want Linux/MIPS 32-bit binary
1480 compatibility. Since all software available for Linux/MIPS is
1481 currently 32-bit you should say Y here.
1482
1483config COMPAT
1484 bool
1485 depends on MIPS32_COMPAT
1486 default y
1487
1488config MIPS32_O32
1489 bool "Kernel support for o32 binaries"
1490 depends on MIPS32_COMPAT
1491 help
1492 Select this option if you want to run o32 binaries. These are pure
1493 32-bit binaries as used by the 32-bit Linux/MIPS port. Most of
1494 existing binaries are in this format.
1495
1496 If unsure, say Y.
1497
1498config MIPS32_N32
1499 bool "Kernel support for n32 binaries"
1500 depends on MIPS32_COMPAT
1501 help
1502 Select this option if you want to run n32 binaries. These are
1503 64-bit binaries using 32-bit quantities for addressing and certain
1504 data that would normally be 64-bit. They are used in special
1505 cases.
1506
1507 If unsure, say N.
1508
1509config BINFMT_ELF32
1510 bool
1511 default y if MIPS32_O32 || MIPS32_N32
1512
1513config PM
1514 bool "Power Management support (EXPERIMENTAL)"
1515 depends on EXPERIMENTAL && MACH_AU1X00
1516
1517endmenu
1518
d5950b43
SR
1519source "net/Kconfig"
1520
1da177e4
LT
1521source "drivers/Kconfig"
1522
1523source "fs/Kconfig"
1524
1525source "arch/mips/Kconfig.debug"
1526
1527source "security/Kconfig"
1528
1529source "crypto/Kconfig"
1530
1531source "lib/Kconfig"
1532
1533#
1534# Use the generic interrupt handling code in kernel/irq/:
1535#
1536config GENERIC_HARDIRQS
1537 bool
1538 default y
1539
1540config GENERIC_IRQ_PROBE
1541 bool
1542 default y
5cae841b
AV
1543
1544config ISA_DMA_API
1545 bool
1546 default y