summaryrefslogtreecommitdiffstats
path: root/drivers/net/bna/bnad.h
diff options
context:
space:
mode:
authorRasesh Mody <rmody@brocade.com>2011-07-22 10:07:44 +0200
committerDavid S. Miller <davem@davemloft.net>2011-07-23 02:01:13 +0200
commit8811e267d0443af9caca6f127d62c0119c96314f (patch)
treeca94d671f33febd81246012653d4dc6b2844053c /drivers/net/bna/bnad.h
parentbna: State Machine Fault Handling Cleanup (diff)
downloadlinux-8811e267d0443af9caca6f127d62c0119c96314f.tar.xz
linux-8811e267d0443af9caca6f127d62c0119c96314f.zip
bna: Minor IRQ Index and Definition Change
Change details: - Always set mbox irq index to zero and make corresponding changes in mbox irq alloc/sync function and txrx irq index calculation. Add definition of BNAD_INTX_TX_IB_BITMASK & BNAD_INTX_RX_IB_BITMASK and update bnad_txrx_irq_alloc accordingly. Signed-off-by: Rasesh Mody <rmody@brocade.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bna/bnad.h')
-rw-r--r--drivers/net/bna/bnad.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/bna/bnad.h b/drivers/net/bna/bnad.h
index ea97060f9e95..458eb30371b5 100644
--- a/drivers/net/bna/bnad.h
+++ b/drivers/net/bna/bnad.h
@@ -68,7 +68,10 @@ struct bnad_rx_ctrl {
#define BNAD_VERSION "2.3.2.3"
+#define BNAD_MAILBOX_MSIX_INDEX 0
#define BNAD_MAILBOX_MSIX_VECTORS 1
+#define BNAD_INTX_TX_IB_BITMASK 0x1
+#define BNAD_INTX_RX_IB_BITMASK 0x2
#define BNAD_STATS_TIMER_FREQ 1000 /* in msecs */
#define BNAD_DIM_TIMER_FREQ 1000 /* in msecs */