Commit 74e12435 authored by Ron Mercer's avatar Ron Mercer Committed by David S. Miller

qlge: Add asic reset to open call.

Force asic to known state at open().
Signed-off-by: default avatarRon Mercer <ron.mercer@qlogic.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4fc9b869
...@@ -3714,6 +3714,10 @@ static int qlge_open(struct net_device *ndev) ...@@ -3714,6 +3714,10 @@ static int qlge_open(struct net_device *ndev)
int err = 0; int err = 0;
struct ql_adapter *qdev = netdev_priv(ndev); struct ql_adapter *qdev = netdev_priv(ndev);
err = ql_adapter_reset(qdev);
if (err)
return err;
err = ql_configure_rings(qdev); err = ql_configure_rings(qdev);
if (err) if (err)
return err; return err;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment