* [PATCH] USB: serial: pl2303: add device id for ADLINK ND-6530 GC device
@ 2021-05-10 2:32 Zolton Jheng
2021-05-10 9:16 ` Johan Hovold
0 siblings, 1 reply; 2+ messages in thread
From: Zolton Jheng @ 2021-05-10 2:32 UTC (permalink / raw)
To: johan; +Cc: gregkh, linux-usb, linux-kernel, Zolton Jheng
This is adds the device id for the ADLINK ND-6530 which is a
pl2303gc based device
Signed-off-by: Zolton Jheng <s6668c2t@gmail.com>
---
drivers/usb/serial/pl2303.c | 1 +
drivers/usb/serial/pl2303.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c
index eed9acd..f2895c2 100644
--- a/drivers/usb/serial/pl2303.c
+++ b/drivers/usb/serial/pl2303.c
@@ -113,6 +113,7 @@ static const struct usb_device_id id_table[] = {
{ USB_DEVICE(SONY_VENDOR_ID, SONY_QN3USB_PRODUCT_ID) },
{ USB_DEVICE(SANWA_VENDOR_ID, SANWA_PRODUCT_ID) },
{ USB_DEVICE(ADLINK_VENDOR_ID, ADLINK_ND6530_PRODUCT_ID) },
+ { 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) },
{ } /* Terminating entry */
diff --git a/drivers/usb/serial/pl2303.h b/drivers/usb/serial/pl2303.h
index 0f681dd..6097ee8 100644
--- a/drivers/usb/serial/pl2303.h
+++ b/drivers/usb/serial/pl2303.h
@@ -158,6 +158,7 @@
/* ADLINK ND-6530 RS232,RS485 and RS422 adapter */
#define ADLINK_VENDOR_ID 0x0b63
#define ADLINK_ND6530_PRODUCT_ID 0x6530
+#define ADLINK_ND6530GC_PRODUCT_ID 0x653a
/* SMART USB Serial Adapter */
#define SMART_VENDOR_ID 0x0b8c
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] USB: serial: pl2303: add device id for ADLINK ND-6530 GC device
2021-05-10 2:32 [PATCH] USB: serial: pl2303: add device id for ADLINK ND-6530 GC device Zolton Jheng
@ 2021-05-10 9:16 ` Johan Hovold
0 siblings, 0 replies; 2+ messages in thread
From: Johan Hovold @ 2021-05-10 9:16 UTC (permalink / raw)
To: Zolton Jheng; +Cc: gregkh, linux-usb, linux-kernel
On Mon, May 10, 2021 at 10:32:00AM +0800, Zolton Jheng wrote:
> This is adds the device id for the ADLINK ND-6530 which is a
> pl2303gc based device
>
> Signed-off-by: Zolton Jheng <s6668c2t@gmail.com>
Applied, thanks.
Johan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-10 9:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-10 2:32 [PATCH] USB: serial: pl2303: add device id for ADLINK ND-6530 GC device Zolton Jheng
2021-05-10 9:16 ` Johan Hovold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).