]> git.baikalelectronics.ru Git - kernel.git/commit
net: netcp: ethss: re-use stats handling code for 2u hardware
authorMurali Karicheri <m-karicheri2@ti.com>
Tue, 17 Apr 2018 21:30:37 +0000 (17:30 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Apr 2018 01:00:57 +0000 (21:00 -0400)
commit939ee1eef010040a442bd570a0f1fe813e7b443f
tree63d876d4a192851cc8fea48b9e12e7903fcf5807
parentde70b539f9c1560efc4d0e134c3cb6fcb3dd98e5
net: netcp: ethss: re-use stats handling code for 2u hardware

The stats block in 2u cpsw hardware is similar to the one on nu
and hence handle it in a similar way by using a macro that includes
2u hardware as well.

Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/netcp_ethss.c