]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
USB: Adding YC Cable USB Serial device to pl2303
authorDamien Stuart <dstuart@dstuart.org>
Sun, 6 Jan 2008 18:51:39 +0000 (13:51 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 22:34:43 +0000 (14:34 -0800)
This simply adds the "YC Cable" as a vendor and its pl2303-based
USB<->Serial adapter as a product.  This particular adapter is sold by
Radio Shack.  I've done limited testing on a few different systems with
no issues.

Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/pl2303.c
drivers/usb/serial/pl2303.h

index fbce1ba333b027f085f8b31975e33430164da0e1..3f499fcfd83c051b347daa97ffb3c92969808d6f 100644 (file)
@@ -88,6 +88,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(HL340_VENDOR_ID, HL340_PRODUCT_ID) },
+       { USB_DEVICE(YCCABLE_VENDOR_ID, YCCABLE_PRODUCT_ID) },
        { }                                     /* Terminating entry */
 };
 
index 226997d7cda84907202d0d10a19c079b0247a7bf..f1f67bd203760297c14570d5258a80175787657e 100644 (file)
 #define HL340_VENDOR_ID                0x4348
 #define HL340_PRODUCT_ID       0x5523
 
+/* Y.C. Cable U.S.A., Inc - USB to RS-232 */
+#define YCCABLE_VENDOR_ID      0x05ad
+#define YCCABLE_PRODUCT_ID     0x0fba