ixgbe: Always turn PHY power on when requested
authorMark Rustad <mark.d.rustad@intel.com>
Thu, 5 Nov 2015 19:02:14 +0000 (11:02 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 3 Dec 2015 10:45:13 +0000 (02:45 -0800)
commit3c2f2b77a917488b56b2676b99adb5d3c07d6e68
treeb18a76952e7751f3a544750b5ea6b0406eca9e86
parent36a92d7190e68e9387347695fe4625eb2c9e7e1c
ixgbe: Always turn PHY power on when requested

Instead of inhibiting PHY power control when manageability is
present, only inhibit turning PHY power off when manageability
is present. Consequently, PHY power will always be turned on when
requested. Without this patch, some systems with X540 or X550
devices in some conditions will never get link.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c
drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c