diff options
author | Eilon Greenstein <eilong@broadcom.com> | 2009-02-16 02:24:08 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-16 02:24:08 -0500 |
commit | 8d9c5f34a25d6a30d15a800d83a3428ad44271d8 (patch) | |
tree | 64b1115e74d23ae5dc24f38ab070f85acfcde430 /drivers/net/bnx2x_reg.h | |
parent | 33af6bcc005a826726b48e8775df5d58112bc10b (diff) |
bnx2x: New FW
This is the FW blob and the relevant definitions without any logic. It
also contains the minimal mandatory code changes to work with this FW
but it does not contain enabling of the new features that this FW
provides.
This FW is needed for:
- More efficient multi-queue
- per queue statistics
- Big-endian issue with MSI
- Improved pause response
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x_reg.h')
-rw-r--r-- | drivers/net/bnx2x_reg.h | 147 |
1 files changed, 145 insertions, 2 deletions
diff --git a/drivers/net/bnx2x_reg.h b/drivers/net/bnx2x_reg.h index d084e5fc4b51..fc957fa5c249 100644 --- a/drivers/net/bnx2x_reg.h +++ b/drivers/net/bnx2x_reg.h | |||
@@ -125,6 +125,10 @@ | |||
125 | stands for weight 8 (the most prioritised); 1 stands for weight 1(least | 125 | stands for weight 8 (the most prioritised); 1 stands for weight 1(least |
126 | prioritised); 2 stands for weight 2; tc. */ | 126 | prioritised); 2 stands for weight 2; tc. */ |
127 | #define CCM_REG_CQM_P_WEIGHT 0xd00b8 | 127 | #define CCM_REG_CQM_P_WEIGHT 0xd00b8 |
128 | /* [RW 3] The weight of the QM (secondary) input in the WRR mechanism. 0 | ||
129 | stands for weight 8 (the most prioritised); 1 stands for weight 1(least | ||
130 | prioritised); 2 stands for weight 2; tc. */ | ||
131 | #define CCM_REG_CQM_S_WEIGHT 0xd00bc | ||
128 | /* [RW 1] Input SDM Interface enable. If 0 - the valid input is disregarded; | 132 | /* [RW 1] Input SDM Interface enable. If 0 - the valid input is disregarded; |
129 | acknowledge output is deasserted; all other signals are treated as usual; | 133 | acknowledge output is deasserted; all other signals are treated as usual; |
130 | if 1 - normal activity. */ | 134 | if 1 - normal activity. */ |
@@ -132,6 +136,10 @@ | |||
132 | /* [RC 1] Set when the message length mismatch (relative to last indication) | 136 | /* [RC 1] Set when the message length mismatch (relative to last indication) |
133 | at the SDM interface is detected. */ | 137 | at the SDM interface is detected. */ |
134 | #define CCM_REG_CSDM_LENGTH_MIS 0xd0170 | 138 | #define CCM_REG_CSDM_LENGTH_MIS 0xd0170 |
139 | /* [RW 3] The weight of the SDM input in the WRR mechanism. 0 stands for | ||
140 | weight 8 (the most prioritised); 1 stands for weight 1(least | ||
141 | prioritised); 2 stands for weight 2; tc. */ | ||
142 | #define CCM_REG_CSDM_WEIGHT 0xd00b4 | ||
135 | /* [RW 28] The CM header for QM formatting in case of an error in the QM | 143 | /* [RW 28] The CM header for QM formatting in case of an error in the QM |
136 | inputs. */ | 144 | inputs. */ |
137 | #define CCM_REG_ERR_CCM_HDR 0xd0094 | 145 | #define CCM_REG_ERR_CCM_HDR 0xd0094 |
@@ -211,6 +219,11 @@ | |||
211 | /* [RC 1] Set when the message length mismatch (relative to last indication) | 219 | /* [RC 1] Set when the message length mismatch (relative to last indication) |
212 | at the STORM interface is detected. */ | 220 | at the STORM interface is detected. */ |
213 | #define CCM_REG_STORM_LENGTH_MIS 0xd016c | 221 | #define CCM_REG_STORM_LENGTH_MIS 0xd016c |
222 | /* [RW 3] The weight of the STORM input in the WRR (Weighted Round robin) | ||
223 | mechanism. 0 stands for weight 8 (the most prioritised); 1 stands for | ||
224 | weight 1(least prioritised); 2 stands for weight 2 (more prioritised); | ||
225 | tc. */ | ||
226 | #define CCM_REG_STORM_WEIGHT 0xd009c | ||
214 | /* [RW 1] Input tsem Interface enable. If 0 - the valid input is | 227 | /* [RW 1] Input tsem Interface enable. If 0 - the valid input is |
215 | disregarded; acknowledge output is deasserted; all other signals are | 228 | disregarded; acknowledge output is deasserted; all other signals are |
216 | treated as usual; if 1 - normal activity. */ | 229 | treated as usual; if 1 - normal activity. */ |
@@ -323,7 +336,11 @@ | |||
323 | set one of these bits. the bit description can be found in CFC | 336 | set one of these bits. the bit description can be found in CFC |
324 | specifications */ | 337 | specifications */ |
325 | #define CFC_REG_ERROR_VECTOR 0x10403c | 338 | #define CFC_REG_ERROR_VECTOR 0x10403c |
339 | /* [WB 93] LCID info ram access */ | ||
340 | #define CFC_REG_INFO_RAM 0x105000 | ||
341 | #define CFC_REG_INFO_RAM_SIZE 1024 | ||
326 | #define CFC_REG_INIT_REG 0x10404c | 342 | #define CFC_REG_INIT_REG 0x10404c |
343 | #define CFC_REG_INTERFACES 0x104058 | ||
327 | /* [RW 24] {weight_load_client7[2:0] to weight_load_client0[2:0]}. this | 344 | /* [RW 24] {weight_load_client7[2:0] to weight_load_client0[2:0]}. this |
328 | field allows changing the priorities of the weighted-round-robin arbiter | 345 | field allows changing the priorities of the weighted-round-robin arbiter |
329 | which selects which CFC load client should be served next */ | 346 | which selects which CFC load client should be served next */ |
@@ -337,8 +354,6 @@ | |||
337 | #define CFC_REG_NUM_LCIDS_ALLOC 0x104020 | 354 | #define CFC_REG_NUM_LCIDS_ALLOC 0x104020 |
338 | /* [R 9] Number of Arriving LCIDs in Link List Block */ | 355 | /* [R 9] Number of Arriving LCIDs in Link List Block */ |
339 | #define CFC_REG_NUM_LCIDS_ARRIVING 0x104004 | 356 | #define CFC_REG_NUM_LCIDS_ARRIVING 0x104004 |
340 | /* [R 9] Number of Inside LCIDs in Link List Block */ | ||
341 | #define CFC_REG_NUM_LCIDS_INSIDE 0x104008 | ||
342 | /* [R 9] Number of Leaving LCIDs in Link List Block */ | 357 | /* [R 9] Number of Leaving LCIDs in Link List Block */ |
343 | #define CFC_REG_NUM_LCIDS_LEAVING 0x104018 | 358 | #define CFC_REG_NUM_LCIDS_LEAVING 0x104018 |
344 | /* [RW 8] The event id for aggregated interrupt 0 */ | 359 | /* [RW 8] The event id for aggregated interrupt 0 */ |
@@ -1554,6 +1569,14 @@ | |||
1554 | command bit is written. This bit is set when the SPIO input does not | 1569 | command bit is written. This bit is set when the SPIO input does not |
1555 | match the current value in #OLD_VALUE (reset value 0). */ | 1570 | match the current value in #OLD_VALUE (reset value 0). */ |
1556 | #define MISC_REG_SPIO_INT 0xa500 | 1571 | #define MISC_REG_SPIO_INT 0xa500 |
1572 | /* [RW 32] reload value for counter 4 if reload; the value will be reload if | ||
1573 | the counter reached zero and the reload bit | ||
1574 | (~misc_registers_sw_timer_cfg_4.sw_timer_cfg_4[1] ) is set */ | ||
1575 | #define MISC_REG_SW_TIMER_RELOAD_VAL_4 0xa2fc | ||
1576 | /* [RW 32] the value of the counter for sw timers1-8. there are 8 addresses | ||
1577 | in this register. addres 0 - timer 1; address - timer 2�address 7 - | ||
1578 | timer 8 */ | ||
1579 | #define MISC_REG_SW_TIMER_VAL 0xa5c0 | ||
1557 | /* [RW 1] Set by the MCP to remember if one or more of the drivers is/are | 1580 | /* [RW 1] Set by the MCP to remember if one or more of the drivers is/are |
1558 | loaded; 0-prepare; -unprepare */ | 1581 | loaded; 0-prepare; -unprepare */ |
1559 | #define MISC_REG_UNPREPARED 0xa424 | 1582 | #define MISC_REG_UNPREPARED 0xa424 |
@@ -1885,6 +1908,7 @@ | |||
1885 | #define PRS_REG_CM_HDR_FLUSH_LOAD_TYPE_2 0x400e4 | 1908 | #define PRS_REG_CM_HDR_FLUSH_LOAD_TYPE_2 0x400e4 |
1886 | #define PRS_REG_CM_HDR_FLUSH_LOAD_TYPE_3 0x400e8 | 1909 | #define PRS_REG_CM_HDR_FLUSH_LOAD_TYPE_3 0x400e8 |
1887 | #define PRS_REG_CM_HDR_FLUSH_LOAD_TYPE_4 0x400ec | 1910 | #define PRS_REG_CM_HDR_FLUSH_LOAD_TYPE_4 0x400ec |
1911 | #define PRS_REG_CM_HDR_FLUSH_LOAD_TYPE_5 0x400f0 | ||
1888 | /* [RW 32] The CM header for flush message where 'load existed' bit in CFC | 1912 | /* [RW 32] The CM header for flush message where 'load existed' bit in CFC |
1889 | load response is set and packet type is 0. Used in packet start message | 1913 | load response is set and packet type is 0. Used in packet start message |
1890 | to TCM. */ | 1914 | to TCM. */ |
@@ -1893,6 +1917,7 @@ | |||
1893 | #define PRS_REG_CM_HDR_FLUSH_NO_LOAD_TYPE_2 0x400c4 | 1917 | #define PRS_REG_CM_HDR_FLUSH_NO_LOAD_TYPE_2 0x400c4 |
1894 | #define PRS_REG_CM_HDR_FLUSH_NO_LOAD_TYPE_3 0x400c8 | 1918 | #define PRS_REG_CM_HDR_FLUSH_NO_LOAD_TYPE_3 0x400c8 |
1895 | #define PRS_REG_CM_HDR_FLUSH_NO_LOAD_TYPE_4 0x400cc | 1919 | #define PRS_REG_CM_HDR_FLUSH_NO_LOAD_TYPE_4 0x400cc |
1920 | #define PRS_REG_CM_HDR_FLUSH_NO_LOAD_TYPE_5 0x400d0 | ||
1896 | /* [RW 32] The CM header for a match and packet type 1 for loopback port. | 1921 | /* [RW 32] The CM header for a match and packet type 1 for loopback port. |
1897 | Used in packet start message to TCM. */ | 1922 | Used in packet start message to TCM. */ |
1898 | #define PRS_REG_CM_HDR_LOOPBACK_TYPE_1 0x4009c | 1923 | #define PRS_REG_CM_HDR_LOOPBACK_TYPE_1 0x4009c |
@@ -2498,6 +2523,11 @@ | |||
2498 | considered zero so practically there are only 20 bits in this register; | 2523 | considered zero so practically there are only 20 bits in this register; |
2499 | queues 63-0 */ | 2524 | queues 63-0 */ |
2500 | #define QM_REG_BASEADDR 0x168900 | 2525 | #define QM_REG_BASEADDR 0x168900 |
2526 | /* [RW 32] The base logical address (in bytes) of each physical queue. The | ||
2527 | index I represents the physical queue number. The 12 lsbs are ignore and | ||
2528 | considered zero so practically there are only 20 bits in this register; | ||
2529 | queues 127-64 */ | ||
2530 | #define QM_REG_BASEADDR_EXT_A 0x16e100 | ||
2501 | /* [RW 16] The byte credit cost for each task. This value is for both ports */ | 2531 | /* [RW 16] The byte credit cost for each task. This value is for both ports */ |
2502 | #define QM_REG_BYTECRDCOST 0x168234 | 2532 | #define QM_REG_BYTECRDCOST 0x168234 |
2503 | /* [RW 16] The initial byte credit value for both ports. */ | 2533 | /* [RW 16] The initial byte credit value for both ports. */ |
@@ -3438,6 +3468,16 @@ | |||
3438 | #define SRC_REG_KEYRSS0_0 0x40408 | 3468 | #define SRC_REG_KEYRSS0_0 0x40408 |
3439 | #define SRC_REG_KEYRSS0_7 0x40424 | 3469 | #define SRC_REG_KEYRSS0_7 0x40424 |
3440 | #define SRC_REG_KEYRSS1_9 0x40454 | 3470 | #define SRC_REG_KEYRSS1_9 0x40454 |
3471 | #define SRC_REG_KEYSEARCH_0 0x40458 | ||
3472 | #define SRC_REG_KEYSEARCH_1 0x4045c | ||
3473 | #define SRC_REG_KEYSEARCH_2 0x40460 | ||
3474 | #define SRC_REG_KEYSEARCH_3 0x40464 | ||
3475 | #define SRC_REG_KEYSEARCH_4 0x40468 | ||
3476 | #define SRC_REG_KEYSEARCH_5 0x4046c | ||
3477 | #define SRC_REG_KEYSEARCH_6 0x40470 | ||
3478 | #define SRC_REG_KEYSEARCH_7 0x40474 | ||
3479 | #define SRC_REG_KEYSEARCH_8 0x40478 | ||
3480 | #define SRC_REG_KEYSEARCH_9 0x4047c | ||
3441 | #define SRC_REG_LASTFREE0 0x40530 | 3481 | #define SRC_REG_LASTFREE0 0x40530 |
3442 | #define SRC_REG_NUMBER_HASH_BITS0 0x40400 | 3482 | #define SRC_REG_NUMBER_HASH_BITS0 0x40400 |
3443 | /* [RW 1] Reset internal state machines. */ | 3483 | /* [RW 1] Reset internal state machines. */ |
@@ -3481,6 +3521,10 @@ | |||
3481 | /* [RC 1] Message length mismatch (relative to last indication) at the In#9 | 3521 | /* [RC 1] Message length mismatch (relative to last indication) at the In#9 |
3482 | interface. */ | 3522 | interface. */ |
3483 | #define TCM_REG_CSEM_LENGTH_MIS 0x50174 | 3523 | #define TCM_REG_CSEM_LENGTH_MIS 0x50174 |
3524 | /* [RW 3] The weight of the input csem in the WRR mechanism. 0 stands for | ||
3525 | weight 8 (the most prioritised); 1 stands for weight 1(least | ||
3526 | prioritised); 2 stands for weight 2; tc. */ | ||
3527 | #define TCM_REG_CSEM_WEIGHT 0x500bc | ||
3484 | /* [RW 8] The Event ID in case of ErrorFlg is set in the input message. */ | 3528 | /* [RW 8] The Event ID in case of ErrorFlg is set in the input message. */ |
3485 | #define TCM_REG_ERR_EVNT_ID 0x500a0 | 3529 | #define TCM_REG_ERR_EVNT_ID 0x500a0 |
3486 | /* [RW 28] The CM erroneous header for QM and Timers formatting. */ | 3530 | /* [RW 28] The CM erroneous header for QM and Timers formatting. */ |
@@ -3524,6 +3568,7 @@ | |||
3524 | #define TCM_REG_N_SM_CTX_LD_2 0x50058 | 3568 | #define TCM_REG_N_SM_CTX_LD_2 0x50058 |
3525 | #define TCM_REG_N_SM_CTX_LD_3 0x5005c | 3569 | #define TCM_REG_N_SM_CTX_LD_3 0x5005c |
3526 | #define TCM_REG_N_SM_CTX_LD_4 0x50060 | 3570 | #define TCM_REG_N_SM_CTX_LD_4 0x50060 |
3571 | #define TCM_REG_N_SM_CTX_LD_5 0x50064 | ||
3527 | /* [RW 1] Input pbf Interface enable. If 0 - the valid input is disregarded; | 3572 | /* [RW 1] Input pbf Interface enable. If 0 - the valid input is disregarded; |
3528 | acknowledge output is deasserted; all other signals are treated as usual; | 3573 | acknowledge output is deasserted; all other signals are treated as usual; |
3529 | if 1 - normal activity. */ | 3574 | if 1 - normal activity. */ |
@@ -3563,6 +3608,10 @@ | |||
3563 | disregarded; acknowledge output is deasserted; all other signals are | 3608 | disregarded; acknowledge output is deasserted; all other signals are |
3564 | treated as usual; if 1 - normal activity. */ | 3609 | treated as usual; if 1 - normal activity. */ |
3565 | #define TCM_REG_STORM_TCM_IFEN 0x50010 | 3610 | #define TCM_REG_STORM_TCM_IFEN 0x50010 |
3611 | /* [RW 3] The weight of the STORM input in the WRR mechanism. 0 stands for | ||
3612 | weight 8 (the most prioritised); 1 stands for weight 1(least | ||
3613 | prioritised); 2 stands for weight 2; tc. */ | ||
3614 | #define TCM_REG_STORM_WEIGHT 0x500ac | ||
3566 | /* [RW 1] CM - CFC Interface enable. If 0 - the valid input is disregarded; | 3615 | /* [RW 1] CM - CFC Interface enable. If 0 - the valid input is disregarded; |
3567 | acknowledge output is deasserted; all other signals are treated as usual; | 3616 | acknowledge output is deasserted; all other signals are treated as usual; |
3568 | if 1 - normal activity. */ | 3617 | if 1 - normal activity. */ |
@@ -3598,10 +3647,22 @@ | |||
3598 | disregarded; acknowledge output is deasserted; all other signals are | 3647 | disregarded; acknowledge output is deasserted; all other signals are |
3599 | treated as usual; if 1 - normal activity. */ | 3648 | treated as usual; if 1 - normal activity. */ |
3600 | #define TCM_REG_TM_TCM_IFEN 0x5001c | 3649 | #define TCM_REG_TM_TCM_IFEN 0x5001c |
3650 | /* [RW 3] The weight of the Timers input in the WRR mechanism. 0 stands for | ||
3651 | weight 8 (the most prioritised); 1 stands for weight 1(least | ||
3652 | prioritised); 2 stands for weight 2; tc. */ | ||
3653 | #define TCM_REG_TM_WEIGHT 0x500d0 | ||
3601 | /* [RW 6] QM output initial credit. Max credit available - 32.Write writes | 3654 | /* [RW 6] QM output initial credit. Max credit available - 32.Write writes |
3602 | the initial credit value; read returns the current value of the credit | 3655 | the initial credit value; read returns the current value of the credit |
3603 | counter. Must be initialized to 32 at start-up. */ | 3656 | counter. Must be initialized to 32 at start-up. */ |
3604 | #define TCM_REG_TQM_INIT_CRD 0x5021c | 3657 | #define TCM_REG_TQM_INIT_CRD 0x5021c |
3658 | /* [RW 3] The weight of the QM (primary) input in the WRR mechanism. 0 | ||
3659 | stands for weight 8 (the most prioritised); 1 stands for weight 1(least | ||
3660 | prioritised); 2 stands for weight 2; tc. */ | ||
3661 | #define TCM_REG_TQM_P_WEIGHT 0x500c8 | ||
3662 | /* [RW 3] The weight of the QM (secondary) input in the WRR mechanism. 0 | ||
3663 | stands for weight 8 (the most prioritised); 1 stands for weight 1(least | ||
3664 | prioritised); 2 stands for weight 2; tc. */ | ||
3665 | #define TCM_REG_TQM_S_WEIGHT 0x500cc | ||
3605 | /* [RW 28] The CM header value for QM request (primary). */ | 3666 | /* [RW 28] The CM header value for QM request (primary). */ |
3606 | #define TCM_REG_TQM_TCM_HDR_P 0x50090 | 3667 | #define TCM_REG_TQM_TCM_HDR_P 0x50090 |
3607 | /* [RW 28] The CM header value for QM request (secondary). */ | 3668 | /* [RW 28] The CM header value for QM request (secondary). */ |
@@ -3628,6 +3689,10 @@ | |||
3628 | /* [RC 1] Message length mismatch (relative to last indication) at the In#8 | 3689 | /* [RC 1] Message length mismatch (relative to last indication) at the In#8 |
3629 | interface. */ | 3690 | interface. */ |
3630 | #define TCM_REG_USEM_LENGTH_MIS 0x50170 | 3691 | #define TCM_REG_USEM_LENGTH_MIS 0x50170 |
3692 | /* [RW 3] The weight of the input usem in the WRR mechanism. 0 stands for | ||
3693 | weight 8 (the most prioritised); 1 stands for weight 1(least | ||
3694 | prioritised); 2 stands for weight 2; tc. */ | ||
3695 | #define TCM_REG_USEM_WEIGHT 0x500b8 | ||
3631 | /* [RW 21] Indirect access to the descriptor table of the XX protection | 3696 | /* [RW 21] Indirect access to the descriptor table of the XX protection |
3632 | mechanism. The fields are: [5:0] - length of the message; 15:6] - message | 3697 | mechanism. The fields are: [5:0] - length of the message; 15:6] - message |
3633 | pointer; 20:16] - next pointer. */ | 3698 | pointer; 20:16] - next pointer. */ |
@@ -3677,6 +3742,7 @@ | |||
3677 | #define TM_REG_EN_CL1_INPUT 0x16400c | 3742 | #define TM_REG_EN_CL1_INPUT 0x16400c |
3678 | /* [RW 1] Enable client2 input. */ | 3743 | /* [RW 1] Enable client2 input. */ |
3679 | #define TM_REG_EN_CL2_INPUT 0x164010 | 3744 | #define TM_REG_EN_CL2_INPUT 0x164010 |
3745 | #define TM_REG_EN_LINEAR0_TIMER 0x164014 | ||
3680 | /* [RW 1] Enable real time counter. */ | 3746 | /* [RW 1] Enable real time counter. */ |
3681 | #define TM_REG_EN_REAL_TIME_CNT 0x1640d8 | 3747 | #define TM_REG_EN_REAL_TIME_CNT 0x1640d8 |
3682 | /* [RW 1] Enable for Timers state machines. */ | 3748 | /* [RW 1] Enable for Timers state machines. */ |
@@ -3684,14 +3750,22 @@ | |||
3684 | /* [RW 4] Load value for expiration credit cnt. CFC max number of | 3750 | /* [RW 4] Load value for expiration credit cnt. CFC max number of |
3685 | outstanding load requests for timers (expiration) context loading. */ | 3751 | outstanding load requests for timers (expiration) context loading. */ |
3686 | #define TM_REG_EXP_CRDCNT_VAL 0x164238 | 3752 | #define TM_REG_EXP_CRDCNT_VAL 0x164238 |
3753 | /* [RW 32] Linear0 logic address. */ | ||
3754 | #define TM_REG_LIN0_LOGIC_ADDR 0x164240 | ||
3687 | /* [RW 18] Linear0 Max active cid (in banks of 32 entries). */ | 3755 | /* [RW 18] Linear0 Max active cid (in banks of 32 entries). */ |
3688 | #define TM_REG_LIN0_MAX_ACTIVE_CID 0x164048 | 3756 | #define TM_REG_LIN0_MAX_ACTIVE_CID 0x164048 |
3689 | /* [WB 64] Linear0 phy address. */ | 3757 | /* [WB 64] Linear0 phy address. */ |
3690 | #define TM_REG_LIN0_PHY_ADDR 0x164270 | 3758 | #define TM_REG_LIN0_PHY_ADDR 0x164270 |
3759 | /* [RW 1] Linear0 physical address valid. */ | ||
3760 | #define TM_REG_LIN0_PHY_ADDR_VALID 0x164248 | ||
3691 | /* [RW 24] Linear0 array scan timeout. */ | 3761 | /* [RW 24] Linear0 array scan timeout. */ |
3692 | #define TM_REG_LIN0_SCAN_TIME 0x16403c | 3762 | #define TM_REG_LIN0_SCAN_TIME 0x16403c |
3763 | /* [RW 32] Linear1 logic address. */ | ||
3764 | #define TM_REG_LIN1_LOGIC_ADDR 0x164250 | ||
3693 | /* [WB 64] Linear1 phy address. */ | 3765 | /* [WB 64] Linear1 phy address. */ |
3694 | #define TM_REG_LIN1_PHY_ADDR 0x164280 | 3766 | #define TM_REG_LIN1_PHY_ADDR 0x164280 |
3767 | /* [RW 1] Linear1 physical address valid. */ | ||
3768 | #define TM_REG_LIN1_PHY_ADDR_VALID 0x164258 | ||
3695 | /* [RW 6] Linear timer set_clear fifo threshold. */ | 3769 | /* [RW 6] Linear timer set_clear fifo threshold. */ |
3696 | #define TM_REG_LIN_SETCLR_FIFO_ALFULL_THR 0x164070 | 3770 | #define TM_REG_LIN_SETCLR_FIFO_ALFULL_THR 0x164070 |
3697 | /* [RW 2] Load value for pci arbiter credit cnt. */ | 3771 | /* [RW 2] Load value for pci arbiter credit cnt. */ |
@@ -3708,6 +3782,17 @@ | |||
3708 | #define TM_REG_TM_INT_STS 0x1640f0 | 3782 | #define TM_REG_TM_INT_STS 0x1640f0 |
3709 | /* [RW 8] The event id for aggregated interrupt 0 */ | 3783 | /* [RW 8] The event id for aggregated interrupt 0 */ |
3710 | #define TSDM_REG_AGG_INT_EVENT_0 0x42038 | 3784 | #define TSDM_REG_AGG_INT_EVENT_0 0x42038 |
3785 | #define TSDM_REG_AGG_INT_EVENT_1 0x4203c | ||
3786 | #define TSDM_REG_AGG_INT_EVENT_10 0x42060 | ||
3787 | #define TSDM_REG_AGG_INT_EVENT_11 0x42064 | ||
3788 | #define TSDM_REG_AGG_INT_EVENT_12 0x42068 | ||
3789 | #define TSDM_REG_AGG_INT_EVENT_13 0x4206c | ||
3790 | #define TSDM_REG_AGG_INT_EVENT_14 0x42070 | ||
3791 | #define TSDM_REG_AGG_INT_EVENT_15 0x42074 | ||
3792 | #define TSDM_REG_AGG_INT_EVENT_16 0x42078 | ||
3793 | #define TSDM_REG_AGG_INT_EVENT_17 0x4207c | ||
3794 | #define TSDM_REG_AGG_INT_EVENT_18 0x42080 | ||
3795 | #define TSDM_REG_AGG_INT_EVENT_19 0x42084 | ||
3711 | #define TSDM_REG_AGG_INT_EVENT_2 0x42040 | 3796 | #define TSDM_REG_AGG_INT_EVENT_2 0x42040 |
3712 | #define TSDM_REG_AGG_INT_EVENT_20 0x42088 | 3797 | #define TSDM_REG_AGG_INT_EVENT_20 0x42088 |
3713 | #define TSDM_REG_AGG_INT_EVENT_21 0x4208c | 3798 | #define TSDM_REG_AGG_INT_EVENT_21 0x4208c |
@@ -3723,6 +3808,19 @@ | |||
3723 | #define TSDM_REG_AGG_INT_EVENT_30 0x420b0 | 3808 | #define TSDM_REG_AGG_INT_EVENT_30 0x420b0 |
3724 | #define TSDM_REG_AGG_INT_EVENT_31 0x420b4 | 3809 | #define TSDM_REG_AGG_INT_EVENT_31 0x420b4 |
3725 | #define TSDM_REG_AGG_INT_EVENT_4 0x42048 | 3810 | #define TSDM_REG_AGG_INT_EVENT_4 0x42048 |
3811 | /* [RW 1] The T bit for aggregated interrupt 0 */ | ||
3812 | #define TSDM_REG_AGG_INT_T_0 0x420b8 | ||
3813 | #define TSDM_REG_AGG_INT_T_1 0x420bc | ||
3814 | #define TSDM_REG_AGG_INT_T_10 0x420e0 | ||
3815 | #define TSDM_REG_AGG_INT_T_11 0x420e4 | ||
3816 | #define TSDM_REG_AGG_INT_T_12 0x420e8 | ||
3817 | #define TSDM_REG_AGG_INT_T_13 0x420ec | ||
3818 | #define TSDM_REG_AGG_INT_T_14 0x420f0 | ||
3819 | #define TSDM_REG_AGG_INT_T_15 0x420f4 | ||
3820 | #define TSDM_REG_AGG_INT_T_16 0x420f8 | ||
3821 | #define TSDM_REG_AGG_INT_T_17 0x420fc | ||
3822 | #define TSDM_REG_AGG_INT_T_18 0x42100 | ||
3823 | #define TSDM_REG_AGG_INT_T_19 0x42104 | ||
3726 | /* [RW 13] The start address in the internal RAM for the cfc_rsp lcid */ | 3824 | /* [RW 13] The start address in the internal RAM for the cfc_rsp lcid */ |
3727 | #define TSDM_REG_CFC_RSP_START_ADDR 0x42008 | 3825 | #define TSDM_REG_CFC_RSP_START_ADDR 0x42008 |
3728 | /* [RW 16] The maximum value of the competion counter #0 */ | 3826 | /* [RW 16] The maximum value of the competion counter #0 */ |
@@ -3967,6 +4065,10 @@ | |||
3967 | /* [RC 1] Set when the message length mismatch (relative to last indication) | 4065 | /* [RC 1] Set when the message length mismatch (relative to last indication) |
3968 | at the dorq interface is detected. */ | 4066 | at the dorq interface is detected. */ |
3969 | #define UCM_REG_DORQ_LENGTH_MIS 0xe0168 | 4067 | #define UCM_REG_DORQ_LENGTH_MIS 0xe0168 |
4068 | /* [RW 3] The weight of the input dorq in the WRR mechanism. 0 stands for | ||
4069 | weight 8 (the most prioritised); 1 stands for weight 1(least | ||
4070 | prioritised); 2 stands for weight 2; tc. */ | ||
4071 | #define UCM_REG_DORQ_WEIGHT 0xe00c0 | ||
3970 | /* [RW 8] The Event ID in case ErrorFlg input message bit is set. */ | 4072 | /* [RW 8] The Event ID in case ErrorFlg input message bit is set. */ |
3971 | #define UCM_REG_ERR_EVNT_ID 0xe00a4 | 4073 | #define UCM_REG_ERR_EVNT_ID 0xe00a4 |
3972 | /* [RW 28] The CM erroneous header for QM and Timers formatting. */ | 4074 | /* [RW 28] The CM erroneous header for QM and Timers formatting. */ |
@@ -4030,6 +4132,10 @@ | |||
4030 | disregarded; acknowledge output is deasserted; all other signals are | 4132 | disregarded; acknowledge output is deasserted; all other signals are |
4031 | treated as usual; if 1 - normal activity. */ | 4133 | treated as usual; if 1 - normal activity. */ |
4032 | #define UCM_REG_STORM_UCM_IFEN 0xe0010 | 4134 | #define UCM_REG_STORM_UCM_IFEN 0xe0010 |
4135 | /* [RW 3] The weight of the STORM input in the WRR mechanism. 0 stands for | ||
4136 | weight 8 (the most prioritised); 1 stands for weight 1(least | ||
4137 | prioritised); 2 stands for weight 2; tc. */ | ||
4138 | #define UCM_REG_STORM_WEIGHT 0xe00b0 | ||
4033 | /* [RW 4] Timers output initial credit. Max credit available - 15.Write | 4139 | /* [RW 4] Timers output initial credit. Max credit available - 15.Write |
4034 | writes the initial credit value; read returns the current value of the | 4140 | writes the initial credit value; read returns the current value of the |
4035 | credit counter. Must be initialized to 4 at start-up. */ | 4141 | credit counter. Must be initialized to 4 at start-up. */ |
@@ -4040,6 +4146,10 @@ | |||
4040 | disregarded; acknowledge output is deasserted; all other signals are | 4146 | disregarded; acknowledge output is deasserted; all other signals are |
4041 | treated as usual; if 1 - normal activity. */ | 4147 | treated as usual; if 1 - normal activity. */ |
4042 | #define UCM_REG_TM_UCM_IFEN 0xe001c | 4148 | #define UCM_REG_TM_UCM_IFEN 0xe001c |
4149 | /* [RW 3] The weight of the Timers input in the WRR mechanism. 0 stands for | ||
4150 | weight 8 (the most prioritised); 1 stands for weight 1(least | ||
4151 | prioritised); 2 stands for weight 2; tc. */ | ||
4152 | #define UCM_REG_TM_WEIGHT 0xe00d4 | ||
4043 | /* [RW 1] Input tsem Interface enable. If 0 - the valid input is | 4153 | /* [RW 1] Input tsem Interface enable. If 0 - the valid input is |
4044 | disregarded; acknowledge output is deasserted; all other signals are | 4154 | disregarded; acknowledge output is deasserted; all other signals are |
4045 | treated as usual; if 1 - normal activity. */ | 4155 | treated as usual; if 1 - normal activity. */ |
@@ -4092,6 +4202,10 @@ | |||
4092 | stands for weight 8 (the most prioritised); 1 stands for weight 1(least | 4202 | stands for weight 8 (the most prioritised); 1 stands for weight 1(least |
4093 | prioritised); 2 stands for weight 2; tc. */ | 4203 | prioritised); 2 stands for weight 2; tc. */ |
4094 | #define UCM_REG_UQM_P_WEIGHT 0xe00cc | 4204 | #define UCM_REG_UQM_P_WEIGHT 0xe00cc |
4205 | /* [RW 3] The weight of the QM (secondary) input in the WRR mechanism. 0 | ||
4206 | stands for weight 8 (the most prioritised); 1 stands for weight 1(least | ||
4207 | prioritised); 2 stands for weight 2; tc. */ | ||
4208 | #define UCM_REG_UQM_S_WEIGHT 0xe00d0 | ||
4095 | /* [RW 28] The CM header value for QM request (primary). */ | 4209 | /* [RW 28] The CM header value for QM request (primary). */ |
4096 | #define UCM_REG_UQM_UCM_HDR_P 0xe0094 | 4210 | #define UCM_REG_UQM_UCM_HDR_P 0xe0094 |
4097 | /* [RW 28] The CM header value for QM request (secondary). */ | 4211 | /* [RW 28] The CM header value for QM request (secondary). */ |
@@ -4107,6 +4221,10 @@ | |||
4107 | /* [RC 1] Set when the message length mismatch (relative to last indication) | 4221 | /* [RC 1] Set when the message length mismatch (relative to last indication) |
4108 | at the SDM interface is detected. */ | 4222 | at the SDM interface is detected. */ |
4109 | #define UCM_REG_USDM_LENGTH_MIS 0xe0158 | 4223 | #define UCM_REG_USDM_LENGTH_MIS 0xe0158 |
4224 | /* [RW 3] The weight of the SDM input in the WRR mechanism. 0 stands for | ||
4225 | weight 8 (the most prioritised); 1 stands for weight 1(least | ||
4226 | prioritised); 2 stands for weight 2; tc. */ | ||
4227 | #define UCM_REG_USDM_WEIGHT 0xe00c8 | ||
4110 | /* [RW 1] Input xsem Interface enable. If 0 - the valid input is | 4228 | /* [RW 1] Input xsem Interface enable. If 0 - the valid input is |
4111 | disregarded; acknowledge output is deasserted; all other signals are | 4229 | disregarded; acknowledge output is deasserted; all other signals are |
4112 | treated as usual; if 1 - normal activity. */ | 4230 | treated as usual; if 1 - normal activity. */ |
@@ -4114,6 +4232,10 @@ | |||
4114 | /* [RC 1] Set when the message length mismatch (relative to last indication) | 4232 | /* [RC 1] Set when the message length mismatch (relative to last indication) |
4115 | at the xsem interface isdetected. */ | 4233 | at the xsem interface isdetected. */ |
4116 | #define UCM_REG_XSEM_LENGTH_MIS 0xe0164 | 4234 | #define UCM_REG_XSEM_LENGTH_MIS 0xe0164 |
4235 | /* [RW 3] The weight of the input xsem in the WRR mechanism. 0 stands for | ||
4236 | weight 8 (the most prioritised); 1 stands for weight 1(least | ||
4237 | prioritised); 2 stands for weight 2; tc. */ | ||
4238 | #define UCM_REG_XSEM_WEIGHT 0xe00bc | ||
4117 | /* [RW 20] Indirect access to the descriptor table of the XX protection | 4239 | /* [RW 20] Indirect access to the descriptor table of the XX protection |
4118 | mechanism. The fields are:[5:0] - message length; 14:6] - message | 4240 | mechanism. The fields are:[5:0] - message length; 14:6] - message |
4119 | pointer; 19:15] - next pointer. */ | 4241 | pointer; 19:15] - next pointer. */ |
@@ -4163,6 +4285,7 @@ | |||
4163 | #define USDM_REG_AGG_INT_EVENT_30 0xc40b0 | 4285 | #define USDM_REG_AGG_INT_EVENT_30 0xc40b0 |
4164 | #define USDM_REG_AGG_INT_EVENT_31 0xc40b4 | 4286 | #define USDM_REG_AGG_INT_EVENT_31 0xc40b4 |
4165 | #define USDM_REG_AGG_INT_EVENT_4 0xc4048 | 4287 | #define USDM_REG_AGG_INT_EVENT_4 0xc4048 |
4288 | #define USDM_REG_AGG_INT_EVENT_5 0xc404c | ||
4166 | /* [RW 1] For each aggregated interrupt index whether the mode is normal (0) | 4289 | /* [RW 1] For each aggregated interrupt index whether the mode is normal (0) |
4167 | or auto-mask-mode (1) */ | 4290 | or auto-mask-mode (1) */ |
4168 | #define USDM_REG_AGG_INT_MODE_0 0xc41b8 | 4291 | #define USDM_REG_AGG_INT_MODE_0 0xc41b8 |
@@ -4177,6 +4300,8 @@ | |||
4177 | #define USDM_REG_AGG_INT_MODE_17 0xc41fc | 4300 | #define USDM_REG_AGG_INT_MODE_17 0xc41fc |
4178 | #define USDM_REG_AGG_INT_MODE_18 0xc4200 | 4301 | #define USDM_REG_AGG_INT_MODE_18 0xc4200 |
4179 | #define USDM_REG_AGG_INT_MODE_19 0xc4204 | 4302 | #define USDM_REG_AGG_INT_MODE_19 0xc4204 |
4303 | #define USDM_REG_AGG_INT_MODE_4 0xc41c8 | ||
4304 | #define USDM_REG_AGG_INT_MODE_5 0xc41cc | ||
4180 | /* [RW 13] The start address in the internal RAM for the cfc_rsp lcid */ | 4305 | /* [RW 13] The start address in the internal RAM for the cfc_rsp lcid */ |
4181 | #define USDM_REG_CFC_RSP_START_ADDR 0xc4008 | 4306 | #define USDM_REG_CFC_RSP_START_ADDR 0xc4008 |
4182 | /* [RW 16] The maximum value of the competion counter #0 */ | 4307 | /* [RW 16] The maximum value of the competion counter #0 */ |
@@ -4427,6 +4552,10 @@ | |||
4427 | /* [RC 1] Set at message length mismatch (relative to last indication) at | 4552 | /* [RC 1] Set at message length mismatch (relative to last indication) at |
4428 | the dorq interface. */ | 4553 | the dorq interface. */ |
4429 | #define XCM_REG_DORQ_LENGTH_MIS 0x20230 | 4554 | #define XCM_REG_DORQ_LENGTH_MIS 0x20230 |
4555 | /* [RW 3] The weight of the input dorq in the WRR mechanism. 0 stands for | ||
4556 | weight 8 (the most prioritised); 1 stands for weight 1(least | ||
4557 | prioritised); 2 stands for weight 2; tc. */ | ||
4558 | #define XCM_REG_DORQ_WEIGHT 0x200cc | ||
4430 | /* [RW 8] The Event ID in case the ErrorFlg input message bit is set. */ | 4559 | /* [RW 8] The Event ID in case the ErrorFlg input message bit is set. */ |
4431 | #define XCM_REG_ERR_EVNT_ID 0x200b0 | 4560 | #define XCM_REG_ERR_EVNT_ID 0x200b0 |
4432 | /* [RW 28] The CM erroneous header for QM and Timers formatting. */ | 4561 | /* [RW 28] The CM erroneous header for QM and Timers formatting. */ |
@@ -4465,6 +4594,10 @@ | |||
4465 | /* [RC 1] Set at message length mismatch (relative to last indication) at | 4594 | /* [RC 1] Set at message length mismatch (relative to last indication) at |
4466 | the nig0 interface. */ | 4595 | the nig0 interface. */ |
4467 | #define XCM_REG_NIG0_LENGTH_MIS 0x20238 | 4596 | #define XCM_REG_NIG0_LENGTH_MIS 0x20238 |
4597 | /* [RW 3] The weight of the input nig0 in the WRR mechanism. 0 stands for | ||
4598 | weight 8 (the most prioritised); 1 stands for weight 1(least | ||
4599 | prioritised); 2 stands for weight 2; tc. */ | ||
4600 | #define XCM_REG_NIG0_WEIGHT 0x200d4 | ||
4468 | /* [RW 1] Input nig1 Interface enable. If 0 - the valid input is | 4601 | /* [RW 1] Input nig1 Interface enable. If 0 - the valid input is |
4469 | disregarded; acknowledge output is deasserted; all other signals are | 4602 | disregarded; acknowledge output is deasserted; all other signals are |
4470 | treated as usual; if 1 - normal activity. */ | 4603 | treated as usual; if 1 - normal activity. */ |
@@ -4523,6 +4656,10 @@ | |||
4523 | writes the initial credit value; read returns the current value of the | 4656 | writes the initial credit value; read returns the current value of the |
4524 | credit counter. Must be initialized to 4 at start-up. */ | 4657 | credit counter. Must be initialized to 4 at start-up. */ |
4525 | #define XCM_REG_TM_INIT_CRD 0x2041c | 4658 | #define XCM_REG_TM_INIT_CRD 0x2041c |
4659 | /* [RW 3] The weight of the Timers input in the WRR mechanism. 0 stands for | ||
4660 | weight 8 (the most prioritised); 1 stands for weight 1(least | ||
4661 | prioritised); 2 stands for weight 2; tc. */ | ||
4662 | #define XCM_REG_TM_WEIGHT 0x200ec | ||
4526 | /* [RW 28] The CM header for Timers expiration command. */ | 4663 | /* [RW 28] The CM header for Timers expiration command. */ |
4527 | #define XCM_REG_TM_XCM_HDR 0x200a8 | 4664 | #define XCM_REG_TM_XCM_HDR 0x200a8 |
4528 | /* [RW 1] Timers - CM Interface enable. If 0 - the valid input is | 4665 | /* [RW 1] Timers - CM Interface enable. If 0 - the valid input is |
@@ -4608,6 +4745,10 @@ | |||
4608 | stands for weight 8 (the most prioritised); 1 stands for weight 1(least | 4745 | stands for weight 8 (the most prioritised); 1 stands for weight 1(least |
4609 | prioritised); 2 stands for weight 2; tc. */ | 4746 | prioritised); 2 stands for weight 2; tc. */ |
4610 | #define XCM_REG_XQM_P_WEIGHT 0x200e4 | 4747 | #define XCM_REG_XQM_P_WEIGHT 0x200e4 |
4748 | /* [RW 3] The weight of the QM (secondary) input in the WRR mechanism. 0 | ||
4749 | stands for weight 8 (the most prioritised); 1 stands for weight 1(least | ||
4750 | prioritised); 2 stands for weight 2; tc. */ | ||
4751 | #define XCM_REG_XQM_S_WEIGHT 0x200e8 | ||
4611 | /* [RW 28] The CM header value for QM request (primary). */ | 4752 | /* [RW 28] The CM header value for QM request (primary). */ |
4612 | #define XCM_REG_XQM_XCM_HDR_P 0x200a0 | 4753 | #define XCM_REG_XQM_XCM_HDR_P 0x200a0 |
4613 | /* [RW 28] The CM header value for QM request (secondary). */ | 4754 | /* [RW 28] The CM header value for QM request (secondary). */ |
@@ -4665,6 +4806,8 @@ | |||
4665 | #define XSDM_REG_AGG_INT_EVENT_10 0x166060 | 4806 | #define XSDM_REG_AGG_INT_EVENT_10 0x166060 |
4666 | #define XSDM_REG_AGG_INT_EVENT_11 0x166064 | 4807 | #define XSDM_REG_AGG_INT_EVENT_11 0x166064 |
4667 | #define XSDM_REG_AGG_INT_EVENT_12 0x166068 | 4808 | #define XSDM_REG_AGG_INT_EVENT_12 0x166068 |
4809 | #define XSDM_REG_AGG_INT_EVENT_13 0x16606c | ||
4810 | #define XSDM_REG_AGG_INT_EVENT_14 0x166070 | ||
4668 | #define XSDM_REG_AGG_INT_EVENT_2 0x166040 | 4811 | #define XSDM_REG_AGG_INT_EVENT_2 0x166040 |
4669 | #define XSDM_REG_AGG_INT_EVENT_20 0x166088 | 4812 | #define XSDM_REG_AGG_INT_EVENT_20 0x166088 |
4670 | #define XSDM_REG_AGG_INT_EVENT_21 0x16608c | 4813 | #define XSDM_REG_AGG_INT_EVENT_21 0x16608c |