stmmac: fix ptp header for GMAC3 hw timestamp
authorMario Molitor <mario_molitor@web.de>
Thu, 8 Jun 2017 20:41:02 +0000 (22:41 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Jun 2017 16:39:25 +0000 (12:39 -0400)
commitfd6720aefde06eacf17404eed2cad65c6ec103e1
treeb2e752c8d21fcaa4d185cebdfa08b0e4690bbeba
parentf186ce61bb8235d80068c390dc2aad7ca427a4c2
stmmac: fix ptp header for GMAC3 hw timestamp

According the CYCLON V documention only the bit 16 of snaptypesel should
set.
(more information see Table 17-20 (cv_5v4.pdf) :
 Timestamp Snapshot Dependency on Register Bits)

Fixes: d2042052a0aa ("stmmac: update the PTP header file")
Signed-off-by: Mario Molitor <mario_molitor@web.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.h