bnx2x: Add EEE support for BCM84834
authorYaniv Rosner <yanivr@broadcom.com>
Mon, 11 Mar 2013 05:17:49 +0000 (05:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Mar 2013 11:54:24 +0000 (07:54 -0400)
Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
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>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c

index 329c7f9a2694a9902d4968d12de51904a876e0d3..5fc205fba8c0055c3a2eea6b86f1bdc2260fa510 100644 (file)
@@ -10286,7 +10286,8 @@ static u8 bnx2x_848xx_read_status(struct bnx2x_phy *phy,
                                LINK_STATUS_LINK_PARTNER_10GXFD_CAPABLE;
 
                /* Determine if EEE was negotiated */
-               if (phy->type == PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84833)
+               if ((phy->type == PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84833) ||
+                   (phy->type == PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84834))
                        bnx2x_eee_an_resolve(phy, params, vars);
        }