OSDN Git Service

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)
commit33d4c4821323729b463e45d0b2d32f6a87dcba5b
treec575feeb1a269cd0cea4501fbceb49233b0c2b08
parentfd6720aefde06eacf17404eed2cad65c6ec103e1
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: ba1ffd74df74 ("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