diff options
author | Graff Yang <graff.yang@gmail.com> | 2009-05-12 16:47:54 -0400 |
---|---|---|
committer | Samuel Ortiz <samuel@sortiz.org> | 2009-06-12 19:56:02 -0400 |
commit | d510fe70db4c62ac899c486506fdfb7f3b518c86 (patch) | |
tree | 1906c4baa902e2b636a1049e322be5d7d27fa1aa /drivers/net/irda/Kconfig | |
parent | 8981f01001c616f58f1623ecadfab8b1ed758da7 (diff) |
irda: new Blackfin on-chip SIR IrDA driver
Signed-off-by: Graff Yang <graff.yang@gmail.com>
Cc: Mike Frysinger <vapier@gentoo.org>
Cc: Bryan Wu <bryan.wu@analog.com>
Signed-off-by: Samuel Ortiz <samuel@sortiz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/net/irda/Kconfig')
-rw-r--r-- | drivers/net/irda/Kconfig | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/drivers/net/irda/Kconfig b/drivers/net/irda/Kconfig index e6317557a531..f76384221422 100644 --- a/drivers/net/irda/Kconfig +++ b/drivers/net/irda/Kconfig | |||
@@ -17,6 +17,51 @@ config IRTTY_SIR | |||
17 | 17 | ||
18 | If unsure, say Y. | 18 | If unsure, say Y. |
19 | 19 | ||
20 | config BFIN_SIR | ||
21 | tristate "Blackfin SIR on UART" | ||
22 | depends on BLACKFIN && IRDA | ||
23 | default n | ||
24 | help | ||
25 | Say Y here if your want to enable SIR function on Blackfin UART | ||
26 | devices. | ||
27 | |||
28 | To activate this driver you can start irattach like: | ||
29 | "irattach irda0 -s" | ||
30 | |||
31 | Saying M, it will be built as a module named bfin_sir. | ||
32 | |||
33 | Note that you need to turn off one of the serial drivers for SIR | ||
34 | to use that UART. | ||
35 | |||
36 | config BFIN_SIR0 | ||
37 | bool "Blackfin SIR on UART0" | ||
38 | depends on BFIN_SIR && !SERIAL_BFIN_UART0 | ||
39 | |||
40 | config BFIN_SIR1 | ||
41 | bool "Blackfin SIR on UART1" | ||
42 | depends on BFIN_SIR && !SERIAL_BFIN_UART1 && (!BF531 && !BF532 && !BF533 && !BF561) | ||
43 | |||
44 | config BFIN_SIR2 | ||
45 | bool "Blackfin SIR on UART2" | ||
46 | depends on BFIN_SIR && !SERIAL_BFIN_UART2 && (BF54x || BF538 || BF539) | ||
47 | |||
48 | config BFIN_SIR3 | ||
49 | bool "Blackfin SIR on UART3" | ||
50 | depends on BFIN_SIR && !SERIAL_BFIN_UART3 && (BF54x) | ||
51 | |||
52 | choice | ||
53 | prompt "SIR Mode" | ||
54 | depends on BFIN_SIR | ||
55 | default SIR_BFIN_DMA | ||
56 | |||
57 | config SIR_BFIN_DMA | ||
58 | bool "DMA mode" | ||
59 | depends on !DMA_UNCACHED_NONE | ||
60 | |||
61 | config SIR_BFIN_PIO | ||
62 | bool "PIO mode" | ||
63 | endchoice | ||
64 | |||
20 | comment "Dongle support" | 65 | comment "Dongle support" |
21 | 66 | ||
22 | config DONGLE | 67 | config DONGLE |