net: dsa: mv88e6xxx: prefix Global Monitor Control macros
commit101515c8c51fced79407984d4765d5db23f04029
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Thu, 15 Jun 2017 16:14:04 +0000 (15 12:14 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Jun 2017 18:07:49 +0000 (15 14:07 -0400)
tree9c123b66ac6380f011a58d6341257801e55b4f46
parentd77f4321fa5cbe393930855763adaa87046394c6
net: dsa: mv88e6xxx: prefix Global Monitor Control macros

Prefix and document the Global Monitor Control Register macros
(which became the Global Monitor & MGMT Control Register with 88E6390)
and give a clear 16-bit registers representation.

Use __bf_shf to get the shift value at compile time instead of adding
new defined macros for it.

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