summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-23 14:08:33 +0000
committerhcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-23 14:08:33 +0000
commit4a907deb73b535ed8b5f05800f78e3b36a754664 (patch)
tree083af0cbc9f121a65812532a52d75329404eb895
parentd88135f883965d3446db84ae16395307d6e5bc9f (diff)
[omap35xx]: Correct CTI patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26276 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/omap35xx/patches-2.6.36/005-add_cti_usbids.patch30
1 files changed, 15 insertions, 15 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
index b27494e323..3ff9c6beec 100644
--- 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
@@ -1,24 +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 @@
+diff -urN linux-2.6.36.1.old/drivers/usb/serial/ftdi_sio.c linux-2.6.36.1/drivers/usb/serial/ftdi_sio.c
+--- linux-2.6.36.1.old/drivers/usb/serial/ftdi_sio.c 2010-11-22 20:03:49.000000000 +0100
++++ linux-2.6.36.1/drivers/usb/serial/ftdi_sio.c 2011-03-23 11:23:23.000000000 +0100
+@@ -794,6 +794,9 @@
{ 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) },
++ /* 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 @@
+diff -urN 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
+--- linux-2.6.36.1.old/drivers/usb/serial/ftdi_sio_ids.h 2010-11-22 20:03:49.000000000 +0100
++++ linux-2.6.36.1/drivers/usb/serial/ftdi_sio_ids.h 2011-03-23 11:20:57.000000000 +0100
+@@ -1100,3 +1100,7 @@
#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 */
++
++/* www.cti-lean.com RS485 converter */
++#define FTDI_CTI_Mini_PID 0xF608 /* USB-485 Mini */
++#define FTDI_CTI_Nano_PID 0xF60B /* USB-Nano-485 */