]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit408d2debb03e15f3dd3063a5a14befd3390c6eab
tree8a9bdd89f8a7f1f2dbac583d407a91bcda63319e
parent23548dab5675959c090af36cbbaa4be6aab9fe2b
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