diff options
author | Ron Mercer <ron.mercer@qlogic.com> | 2010-02-04 13:32:46 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-04 13:32:46 -0800 |
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 780a38731bc..ebfd17776b5 100644 --- a/drivers/net/qlge/qlge.h +++ b/drivers/net/qlge/qlge.h @@ -2145,6 +2145,7 @@ struct ql_adapter { struct completion ide_completion; struct nic_operations *nic_ops; u16 device_id; + struct timer_list timer; atomic_t lb_count; }; |