From: Yaniv Rosner Date: Tue, 18 Jan 2011 04:33:52 +0000 (+0000) Subject: bnx2x: Fix AER setting for BCM57712 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=82a0d4757c03687894123b197ec9c40f7dd16800;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git bnx2x: Fix AER setting for BCM57712 Fix AER settings for BCM57712 to allow accessing all device addresses range in CL45 MDC/MDIO Signed-off-by: Yaniv Rosner Signed-off-by: Eilon Greenstein Signed-off-by: David S. Miller --- diff --git a/drivers/net/bnx2x/bnx2x_link.c b/drivers/net/bnx2x/bnx2x_link.c index bb1c81156d0..7160ec51093 100644 --- a/drivers/net/bnx2x/bnx2x_link.c +++ b/drivers/net/bnx2x/bnx2x_link.c @@ -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,