net: dsa: mv88e6xxx: better IEEE Prio Mapping Table description
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Sun, 18 Jun 2017 03:07:14 +0000 (23:07 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Jun 2017 17:27:01 +0000 (13:27 -0400)
commitddcbabf4404606fcc3edf6e48caa9707b33d3df4
tree6f9e91bd49a5dfdda22a2688294ac8ec2613ced8
parentda16349d7e46a168417bae8dab447bf866b5e77c
net: dsa: mv88e6xxx: better IEEE Prio Mapping Table description

Kill the remaining shift macro in favor of calculating at compile time
its value from the more descriptive mask, which gives us a better
representation of the register layout.

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