]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit46d2937ce89a57901697fcfee1f09c2bf2de8e02
tree522d231c37c12afe7b0b76a8fe252094ce49b189
parent5a3ed0ff5675b22c70b5da96d14cd180ac1b11f6
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