]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: fix link status check for copper X550em
authorEmil Tantilov <emil.s.tantilov@intel.com>
Mon, 26 Sep 2016 21:08:18 +0000 (14:08 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 5 Nov 2016 00:13:50 +0000 (17:13 -0700)
commitb4d6606c46621c4aa0e15e0c3673977daa773a34
tree9a8545b14c74d3192665aa06ce018a87ac3de239
parentc3d2240f78f49b904981aff54ec1879133afde65
ixgbe: fix link status check for copper X550em

Read the PHY register twice in order to get the correct value for
autoneg_status.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c