Commit c92a7982 authored by Wilken Gottwalt's avatar Wilken Gottwalt Committed by David S. Miller

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: default avatarWilken Gottwalt <wilken.gottwalt@mailbox.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9666ea66
...@@ -1842,6 +1842,19 @@ static const struct driver_info toshiba_info = { ...@@ -1842,6 +1842,19 @@ static const struct driver_info toshiba_info = {
.tx_fixup = ax88179_tx_fixup, .tx_fixup = ax88179_tx_fixup,
}; };
static const struct driver_info mct_info = {
.description = "MCT USB 3.0 Gigabit 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[] = { static const struct usb_device_id products[] = {
{ {
/* ASIX AX88179 10/100/1000 */ /* ASIX AX88179 10/100/1000 */
...@@ -1879,6 +1892,10 @@ static const struct usb_device_id products[] = { ...@@ -1879,6 +1892,10 @@ static const struct usb_device_id products[] = {
/* Toshiba USB 3.0 GBit Ethernet Adapter */ /* Toshiba USB 3.0 GBit Ethernet Adapter */
USB_DEVICE(0x0930, 0x0a13), USB_DEVICE(0x0930, 0x0a13),
.driver_info = (unsigned long)&toshiba_info, .driver_info = (unsigned long)&toshiba_info,
}, {
/* Magic Control Technology U3-A9003 USB 3.0 Gigabit Ethernet Adapter */
USB_DEVICE(0x0711, 0x0179),
.driver_info = (unsigned long)&mct_info,
}, },
{ }, { },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment