OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fc9b86
)
qlge: Add asic reset to open call.
author
Ron Mercer
<ron.mercer@qlogic.com>
Wed, 11 Nov 2009 12:54:04 +0000
(12:54 +0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 12 Nov 2009 03:12:06 +0000
(19:12 -0800)
Force asic to known state at open().
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlge/qlge_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/qlge/qlge_main.c
b/drivers/net/qlge/qlge_main.c
index
2bfa783
..
d2a4bbe
100644
(file)
--- a/
drivers/net/qlge/qlge_main.c
+++ b/
drivers/net/qlge/qlge_main.c
@@
-3714,6
+3714,10
@@
static int qlge_open(struct net_device *ndev)
int err = 0;
struct ql_adapter *qdev = netdev_priv(ndev);
+ err = ql_adapter_reset(qdev);
+ if (err)
+ return err;
+
err = ql_configure_rings(qdev);
if (err)
return err;