aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial
diff options
context:
space:
mode:
authorDamien Stuart <dstuart@dstuart.org>2008-01-06 13:51:39 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2008-02-01 17:34:43 -0500
commitcc311ee7d29d96f0bf15599f4456012d6f5ea23c (patch)
treea6878a0197135f628a1360af0c6804d08b32f6aa /drivers/usb/serial
parent62aad3ab11fb4e7c43447ac655595b9cbba3f431 (diff)
USB: Adding YC Cable USB Serial device to pl2303
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>
Diffstat (limited to 'drivers/usb/serial')
-rw-r--r--drivers/usb/serial/pl2303.c1
-rw-r--r--drivers/usb/serial/pl2303.h3
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c
index fbce1ba333b0..3f499fcfd83c 100644
--- a/drivers/usb/serial/pl2303.c
+++ b/drivers/usb/serial/pl2303.c
@@ -88,6 +88,7 @@ static struct usb_device_id id_table [] = {
88 { USB_DEVICE(WS002IN_VENDOR_ID, WS002IN_PRODUCT_ID) }, 88 { USB_DEVICE(WS002IN_VENDOR_ID, WS002IN_PRODUCT_ID) },
89 { USB_DEVICE(COREGA_VENDOR_ID, COREGA_PRODUCT_ID) }, 89 { USB_DEVICE(COREGA_VENDOR_ID, COREGA_PRODUCT_ID) },
90 { USB_DEVICE(HL340_VENDOR_ID, HL340_PRODUCT_ID) }, 90 { USB_DEVICE(HL340_VENDOR_ID, HL340_PRODUCT_ID) },
91 { USB_DEVICE(YCCABLE_VENDOR_ID, YCCABLE_PRODUCT_ID) },
91 { } /* Terminating entry */ 92 { } /* Terminating entry */
92}; 93};
93 94
diff --git a/drivers/usb/serial/pl2303.h b/drivers/usb/serial/pl2303.h
index 226997d7cda8..f1f67bd20376 100644
--- a/drivers/usb/serial/pl2303.h
+++ b/drivers/usb/serial/pl2303.h
@@ -112,3 +112,6 @@
112#define HL340_VENDOR_ID 0x4348 112#define HL340_VENDOR_ID 0x4348
113#define HL340_PRODUCT_ID 0x5523 113#define HL340_PRODUCT_ID 0x5523
114 114
115/* Y.C. Cable U.S.A., Inc - USB to RS-232 */
116#define YCCABLE_VENDOR_ID 0x05ad
117#define YCCABLE_PRODUCT_ID 0x0fba