summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d1ad3a1)
For the PHY type SGMII, report the physical layer.
Signed-off-by: Wei Dai <wei.dai@intel.com>
if (hw->phy.speeds_supported & IXGBE_LINK_SPEED_10_FULL)
physical_layer |= IXGBE_PHYSICAL_LAYER_10BASE_T;
break;
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;