mirror of https://github.com/hak5/openwrt.git
ar71xx: disable flow control for ar724x, it can get stuck in a loop of continously sending MAC pause frames
SVN-Revision: 27034lede-17.01
parent
6e43f65dc4
commit
0ebc93831f
|
@ -524,10 +524,6 @@ static void ag71xx_hw_init(struct ag71xx *ag)
|
||||||
mdelay(100);
|
mdelay(100);
|
||||||
|
|
||||||
/* setup MAC configuration registers */
|
/* 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_wr(ag, AG71XX_REG_MAC_CFG1, MAC_CFG1_INIT);
|
||||||
|
|
||||||
ag71xx_sb(ag, AG71XX_REG_MAC_CFG2,
|
ag71xx_sb(ag, AG71XX_REG_MAC_CFG2,
|
||||||
|
|
Loading…
Reference in New Issue