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