Skip to contentSkip to conversation

usb: serial: usb_debug: Add new USB device id

PATCH In review Lu Baolu 2 participants 3 messages Nov 28, 2017

Subsystems (2)
lore
Share & tools
lore

Lu Baolu

author
#0 lore raw

PATCH 1/1 usb: serial: usb_debug: Add new USB device id

USB vendor id and product id for Linux USB Debug Target is added.

---
 drivers/usb/serial/usb_debug.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/usb/serial/usb_debug.c +2 -0
index ab5a2ac..47636b6 100644
@@ -32,12 +32,14 @@ static const struct usb_device_id id_table[] = {
 
 static const struct usb_device_id dbc_id_table[] = {
 	{ USB_DEVICE(0x1d6b, 0x0011) },
+	{ USB_DEVICE(0x1d6b, 0x0010) },
 	{ },
 };
 
 static const struct usb_device_id id_table_combined[] = {
 	{ USB_DEVICE(0x0525, 0x127a) },
 	{ USB_DEVICE(0x1d6b, 0x0011) },
+	{ USB_DEVICE(0x1d6b, 0x0010) },
 	{ },
 };
 MODULE_DEVICE_TABLE(usb, id_table_combined);
Signature · 1 line
2.7.4
maintainer
#1 lore raw
Quoted 16 lines · Lu Baolu

USB vendor id and product id for Linux USB Debug Target is added.

---
 drivers/usb/serial/usb_debug.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/usb/serial/usb_debug.c +1 -0
index ab5a2ac..47636b6 100644
@@ -32,12 +32,14 @@ static const struct usb_device_id id_table[] = {
 
 static const struct usb_device_id dbc_id_table[] = {
 	{ USB_DEVICE(0x1d6b, 0x0011) },
+	{ USB_DEVICE(0x1d6b, 0x0010) },

drivers/usb/serial/usb_debug.c static const struct usb_device_id id_table[] = { · line 45

Quoted 10 lines
drivers/usb/serial/usb_debug.c +1 -0
 	{ },
 };
 
 static const struct usb_device_id id_table_combined[] = {
 	{ USB_DEVICE(0x0525, 0x127a) },
 	{ USB_DEVICE(0x1d6b, 0x0011) },
+	{ USB_DEVICE(0x1d6b, 0x0010) },
 	{ },
 };
 MODULE_DEVICE_TABLE(usb, id_table_combined);

For next time, please try to keep the device-id tables sorted when adding new entries. I fixed it up before applying with a stable tag.

Thanks,
Johan

author
#2 lore raw

Hi Johan,

Quoted 20 lines · Johan Hovold
Quoted 19 lines · Lu Baolu

USB vendor id and product id for Linux USB Debug Target is added.

---
 drivers/usb/serial/usb_debug.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/usb/serial/usb_debug.c +1 -0
index ab5a2ac..47636b6 100644
@@ -32,12 +32,14 @@ static const struct usb_device_id id_table[] = {
 
 static const struct usb_device_id dbc_id_table[] = {
 	{ USB_DEVICE(0x1d6b, 0x0011) },
+	{ USB_DEVICE(0x1d6b, 0x0010) },
 	{ },
 };
 
Quoted 10 lines

drivers/usb/serial/usb_debug.c static const struct usb_device_id id_table[] = { · line 45

Quoted 7 lines
drivers/usb/serial/usb_debug.c +1 -0
 static const struct usb_device_id id_table_combined[] = {
 	{ USB_DEVICE(0x0525, 0x127a) },
 	{ USB_DEVICE(0x1d6b, 0x0011) },
+	{ USB_DEVICE(0x1d6b, 0x0010) },
 	{ },
 };
 MODULE_DEVICE_TABLE(usb, id_table_combined);

For next time, please try to keep the device-id tables sorted when adding new entries. I fixed it up before applying with a stable tag.

Sure. Thanks for the reminder.

Best regards,
Lu Baolu