bnx2x: Enable changing speed when port type is PORT_DA
Signed-off-by: Yaniv Rosner <yanivr@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
001cea77b9
commit
bfdb58232f
|
@ -329,6 +329,7 @@ static int bnx2x_set_settings(struct net_device *dev, struct ethtool_cmd *cmd)
|
||||||
PORT_HW_CFG_PHY_SELECTION_FIRST_PHY;
|
PORT_HW_CFG_PHY_SELECTION_FIRST_PHY;
|
||||||
break;
|
break;
|
||||||
case PORT_FIBRE:
|
case PORT_FIBRE:
|
||||||
|
case PORT_DA:
|
||||||
if (bp->port.supported[cfg_idx] & SUPPORTED_FIBRE)
|
if (bp->port.supported[cfg_idx] & SUPPORTED_FIBRE)
|
||||||
break; /* no port change */
|
break; /* no port change */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue