]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc9765c264179ee06ae0f71c99178302fdeee1b9c
treed2ca0f20a05b3d52a9b265d3404d68c5eef85b48
parent7279090516b1f12bae6fc956e3927c5c67829cec
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