aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/cxgb3/cxgb3_main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/cxgb3/cxgb3_main.c b/drivers/net/cxgb3/cxgb3_main.c
index 57fc199e0614..c00f2df05bcc 100644
--- a/drivers/net/cxgb3/cxgb3_main.c
+++ b/drivers/net/cxgb3/cxgb3_main.c
@@ -2297,6 +2297,10 @@ void t3_fatal_err(struct adapter *adapter)
2297 2297
2298 if (adapter->flags & FULL_INIT_DONE) { 2298 if (adapter->flags & FULL_INIT_DONE) {
2299 t3_sge_stop(adapter); 2299 t3_sge_stop(adapter);
2300 t3_write_reg(adapter, A_XGM_TX_CTRL, 0);
2301 t3_write_reg(adapter, A_XGM_RX_CTRL, 0);
2302 t3_write_reg(adapter, XGM_REG(A_XGM_TX_CTRL, 1), 0);
2303 t3_write_reg(adapter, XGM_REG(A_XGM_RX_CTRL, 1), 0);
2300 t3_intr_disable(adapter); 2304 t3_intr_disable(adapter);
2301 } 2305 }
2302 CH_ALERT(adapter, "encountered fatal error, operation suspended\n"); 2306 CH_ALERT(adapter, "encountered fatal error, operation suspended\n");