Skip to content

Commit c92a798

Browse files
Wilken Gottwaltdavem330
authored andcommitted
net: usb: ax88179_178a: add MCT usb 3.0 adapter
Adds the driver_info and usb ids of the AX88179 based MCT U3-A9003 USB 3.0 ethernet adapter. Signed-off-by: Wilken Gottwalt <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 9666ea6 commit c92a798

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

drivers/net/usb/ax88179_178a.c

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1842,6 +1842,19 @@ static const struct driver_info toshiba_info = {
18421842
.tx_fixup = ax88179_tx_fixup,
18431843
};
18441844

1845+
static const struct driver_info mct_info = {
1846+
.description = "MCT USB 3.0 Gigabit Ethernet Adapter",
1847+
.bind = ax88179_bind,
1848+
.unbind = ax88179_unbind,
1849+
.status = ax88179_status,
1850+
.link_reset = ax88179_link_reset,
1851+
.reset = ax88179_reset,
1852+
.stop = ax88179_stop,
1853+
.flags = FLAG_ETHER | FLAG_FRAMING_AX,
1854+
.rx_fixup = ax88179_rx_fixup,
1855+
.tx_fixup = ax88179_tx_fixup,
1856+
};
1857+
18451858
static const struct usb_device_id products[] = {
18461859
{
18471860
/* ASIX AX88179 10/100/1000 */
@@ -1879,6 +1892,10 @@ static const struct usb_device_id products[] = {
18791892
/* Toshiba USB 3.0 GBit Ethernet Adapter */
18801893
USB_DEVICE(0x0930, 0x0a13),
18811894
.driver_info = (unsigned long)&toshiba_info,
1895+
}, {
1896+
/* Magic Control Technology U3-A9003 USB 3.0 Gigabit Ethernet Adapter */
1897+
USB_DEVICE(0x0711, 0x0179),
1898+
.driver_info = (unsigned long)&mct_info,
18821899
},
18831900
{ },
18841901
};

0 commit comments

Comments
 (0)