summaryrefslogtreecommitdiffstats
path: root/drivers/net/qlge/qlge.h
diff options
context:
space:
mode:
authorRon Mercer <ron.mercer@qlogic.com>2010-02-04 22:32:46 +0100
committerDavid S. Miller <davem@davemloft.net>2010-02-04 22:32:46 +0100
commit15c052fc7f4a1b3544602be8af77e31bba9261bf (patch)
tree07a0f4b0db1c04046fd5ec2fa41188ece18e8cd9 /drivers/net/qlge/qlge.h
parentlibphy: add phy_find_first function (diff)
downloadlinux-15c052fc7f4a1b3544602be8af77e31bba9261bf.tar.xz
linux-15c052fc7f4a1b3544602be8af77e31bba9261bf.zip
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.h1
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 {
struct completion ide_completion;
struct nic_operations *nic_ops;
u16 device_id;
+ struct timer_list timer;
atomic_t lb_count;
};