summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMintz Yuval <yuvalmin@broadcom.com>2012-02-15 06:10:30 +0400
committerDavid S. Miller <davem@davemloft.net>2012-02-16 00:30:49 +0400
commit10bd1f243c3a5ea1aebae88d21932e5614afa9cc (patch)
tree5cac35384eb71b173ef422766d7fbd94e2a9d0b0 /drivers
parent82fa848c117e57f0b3fd848f2aaf3f6859f42201 (diff)
downloadlinux-10bd1f243c3a5ea1aebae88d21932e5614afa9cc.tar.xz
bnx2x: allow BCM84833 phy to advertise 100Base-T speeds
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
index 1527aedd9786..9f2911982853 100644
--- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
+++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
@@ -9298,6 +9298,11 @@ static void __devinit bnx2x_link_settings_requested(struct bnx2x *bp)
SPEED_AUTO_NEG;
bp->port.advertising[idx] |=
bp->port.supported[idx];
+ if (bp->link_params.phy[EXT_PHY1].type ==
+ PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84833)
+ bp->port.advertising[idx] |=
+ (SUPPORTED_100baseT_Half |
+ SUPPORTED_100baseT_Full);
} else {
/* force 10G, no AN */
bp->link_params.req_line_speed[idx] =