aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Rustad <mark.d.rustad@intel.com>2015-08-08 19:18:43 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-09-24 01:40:59 -0400
commit69eec0c2fa8781a6abae96af1f11069e1965cbfe (patch)
treeccb0e166a7c6cf3b845c2f0595b94b88b88454c0
parent542b6eecf4c3640f15a84ff89525131d421e7c8c (diff)
ixgbe: Allow SFP+ on more than 82598 and 82599
Since SFP+ can be used with some X550 devices, permit them to be detected. Signed-off-by: Mark Rustad <mark.d.rustad@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_phy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c
index 7a7ee9d84ac8..fb8673d63806 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c
@@ -1230,7 +1230,7 @@ s32 ixgbe_identify_sfp_module_generic(struct ixgbe_hw *hw)
1230 hw->phy.sfp_type = ixgbe_sfp_type_lr; 1230 hw->phy.sfp_type = ixgbe_sfp_type_lr;
1231 else 1231 else
1232 hw->phy.sfp_type = ixgbe_sfp_type_unknown; 1232 hw->phy.sfp_type = ixgbe_sfp_type_unknown;
1233 } else if (hw->mac.type == ixgbe_mac_82599EB) { 1233 } else {
1234 if (cable_tech & IXGBE_SFF_DA_PASSIVE_CABLE) { 1234 if (cable_tech & IXGBE_SFF_DA_PASSIVE_CABLE) {
1235 if (hw->bus.lan_id == 0) 1235 if (hw->bus.lan_id == 0)
1236 hw->phy.sfp_type = 1236 hw->phy.sfp_type =