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)
commit795234739105381afd813ca7a0298b9c293f2765
treec06cea28ed5c93c8af8abb6e0441657f8ad353b3
parent4b325d8c84a8dda1e3e59a6ddb2304e10b5d8c74
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