Commit 583c28e5 authored by Michael Chan's avatar Michael Chan Committed by David S. Miller

[BNX2]: Fix driver phy_flags name space.

Prefix "bp->phy_flags" names with BNX2_PHY_FLAG_* for consistency.
Signed-off-by: default avatarMichael Chan <mchan@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ecfdc8c5
This diff is collapsed.
...@@ -6644,16 +6644,16 @@ struct bnx2 { ...@@ -6644,16 +6644,16 @@ struct bnx2 {
spinlock_t indirect_lock; spinlock_t indirect_lock;
u32 phy_flags; u32 phy_flags;
#define PHY_SERDES_FLAG 1 #define BNX2_PHY_FLAG_SERDES 0x00000001
#define PHY_CRC_FIX_FLAG 2 #define BNX2_PHY_FLAG_CRC_FIX 0x00000002
#define PHY_PARALLEL_DETECT_FLAG 4 #define BNX2_PHY_FLAG_PARALLEL_DETECT 0x00000004
#define PHY_2_5G_CAPABLE_FLAG 8 #define BNX2_PHY_FLAG_2_5G_CAPABLE 0x00000008
#define PHY_INT_MODE_MASK_FLAG 0x300 #define BNX2_PHY_FLAG_INT_MODE_MASK 0x00000300
#define PHY_INT_MODE_AUTO_POLLING_FLAG 0x100 #define BNX2_PHY_FLAG_INT_MODE_AUTO_POLLING 0x00000100
#define PHY_INT_MODE_LINK_READY_FLAG 0x200 #define BNX2_PHY_FLAG_INT_MODE_LINK_READY 0x00000200
#define PHY_DIS_EARLY_DAC_FLAG 0x400 #define BNX2_PHY_FLAG_DIS_EARLY_DAC 0x00000400
#define REMOTE_PHY_CAP_FLAG 0x800 #define BNX2_PHY_FLAG_REMOTE_PHY_CAP 0x00000800
#define PHY_FORCED_DOWN_FLAG 0x1000 #define BNX2_PHY_FLAG_FORCED_DOWN 0x00001000
u32 mii_bmcr; u32 mii_bmcr;
u32 mii_bmsr; u32 mii_bmsr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment