aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJiri Benc <[email protected]>2013-03-20 09:06:34 +0000
committerJeff Kirsher <[email protected]>2013-03-26 10:21:34 +0000
commit75517d92119a3cd364f618ee962055b3ded8c396 (patch)
treeca7db1604775d4bf6bd50276c1331ad19b110b46 /net/unix/af_unix.c
parentigb: make sensor info static (diff)
downloadkernel-75517d92119a3cd364f618ee962055b3ded8c396.tar.gz
kernel-75517d92119a3cd364f618ee962055b3ded8c396.zip
igb: fix PHC stopping on max freq
For 82576 MAC type, max_adj is reported as 1000000000 ppb. However, if this value is passed to igb_ptp_adjfreq_82576, incvalue overflows out of INCVALUE_82576_MASK, resulting in setting of zero TIMINCA.incvalue, stopping the PHC (instead of going at twice the nominal speed). Fix the advertised max_adj value to the largest value hardware can handle. As there is no min_adj value available (-max_adj is used instead), this will also prevent stopping the clock intentionally. It's probably not a big deal, other igb MAC types don't support stopping the clock, either. Signed-off-by: Jiri Benc <[email protected]> Acked-by: Matthew Vick <[email protected]> Tested-by: Aaron Brown <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions