]> git.sur5r.net Git - u-boot/blobdiff - drivers/net/davinci_emac.c
powerpc/p3060: remove all references to RCW bits EC1_EXT, EC2_EXT, and EC3
[u-boot] / drivers / net / davinci_emac.c
index f68bf2478f6fc0e0565d609036a4acd5d3dc3148..a8905b88f19fb958d0d5a18e6c715439c69456e1 100644 (file)
@@ -680,6 +680,9 @@ int davinci_emac_initialize(void)
 
        davinci_eth_mdio_enable();
 
+       /* let the EMAC detect the PHYs */
+       udelay(5000);
+
        for (i = 0; i < 256; i++) {
                if (readl(&adap_mdio->ALIVE))
                        break;
@@ -747,7 +750,7 @@ int davinci_emac_initialize(void)
                        phy.auto_negotiate = gen_auto_negotiate;
        }
 
-       printf("Ethernet PHY: %s\n", phy.name);
+       debug("Ethernet PHY: %s\n", phy.name);
 
        miiphy_register(phy.name, davinci_mii_phy_read, davinci_mii_phy_write);
        return(1);