Sync with FreeBSD ix-3.3.8 part 2:
- Add missing XFI support into ixgbe_get_link_capabilities_X550em().
This commit is contained in:
parent
bec7d0d607
commit
a52a92b753
|
@ -2084,7 +2084,14 @@ s32 ixgbe_get_link_capabilities_X550em(struct ixgbe_hw *hw,
|
|||
else
|
||||
*speed = IXGBE_LINK_SPEED_10GB_FULL;
|
||||
} else {
|
||||
*autoneg = TRUE;
|
||||
|
||||
switch (hw->phy.type) {
|
||||
case ixgbe_phy_x550em_xfi:
|
||||
*speed = IXGBE_LINK_SPEED_1GB_FULL |
|
||||
IXGBE_LINK_SPEED_10GB_FULL;
|
||||
*autoneg = FALSE;
|
||||
break;
|
||||
case ixgbe_phy_ext_1g_t:
|
||||
case ixgbe_phy_sgmii:
|
||||
*speed = IXGBE_LINK_SPEED_1GB_FULL;
|
||||
|
@ -2108,7 +2115,6 @@ s32 ixgbe_get_link_capabilities_X550em(struct ixgbe_hw *hw,
|
|||
IXGBE_LINK_SPEED_1GB_FULL;
|
||||
break;
|
||||
}
|
||||
*autoneg = TRUE;
|
||||
}
|
||||
|
||||
return IXGBE_SUCCESS;
|
||||
|
|
Loading…
Reference in New Issue