diff options
| -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 955df81a4358..460e82392b08 100644 --- a/drivers/net/usb/ax88179_178a.c +++ b/drivers/net/usb/ax88179_178a.c | |||
| @@ -1421,6 +1421,19 @@ static const struct driver_info samsung_info = { | |||
| 1421 | .tx_fixup = ax88179_tx_fixup, | 1421 | .tx_fixup = ax88179_tx_fixup, |
| 1422 | }; | 1422 | }; |
| 1423 | 1423 | ||
| 1424 | static const struct driver_info lenovo_info = { | ||
| 1425 | .description = "Lenovo OneLinkDock Gigabit LAN", | ||
| 1426 | .bind = ax88179_bind, | ||
| 1427 | .unbind = ax88179_unbind, | ||
| 1428 | .status = ax88179_status, | ||
| 1429 | .link_reset = ax88179_link_reset, | ||
| 1430 | .reset = ax88179_reset, | ||
| 1431 | .stop = ax88179_stop, | ||
| 1432 | .flags = FLAG_ETHER | FLAG_FRAMING_AX, | ||
| 1433 | .rx_fixup = ax88179_rx_fixup, | ||
| 1434 | .tx_fixup = ax88179_tx_fixup, | ||
| 1435 | }; | ||
| 1436 | |||
| 1424 | static const struct usb_device_id products[] = { | 1437 | static const struct usb_device_id products[] = { |
| 1425 | { | 1438 | { |
| 1426 | /* ASIX AX88179 10/100/1000 */ | 1439 | /* ASIX AX88179 10/100/1000 */ |
| @@ -1438,6 +1451,10 @@ static const struct usb_device_id products[] = { | |||
| 1438 | /* Samsung USB Ethernet Adapter */ | 1451 | /* Samsung USB Ethernet Adapter */ |
| 1439 | USB_DEVICE(0x04e8, 0xa100), | 1452 | USB_DEVICE(0x04e8, 0xa100), |
| 1440 | .driver_info = (unsigned long)&samsung_info, | 1453 | .driver_info = (unsigned long)&samsung_info, |
| 1454 | }, { | ||
| 1455 | /* Lenovo OneLinkDock Gigabit LAN */ | ||
| 1456 | USB_DEVICE(0x17ef, 0x304b), | ||
| 1457 | .driver_info = (unsigned long)&lenovo_info, | ||
| 1441 | }, | 1458 | }, |
| 1442 | { }, | 1459 | { }, |
| 1443 | }; | 1460 | }; |
