aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/freescale/enetc/enetc_ptp.c
diff options
context:
space:
mode:
authorRyan M. Collins <rmc032@bucknell.edu>2019-08-30 14:49:55 -0400
committerDavid S. Miller <davem@davemloft.net>2019-08-31 23:51:19 -0700
commitdd1bf47a84fe64edf50f6a83fdc164d0da6fa021 (patch)
tree545be319ac6fabcd598394041d6ce87e27dc863f /drivers/net/ethernet/freescale/enetc/enetc_ptp.c
parenttc-testing: don't hardcode 'ip' in nsPlugin.py (diff)
downloadlinux-dev-dd1bf47a84fe64edf50f6a83fdc164d0da6fa021.tar.xz
linux-dev-dd1bf47a84fe64edf50f6a83fdc164d0da6fa021.zip
net: bcmgenet: use ethtool_op_get_ts_info()
This change enables the use of SW timestamping on the Raspberry Pi 4. bcmgenet's transmit function bcmgenet_xmit() implements software timestamping. However the SOF_TIMESTAMPING_TX_SOFTWARE capability was missing and only SOF_TIMESTAMPING_RX_SOFTWARE was announced. By using ethtool_ops bcmgenet_ethtool_ops() as get_ts_info(), the SOF_TIMESTAMPING_TX_SOFTWARE capability is announced. Similar to commit a8f5cb9e7991 ("smsc95xx: use ethtool_op_get_ts_info()") Signed-off-by: Ryan M. Collins <rmc032@bucknell.edu> Acked-by: Florian Fainelli <f.fainelli@gmail.com> Acked-by: Doug Berger <opendmb@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/enetc/enetc_ptp.c')
0 files changed, 0 insertions, 0 deletions