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.h27
1 files changed, 26 insertions, 1 deletions
diff --git a/drivers/net/bnx2x_reg.h b/drivers/net/bnx2x_reg.h
index 944964e78c8..a1f3bf0cd63 100644
--- a/drivers/net/bnx2x_reg.h
+++ b/drivers/net/bnx2x_reg.h
@@ -766,6 +766,8 @@
766#define MCP_REG_MCPR_NVM_SW_ARB 0x86420 766#define MCP_REG_MCPR_NVM_SW_ARB 0x86420
767#define MCP_REG_MCPR_NVM_WRITE 0x86408 767#define MCP_REG_MCPR_NVM_WRITE 0x86408
768#define MCP_REG_MCPR_SCRATCH 0xa0000 768#define MCP_REG_MCPR_SCRATCH 0xa0000
769#define MISC_AEU_GENERAL_MASK_REG_AEU_NIG_CLOSE_MASK (0x1<<1)
770#define MISC_AEU_GENERAL_MASK_REG_AEU_PXP_CLOSE_MASK (0x1<<0)
769/* [R 32] read first 32 bit after inversion of function 0. mapped as 771/* [R 32] read first 32 bit after inversion of function 0. mapped as
770 follows: [0] NIG attention for function0; [1] NIG attention for 772 follows: [0] NIG attention for function0; [1] NIG attention for
771 function1; [2] GPIO1 mcp; [3] GPIO2 mcp; [4] GPIO3 mcp; [5] GPIO4 mcp; 773 function1; [2] GPIO1 mcp; [3] GPIO2 mcp; [4] GPIO3 mcp; [5] GPIO4 mcp;
@@ -1249,6 +1251,8 @@
1249#define MISC_REG_E1HMF_MODE 0xa5f8 1251#define MISC_REG_E1HMF_MODE 0xa5f8
1250/* [RW 32] Debug only: spare RW register reset by core reset */ 1252/* [RW 32] Debug only: spare RW register reset by core reset */
1251#define MISC_REG_GENERIC_CR_0 0xa460 1253#define MISC_REG_GENERIC_CR_0 0xa460
1254/* [RW 32] Debug only: spare RW register reset by por reset */
1255#define MISC_REG_GENERIC_POR_1 0xa474
1252/* [RW 32] GPIO. [31-28] FLOAT port 0; [27-24] FLOAT port 0; When any of 1256/* [RW 32] GPIO. [31-28] FLOAT port 0; [27-24] FLOAT port 0; When any of
1253 these bits is written as a '1'; the corresponding SPIO bit will turn off 1257 these bits is written as a '1'; the corresponding SPIO bit will turn off
1254 it's drivers and become an input. This is the reset state of all GPIO 1258 it's drivers and become an input. This is the reset state of all GPIO
@@ -1438,7 +1442,7 @@
1438 (~misc_registers_sw_timer_cfg_4.sw_timer_cfg_4[1] ) is set */ 1442 (~misc_registers_sw_timer_cfg_4.sw_timer_cfg_4[1] ) is set */
1439#define MISC_REG_SW_TIMER_RELOAD_VAL_4 0xa2fc 1443#define MISC_REG_SW_TIMER_RELOAD_VAL_4 0xa2fc
1440/* [RW 32] the value of the counter for sw timers1-8. there are 8 addresses 1444/* [RW 32] the value of the counter for sw timers1-8. there are 8 addresses
1441 in this register. addres 0 - timer 1; address - timer 2address 7 - 1445 in this register. addres 0 - timer 1; address 1 - timer 2, ... address 7 -
1442 timer 8 */ 1446 timer 8 */
1443#define MISC_REG_SW_TIMER_VAL 0xa5c0 1447#define MISC_REG_SW_TIMER_VAL 0xa5c0
1444/* [RW 1] Set by the MCP to remember if one or more of the drivers is/are 1448/* [RW 1] Set by the MCP to remember if one or more of the drivers is/are
@@ -2407,10 +2411,16 @@
2407/* [R 8] debug only: A bit mask for all PSWHST arbiter clients. '1' means 2411/* [R 8] debug only: A bit mask for all PSWHST arbiter clients. '1' means
2408 this client is waiting for the arbiter. */ 2412 this client is waiting for the arbiter. */
2409#define PXP_REG_HST_CLIENTS_WAITING_TO_ARB 0x103008 2413#define PXP_REG_HST_CLIENTS_WAITING_TO_ARB 0x103008
2414/* [RW 1] When 1; doorbells are discarded and not passed to doorbell queue
2415 block. Should be used for close the gates. */
2416#define PXP_REG_HST_DISCARD_DOORBELLS 0x1030a4
2410/* [R 1] debug only: '1' means this PSWHST is discarding doorbells. This bit 2417/* [R 1] debug only: '1' means this PSWHST is discarding doorbells. This bit
2411 should update accoring to 'hst_discard_doorbells' register when the state 2418 should update accoring to 'hst_discard_doorbells' register when the state
2412 machine is idle */ 2419 machine is idle */
2413#define PXP_REG_HST_DISCARD_DOORBELLS_STATUS 0x1030a0 2420#define PXP_REG_HST_DISCARD_DOORBELLS_STATUS 0x1030a0
2421/* [RW 1] When 1; new internal writes arriving to the block are discarded.
2422 Should be used for close the gates. */
2423#define PXP_REG_HST_DISCARD_INTERNAL_WRITES 0x1030a8
2414/* [R 6] debug only: A bit mask for all PSWHST internal write clients. '1' 2424/* [R 6] debug only: A bit mask for all PSWHST internal write clients. '1'
2415 means this PSWHST is discarding inputs from this client. Each bit should 2425 means this PSWHST is discarding inputs from this client. Each bit should
2416 update accoring to 'hst_discard_internal_writes' register when the state 2426 update accoring to 'hst_discard_internal_writes' register when the state
@@ -4422,11 +4432,21 @@
4422#define MISC_REGISTERS_GPIO_PORT_SHIFT 4 4432#define MISC_REGISTERS_GPIO_PORT_SHIFT 4
4423#define MISC_REGISTERS_GPIO_SET_POS 8 4433#define MISC_REGISTERS_GPIO_SET_POS 8
4424#define MISC_REGISTERS_RESET_REG_1_CLEAR 0x588 4434#define MISC_REGISTERS_RESET_REG_1_CLEAR 0x588
4435#define MISC_REGISTERS_RESET_REG_1_RST_HC (0x1<<29)
4425#define MISC_REGISTERS_RESET_REG_1_RST_NIG (0x1<<7) 4436#define MISC_REGISTERS_RESET_REG_1_RST_NIG (0x1<<7)
4437#define MISC_REGISTERS_RESET_REG_1_RST_PXP (0x1<<26)
4438#define MISC_REGISTERS_RESET_REG_1_RST_PXPV (0x1<<27)
4426#define MISC_REGISTERS_RESET_REG_1_SET 0x584 4439#define MISC_REGISTERS_RESET_REG_1_SET 0x584
4427#define MISC_REGISTERS_RESET_REG_2_CLEAR 0x598 4440#define MISC_REGISTERS_RESET_REG_2_CLEAR 0x598
4428#define MISC_REGISTERS_RESET_REG_2_RST_BMAC0 (0x1<<0) 4441#define MISC_REGISTERS_RESET_REG_2_RST_BMAC0 (0x1<<0)
4429#define MISC_REGISTERS_RESET_REG_2_RST_EMAC0_HARD_CORE (0x1<<14) 4442#define MISC_REGISTERS_RESET_REG_2_RST_EMAC0_HARD_CORE (0x1<<14)
4443#define MISC_REGISTERS_RESET_REG_2_RST_EMAC1_HARD_CORE (0x1<<15)
4444#define MISC_REGISTERS_RESET_REG_2_RST_GRC (0x1<<4)
4445#define MISC_REGISTERS_RESET_REG_2_RST_MCP_N_HARD_CORE_RST_B (0x1<<6)
4446#define MISC_REGISTERS_RESET_REG_2_RST_MCP_N_RESET_REG_HARD_CORE (0x1<<5)
4447#define MISC_REGISTERS_RESET_REG_2_RST_MDIO (0x1<<13)
4448#define MISC_REGISTERS_RESET_REG_2_RST_MISC_CORE (0x1<<11)
4449#define MISC_REGISTERS_RESET_REG_2_RST_RBCN (0x1<<9)
4430#define MISC_REGISTERS_RESET_REG_2_SET 0x594 4450#define MISC_REGISTERS_RESET_REG_2_SET 0x594
4431#define MISC_REGISTERS_RESET_REG_3_CLEAR 0x5a8 4451#define MISC_REGISTERS_RESET_REG_3_CLEAR 0x5a8
4432#define MISC_REGISTERS_RESET_REG_3_MISC_NIG_MUX_SERDES0_IDDQ (0x1<<1) 4452#define MISC_REGISTERS_RESET_REG_3_MISC_NIG_MUX_SERDES0_IDDQ (0x1<<1)
@@ -4454,6 +4474,7 @@
4454#define HW_LOCK_RESOURCE_GPIO 1 4474#define HW_LOCK_RESOURCE_GPIO 1
4455#define HW_LOCK_RESOURCE_MDIO 0 4475#define HW_LOCK_RESOURCE_MDIO 0
4456#define HW_LOCK_RESOURCE_PORT0_ATT_MASK 3 4476#define HW_LOCK_RESOURCE_PORT0_ATT_MASK 3
4477#define HW_LOCK_RESOURCE_RESERVED_08 8
4457#define HW_LOCK_RESOURCE_SPIO 2 4478#define HW_LOCK_RESOURCE_SPIO 2
4458#define HW_LOCK_RESOURCE_UNDI 5 4479#define HW_LOCK_RESOURCE_UNDI 5
4459#define PRS_FLAG_OVERETH_IPV4 1 4480#define PRS_FLAG_OVERETH_IPV4 1
@@ -4474,6 +4495,10 @@
4474#define AEU_INPUTS_ATTN_BITS_GPIO3_FUNCTION_0 (1<<5) 4495#define AEU_INPUTS_ATTN_BITS_GPIO3_FUNCTION_0 (1<<5)
4475#define AEU_INPUTS_ATTN_BITS_GPIO3_FUNCTION_1 (1<<9) 4496#define AEU_INPUTS_ATTN_BITS_GPIO3_FUNCTION_1 (1<<9)
4476#define AEU_INPUTS_ATTN_BITS_IGU_PARITY_ERROR (1<<12) 4497#define AEU_INPUTS_ATTN_BITS_IGU_PARITY_ERROR (1<<12)
4498#define AEU_INPUTS_ATTN_BITS_MCP_LATCHED_ROM_PARITY (1<<28)
4499#define AEU_INPUTS_ATTN_BITS_MCP_LATCHED_SCPAD_PARITY (1<<31)
4500#define AEU_INPUTS_ATTN_BITS_MCP_LATCHED_UMP_RX_PARITY (1<<29)
4501#define AEU_INPUTS_ATTN_BITS_MCP_LATCHED_UMP_TX_PARITY (1<<30)
4477#define AEU_INPUTS_ATTN_BITS_MISC_HW_INTERRUPT (1<<15) 4502#define AEU_INPUTS_ATTN_BITS_MISC_HW_INTERRUPT (1<<15)
4478#define AEU_INPUTS_ATTN_BITS_MISC_PARITY_ERROR (1<<14) 4503#define AEU_INPUTS_ATTN_BITS_MISC_PARITY_ERROR (1<<14)
4479#define AEU_INPUTS_ATTN_BITS_PARSER_PARITY_ERROR (1<<20) 4504#define AEU_INPUTS_ATTN_BITS_PARSER_PARITY_ERROR (1<<20)