On 11/7/2013, 8:12 PM, Paul Butler wrote:
Signed-off-by: Paul Butler <paul.but...@windriver.com>
---
  drivers/net/ethernet/lsi/lsi_acp_mdio.c | 5 +++++
  1 file changed, 5 insertions(+)

diff --git a/drivers/net/ethernet/lsi/lsi_acp_mdio.c 
b/drivers/net/ethernet/lsi/lsi_acp_mdio.c
index 90fc135..04c224c 100644
--- a/drivers/net/ethernet/lsi/lsi_acp_mdio.c
+++ b/drivers/net/ethernet/lsi/lsi_acp_mdio.c
@@ -162,8 +162,13 @@ EXPORT_SYMBOL(acp_mdio_write);
  static int
  acp_mdio_initialize(void)
  {
+#if 0

... if this is for support for the new phy, what happens to
the old one ? Considering it is #if 0'd out ?

Bruce

        WRITE(MDIO_CLK_OFFSET, 0x10);
        WRITE(MDIO_CLK_PERIOD, 0x2c);
+#else
+       WRITE(MDIO_CLK_OFFSET, 0x1c);
+       WRITE(MDIO_CLK_PERIOD, 0xf0);
+#endif

        return 0;
  }


_______________________________________________
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to