aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x_reg.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/bnx2x_reg.h')
-rw-r--r--drivers/net/bnx2x_reg.h33
1 files changed, 24 insertions, 9 deletions
diff --git a/drivers/net/bnx2x_reg.h b/drivers/net/bnx2x_reg.h
index b8ce6fc927a0..8e9e7a24f2fc 100644
--- a/drivers/net/bnx2x_reg.h
+++ b/drivers/net/bnx2x_reg.h
@@ -1616,6 +1616,11 @@
1616/* [RW 1] Set by the MCP to remember if one or more of the drivers is/are 1616/* [RW 1] Set by the MCP to remember if one or more of the drivers is/are
1617 loaded; 0-prepare; -unprepare */ 1617 loaded; 0-prepare; -unprepare */
1618#define MISC_REG_UNPREPARED 0xa424 1618#define MISC_REG_UNPREPARED 0xa424
1619#define NIG_LLH0_BRB1_DRV_MASK_REG_LLH0_BRB1_DRV_MASK_BRCST (0x1<<0)
1620#define NIG_LLH0_BRB1_DRV_MASK_REG_LLH0_BRB1_DRV_MASK_MLCST (0x1<<1)
1621#define NIG_LLH0_BRB1_DRV_MASK_REG_LLH0_BRB1_DRV_MASK_NO_VLAN (0x1<<4)
1622#define NIG_LLH0_BRB1_DRV_MASK_REG_LLH0_BRB1_DRV_MASK_UNCST (0x1<<2)
1623#define NIG_LLH0_BRB1_DRV_MASK_REG_LLH0_BRB1_DRV_MASK_VLAN (0x1<<3)
1619#define NIG_MASK_INTERRUPT_PORT0_REG_MASK_EMAC0_MISC_MI_INT (0x1<<0) 1624#define NIG_MASK_INTERRUPT_PORT0_REG_MASK_EMAC0_MISC_MI_INT (0x1<<0)
1620#define NIG_MASK_INTERRUPT_PORT0_REG_MASK_SERDES0_LINK_STATUS (0x1<<9) 1625#define NIG_MASK_INTERRUPT_PORT0_REG_MASK_SERDES0_LINK_STATUS (0x1<<9)
1621#define NIG_MASK_INTERRUPT_PORT0_REG_MASK_XGXS0_LINK10G (0x1<<15) 1626#define NIG_MASK_INTERRUPT_PORT0_REG_MASK_XGXS0_LINK10G (0x1<<15)
@@ -1660,6 +1665,8 @@
1660#define NIG_REG_EGRESS_PBF0_IN_EN 0x100cc 1665#define NIG_REG_EGRESS_PBF0_IN_EN 0x100cc
1661/* [RW 1] Input enable for TX PBF user packet port1 IF */ 1666/* [RW 1] Input enable for TX PBF user packet port1 IF */
1662#define NIG_REG_EGRESS_PBF1_IN_EN 0x100d0 1667#define NIG_REG_EGRESS_PBF1_IN_EN 0x100d0
1668/* [RW 1] Input enable for TX UMP management packet port0 IF */
1669#define NIG_REG_EGRESS_UMP0_IN_EN 0x100d4
1663/* [RW 1] Input enable for RX_EMAC0 IF */ 1670/* [RW 1] Input enable for RX_EMAC0 IF */
1664#define NIG_REG_EMAC0_IN_EN 0x100a4 1671#define NIG_REG_EMAC0_IN_EN 0x100a4
1665/* [RW 1] output enable for TX EMAC pause port 0 IF */ 1672/* [RW 1] output enable for TX EMAC pause port 0 IF */
@@ -5843,25 +5850,33 @@ Theotherbitsarereservedandshouldbezero*/
5843#define MDIO_PMA_REG_ROM_VER2 0xca1a 5850#define MDIO_PMA_REG_ROM_VER2 0xca1a
5844#define MDIO_PMA_REG_EDC_FFE_MAIN 0xca1b 5851#define MDIO_PMA_REG_EDC_FFE_MAIN 0xca1b
5845#define MDIO_PMA_REG_PLL_BANDWIDTH 0xca1d 5852#define MDIO_PMA_REG_PLL_BANDWIDTH 0xca1d
5846#define MDIO_PMA_REG_GEN_CTRL2 0xca1e 5853#define MDIO_PMA_REG_PLL_CTRL 0xca1e
5847#define MDIO_PMA_REG_MISC_CTRL0 0xca23 5854#define MDIO_PMA_REG_MISC_CTRL0 0xca23
5848#define MDIO_PMA_REG_LRM_MODE 0xca3f 5855#define MDIO_PMA_REG_LRM_MODE 0xca3f
5849#define MDIO_PMA_REG_CDR_BANDWIDTH 0xca46 5856#define MDIO_PMA_REG_CDR_BANDWIDTH 0xca46
5850#define MDIO_PMA_REG_MISC_CTRL1 0xca85 5857#define MDIO_PMA_REG_MISC_CTRL1 0xca85
5851 5858
5852#define MDIO_PMA_REG_8726_TWO_WIRE_CTRL 0x8000 5859#define MDIO_PMA_REG_SFP_TWO_WIRE_CTRL 0x8000
5853#define MDIO_PMA_REG_8726_TWO_WIRE_CTRL_STATUS_MASK 0x000c 5860#define MDIO_PMA_REG_SFP_TWO_WIRE_CTRL_STATUS_MASK 0x000c
5854#define MDIO_PMA_REG_8726_TWO_WIRE_STATUS_IDLE 0x0000 5861#define MDIO_PMA_REG_SFP_TWO_WIRE_STATUS_IDLE 0x0000
5855#define MDIO_PMA_REG_8726_TWO_WIRE_STATUS_COMPLETE 0x0004 5862#define MDIO_PMA_REG_SFP_TWO_WIRE_STATUS_COMPLETE 0x0004
5856#define MDIO_PMA_REG_8726_TWO_WIRE_STATUS_IN_PROGRESS 0x0008 5863#define MDIO_PMA_REG_SFP_TWO_WIRE_STATUS_IN_PROGRESS 0x0008
5857#define MDIO_PMA_REG_8726_TWO_WIRE_STATUS_FAILED 0x000c 5864#define MDIO_PMA_REG_SFP_TWO_WIRE_STATUS_FAILED 0x000c
5858#define MDIO_PMA_REG_8726_TWO_WIRE_BYTE_CNT 0x8002 5865#define MDIO_PMA_REG_SFP_TWO_WIRE_BYTE_CNT 0x8002
5859#define MDIO_PMA_REG_8726_TWO_WIRE_MEM_ADDR 0x8003 5866#define MDIO_PMA_REG_SFP_TWO_WIRE_MEM_ADDR 0x8003
5860#define MDIO_PMA_REG_8726_TWO_WIRE_DATA_BUF 0xc820 5867#define MDIO_PMA_REG_8726_TWO_WIRE_DATA_BUF 0xc820
5861#define MDIO_PMA_REG_8726_TWO_WIRE_DATA_MASK 0xff 5868#define MDIO_PMA_REG_8726_TWO_WIRE_DATA_MASK 0xff
5862#define MDIO_PMA_REG_8726_TX_CTRL1 0xca01 5869#define MDIO_PMA_REG_8726_TX_CTRL1 0xca01
5863#define MDIO_PMA_REG_8726_TX_CTRL2 0xca05 5870#define MDIO_PMA_REG_8726_TX_CTRL2 0xca05
5864 5871
5872#define MDIO_PMA_REG_8727_TWO_WIRE_SLAVE_ADDR 0x8005
5873#define MDIO_PMA_REG_8727_TWO_WIRE_DATA_BUF 0x8007
5874#define MDIO_PMA_REG_8727_TWO_WIRE_DATA_MASK 0xff
5875#define MDIO_PMA_REG_8727_MISC_CTRL 0x8309
5876#define MDIO_PMA_REG_8727_TX_CTRL1 0xca02
5877#define MDIO_PMA_REG_8727_TX_CTRL2 0xca05
5878#define MDIO_PMA_REG_8727_PCS_OPT_CTRL 0xc808
5879#define MDIO_PMA_REG_8727_GPIO_CTRL 0xc80e
5865 5880
5866#define MDIO_PMA_REG_8073_CHIP_REV 0xc801 5881#define MDIO_PMA_REG_8073_CHIP_REV 0xc801
5867#define MDIO_PMA_REG_8073_SPEED_LINK_STATUS 0xc820 5882#define MDIO_PMA_REG_8073_SPEED_LINK_STATUS 0xc820