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