Skip to contentSkip to conversation

net: usb: asix: ax88772: identify 0x2001/0x1a02 correctly

PATCH In review Xose Vazquez Perez 2 participants 2 messages May 27

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: usb: asix: ax88772: identify 0x2001/0x1a02 correctly

It's 88772B, and s/spaces/tab.

Cc Andrew Lunn <[email protected]>
Cc David S. Miller <[email protected]>
Cc Eric Dumazet <[email protected]>
Cc Jakub Kicinski <[email protected]>
Cc Paolo Abeni <[email protected]>
Cc USB-ML <[email protected]>
Cc NETDEV-ML <[email protected]>

---
Sources:
http://grinkin.ru/dlink-DUB-E100.html
https://web.archive.org/web/20221021183537/https://grokbase.com/t/centos/centos/13axyyat31/c6-4-d-link-usb-network-device-2001-1a02-not-work
https://support.dlink.com/resource/PRODUCTS/DUB-E100/REVC/DUB-E100_REVC_DRIVER_LINUX_v1.02_2.6.14.zip

---
 drivers/net/usb/asix_devices.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/net/usb/asix_devices.c +3 -3
index 293ef80c4e30..af19c57c6216 100644
@@ -1550,9 +1550,9 @@ static const struct usb_device_id	products [] = {
 	USB_DEVICE (0x2001, 0x3c05),
 	.driver_info = (unsigned long) &ax88772_info,
 }, {
-       // DLink DUB-E100 H/W Ver C1
-       USB_DEVICE (0x2001, 0x1a02),
-       .driver_info = (unsigned long) &ax88772_info,
+	// DLink DUB-E100 H/W Ver C1
+	USB_DEVICE (0x2001, 0x1a02),
+	.driver_info = (unsigned long) &ax88772b_info,
 }, {
 	// Linksys USB1000
 	USB_DEVICE (0x1737, 0x0039),
Signature · 1 line
2.54.0
#1 lore raw
Quoted 1 line · Xose Vazquez Perez

It's 88772B, and s/spaces/tab.

ax88772_info -> ax88772b_info is a bug fix. Please base the patch on net, and include a Fixes tag.

https://www.kernel.org/doc/html/latest/process/maintainer-netdev.html

A more verbose commit message would also be good. Because of the space/tab change the added b does not stand out, and it took me a while to understand what you actually meant.

Andrew

---
pw-bot: cr