]> git.baikalelectronics.ru Git - kernel.git/commit
stmmac: fix for hw timestamp of GMAC3 unit
authorMario Molitor <mario_molitor@web.de>
Thu, 8 Jun 2017 21:03:09 +0000 (23:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Jun 2017 16:39:26 +0000 (12:39 -0400)
commit5971e86f2106c937bd1f12189e61a5037ca176d8
treec575feeb1a269cd0cea4501fbceb49233b0c2b08
parent9f0e98a5e955b8f12f4feeebba20feb46eb20d55
stmmac: fix for hw timestamp of GMAC3 unit

1.) Bugfix of function stmmac_get_tx_hwtstamp.
    Corrected the tx timestamp available check (same as 4.8 and older)
    Change printout from info syslevel to debug.

2.) Bugfix of function stmmac_get_rx_hwtstamp.
    Corrected the rx timestamp available check (same as 4.8 and older)
    Change printout from info syslevel to debug.

Fixes: 1fef308879cc ("stmmac: fix PTP support for GMAC4")
Signed-off-by: Mario Molitor <mario_molitor@web.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.c
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c