1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-06 01:17:18 +03:00

ar71xx: disable flow control for ar724x, it can get stuck in a loop of continously sending MAC pause frames

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27034 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2011-05-30 23:07:57 +00:00
parent 7fca3ea90d
commit 20aef6d6fc

View File

@ -524,10 +524,6 @@ static void ag71xx_hw_init(struct ag71xx *ag)
mdelay(100);
/* setup MAC configuration registers */
if (pdata->is_ar724x)
ag71xx_wr(ag, AG71XX_REG_MAC_CFG1,
MAC_CFG1_INIT | MAC_CFG1_TFC | MAC_CFG1_RFC);
else
ag71xx_wr(ag, AG71XX_REG_MAC_CFG1, MAC_CFG1_INIT);
ag71xx_sb(ag, AG71XX_REG_MAC_CFG2,