ixgbe: fix ixgbe_stop_mac_link_on_d3_82599 to check mng correctly
authorJacob Keller <jacob.e.keller@intel.com>
Sat, 22 Feb 2014 01:23:55 +0000 (01:23 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 20 Mar 2014 06:27:01 +0000 (23:27 -0700)
commit8036d29f409f6a1d54ac409ede273197c4914e3f
tree500b0622e8b1999daf918cd62429b85cc088cb8f
parentf68bfdb14becbce565d72ff2e8571dbb3081db9c
ixgbe: fix ixgbe_stop_mac_link_on_d3_82599 to check mng correctly

Previously, we did a full check to see if MNG FW was running. Instead,
we should only check to see whether it could be enabled. Since it may
become active while down, we don't want to bring the link down.

CC: Arun Sharma <asharma@fb.com>
Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Signed-off-by: Jacob Keller <jacob.e.keller@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_82599.c