diff options
author | Ron Mercer <ron.mercer@qlogic.com> | 2009-11-11 13:54:04 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-12 04:12:06 +0100 |
commit | 74e1243549d1ce7f7a94d88bd0c104dec3dfc66b (patch) | |
tree | de073911e172fe8cc16bd71f2362485676aa687c /drivers/net/qlge | |
parent | qlge: Do not change frame routing during suspend. (diff) | |
download | linux-74e1243549d1ce7f7a94d88bd0c104dec3dfc66b.tar.xz linux-74e1243549d1ce7f7a94d88bd0c104dec3dfc66b.zip |
qlge: Add asic reset to open call.
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>
Diffstat (limited to 'drivers/net/qlge')
-rw-r--r-- | drivers/net/qlge/qlge_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/qlge/qlge_main.c b/drivers/net/qlge/qlge_main.c index 2bfa783b38a3..d2a4bbe5ef3b 100644 --- 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; |