d8ee2ab4e8ddff2c062be624c9e10f86ce4b0437
[openwrt/staging/linusw.git] /
1 From 677096b562111a87f52345346ee9c1b877fcdcd9 Mon Sep 17 00:00:00 2001
2 From: tiagofreire-pt <41837236+tiagofreire-pt@users.noreply.github.com>
3 Date: Sat, 29 Jan 2022 10:01:36 +0000
4 Subject: [PATCH] Patching lan78xx for SOF_TIMESTAMPING_TX_SOFTWARE
5 support
6
7 ---
8 drivers/net/usb/lan78xx.c | 1 +
9 1 file changed, 1 insertion(+)
10
11 --- a/drivers/net/usb/lan78xx.c
12 +++ b/drivers/net/usb/lan78xx.c
13 @@ -1788,6 +1788,7 @@ static const struct ethtool_ops lan78xx_
14 .set_link_ksettings = lan78xx_set_link_ksettings,
15 .get_regs_len = lan78xx_get_regs_len,
16 .get_regs = lan78xx_get_regs,
17 + .get_ts_info = ethtool_op_get_ts_info,
18 };
19
20 static void lan78xx_init_mac_address(struct lan78xx_net *dev)