commit | e6dbe1eb2db0d7a14991c06278dd3030c45fb825 | [log] [tgz] |
---|---|---|
author | Phil Reid <preid@electromag.com.au> | Fri Oct 30 16:43:55 2015 +0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Nov 01 17:05:43 2015 -0500 |
tree | 06a2fcc215a59301eb5840f7df9cf93a5ee1de4e | |
parent | fc2a263bb0604642703cda6cba5ac1ffb1935440 [diff] |
stmmac: Correctly report PTP capabilities. 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: Phil Reid <preid@electromag.com.au> Acked-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>