Author: jogo Date: 2015-03-15 15:19:28 +0100 (Sun, 15 Mar 2015) New Revision: 44788
Modified: trunk/target/linux/generic/files/drivers/net/phy/b53/b53_common.c Log: b53: global config is part of the management page, not the control page It will now actually enable the mib counters instead of enabling rx/tx for the first switch port. Reported-by: Daniel Gonzalez <[email protected]> Signed-off-by: Jonas Gorski <[email protected]> Modified: trunk/target/linux/generic/files/drivers/net/phy/b53/b53_common.c =================================================================== --- trunk/target/linux/generic/files/drivers/net/phy/b53/b53_common.c 2015-03-15 14:19:22 UTC (rev 44787) +++ trunk/target/linux/generic/files/drivers/net/phy/b53/b53_common.c 2015-03-15 14:19:28 UTC (rev 44788) @@ -408,11 +408,11 @@ { u8 gc; - b53_read8(dev, B53_CTRL_PAGE, B53_GLOBAL_CONFIG, &gc); + b53_read8(dev, B53_MGMT_PAGE, B53_GLOBAL_CONFIG, &gc); gc &= ~(GC_RESET_MIB | GC_MIB_AC_EN); - b53_write8(dev, B53_CTRL_PAGE, B53_GLOBAL_CONFIG, gc); + b53_write8(dev, B53_MGMT_PAGE, B53_GLOBAL_CONFIG, gc); } static int b53_apply(struct b53_device *dev) _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
