cxgb4: update T5/T6 adapter register ranges
authorShahjada Abul Husain <shahjada@chelsio.com>
Thu, 12 Mar 2020 11:42:40 +0000 (17:12 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sun, 15 Mar 2020 03:44:46 +0000 (20:44 -0700)
Add more T5/T6 registers to be collected in register dump:

1. MPS register range 0x9810 to 0x9864 and 0xd000 to 0xd004.
2. NCSI register range 0x1a114 to 0x1a130 and 0x1a138 to 0x1a1c4.

Signed-off-by: Shahjada Abul Husain <shahjada@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c

index 844fdcf55118b232204ab87dac45b25dba5b6d18..df97200c52ee3653496a75b7c174562df36caa47 100644 (file)
@@ -1379,8 +1379,7 @@ void t4_get_regs(struct adapter *adap, void *buf, size_t buf_size)
                0x9608, 0x9638,
                0x9640, 0x96f4,
                0x9800, 0x9808,
-               0x9820, 0x983c,
-               0x9850, 0x9864,
+               0x9810, 0x9864,
                0x9c00, 0x9c6c,
                0x9c80, 0x9cec,
                0x9d00, 0x9d6c,
@@ -1389,7 +1388,7 @@ void t4_get_regs(struct adapter *adap, void *buf, size_t buf_size)
                0x9e80, 0x9eec,
                0x9f00, 0x9f6c,
                0x9f80, 0xa020,
-               0xd004, 0xd004,
+               0xd000, 0xd004,
                0xd010, 0xd03c,
                0xdfc0, 0xdfe0,
                0xe000, 0x1106c,
@@ -1430,10 +1429,8 @@ void t4_get_regs(struct adapter *adap, void *buf, size_t buf_size)
                0x1a0b0, 0x1a0e4,
                0x1a0ec, 0x1a0f8,
                0x1a100, 0x1a108,
-               0x1a114, 0x1a120,
-               0x1a128, 0x1a130,
-               0x1a138, 0x1a138,
-               0x1a190, 0x1a1c4,
+               0x1a114, 0x1a130,
+               0x1a138, 0x1a1c4,
                0x1a1fc, 0x1a1fc,
                0x1e008, 0x1e00c,
                0x1e040, 0x1e044,
@@ -2162,8 +2159,7 @@ void t4_get_regs(struct adapter *adap, void *buf, size_t buf_size)
                0x9640, 0x9704,
                0x9710, 0x971c,
                0x9800, 0x9808,
-               0x9820, 0x983c,
-               0x9850, 0x9864,
+               0x9810, 0x9864,
                0x9c00, 0x9c6c,
                0x9c80, 0x9cec,
                0x9d00, 0x9d6c,
@@ -2172,7 +2168,7 @@ void t4_get_regs(struct adapter *adap, void *buf, size_t buf_size)
                0x9e80, 0x9eec,
                0x9f00, 0x9f6c,
                0x9f80, 0xa020,
-               0xd004, 0xd03c,
+               0xd000, 0xd03c,
                0xd100, 0xd118,
                0xd200, 0xd214,
                0xd220, 0xd234,
@@ -2240,10 +2236,8 @@ void t4_get_regs(struct adapter *adap, void *buf, size_t buf_size)
                0x1a0b0, 0x1a0e4,
                0x1a0ec, 0x1a0f8,
                0x1a100, 0x1a108,
-               0x1a114, 0x1a120,
-               0x1a128, 0x1a130,
-               0x1a138, 0x1a138,
-               0x1a190, 0x1a1c4,
+               0x1a114, 0x1a130,
+               0x1a138, 0x1a1c4,
                0x1a1fc, 0x1a1fc,
                0x1e008, 0x1e00c,
                0x1e040, 0x1e044,