dp83640: Adjust ptp event timestamps
authorStefan Sørensen <stefan.sorensen@spectralink.com>
Fri, 11 Jul 2014 06:18:26 +0000 (08:18 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Jul 2014 21:05:15 +0000 (14:05 -0700)
commita0077a9fa3fef18ab0890e79a367270c5ae5fe54
tree62768c6201ebbb491d0b5f92add5fe1f2bcc9dfa
parent5e6438db34d522ee1c78b5d4c1c35a4a3bbd5054
dp83640: Adjust ptp event timestamps

  Event timestamp values should be adjusted by 3*reference clock period +
  11 ns = 35 ns to compensate for input path and synchronization delays.

So subtract 35ns from event timestamps.

Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/dp83640.c