USB: serial: pl2303: Add IBM device IDs
Subsystems (2)
PATCH 1/1 USB: serial: pl2303: Add IBM device IDs
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 <[email protected]>
Signed-off-by Joel Stanley <[email protected]>
--- drivers/usb/serial/pl2303.c | 1 + drivers/usb/serial/pl2303.h | 3 +++ 2 files changed, 4 insertions(+)
drivers/usb/serial/pl2303.c +1 -0
@@ -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 */ };
drivers/usb/serial/pl2303.h +3 -0
@@ -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
Signature · 1 line
2.27.0
Johan Hovold
maintainerQuoted 2 lines · Eddie James
IBM manufactures a PL2303 device for UPS communications. Add the vendor and product IDs so that the PL2303 driver binds to the device.
Thanks for the patch, looks good.
Quoted 2 lines
Signed-off-by Eddie James <[email protected]>Signed-off-by Joel Stanley <[email protected]>
The SoB of the submitter should go last here though. You can use Co-developed-by to give a co-author credit (or add a From line in case you're in fact not an author). Please review:
Documentation/process/submitting-patches.rst
and send a v2.
Johan