diff mbox series

usb-serial: add support for startech.com serial to usb convertor

Message ID 20210501204045.19f84a19@zonker.seanm.ca
State New
Headers show
Series usb-serial: add support for startech.com serial to usb convertor | expand

Commit Message

Sean MacLennan May 2, 2021, 12:40 a.m. UTC
This adds support for the Startech.com generic serial to USB
convertor. It seems to be a bone stock TI_3410. I have been using this
patch for years.
Signed-off-by: Sean MacLennan <seanm@seanm.ca>
---

Comments

Johan Hovold May 10, 2021, 9:12 a.m. UTC | #1
On Sat, May 01, 2021 at 08:40:45PM -0400, Sean MacLennan wrote:
> This adds support for the Startech.com generic serial to USB

> convertor. It seems to be a bone stock TI_3410. I have been using this

> patch for years.

> Signed-off-by: Sean MacLennan <seanm@seanm.ca>


Now applied with an updated commit summary:

	USB: serial: ti_usb_3410_5052: add startech.com device id

Thanks.

Johan
diff mbox series

Patch

diff --git a/drivers/usb/serial/ti_usb_3410_5052.c b/drivers/usb/serial/ti_usb_3410_5052.c
index caa46ac23db9..310db5abea9d 100644
--- a/drivers/usb/serial/ti_usb_3410_5052.c
+++ b/drivers/usb/serial/ti_usb_3410_5052.c
@@ -37,6 +37,7 @@ 
 /* Vendor and product ids */
 #define TI_VENDOR_ID			0x0451
 #define IBM_VENDOR_ID			0x04b3
+#define STARTECH_VENDOR_ID		0x14b0
 #define TI_3410_PRODUCT_ID		0x3410
 #define IBM_4543_PRODUCT_ID		0x4543
 #define IBM_454B_PRODUCT_ID		0x454b
@@ -370,6 +371,7 @@  static const struct usb_device_id ti_id_table_3410[] = {
 	{ USB_DEVICE(MXU1_VENDOR_ID, MXU1_1131_PRODUCT_ID) },
 	{ USB_DEVICE(MXU1_VENDOR_ID, MXU1_1150_PRODUCT_ID) },
 	{ USB_DEVICE(MXU1_VENDOR_ID, MXU1_1151_PRODUCT_ID) },
+	{ USB_DEVICE(STARTECH_VENDOR_ID, TI_3410_PRODUCT_ID) },
 	{ }	/* terminator */
 };
 
@@ -408,6 +410,7 @@  static const struct usb_device_id ti_id_table_combined[] = {
 	{ USB_DEVICE(MXU1_VENDOR_ID, MXU1_1131_PRODUCT_ID) },
 	{ USB_DEVICE(MXU1_VENDOR_ID, MXU1_1150_PRODUCT_ID) },
 	{ USB_DEVICE(MXU1_VENDOR_ID, MXU1_1151_PRODUCT_ID) },
+	{ USB_DEVICE(STARTECH_VENDOR_ID, TI_3410_PRODUCT_ID) },
 	{ }	/* terminator */
 };