aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/serial/pl2303.h
diff options
context:
space:
mode:
authorDario Lombardo <dario.lombardo@libero.it>2011-01-21 15:35:19 +0100
committerWilly Tarreau <w@1wt.eu>2011-04-30 16:53:00 +0200
commit901e1734534c941ccd03b4a73ebb395fb8e15604 (patch)
tree5fdfa1b5a6e39145e626c5d4db38a19cbd665cd5 /drivers/usb/serial/pl2303.h
parent601b80d295007d4db544fa9ee53db13dc7ef94c6 (diff)
drivers: update to pl2303 usb-serial to support Motorola cables
commit 96a3e79edff6f41b0f115a82f1a39d66218077a7 upstream. Added 0x0307 device id to support Motorola cables to the pl2303 usb serial driver. This cable has a modified chip that is a pl2303, but declares itself as 0307. Fixed by adding the right device id to the supported devices list, assigning it the code labeled PL2303_PRODUCT_ID_MOTOROLA. Signed-off-by: Dario Lombardo <dario.lombardo@libero.it> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/pl2303.h')
-rw-r--r--drivers/usb/serial/pl2303.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/serial/pl2303.h b/drivers/usb/serial/pl2303.h
index 0a1cfa37263..9a0413c9f7c 100644
--- a/drivers/usb/serial/pl2303.h
+++ b/drivers/usb/serial/pl2303.h
@@ -17,6 +17,7 @@
#define PL2303_PRODUCT_ID_MMX 0x0612
#define PL2303_PRODUCT_ID_GPRS 0x0609
#define PL2303_PRODUCT_ID_HCR331 0x331a
+#define PL2303_PRODUCT_ID_MOTOROLA 0x0307
#define ATEN_VENDOR_ID 0x0557
#define ATEN_VENDOR_ID2 0x0547