blob: aefe3b18a074a92a0b2a4260758f7d896e0f8362 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# For a description of the syntax of this configuration file,
3# see the Configure script.
4#
5
6mainmenu "Linux/CRIS Kernel Configuration"
7
8config MMU
9 bool
10 default y
11
Christoph Lameter66701b12007-02-10 01:43:09 -080012config ZONE_DMA
13 bool
14 default y
15
Linus Torvalds1da177e2005-04-16 15:20:36 -070016config RWSEM_GENERIC_SPINLOCK
17 bool
18 default y
19
20config RWSEM_XCHGADD_ALGORITHM
21 bool
22
John Stultz8eff8a52010-03-03 19:57:28 -080023config GENERIC_CMOS_UPDATE
24 def_bool y
25
john stultzba875ba2010-03-05 13:42:31 -080026config ARCH_USES_GETTIMEOFFSET
Jesper Nilsson60dbd662010-07-30 17:33:07 +020027 def_bool n
john stultzba875ba2010-03-05 13:42:31 -080028
Jesper Nilsson923dd2a2007-12-05 18:10:36 +010029config GENERIC_IOMAP
30 bool
31 default y
32
David Howellsf0d1b0b2006-12-08 02:37:49 -080033config ARCH_HAS_ILOG2_U32
34 bool
35 default n
36
37config ARCH_HAS_ILOG2_U64
38 bool
39 default n
40
Akinobu Mitae9f26df2006-03-26 01:39:21 -080041config GENERIC_FIND_NEXT_BIT
42 bool
43 default y
44
45config GENERIC_HWEIGHT
46 bool
47 default y
48
Linus Torvalds1da177e2005-04-16 15:20:36 -070049config GENERIC_CALIBRATE_DELAY
50 bool
51 default y
52
Al Viro5ea81762007-02-11 15:41:31 +000053config NO_IOPORT
54 def_bool y
55
Jesper Nilsson923dd2a2007-12-05 18:10:36 +010056config FORCE_MAX_ZONEORDER
57 int
58 default 6
59
Linus Torvalds1da177e2005-04-16 15:20:36 -070060config CRIS
61 bool
62 default y
Sam Ravnborgec7748b2008-02-09 10:46:40 +010063 select HAVE_IDE
Linus Torvalds1da177e2005-04-16 15:20:36 -070064
H. Peter Anvinbdc80782008-02-08 04:21:26 -080065config HZ
66 int
67 default 100
68
Linus Torvalds1da177e2005-04-16 15:20:36 -070069source "init/Kconfig"
70
Matt Helsleydc52ddc2008-10-18 20:27:21 -070071source "kernel/Kconfig.freezer"
72
Linus Torvalds1da177e2005-04-16 15:20:36 -070073menu "General setup"
74
75source "fs/Kconfig.binfmt"
76
Jesper Nilssoneb2746d2007-11-14 17:00:52 -080077config GENERIC_HARDIRQS
78 bool
79 default y
80
Linus Torvalds1da177e2005-04-16 15:20:36 -070081config ETRAX_CMDLINE
82 string "Kernel command line"
83 default "root=/dev/mtdblock3"
84 help
85 Pass additional commands to the kernel.
86
87config ETRAX_WATCHDOG
88 bool "Enable ETRAX watchdog"
89 help
90 Enable the built-in watchdog timer support on ETRAX based embedded
91 network computers.
92
93config ETRAX_WATCHDOG_NICE_DOGGY
94 bool "Disable watchdog during Oops printouts"
95 depends on ETRAX_WATCHDOG
96 help
97 By enabling this you make sure that the watchdog does not bite while
98 printing oopses. Recommended for development systems but not for
99 production releases.
100
101config ETRAX_FAST_TIMER
102 bool "Enable ETRAX fast timer API"
103 help
104 This options enables the API to a fast timer implementation using
105 timer1 to get sub jiffie resolution timers (primarily one-shot
106 timers).
107 This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
108
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100109config ETRAX_KMALLOCED_MODULES
110 bool "Enable module allocation with kmalloc"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700111 help
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100112 Enable module allocation with kmalloc instead of vmalloc.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700113
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100114config OOM_REBOOT
115 bool "Enable reboot at out of memory"
116
117source "kernel/Kconfig.preempt"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700118
Dave Hansen3f22ab22005-06-23 00:07:43 -0700119source mm/Kconfig
120
Linus Torvalds1da177e2005-04-16 15:20:36 -0700121endmenu
122
123menu "Hardware setup"
124
125choice
126 prompt "Processor type"
127 default ETRAX100LX
128
129config ETRAX100LX
130 bool "ETRAX-100LX-v1"
Jesper Nilsson60dbd662010-07-30 17:33:07 +0200131 select ARCH_USES_GETTIMEOFFSET
Linus Torvalds1da177e2005-04-16 15:20:36 -0700132 help
133 Support version 1 of the ETRAX 100LX.
134
135config ETRAX100LX_V2
136 bool "ETRAX-100LX-v2"
Jesper Nilsson60dbd662010-07-30 17:33:07 +0200137 select ARCH_USES_GETTIMEOFFSET
Linus Torvalds1da177e2005-04-16 15:20:36 -0700138 help
139 Support version 2 of the ETRAX 100LX.
140
141config SVINTO_SIM
142 bool "ETRAX-100LX-for-xsim-simulator"
Jesper Nilsson60dbd662010-07-30 17:33:07 +0200143 select ARCH_USES_GETTIMEOFFSET
Linus Torvalds1da177e2005-04-16 15:20:36 -0700144 help
145 Support the xsim ETRAX Simulator.
146
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100147config ETRAXFS
148 bool "ETRAX-FS-V32"
149 help
150 Support CRIS V32.
151
152config CRIS_MACH_ARTPEC3
153 bool "ARTPEC-3"
154 help
155 Support Axis ARTPEC-3.
156
Linus Torvalds1da177e2005-04-16 15:20:36 -0700157endchoice
158
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100159config ETRAX_VCS_SIM
160 bool "VCS Simulator"
161 help
162 Setup hardware to be run in the VCS simulator.
163
Linus Torvalds1da177e2005-04-16 15:20:36 -0700164config ETRAX_ARCH_V10
165 bool
166 default y if ETRAX100LX || ETRAX100LX_V2
167 default n if !(ETRAX100LX || ETRAX100LX_V2)
168
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100169config ETRAX_ARCH_V32
170 bool
171 default y if (ETRAXFS || CRIS_MACH_ARTPEC3)
172 default n if !(ETRAXFS || CRIS_MACH_ARTPEC3)
173
Linus Torvalds1da177e2005-04-16 15:20:36 -0700174config ETRAX_DRAM_SIZE
175 int "DRAM size (dec, in MB)"
176 default "8"
177 help
178 Size of DRAM (decimal in MB) typically 2, 8 or 16.
179
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100180config ETRAX_VMEM_SIZE
181 int "Video memory size (dec, in MB)"
182 depends on ETRAX_ARCH_V32 && !ETRAXFS
183 default 8 if !ETRAXFS
184 help
185 Size of Video accessible memory (decimal, in MB).
186
Linus Torvalds1da177e2005-04-16 15:20:36 -0700187config ETRAX_FLASH_BUSWIDTH
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100188 int "Buswidth of NOR flash in bytes"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700189 default "2"
190 help
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100191 Width in bytes of the NOR Flash bus (1, 2 or 4). Is usually 2.
192
193config ETRAX_NANDFLASH_BUSWIDTH
194 int "Buswidth of NAND flash in bytes"
195 default "1"
196 help
197 Width in bytes of the NAND flash (1 or 2).
198
199config ETRAX_FLASH1_SIZE
200 int "FLASH1 size (dec, in MB. 0 = Unknown)"
201 default "0"
202
203choice
204 prompt "Product debug-port"
205 default ETRAX_DEBUG_PORT0
206
207config ETRAX_DEBUG_PORT0
208 bool "Serial-0"
209 help
210 Choose a serial port for the ETRAX debug console. Default to
211 port 0.
212
213config ETRAX_DEBUG_PORT1
214 bool "Serial-1"
215 help
216 Use serial port 1 for the console.
217
218config ETRAX_DEBUG_PORT2
219 bool "Serial-2"
220 help
221 Use serial port 2 for the console.
222
223config ETRAX_DEBUG_PORT3
224 bool "Serial-3"
225 help
226 Use serial port 3 for the console.
227
228config ETRAX_DEBUG_PORT_NULL
229 bool "disabled"
230 help
231 Disable serial-port debugging.
232
233endchoice
234
235choice
236 prompt "Kernel GDB port"
237 depends on ETRAX_KGDB
238 default ETRAX_KGDB_PORT0
239 help
240 Choose a serial port for kernel debugging. NOTE: This port should
241 not be enabled under Drivers for built-in interfaces (as it has its
242 own initialization code) and should not be the same as the debug port.
243
244config ETRAX_KGDB_PORT0
245 bool "Serial-0"
246 help
247 Use serial port 0 for kernel debugging.
248
249config ETRAX_KGDB_PORT1
250 bool "Serial-1"
251 help
252 Use serial port 1 for kernel debugging.
253
254config ETRAX_KGDB_PORT2
255 bool "Serial-2"
256 help
257 Use serial port 2 for kernel debugging.
258
259config ETRAX_KGDB_PORT3
260 bool "Serial-3"
261 help
262 Use serial port 3 for kernel debugging.
263
264endchoice
Linus Torvalds1da177e2005-04-16 15:20:36 -0700265
266source arch/cris/arch-v10/Kconfig
Jesper Nilsson2d33d562008-02-04 22:30:31 -0800267source arch/cris/arch-v32/Kconfig
Linus Torvalds1da177e2005-04-16 15:20:36 -0700268
269endmenu
270
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700271source "net/Kconfig"
272
Linus Torvalds1da177e2005-04-16 15:20:36 -0700273# bring in ETRAX built-in drivers
274menu "Drivers for built-in interfaces"
Jesper Nilsson2d33d562008-02-04 22:30:31 -0800275source arch/cris/arch-v10/drivers/Kconfig
276source arch/cris/arch-v32/drivers/Kconfig
Linus Torvalds1da177e2005-04-16 15:20:36 -0700277
Jesper Nilsson79e04fd2008-02-06 13:21:28 +0100278config ETRAX_AXISFLASHMAP
279 bool "Axis flash-map support"
280 select MTD
281 select MTD_CFI
282 select MTD_CFI_AMDSTD
283 select MTD_JEDECPROBE if ETRAX_ARCH_V32
284 select MTD_CHAR
285 select MTD_BLOCK
286 select MTD_PARTITIONS
287 select MTD_CONCAT
288 select MTD_COMPLEX_MAPPINGS
289 help
290 This option enables MTD mapping of flash devices. Needed to use
291 flash memories. If unsure, say Y.
292
Jesper Nilssonc3d6ddd2008-01-21 11:05:40 +0100293config ETRAX_RTC
294 bool "Real Time Clock support"
295 depends on ETRAX_I2C
296 help
297 Enables drivers for the Real-Time Clock battery-backed chips on
298 some products. The kernel reads the time when booting, and
299 the date can be set using ioctl(fd, RTC_SET_TIME, &rt) with rt a
300 rtc_time struct (see <file:include/asm-cris/rtc.h>) on the /dev/rtc
301 device. You can check the time with cat /proc/rtc, but
302 normal time reading should be done using libc function time and
303 friends.
304
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100305choice
306 prompt "RTC chip"
307 depends on ETRAX_RTC
308 default ETRAX_PCF8563 if ETRAX_ARCH_V32
309 default ETRAX_DS1302 if ETRAX_ARCH_V10
310
311config ETRAX_DS1302
312 depends on ETRAX_ARCH_V10
313 bool "DS1302"
314 help
315 Enables the driver for the DS1302 Real-Time Clock battery-backed
316 chip on some products.
317
318config ETRAX_PCF8563
319 bool "PCF8563"
320 help
321 Enables the driver for the PCF8563 Real-Time Clock battery-backed
322 chip on some products.
323
324endchoice
325
Jesper Nilssonc974a9e2008-01-21 11:44:11 +0100326config ETRAX_SYNCHRONOUS_SERIAL
327 bool "Synchronous serial-port support"
328 help
329 Select this to enable the synchronous serial port driver.
330
331config ETRAX_SYNCHRONOUS_SERIAL_PORT0
332 bool "Synchronous serial port 0 enabled"
333 depends on ETRAX_SYNCHRONOUS_SERIAL
334 help
335 Enabled synchronous serial port 0.
336
337config ETRAX_SYNCHRONOUS_SERIAL0_DMA
338 bool "Enable DMA on synchronous serial port 0."
339 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
340 help
341 A synchronous serial port can run in manual or DMA mode.
342 Selecting this option will make it run in DMA mode.
343
344config ETRAX_SYNCHRONOUS_SERIAL_PORT1
345 bool "Synchronous serial port 1 enabled"
346 depends on ETRAX_SYNCHRONOUS_SERIAL && (ETRAXFS || ETRAX_ARCH_V10)
347 help
348 Enabled synchronous serial port 1.
349
350config ETRAX_SYNCHRONOUS_SERIAL1_DMA
351 bool "Enable DMA on synchronous serial port 1."
352 depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
353 help
354 A synchronous serial port can run in manual or DMA mode.
355 Selecting this option will make it run in DMA mode.
356
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100357choice
358 prompt "Network LED behavior"
359 depends on ETRAX_ETHERNET
360 default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
361
362config ETRAX_NETWORK_LED_ON_WHEN_LINK
363 bool "LED_on_when_link"
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
374config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY
375 bool "LED_on_when_activity"
376 help
377 Selecting LED_on_when_link will light the LED when there is a
378 connection and will flash off when there is activity.
379
380 Selecting LED_on_when_activity will light the LED only when
381 there is activity.
382
383 This setting will also affect the behaviour of other activity LEDs
384 e.g. Bluetooth.
385
386endchoice
387
388choice
389 prompt "Ser0 DMA out channel"
390 depends on ETRAX_SERIAL_PORT0
391 default ETRAX_SERIAL_PORT0_DMA6_OUT if ETRAX_ARCH_V32
392 default ETRAX_SERIAL_PORT0_NO_DMA_OUT if ETRAX_ARCH_V10
393
394config ETRAX_SERIAL_PORT0_NO_DMA_OUT
395 bool "Ser0 uses no DMA for output"
396 help
397 Do not use DMA for ser0 output.
398
399config ETRAX_SERIAL_PORT0_DMA6_OUT
400 bool "Ser0 uses DMA6 for output"
401 depends on ETRAXFS
402 help
403 Enables the DMA6 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
409config ETRAX_SERIAL_PORT0_DMA0_OUT
410 bool "Ser0 uses DMA0 for output"
411 depends on CRIS_MACH_ARTPEC3
412 help
413 Enables the DMA0 output channel for ser0 (ttyS0).
414 If you do not enable DMA, an interrupt for each character will be
415 used when transmitting data.
416 Normally you want to use DMA, unless you use the DMA channel for
417 something else.
418
419endchoice
420
421choice
422 prompt "Ser0 DMA in channel "
423 depends on ETRAX_SERIAL_PORT0
424 default ETRAX_SERIAL_PORT0_NO_DMA_IN if ETRAX_ARCH_V32
425 default ETRAX_SERIAL_PORT0_DMA7_IN if ETRAX_ARCH_V10
426 help
427 What DMA channel to use for ser0.
428
429config ETRAX_SERIAL_PORT0_NO_DMA_IN
430 bool "Ser0 uses no DMA for input"
431 help
432 Do not use DMA for ser0 input.
433
434config ETRAX_SERIAL_PORT0_DMA7_IN
435 bool "Ser0 uses DMA7 for input"
436 depends on ETRAXFS
437 help
438 Enables the DMA7 input channel for ser0 (ttyS0).
439 If you do not enable DMA, an interrupt for each character will be
440 used when receiving data.
441 Normally you want to use DMA, unless you use the DMA channel for
442 something else.
443
444config ETRAX_SERIAL_PORT0_DMA1_IN
445 bool "Ser0 uses DMA1 for input"
446 depends on CRIS_MACH_ARTPEC3
447 help
448 Enables the DMA1 input channel for ser0 (ttyS0).
449 If you do not enable DMA, an interrupt for each character will be
Matt LaPlante692105b2009-01-26 11:12:25 +0100450 used when receiving data.
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100451 Normally you want to use DMA, unless you use the DMA channel for
452 something else.
453
454endchoice
455
456choice
457 prompt "Ser1 DMA in channel "
458 depends on ETRAX_SERIAL_PORT1
459 default ETRAX_SERIAL_PORT1_NO_DMA_IN if ETRAX_ARCH_V32
460 default ETRAX_SERIAL_PORT1_DMA9_IN if ETRAX_ARCH_V10
461 help
462 What DMA channel to use for ser1.
463
464config ETRAX_SERIAL_PORT1_NO_DMA_IN
465 bool "Ser1 uses no DMA for input"
466 help
467 Do not use DMA for ser1 input.
468
469config ETRAX_SERIAL_PORT1_DMA5_IN
470 bool "Ser1 uses DMA5 for input"
471 depends on ETRAX_ARCH_V32
472 help
473 Enables the DMA5 input channel for ser1 (ttyS1).
474 If you do not enable DMA, an interrupt for each character will be
475 used when receiving data.
476 Normally you want this on, unless you use the DMA channel for
477 something else.
478
479config ETRAX_SERIAL_PORT1_DMA9_IN
480 depends on ETRAX_ARCH_V10
481 bool "Ser1 uses DMA9 for input"
482
483endchoice
484
485
486choice
487 prompt "Ser1 DMA out channel"
488 depends on ETRAX_SERIAL_PORT1
489 default ETRAX_SERIAL_PORT1_NO_DMA_OUT if ETRAX_ARCH_V32
490 default ETRAX_SERIAL_PORT1_DMA8_OUT if ETRAX_ARCH_V10
491 help
492 What DMA channel to use for ser1.
493
494config ETRAX_SERIAL_PORT1_NO_DMA_OUT
495 bool "Ser1 uses no DMA for output"
496 help
497 Do not use DMA for ser1 output.
498
499config ETRAX_SERIAL_PORT1_DMA8_OUT
500 depends on ETRAX_ARCH_V10
501 bool "Ser1 uses DMA8 for output"
502
503config ETRAX_SERIAL_PORT1_DMA4_OUT
504 depends on ETRAX_ARCH_V32
505 bool "Ser1 uses DMA4 for output"
506 help
507 Enables the DMA4 output channel for ser1 (ttyS1).
508 If you do not enable DMA, an interrupt for each character will be
509 used when transmitting data.
510 Normally you want this on, unless you use the DMA channel for
511 something else.
512
513endchoice
514
515choice
516 prompt "Ser2 DMA out channel"
517 depends on ETRAX_SERIAL_PORT2
518 default ETRAX_SERIAL_PORT2_NO_DMA_OUT if ETRAX_ARCH_V32
519 default ETRAX_SERIAL_PORT2_DMA2_OUT if ETRAX_ARCH_V10
520
521config ETRAX_SERIAL_PORT2_NO_DMA_OUT
522 bool "Ser2 uses no DMA for output"
523 help
524 Do not use DMA for ser2 output.
525
526config ETRAX_SERIAL_PORT2_DMA2_OUT
527 bool "Ser2 uses DMA2 for output"
528 depends on ETRAXFS || ETRAX_ARCH_V10
529 help
530 Enables the DMA2 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
536config ETRAX_SERIAL_PORT2_DMA6_OUT
537 bool "Ser2 uses DMA6 for output"
538 depends on CRIS_MACH_ARTPEC3
539 help
540 Enables the DMA6 output channel for ser2 (ttyS2).
541 If you do not enable DMA, an interrupt for each character will be
542 used when transmitting data.
543 Normally you want to use DMA, unless you use the DMA channel for
544 something else.
545
546endchoice
547
548choice
549 prompt "Ser2 DMA in channel"
550 depends on ETRAX_SERIAL_PORT2
551 default ETRAX_SERIAL_PORT2_NO_DMA_IN if ETRAX_ARCH_V32
552 default ETRAX_SERIAL_PORT2_DMA3_IN if ETRAX_ARCH_V10
553 help
554 What DMA channel to use for ser2.
555
556config ETRAX_SERIAL_PORT2_NO_DMA_IN
557 bool "Ser2 uses no DMA for input"
558 help
559 Do not use DMA for ser2 input.
560
561config ETRAX_SERIAL_PORT2_DMA3_IN
562 bool "Ser2 uses DMA3 for input"
563 depends on ETRAXFS || ETRAX_ARCH_V10
564 help
565 Enables the DMA3 input channel for ser2 (ttyS2).
566 If you do not enable DMA, an interrupt for each character will be
567 used when receiving data.
568 Normally you want to use DMA, unless you use the DMA channel for
569 something else.
570
571config ETRAX_SERIAL_PORT2_DMA7_IN
572 bool "Ser2 uses DMA7 for input"
573 depends on CRIS_MACH_ARTPEC3
574 help
575 Enables the DMA7 input channel for ser2 (ttyS2).
576 If you do not enable DMA, an interrupt for each character will be
Matt LaPlante692105b2009-01-26 11:12:25 +0100577 used when receiving data.
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100578 Normally you want to use DMA, unless you use the DMA channel for
579 something else.
580
581endchoice
582
583choice
584 prompt "Ser3 DMA in channel"
585 depends on ETRAX_SERIAL_PORT3
586 default ETRAX_SERIAL_PORT3_NO_DMA_IN if ETRAX_ARCH_V32
587 default ETRAX_SERIAL_PORT3_DMA5_IN if ETRAX_ARCH_V10
588 help
589 What DMA channel to use for ser3.
590
591config ETRAX_SERIAL_PORT3_NO_DMA_IN
592 bool "Ser3 uses no DMA for input"
593 help
594 Do not use DMA for ser3 input.
595
596config ETRAX_SERIAL_PORT3_DMA5_IN
597 depends on ETRAX_ARCH_V10
598 bool "DMA 5"
599
600config ETRAX_SERIAL_PORT3_DMA9_IN
601 bool "Ser3 uses DMA9 for input"
602 depends on ETRAXFS
603 help
604 Enables the DMA9 input channel for ser3 (ttyS3).
605 If you do not enable DMA, an interrupt for each character will be
606 used when receiving data.
607 Normally you want to use DMA, unless you use the DMA channel for
608 something else.
609
610config ETRAX_SERIAL_PORT3_DMA3_IN
611 bool "Ser3 uses DMA3 for input"
612 depends on CRIS_MACH_ARTPEC3
613 help
614 Enables the DMA3 input channel for ser3 (ttyS3).
615 If you do not enable DMA, an interrupt for each character will be
Matt LaPlante692105b2009-01-26 11:12:25 +0100616 used when receiving data.
Jesper Nilsson923dd2a2007-12-05 18:10:36 +0100617 Normally you want to use DMA, unless you use the DMA channel for
618 something else.
619
620endchoice
621
622choice
623 prompt "Ser3 DMA out channel"
624 depends on ETRAX_SERIAL_PORT3
625 default ETRAX_SERIAL_PORT3_NO_DMA_OUT if ETRAX_ARCH_V32
626 default ETRAX_SERIAL_PORT3_DMA4_OUT if ETRAX_ARCH_V10
627
628config ETRAX_SERIAL_PORT3_NO_DMA_OUT
629 bool "Ser3 uses no DMA for output"
630 help
631 Do not use DMA for ser3 output.
632
633config ETRAX_SERIAL_PORT3_DMA4_OUT
634 depends on ETRAX_ARCH_V10
635 bool "DMA 4"
636
637config ETRAX_SERIAL_PORT3_DMA8_OUT
638 bool "Ser3 uses DMA8 for output"
639 depends on ETRAXFS
640 help
641 Enables the DMA8 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
647config ETRAX_SERIAL_PORT3_DMA2_OUT
648 bool "Ser3 uses DMA2 for output"
649 depends on CRIS_MACH_ARTPEC3
650 help
651 Enables the DMA2 output channel for ser3 (ttyS3).
652 If you do not enable DMA, an interrupt for each character will be
653 used when transmitting data.
654 Normally you want to use DMA, unless you use the DMA channel for
655 something else.
656
657endchoice
658
Linus Torvalds1da177e2005-04-16 15:20:36 -0700659endmenu
660
661source "drivers/base/Kconfig"
662
663# standard linux drivers
664source "drivers/mtd/Kconfig"
665
666source "drivers/parport/Kconfig"
667
668source "drivers/pnp/Kconfig"
669
670source "drivers/block/Kconfig"
671
Linus Torvalds1da177e2005-04-16 15:20:36 -0700672source "drivers/ide/Kconfig"
673
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700674source "drivers/net/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700675
Jesper Nilsson7b275522007-11-14 17:00:59 -0800676source "drivers/i2c/Kconfig"
677
678source "drivers/rtc/Kconfig"
679
Linus Torvalds1da177e2005-04-16 15:20:36 -0700680#
681# input before char - char/joystick depends on it. As does USB.
682#
683source "drivers/input/Kconfig"
684
685source "drivers/char/Kconfig"
686
Linus Torvalds1da177e2005-04-16 15:20:36 -0700687source "fs/Kconfig"
688
Linus Torvalds1da177e2005-04-16 15:20:36 -0700689source "drivers/usb/Kconfig"
690
Greg Kroah-Hartman2f86c3e2008-09-17 16:34:11 +0100691source "drivers/uwb/Kconfig"
692
F. Duncan M. Haldane6e38a2b2008-11-07 18:17:51 -0500693source "drivers/staging/Kconfig"
694
Linus Torvalds1da177e2005-04-16 15:20:36 -0700695source "arch/cris/Kconfig.debug"
696
697source "security/Kconfig"
698
699source "crypto/Kconfig"
700
701source "lib/Kconfig"