b53: widen stp state mask to 3 bits (instead of 2)
authorjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 10 Jun 2015 09:21:31 +0000 (09:21 +0000)
committerjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 10 Jun 2015 09:21:31 +0000 (09:21 +0000)
commitd9c2caa8422df9a82587d5d2d6a6d526228fee68
treedc78ff39643a885a9aeb3a5a4769ae5a294ac8f3
parent1f6b5e1275c88dea2582c0ff7bf95fd4b7fc6900
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45937 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic/files/drivers/net/phy/b53/b53_regs.h