blob: 617925ddd142cd57712daa560be131138680e44f [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001config MMU
2 bool
3 default y
4
Christoph Lameter66701b12007-02-10 01:43:09 -08005config ZONE_DMA
6 bool
7 default y
8
Linus Torvalds1da177e2005-04-16 15:20:36 -07009config RWSEM_GENERIC_SPINLOCK
10 bool
11 default y
12
13config RWSEM_XCHGADD_ALGORITHM
14 bool
15
John Stultz8eff8a52010-03-03 19:57:28 -080016config GENERIC_CMOS_UPDATE
17 def_bool y
18
john stultzba875ba2010-03-05 13:42:31 -080019config ARCH_USES_GETTIMEOFFSET
Jesper Nilsson60dbd662010-07-30 17:33:07 +020020 def_bool n
john stultzba875ba2010-03-05 13:42:31 -080021
Jesper Nilsson923dd2a2007-12-05 18:10:36 +010022config GENERIC_IOMAP
23 bool
24 default y
25
David Howellsf0d1b0b2006-12-08 02:37:49 -080026config ARCH_HAS_ILOG2_U32
27 bool
28 default n
29
30config ARCH_HAS_ILOG2_U64
31 bool
32 default n
33
Akinobu Mitae9f26df2006-03-26 01:39:21 -080034config GENERIC_FIND_NEXT_BIT
35 bool
36 default y
37
38config GENERIC_HWEIGHT
39 bool
40 default y
41
Linus Torvalds1da177e2005-04-16 15:20:36 -070042config GENERIC_CALIBRATE_DELAY
43 bool
44 default y
45
Al Viro5ea81762007-02-11 15:41:31 +000046config NO_IOPORT
47 def_bool y
48
Jesper Nilsson923dd2a2007-12-05 18:10:36 +010049config FORCE_MAX_ZONEORDER
50 int
51 default 6
52
Linus Torvalds1da177e2005-04-16 15:20:36 -070053config CRIS
54 bool
55 default y
Sam Ravnborgec7748b2008-02-09 10:46:40 +010056 select HAVE_IDE
Thomas Gleixner30139782011-01-19 14:20:13 +010057 select HAVE_GENERIC_HARDIRQS
58 select GENERIC_HARDIRQS_NO_DEPRECATED
Thomas Gleixner15825a52011-03-17 13:39:19 +010059 select GENERIC_IRQ_SHOW
Linus Torvalds1da177e2005-04-16 15:20:36 -070060
H. Peter Anvinbdc80782008-02-08 04:21:26 -080061config HZ
62 int
63 default 100
64
Linus Torvalds1da177e2005-04-16 15:20:36 -070065source "init/Kconfig"
66
Matt Helsleydc52ddc2008-10-18 20:27:21 -070067source "kernel/Kconfig.freezer"
68
Linus Torvalds1da177e2005-04-16 15:20:36 -070069menu "General setup"
70
71source "fs/Kconfig.binfmt"
72
73config ETRAX_CMDLINE
74 string "Kernel command line"
75 default "root=/dev/mtdblock3"
76 help
77 Pass additional commands to the kernel.
78
79config ETRAX_WATCHDOG
80 bool "Enable ETRAX watchdog"
81 help
82 Enable the built-in watchdog timer support on ETRAX based embedded
83 network computers.
84
85config ETRAX_WATCHDOG_NICE_DOGGY
86 bool "Disable watchdog during Oops printouts"
87 depends on ETRAX_WATCHDOG
88 help
89 By enabling this you make sure that the watchdog does not bite while
90 printing oopses. Recommended for development systems but not for
91 production releases.
92
93config ETRAX_FAST_TIMER
94 bool "Enable ETRAX fast timer API"
95 help
96 This options enables the API to a fast timer implementation using
97 timer1 to get sub jiffie resolution timers (primarily one-shot
98 timers).
99 This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
100
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100101config ETRAX_KMALLOCED_MODULES
102 bool "Enable module allocation with kmalloc"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700103 help
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100104 Enable module allocation with kmalloc instead of vmalloc.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700105
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100106config OOM_REBOOT
107 bool "Enable reboot at out of memory"
108
109source "kernel/Kconfig.preempt"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700110
Dave Hansen3f22ab22005-06-23 00:07:43 -0700111source mm/Kconfig
112
Linus Torvalds1da177e2005-04-16 15:20:36 -0700113endmenu
114
115menu "Hardware setup"
116
117choice
118 prompt "Processor type"
119 default ETRAX100LX
120
121config ETRAX100LX
122 bool "ETRAX-100LX-v1"
Jesper Nilsson60dbd662010-07-30 17:33:07 +0200123 select ARCH_USES_GETTIMEOFFSET
Linus Torvalds1da177e2005-04-16 15:20:36 -0700124 help
125 Support version 1 of the ETRAX 100LX.
126
127config ETRAX100LX_V2
128 bool "ETRAX-100LX-v2"
Jesper Nilsson60dbd662010-07-30 17:33:07 +0200129 select ARCH_USES_GETTIMEOFFSET
Linus Torvalds1da177e2005-04-16 15:20:36 -0700130 help
131 Support version 2 of the ETRAX 100LX.
132
133config SVINTO_SIM
134 bool "ETRAX-100LX-for-xsim-simulator"
Jesper Nilsson60dbd662010-07-30 17:33:07 +0200135 select ARCH_USES_GETTIMEOFFSET
Linus Torvalds1da177e2005-04-16 15:20:36 -0700136 help
137 Support the xsim ETRAX Simulator.
138
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100139config ETRAXFS
140 bool "ETRAX-FS-V32"
141 help
142 Support CRIS V32.
143
144config CRIS_MACH_ARTPEC3
145 bool "ARTPEC-3"
146 help
147 Support Axis ARTPEC-3.
148
Linus Torvalds1da177e2005-04-16 15:20:36 -0700149endchoice
150
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100151config ETRAX_VCS_SIM
152 bool "VCS Simulator"
153 help
154 Setup hardware to be run in the VCS simulator.
155
Linus Torvalds1da177e2005-04-16 15:20:36 -0700156config ETRAX_ARCH_V10
157 bool
158 default y if ETRAX100LX || ETRAX100LX_V2
159 default n if !(ETRAX100LX || ETRAX100LX_V2)
160
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100161config ETRAX_ARCH_V32
162 bool
163 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
164 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
165
Linus Torvalds1da177e2005-04-16 15:20:36 -0700166config ETRAX_DRAM_SIZE
167 int "DRAM size (dec, in MB)"
168 default "8"
169 help
170 Size of DRAM (decimal in MB) typically 2, 8 or 16.
171
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100172config ETRAX_VMEM_SIZE
173 int "Video memory size (dec, in MB)"
174 depends on ETRAX_ARCH_V32 && !ETRAXFS
175 default 8 if !ETRAXFS
176 help
177 Size of Video accessible memory (decimal, in MB).
178
Linus Torvalds1da177e2005-04-16 15:20:36 -0700179config ETRAX_FLASH_BUSWIDTH
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100180 int "Buswidth of NOR flash in bytes"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700181 default "2"
182 help
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100183 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
184
185config ETRAX_NANDFLASH_BUSWIDTH
186 int "Buswidth of NAND flash in bytes"
187 default "1"
188 help
189 Width in bytes of the NAND flash (1 or 2).
190
191config ETRAX_FLASH1_SIZE
192 int "FLASH1 size (dec, in MB. 0 = Unknown)"
193 default "0"
194
195choice
196 prompt "Product debug-port"
197 default ETRAX_DEBUG_PORT0
198
199config ETRAX_DEBUG_PORT0
200 bool "Serial-0"
201 help
202 Choose a serial port for the ETRAX debug console. Default to
203 port 0.
204
205config ETRAX_DEBUG_PORT1
206 bool "Serial-1"
207 help
208 Use serial port 1 for the console.
209
210config ETRAX_DEBUG_PORT2
211 bool "Serial-2"
212 help
213 Use serial port 2 for the console.
214
215config ETRAX_DEBUG_PORT3
216 bool "Serial-3"
217 help
218 Use serial port 3 for the console.
219
220config ETRAX_DEBUG_PORT_NULL
221 bool "disabled"
222 help
223 Disable serial-port debugging.
224
225endchoice
226
227choice
228 prompt "Kernel GDB port"
229 depends on ETRAX_KGDB
230 default ETRAX_KGDB_PORT0
231 help
232 Choose a serial port for kernel debugging. NOTE: This port should
233 not be enabled under Drivers for built-in interfaces (as it has its
234 own initialization code) and should not be the same as the debug port.
235
236config ETRAX_KGDB_PORT0
237 bool "Serial-0"
238 help
239 Use serial port 0 for kernel debugging.
240
241config ETRAX_KGDB_PORT1
242 bool "Serial-1"
243 help
244 Use serial port 1 for kernel debugging.
245
246config ETRAX_KGDB_PORT2
247 bool "Serial-2"
248 help
249 Use serial port 2 for kernel debugging.
250
251config ETRAX_KGDB_PORT3
252 bool "Serial-3"
253 help
254 Use serial port 3 for kernel debugging.
255
256endchoice
Linus Torvalds1da177e2005-04-16 15:20:36 -0700257
258source arch/cris/arch-v10/Kconfig
Jesper Nilsson2d33d562008-02-04 22:30:31 -0800259source arch/cris/arch-v32/Kconfig
Linus Torvalds1da177e2005-04-16 15:20:36 -0700260
261endmenu
262
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700263source "net/Kconfig"
264
Linus Torvalds1da177e2005-04-16 15:20:36 -0700265# bring in ETRAX built-in drivers
266menu "Drivers for built-in interfaces"
Jesper Nilsson2d33d562008-02-04 22:30:31 -0800267source arch/cris/arch-v10/drivers/Kconfig
268source arch/cris/arch-v32/drivers/Kconfig
Linus Torvalds1da177e2005-04-16 15:20:36 -0700269
Jesper Nilsson79e04fd2008-02-06 13:21:28 +0100270config ETRAX_AXISFLASHMAP
271 bool "Axis flash-map support"
272 select MTD
273 select MTD_CFI
274 select MTD_CFI_AMDSTD
275 select MTD_JEDECPROBE if ETRAX_ARCH_V32
276 select MTD_CHAR
277 select MTD_BLOCK
278 select MTD_PARTITIONS
Jesper Nilsson79e04fd2008-02-06 13:21:28 +0100279 select MTD_COMPLEX_MAPPINGS
280 help
281 This option enables MTD mapping of flash devices. Needed to use
282 flash memories. If unsure, say Y.
283
Jesper Nilssonc3d6ddd2008-01-21 11:05:40 +0100284config ETRAX_RTC
285 bool "Real Time Clock support"
286 depends on ETRAX_I2C
287 help
288 Enables drivers for the Real-Time Clock battery-backed chips on
289 some products. The kernel reads the time when booting, and
290 the date can be set using ioctl(fd, RTC_SET_TIME, &rt) with rt a
291 rtc_time struct (see <file:include/asm-cris/rtc.h>) on the /dev/rtc
292 device. You can check the time with cat /proc/rtc, but
293 normal time reading should be done using libc function time and
294 friends.
295
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100296choice
297 prompt "RTC chip"
298 depends on ETRAX_RTC
Jesper Nilsson76735382011-03-21 11:52:11 +0100299 default ETRAX_DS1302
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100300
301config ETRAX_DS1302
302 depends on ETRAX_ARCH_V10
303 bool "DS1302"
304 help
305 Enables the driver for the DS1302 Real-Time Clock battery-backed
306 chip on some products.
307
308config ETRAX_PCF8563
309 bool "PCF8563"
310 help
311 Enables the driver for the PCF8563 Real-Time Clock battery-backed
312 chip on some products.
313
314endchoice
315
Jesper Nilssonc974a9e2008-01-21 11:44:11 +0100316config ETRAX_SYNCHRONOUS_SERIAL
317 bool "Synchronous serial-port support"
318 help
319 Select this to enable the synchronous serial port driver.
320
321config ETRAX_SYNCHRONOUS_SERIAL_PORT0
322 bool "Synchronous serial port 0 enabled"
323 depends on ETRAX_SYNCHRONOUS_SERIAL
324 help
325 Enabled synchronous serial port 0.
326
327config ETRAX_SYNCHRONOUS_SERIAL0_DMA
328 bool "Enable DMA on synchronous serial port 0."
329 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
330 help
331 A synchronous serial port can run in manual or DMA mode.
332 Selecting this option will make it run in DMA mode.
333
334config ETRAX_SYNCHRONOUS_SERIAL_PORT1
335 bool "Synchronous serial port 1 enabled"
336 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
337 help
338 Enabled synchronous serial port 1.
339
340config ETRAX_SYNCHRONOUS_SERIAL1_DMA
341 bool "Enable DMA on synchronous serial port 1."
342 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
343 help
344 A synchronous serial port can run in manual or DMA mode.
345 Selecting this option will make it run in DMA mode.
346
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100347choice
348 prompt "Network LED behavior"
349 depends on ETRAX_ETHERNET
350 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
351
352config ETRAX_NETWORK_LED_ON_WHEN_LINK
353 bool "LED_on_when_link"
354 help
355 Selecting LED_on_when_link will light the LED when there is a
356 connection and will flash off when there is activity.
357
358 Selecting LED_on_when_activity will light the LED only when
359 there is activity.
360
361 This setting will also affect the behaviour of other activity LEDs
362 e.g. Bluetooth.
363
364config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
365 bool "LED_on_when_activity"
366 help
367 Selecting LED_on_when_link will light the LED when there is a
368 connection and will flash off when there is activity.
369
370 Selecting LED_on_when_activity will light the LED only when
371 there is activity.
372
373 This setting will also affect the behaviour of other activity LEDs
374 e.g. Bluetooth.
375
376endchoice
377
378choice
379 prompt "Ser0 DMA out channel"
380 depends on ETRAX_SERIAL_PORT0
381 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
382 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
383
384config ETRAX_SERIAL_PORT0_NO_DMA_OUT
385 bool "Ser0 uses no DMA for output"
386 help
387 Do not use DMA for ser0 output.
388
389config ETRAX_SERIAL_PORT0_DMA6_OUT
390 bool "Ser0 uses DMA6 for output"
391 depends on ETRAXFS
392 help
393 Enables the DMA6 output channel for ser0 (ttyS0).
394 If you do not enable DMA, an interrupt for each character will be
395 used when transmitting data.
396 Normally you want to use DMA, unless you use the DMA channel for
397 something else.
398
399config ETRAX_SERIAL_PORT0_DMA0_OUT
400 bool "Ser0 uses DMA0 for output"
401 depends on CRIS_MACH_ARTPEC3
402 help
403 Enables the DMA0 output channel for ser0 (ttyS0).
404 If you do not enable DMA, an interrupt for each character will be
405 used when transmitting data.
406 Normally you want to use DMA, unless you use the DMA channel for
407 something else.
408
409endchoice
410
411choice
412 prompt "Ser0 DMA in channel "
413 depends on ETRAX_SERIAL_PORT0
414 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
415 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
416 help
417 What DMA channel to use for ser0.
418
419config ETRAX_SERIAL_PORT0_NO_DMA_IN
420 bool "Ser0 uses no DMA for input"
421 help
422 Do not use DMA for ser0 input.
423
424config ETRAX_SERIAL_PORT0_DMA7_IN
425 bool "Ser0 uses DMA7 for input"
426 depends on ETRAXFS
427 help
428 Enables the DMA7 input channel for ser0 (ttyS0).
429 If you do not enable DMA, an interrupt for each character will be
430 used when receiving data.
431 Normally you want to use DMA, unless you use the DMA channel for
432 something else.
433
434config ETRAX_SERIAL_PORT0_DMA1_IN
435 bool "Ser0 uses DMA1 for input"
436 depends on CRIS_MACH_ARTPEC3
437 help
438 Enables the DMA1 input channel for ser0 (ttyS0).
439 If you do not enable DMA, an interrupt for each character will be
Matt LaPlante692105b2009-01-26 11:12:25 +0100440 used when receiving data.
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100441 Normally you want to use DMA, unless you use the DMA channel for
442 something else.
443
444endchoice
445
446choice
447 prompt "Ser1 DMA in channel "
448 depends on ETRAX_SERIAL_PORT1
449 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
450 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
451 help
452 What DMA channel to use for ser1.
453
454config ETRAX_SERIAL_PORT1_NO_DMA_IN
455 bool "Ser1 uses no DMA for input"
456 help
457 Do not use DMA for ser1 input.
458
459config ETRAX_SERIAL_PORT1_DMA5_IN
460 bool "Ser1 uses DMA5 for input"
461 depends on ETRAX_ARCH_V32
462 help
463 Enables the DMA5 input channel for ser1 (ttyS1).
464 If you do not enable DMA, an interrupt for each character will be
465 used when receiving data.
466 Normally you want this on, unless you use the DMA channel for
467 something else.
468
469config ETRAX_SERIAL_PORT1_DMA9_IN
470 depends on ETRAX_ARCH_V10
471 bool "Ser1 uses DMA9 for input"
472
473endchoice
474
475
476choice
477 prompt "Ser1 DMA out channel"
478 depends on ETRAX_SERIAL_PORT1
479 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
480 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
481 help
482 What DMA channel to use for ser1.
483
484config ETRAX_SERIAL_PORT1_NO_DMA_OUT
485 bool "Ser1 uses no DMA for output"
486 help
487 Do not use DMA for ser1 output.
488
489config ETRAX_SERIAL_PORT1_DMA8_OUT
490 depends on ETRAX_ARCH_V10
491 bool "Ser1 uses DMA8 for output"
492
493config ETRAX_SERIAL_PORT1_DMA4_OUT
494 depends on ETRAX_ARCH_V32
495 bool "Ser1 uses DMA4 for output"
496 help
497 Enables the DMA4 output channel for ser1 (ttyS1).
498 If you do not enable DMA, an interrupt for each character will be
499 used when transmitting data.
500 Normally you want this on, unless you use the DMA channel for
501 something else.
502
503endchoice
504
505choice
506 prompt "Ser2 DMA out channel"
507 depends on ETRAX_SERIAL_PORT2
508 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
509 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
510
511config ETRAX_SERIAL_PORT2_NO_DMA_OUT
512 bool "Ser2 uses no DMA for output"
513 help
514 Do not use DMA for ser2 output.
515
516config ETRAX_SERIAL_PORT2_DMA2_OUT
517 bool "Ser2 uses DMA2 for output"
518 depends on ETRAXFS || ETRAX_ARCH_V10
519 help
520 Enables the DMA2 output channel for ser2 (ttyS2).
521 If you do not enable DMA, an interrupt for each character will be
522 used when transmitting data.
523 Normally you want to use DMA, unless you use the DMA channel for
524 something else.
525
526config ETRAX_SERIAL_PORT2_DMA6_OUT
527 bool "Ser2 uses DMA6 for output"
528 depends on CRIS_MACH_ARTPEC3
529 help
530 Enables the DMA6 output channel for ser2 (ttyS2).
531 If you do not enable DMA, an interrupt for each character will be
532 used when transmitting data.
533 Normally you want to use DMA, unless you use the DMA channel for
534 something else.
535
536endchoice
537
538choice
539 prompt "Ser2 DMA in channel"
540 depends on ETRAX_SERIAL_PORT2
541 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
542 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
543 help
544 What DMA channel to use for ser2.
545
546config ETRAX_SERIAL_PORT2_NO_DMA_IN
547 bool "Ser2 uses no DMA for input"
548 help
549 Do not use DMA for ser2 input.
550
551config ETRAX_SERIAL_PORT2_DMA3_IN
552 bool "Ser2 uses DMA3 for input"
553 depends on ETRAXFS || ETRAX_ARCH_V10
554 help
555 Enables the DMA3 input channel for ser2 (ttyS2).
556 If you do not enable DMA, an interrupt for each character will be
557 used when receiving data.
558 Normally you want to use DMA, unless you use the DMA channel for
559 something else.
560
561config ETRAX_SERIAL_PORT2_DMA7_IN
562 bool "Ser2 uses DMA7 for input"
563 depends on CRIS_MACH_ARTPEC3
564 help
565 Enables the DMA7 input channel for ser2 (ttyS2).
566 If you do not enable DMA, an interrupt for each character will be
Matt LaPlante692105b2009-01-26 11:12:25 +0100567 used when receiving data.
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100568 Normally you want to use DMA, unless you use the DMA channel for
569 something else.
570
571endchoice
572
573choice
574 prompt "Ser3 DMA in channel"
575 depends on ETRAX_SERIAL_PORT3
576 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
577 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
578 help
579 What DMA channel to use for ser3.
580
581config ETRAX_SERIAL_PORT3_NO_DMA_IN
582 bool "Ser3 uses no DMA for input"
583 help
584 Do not use DMA for ser3 input.
585
586config ETRAX_SERIAL_PORT3_DMA5_IN
587 depends on ETRAX_ARCH_V10
588 bool "DMA 5"
589
590config ETRAX_SERIAL_PORT3_DMA9_IN
591 bool "Ser3 uses DMA9 for input"
592 depends on ETRAXFS
593 help
594 Enables the DMA9 input channel for ser3 (ttyS3).
595 If you do not enable DMA, an interrupt for each character will be
596 used when receiving data.
597 Normally you want to use DMA, unless you use the DMA channel for
598 something else.
599
600config ETRAX_SERIAL_PORT3_DMA3_IN
601 bool "Ser3 uses DMA3 for input"
602 depends on CRIS_MACH_ARTPEC3
603 help
604 Enables the DMA3 input channel for ser3 (ttyS3).
605 If you do not enable DMA, an interrupt for each character will be
Matt LaPlante692105b2009-01-26 11:12:25 +0100606 used when receiving data.
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100607 Normally you want to use DMA, unless you use the DMA channel for
608 something else.
609
610endchoice
611
612choice
613 prompt "Ser3 DMA out channel"
614 depends on ETRAX_SERIAL_PORT3
615 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
616 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
617
618config ETRAX_SERIAL_PORT3_NO_DMA_OUT
619 bool "Ser3 uses no DMA for output"
620 help
621 Do not use DMA for ser3 output.
622
623config ETRAX_SERIAL_PORT3_DMA4_OUT
624 depends on ETRAX_ARCH_V10
625 bool "DMA 4"
626
627config ETRAX_SERIAL_PORT3_DMA8_OUT
628 bool "Ser3 uses DMA8 for output"
629 depends on ETRAXFS
630 help
631 Enables the DMA8 output channel for ser3 (ttyS3).
632 If you do not enable DMA, an interrupt for each character will be
633 used when transmitting data.
634 Normally you want to use DMA, unless you use the DMA channel for
635 something else.
636
637config ETRAX_SERIAL_PORT3_DMA2_OUT
638 bool "Ser3 uses DMA2 for output"
639 depends on CRIS_MACH_ARTPEC3
640 help
641 Enables the DMA2 output channel for ser3 (ttyS3).
642 If you do not enable DMA, an interrupt for each character will be
643 used when transmitting data.
644 Normally you want to use DMA, unless you use the DMA channel for
645 something else.
646
647endchoice
648
Linus Torvalds1da177e2005-04-16 15:20:36 -0700649endmenu
650
651source "drivers/base/Kconfig"
652
653# standard linux drivers
654source "drivers/mtd/Kconfig"
655
656source "drivers/parport/Kconfig"
657
658source "drivers/pnp/Kconfig"
659
660source "drivers/block/Kconfig"
661
Linus Torvalds1da177e2005-04-16 15:20:36 -0700662source "drivers/ide/Kconfig"
663
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700664source "drivers/net/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700665
Jesper Nilsson7b275522007-11-14 17:00:59 -0800666source "drivers/i2c/Kconfig"
667
668source "drivers/rtc/Kconfig"
669
Linus Torvalds1da177e2005-04-16 15:20:36 -0700670#
671# input before char - char/joystick depends on it. As does USB.
672#
673source "drivers/input/Kconfig"
674
675source "drivers/char/Kconfig"
676
Linus Torvalds1da177e2005-04-16 15:20:36 -0700677source "fs/Kconfig"
678
Linus Torvalds1da177e2005-04-16 15:20:36 -0700679source "drivers/usb/Kconfig"
680
Greg Kroah-Hartman2f86c3e2008-09-17 16:34:11 +0100681source "drivers/uwb/Kconfig"
682
F. Duncan M. Haldane6e38a2b2008-11-07 18:17:51 -0500683source "drivers/staging/Kconfig"
684
Linus Torvalds1da177e2005-04-16 15:20:36 -0700685source "arch/cris/Kconfig.debug"
686
687source "security/Kconfig"
688
689source "crypto/Kconfig"
690
691source "lib/Kconfig"