diff options
author | Padmanabh Ratnakar <padmanabh.ratnakar@emulex.com> | 2011-05-10 05:13:01 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-11 19:10:03 -0400 |
commit | 18a91e6002207c8212e0960854f88ab924ea22f9 (patch) | |
tree | 1dbbddb76e6fafcdf433057b6e2bf402e693ddbe /drivers/net/benet | |
parent | 6bd011d54254d6f2a5314ab0ed38e66772e6b9f7 (diff) | |
download | linux-3.10-18a91e6002207c8212e0960854f88ab924ea22f9.tar.gz linux-3.10-18a91e6002207c8212e0960854f88ab924ea22f9.tar.bz2 linux-3.10-18a91e6002207c8212e0960854f88ab924ea22f9.zip |
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 <padmanabh.ratnakar@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/benet')
-rw-r--r-- | drivers/net/benet/be_cmds.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/benet/be_cmds.c b/drivers/net/benet/be_cmds.c index 391dee21102..bdd6c5402ad 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; } |