summaryrefslogtreecommitdiffstats
path: root/drivers/net/qlge/qlge.h
diff options
context:
space:
mode:
authorRon Mercer <ron.mercer@qlogic.com>2009-02-26 10:08:34 +0000
committerDavid S. Miller <davem@davemloft.net>2009-02-26 22:28:08 -0800
commit125844eaff0e9600c92a753995564fd93c807f3c (patch)
tree5549acecb41c61bec9e2c471b1e3ef2d4b9e9d91 /drivers/net/qlge/qlge.h
parenta2e809bb1b2174af66bf9798444f7e90892f45a9 (diff)
downloadop-kernel-dev-125844eaff0e9600c92a753995564fd93c807f3c.zip
op-kernel-dev-125844eaff0e9600c92a753995564fd93c807f3c.tar.gz
qlge: Move firmware event handler.
This is not a logical change but rather a move of the inbound firmware event handler into it's own function as it will later be called by the outbound path. The addition of the mutex is to create exclusive access to the mailbox commands between inbound and outbound handling. 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 8b3c37a..2103fe6 100644
--- a/drivers/net/qlge/qlge.h
+++ b/drivers/net/qlge/qlge.h
@@ -1407,6 +1407,7 @@ struct ql_adapter {
u32 mailbox_in;
u32 mailbox_out;
+ struct mutex mpi_mutex;
int tx_ring_size;
int rx_ring_size;
OpenPOWER on IntegriCloud