mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 14:13:16 +00:00
ralink: fix the 10mbit bug on mt7621
a missing "val =" caused the AN bit in the phy0 reg to be flushed. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43246
This commit is contained in:
parent
194ca6127e
commit
bf8bb5b611
@ -596,7 +596,7 @@ static void gsw_hw_init_mt7621(struct mt7620_gsw *gsw, struct device_node *np)
|
||||
|
||||
/* turn off all PHYs */
|
||||
for (i = 0; i <= 4; i++) {
|
||||
_mt7620_mii_read(gsw, i, 0x0);
|
||||
val = _mt7620_mii_read(gsw, i, 0x0);
|
||||
val |= (0x1 << 11);
|
||||
_mt7620_mii_write(gsw, i, 0x0, val);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user