USB: serial: pl2303: add IBM device IDs
authorEddie James <eajames@linux.ibm.com>
Tue, 1 Mar 2022 22:44:46 +0000 (16:44 -0600)
committerJohan Hovold <johan@kernel.org>
Fri, 4 Mar 2022 08:52:09 +0000 (09:52 +0100)
IBM manufactures a PL2303 device for UPS communications. Add the vendor
and product IDs so that the PL2303 driver binds to the device.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Eddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20220301224446.21236-1-eajames@linux.ibm.com
Cc: stable@vger.kernel.org
[ johan: amend the SoB chain ]
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/pl2303.c
drivers/usb/serial/pl2303.h

index a70fd86f735ca866b58a44ce4884ad8f6e71e94a..e2ef761ed39c7285b339df16e731bb73bd256d9c 100644 (file)
@@ -116,6 +116,7 @@ static const struct usb_device_id id_table[] = {
        { USB_DEVICE(ADLINK_VENDOR_ID, ADLINK_ND6530GC_PRODUCT_ID) },
        { USB_DEVICE(SMART_VENDOR_ID, SMART_PRODUCT_ID) },
        { USB_DEVICE(AT_VENDOR_ID, AT_VTKIT3_PRODUCT_ID) },
+       { USB_DEVICE(IBM_VENDOR_ID, IBM_PRODUCT_ID) },
        { }                                     /* Terminating entry */
 };
 
index 6097ee8fccb25cdbf6feaa28d49f784c913ca492..c5406452b774ef9dc6cdc986f0aa4ce6ead1b866 100644 (file)
@@ -35,6 +35,9 @@
 #define ATEN_PRODUCT_UC232B    0x2022
 #define ATEN_PRODUCT_ID2       0x2118
 
+#define IBM_VENDOR_ID          0x04b3
+#define IBM_PRODUCT_ID         0x4016
+
 #define IODATA_VENDOR_ID       0x04bb
 #define IODATA_PRODUCT_ID      0x0a03
 #define IODATA_PRODUCT_ID_RSAQ5        0x0a0e