projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fdd31f
)
ixgbe: Add SFP support for missed 82598 PHY
author
Alexander Duyck
<
[email protected]
>
Thu, 21 Jul 2011 00:40:51 +0000
(
00:40
+0000)
committer
Jeff Kirsher
<
[email protected]
>
Sat, 17 Sep 2011 01:54:48 +0000
(18:54 -0700)
One of the 82598 phys was not being correctly identified as being SFP.
This change corrects that.
Signed-off-by: Alexander Duyck <
[email protected]
>
Tested-by: Phil Schmitt <
[email protected]
>
Signed-off-by: Jeff Kirsher <
[email protected]
>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
index 0533bc4033a66357717f1d34aca46b1f686351af..ce59dc642c6f171af4b896f167e7c644b69b0dde 100644
(file)
--- 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)
case ixgbe_phy_sfp_active_unknown:
case ixgbe_phy_sfp_ftl_active:
return true;
+ case ixgbe_phy_nl:
+ if (hw->mac.type == ixgbe_mac_82598EB)
+ return true;
default:
return false;
}