[OpenWrt-Devel] [PATCH] FTDI additional serial IDs

2012-01-17 Thread Peter Naulls


Add support for the Rainforest Automation Zigbee dongle.

This is against 2.6.39 only, however Linux 3.2 does not have this
ID either.

Signed-of-by: Peter Naulls 


Index: target/linux/generic/patches-2.6.39/823-usb_serial_ftdi_add_more_devices.patch
===
--- target/linux/generic/patches-2.6.39/823-usb_serial_ftdi_add_more_devices.patch	(revision 0)
+++ target/linux/generic/patches-2.6.39/823-usb_serial_ftdi_add_more_devices.patch	(revision 0)
@@ -0,0 +1,22 @@
+--- a/drivers/usb/serial/ftdi_sio_ids.h.orig	2012-01-16 15:05:19.479187251 -0800
 b/drivers/usb/serial/ftdi_sio_ids.h	2012-01-16 15:09:36.059187291 -0800
+@@ -1159,4 +1159,8 @@
+ /* USB-Nano-485*/
+ #define FTDI_CTI_NANO_PID	0xF60B
+ 
+-
++/*
++ * Rainforest Automation
++ */
++/* ZigBee controller */
++#define FTDI_RF_R106		0x8A28
+--- a/drivers/usb/serial/ftdi_sio.c.orig	2012-01-16 15:05:27.727187253 -0800
 b/drivers/usb/serial/ftdi_sio.c	2012-01-16 15:10:37.695187302 -0800
+@@ -828,6 +828,7 @@
+ 		.driver_info = (kernel_ulong_t)&ftdi_jtag_quirk },
+ 	{ USB_DEVICE(ST_VID, ST_STMCLT1030_PID),
+ 		.driver_info = (kernel_ulong_t)&ftdi_stmclite_quirk },
++	{ USB_DEVICE(FTDI_VID, FTDI_RF_R106) },
+ 	{ },	/* Optional parameter entry */
+ 	{ }	/* Terminating entry */
+ };
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] FTDI additional serial IDs

2012-01-17 Thread Florian Fainelli

Hello,

On 01/17/12 17:15, Peter Naulls wrote:


Add support for the Rainforest Automation Zigbee dongle.

This is against 2.6.39 only, however Linux 3.2 does not have this
ID either.

Signed-of-by: Peter Naulls 


Please make sure this makes it into next Linux 3.2 stable releases as 
well. Thanks.

--
Florian
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel