summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorHamish Guthrie <hcg@openwrt.org>2011-03-23 11:31:49 +0000
committerHamish Guthrie <hcg@openwrt.org>2011-03-23 11:31:49 +0000
commit26a17a0e3909b487b10de0d2f95bb34ae7d0acc7 (patch)
treed851677b55300d43dd1cc4645b60f1e1cb6d9127 /target
parent4a3f0f9769f6aae7db8e6cef325a00cbd22d85cc (diff)
downloadmtk-20170518-26a17a0e3909b487b10de0d2f95bb34ae7d0acc7.zip
mtk-20170518-26a17a0e3909b487b10de0d2f95bb34ae7d0acc7.tar.gz
mtk-20170518-26a17a0e3909b487b10de0d2f95bb34ae7d0acc7.tar.bz2
kernel: add CTI usb-id's to FTDI driver
SVN-Revision: 26275
Diffstat (limited to 'target')
-rw-r--r--target/linux/omap35xx/patches-2.6.36/005-add_cti_usbids.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/omap35xx/patches-2.6.36/005-add_cti_usbids.patch b/target/linux/omap35xx/patches-2.6.36/005-add_cti_usbids.patch
new file mode 100644
index 0000000..b27494e
--- /dev/null
+++ b/target/linux/omap35xx/patches-2.6.36/005-add_cti_usbids.patch
@@ -0,0 +1,24 @@
+diff -urN linux-2.6.36.1/drivers/usb/serial/ftdi_sio.c linux-2.6.36.1.old/drivers/usb/serial/ftdi_sio.c
+--- linux-2.6.36.1/drivers/usb/serial/ftdi_sio.c 2011-03-23 11:23:23.000000000 +0100
++++ linux-2.6.36.1.old/drivers/usb/serial/ftdi_sio.c 2010-11-22 20:03:49.000000000 +0100
+@@ -794,9 +794,6 @@
+ { USB_DEVICE(FTDI_VID, FTDI_SCIENCESCOPE_LOGBOOKML_PID) },
+ { USB_DEVICE(FTDI_VID, FTDI_SCIENCESCOPE_LS_LOGBOOK_PID) },
+ { USB_DEVICE(FTDI_VID, FTDI_SCIENCESCOPE_HS_LOGBOOK_PID) },
+- /* CTI Devices */
+- { USB_DEVICE(FTDI_VID, FTDI_CTI_Mini_PID) },
+- { USB_DEVICE(FTDI_VID, FTDI_CTI_Nano_PID) },
+ { }, /* Optional parameter entry */
+ { } /* Terminating entry */
+ };
+diff -urN linux-2.6.36.1/drivers/usb/serial/ftdi_sio_ids.h linux-2.6.36.1.old/drivers/usb/serial/ftdi_sio_ids.h
+--- linux-2.6.36.1/drivers/usb/serial/ftdi_sio_ids.h 2011-03-23 11:20:57.000000000 +0100
++++ linux-2.6.36.1.old/drivers/usb/serial/ftdi_sio_ids.h 2010-11-22 20:03:49.000000000 +0100
+@@ -1100,7 +1100,3 @@
+ #define FTDI_SCIENCESCOPE_LOGBOOKML_PID 0xFF18
+ #define FTDI_SCIENCESCOPE_LS_LOGBOOK_PID 0xFF1C
+ #define FTDI_SCIENCESCOPE_HS_LOGBOOK_PID 0xFF1D
+-
+-/* www.cti-lean.com RS485 converter */
+-#define FTDI_CTI_Mini_PID 0xF608 /* USB-485 Mini */
+-#define FTDI_CTI_Nano_PID 0xF60B /* USB-Nano-485 */