USB: add 5372:2303 to pl2303

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Wednesday, December 17, 2008 - 4:59 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=7c9920...
Commit:     7c99200142c04d0f1ed3f048014591f841efdaed
Parent:     24c0996a6b73e2554104961afcc8659534503e0d
Author:     Matthew Arnold <Matthew.Arnold-1@uts.edu.au>
AuthorDate: Sat Dec 13 22:42:53 2008 +1100
Committer:  Greg Kroah-Hartman <gregkh@suse.de>
CommitDate: Wed Dec 17 10:49:15 2008 -0800

    USB: add 5372:2303 to pl2303
    
    This patch adds the "Superial" USB-Serial converter to pl2303 so that it
    is detected, by the correct driver.  Adds the relevant vendor:product
    (5372:2303) to the device tables in pl2303.c & pl2303.h.  The patch has
    been tested against 2.6.24-22-generic.
    
    Signed-off-by: Matthew D Arnold <matthew.arnold-1@uts.edu.au>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
 drivers/usb/serial/pl2303.c |    1 +
 drivers/usb/serial/pl2303.h |    4 ++++
 2 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c
index 491c885..029b314 100644
--- a/drivers/usb/serial/pl2303.c
+++ b/drivers/usb/serial/pl2303.c
@@ -91,6 +91,7 @@ static struct usb_device_id id_table [] = {
 	{ USB_DEVICE(WS002IN_VENDOR_ID, WS002IN_PRODUCT_ID) },
 	{ USB_DEVICE(COREGA_VENDOR_ID, COREGA_PRODUCT_ID) },
 	{ USB_DEVICE(YCCABLE_VENDOR_ID, YCCABLE_PRODUCT_ID) },
+	{ USB_DEVICE(SUPERIAL_VENDOR_ID, SUPERIAL_PRODUCT_ID) },
 	{ }					/* Terminating entry */
 };
 
diff --git a/drivers/usb/serial/pl2303.h b/drivers/usb/serial/pl2303.h
index a3bd039..05c909a 100644
--- a/drivers/usb/serial/pl2303.h
+++ b/drivers/usb/serial/pl2303.h
@@ -110,3 +110,7 @@
 /* Y.C. Cable U.S.A., Inc - USB to RS-232 */
 #define YCCABLE_VENDOR_ID	0x05ad
 #define YCCABLE_PRODUCT_ID	0x0fba
+
+/* "Superial" USB - Serial */
+#define SUPERIAL_VENDOR_ID	0x5372
+#define SUPERIAL_PRODUCT_ID	0x2303
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
USB: add 5372:2303 to pl2303, Linux Kernel Mailing ..., (Wed Dec 17, 4:59 pm)