From: Padmanabh Ratnakar Date: Tue, 10 May 2011 05:13:01 +0000 (+0000) Subject: be2net: In case of UE, do not dump registers for Lancer X-Git-Tag: MMI-PSA29.97-13-9~19691^2~107 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=18a91e6002207c8212e0960854f88ab924ea22f9;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git be2net: In case of UE, do not dump registers for Lancer In case of UE, do not dump registers for Lancer as they are not supported. Signed-off-by: Padmanabh Ratnakar Signed-off-by: David S. Miller --- diff --git a/drivers/net/benet/be_cmds.c b/drivers/net/benet/be_cmds.c index 391dee211027..bdd6c5402adf 100644 --- a/drivers/net/benet/be_cmds.c +++ b/drivers/net/benet/be_cmds.c @@ -293,7 +293,8 @@ static int be_mbox_db_ready_wait(struct be_adapter *adapter, void __iomem *db) if (msecs > 4000) { dev_err(&adapter->pdev->dev, "mbox poll timed out\n"); - be_detect_dump_ue(adapter); + if (!lancer_chip(adapter)) + be_detect_dump_ue(adapter); return -1; }