diff options
author | Ron Mercer <ron.mercer@qlogic.com> | 2010-02-04 16:32:46 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-04 16:32:46 -0500 |
commit | 15c052fc7f4a1b3544602be8af77e31bba9261bf (patch) | |
tree | 07a0f4b0db1c04046fd5ec2fa41188ece18e8cd9 /drivers/net/qlge/qlge.h | |
parent | f8f76db1db369f3a130ac3fd33e2eee5f1610d9c (diff) |
qlge: Add watchdog timer.
Add periodic heartbeat register read to trigger the eeh
recovery process.
We see cases where an eeh error was injected and the slot was
suspended. An asic access attempt is required to flush the recovery process,
but without interrupts the process can stall.
Adding this periodic register read causes the recovery process to begin.
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlge/qlge.h')
-rw-r--r-- | drivers/net/qlge/qlge.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/qlge/qlge.h b/drivers/net/qlge/qlge.h index 780a38731bcc..ebfd17776b53 100644 --- a/drivers/net/qlge/qlge.h +++ b/drivers/net/qlge/qlge.h | |||
@@ -2145,6 +2145,7 @@ struct ql_adapter { | |||
2145 | struct completion ide_completion; | 2145 | struct completion ide_completion; |
2146 | struct nic_operations *nic_ops; | 2146 | struct nic_operations *nic_ops; |
2147 | u16 device_id; | 2147 | u16 device_id; |
2148 | struct timer_list timer; | ||
2148 | atomic_t lb_count; | 2149 | atomic_t lb_count; |
2149 | }; | 2150 | }; |
2150 | 2151 | ||