Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 242f8dfc authored by Phil Reid's avatar Phil Reid Committed by Sasha Levin
Browse files

stmmac: Correctly report PTP capabilities.



[ Upstream commit e6dbe1eb2db0d7a14991c06278dd3030c45fb825 ]

priv->hwts_*_en indicate if timestamping is enabled/disabled at run
time. But  priv->dma_cap.time_stamp  and priv->dma_cap.atime_stamp
indicates HW is support for PTPv1/PTPv2.

Signed-off-by: default avatarPhil Reid <preid@electromag.com.au>
Acked-by: default avatarRichard Cochran <richardcochran@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sasha.levin@oracle.com>
parent 2e0ad74d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment