]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fm10k: fix incorrect DIR_NEVATIVE bit in 1588 code
authorJacob Keller <jacob.e.keller@intel.com>
Wed, 3 Jun 2015 23:31:10 +0000 (16:31 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Sun, 26 Feb 2017 06:03:06 +0000 (22:03 -0800)
commitca9716bfdab812edaf23ef080b175ef444512d08
tree19ffe7b6f3f83d13f81ca5736da5589a64ccd8c2
parented9752a56ec1620f16d64d58045534747983272b
fm10k: fix incorrect DIR_NEVATIVE bit in 1588 code

The SYSTIME_CFG.Adjust Direction bit is actually supposed to indicate
that the adjustment is positive. Fix the code to align correctly with
hardware and documentation.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Orabug: 25394529
(cherry picked from commit 646725a7c9cbdefd8df4ae7b3217a992ad64a4cd)
Signed-off-by: Jack Vogel <jack.vogel@oracle.com>
drivers/net/ethernet/intel/fm10k/fm10k_pf.c
drivers/net/ethernet/intel/fm10k/fm10k_type.h