aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2.h
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2008-01-21 22:51:35 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:10:23 -0500
commit583c28e5645c464b57b4f5d3d53113c06bb0ac5f (patch)
tree636d9220936d4e62b703913581fc669956e74824 /drivers/net/bnx2.h
parentecfdc8c5424079393a9b05e8a5aaf5c6873029f6 (diff)
[BNX2]: Fix driver phy_flags name space.
Prefix "bp->phy_flags" names with BNX2_PHY_FLAG_* for consistency. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2.h')
-rw-r--r--drivers/net/bnx2.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/net/bnx2.h b/drivers/net/bnx2.h
index cd79b5cb01a8..54ce11afd9fe 100644
--- a/drivers/net/bnx2.h
+++ b/drivers/net/bnx2.h
@@ -6644,16 +6644,16 @@ struct bnx2 {
6644 spinlock_t indirect_lock; 6644 spinlock_t indirect_lock;
6645 6645
6646 u32 phy_flags; 6646 u32 phy_flags;
6647#define PHY_SERDES_FLAG 1 6647#define BNX2_PHY_FLAG_SERDES 0x00000001
6648#define PHY_CRC_FIX_FLAG 2 6648#define BNX2_PHY_FLAG_CRC_FIX 0x00000002
6649#define PHY_PARALLEL_DETECT_FLAG 4 6649#define BNX2_PHY_FLAG_PARALLEL_DETECT 0x00000004
6650#define PHY_2_5G_CAPABLE_FLAG 8 6650#define BNX2_PHY_FLAG_2_5G_CAPABLE 0x00000008
6651#define PHY_INT_MODE_MASK_FLAG 0x300 6651#define BNX2_PHY_FLAG_INT_MODE_MASK 0x00000300
6652#define PHY_INT_MODE_AUTO_POLLING_FLAG 0x100 6652#define BNX2_PHY_FLAG_INT_MODE_AUTO_POLLING 0x00000100
6653#define PHY_INT_MODE_LINK_READY_FLAG 0x200 6653#define BNX2_PHY_FLAG_INT_MODE_LINK_READY 0x00000200
6654#define PHY_DIS_EARLY_DAC_FLAG 0x400 6654#define BNX2_PHY_FLAG_DIS_EARLY_DAC 0x00000400
6655#define REMOTE_PHY_CAP_FLAG 0x800 6655#define BNX2_PHY_FLAG_REMOTE_PHY_CAP 0x00000800
6656#define PHY_FORCED_DOWN_FLAG 0x1000 6656#define BNX2_PHY_FLAG_FORCED_DOWN 0x00001000
6657 6657
6658 u32 mii_bmcr; 6658 u32 mii_bmcr;
6659 u32 mii_bmsr; 6659 u32 mii_bmsr;