]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit265f5c9de20f65f8912a3fb6c919bf3ce5892abb
treecb83082f19bc2934fc84f774af745ab8206263ef
parent76b2b3e67c69729a6e817e48b8c973033d49debe
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