net: dsa: mv88e6xxx: Add mv88e6390 statistics unit init
authorAndrew Lunn <andrew@lunn.ch>
Mon, 21 Nov 2016 22:27:01 +0000 (23:27 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Nov 2016 14:55:30 +0000 (09:55 -0500)
commitde2273876e3fb5a5a62cc538936d06b014b06eda
tree4067ba91400014a3db22cda7c4b6d32c1c965b41
parent795234739105381afd813ca7a0298b9c293f2765
net: dsa: mv88e6xxx: Add mv88e6390 statistics unit init

The statistics unit on the mv88e6390 needs the histogram mode to be
configured in a different register compared to other devices. Add an
ops to do this.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
v2:
  Rename to mv88e6390_g1_stats_set_histogram
  Move into global1.c
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