cxgb3 - Fix potential MAC hang
authorDivy Le Ray <divy@chelsio.com>
Sun, 18 Mar 2007 20:10:12 +0000 (13:10 -0700)
committerJeff Garzik <jeff@garzik.org>
Fri, 23 Mar 2007 05:48:34 +0000 (01:48 -0400)
commitfc90664e3438c990d280f179ccb0642711d5c553
tree8ece58a4eec002186f1c569385830f03336b50af
parent2e2839627a957714808f98a802d137a7a2a1df46
cxgb3 - Fix potential MAC hang

Under rare conditions, the MAC might hang while generating a pause frame.
This patch fine tunes the MAC settings to avoid the issue, allows for
periodic MAC state check, and triggers a recovery if hung.

Also fix one MAC statistics counter for the rev board T3B2.

Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/cxgb3/common.h
drivers/net/cxgb3/cxgb3_main.c
drivers/net/cxgb3/regs.h
drivers/net/cxgb3/xgmac.c