diff options
author | Ron Mercer <ron.mercer@qlogic.com> | 2009-11-11 07:54:04 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-11 22:12:06 -0500 |
commit | 74e1243549d1ce7f7a94d88bd0c104dec3dfc66b (patch) | |
tree | de073911e172fe8cc16bd71f2362485676aa687c /drivers/net/qlge | |
parent | 4fc9b8697cdb42f7df322fb97e635491e182ae65 (diff) |
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) | |||
3714 | int err = 0; | 3714 | int err = 0; |
3715 | struct ql_adapter *qdev = netdev_priv(ndev); | 3715 | struct ql_adapter *qdev = netdev_priv(ndev); |
3716 | 3716 | ||
3717 | err = ql_adapter_reset(qdev); | ||
3718 | if (err) | ||
3719 | return err; | ||
3720 | |||
3717 | err = ql_configure_rings(qdev); | 3721 | err = ql_configure_rings(qdev); |
3718 | if (err) | 3722 | if (err) |
3719 | return err; | 3723 | return err; |