b53: widen stp state mask to 3 bits (instead of 2)
authorJonas Gorski <jogo@openwrt.org>
Wed, 10 Jun 2015 09:21:31 +0000 (09:21 +0000)
committerJonas Gorski <jogo@openwrt.org>
Wed, 10 Jun 2015 09:21:31 +0000 (09:21 +0000)
commit9532a74bc533a538daabe209131c66277adb7f4b
treedc78ff39643a885a9aeb3a5a4769ae5a294ac8f3
parent302bba29fd8db86d347866e56d68964cc240e834
b53: widen stp state mask to 3 bits (instead of 2)

At least on my b53 chip, the mask is 3 bits wide, and because
of this some STP states are not set properly and discarded when read.

Maybe for some other chips it makes sense to have just 2 bits width,
but I don't have other versions around to test/validate.

If that's the case then maybe we could add another STP state mask.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 45937
target/linux/generic/files/drivers/net/phy/b53/b53_regs.h