[BNX2]: Fix driver software flag namespace.
Prefix "bnx2->flags" names with BNX2_* for consistency. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -6580,18 +6580,19 @@ struct bnx2 {
|
||||
atomic_t intr_sem;
|
||||
|
||||
u32 flags;
|
||||
#define PCIX_FLAG 0x00000001
|
||||
#define PCI_32BIT_FLAG 0x00000002
|
||||
#define MSIX_CAP_FLAG 0x00000004
|
||||
#define NO_WOL_FLAG 0x00000008
|
||||
#define USING_MSI_FLAG 0x00000020
|
||||
#define ASF_ENABLE_FLAG 0x00000040
|
||||
#define MSI_CAP_FLAG 0x00000080
|
||||
#define ONE_SHOT_MSI_FLAG 0x00000100
|
||||
#define PCIE_FLAG 0x00000200
|
||||
#define USING_MSIX_FLAG 0x00000400
|
||||
#define USING_MSI_OR_MSIX_FLAG (USING_MSI_FLAG | USING_MSIX_FLAG)
|
||||
#define JUMBO_BROKEN_FLAG 0x00000800
|
||||
#define BNX2_FLAG_PCIX 0x00000001
|
||||
#define BNX2_FLAG_PCI_32BIT 0x00000002
|
||||
#define BNX2_FLAG_MSIX_CAP 0x00000004
|
||||
#define BNX2_FLAG_NO_WOL 0x00000008
|
||||
#define BNX2_FLAG_USING_MSI 0x00000020
|
||||
#define BNX2_FLAG_ASF_ENABLE 0x00000040
|
||||
#define BNX2_FLAG_MSI_CAP 0x00000080
|
||||
#define BNX2_FLAG_ONE_SHOT_MSI 0x00000100
|
||||
#define BNX2_FLAG_PCIE 0x00000200
|
||||
#define BNX2_FLAG_USING_MSIX 0x00000400
|
||||
#define BNX2_FLAG_USING_MSI_OR_MSIX (BNX2_FLAG_USING_MSI | \
|
||||
BNX2_FLAG_USING_MSIX)
|
||||
#define BNX2_FLAG_JUMBO_BROKEN 0x00000800
|
||||
|
||||
/* Put tx producer and consumer fields in separate cache lines. */
|
||||
|
||||
|
Reference in New Issue
Block a user