diff options
author | Petr Kulhavy <brain@jikos.cz> | 2017-07-13 19:40:57 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-14 08:54:03 -0700 |
commit | a8f5cb9e79913a6918f87495d4969706f8817b8e (patch) | |
tree | 145e322b6471a456b97d30bc1003be24528b84e7 /drivers/net/ethernet/broadcom/genet | |
parent | c4c4290c17bd099b7654d683f8ab6233b4f4a364 (diff) |
smsc95xx: use ethtool_op_get_ts_info()
This change enables the use of SW timestamping on Raspberry PI.
smsc95xx uses the usbnet transmit function usbnet_start_xmit(), which
implements software timestamping. However the SOF_TIMESTAMPING_TX_SOFTWARE
capability was missing and only SOF_TIMESTAMPING_RX_SOFTWARE was announced.
By using ethtool_op_get_ts_info() as get_ts_info() also the
SOF_TIMESTAMPING_TX_SOFTWARE is announced.
Signed-off-by: Petr Kulhavy <brain@jikos.cz>
Reviewed-by: Woojung Huh <Woojung.Huh@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/genet')
0 files changed, 0 insertions, 0 deletions