Skip to content

Commit e20bd60

Browse files
glneodavem330
authored andcommitted
net: usb: asix88179_178a: Add support for the Belkin B2B128
The Belkin B2B128 is a USB 3.0 Hub + Gigabit Ethernet Adapter, the Ethernet adapter uses the ASIX AX88179 USB 3.0 to Gigabit Ethernet chip supported by this driver, add the USB ID for the same. This patch is based on work by Geoffrey Tran <[email protected]> who has indicated they would like this upstreamed by someone more familiar with the upstreaming process. Signed-off-by: Andrew F. Davis <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 85688d9 commit e20bd60

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

drivers/net/usb/ax88179_178a.c

+16
Original file line numberDiff line numberDiff line change
@@ -1722,6 +1722,18 @@ static const struct driver_info lenovo_info = {
17221722
.tx_fixup = ax88179_tx_fixup,
17231723
};
17241724

1725+
static const struct driver_info belkin_info = {
1726+
.description = "Belkin USB Ethernet Adapter",
1727+
.bind = ax88179_bind,
1728+
.unbind = ax88179_unbind,
1729+
.status = ax88179_status,
1730+
.link_reset = ax88179_link_reset,
1731+
.reset = ax88179_reset,
1732+
.flags = FLAG_ETHER | FLAG_FRAMING_AX,
1733+
.rx_fixup = ax88179_rx_fixup,
1734+
.tx_fixup = ax88179_tx_fixup,
1735+
};
1736+
17251737
static const struct usb_device_id products[] = {
17261738
{
17271739
/* ASIX AX88179 10/100/1000 */
@@ -1751,6 +1763,10 @@ static const struct usb_device_id products[] = {
17511763
/* Lenovo OneLinkDock Gigabit LAN */
17521764
USB_DEVICE(0x17ef, 0x304b),
17531765
.driver_info = (unsigned long)&lenovo_info,
1766+
}, {
1767+
/* Belkin B2B128 USB 3.0 Hub + Gigabit Ethernet Adapter */
1768+
USB_DEVICE(0x050d, 0x0128),
1769+
.driver_info = (unsigned long)&belkin_info,
17541770
},
17551771
{ },
17561772
};

0 commit comments

Comments
 (0)