10032530fe2b3c943336295956605cfe00645da4
[openwrt/staging/ldir.git] /
1 From d0916eacc78777e9b87f686e0de64dd09540621b 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 @@ -1955,6 +1955,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)