cxgb3: Drain Mac Tx fifo when the port goes down.
authorDivy Le Ray <divy@chelsio.com>
Tue, 7 Jul 2009 19:48:32 +0000 (19:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Jul 2009 17:54:27 +0000 (10:54 -0700)
commit34701fde8f4bf207ca96d10b8700a8667157854c
tree9d587019df540965231e045688db348ffde5ef2f
parent88045b3cf0f8981129cb489c7b6bc36c21dd33a7
cxgb3: Drain Mac Tx fifo when the port goes down.

Drain the MAC TX fifos when a port goes down.
Back pressure might otherwise occur, leading to both
ports of the same adapter to hang.

Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cxgb3/cxgb3_main.c