summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Benoit <eric@ecks.ca>2011-09-24 02:04:50 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-07 13:47:18 -0800
commit4ca9c2db667698a8bcfd065a81711648a83a1e0c (patch)
tree7bc29fb429117f07ab3e8aa82d675f4ea91e2574
parentf7e1f927886e0f16d76490e5cab7fa906728e396 (diff)
downloadlinux-stable-4ca9c2db667698a8bcfd065a81711648a83a1e0c.tar.gz
linux-stable-4ca9c2db667698a8bcfd065a81711648a83a1e0c.tar.bz2
linux-stable-4ca9c2db667698a8bcfd065a81711648a83a1e0c.zip
USB: pl2303: add id for SMART device
commit 598f0b703506da841d3459dc0c48506be14d1778 upstream. Add vendor and product ID for the SMART USB to serial adapter. These were meant to be used with their SMART Board whiteboards, but can be re-purposed for other tasks. Tested and working (at at least 9600 bps). Signed-off-by: Eric Benoit <eric@ecks.ca> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/usb/serial/pl2303.c1
-rw-r--r--drivers/usb/serial/pl2303.h5
2 files changed, 6 insertions, 0 deletions
diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c
index 782581805033..ca270fc54266 100644
--- a/drivers/usb/serial/pl2303.c
+++ b/drivers/usb/serial/pl2303.c
@@ -101,6 +101,7 @@ static struct usb_device_id id_table [] = {
{ USB_DEVICE(SANWA_VENDOR_ID, SANWA_PRODUCT_ID) },
{ USB_DEVICE(ADLINK_VENDOR_ID, ADLINK_ND6530_PRODUCT_ID) },
{ USB_DEVICE(WINCHIPHEAD_VENDOR_ID, WINCHIPHEAD_USBSER_PRODUCT_ID) },
+ { USB_DEVICE(SMART_VENDOR_ID, SMART_PRODUCT_ID) },
{ } /* Terminating entry */
};
diff --git a/drivers/usb/serial/pl2303.h b/drivers/usb/serial/pl2303.h
index e854fb0c889d..82b572e82ae5 100644
--- a/drivers/usb/serial/pl2303.h
+++ b/drivers/usb/serial/pl2303.h
@@ -144,3 +144,8 @@
/* WinChipHead USB->RS 232 adapter */
#define WINCHIPHEAD_VENDOR_ID 0x4348
#define WINCHIPHEAD_USBSER_PRODUCT_ID 0x5523
+
+/* SMART USB Serial Adapter */
+#define SMART_VENDOR_ID 0x0b8c
+#define SMART_PRODUCT_ID 0x2303
+