diff options
author | Alexandre TORGUE <alexandre.torgue@st.com> | 2016-04-01 11:37:32 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-02 20:23:08 -0400 |
commit | 36ff7c1e94a5d43a0ea2d386b211087f77669017 (patch) | |
tree | fa8a01eb8d3ff0bffec869c773df207821b86899 /include/linux | |
parent | 477286b53f5576ddec0a4df0f3d0c4bd7a0ed165 (diff) |
stmmac: enhance mmc counter management
For gmac3, the MMC addr map is: 0x100 - 0x2fc
For gmac4, the MMC addr map is: 0x700 - 0x8fc
So instead of adding 0x600 to the IO address when setup the mmc,
the RMON base address is saved inside the private structure and
then used to manage the counters.
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions