From: Yuval Mintz Date: Sun, 2 Dec 2012 04:05:51 +0000 (+0000) Subject: bnx2x: Ext. config accessed only on non-E1x. X-Git-Tag: MMI-PSA29.97-13-9~15401^2~128 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=382e513a18ef988e547b0744c63c110aa052afd2;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git bnx2x: Ext. config accessed only on non-E1x. Signed-off-by: Yuval Mintz Signed-off-by: Eilon Greenstein Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c index 89b3d10e1575..571508d044c1 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c @@ -10484,8 +10484,9 @@ static void __devinit bnx2x_get_fcoe_info(struct bnx2x *bp) if (BNX2X_MF_EXT_PROTOCOL_FCOE(bp) && !CHIP_IS_E1x(bp)) bnx2x_get_ext_wwn_info(bp, func); - } else if (IS_MF_FCOE_SD(bp)) + } else if (IS_MF_FCOE_SD(bp) && !CHIP_IS_E1x(bp)) { bnx2x_get_ext_wwn_info(bp, func); + } BNX2X_DEV_INFO("max_fcoe_conn 0x%x\n", bp->cnic_eth_dev.max_fcoe_conn);