cxgb3: Update Rev3 mac workaround
authorDivy Le Ray <divy@chelsio.com>
Thu, 12 Mar 2009 21:14:14 +0000 (21:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Mar 2009 18:30:46 +0000 (11:30 -0700)
commitcd40658a616050df0a50d0a3ded06e3ebcc0a04a
treecb83082f19bc2934fc84f774af745ab8206263ef
parentfc88219601aa3f94def89433a6afde154e8faa8c
cxgb3: Update Rev3 mac workaround

Update the heurstics workaround unlocking a hung mac:
- reduce Tx mac toggling by enabling Tx drain before resetting the mac
- Take Tx (lack of) activity in account only
- Update the monitoring counter range to 64 bits

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