diff options
author | Andrew Lunn <andrew@lunn.ch> | 2015-12-23 13:23:17 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-23 22:17:00 -0500 |
commit | f5e2ed022dff60d9023d997ed719531129cc1365 (patch) | |
tree | beaf0d9429a8e5b02828e7fffa978a2c1fea70c6 /include/sound/pcm_drm_eld.h | |
parent | ff5756d0d324b8215c3a498d398071094462f395 (diff) |
dsa: mv88e6xxx: Add Second back of statistics
The 6320 family of switch chips has a second bank for statistics, but
is missing three statistics in the port registers. Generalise and
extend the code:
* adding a field to the statistics table indicating the bank/register
set where each statistics is.
* add a function indicating if an individual statistics
is available on this device
* calculate at run time the sset_count.
* return strings based on the available statistics of the device
* return statistics based on the available statistics of the device
* Add support for reading from the second bank.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/sound/pcm_drm_eld.h')
0 files changed, 0 insertions, 0 deletions