]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: Consolidate getting the statistics
authorAndrew Lunn <andrew@lunn.ch>
Thu, 2 Apr 2015 02:06:38 +0000 (04:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Apr 2015 02:55:41 +0000 (22:55 -0400)
commitc3ba3e6caf326a0c6a31b9a7ad12a2ce40bc60ec
treecc658c267c3efd5c11fc15873c2255863c7e1e81
parent6ad0e5d1285e523b024627a5508b817a0a5f83e3
net: dsa: Consolidate getting the statistics

Reading the statistics from the hardware is the same for all
chips. What differs is the number of available statistics. Have just
one copy of the code in the shared mv88e6xxx.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6123_61_65.c
drivers/net/dsa/mv88e6131.c
drivers/net/dsa/mv88e6171.c
drivers/net/dsa/mv88e6352.c
drivers/net/dsa/mv88e6xxx.c
drivers/net/dsa/mv88e6xxx.h