ixgbe/base: ignore manageability for PHY power on
authorWenzhuo Lu <wenzhuo.lu@intel.com>
Sun, 14 Feb 2016 08:55:00 +0000 (16:55 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 16 Mar 2016 16:07:13 +0000 (17:07 +0100)
commit2aeac71a5a511a19e1bf1d61f7d3fdadf6025f8c
treeb41cf9ae39e57cc0791d862746dffe60a5d35669
parentce7a41008133c1865313cf80f8ba14905accefbb
ixgbe/base: ignore manageability for PHY power on

Instead of not defining the callback for set_phy_power when
manageability is enabled, put the check in the set_phy_power
function so that only turning the power off is conditional on
management, but not turning the PHY on.

Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/ixgbe/base/ixgbe_phy.c
drivers/net/ixgbe/base/ixgbe_x540.c