diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2020-03-27 16:00:16 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-29 22:04:20 -0700 |
commit | 336aa67bd027f4771c3a7f3d8a3fd15d923f5df5 (patch) | |
tree | 76e408d9ca49d444ddc7286946d7c1eb4b133708 /drivers/net/dsa/sja1105/sja1105_spi.c | |
parent | s390/qeth: support net namespaces for L3 devices (diff) | |
download | linux-dev-336aa67bd027f4771c3a7f3d8a3fd15d923f5df5.tar.xz linux-dev-336aa67bd027f4771c3a7f3d8a3fd15d923f5df5.zip |
net: dsa: sja1105: show more ethtool statistics counters for P/Q/R/S
It looks like the P/Q/R/S series supports some more counters,
generically named "Ethernet statistics counter", which we were not
printing. Add them.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/sja1105/sja1105_spi.c')
-rw-r--r-- | drivers/net/dsa/sja1105/sja1105_spi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/sja1105/sja1105_spi.c b/drivers/net/dsa/sja1105/sja1105_spi.c index fef2c50cd3f6..04bdb72ae6b6 100644 --- a/drivers/net/dsa/sja1105/sja1105_spi.c +++ b/drivers/net/dsa/sja1105/sja1105_spi.c @@ -482,6 +482,7 @@ static struct sja1105_regs sja1105pqrs_regs = { .mac = {0x200, 0x202, 0x204, 0x206, 0x208}, .mac_hl1 = {0x400, 0x410, 0x420, 0x430, 0x440}, .mac_hl2 = {0x600, 0x610, 0x620, 0x630, 0x640}, + .ether_stats = {0x1400, 0x1418, 0x1430, 0x1448, 0x1460}, /* UM11040.pdf, Table 114 */ .mii_tx_clk = {0x100013, 0x100019, 0x10001F, 0x100025, 0x10002B}, .mii_rx_clk = {0x100014, 0x10001A, 0x100020, 0x100026, 0x10002C}, |