diff options
author | Yaniv Rosner <yanivr@broadcom.com> | 2011-10-27 05:13:52 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-10-27 16:14:16 -0400 |
commit | bfdb58232f9227149cac89c17454edaf25f43136 (patch) | |
tree | 355556ea9a3bdf05e1bbe27b308b0190aaaf6bb9 /drivers/net | |
parent | 001cea77b98f912050b8ea8995253fdbe7333fb6 (diff) | |
download | linux-3.10-bfdb58232f9227149cac89c17454edaf25f43136.tar.gz linux-3.10-bfdb58232f9227149cac89c17454edaf25f43136.tar.bz2 linux-3.10-bfdb58232f9227149cac89c17454edaf25f43136.zip |
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c index 1a6e37ce730..f0ca8b27a55 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c @@ -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 */ |