cxgb3: reset the adapter on fatal error
authorDivy Le Ray <divy@chelsio.com>
Thu, 9 Oct 2008 00:36:03 +0000 (17:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Oct 2008 00:36:03 +0000 (17:36 -0700)
commit20d3fc11505a2706a33b4c9a932af036d836727f
tree8c72b6673ac62166225d30a409b09c2354f5286b
parent45cec1bac0719c904bb5f4405c2937f7e715888c
cxgb3: reset the adapter on fatal error

when a fatal error occurs, bring ports down, reset the chip,
and bring ports back up.

Factorize code used for both EEH and fatal error recovery.
Fix timer usage when bringing up/resetting sge queue sets.

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