summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/freescale/xgmac_mdio.c
diff options
context:
space:
mode:
authorShengzhou Liu <Shengzhou.Liu@freescale.com>2015-04-02 06:38:05 (GMT)
committerHonghua Yin <Hong-Hua.Yin@freescale.com>2015-04-03 03:40:36 (GMT)
commit65a5b1cf9b0dfba4e99b2ed80989f738b639247c (patch)
tree7e8f50c9d62a9c392c1e9595eaecb9c4d6198b0f /drivers/net/ethernet/freescale/xgmac_mdio.c
parenta1191e9b9900bac80f407958fcf6d073d60e4f54 (diff)
downloadlinux-fsl-qoriq-65a5b1cf9b0dfba4e99b2ed80989f738b639247c.tar.xz
fsl/mdio: fixup for rtl8211f on t1023rdb
As the 50us delay was not enough and lead to RTL8211F PHY not working on some T1023RDB boards. so increase the delay to make it work stably. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com> Change-Id: Iff011d0b762e087ae401a510c71e06b8181061c5 Reviewed-on: http://git.am.freescale.net:8181/34201 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Shaohui Xie <Shaohui.Xie@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Diffstat (limited to 'drivers/net/ethernet/freescale/xgmac_mdio.c')
-rw-r--r--drivers/net/ethernet/freescale/xgmac_mdio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/xgmac_mdio.c b/drivers/net/ethernet/freescale/xgmac_mdio.c
index dca1325..4592669 100644
--- a/drivers/net/ethernet/freescale/xgmac_mdio.c
+++ b/drivers/net/ethernet/freescale/xgmac_mdio.c
@@ -186,7 +186,7 @@ static int xgmac_mdio_read(struct mii_bus *bus, int phy_id, int regnum)
#ifdef CONFIG_FMAN_V3L
/* Fixup for RTL8211F MDIO timing delay on T1023RDB */
if (SVR_SOC_VER(mfspr(SPRN_SVR)) == SVR_T1023)
- udelay(50);
+ udelay(100);
#endif
/* Initiate the read */