qlge: Fix chip reset process.
commit84087f4d482c5d554e1b26a557d424761213e5dc
authorRon Mercer <ron.mercer@qlogic.com>
Thu, 8 Oct 2009 09:54:41 +0000 (8 09:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Oct 2009 05:54:51 +0000 (8 22:54 -0700)
tree8d7058d6008db2814e577caa779533482ee2b635
parent76b26694cc9eb8c7ea1004b0601a5953cfa57b89
qlge: Fix chip reset process.

Add wait for NIC fifo and MGMNT fifo to empty before applying reset.
Otherwise broken frames can be processed by management processor and
cause it to hang.

Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlge/qlge.h
drivers/net/qlge/qlge_main.c
drivers/net/qlge/qlge_mpi.c