aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Tantilov <emil.s.tantilov@intel.com>2013-08-14 03:12:27 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2013-08-29 06:30:37 -0400
commit987e1d56b3157592d73f7f6170decada716fc415 (patch)
tree8831ef2bbe38900dc9f2c2fc3c1b5e0de868654e
parent61aaf9e8072a692eb4cd74ec8d1d47576612437d (diff)
ixgbe: include QSFP PHY types in ixgbe_is_sfp()
This patch makes sure that QSFP+ modules use the SFP+ code path for setting up link. Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com> Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-rw-r--r--drivers/net/ethernet/intel/ixgbe/ixgbe_main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
index 46880576979e..7aba452833e5 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
@@ -4175,6 +4175,10 @@ static inline bool ixgbe_is_sfp(struct ixgbe_hw *hw)
4175 case ixgbe_phy_sfp_passive_unknown: 4175 case ixgbe_phy_sfp_passive_unknown:
4176 case ixgbe_phy_sfp_active_unknown: 4176 case ixgbe_phy_sfp_active_unknown:
4177 case ixgbe_phy_sfp_ftl_active: 4177 case ixgbe_phy_sfp_ftl_active:
4178 case ixgbe_phy_qsfp_passive_unknown:
4179 case ixgbe_phy_qsfp_active_unknown:
4180 case ixgbe_phy_qsfp_intel:
4181 case ixgbe_phy_qsfp_unknown:
4178 return true; 4182 return true;
4179 case ixgbe_phy_nl: 4183 case ixgbe_phy_nl:
4180 if (hw->mac.type == ixgbe_mac_82598EB) 4184 if (hw->mac.type == ixgbe_mac_82598EB)