The branch stable/13 has been updated by np:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=84195600d1189c7b44984b1b68537955d7bc9f65

commit 84195600d1189c7b44984b1b68537955d7bc9f65
Author:     Navdeep Parhar <[email protected]>
AuthorDate: 2022-03-02 18:55:55 +0000
Commit:     Navdeep Parhar <[email protected]>
CommitDate: 2022-03-05 00:37:28 +0000

    cxgbe(4): Dump some more debug registers in cim_dump_regs.
    
    Sponsored by:   Chelsio Communications
    
    (cherry picked from commit 17f564a784e9d6b11eabce9dfd11302ae7632b23)
---
 sys/dev/cxgbe/t4_main.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/sys/dev/cxgbe/t4_main.c b/sys/dev/cxgbe/t4_main.c
index 8a1fb7349373..a9549abb48bb 100644
--- a/sys/dev/cxgbe/t4_main.c
+++ b/sys/dev/cxgbe/t4_main.c
@@ -9037,13 +9037,20 @@ sysctl_cim_la(SYSCTL_HANDLER_ARGS)
 static void
 dump_cim_regs(struct adapter *sc)
 {
-       log(LOG_DEBUG, "%s: CIM debug regs %08x %08x %08x %08x %08x\n",
+       log(LOG_DEBUG, "%s: CIM debug regs1 %08x %08x %08x %08x %08x\n",
            device_get_nameunit(sc->dev),
            t4_read_reg(sc, A_EDC_H_BIST_USER_WDATA0),
            t4_read_reg(sc, A_EDC_H_BIST_USER_WDATA1),
            t4_read_reg(sc, A_EDC_H_BIST_USER_WDATA2),
            t4_read_reg(sc, A_EDC_H_BIST_DATA_PATTERN),
            t4_read_reg(sc, A_EDC_H_BIST_STATUS_RDATA));
+       log(LOG_DEBUG, "%s: CIM debug regs2 %08x %08x %08x %08x %08x\n",
+           device_get_nameunit(sc->dev),
+           t4_read_reg(sc, A_EDC_H_BIST_USER_WDATA0),
+           t4_read_reg(sc, A_EDC_H_BIST_USER_WDATA1),
+           t4_read_reg(sc, A_EDC_H_BIST_USER_WDATA0 + 0x800),
+           t4_read_reg(sc, A_EDC_H_BIST_USER_WDATA1 + 0x800),
+           t4_read_reg(sc, A_EDC_H_BIST_CMD_LEN));
 }
 
 static void

Reply via email to