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