From: Mark Rustad Date: Sat, 8 Aug 2015 23:18:43 +0000 (-0700) Subject: ixgbe: Allow SFP+ on more than 82598 and 82599 X-Git-Tag: v4.1.12-92~262^2~13 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=6718111324fe5c836d0a533de2dfbf364833dd24;p=users%2Fjedix%2Flinux-maple.git ixgbe: Allow SFP+ on more than 82598 and 82599 Orabug: 21918732 Since SFP+ can be used with some X550 devices, permit them to be detected. Signed-off-by: Mark Rustad Tested-by: Phil Schmitt Signed-off-by: Jeff Kirsher (cherry picked from commit 69eec0c2fa8781a6abae96af1f11069e1965cbfe) Signed-off-by: Brian Maly --- diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c index 7a7ee9d84ac85..fb8673d638068 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) hw->phy.sfp_type = ixgbe_sfp_type_lr; else hw->phy.sfp_type = ixgbe_sfp_type_unknown; - } else if (hw->mac.type == ixgbe_mac_82599EB) { + } else { if (cable_tech & IXGBE_SFF_DA_PASSIVE_CABLE) { if (hw->bus.lan_id == 0) hw->phy.sfp_type =