]> Git Repo - J-u-boot.git/blobdiff - drivers/net/xilinx_axi_emac.c
net: phy: Replace PHY_ANEG_TIMEOUT with Kconfig symbol
[J-u-boot.git] / drivers / net / xilinx_axi_emac.c
index a1a39f61488ebf0c34da7b0504d8c2e31b4e8770..4d87e2d1f36fffe75e22c584ae291cd5dc85baca 100644 (file)
@@ -361,7 +361,7 @@ static int pcs_pma_startup(struct axidma_priv *priv)
         * and the external PHY is not obtained.
         */
        debug("axiemac: waiting for link status of the PCS/PMA PHY");
-       while (retry_cnt * 10 < PHY_ANEG_TIMEOUT) {
+       while (retry_cnt * 10 < CONFIG_PHY_ANEG_TIMEOUT) {
                rc = phyread(priv, priv->pcsaddr, MII_BMSR, &mii_reg);
                if ((mii_reg & BMSR_LSTATUS) && mii_reg != 0xffff && !rc) {
                        debug(".Done\n");
This page took 0.024286 seconds and 4 git commands to generate.