diff options
Diffstat (limited to 'arch/cris/Kconfig')
-rw-r--r-- | arch/cris/Kconfig | 538 |
1 files changed, 498 insertions, 40 deletions
diff --git a/arch/cris/Kconfig b/arch/cris/Kconfig index ff078e60e76d..8456bc8efb7c 100644 --- a/arch/cris/Kconfig +++ b/arch/cris/Kconfig | |||
@@ -13,10 +13,6 @@ config ZONE_DMA | |||
13 | bool | 13 | bool |
14 | default y | 14 | default y |
15 | 15 | ||
16 | config NO_DMA | ||
17 | bool | ||
18 | default y | ||
19 | |||
20 | config RWSEM_GENERIC_SPINLOCK | 16 | config RWSEM_GENERIC_SPINLOCK |
21 | bool | 17 | bool |
22 | default y | 18 | default y |
@@ -24,6 +20,10 @@ config RWSEM_GENERIC_SPINLOCK | |||
24 | config RWSEM_XCHGADD_ALGORITHM | 20 | config RWSEM_XCHGADD_ALGORITHM |
25 | bool | 21 | bool |
26 | 22 | ||
23 | config GENERIC_IOMAP | ||
24 | bool | ||
25 | default y | ||
26 | |||
27 | config ARCH_HAS_ILOG2_U32 | 27 | config ARCH_HAS_ILOG2_U32 |
28 | bool | 28 | bool |
29 | default n | 29 | default n |
@@ -44,13 +44,13 @@ config GENERIC_CALIBRATE_DELAY | |||
44 | bool | 44 | bool |
45 | default y | 45 | default y |
46 | 46 | ||
47 | config IRQ_PER_CPU | ||
48 | bool | ||
49 | default y | ||
50 | |||
51 | config NO_IOPORT | 47 | config NO_IOPORT |
52 | def_bool y | 48 | def_bool y |
53 | 49 | ||
50 | config FORCE_MAX_ZONEORDER | ||
51 | int | ||
52 | default 6 | ||
53 | |||
54 | config CRIS | 54 | config CRIS |
55 | bool | 55 | bool |
56 | default y | 56 | default y |
@@ -97,17 +97,15 @@ config ETRAX_FAST_TIMER | |||
97 | timers). | 97 | timers). |
98 | This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled. | 98 | This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled. |
99 | 99 | ||
100 | config PREEMPT | 100 | config ETRAX_KMALLOCED_MODULES |
101 | bool "Preemptible Kernel" | 101 | bool "Enable module allocation with kmalloc" |
102 | help | 102 | help |
103 | This option reduces the latency of the kernel when reacting to | 103 | Enable module allocation with kmalloc instead of vmalloc. |
104 | real-time or interactive events by allowing a low priority process to | 104 | |
105 | be preempted even if it is in kernel mode executing a system call. | 105 | config OOM_REBOOT |
106 | This allows applications to run more reliably even when the system is | 106 | bool "Enable reboot at out of memory" |
107 | under load. | ||
108 | 107 | ||
109 | Say Y here if you are building a kernel for a desktop, embedded | 108 | source "kernel/Kconfig.preempt" |
110 | or real-time system. Say N if you are unsure. | ||
111 | 109 | ||
112 | source mm/Kconfig | 110 | source mm/Kconfig |
113 | 111 | ||
@@ -134,24 +132,124 @@ config SVINTO_SIM | |||
134 | help | 132 | help |
135 | Support the xsim ETRAX Simulator. | 133 | Support the xsim ETRAX Simulator. |
136 | 134 | ||
135 | config ETRAXFS | ||
136 | bool "ETRAX-FS-V32" | ||
137 | help | ||
138 | Support CRIS V32. | ||
139 | |||
140 | config CRIS_MACH_ARTPEC3 | ||
141 | bool "ARTPEC-3" | ||
142 | help | ||
143 | Support Axis ARTPEC-3. | ||
144 | |||
137 | endchoice | 145 | endchoice |
138 | 146 | ||
147 | config ETRAX_VCS_SIM | ||
148 | bool "VCS Simulator" | ||
149 | help | ||
150 | Setup hardware to be run in the VCS simulator. | ||
151 | |||
139 | config ETRAX_ARCH_V10 | 152 | config ETRAX_ARCH_V10 |
140 | bool | 153 | bool |
141 | default y if ETRAX100LX || ETRAX100LX_V2 | 154 | default y if ETRAX100LX || ETRAX100LX_V2 |
142 | default n if !(ETRAX100LX || ETRAX100LX_V2) | 155 | default n if !(ETRAX100LX || ETRAX100LX_V2) |
143 | 156 | ||
157 | config ETRAX_ARCH_V32 | ||
158 | bool | ||
159 | default y if (ETRAXFS || CRIS_MACH_ARTPEC3) | ||
160 | default n if !(ETRAXFS || CRIS_MACH_ARTPEC3) | ||
161 | |||
144 | config ETRAX_DRAM_SIZE | 162 | config ETRAX_DRAM_SIZE |
145 | int "DRAM size (dec, in MB)" | 163 | int "DRAM size (dec, in MB)" |
146 | default "8" | 164 | default "8" |
147 | help | 165 | help |
148 | Size of DRAM (decimal in MB) typically 2, 8 or 16. | 166 | Size of DRAM (decimal in MB) typically 2, 8 or 16. |
149 | 167 | ||
168 | config ETRAX_VMEM_SIZE | ||
169 | int "Video memory size (dec, in MB)" | ||
170 | depends on ETRAX_ARCH_V32 && !ETRAXFS | ||
171 | default 8 if !ETRAXFS | ||
172 | help | ||
173 | Size of Video accessible memory (decimal, in MB). | ||
174 | |||
150 | config ETRAX_FLASH_BUSWIDTH | 175 | config ETRAX_FLASH_BUSWIDTH |
151 | int "Buswidth of flash in bytes" | 176 | int "Buswidth of NOR flash in bytes" |
152 | default "2" | 177 | default "2" |
153 | help | 178 | help |
154 | Width in bytes of the Flash bus (1, 2 or 4). Is usually 2. | 179 | Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2. |
180 | |||
181 | config ETRAX_NANDFLASH_BUSWIDTH | ||
182 | int "Buswidth of NAND flash in bytes" | ||
183 | default "1" | ||
184 | help | ||
185 | Width in bytes of the NAND flash (1 or 2). | ||
186 | |||
187 | config ETRAX_FLASH1_SIZE | ||
188 | int "FLASH1 size (dec, in MB. 0 = Unknown)" | ||
189 | default "0" | ||
190 | |||
191 | choice | ||
192 | prompt "Product debug-port" | ||
193 | default ETRAX_DEBUG_PORT0 | ||
194 | |||
195 | config ETRAX_DEBUG_PORT0 | ||
196 | bool "Serial-0" | ||
197 | help | ||
198 | Choose a serial port for the ETRAX debug console. Default to | ||
199 | port 0. | ||
200 | |||
201 | config ETRAX_DEBUG_PORT1 | ||
202 | bool "Serial-1" | ||
203 | help | ||
204 | Use serial port 1 for the console. | ||
205 | |||
206 | config ETRAX_DEBUG_PORT2 | ||
207 | bool "Serial-2" | ||
208 | help | ||
209 | Use serial port 2 for the console. | ||
210 | |||
211 | config ETRAX_DEBUG_PORT3 | ||
212 | bool "Serial-3" | ||
213 | help | ||
214 | Use serial port 3 for the console. | ||
215 | |||
216 | config ETRAX_DEBUG_PORT_NULL | ||
217 | bool "disabled" | ||
218 | help | ||
219 | Disable serial-port debugging. | ||
220 | |||
221 | endchoice | ||
222 | |||
223 | choice | ||
224 | prompt "Kernel GDB port" | ||
225 | depends on ETRAX_KGDB | ||
226 | default ETRAX_KGDB_PORT0 | ||
227 | help | ||
228 | Choose a serial port for kernel debugging. NOTE: This port should | ||
229 | not be enabled under Drivers for built-in interfaces (as it has its | ||
230 | own initialization code) and should not be the same as the debug port. | ||
231 | |||
232 | config ETRAX_KGDB_PORT0 | ||
233 | bool "Serial-0" | ||
234 | help | ||
235 | Use serial port 0 for kernel debugging. | ||
236 | |||
237 | config ETRAX_KGDB_PORT1 | ||
238 | bool "Serial-1" | ||
239 | help | ||
240 | Use serial port 1 for kernel debugging. | ||
241 | |||
242 | config ETRAX_KGDB_PORT2 | ||
243 | bool "Serial-2" | ||
244 | help | ||
245 | Use serial port 2 for kernel debugging. | ||
246 | |||
247 | config ETRAX_KGDB_PORT3 | ||
248 | bool "Serial-3" | ||
249 | help | ||
250 | Use serial port 3 for kernel debugging. | ||
251 | |||
252 | endchoice | ||
155 | 253 | ||
156 | source arch/cris/arch-v10/Kconfig | 254 | source arch/cris/arch-v10/Kconfig |
157 | source arch/cris/arch-v32/Kconfig | 255 | source arch/cris/arch-v32/Kconfig |
@@ -165,6 +263,387 @@ menu "Drivers for built-in interfaces" | |||
165 | source arch/cris/arch-v10/drivers/Kconfig | 263 | source arch/cris/arch-v10/drivers/Kconfig |
166 | source arch/cris/arch-v32/drivers/Kconfig | 264 | source arch/cris/arch-v32/drivers/Kconfig |
167 | 265 | ||
266 | config ETRAX_AXISFLASHMAP | ||
267 | bool "Axis flash-map support" | ||
268 | select MTD | ||
269 | select MTD_CFI | ||
270 | select MTD_CFI_AMDSTD | ||
271 | select MTD_JEDECPROBE if ETRAX_ARCH_V32 | ||
272 | select MTD_CHAR | ||
273 | select MTD_BLOCK | ||
274 | select MTD_PARTITIONS | ||
275 | select MTD_CONCAT | ||
276 | select MTD_COMPLEX_MAPPINGS | ||
277 | help | ||
278 | This option enables MTD mapping of flash devices. Needed to use | ||
279 | flash memories. If unsure, say Y. | ||
280 | |||
281 | config ETRAX_RTC | ||
282 | bool "Real Time Clock support" | ||
283 | depends on ETRAX_I2C | ||
284 | help | ||
285 | Enables drivers for the Real-Time Clock battery-backed chips on | ||
286 | some products. The kernel reads the time when booting, and | ||
287 | the date can be set using ioctl(fd, RTC_SET_TIME, &rt) with rt a | ||
288 | rtc_time struct (see <file:include/asm-cris/rtc.h>) on the /dev/rtc | ||
289 | device. You can check the time with cat /proc/rtc, but | ||
290 | normal time reading should be done using libc function time and | ||
291 | friends. | ||
292 | |||
293 | choice | ||
294 | prompt "RTC chip" | ||
295 | depends on ETRAX_RTC | ||
296 | default ETRAX_PCF8563 if ETRAX_ARCH_V32 | ||
297 | default ETRAX_DS1302 if ETRAX_ARCH_V10 | ||
298 | |||
299 | config ETRAX_DS1302 | ||
300 | depends on ETRAX_ARCH_V10 | ||
301 | bool "DS1302" | ||
302 | help | ||
303 | Enables the driver for the DS1302 Real-Time Clock battery-backed | ||
304 | chip on some products. | ||
305 | |||
306 | config ETRAX_PCF8563 | ||
307 | bool "PCF8563" | ||
308 | help | ||
309 | Enables the driver for the PCF8563 Real-Time Clock battery-backed | ||
310 | chip on some products. | ||
311 | |||
312 | endchoice | ||
313 | |||
314 | config ETRAX_SYNCHRONOUS_SERIAL | ||
315 | bool "Synchronous serial-port support" | ||
316 | help | ||
317 | Select this to enable the synchronous serial port driver. | ||
318 | |||
319 | config ETRAX_SYNCHRONOUS_SERIAL_PORT0 | ||
320 | bool "Synchronous serial port 0 enabled" | ||
321 | depends on ETRAX_SYNCHRONOUS_SERIAL | ||
322 | help | ||
323 | Enabled synchronous serial port 0. | ||
324 | |||
325 | config ETRAX_SYNCHRONOUS_SERIAL0_DMA | ||
326 | bool "Enable DMA on synchronous serial port 0." | ||
327 | depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0 | ||
328 | help | ||
329 | A synchronous serial port can run in manual or DMA mode. | ||
330 | Selecting this option will make it run in DMA mode. | ||
331 | |||
332 | config ETRAX_SYNCHRONOUS_SERIAL_PORT1 | ||
333 | bool "Synchronous serial port 1 enabled" | ||
334 | depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10) | ||
335 | help | ||
336 | Enabled synchronous serial port 1. | ||
337 | |||
338 | config ETRAX_SYNCHRONOUS_SERIAL1_DMA | ||
339 | bool "Enable DMA on synchronous serial port 1." | ||
340 | depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1 | ||
341 | help | ||
342 | A synchronous serial port can run in manual or DMA mode. | ||
343 | Selecting this option will make it run in DMA mode. | ||
344 | |||
345 | choice | ||
346 | prompt "Network LED behavior" | ||
347 | depends on ETRAX_ETHERNET | ||
348 | default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY | ||
349 | |||
350 | config ETRAX_NETWORK_LED_ON_WHEN_LINK | ||
351 | bool "LED_on_when_link" | ||
352 | help | ||
353 | Selecting LED_on_when_link will light the LED when there is a | ||
354 | connection and will flash off when there is activity. | ||
355 | |||
356 | Selecting LED_on_when_activity will light the LED only when | ||
357 | there is activity. | ||
358 | |||
359 | This setting will also affect the behaviour of other activity LEDs | ||
360 | e.g. Bluetooth. | ||
361 | |||
362 | config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY | ||
363 | bool "LED_on_when_activity" | ||
364 | help | ||
365 | Selecting LED_on_when_link will light the LED when there is a | ||
366 | connection and will flash off when there is activity. | ||
367 | |||
368 | Selecting LED_on_when_activity will light the LED only when | ||
369 | there is activity. | ||
370 | |||
371 | This setting will also affect the behaviour of other activity LEDs | ||
372 | e.g. Bluetooth. | ||
373 | |||
374 | endchoice | ||
375 | |||
376 | choice | ||
377 | prompt "Ser0 DMA out channel" | ||
378 | depends on ETRAX_SERIAL_PORT0 | ||
379 | default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32 | ||
380 | default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10 | ||
381 | |||
382 | config ETRAX_SERIAL_PORT0_NO_DMA_OUT | ||
383 | bool "Ser0 uses no DMA for output" | ||
384 | help | ||
385 | Do not use DMA for ser0 output. | ||
386 | |||
387 | config ETRAX_SERIAL_PORT0_DMA6_OUT | ||
388 | bool "Ser0 uses DMA6 for output" | ||
389 | depends on ETRAXFS | ||
390 | help | ||
391 | Enables the DMA6 output channel for ser0 (ttyS0). | ||
392 | If you do not enable DMA, an interrupt for each character will be | ||
393 | used when transmitting data. | ||
394 | Normally you want to use DMA, unless you use the DMA channel for | ||
395 | something else. | ||
396 | |||
397 | config ETRAX_SERIAL_PORT0_DMA0_OUT | ||
398 | bool "Ser0 uses DMA0 for output" | ||
399 | depends on CRIS_MACH_ARTPEC3 | ||
400 | help | ||
401 | Enables the DMA0 output channel for ser0 (ttyS0). | ||
402 | If you do not enable DMA, an interrupt for each character will be | ||
403 | used when transmitting data. | ||
404 | Normally you want to use DMA, unless you use the DMA channel for | ||
405 | something else. | ||
406 | |||
407 | endchoice | ||
408 | |||
409 | choice | ||
410 | prompt "Ser0 DMA in channel " | ||
411 | depends on ETRAX_SERIAL_PORT0 | ||
412 | default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32 | ||
413 | default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10 | ||
414 | help | ||
415 | What DMA channel to use for ser0. | ||
416 | |||
417 | config ETRAX_SERIAL_PORT0_NO_DMA_IN | ||
418 | bool "Ser0 uses no DMA for input" | ||
419 | help | ||
420 | Do not use DMA for ser0 input. | ||
421 | |||
422 | config ETRAX_SERIAL_PORT0_DMA7_IN | ||
423 | bool "Ser0 uses DMA7 for input" | ||
424 | depends on ETRAXFS | ||
425 | help | ||
426 | Enables the DMA7 input channel for ser0 (ttyS0). | ||
427 | If you do not enable DMA, an interrupt for each character will be | ||
428 | used when receiving data. | ||
429 | Normally you want to use DMA, unless you use the DMA channel for | ||
430 | something else. | ||
431 | |||
432 | config ETRAX_SERIAL_PORT0_DMA1_IN | ||
433 | bool "Ser0 uses DMA1 for input" | ||
434 | depends on CRIS_MACH_ARTPEC3 | ||
435 | help | ||
436 | Enables the DMA1 input channel for ser0 (ttyS0). | ||
437 | If you do not enable DMA, an interrupt for each character will be | ||
438 | used when receiveing data. | ||
439 | Normally you want to use DMA, unless you use the DMA channel for | ||
440 | something else. | ||
441 | |||
442 | endchoice | ||
443 | |||
444 | choice | ||
445 | prompt "Ser1 DMA in channel " | ||
446 | depends on ETRAX_SERIAL_PORT1 | ||
447 | default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32 | ||
448 | default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10 | ||
449 | help | ||
450 | What DMA channel to use for ser1. | ||
451 | |||
452 | config ETRAX_SERIAL_PORT1_NO_DMA_IN | ||
453 | bool "Ser1 uses no DMA for input" | ||
454 | help | ||
455 | Do not use DMA for ser1 input. | ||
456 | |||
457 | config ETRAX_SERIAL_PORT1_DMA5_IN | ||
458 | bool "Ser1 uses DMA5 for input" | ||
459 | depends on ETRAX_ARCH_V32 | ||
460 | help | ||
461 | Enables the DMA5 input channel for ser1 (ttyS1). | ||
462 | If you do not enable DMA, an interrupt for each character will be | ||
463 | used when receiving data. | ||
464 | Normally you want this on, unless you use the DMA channel for | ||
465 | something else. | ||
466 | |||
467 | config ETRAX_SERIAL_PORT1_DMA9_IN | ||
468 | depends on ETRAX_ARCH_V10 | ||
469 | bool "Ser1 uses DMA9 for input" | ||
470 | |||
471 | endchoice | ||
472 | |||
473 | |||
474 | choice | ||
475 | prompt "Ser1 DMA out channel" | ||
476 | depends on ETRAX_SERIAL_PORT1 | ||
477 | default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32 | ||
478 | default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10 | ||
479 | help | ||
480 | What DMA channel to use for ser1. | ||
481 | |||
482 | config ETRAX_SERIAL_PORT1_NO_DMA_OUT | ||
483 | bool "Ser1 uses no DMA for output" | ||
484 | help | ||
485 | Do not use DMA for ser1 output. | ||
486 | |||
487 | config ETRAX_SERIAL_PORT1_DMA8_OUT | ||
488 | depends on ETRAX_ARCH_V10 | ||
489 | bool "Ser1 uses DMA8 for output" | ||
490 | |||
491 | config ETRAX_SERIAL_PORT1_DMA4_OUT | ||
492 | depends on ETRAX_ARCH_V32 | ||
493 | bool "Ser1 uses DMA4 for output" | ||
494 | help | ||
495 | Enables the DMA4 output channel for ser1 (ttyS1). | ||
496 | If you do not enable DMA, an interrupt for each character will be | ||
497 | used when transmitting data. | ||
498 | Normally you want this on, unless you use the DMA channel for | ||
499 | something else. | ||
500 | |||
501 | endchoice | ||
502 | |||
503 | choice | ||
504 | prompt "Ser2 DMA out channel" | ||
505 | depends on ETRAX_SERIAL_PORT2 | ||
506 | default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32 | ||
507 | default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10 | ||
508 | |||
509 | config ETRAX_SERIAL_PORT2_NO_DMA_OUT | ||
510 | bool "Ser2 uses no DMA for output" | ||
511 | help | ||
512 | Do not use DMA for ser2 output. | ||
513 | |||
514 | config ETRAX_SERIAL_PORT2_DMA2_OUT | ||
515 | bool "Ser2 uses DMA2 for output" | ||
516 | depends on ETRAXFS || ETRAX_ARCH_V10 | ||
517 | help | ||
518 | Enables the DMA2 output channel for ser2 (ttyS2). | ||
519 | If you do not enable DMA, an interrupt for each character will be | ||
520 | used when transmitting data. | ||
521 | Normally you want to use DMA, unless you use the DMA channel for | ||
522 | something else. | ||
523 | |||
524 | config ETRAX_SERIAL_PORT2_DMA6_OUT | ||
525 | bool "Ser2 uses DMA6 for output" | ||
526 | depends on CRIS_MACH_ARTPEC3 | ||
527 | help | ||
528 | Enables the DMA6 output channel for ser2 (ttyS2). | ||
529 | If you do not enable DMA, an interrupt for each character will be | ||
530 | used when transmitting data. | ||
531 | Normally you want to use DMA, unless you use the DMA channel for | ||
532 | something else. | ||
533 | |||
534 | endchoice | ||
535 | |||
536 | choice | ||
537 | prompt "Ser2 DMA in channel" | ||
538 | depends on ETRAX_SERIAL_PORT2 | ||
539 | default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32 | ||
540 | default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10 | ||
541 | help | ||
542 | What DMA channel to use for ser2. | ||
543 | |||
544 | config ETRAX_SERIAL_PORT2_NO_DMA_IN | ||
545 | bool "Ser2 uses no DMA for input" | ||
546 | help | ||
547 | Do not use DMA for ser2 input. | ||
548 | |||
549 | config ETRAX_SERIAL_PORT2_DMA3_IN | ||
550 | bool "Ser2 uses DMA3 for input" | ||
551 | depends on ETRAXFS || ETRAX_ARCH_V10 | ||
552 | help | ||
553 | Enables the DMA3 input channel for ser2 (ttyS2). | ||
554 | If you do not enable DMA, an interrupt for each character will be | ||
555 | used when receiving data. | ||
556 | Normally you want to use DMA, unless you use the DMA channel for | ||
557 | something else. | ||
558 | |||
559 | config ETRAX_SERIAL_PORT2_DMA7_IN | ||
560 | bool "Ser2 uses DMA7 for input" | ||
561 | depends on CRIS_MACH_ARTPEC3 | ||
562 | help | ||
563 | Enables the DMA7 input channel for ser2 (ttyS2). | ||
564 | If you do not enable DMA, an interrupt for each character will be | ||
565 | used when receiveing data. | ||
566 | Normally you want to use DMA, unless you use the DMA channel for | ||
567 | something else. | ||
568 | |||
569 | endchoice | ||
570 | |||
571 | choice | ||
572 | prompt "Ser3 DMA in channel" | ||
573 | depends on ETRAX_SERIAL_PORT3 | ||
574 | default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32 | ||
575 | default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10 | ||
576 | help | ||
577 | What DMA channel to use for ser3. | ||
578 | |||
579 | config ETRAX_SERIAL_PORT3_NO_DMA_IN | ||
580 | bool "Ser3 uses no DMA for input" | ||
581 | help | ||
582 | Do not use DMA for ser3 input. | ||
583 | |||
584 | config ETRAX_SERIAL_PORT3_DMA5_IN | ||
585 | depends on ETRAX_ARCH_V10 | ||
586 | bool "DMA 5" | ||
587 | |||
588 | config ETRAX_SERIAL_PORT3_DMA9_IN | ||
589 | bool "Ser3 uses DMA9 for input" | ||
590 | depends on ETRAXFS | ||
591 | help | ||
592 | Enables the DMA9 input channel for ser3 (ttyS3). | ||
593 | If you do not enable DMA, an interrupt for each character will be | ||
594 | used when receiving data. | ||
595 | Normally you want to use DMA, unless you use the DMA channel for | ||
596 | something else. | ||
597 | |||
598 | config ETRAX_SERIAL_PORT3_DMA3_IN | ||
599 | bool "Ser3 uses DMA3 for input" | ||
600 | depends on CRIS_MACH_ARTPEC3 | ||
601 | help | ||
602 | Enables the DMA3 input channel for ser3 (ttyS3). | ||
603 | If you do not enable DMA, an interrupt for each character will be | ||
604 | used when receiveing data. | ||
605 | Normally you want to use DMA, unless you use the DMA channel for | ||
606 | something else. | ||
607 | |||
608 | endchoice | ||
609 | |||
610 | choice | ||
611 | prompt "Ser3 DMA out channel" | ||
612 | depends on ETRAX_SERIAL_PORT3 | ||
613 | default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32 | ||
614 | default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10 | ||
615 | |||
616 | config ETRAX_SERIAL_PORT3_NO_DMA_OUT | ||
617 | bool "Ser3 uses no DMA for output" | ||
618 | help | ||
619 | Do not use DMA for ser3 output. | ||
620 | |||
621 | config ETRAX_SERIAL_PORT3_DMA4_OUT | ||
622 | depends on ETRAX_ARCH_V10 | ||
623 | bool "DMA 4" | ||
624 | |||
625 | config ETRAX_SERIAL_PORT3_DMA8_OUT | ||
626 | bool "Ser3 uses DMA8 for output" | ||
627 | depends on ETRAXFS | ||
628 | help | ||
629 | Enables the DMA8 output channel for ser3 (ttyS3). | ||
630 | If you do not enable DMA, an interrupt for each character will be | ||
631 | used when transmitting data. | ||
632 | Normally you want to use DMA, unless you use the DMA channel for | ||
633 | something else. | ||
634 | |||
635 | config ETRAX_SERIAL_PORT3_DMA2_OUT | ||
636 | bool "Ser3 uses DMA2 for output" | ||
637 | depends on CRIS_MACH_ARTPEC3 | ||
638 | help | ||
639 | Enables the DMA2 output channel for ser3 (ttyS3). | ||
640 | If you do not enable DMA, an interrupt for each character will be | ||
641 | used when transmitting data. | ||
642 | Normally you want to use DMA, unless you use the DMA channel for | ||
643 | something else. | ||
644 | |||
645 | endchoice | ||
646 | |||
168 | endmenu | 647 | endmenu |
169 | 648 | ||
170 | source "drivers/base/Kconfig" | 649 | source "drivers/base/Kconfig" |
@@ -178,22 +657,10 @@ source "drivers/pnp/Kconfig" | |||
178 | 657 | ||
179 | source "drivers/block/Kconfig" | 658 | source "drivers/block/Kconfig" |
180 | 659 | ||
181 | source "drivers/md/Kconfig" | ||
182 | |||
183 | source "drivers/ide/Kconfig" | 660 | source "drivers/ide/Kconfig" |
184 | 661 | ||
185 | source "drivers/scsi/Kconfig" | ||
186 | |||
187 | source "drivers/ieee1394/Kconfig" | ||
188 | |||
189 | source "drivers/message/i2o/Kconfig" | ||
190 | |||
191 | source "drivers/net/Kconfig" | 662 | source "drivers/net/Kconfig" |
192 | 663 | ||
193 | source "drivers/isdn/Kconfig" | ||
194 | |||
195 | source "drivers/telephony/Kconfig" | ||
196 | |||
197 | source "drivers/i2c/Kconfig" | 664 | source "drivers/i2c/Kconfig" |
198 | 665 | ||
199 | source "drivers/rtc/Kconfig" | 666 | source "drivers/rtc/Kconfig" |
@@ -205,17 +672,8 @@ source "drivers/input/Kconfig" | |||
205 | 672 | ||
206 | source "drivers/char/Kconfig" | 673 | source "drivers/char/Kconfig" |
207 | 674 | ||
208 | #source drivers/misc/Config.in | ||
209 | source "drivers/media/Kconfig" | ||
210 | |||
211 | source "fs/Kconfig" | 675 | source "fs/Kconfig" |
212 | 676 | ||
213 | source "sound/Kconfig" | ||
214 | |||
215 | source "drivers/pcmcia/Kconfig" | ||
216 | |||
217 | source "drivers/pci/Kconfig" | ||
218 | |||
219 | source "drivers/usb/Kconfig" | 677 | source "drivers/usb/Kconfig" |
220 | 678 | ||
221 | source "arch/cris/Kconfig.debug" | 679 | source "arch/cris/Kconfig.debug" |