bnx2x: Fix AER setting for BCM57712
authorYaniv Rosner <yanivr@broadcom.com>
Tue, 18 Jan 2011 04:33:52 +0000 (04:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Jan 2011 00:10:39 +0000 (16:10 -0800)
Fix AER settings for BCM57712 to allow accessing all device addresses range in CL45 MDC/MDIO

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/bnx2x/bnx2x_link.c

index bb1c81156d0f1e80ee0ea266fa510741cfb3c58c..7160ec51093e5c9d97c4382640690aa866793c58 100644 (file)
@@ -1573,7 +1573,7 @@ static void bnx2x_set_aer_mmd_xgxs(struct link_params *params,
 
        offset = phy->addr + ser_lane;
        if (CHIP_IS_E2(bp))
-               aer_val = 0x2800 + offset - 1;
+               aer_val = 0x3800 + offset - 1;
        else
                aer_val = 0x3800 + offset;
        CL45_WR_OVER_CL22(bp, phy,