]> git.baikalelectronics.ru Git - kernel.git/commit
pch_gbe: scale time stamps to nanoseconds
authorTakahiro Shimizu <tshimizu818@gmail.com>
Fri, 20 Apr 2012 18:50:28 +0000 (18:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Apr 2012 19:27:44 +0000 (15:27 -0400)
commitca4eb0152ee4c58d75182ef3b203104a0a347ae3
tree5143f70924a864c2f543fe76715768cc7a5bd7cd
parent2db005a31cd99fc20853285d32ab38142249179a
pch_gbe: scale time stamps to nanoseconds

This patch fixes the helper functions that give the transmit and
receive time stamps to return nanoseconds, instead of arbitrary clock
ticks.

[ RC - Rebased Takahiro's changes and wrote a commit message
  explaining the changes. ]

Signed-off-by: Takahiro Shimizu <tshimizu818@gmail.com>
Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c
drivers/ptp/ptp_pch.c