From: Jun Yang <[email protected]>

Fix incorrect register offset for BMI RX statistics counters
in the fman.h header. The wrong offset caused incorrect stats
values to be reported.

Fixes: 0095306cdb ("bus/dpaa: add FMan node")
Cc: [email protected]

Signed-off-by: Jun Yang <[email protected]>
---
 drivers/bus/dpaa/include/fman.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/bus/dpaa/include/fman.h b/drivers/bus/dpaa/include/fman.h
index c33fe81516..6e3abf1b50 100644
--- a/drivers/bus/dpaa/include/fman.h
+++ b/drivers/bus/dpaa/include/fman.h
@@ -2,7 +2,7 @@
  *
  * Copyright 2010-2012 Freescale Semiconductor, Inc.
  * All rights reserved.
- * Copyright 2019-2024 NXP
+ * Copyright 2019-2026 NXP
  *
  */
 
@@ -263,8 +263,8 @@ struct rx_bmi_regs {
                                        /**< Buffer Manager pool Information-*/
        uint32_t fmbm_acnt[FMAN_PORT_MAX_EXT_POOLS_NUM];
                                        /**< Allocate Counter-*/
-       uint32_t reserved0120[16];
-                                       /**< 0x130/0x140 - 0x15F reserved -*/
+       uint32_t reserved0140[8];
+                                       /**< 0x140 - 0x15F reserved -*/
        uint32_t fmbm_rcgm[FMAN_PORT_CG_MAP_NUM];
                                        /**< Congestion Group Map*/
        uint32_t fmbm_mpd;              /**< BM Pool Depletion  */
-- 
2.43.0

Reply via email to