aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-01-21 20:15:40 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:10:16 -0500
commitf86e82fb547efe05457391df069cce7ab530b181 (patch)
tree31365a448cbf0327c329f9ea3393875f6f54f9e4 /drivers/net/bnx2.h
parentfeebb33183cee0fdf8e8a9c4f0da3231f0cfa2bb (diff)
[BNX2]: Fix driver software flag namespace.
Prefix "bnx2->flags" names with BNX2_* for consistency. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2.h')
-rw-r--r--drivers/net/bnx2.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/drivers/net/bnx2.h b/drivers/net/bnx2.h
index 31a030a6e2a..cd79b5cb01a 100644
--- a/drivers/net/bnx2.h
+++ b/drivers/net/bnx2.h
@@ -6580,18 +6580,19 @@ struct bnx2 {
6580 atomic_t intr_sem; 6580 atomic_t intr_sem;
6581 6581
6582 u32 flags; 6582 u32 flags;
6583#define PCIX_FLAG 0x00000001 6583#define BNX2_FLAG_PCIX 0x00000001
6584#define PCI_32BIT_FLAG 0x00000002 6584#define BNX2_FLAG_PCI_32BIT 0x00000002
6585#define MSIX_CAP_FLAG 0x00000004 6585#define BNX2_FLAG_MSIX_CAP 0x00000004
6586#define NO_WOL_FLAG 0x00000008 6586#define BNX2_FLAG_NO_WOL 0x00000008
6587#define USING_MSI_FLAG 0x00000020 6587#define BNX2_FLAG_USING_MSI 0x00000020
6588#define ASF_ENABLE_FLAG 0x00000040 6588#define BNX2_FLAG_ASF_ENABLE 0x00000040
6589#define MSI_CAP_FLAG 0x00000080 6589#define BNX2_FLAG_MSI_CAP 0x00000080
6590#define ONE_SHOT_MSI_FLAG 0x00000100 6590#define BNX2_FLAG_ONE_SHOT_MSI 0x00000100
6591#define PCIE_FLAG 0x00000200 6591#define BNX2_FLAG_PCIE 0x00000200
6592#define USING_MSIX_FLAG 0x00000400 6592#define BNX2_FLAG_USING_MSIX 0x00000400
6593#define USING_MSI_OR_MSIX_FLAG (USING_MSI_FLAG | USING_MSIX_FLAG) 6593#define BNX2_FLAG_USING_MSI_OR_MSIX (BNX2_FLAG_USING_MSI | \
6594#define JUMBO_BROKEN_FLAG 0x00000800 6594 BNX2_FLAG_USING_MSIX)
6595#define BNX2_FLAG_JUMBO_BROKEN 0x00000800
6595 6596
6596 /* Put tx producer and consumer fields in separate cache lines. */ 6597 /* Put tx producer and consumer fields in separate cache lines. */
6597 6598