diff options
Diffstat (limited to 'drivers/net/bnx2.h')
-rw-r--r-- | drivers/net/bnx2.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/bnx2.h b/drivers/net/bnx2.h index c1ab30b0f87a..31a030a6e2a5 100644 --- a/drivers/net/bnx2.h +++ b/drivers/net/bnx2.h | |||
@@ -6344,6 +6344,15 @@ struct l2_fhdr { | |||
6344 | #define MII_BNX2_DSP_RW_PORT 0x15 | 6344 | #define MII_BNX2_DSP_RW_PORT 0x15 |
6345 | #define MII_BNX2_DSP_ADDRESS 0x17 | 6345 | #define MII_BNX2_DSP_ADDRESS 0x17 |
6346 | #define MII_BNX2_DSP_EXPAND_REG 0x0f00 | 6346 | #define MII_BNX2_DSP_EXPAND_REG 0x0f00 |
6347 | #define MII_EXPAND_REG1 (MII_BNX2_DSP_EXPAND_REG | 1) | ||
6348 | #define MII_EXPAND_REG1_RUDI_C 0x20 | ||
6349 | #define MII_EXPAND_SERDES_CTL (MII_BNX2_DSP_EXPAND_REG | 2) | ||
6350 | |||
6351 | #define MII_BNX2_MISC_SHADOW 0x1c | ||
6352 | #define MISC_SHDW_AN_DBG 0x6800 | ||
6353 | #define MISC_SHDW_AN_DBG_NOSYNC 0x0002 | ||
6354 | #define MISC_SHDW_MODE_CTL 0x7c00 | ||
6355 | #define MISC_SHDW_MODE_CTL_SIG_DET 0x0010 | ||
6347 | 6356 | ||
6348 | #define MII_BNX2_BLK_ADDR 0x1f | 6357 | #define MII_BNX2_BLK_ADDR 0x1f |
6349 | #define MII_BNX2_BLK_ADDR_IEEE0 0x0000 | 6358 | #define MII_BNX2_BLK_ADDR_IEEE0 0x0000 |
@@ -6643,6 +6652,7 @@ struct bnx2 { | |||
6643 | #define PHY_INT_MODE_LINK_READY_FLAG 0x200 | 6652 | #define PHY_INT_MODE_LINK_READY_FLAG 0x200 |
6644 | #define PHY_DIS_EARLY_DAC_FLAG 0x400 | 6653 | #define PHY_DIS_EARLY_DAC_FLAG 0x400 |
6645 | #define REMOTE_PHY_CAP_FLAG 0x800 | 6654 | #define REMOTE_PHY_CAP_FLAG 0x800 |
6655 | #define PHY_FORCED_DOWN_FLAG 0x1000 | ||
6646 | 6656 | ||
6647 | u32 mii_bmcr; | 6657 | u32 mii_bmcr; |
6648 | u32 mii_bmsr; | 6658 | u32 mii_bmsr; |