diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-08-03 03:04:34 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-08-03 03:04:34 +0000 |
commit | 5859b9fa5cd8e7653d38179369897a03acca9d60 (patch) | |
tree | ab234e3bb70abe759928f680b0a1939539970101 /target/linux/generic/files/drivers/net | |
parent | 8dd3c28387cb96e535ba390ef12dd5e8d7846576 (diff) | |
download | master-187ad058-5859b9fa5cd8e7653d38179369897a03acca9d60.tar.gz master-187ad058-5859b9fa5cd8e7653d38179369897a03acca9d60.tar.bz2 master-187ad058-5859b9fa5cd8e7653d38179369897a03acca9d60.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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22468 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/files/drivers/net')
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/ip17xx.c | 1 |
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; } |