summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorSudarsana Reddy Kalluru <sudarsana.kalluru@cavium.com>2016-10-21 02:09:17 -0400
committerDavid S. Miller <davem@davemloft.net>2016-10-23 17:34:41 -0400
commita6e2846cacf97d4c70c5e923325b015cfa1e9053 (patch)
tree6bf7c03badca808ca5ce99d5d68097c6cbe8fdc2 /net
parentf18a37ff24160caad876a8d5c78f77d3c30efed7 (diff)
downloadlinux-stable-a6e2846cacf97d4c70c5e923325b015cfa1e9053.tar.gz
linux-stable-a6e2846cacf97d4c70c5e923325b015cfa1e9053.tar.bz2
linux-stable-a6e2846cacf97d4c70c5e923325b015cfa1e9053.zip
bnx2x: Use the correct divisor value for PHC clock readings.
Time Sync (PTP) implementation uses the divisor/shift value for converting the clock ticks to nanoseconds. Driver currently defines shift value as 1, this results in the nanoseconds value to be calculated as half the actual value. Hence the user application fails to synchronize the device clock value with the PTP master device clock. Need to use the 'shift' value of 0. Signed-off-by: Sony.Chacko <Sony.Chacko@cavium.com> Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com> Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions