ixgbe: check Core Clock Disable bit
authorJacob Keller <jacob.e.keller@intel.com>
Sat, 22 Feb 2014 01:23:54 +0000 (01:23 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 20 Mar 2014 06:19:44 +0000 (23:19 -0700)
commitf68bfdb14becbce565d72ff2e8571dbb3081db9c
tree84a9b8d1510d9dbb43024129dd090ac953812603
parentf8cf7a00d82b6c7b984adc917199cb63552957fb
ixgbe: check Core Clock Disable bit

This patch corrects the stop_mac_link_on_d3 function in ixgbe_82599 by
checking the Core Clock Disable bit before stopping link.

CC: Arun Sharma <asharma@fb.com>
Reported-by: Chris Pavlas <chris.pavlas@intel.com>
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c
drivers/net/ethernet/intel/ixgbe/ixgbe_type.h