2014-01-28 Jonas Gorski <j...@openwrt.org>: > On Tue, Jan 28, 2014 at 8:41 PM, Rafał Miłecki <zaj...@gmail.com> wrote: >> 2014-01-21 Rafał Miłecki <zaj...@gmail.com>: >>> I believe I'm observing packets leaking between WAN and LAN ports >>> during OpenWrt booting process. That happens on devices with bgmac, >>> but it seems to be related to the b53. >> >> Ping? > > Sorry, somehow forgot about this one. > > Probably moving the part enabling the software forwarding (and bailing > out if the bit doesn't stick) in b53_switch_reset() after the call to > b53_enable_ports() should fix it.
On my: > Found chip with id 0x5357, rev 0x02 and package 0x0A code if (!(mgmt & SM_SW_FWD_EN)) { ... } is never called, because that bit is already set: > b53_common: B53_SWITCH_MODE: 0x06 (SM_SW_FWD_EN:0x02) So this won't help, because SM_SW_FWD_EN is already set after reset. -- Rafał _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel