Skip to content

Commit

Permalink
net: usb: ax88179_178a: add Toshiba usb 3.0 adapter
Browse files Browse the repository at this point in the history
Adds the driver_info and usb ids of the AX88179 based Toshiba USB 3.0
ethernet adapter.

Signed-off-by: Wilken Gottwalt <wilken.gottwalt@mailbox.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Wilken Gottwalt authored and David S. Miller committed Sep 26, 2020
1 parent dc171dc commit e42d72f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions drivers/net/usb/ax88179_178a.c
Original file line number Diff line number Diff line change
Expand Up @@ -1828,6 +1828,19 @@ static const struct driver_info belkin_info = {
.tx_fixup = ax88179_tx_fixup,
};

static const struct driver_info toshiba_info = {
.description = "Toshiba USB Ethernet Adapter",
.bind = ax88179_bind,
.unbind = ax88179_unbind,
.status = ax88179_status,
.link_reset = ax88179_link_reset,
.reset = ax88179_reset,
.stop = ax88179_stop,
.flags = FLAG_ETHER | FLAG_FRAMING_AX,
.rx_fixup = ax88179_rx_fixup,
.tx_fixup = ax88179_tx_fixup,
};

static const struct usb_device_id products[] = {
{
/* ASIX AX88179 10/100/1000 */
Expand Down Expand Up @@ -1861,6 +1874,10 @@ static const struct usb_device_id products[] = {
/* Belkin B2B128 USB 3.0 Hub + Gigabit Ethernet Adapter */
USB_DEVICE(0x050d, 0x0128),
.driver_info = (unsigned long)&belkin_info,
}, {
/* Toshiba USB 3.0 GBit Ethernet Adapter */
USB_DEVICE(0x0930, 0x0a13),
.driver_info = (unsigned long)&toshiba_info,
},
{ },
};
Expand Down

0 comments on commit e42d72f

Please sign in to comment.