Colin Foster cdc2e28e21 net: mscc: ocelot: fix stat counter register values
Commit d4c367650704 ("net: mscc: ocelot: keep ocelot_stat_layout by reg
address, not offset") organized the stats counters for Ocelot chips, namely
the VSC7512 and VSC7514. A few of the counter offsets were incorrect, and
were caught by this warning:

WARNING: CPU: 0 PID: 24 at drivers/net/ethernet/mscc/ocelot_stats.c:909
ocelot_stats_init+0x1fc/0x2d8
reg 0x5000078 had address 0x220 but reg 0x5000079 has address 0x214,
bulking broken!

Fix these register offsets.

Fixes: d4c367650704 ("net: mscc: ocelot: keep ocelot_stat_layout by reg address, not offset")
Signed-off-by: Colin Foster <colin.foster@in-advantage.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-05-10 12:11:18 +01:00
..
2023-04-27 11:02:26 -07:00
2023-04-27 11:02:26 -07:00
2023-04-27 11:53:57 -07:00
2023-04-27 11:53:57 -07:00
2023-03-21 13:39:29 +01:00
2023-04-24 18:07:08 -07:00
2023-03-31 08:56:42 +01:00
2023-04-26 16:07:23 -07:00
2023-04-24 18:07:08 -07:00