diff options
-rw-r--r-- | drivers/net/ixgbe/ixgbe_main.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c index cf39f5a47037..a3061aacffd8 100644 --- a/drivers/net/ixgbe/ixgbe_main.c +++ b/drivers/net/ixgbe/ixgbe_main.c | |||
@@ -2706,12 +2706,12 @@ static int ixgbe_up_complete(struct ixgbe_adapter *adapter) | |||
2706 | if (hw->phy.type == ixgbe_phy_unknown) { | 2706 | if (hw->phy.type == ixgbe_phy_unknown) { |
2707 | err = hw->phy.ops.identify(hw); | 2707 | err = hw->phy.ops.identify(hw); |
2708 | if (err == IXGBE_ERR_SFP_NOT_SUPPORTED) { | 2708 | if (err == IXGBE_ERR_SFP_NOT_SUPPORTED) { |
2709 | dev_err(&adapter->pdev->dev, "failed to initialize " | 2709 | /* |
2710 | "because an unsupported SFP+ module type " | 2710 | * Take the device down and schedule the sfp tasklet |
2711 | "was detected.\n" | 2711 | * which will unregister_netdev and log it. |
2712 | "Reload the driver after installing a " | 2712 | */ |
2713 | "supported module.\n"); | ||
2714 | ixgbe_down(adapter); | 2713 | ixgbe_down(adapter); |
2714 | schedule_work(&adapter->sfp_config_module_task); | ||
2715 | return err; | 2715 | return err; |
2716 | } | 2716 | } |
2717 | } | 2717 | } |