Skip to contentSkip to conversation

IrDA: TOIM3232 dongle support

PATCH Applied Samuel Ortiz 2 participants 2 messages Mar 1, 2006 – Mar 2, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 IrDA: TOIM3232 dongle support

Hi David,

Here goes a patch for supporting TOIM3232 based serial IrDA dongles. The code is based on the tekram dongle code.

It's been tested with a TOIM3232 based IRWave 320S dongle. It may work for TOIM4232 dongles, although it's not been tested.

Cheers,
Samuel.

drivers/net/irda/Kconfig +8 -0
index 7a08134..1b0f0d0 100644
@@ -62,10 +62,18 @@ config TEKRAM_DONGLE
 	  attaches to the normal 9-pin serial port connector, and can
 	  currently only be used by IrTTY.  To activate support for Tekram
 	  dongles you will have to start irattach like this:
 	  "irattach -d tekram".
 
+config TOIM3232_DONGLE
+	tristate "TOIM3232 IrDa dongle"
+	depends on DONGLE && IRDA
+	help
+	  Say Y here if you want to build support for the Vishay/Temic
+	  TOIM3232 and TOIM4232 based dongles.
+	  To compile it as a module, choose M here.
+
 config LITELINK_DONGLE
 	tristate "Parallax LiteLink dongle"
 	depends on DONGLE && IRDA
 	help
 	  Say Y here if you want to build support for the Parallax Litelink
drivers/net/irda/Makefile +1 -0
index 72cbfdc..27ab75f 100644
@@ -41,8 +41,9 @@ obj-$(CONFIG_LITELINK_DONGLE)	+= litelin
 obj-$(CONFIG_GIRBIL_DONGLE)	+= girbil-sir.o
 obj-$(CONFIG_OLD_BELKIN_DONGLE)	+= old_belkin-sir.o
 obj-$(CONFIG_MCP2120_DONGLE)	+= mcp2120-sir.o
 obj-$(CONFIG_ACT200L_DONGLE)	+= act200l-sir.o
 obj-$(CONFIG_MA600_DONGLE)	+= ma600-sir.o
+obj-$(CONFIG_TOIM3232_DONGLE)	+= toim3232-sir.o
 
 # The SIR helper module
 sir-dev-objs := sir_dev.o sir_dongle.o sir_kthread.o
drivers/net/irda/toim3232-sir.c +375 -0

375 lines not on this page · raw message

include/linux/irda.h +1 -0
index 95dee17..09d8f10 100644
@@ -74,10 +74,11 @@ typedef enum {
 	IRDA_OLD_BELKIN_DONGLE   = 7,
 	IRDA_EP7211_IR           = 8,
 	IRDA_MCP2120_DONGLE      = 9,
 	IRDA_ACT200L_DONGLE      = 10,
 	IRDA_MA600_DONGLE        = 11,
+	IRDA_TOIM3232_DONGLE     = 12,
 } IRDA_DONGLE;
 
 /* Protocol types to be used for SOCK_DGRAM */
 enum {
 	IRDAPROTO_UNITDATA = 0,

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642

#1 lore raw

From: Samuel Ortiz <[email protected]>
Date: Thu, 2 Mar 2006 00:36:23 +0200

Quoted 8 lines

Here goes a patch for supporting TOIM3232 based serial IrDA dongles. The code is based on the tekram dongle code.

It's been tested with a TOIM3232 based IRWave 320S dongle. It may work for TOIM4232 dongles, although it's not been tested.

Applied, thanks a lot.

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642