Skip to content

Commit 04d8980

Browse files
arjunvynipadathdavem330
authored andcommitted
cxgb4: Update register ranges of T4/T5/T6 adapters
Signed-off-by: Arjun Vynipadath <arjun@chelsio.com> Signed-off-by: Casey Leedom <leedom@chelsio.com> Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 88f3481 commit 04d8980

File tree

1 file changed

+14
-37
lines changed
  • drivers/net/ethernet/chelsio/cxgb4

1 file changed

+14
-37
lines changed

drivers/net/ethernet/chelsio/cxgb4/t4_hw.c

Lines changed: 14 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,8 @@ void t4_get_regs(struct adapter *adap, void *buf, size_t buf_size)
913913
0xd010, 0xd03c,
914914
0xdfc0, 0xdfe0,
915915
0xe000, 0xea7c,
916-
0xf000, 0x11190,
916+
0xf000, 0x11110,
917+
0x11118, 0x11190,
917918
0x19040, 0x1906c,
918919
0x19078, 0x19080,
919920
0x1908c, 0x190e4,
@@ -1439,8 +1440,6 @@ void t4_get_regs(struct adapter *adap, void *buf, size_t buf_size)
14391440
0x1ff00, 0x1ff84,
14401441
0x1ffc0, 0x1ffc8,
14411442
0x30000, 0x30030,
1442-
0x30038, 0x30038,
1443-
0x30040, 0x30040,
14441443
0x30100, 0x30144,
14451444
0x30190, 0x301a0,
14461445
0x301a8, 0x301b8,
@@ -1551,8 +1550,6 @@ void t4_get_regs(struct adapter *adap, void *buf, size_t buf_size)
15511550
0x33c3c, 0x33c50,
15521551
0x33cf0, 0x33cfc,
15531552
0x34000, 0x34030,
1554-
0x34038, 0x34038,
1555-
0x34040, 0x34040,
15561553
0x34100, 0x34144,
15571554
0x34190, 0x341a0,
15581555
0x341a8, 0x341b8,
@@ -1663,8 +1660,6 @@ void t4_get_regs(struct adapter *adap, void *buf, size_t buf_size)
16631660
0x37c3c, 0x37c50,
16641661
0x37cf0, 0x37cfc,
16651662
0x38000, 0x38030,
1666-
0x38038, 0x38038,
1667-
0x38040, 0x38040,
16681663
0x38100, 0x38144,
16691664
0x38190, 0x381a0,
16701665
0x381a8, 0x381b8,
@@ -1775,8 +1770,6 @@ void t4_get_regs(struct adapter *adap, void *buf, size_t buf_size)
17751770
0x3bc3c, 0x3bc50,
17761771
0x3bcf0, 0x3bcfc,
17771772
0x3c000, 0x3c030,
1778-
0x3c038, 0x3c038,
1779-
0x3c040, 0x3c040,
17801773
0x3c100, 0x3c144,
17811774
0x3c190, 0x3c1a0,
17821775
0x3c1a8, 0x3c1b8,
@@ -2040,12 +2033,8 @@ void t4_get_regs(struct adapter *adap, void *buf, size_t buf_size)
20402033
0x1190, 0x1194,
20412034
0x11a0, 0x11a4,
20422035
0x11b0, 0x11b4,
2043-
0x11fc, 0x1258,
2044-
0x1280, 0x12d4,
2045-
0x12d9, 0x12d9,
2046-
0x12de, 0x12de,
2047-
0x12e3, 0x12e3,
2048-
0x12e8, 0x133c,
2036+
0x11fc, 0x1274,
2037+
0x1280, 0x133c,
20492038
0x1800, 0x18fc,
20502039
0x3000, 0x302c,
20512040
0x3060, 0x30b0,
@@ -2076,6 +2065,9 @@ void t4_get_regs(struct adapter *adap, void *buf, size_t buf_size)
20762065
0x5ea0, 0x5eb0,
20772066
0x5ec0, 0x5ec0,
20782067
0x5ec8, 0x5ed0,
2068+
0x5ee0, 0x5ee0,
2069+
0x5ef0, 0x5ef0,
2070+
0x5f00, 0x5f00,
20792071
0x6000, 0x6020,
20802072
0x6028, 0x6040,
20812073
0x6058, 0x609c,
@@ -2133,6 +2125,8 @@ void t4_get_regs(struct adapter *adap, void *buf, size_t buf_size)
21332125
0xd300, 0xd31c,
21342126
0xdfc0, 0xdfe0,
21352127
0xe000, 0xf008,
2128+
0xf010, 0xf018,
2129+
0xf020, 0xf028,
21362130
0x11000, 0x11014,
21372131
0x11048, 0x1106c,
21382132
0x11074, 0x11088,
@@ -2256,13 +2250,6 @@ void t4_get_regs(struct adapter *adap, void *buf, size_t buf_size)
22562250
0x1ff00, 0x1ff84,
22572251
0x1ffc0, 0x1ffc8,
22582252
0x30000, 0x30030,
2259-
0x30038, 0x30038,
2260-
0x30040, 0x30040,
2261-
0x30048, 0x30048,
2262-
0x30050, 0x30050,
2263-
0x3005c, 0x30060,
2264-
0x30068, 0x30068,
2265-
0x30070, 0x30070,
22662253
0x30100, 0x30168,
22672254
0x30190, 0x301a0,
22682255
0x301a8, 0x301b8,
@@ -2325,13 +2312,12 @@ void t4_get_regs(struct adapter *adap, void *buf, size_t buf_size)
23252312
0x326a8, 0x326a8,
23262313
0x326ec, 0x326ec,
23272314
0x32a00, 0x32abc,
2328-
0x32b00, 0x32b38,
2315+
0x32b00, 0x32b18,
2316+
0x32b20, 0x32b38,
23292317
0x32b40, 0x32b58,
23302318
0x32b60, 0x32b78,
23312319
0x32c00, 0x32c00,
23322320
0x32c08, 0x32c3c,
2333-
0x32e00, 0x32e2c,
2334-
0x32f00, 0x32f2c,
23352321
0x33000, 0x3302c,
23362322
0x33034, 0x33050,
23372323
0x33058, 0x33058,
@@ -2396,13 +2382,6 @@ void t4_get_regs(struct adapter *adap, void *buf, size_t buf_size)
23962382
0x33c38, 0x33c50,
23972383
0x33cf0, 0x33cfc,
23982384
0x34000, 0x34030,
2399-
0x34038, 0x34038,
2400-
0x34040, 0x34040,
2401-
0x34048, 0x34048,
2402-
0x34050, 0x34050,
2403-
0x3405c, 0x34060,
2404-
0x34068, 0x34068,
2405-
0x34070, 0x34070,
24062385
0x34100, 0x34168,
24072386
0x34190, 0x341a0,
24082387
0x341a8, 0x341b8,
@@ -2465,13 +2444,12 @@ void t4_get_regs(struct adapter *adap, void *buf, size_t buf_size)
24652444
0x366a8, 0x366a8,
24662445
0x366ec, 0x366ec,
24672446
0x36a00, 0x36abc,
2468-
0x36b00, 0x36b38,
2447+
0x36b00, 0x36b18,
2448+
0x36b20, 0x36b38,
24692449
0x36b40, 0x36b58,
24702450
0x36b60, 0x36b78,
24712451
0x36c00, 0x36c00,
24722452
0x36c08, 0x36c3c,
2473-
0x36e00, 0x36e2c,
2474-
0x36f00, 0x36f2c,
24752453
0x37000, 0x3702c,
24762454
0x37034, 0x37050,
24772455
0x37058, 0x37058,
@@ -2545,8 +2523,7 @@ void t4_get_regs(struct adapter *adap, void *buf, size_t buf_size)
25452523
0x40280, 0x40280,
25462524
0x40304, 0x40304,
25472525
0x40330, 0x4033c,
2548-
0x41304, 0x413b8,
2549-
0x413c0, 0x413c8,
2526+
0x41304, 0x413c8,
25502527
0x413d0, 0x413dc,
25512528
0x413f0, 0x413f0,
25522529
0x41400, 0x4140c,

0 commit comments

Comments
 (0)