aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-08-03 03:04:34 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-08-03 03:04:34 +0000
commitbf1db570174ebc3a55a709176f28937c4c357272 (patch)
treeec5a583db3fc604a5e46d0c9f7e869cf0f5d90c3 /target/linux/generic/files
parent8c4ac87e8fe665971ebd264395b9de4a4c0deb19 (diff)
downloadupstream-bf1db570174ebc3a55a709176f28937c4c357272.tar.gz
upstream-bf1db570174ebc3a55a709176f28937c4c357272.tar.bz2
upstream-bf1db570174ebc3a55a709176f28937c4c357272.zip
ip17xx: r21709 broke VLAN functionality on the IP175C switch, add back mdelay() to wait before reading back the phy state, fixes ethernet on the DIR-300 and possibly others
SVN-Revision: 22468
Diffstat (limited to 'target/linux/generic/files')
-rw-r--r--target/linux/generic/files/drivers/net/phy/ip17xx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/ip17xx.c b/target/linux/generic/files/drivers/net/phy/ip17xx.c
index 262123a57f..864168ffd2 100644
--- a/target/linux/generic/files/drivers/net/phy/ip17xx.c
+++ b/target/linux/generic/files/drivers/net/phy/ip17xx.c
@@ -373,6 +373,7 @@ static int setPhy(struct ip17xx_state *state, reg mii, u16 value)
err = ip_phy_write(state, mii.p, mii.m, value);
if (err < 0)
return err;
+ mdelay(2);
getPhy(state, mii);
return 0;
}