diff options
author | Shengzhou Liu <Shengzhou.Liu@freescale.com> | 2015-04-29 08:28:16 (GMT) |
---|---|---|
committer | Honghua Yin <Hong-Hua.Yin@freescale.com> | 2015-05-13 07:23:43 (GMT) |
commit | e4fd75bc70c7dcb6007c50e9ac68978726d5da25 (patch) | |
tree | c915759faeb603627f1368fd7f48e8f7ce157455 /drivers/net/ethernet | |
parent | a06c92c2f6895e624f656f75e00be14ce98f2cd7 (diff) | |
download | linux-fsl-qoriq-e4fd75bc70c7dcb6007c50e9ac68978726d5da25.tar.xz |
mdio: remove unused workaround for xgmac_mdio_read
The bug in xgmac_mdio_read have been fixed, so remove
the temporary workaround which is no longer needed.
Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
Change-Id: I7d932208ff81bd00f6c761b57c5b1dacf456e48b
Reviewed-on: http://git.am.freescale.net:8181/35748
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Xiaobo Xie <X.Xie@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r-- | drivers/net/ethernet/freescale/xgmac_mdio.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/net/ethernet/freescale/xgmac_mdio.c b/drivers/net/ethernet/freescale/xgmac_mdio.c index 5eef8ce..b2d060c 100644 --- a/drivers/net/ethernet/freescale/xgmac_mdio.c +++ b/drivers/net/ethernet/freescale/xgmac_mdio.c @@ -19,9 +19,6 @@ #include <linux/mdio.h> #include <linux/of_platform.h> #include <linux/of_mdio.h> -#ifdef CONFIG_FMAN_V3L -#include <asm/mpc85xx.h> -#endif /* Number of microseconds to wait for a register to respond */ #define TIMEOUT 1000 @@ -183,12 +180,6 @@ static int xgmac_mdio_read(struct mii_bus *bus, int phy_id, int regnum) return ret; } -#ifdef CONFIG_FMAN_V3L - /* Fixup for RTL8211F MDIO timing delay on T1023RDB */ - if (SVR_SOC_VER(mfspr(SPRN_SVR)) == SVR_T1023) - udelay(100); -#endif - /* Initiate the read */ out_be32(®s->mdio_ctl, mdio_ctl | MDIO_CTL_READ); |