mirror of https://gitee.com/openkylin/linux.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 <yanivr@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
f25b3c8b5f
commit
82a0d4757c
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue