diff options
author | Gerry Demaret <gerry@tigron.be> | 2014-02-28 12:50:46 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-02 20:29:30 -0500 |
commit | 635d61a3735e05c8da72740006670f819e5b6a5f (patch) | |
tree | ed89de08b315924d6e32e6a07995df25523de1fc | |
parent | 1d3f41ea0e95bed0502a7ac3f42fdc23ca6b7b82 (diff) |
USB AX88179/178A: Support D-Link DUB-1312
Add the USB device ID for the D-Link DUB-1312 USB 3.0 to Gigabit Ethernet
Adapter to the AX88179/178A driver.
Signed-off-by: Gerry Demaret <gerry@tigron.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/usb/ax88179_178a.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/net/usb/ax88179_178a.c b/drivers/net/usb/ax88179_178a.c index 460e82392b08..d2e6fdb25e28 100644 --- a/drivers/net/usb/ax88179_178a.c +++ b/drivers/net/usb/ax88179_178a.c | |||
@@ -1395,6 +1395,19 @@ static const struct driver_info ax88178a_info = { | |||
1395 | .tx_fixup = ax88179_tx_fixup, | 1395 | .tx_fixup = ax88179_tx_fixup, |
1396 | }; | 1396 | }; |
1397 | 1397 | ||
1398 | static const struct driver_info dlink_dub1312_info = { | ||
1399 | .description = "D-Link DUB-1312 USB 3.0 to Gigabit Ethernet Adapter", | ||
1400 | .bind = ax88179_bind, | ||
1401 | .unbind = ax88179_unbind, | ||
1402 | .status = ax88179_status, | ||
1403 | .link_reset = ax88179_link_reset, | ||
1404 | .reset = ax88179_reset, | ||
1405 | .stop = ax88179_stop, | ||
1406 | .flags = FLAG_ETHER | FLAG_FRAMING_AX, | ||
1407 | .rx_fixup = ax88179_rx_fixup, | ||
1408 | .tx_fixup = ax88179_tx_fixup, | ||
1409 | }; | ||
1410 | |||
1398 | static const struct driver_info sitecom_info = { | 1411 | static const struct driver_info sitecom_info = { |
1399 | .description = "Sitecom USB 3.0 to Gigabit Adapter", | 1412 | .description = "Sitecom USB 3.0 to Gigabit Adapter", |
1400 | .bind = ax88179_bind, | 1413 | .bind = ax88179_bind, |
@@ -1444,6 +1457,10 @@ static const struct usb_device_id products[] = { | |||
1444 | USB_DEVICE(0x0b95, 0x178a), | 1457 | USB_DEVICE(0x0b95, 0x178a), |
1445 | .driver_info = (unsigned long)&ax88178a_info, | 1458 | .driver_info = (unsigned long)&ax88178a_info, |
1446 | }, { | 1459 | }, { |
1460 | /* D-Link DUB-1312 USB 3.0 to Gigabit Ethernet Adapter */ | ||
1461 | USB_DEVICE(0x2001, 0x4a00), | ||
1462 | .driver_info = (unsigned long)&dlink_dub1312_info, | ||
1463 | }, { | ||
1447 | /* Sitecom USB 3.0 to Gigabit Adapter */ | 1464 | /* Sitecom USB 3.0 to Gigabit Adapter */ |
1448 | USB_DEVICE(0x0df6, 0x0072), | 1465 | USB_DEVICE(0x0df6, 0x0072), |
1449 | .driver_info = (unsigned long)&sitecom_info, | 1466 | .driver_info = (unsigned long)&sitecom_info, |