git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1ad3a1
)
net/ixgbe/base: report physical layer for SGMII PHY type
author
Wei Dai
<wei.dai@intel.com>
Wed, 21 Dec 2016 09:48:13 +0000
(17:48 +0800)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:40:51 +0000
(19:40 +0100)
For the PHY type SGMII, report the physical layer.
Signed-off-by: Wei Dai <wei.dai@intel.com>
drivers/net/ixgbe/base/ixgbe_x550.c
patch
|
blob
|
history
diff --git
a/drivers/net/ixgbe/base/ixgbe_x550.c
b/drivers/net/ixgbe/base/ixgbe_x550.c
index
a57ba74
..
782ca91
100644
(file)
--- a/
drivers/net/ixgbe/base/ixgbe_x550.c
+++ b/
drivers/net/ixgbe/base/ixgbe_x550.c
@@
-3693,6
+3693,9
@@
u32 ixgbe_get_supported_physical_layer_X550em(struct ixgbe_hw *hw)
if (hw->phy.speeds_supported & IXGBE_LINK_SPEED_10_FULL)
physical_layer |= IXGBE_PHYSICAL_LAYER_10BASE_T;
break;
+ case ixgbe_phy_sgmii:
+ physical_layer = IXGBE_PHYSICAL_LAYER_1000BASE_KX;
+ break;
default:
break;
}