generic: b53: clear SM_SW_FWD_MODE unconditionally when enabling VLAN
authorJonas Gorski <jogo@openwrt.org>
Thu, 21 Feb 2013 11:45:38 +0000 (11:45 +0000)
committerJonas Gorski <jogo@openwrt.org>
Thu, 21 Feb 2013 11:45:38 +0000 (11:45 +0000)
commit3010a0b6166c9c73ea9582b781d6e6e3c99635f5
treef823256107ab53137054f06ef2e3eeb789d7dd8c
parent23e71c56ba63d7e8e796e2fa17ab1a454650d392
generic: b53: clear SM_SW_FWD_MODE unconditionally when enabling VLAN

Setting this bit stops BCM53125 (bgmac actually) from receiving any
packets. This bit is cleared conditionally in b53_switch_reset and it
seems the same is done in bcmrobo.c which never sets that bit again.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 35723
target/linux/generic/files/drivers/net/phy/b53/b53_common.c