* [PATCH] USB: serial: pl2303: add device id for Macrosilicon MS3020
@ 2024-09-03 15:06 Junhao Xie
2024-09-06 15:12 ` Johan Hovold
0 siblings, 1 reply; 2+ messages in thread
From: Junhao Xie @ 2024-09-03 15:06 UTC (permalink / raw)
To: linux-usb; +Cc: linux-kernel, Johan Hovold, Greg Kroah-Hartman, Junhao Xie
Add the device id for the Macrosilicon MS3020 which is a
PL2303HXN based device.
Signed-off-by: Junhao Xie <bigfoot@classfun.cn>
---
| 1 +
| 4 ++++
2 files changed, 5 insertions(+)
--git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c
index d93f5d584557..8e327fcb222f 100644
--- a/drivers/usb/serial/pl2303.c
+++ b/drivers/usb/serial/pl2303.c
@@ -118,6 +118,7 @@ static const struct usb_device_id id_table[] = {
{ 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) },
+ { USB_DEVICE(MACROSILICON_VENDOR_ID, MACROSILICON_MS3020_PRODUCT_ID) },
{ } /* Terminating entry */
};
--git a/drivers/usb/serial/pl2303.h b/drivers/usb/serial/pl2303.h
index 732f9b13ad5d..d60eda7f6eda 100644
--- a/drivers/usb/serial/pl2303.h
+++ b/drivers/usb/serial/pl2303.h
@@ -171,3 +171,7 @@
/* Allied Telesis VT-Kit3 */
#define AT_VENDOR_ID 0x0caa
#define AT_VTKIT3_PRODUCT_ID 0x3001
+
+/* Macrosilicon MS3020 */
+#define MACROSILICON_VENDOR_ID 0x345f
+#define MACROSILICON_MS3020_PRODUCT_ID 0x3020
--
2.46.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] USB: serial: pl2303: add device id for Macrosilicon MS3020
2024-09-03 15:06 [PATCH] USB: serial: pl2303: add device id for Macrosilicon MS3020 Junhao Xie
@ 2024-09-06 15:12 ` Johan Hovold
0 siblings, 0 replies; 2+ messages in thread
From: Johan Hovold @ 2024-09-06 15:12 UTC (permalink / raw)
To: Junhao Xie; +Cc: linux-usb, linux-kernel, Greg Kroah-Hartman
On Tue, Sep 03, 2024 at 11:06:38PM +0800, Junhao Xie wrote:
> Add the device id for the Macrosilicon MS3020 which is a
> PL2303HXN based device.
>
> Signed-off-by: Junhao Xie <bigfoot@classfun.cn>
Applied, thanks.
Johan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-09-06 15:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-03 15:06 [PATCH] USB: serial: pl2303: add device id for Macrosilicon MS3020 Junhao Xie
2024-09-06 15:12 ` Johan Hovold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®