bnx2x: Enable changing speed when port type is PORT_DA
authorYaniv Rosner <yanivr@broadcom.com>
Thu, 27 Oct 2011 05:13:52 +0000 (05:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Oct 2011 20:14:16 +0000 (16:14 -0400)
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>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c

index 1a6e37ce730c4deeecd119b0740da0bbed6a599b..f0ca8b27a55eea7b96f3984b03aaead457ba3db8 100644 (file)
@@ -329,6 +329,7 @@ static int bnx2x_set_settings(struct net_device *dev, struct ethtool_cmd *cmd)
                        PORT_HW_CFG_PHY_SELECTION_FIRST_PHY;
                break;
        case PORT_FIBRE:
+       case PORT_DA:
                if (bp->port.supported[cfg_idx] & SUPPORTED_FIBRE)
                        break; /* no port change */