diff options
author | Divy Le Ray <divy@chelsio.com> | 2008-09-25 10:05:28 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-08 18:57:17 -0400 |
commit | 0ca41c0413a4d9ca58767d53d23accea9aa1cdef (patch) | |
tree | c94c8bc0ffbe971cddcb894df984c315b62f7fde /drivers/net/cxgb3/adapter.h | |
parent | 822f1a57d2ad957ae16b987115251539876aef26 (diff) |
[2.6.28,1/1] cxgb3 - fix race in EEH
A SGE queue set timer might access registers while in EEH recovery,
triggering an EEH error loop. Stop all timers early in EEH process.
Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cxgb3/adapter.h')
-rw-r--r-- | drivers/net/cxgb3/adapter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/cxgb3/adapter.h b/drivers/net/cxgb3/adapter.h index 4f5cc6987ec1..e9da28597233 100644 --- a/drivers/net/cxgb3/adapter.h +++ b/drivers/net/cxgb3/adapter.h | |||
@@ -284,6 +284,7 @@ void t3_os_link_changed(struct adapter *adapter, int port_id, int link_status, | |||
284 | 284 | ||
285 | void t3_sge_start(struct adapter *adap); | 285 | void t3_sge_start(struct adapter *adap); |
286 | void t3_sge_stop(struct adapter *adap); | 286 | void t3_sge_stop(struct adapter *adap); |
287 | void t3_stop_sge_timers(struct adapter *adap); | ||
287 | void t3_free_sge_resources(struct adapter *adap); | 288 | void t3_free_sge_resources(struct adapter *adap); |
288 | void t3_sge_err_intr_handler(struct adapter *adapter); | 289 | void t3_sge_err_intr_handler(struct adapter *adapter); |
289 | irq_handler_t t3_intr_handler(struct adapter *adap, int polling); | 290 | irq_handler_t t3_intr_handler(struct adapter *adap, int polling); |