|
@@ -193,7 +193,9 @@ static int ixgbe_get_settings(struct net_device *netdev,
|
|
if (supported_link & IXGBE_LINK_SPEED_10GB_FULL)
|
|
if (supported_link & IXGBE_LINK_SPEED_10GB_FULL)
|
|
ecmd->supported |= ixgbe_get_supported_10gtypes(hw);
|
|
ecmd->supported |= ixgbe_get_supported_10gtypes(hw);
|
|
if (supported_link & IXGBE_LINK_SPEED_1GB_FULL)
|
|
if (supported_link & IXGBE_LINK_SPEED_1GB_FULL)
|
|
- ecmd->supported |= SUPPORTED_1000baseT_Full;
|
|
|
|
|
|
+ ecmd->supported |= (ixgbe_isbackplane(hw->phy.media_type)) ?
|
|
|
|
+ SUPPORTED_1000baseKX_Full :
|
|
|
|
+ SUPPORTED_1000baseT_Full;
|
|
if (supported_link & IXGBE_LINK_SPEED_100_FULL)
|
|
if (supported_link & IXGBE_LINK_SPEED_100_FULL)
|
|
ecmd->supported |= ixgbe_isbackplane(hw->phy.media_type) ?
|
|
ecmd->supported |= ixgbe_isbackplane(hw->phy.media_type) ?
|
|
SUPPORTED_1000baseKX_Full :
|
|
SUPPORTED_1000baseKX_Full :
|