]> 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)
commit60fb9d16acb3b864f30deeb06ff357ef8b51cd14
tree9a8545b14c74d3192665aa06ce018a87ac3de239
parentc9b0d6218715fc0dda5f25e0fc96e4f420be3ce2
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