projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bd011d
)
be2net: In case of UE, do not dump registers for Lancer
author
Padmanabh Ratnakar
<padmanabh.ratnakar@emulex.com>
Tue, 10 May 2011 05:13:01 +0000
(
05:13
+0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 11 May 2011 23:10:03 +0000
(19:10 -0400)
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>
drivers/net/benet/be_cmds.c
patch
|
blob
|
history
diff --git
a/drivers/net/benet/be_cmds.c
b/drivers/net/benet/be_cmds.c
index 391dee211027264221f29e663aae67e06208b6cd..bdd6c5402adf9b996b4b23a5356f5a3dcfdb8a44 100644
(file)
--- 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;
}