qlge: reset the chip before freeing the buffers
authorBreno Leitao <leitao@linux.vnet.ibm.com>
Thu, 26 Aug 2010 08:27:58 +0000 (08:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Aug 2010 21:09:14 +0000 (14:09 -0700)
commitfe5f098055ed7f701bfb16f8f87378cf67de9a0e
tree522d231c37c12afe7b0b76a8fe252094ce49b189
parentbfc960a8eec023a170a80697fe65157cd4f44f81
qlge: reset the chip before freeing the buffers

Qlge is freeing the buffers before stopping the card DMA, and
this can cause some severe error, as a EEH event on PPC.

This patch just stop the card and then free the resources.

Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com>
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlge/qlge_main.c