i40e: Add support for disabling all link and change bits needed for PHY interactions
[linux-2.6-microblaze.git] / drivers / net / ethernet / intel / i40e / i40e_ethtool.c
index 51a994d..6fa05c4 100644 (file)
@@ -1880,7 +1880,7 @@ static int i40e_set_phys_id(struct net_device *netdev,
                if (!(pf->flags & I40E_FLAG_HAVE_10GBASET_PHY)) {
                        pf->led_status = i40e_led_get(hw);
                } else {
-                       i40e_aq_set_phy_debug(hw, I40E_PHY_DEBUG_PORT, NULL);
+                       i40e_aq_set_phy_debug(hw, I40E_PHY_DEBUG_ALL, NULL);
                        ret = i40e_led_get_phy(hw, &temp_status,
                                               &pf->phy_led_val);
                        pf->led_status = temp_status;