Skip to content

Commit

Permalink
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
Browse files Browse the repository at this point in the history
…git/sameo/irda-2.6
  • Loading branch information
David S. Miller committed Jun 14, 2009
2 parents eaae44d + e005797 commit 9d794a0
Show file tree
Hide file tree
Showing 6 changed files with 1,016 additions and 1 deletion.
1 change: 1 addition & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -3122,6 +3122,7 @@ M: samuel@sortiz.org
L: irda-users@lists.sourceforge.net (subscribers-only)
W: http://irda.sourceforge.net/
S: Maintained
T: git git://git.kernel.org/pub/scm/linux/kernel/git/sameo/irda-2.6.git
F: Documentation/networking/irda.txt
F: drivers/net/irda/
F: include/net/irda/
Expand Down
45 changes: 45 additions & 0 deletions drivers/net/irda/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,51 @@ config IRTTY_SIR

If unsure, say Y.

config BFIN_SIR
tristate "Blackfin SIR on UART"
depends on BLACKFIN && IRDA
default n
help
Say Y here if your want to enable SIR function on Blackfin UART
devices.

To activate this driver you can start irattach like:
"irattach irda0 -s"

Saying M, it will be built as a module named bfin_sir.

Note that you need to turn off one of the serial drivers for SIR
to use that UART.

config BFIN_SIR0
bool "Blackfin SIR on UART0"
depends on BFIN_SIR && !SERIAL_BFIN_UART0

config BFIN_SIR1
bool "Blackfin SIR on UART1"
depends on BFIN_SIR && !SERIAL_BFIN_UART1 && (!BF531 && !BF532 && !BF533 && !BF561)

config BFIN_SIR2
bool "Blackfin SIR on UART2"
depends on BFIN_SIR && !SERIAL_BFIN_UART2 && (BF54x || BF538 || BF539)

config BFIN_SIR3
bool "Blackfin SIR on UART3"
depends on BFIN_SIR && !SERIAL_BFIN_UART3 && (BF54x)

choice
prompt "SIR Mode"
depends on BFIN_SIR
default SIR_BFIN_DMA

config SIR_BFIN_DMA
bool "DMA mode"
depends on !DMA_UNCACHED_NONE

config SIR_BFIN_PIO
bool "PIO mode"
endchoice

comment "Dongle support"

config DONGLE
Expand Down
1 change: 1 addition & 0 deletions drivers/net/irda/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ obj-$(CONFIG_MCS_FIR) += mcs7780.o
obj-$(CONFIG_AU1000_FIR) += au1k_ir.o
# SIR drivers
obj-$(CONFIG_IRTTY_SIR) += irtty-sir.o sir-dev.o
obj-$(CONFIG_BFIN_SIR) += bfin_sir.o
# dongle drivers for SIR drivers
obj-$(CONFIG_ESI_DONGLE) += esi-sir.o
obj-$(CONFIG_TEKRAM_DONGLE) += tekram-sir.o
Expand Down
Loading

0 comments on commit 9d794a0

Please sign in to comment.