Patchwork [OpenWrt-Devel] ramips: ethernet driver rt288x, rt3883

login
register
Submitter serge vasilugin
Date 2012-07-26 15:04:51
Message ID <751671343315091@web19f.yandex.ru>
Download mbox | patch
Permalink /patch/2429/
State Accepted
Delegated to: John Crispin
Headers show

Comments

serge vasilugin - 2012-07-26 15:04:51
No device to check but it looks like a typo.


Signed-off-by: Serge Vasilugin <vasilugin at yandex.ru>
John Crispin - 2012-07-26 15:30:51
Daniel,

can you verify this on one of your units ?

Thanks,
John

On 26/07/12 17:04, Сергей Василюгин wrote:
> No device to check but it looks like a typo.
> 
> 
> Signed-off-by: Serge Vasilugin <vasilugin at yandex.ru> 
> 
> Index: target/linux/ramips/files/drivers/net/ethernet/ramips/ramips_main.c
> ===================================================================
> --- target/linux/ramips/files/drivers/net/ethernet/ramips/ramips_main.c (revision 32760)
> +++ target/linux/ramips/files/drivers/net/ethernet/ramips/ramips_main.c (working copy)
> @@ -212,7 +212,7 @@
>          }
> 
>          mdio_cfg = RAMIPS_MDIO_CFG_TX_CLK_SKEW_200 |
> -   RAMIPS_MDIO_CFG_TX_CLK_SKEW_200 |
> +   RAMIPS_MDIO_CFG_RX_CLK_SKEW_200 |
>                     RAMIPS_MDIO_CFG_GP1_FRC_EN;
> 
>          if (re->duplex == DUPLEX_FULL)
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Patch

Index: target/linux/ramips/files/drivers/net/ethernet/ramips/ramips_main.c
===================================================================
--- target/linux/ramips/files/drivers/net/ethernet/ramips/ramips_main.c (revision 32760)
+++ target/linux/ramips/files/drivers/net/ethernet/ramips/ramips_main.c (working copy)
@@ -212,7 +212,7 @@ 
         }

         mdio_cfg = RAMIPS_MDIO_CFG_TX_CLK_SKEW_200 |
-   RAMIPS_MDIO_CFG_TX_CLK_SKEW_200 |
+   RAMIPS_MDIO_CFG_RX_CLK_SKEW_200 |
                    RAMIPS_MDIO_CFG_GP1_FRC_EN;

         if (re->duplex == DUPLEX_FULL)