Re: [PATCH net-next v2 3/7] net: dsa: mv88e6xxx: use bridge state values

2017-06-09 Thread Andrew Lunn
On Thu, Jun 08, 2017 at 06:34:10PM -0400, Vivien Didelot wrote: > 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 Reviewed-by: Andrew Lunn Andrew

[PATCH net-next v2 3/7] net: dsa: mv88e6xxx: use bridge state values

2017-06-08 Thread Vivien Didelot
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 --- drivers/net/dsa/mv88e6xxx/chip.c | 23 ++- drivers/net/dsa/mv88e6xxx/port.c | 20 +