summaryrefslogtreecommitdiffstats
path: root/drivers/net/qla3xxx.h
diff options
context:
space:
mode:
authorRon Mercer <ron.mercer@qlogic.com>2007-11-07 13:59:06 -0800
committerJeff Garzik <jeff@garzik.org>2007-11-10 04:25:15 -0500
commit3e23b7d3b54c07f1c4fee1ebc418d1a37248654e (patch)
tree8b2e236ded93e0c98176e1afb60b812b7577c438 /drivers/net/qla3xxx.h
parent32bee776533eea839f9499d985c1490b5ac98512 (diff)
downloadlinux-3e23b7d3b54c07f1c4fee1ebc418d1a37248654e.tar.gz
linux-3e23b7d3b54c07f1c4fee1ebc418d1a37248654e.tar.bz2
linux-3e23b7d3b54c07f1c4fee1ebc418d1a37248654e.zip
qla3xxx: bugfix: Move link state machine into a worker thread
The link state machine requires access to some resources that are shared with the iSCSI function on the chip. (See iSCSI driver at drivers/scsi/qla4xxx) If the interface is being up/downed at a rapid pace this driver may need to sleep waiting to get access to the common resources. For this we are moving the state machine to run as a work thread. Signed-off-by: Ron Mercer <ron.mercer@qlogic.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/qla3xxx.h')
-rw-r--r--drivers/net/qla3xxx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/qla3xxx.h b/drivers/net/qla3xxx.h
index fbcb0b949639..d0ffb30ef371 100644
--- a/drivers/net/qla3xxx.h
+++ b/drivers/net/qla3xxx.h
@@ -1286,6 +1286,7 @@ struct ql3_adapter {
struct workqueue_struct *workqueue;
struct delayed_work reset_work;
struct delayed_work tx_timeout_work;
+ struct delayed_work link_state_work;
u32 max_frame_size;
u32 device_id;
u16 phyType;