]> err.no Git - linux-2.6/commitdiff
USB: add support for 4348:5523 WinChipHead USB->RS 232 adapter
authorPiotr Roszatycki <dexter@debian.org>
Wed, 2 Jan 2008 10:16:57 +0000 (11:16 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 22:34:43 +0000 (14:34 -0800)
add support for:

  4348:5523 WinChipHead USB->RS 232 adapter with Prolifec PL 2303 chipset

[ mingo@elte.hu: merged it and nursed it upstream ]

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

index 0da1df9c79bf044677e703c125212a0dd5f0f52f..fbce1ba333b027f085f8b31975e33430164da0e1 100644 (file)
@@ -87,6 +87,7 @@ static struct usb_device_id id_table [] = {
        { USB_DEVICE(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_ID) },
        { USB_DEVICE(WS002IN_VENDOR_ID, WS002IN_PRODUCT_ID) },
        { USB_DEVICE(COREGA_VENDOR_ID, COREGA_PRODUCT_ID) },
+       { USB_DEVICE(HL340_VENDOR_ID, HL340_PRODUCT_ID) },
        { }                                     /* Terminating entry */
 };
 
index d31f5d299989f2315b280c4ab3092edec912d002..226997d7cda84907202d0d10a19c079b0247a7bf 100644 (file)
 /* Corega CG-USBRS232R Serial Adapter */
 #define COREGA_VENDOR_ID       0x07aa
 #define COREGA_PRODUCT_ID      0x002a
+
+/* HL HL-340 (ID: 4348:5523) */
+#define HL340_VENDOR_ID                0x4348
+#define HL340_PRODUCT_ID       0x5523
+