net: netcp: Consolidates statistics collection code
authorWingMan Kwok <w-kwok2@ti.com>
Thu, 23 Jul 2015 19:57:22 +0000 (15:57 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jul 2015 07:18:40 +0000 (00:18 -0700)
commitfbf64c1915b964c05edd4434250fbbb31ded38c6
treeec44456f694ec71b8a8b954c43eeb4c1bcf49273
parent208c6b9a49df8b69ab698d9f53d40d25f143dbde
net: netcp: Consolidates statistics collection code

Different Keystone2 platforms have different number and
layouts of hw statistics modules.  This patch consolidates
the statistics processing of different Keystone2 platforms
for easy maintenance.

Signed-off-by: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/netcp_ethss.c