commit | bc3c5f634de23ca767c2d04d356ddf5bbe2144e2 | [log] [tgz] |
---|---|---|
author | Richard Cochran <richardcochran@gmail.com> | Wed Oct 31 06:27:23 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Nov 01 11:41:35 2012 -0400 |
tree | cb152135d7336f280762ed2aaa6450e6d9d4d688 | |
parent | 85c153d2c7e51efcf0f715118c3c30b62c5fce68 [diff] |
bfin_mac: replace sys time stamps with raw ones instead. This patch replaces the sys time stamps and timecompare code with simple raw hardware time stamps in nanosecond resolution. The only tricky bit is to find a PTP Hardware Clock period slower than the input clock period and a power of two. Compile tested only. Signed-off-by: Richard Cochran <richardcochran@gmail.com> Tested-by: Bob Liu <lliubbo@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>