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