Skip to content

Commit e5fe0cd

Browse files
FreddyXindavem330
authored andcommitted
AX88179_178A: Add VID:DID for Lenovo OneLinkDock Gigabit LAN
Add VID:DID for Lenovo OneLinkDock Gigabit LAN Signed-off-by: Freddy Xin <freddy@asix.com.tw> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 5d6dd5b commit e5fe0cd

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
@@ -1421,6 +1421,19 @@ static const struct driver_info samsung_info = {
14211421
.tx_fixup = ax88179_tx_fixup,
14221422
};
14231423

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+
14241437
static const struct usb_device_id products[] = {
14251438
{
14261439
/* ASIX AX88179 10/100/1000 */
@@ -1438,6 +1451,10 @@ static const struct usb_device_id products[] = {
14381451
/* Samsung USB Ethernet Adapter */
14391452
USB_DEVICE(0x04e8, 0xa100),
14401453
.driver_info = (unsigned long)&samsung_info,
1454+
}, {
1455+
/* Lenovo OneLinkDock Gigabit LAN */
1456+
USB_DEVICE(0x17ef, 0x304b),
1457+
.driver_info = (unsigned long)&lenovo_info,
14411458
},
14421459
{ },
14431460
};

0 commit comments

Comments
 (0)