net: dsa: mv88e6xxx: Add mv88e6390 stats snapshot operation
authorAndrew Lunn <andrew@lunn.ch>
Mon, 21 Nov 2016 22:27:00 +0000 (23:27 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Nov 2016 14:55:30 +0000 (09:55 -0500)
commit7d156cbf3ad5bc304245f1c2f5444bb0b1a57613
treec06cea28ed5c93c8af8abb6e0441657f8ad353b3
parentf26ba825b3822a1098479ecacc96bc452d2b3c06
net: dsa: mv88e6xxx: Add mv88e6390 stats snapshot operation

The MV88E6390 has a control register for what the histogram statistics
actually contain. This means the stat_snapshot method should not set
this information. So implement the 6390 stats_snapshot function without
these bits.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c
drivers/net/dsa/mv88e6xxx/global1.c
drivers/net/dsa/mv88e6xxx/global1.h
drivers/net/dsa/mv88e6xxx/mv88e6xxx.h