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