mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-03-19 05:24:11 +00:00
net: usb: ax88179_178a: add Allied Telesis AT-UMCs
Adds the driver_info and IDs for the AX88179 based Allied Telesis AT-UMC family of devices. Signed-off-by: Greg Jesionowski <jesionowskigreg@gmail.com> Link: https://lore.kernel.org/r/20220323220024.GA36800@test-HP-EliteDesk-800-G1-SFF Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
109d899452
commit
9fe087dda5
1 changed files with 51 additions and 0 deletions
|
@ -1872,6 +1872,45 @@ static const struct driver_info mct_info = {
|
||||||
.tx_fixup = ax88179_tx_fixup,
|
.tx_fixup = ax88179_tx_fixup,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const struct driver_info at_umc2000_info = {
|
||||||
|
.description = "AT-UMC2000 USB 3.0/USB 3.1 Gen 1 to 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 driver_info at_umc200_info = {
|
||||||
|
.description = "AT-UMC200 USB 3.0/USB 3.1 Gen 1 to Fast 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 driver_info at_umc2000sp_info = {
|
||||||
|
.description = "AT-UMC2000/SP USB 3.0/USB 3.1 Gen 1 to 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 */
|
||||||
|
@ -1913,6 +1952,18 @@ static const struct usb_device_id products[] = {
|
||||||
/* Magic Control Technology U3-A9003 USB 3.0 Gigabit Ethernet Adapter */
|
/* Magic Control Technology U3-A9003 USB 3.0 Gigabit Ethernet Adapter */
|
||||||
USB_DEVICE(0x0711, 0x0179),
|
USB_DEVICE(0x0711, 0x0179),
|
||||||
.driver_info = (unsigned long)&mct_info,
|
.driver_info = (unsigned long)&mct_info,
|
||||||
|
}, {
|
||||||
|
/* Allied Telesis AT-UMC2000 USB 3.0/USB 3.1 Gen 1 to Gigabit Ethernet Adapter */
|
||||||
|
USB_DEVICE(0x07c9, 0x000e),
|
||||||
|
.driver_info = (unsigned long)&at_umc2000_info,
|
||||||
|
}, {
|
||||||
|
/* Allied Telesis AT-UMC200 USB 3.0/USB 3.1 Gen 1 to Fast Ethernet Adapter */
|
||||||
|
USB_DEVICE(0x07c9, 0x000f),
|
||||||
|
.driver_info = (unsigned long)&at_umc200_info,
|
||||||
|
}, {
|
||||||
|
/* Allied Telesis AT-UMC2000/SP USB 3.0/USB 3.1 Gen 1 to Gigabit Ethernet Adapter */
|
||||||
|
USB_DEVICE(0x07c9, 0x0010),
|
||||||
|
.driver_info = (unsigned long)&at_umc2000sp_info,
|
||||||
},
|
},
|
||||||
{ },
|
{ },
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue