diff options
Diffstat (limited to 'drivers/net/bnx2x/bnx2x_reg.h')
-rw-r--r-- | drivers/net/bnx2x/bnx2x_reg.h | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/drivers/net/bnx2x/bnx2x_reg.h b/drivers/net/bnx2x/bnx2x_reg.h index bfd875b72906..38ef7ca9f21d 100644 --- a/drivers/net/bnx2x/bnx2x_reg.h +++ b/drivers/net/bnx2x/bnx2x_reg.h | |||
@@ -18,6 +18,8 @@ | |||
18 | * WR - Write Clear (write 1 to clear the bit) | 18 | * WR - Write Clear (write 1 to clear the bit) |
19 | * | 19 | * |
20 | */ | 20 | */ |
21 | #ifndef BNX2X_REG_H | ||
22 | #define BNX2X_REG_H | ||
21 | 23 | ||
22 | #define ATC_ATC_INT_STS_REG_ADDRESS_ERROR (0x1<<0) | 24 | #define ATC_ATC_INT_STS_REG_ADDRESS_ERROR (0x1<<0) |
23 | #define ATC_ATC_INT_STS_REG_ATC_GPA_MULTIPLE_HITS (0x1<<2) | 25 | #define ATC_ATC_INT_STS_REG_ATC_GPA_MULTIPLE_HITS (0x1<<2) |
@@ -39,6 +41,8 @@ | |||
39 | #define BRB1_REG_BRB1_PRTY_MASK 0x60138 | 41 | #define BRB1_REG_BRB1_PRTY_MASK 0x60138 |
40 | /* [R 4] Parity register #0 read */ | 42 | /* [R 4] Parity register #0 read */ |
41 | #define BRB1_REG_BRB1_PRTY_STS 0x6012c | 43 | #define BRB1_REG_BRB1_PRTY_STS 0x6012c |
44 | /* [RC 4] Parity register #0 read clear */ | ||
45 | #define BRB1_REG_BRB1_PRTY_STS_CLR 0x60130 | ||
42 | /* [RW 10] At address BRB1_IND_FREE_LIST_PRS_CRDT initialize free head. At | 46 | /* [RW 10] At address BRB1_IND_FREE_LIST_PRS_CRDT initialize free head. At |
43 | * address BRB1_IND_FREE_LIST_PRS_CRDT+1 initialize free tail. At address | 47 | * address BRB1_IND_FREE_LIST_PRS_CRDT+1 initialize free tail. At address |
44 | * BRB1_IND_FREE_LIST_PRS_CRDT+2 initialize parser initial credit. Warning - | 48 | * BRB1_IND_FREE_LIST_PRS_CRDT+2 initialize parser initial credit. Warning - |
@@ -132,8 +136,12 @@ | |||
132 | #define CCM_REG_CCM_INT_MASK 0xd01e4 | 136 | #define CCM_REG_CCM_INT_MASK 0xd01e4 |
133 | /* [R 11] Interrupt register #0 read */ | 137 | /* [R 11] Interrupt register #0 read */ |
134 | #define CCM_REG_CCM_INT_STS 0xd01d8 | 138 | #define CCM_REG_CCM_INT_STS 0xd01d8 |
139 | /* [RW 27] Parity mask register #0 read/write */ | ||
140 | #define CCM_REG_CCM_PRTY_MASK 0xd01f4 | ||
135 | /* [R 27] Parity register #0 read */ | 141 | /* [R 27] Parity register #0 read */ |
136 | #define CCM_REG_CCM_PRTY_STS 0xd01e8 | 142 | #define CCM_REG_CCM_PRTY_STS 0xd01e8 |
143 | /* [RC 27] Parity register #0 read clear */ | ||
144 | #define CCM_REG_CCM_PRTY_STS_CLR 0xd01ec | ||
137 | /* [RW 3] The size of AG context region 0 in REG-pairs. Designates the MS | 145 | /* [RW 3] The size of AG context region 0 in REG-pairs. Designates the MS |
138 | REG-pair number (e.g. if region 0 is 6 REG-pairs; the value should be 5). | 146 | REG-pair number (e.g. if region 0 is 6 REG-pairs; the value should be 5). |
139 | Is used to determine the number of the AG context REG-pairs written back; | 147 | Is used to determine the number of the AG context REG-pairs written back; |
@@ -350,6 +358,8 @@ | |||
350 | #define CDU_REG_CDU_PRTY_MASK 0x10104c | 358 | #define CDU_REG_CDU_PRTY_MASK 0x10104c |
351 | /* [R 5] Parity register #0 read */ | 359 | /* [R 5] Parity register #0 read */ |
352 | #define CDU_REG_CDU_PRTY_STS 0x101040 | 360 | #define CDU_REG_CDU_PRTY_STS 0x101040 |
361 | /* [RC 5] Parity register #0 read clear */ | ||
362 | #define CDU_REG_CDU_PRTY_STS_CLR 0x101044 | ||
353 | /* [RC 32] logging of error data in case of a CDU load error: | 363 | /* [RC 32] logging of error data in case of a CDU load error: |
354 | {expected_cid[15:0]; xpected_type[2:0]; xpected_region[2:0]; ctive_error; | 364 | {expected_cid[15:0]; xpected_type[2:0]; xpected_region[2:0]; ctive_error; |
355 | ype_error; ctual_active; ctual_compressed_context}; */ | 365 | ype_error; ctual_active; ctual_compressed_context}; */ |
@@ -381,6 +391,8 @@ | |||
381 | #define CFC_REG_CFC_PRTY_MASK 0x104118 | 391 | #define CFC_REG_CFC_PRTY_MASK 0x104118 |
382 | /* [R 4] Parity register #0 read */ | 392 | /* [R 4] Parity register #0 read */ |
383 | #define CFC_REG_CFC_PRTY_STS 0x10410c | 393 | #define CFC_REG_CFC_PRTY_STS 0x10410c |
394 | /* [RC 4] Parity register #0 read clear */ | ||
395 | #define CFC_REG_CFC_PRTY_STS_CLR 0x104110 | ||
384 | /* [RW 21] CID cam access (21:1 - Data; alid - 0) */ | 396 | /* [RW 21] CID cam access (21:1 - Data; alid - 0) */ |
385 | #define CFC_REG_CID_CAM 0x104800 | 397 | #define CFC_REG_CID_CAM 0x104800 |
386 | #define CFC_REG_CONTROL0 0x104028 | 398 | #define CFC_REG_CONTROL0 0x104028 |
@@ -466,6 +478,8 @@ | |||
466 | #define CSDM_REG_CSDM_PRTY_MASK 0xc22bc | 478 | #define CSDM_REG_CSDM_PRTY_MASK 0xc22bc |
467 | /* [R 11] Parity register #0 read */ | 479 | /* [R 11] Parity register #0 read */ |
468 | #define CSDM_REG_CSDM_PRTY_STS 0xc22b0 | 480 | #define CSDM_REG_CSDM_PRTY_STS 0xc22b0 |
481 | /* [RC 11] Parity register #0 read clear */ | ||
482 | #define CSDM_REG_CSDM_PRTY_STS_CLR 0xc22b4 | ||
469 | #define CSDM_REG_ENABLE_IN1 0xc2238 | 483 | #define CSDM_REG_ENABLE_IN1 0xc2238 |
470 | #define CSDM_REG_ENABLE_IN2 0xc223c | 484 | #define CSDM_REG_ENABLE_IN2 0xc223c |
471 | #define CSDM_REG_ENABLE_OUT1 0xc2240 | 485 | #define CSDM_REG_ENABLE_OUT1 0xc2240 |
@@ -556,6 +570,9 @@ | |||
556 | /* [R 32] Parity register #0 read */ | 570 | /* [R 32] Parity register #0 read */ |
557 | #define CSEM_REG_CSEM_PRTY_STS_0 0x200124 | 571 | #define CSEM_REG_CSEM_PRTY_STS_0 0x200124 |
558 | #define CSEM_REG_CSEM_PRTY_STS_1 0x200134 | 572 | #define CSEM_REG_CSEM_PRTY_STS_1 0x200134 |
573 | /* [RC 32] Parity register #0 read clear */ | ||
574 | #define CSEM_REG_CSEM_PRTY_STS_CLR_0 0x200128 | ||
575 | #define CSEM_REG_CSEM_PRTY_STS_CLR_1 0x200138 | ||
559 | #define CSEM_REG_ENABLE_IN 0x2000a4 | 576 | #define CSEM_REG_ENABLE_IN 0x2000a4 |
560 | #define CSEM_REG_ENABLE_OUT 0x2000a8 | 577 | #define CSEM_REG_ENABLE_OUT 0x2000a8 |
561 | /* [RW 32] This address space contains all registers and memories that are | 578 | /* [RW 32] This address space contains all registers and memories that are |
@@ -648,6 +665,8 @@ | |||
648 | #define DBG_REG_DBG_PRTY_MASK 0xc0a8 | 665 | #define DBG_REG_DBG_PRTY_MASK 0xc0a8 |
649 | /* [R 1] Parity register #0 read */ | 666 | /* [R 1] Parity register #0 read */ |
650 | #define DBG_REG_DBG_PRTY_STS 0xc09c | 667 | #define DBG_REG_DBG_PRTY_STS 0xc09c |
668 | /* [RC 1] Parity register #0 read clear */ | ||
669 | #define DBG_REG_DBG_PRTY_STS_CLR 0xc0a0 | ||
651 | /* [RW 1] When set the DMAE will process the commands as in E1.5. 1.The | 670 | /* [RW 1] When set the DMAE will process the commands as in E1.5. 1.The |
652 | * function that is used is always SRC-PCI; 2.VF_Valid = 0; 3.VFID=0; | 671 | * function that is used is always SRC-PCI; 2.VF_Valid = 0; 3.VFID=0; |
653 | * 4.Completion function=0; 5.Error handling=0 */ | 672 | * 4.Completion function=0; 5.Error handling=0 */ |
@@ -668,6 +687,8 @@ | |||
668 | #define DMAE_REG_DMAE_PRTY_MASK 0x102064 | 687 | #define DMAE_REG_DMAE_PRTY_MASK 0x102064 |
669 | /* [R 4] Parity register #0 read */ | 688 | /* [R 4] Parity register #0 read */ |
670 | #define DMAE_REG_DMAE_PRTY_STS 0x102058 | 689 | #define DMAE_REG_DMAE_PRTY_STS 0x102058 |
690 | /* [RC 4] Parity register #0 read clear */ | ||
691 | #define DMAE_REG_DMAE_PRTY_STS_CLR 0x10205c | ||
671 | /* [RW 1] Command 0 go. */ | 692 | /* [RW 1] Command 0 go. */ |
672 | #define DMAE_REG_GO_C0 0x102080 | 693 | #define DMAE_REG_GO_C0 0x102080 |
673 | /* [RW 1] Command 1 go. */ | 694 | /* [RW 1] Command 1 go. */ |
@@ -734,6 +755,8 @@ | |||
734 | #define DORQ_REG_DORQ_PRTY_MASK 0x170190 | 755 | #define DORQ_REG_DORQ_PRTY_MASK 0x170190 |
735 | /* [R 2] Parity register #0 read */ | 756 | /* [R 2] Parity register #0 read */ |
736 | #define DORQ_REG_DORQ_PRTY_STS 0x170184 | 757 | #define DORQ_REG_DORQ_PRTY_STS 0x170184 |
758 | /* [RC 2] Parity register #0 read clear */ | ||
759 | #define DORQ_REG_DORQ_PRTY_STS_CLR 0x170188 | ||
737 | /* [RW 8] The address to write the DPM CID to STORM. */ | 760 | /* [RW 8] The address to write the DPM CID to STORM. */ |
738 | #define DORQ_REG_DPM_CID_ADDR 0x170044 | 761 | #define DORQ_REG_DPM_CID_ADDR 0x170044 |
739 | /* [RW 5] The DPM mode CID extraction offset. */ | 762 | /* [RW 5] The DPM mode CID extraction offset. */ |
@@ -842,8 +865,12 @@ | |||
842 | /* [R 1] data availble for error memory. If this bit is clear do not red | 865 | /* [R 1] data availble for error memory. If this bit is clear do not red |
843 | * from error_handling_memory. */ | 866 | * from error_handling_memory. */ |
844 | #define IGU_REG_ERROR_HANDLING_DATA_VALID 0x130130 | 867 | #define IGU_REG_ERROR_HANDLING_DATA_VALID 0x130130 |
868 | /* [RW 11] Parity mask register #0 read/write */ | ||
869 | #define IGU_REG_IGU_PRTY_MASK 0x1300a8 | ||
845 | /* [R 11] Parity register #0 read */ | 870 | /* [R 11] Parity register #0 read */ |
846 | #define IGU_REG_IGU_PRTY_STS 0x13009c | 871 | #define IGU_REG_IGU_PRTY_STS 0x13009c |
872 | /* [RC 11] Parity register #0 read clear */ | ||
873 | #define IGU_REG_IGU_PRTY_STS_CLR 0x1300a0 | ||
847 | /* [R 4] Debug: int_handle_fsm */ | 874 | /* [R 4] Debug: int_handle_fsm */ |
848 | #define IGU_REG_INT_HANDLE_FSM 0x130050 | 875 | #define IGU_REG_INT_HANDLE_FSM 0x130050 |
849 | #define IGU_REG_LEADING_EDGE_LATCH 0x130134 | 876 | #define IGU_REG_LEADING_EDGE_LATCH 0x130134 |
@@ -1501,6 +1528,8 @@ | |||
1501 | #define MISC_REG_MISC_PRTY_MASK 0xa398 | 1528 | #define MISC_REG_MISC_PRTY_MASK 0xa398 |
1502 | /* [R 1] Parity register #0 read */ | 1529 | /* [R 1] Parity register #0 read */ |
1503 | #define MISC_REG_MISC_PRTY_STS 0xa38c | 1530 | #define MISC_REG_MISC_PRTY_STS 0xa38c |
1531 | /* [RC 1] Parity register #0 read clear */ | ||
1532 | #define MISC_REG_MISC_PRTY_STS_CLR 0xa390 | ||
1504 | #define MISC_REG_NIG_WOL_P0 0xa270 | 1533 | #define MISC_REG_NIG_WOL_P0 0xa270 |
1505 | #define MISC_REG_NIG_WOL_P1 0xa274 | 1534 | #define MISC_REG_NIG_WOL_P1 0xa274 |
1506 | /* [R 1] If set indicate that the pcie_rst_b was asserted without perst | 1535 | /* [R 1] If set indicate that the pcie_rst_b was asserted without perst |
@@ -2082,6 +2111,10 @@ | |||
2082 | #define PBF_REG_PBF_INT_MASK 0x1401d4 | 2111 | #define PBF_REG_PBF_INT_MASK 0x1401d4 |
2083 | /* [R 5] Interrupt register #0 read */ | 2112 | /* [R 5] Interrupt register #0 read */ |
2084 | #define PBF_REG_PBF_INT_STS 0x1401c8 | 2113 | #define PBF_REG_PBF_INT_STS 0x1401c8 |
2114 | /* [RW 20] Parity mask register #0 read/write */ | ||
2115 | #define PBF_REG_PBF_PRTY_MASK 0x1401e4 | ||
2116 | /* [RC 20] Parity register #0 read clear */ | ||
2117 | #define PBF_REG_PBF_PRTY_STS_CLR 0x1401dc | ||
2085 | #define PB_REG_CONTROL 0 | 2118 | #define PB_REG_CONTROL 0 |
2086 | /* [RW 2] Interrupt mask register #0 read/write */ | 2119 | /* [RW 2] Interrupt mask register #0 read/write */ |
2087 | #define PB_REG_PB_INT_MASK 0x28 | 2120 | #define PB_REG_PB_INT_MASK 0x28 |
@@ -2091,6 +2124,8 @@ | |||
2091 | #define PB_REG_PB_PRTY_MASK 0x38 | 2124 | #define PB_REG_PB_PRTY_MASK 0x38 |
2092 | /* [R 4] Parity register #0 read */ | 2125 | /* [R 4] Parity register #0 read */ |
2093 | #define PB_REG_PB_PRTY_STS 0x2c | 2126 | #define PB_REG_PB_PRTY_STS 0x2c |
2127 | /* [RC 4] Parity register #0 read clear */ | ||
2128 | #define PB_REG_PB_PRTY_STS_CLR 0x30 | ||
2094 | #define PGLUE_B_PGLUE_B_INT_STS_REG_ADDRESS_ERROR (0x1<<0) | 2129 | #define PGLUE_B_PGLUE_B_INT_STS_REG_ADDRESS_ERROR (0x1<<0) |
2095 | #define PGLUE_B_PGLUE_B_INT_STS_REG_CSSNOOP_FIFO_OVERFLOW (0x1<<8) | 2130 | #define PGLUE_B_PGLUE_B_INT_STS_REG_CSSNOOP_FIFO_OVERFLOW (0x1<<8) |
2096 | #define PGLUE_B_PGLUE_B_INT_STS_REG_INCORRECT_RCV_BEHAVIOR (0x1<<1) | 2131 | #define PGLUE_B_PGLUE_B_INT_STS_REG_INCORRECT_RCV_BEHAVIOR (0x1<<1) |
@@ -2446,6 +2481,8 @@ | |||
2446 | #define PRS_REG_PRS_PRTY_MASK 0x401a4 | 2481 | #define PRS_REG_PRS_PRTY_MASK 0x401a4 |
2447 | /* [R 8] Parity register #0 read */ | 2482 | /* [R 8] Parity register #0 read */ |
2448 | #define PRS_REG_PRS_PRTY_STS 0x40198 | 2483 | #define PRS_REG_PRS_PRTY_STS 0x40198 |
2484 | /* [RC 8] Parity register #0 read clear */ | ||
2485 | #define PRS_REG_PRS_PRTY_STS_CLR 0x4019c | ||
2449 | /* [RW 8] Context region for pure acknowledge packets. Used in CFC load | 2486 | /* [RW 8] Context region for pure acknowledge packets. Used in CFC load |
2450 | request message */ | 2487 | request message */ |
2451 | #define PRS_REG_PURE_REGIONS 0x40024 | 2488 | #define PRS_REG_PURE_REGIONS 0x40024 |
@@ -2599,6 +2636,9 @@ | |||
2599 | /* [R 32] Parity register #0 read */ | 2636 | /* [R 32] Parity register #0 read */ |
2600 | #define PXP2_REG_PXP2_PRTY_STS_0 0x12057c | 2637 | #define PXP2_REG_PXP2_PRTY_STS_0 0x12057c |
2601 | #define PXP2_REG_PXP2_PRTY_STS_1 0x12058c | 2638 | #define PXP2_REG_PXP2_PRTY_STS_1 0x12058c |
2639 | /* [RC 32] Parity register #0 read clear */ | ||
2640 | #define PXP2_REG_PXP2_PRTY_STS_CLR_0 0x120580 | ||
2641 | #define PXP2_REG_PXP2_PRTY_STS_CLR_1 0x120590 | ||
2602 | /* [R 1] Debug only: The 'almost full' indication from each fifo (gives | 2642 | /* [R 1] Debug only: The 'almost full' indication from each fifo (gives |
2603 | indication about backpressure) */ | 2643 | indication about backpressure) */ |
2604 | #define PXP2_REG_RD_ALMOST_FULL_0 0x120424 | 2644 | #define PXP2_REG_RD_ALMOST_FULL_0 0x120424 |
@@ -3001,6 +3041,8 @@ | |||
3001 | #define PXP_REG_PXP_PRTY_MASK 0x103094 | 3041 | #define PXP_REG_PXP_PRTY_MASK 0x103094 |
3002 | /* [R 26] Parity register #0 read */ | 3042 | /* [R 26] Parity register #0 read */ |
3003 | #define PXP_REG_PXP_PRTY_STS 0x103088 | 3043 | #define PXP_REG_PXP_PRTY_STS 0x103088 |
3044 | /* [RC 27] Parity register #0 read clear */ | ||
3045 | #define PXP_REG_PXP_PRTY_STS_CLR 0x10308c | ||
3004 | /* [RW 4] The activity counter initial increment value sent in the load | 3046 | /* [RW 4] The activity counter initial increment value sent in the load |
3005 | request */ | 3047 | request */ |
3006 | #define QM_REG_ACTCTRINITVAL_0 0x168040 | 3048 | #define QM_REG_ACTCTRINITVAL_0 0x168040 |
@@ -3157,6 +3199,8 @@ | |||
3157 | #define QM_REG_QM_PRTY_MASK 0x168454 | 3199 | #define QM_REG_QM_PRTY_MASK 0x168454 |
3158 | /* [R 12] Parity register #0 read */ | 3200 | /* [R 12] Parity register #0 read */ |
3159 | #define QM_REG_QM_PRTY_STS 0x168448 | 3201 | #define QM_REG_QM_PRTY_STS 0x168448 |
3202 | /* [RC 12] Parity register #0 read clear */ | ||
3203 | #define QM_REG_QM_PRTY_STS_CLR 0x16844c | ||
3160 | /* [R 32] Current queues in pipeline: Queues from 32 to 63 */ | 3204 | /* [R 32] Current queues in pipeline: Queues from 32 to 63 */ |
3161 | #define QM_REG_QSTATUS_HIGH 0x16802c | 3205 | #define QM_REG_QSTATUS_HIGH 0x16802c |
3162 | /* [R 32] Current queues in pipeline: Queues from 96 to 127 */ | 3206 | /* [R 32] Current queues in pipeline: Queues from 96 to 127 */ |
@@ -3442,6 +3486,8 @@ | |||
3442 | #define QM_REG_WRRWEIGHTS_9 0x168848 | 3486 | #define QM_REG_WRRWEIGHTS_9 0x168848 |
3443 | /* [R 6] Keep the fill level of the fifo from write client 1 */ | 3487 | /* [R 6] Keep the fill level of the fifo from write client 1 */ |
3444 | #define QM_REG_XQM_WRC_FIFOLVL 0x168000 | 3488 | #define QM_REG_XQM_WRC_FIFOLVL 0x168000 |
3489 | /* [W 1] reset to parity interrupt */ | ||
3490 | #define SEM_FAST_REG_PARITY_RST 0x18840 | ||
3445 | #define SRC_REG_COUNTFREE0 0x40500 | 3491 | #define SRC_REG_COUNTFREE0 0x40500 |
3446 | /* [RW 1] If clr the searcher is compatible to E1 A0 - support only two | 3492 | /* [RW 1] If clr the searcher is compatible to E1 A0 - support only two |
3447 | ports. If set the searcher support 8 functions. */ | 3493 | ports. If set the searcher support 8 functions. */ |
@@ -3470,6 +3516,8 @@ | |||
3470 | #define SRC_REG_SRC_PRTY_MASK 0x404c8 | 3516 | #define SRC_REG_SRC_PRTY_MASK 0x404c8 |
3471 | /* [R 3] Parity register #0 read */ | 3517 | /* [R 3] Parity register #0 read */ |
3472 | #define SRC_REG_SRC_PRTY_STS 0x404bc | 3518 | #define SRC_REG_SRC_PRTY_STS 0x404bc |
3519 | /* [RC 3] Parity register #0 read clear */ | ||
3520 | #define SRC_REG_SRC_PRTY_STS_CLR 0x404c0 | ||
3473 | /* [R 4] Used to read the value of the XX protection CAM occupancy counter. */ | 3521 | /* [R 4] Used to read the value of the XX protection CAM occupancy counter. */ |
3474 | #define TCM_REG_CAM_OCCUP 0x5017c | 3522 | #define TCM_REG_CAM_OCCUP 0x5017c |
3475 | /* [RW 1] CDU AG read Interface enable. If 0 - the request input is | 3523 | /* [RW 1] CDU AG read Interface enable. If 0 - the request input is |
@@ -3596,8 +3644,12 @@ | |||
3596 | #define TCM_REG_TCM_INT_MASK 0x501dc | 3644 | #define TCM_REG_TCM_INT_MASK 0x501dc |
3597 | /* [R 11] Interrupt register #0 read */ | 3645 | /* [R 11] Interrupt register #0 read */ |
3598 | #define TCM_REG_TCM_INT_STS 0x501d0 | 3646 | #define TCM_REG_TCM_INT_STS 0x501d0 |
3647 | /* [RW 27] Parity mask register #0 read/write */ | ||
3648 | #define TCM_REG_TCM_PRTY_MASK 0x501ec | ||
3599 | /* [R 27] Parity register #0 read */ | 3649 | /* [R 27] Parity register #0 read */ |
3600 | #define TCM_REG_TCM_PRTY_STS 0x501e0 | 3650 | #define TCM_REG_TCM_PRTY_STS 0x501e0 |
3651 | /* [RC 27] Parity register #0 read clear */ | ||
3652 | #define TCM_REG_TCM_PRTY_STS_CLR 0x501e4 | ||
3601 | /* [RW 3] The size of AG context region 0 in REG-pairs. Designates the MS | 3653 | /* [RW 3] The size of AG context region 0 in REG-pairs. Designates the MS |
3602 | REG-pair number (e.g. if region 0 is 6 REG-pairs; the value should be 5). | 3654 | REG-pair number (e.g. if region 0 is 6 REG-pairs; the value should be 5). |
3603 | Is used to determine the number of the AG context REG-pairs written back; | 3655 | Is used to determine the number of the AG context REG-pairs written back; |
@@ -3755,6 +3807,10 @@ | |||
3755 | #define TM_REG_TM_INT_MASK 0x1640fc | 3807 | #define TM_REG_TM_INT_MASK 0x1640fc |
3756 | /* [R 1] Interrupt register #0 read */ | 3808 | /* [R 1] Interrupt register #0 read */ |
3757 | #define TM_REG_TM_INT_STS 0x1640f0 | 3809 | #define TM_REG_TM_INT_STS 0x1640f0 |
3810 | /* [RW 7] Parity mask register #0 read/write */ | ||
3811 | #define TM_REG_TM_PRTY_MASK 0x16410c | ||
3812 | /* [RC 7] Parity register #0 read clear */ | ||
3813 | #define TM_REG_TM_PRTY_STS_CLR 0x164104 | ||
3758 | /* [RW 8] The event id for aggregated interrupt 0 */ | 3814 | /* [RW 8] The event id for aggregated interrupt 0 */ |
3759 | #define TSDM_REG_AGG_INT_EVENT_0 0x42038 | 3815 | #define TSDM_REG_AGG_INT_EVENT_0 0x42038 |
3760 | #define TSDM_REG_AGG_INT_EVENT_1 0x4203c | 3816 | #define TSDM_REG_AGG_INT_EVENT_1 0x4203c |
@@ -3835,6 +3891,8 @@ | |||
3835 | #define TSDM_REG_TSDM_PRTY_MASK 0x422bc | 3891 | #define TSDM_REG_TSDM_PRTY_MASK 0x422bc |
3836 | /* [R 11] Parity register #0 read */ | 3892 | /* [R 11] Parity register #0 read */ |
3837 | #define TSDM_REG_TSDM_PRTY_STS 0x422b0 | 3893 | #define TSDM_REG_TSDM_PRTY_STS 0x422b0 |
3894 | /* [RC 11] Parity register #0 read clear */ | ||
3895 | #define TSDM_REG_TSDM_PRTY_STS_CLR 0x422b4 | ||
3838 | /* [RW 5] The number of time_slots in the arbitration cycle */ | 3896 | /* [RW 5] The number of time_slots in the arbitration cycle */ |
3839 | #define TSEM_REG_ARB_CYCLE_SIZE 0x180034 | 3897 | #define TSEM_REG_ARB_CYCLE_SIZE 0x180034 |
3840 | /* [RW 3] The source that is associated with arbitration element 0. Source | 3898 | /* [RW 3] The source that is associated with arbitration element 0. Source |
@@ -3914,6 +3972,9 @@ | |||
3914 | #define TSEM_REG_SLOW_EXT_STORE_EMPTY 0x1802a0 | 3972 | #define TSEM_REG_SLOW_EXT_STORE_EMPTY 0x1802a0 |
3915 | /* [RW 8] List of free threads . There is a bit per thread. */ | 3973 | /* [RW 8] List of free threads . There is a bit per thread. */ |
3916 | #define TSEM_REG_THREADS_LIST 0x1802e4 | 3974 | #define TSEM_REG_THREADS_LIST 0x1802e4 |
3975 | /* [RC 32] Parity register #0 read clear */ | ||
3976 | #define TSEM_REG_TSEM_PRTY_STS_CLR_0 0x180118 | ||
3977 | #define TSEM_REG_TSEM_PRTY_STS_CLR_1 0x180128 | ||
3917 | /* [RW 3] The arbitration scheme of time_slot 0 */ | 3978 | /* [RW 3] The arbitration scheme of time_slot 0 */ |
3918 | #define TSEM_REG_TS_0_AS 0x180038 | 3979 | #define TSEM_REG_TS_0_AS 0x180038 |
3919 | /* [RW 3] The arbitration scheme of time_slot 10 */ | 3980 | /* [RW 3] The arbitration scheme of time_slot 10 */ |
@@ -4116,6 +4177,8 @@ | |||
4116 | #define UCM_REG_UCM_INT_STS 0xe01c8 | 4177 | #define UCM_REG_UCM_INT_STS 0xe01c8 |
4117 | /* [R 27] Parity register #0 read */ | 4178 | /* [R 27] Parity register #0 read */ |
4118 | #define UCM_REG_UCM_PRTY_STS 0xe01d8 | 4179 | #define UCM_REG_UCM_PRTY_STS 0xe01d8 |
4180 | /* [RC 27] Parity register #0 read clear */ | ||
4181 | #define UCM_REG_UCM_PRTY_STS_CLR 0xe01dc | ||
4119 | /* [RW 2] The size of AG context region 0 in REG-pairs. Designates the MS | 4182 | /* [RW 2] The size of AG context region 0 in REG-pairs. Designates the MS |
4120 | REG-pair number (e.g. if region 0 is 6 REG-pairs; the value should be 5). | 4183 | REG-pair number (e.g. if region 0 is 6 REG-pairs; the value should be 5). |
4121 | Is used to determine the number of the AG context REG-pairs written back; | 4184 | Is used to determine the number of the AG context REG-pairs written back; |
@@ -4292,6 +4355,8 @@ | |||
4292 | #define USDM_REG_USDM_PRTY_MASK 0xc42c0 | 4355 | #define USDM_REG_USDM_PRTY_MASK 0xc42c0 |
4293 | /* [R 11] Parity register #0 read */ | 4356 | /* [R 11] Parity register #0 read */ |
4294 | #define USDM_REG_USDM_PRTY_STS 0xc42b4 | 4357 | #define USDM_REG_USDM_PRTY_STS 0xc42b4 |
4358 | /* [RC 11] Parity register #0 read clear */ | ||
4359 | #define USDM_REG_USDM_PRTY_STS_CLR 0xc42b8 | ||
4295 | /* [RW 5] The number of time_slots in the arbitration cycle */ | 4360 | /* [RW 5] The number of time_slots in the arbitration cycle */ |
4296 | #define USEM_REG_ARB_CYCLE_SIZE 0x300034 | 4361 | #define USEM_REG_ARB_CYCLE_SIZE 0x300034 |
4297 | /* [RW 3] The source that is associated with arbitration element 0. Source | 4362 | /* [RW 3] The source that is associated with arbitration element 0. Source |
@@ -4421,6 +4486,9 @@ | |||
4421 | /* [R 32] Parity register #0 read */ | 4486 | /* [R 32] Parity register #0 read */ |
4422 | #define USEM_REG_USEM_PRTY_STS_0 0x300124 | 4487 | #define USEM_REG_USEM_PRTY_STS_0 0x300124 |
4423 | #define USEM_REG_USEM_PRTY_STS_1 0x300134 | 4488 | #define USEM_REG_USEM_PRTY_STS_1 0x300134 |
4489 | /* [RC 32] Parity register #0 read clear */ | ||
4490 | #define USEM_REG_USEM_PRTY_STS_CLR_0 0x300128 | ||
4491 | #define USEM_REG_USEM_PRTY_STS_CLR_1 0x300138 | ||
4424 | /* [W 7] VF or PF ID for reset error bit. Values 0-63 reset error bit for 64 | 4492 | /* [W 7] VF or PF ID for reset error bit. Values 0-63 reset error bit for 64 |
4425 | * VF; values 64-67 reset error for 4 PF; values 68-127 are not valid. */ | 4493 | * VF; values 64-67 reset error for 4 PF; values 68-127 are not valid. */ |
4426 | #define USEM_REG_VFPF_ERR_NUM 0x300380 | 4494 | #define USEM_REG_VFPF_ERR_NUM 0x300380 |
@@ -4797,6 +4865,8 @@ | |||
4797 | #define XSDM_REG_XSDM_PRTY_MASK 0x1662bc | 4865 | #define XSDM_REG_XSDM_PRTY_MASK 0x1662bc |
4798 | /* [R 11] Parity register #0 read */ | 4866 | /* [R 11] Parity register #0 read */ |
4799 | #define XSDM_REG_XSDM_PRTY_STS 0x1662b0 | 4867 | #define XSDM_REG_XSDM_PRTY_STS 0x1662b0 |
4868 | /* [RC 11] Parity register #0 read clear */ | ||
4869 | #define XSDM_REG_XSDM_PRTY_STS_CLR 0x1662b4 | ||
4800 | /* [RW 5] The number of time_slots in the arbitration cycle */ | 4870 | /* [RW 5] The number of time_slots in the arbitration cycle */ |
4801 | #define XSEM_REG_ARB_CYCLE_SIZE 0x280034 | 4871 | #define XSEM_REG_ARB_CYCLE_SIZE 0x280034 |
4802 | /* [RW 3] The source that is associated with arbitration element 0. Source | 4872 | /* [RW 3] The source that is associated with arbitration element 0. Source |
@@ -4929,6 +4999,9 @@ | |||
4929 | /* [R 32] Parity register #0 read */ | 4999 | /* [R 32] Parity register #0 read */ |
4930 | #define XSEM_REG_XSEM_PRTY_STS_0 0x280124 | 5000 | #define XSEM_REG_XSEM_PRTY_STS_0 0x280124 |
4931 | #define XSEM_REG_XSEM_PRTY_STS_1 0x280134 | 5001 | #define XSEM_REG_XSEM_PRTY_STS_1 0x280134 |
5002 | /* [RC 32] Parity register #0 read clear */ | ||
5003 | #define XSEM_REG_XSEM_PRTY_STS_CLR_0 0x280128 | ||
5004 | #define XSEM_REG_XSEM_PRTY_STS_CLR_1 0x280138 | ||
4932 | #define MCPR_NVM_ACCESS_ENABLE_EN (1L<<0) | 5005 | #define MCPR_NVM_ACCESS_ENABLE_EN (1L<<0) |
4933 | #define MCPR_NVM_ACCESS_ENABLE_WR_EN (1L<<1) | 5006 | #define MCPR_NVM_ACCESS_ENABLE_WR_EN (1L<<1) |
4934 | #define MCPR_NVM_ADDR_NVM_ADDR_VALUE (0xffffffL<<0) | 5007 | #define MCPR_NVM_ADDR_NVM_ADDR_VALUE (0xffffffL<<0) |
@@ -6316,3 +6389,4 @@ static inline u8 calc_crc8(u32 data, u8 crc) | |||
6316 | } | 6389 | } |
6317 | 6390 | ||
6318 | 6391 | ||
6392 | #endif /* BNX2X_REG_H */ | ||