bnx2x: Fix chip hanging due to TX pipe stall.
authorYaniv Rosner <yanivr@broadcom.com>
Tue, 2 Aug 2011 22:59:18 +0000 (22:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Aug 2011 10:22:17 +0000 (03:22 -0700)
commitb507766205f85d6d69892287e346a7c264a216b4
tree3954ab2150c528c2a38890cd56910d77bd149822
parent9d5b36be64b42058e7fd12b71266bbf2bb7600fc
bnx2x: Fix chip hanging due to TX pipe stall.

Fix a problem in which the 578xx chip hangs after running traffic, and then pulling the network cable.
This occurs since TX pipe is stalled due to missing XON indication towards the NIG.

Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x/bnx2x_link.c