net: dsa: mv88e6xxx: use bridge state values
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Thu, 8 Jun 2017 22:34:10 +0000 (18:34 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Jun 2017 16:10:58 +0000 (12:10 -0400)
commitf894c29c3561bb9e1da7441146f1db585aae8e97
treed2ca0f20a05b3d52a9b265d3404d68c5eef85b48
parent31bef4e90cf761eaa16298461bcb4c101044baea
net: dsa: mv88e6xxx: use bridge state values

Reuse the BR_STATE_* values to abstract a port STP state value.

This provides shorter names and better control over the DSA switch
operation call.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.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/port.c