]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2258f601de6ca24febb7ec4d48ab9f49fe2e9de8
treeb2e752c8d21fcaa4d185cebdfa08b0e4690bbeba
parent5ec8ae904118e2f16fee9c8984f13814db1a8084
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: 737ceb628c3d ("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