diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2011-07-20 20:40:51 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-09-16 21:54:48 -0400 |
commit | 8917b447b75818823f4d0b7dc8cdd9248a4d5445 (patch) | |
tree | 349df083e9baaed69dc2b6cbbc0f1a140bc56fa4 /drivers/net/ethernet | |
parent | 5fdd31f920a5ec8873929750d83ffa777bed6100 (diff) |
ixgbe: Add SFP support for missed 82598 PHY
One of the 82598 phys was not being correctly identified as being SFP.
This change corrects that.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r-- | drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c index 0533bc4033a6..ce59dc642c6f 100644 --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | |||
@@ -3451,6 +3451,9 @@ static inline bool ixgbe_is_sfp(struct ixgbe_hw *hw) | |||
3451 | case ixgbe_phy_sfp_active_unknown: | 3451 | case ixgbe_phy_sfp_active_unknown: |
3452 | case ixgbe_phy_sfp_ftl_active: | 3452 | case ixgbe_phy_sfp_ftl_active: |
3453 | return true; | 3453 | return true; |
3454 | case ixgbe_phy_nl: | ||
3455 | if (hw->mac.type == ixgbe_mac_82598EB) | ||
3456 | return true; | ||
3454 | default: | 3457 | default: |
3455 | return false; | 3458 | return false; |
3456 | } | 3459 | } |