net: dsa: mv88e6xxx: complete ATU state definitions
authorVivien Didelot <vivien.didelot@gmail.com>
Sat, 7 Sep 2019 20:00:47 +0000 (16:00 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Sep 2019 15:53:31 +0000 (16:53 +0100)
commitd8291a956ac67b2f5e5dce80b93d36feb1eca624
tree4be5ddfdcac8ed409ce7ebe6c3b364c7f38210ed
parentc21815f1c199a2ffb77aa862206b0f8d94263d14
net: dsa: mv88e6xxx: complete ATU state definitions

Marvell has different values for the state of a MAC address,
depending on its multicast bit. This patch completes the definitions
for these states.

At the same time, use 0 which is intuitive enough and simplifies the
code a bit, instead of the UC or MC unused value.

Signed-off-by: Vivien Didelot <vivien.didelot@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c
drivers/net/dsa/mv88e6xxx/global1.h
drivers/net/dsa/mv88e6xxx/global1_atu.c