]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: use helper for 6390 histogram
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Fri, 11 May 2018 21:16:34 +0000 (17:16 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 May 2018 18:49:39 +0000 (14:49 -0400)
commita0929c52174dc92f61dd082961faffb59f3b4818
tree8a9bdd89f8a7f1f2dbac583d407a91bcda63319e
parentbc25ccfd50c04208ab8e11ad5470d268434f0e38
net: dsa: mv88e6xxx: use helper for 6390 histogram

The Marvell 88E6390 model has its histogram mode bits moved in the
Global 1 Control 2 register. Use the previously introduced
mv88e6xxx_g1_ctl2_mask helper to set them.

At the same time complete the documentation of the said register.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/global1.c
drivers/net/dsa/mv88e6xxx/global1.h