Skip to content

Commit

Permalink
be2net: In case of UE, do not dump registers for Lancer
Browse files Browse the repository at this point in the history
In case of UE, do not dump registers for Lancer as they are not
supported.

Signed-off-by: Padmanabh Ratnakar <padmanabh.ratnakar@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Padmanabh Ratnakar authored and David S. Miller committed May 11, 2011
1 parent 6bd011d commit 18a91e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/net/benet/be_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 18a91e6

Please sign in to comment.