net: bcmgenet: correct MIB access of UniMAC RUNT counters
authorDoug Berger <opendmb@gmail.com>
Fri, 10 Mar 2017 00:58:44 +0000 (16:58 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Mar 2017 02:39:01 +0000 (18:39 -0800)
commit1ad3d225e5a40ca6c586989b4baaca710544c15a
treea540a02150b6cee8f62e6c150a70047722508298
parentffff71328a3c321f7c14cc1edd33577717037744
net: bcmgenet: correct MIB access of UniMAC RUNT counters

The gap between the Tx status counters and the Rx RUNT counters is now
being added to allow correct reporting of the registers.

Fixes: 1c1008c793fa ("net: bcmgenet: add main driver file")
Signed-off-by: Doug Berger <opendmb@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet.c