net: stmmac: Refactor EST implementation
[linux-2.6-microblaze.git] / drivers / net / ethernet / stmicro / stmmac / stmmac_tc.c
index ac41ef4..d4ee468 100644 (file)
@@ -1051,7 +1051,7 @@ static int tc_setup_taprio(struct stmmac_priv *priv,
         */
        priv->plat->fpe_cfg->enable = fpe;
 
-       ret = stmmac_est_configure(priv, priv->ioaddr, priv->plat->est,
+       ret = stmmac_est_configure(priv, priv, priv->plat->est,
                                   priv->plat->clk_ptp_rate);
        mutex_unlock(&priv->plat->est->lock);
        if (ret) {
@@ -1072,7 +1072,7 @@ disable:
        if (priv->plat->est) {
                mutex_lock(&priv->plat->est->lock);
                priv->plat->est->enable = false;
-               stmmac_est_configure(priv, priv->ioaddr, priv->plat->est,
+               stmmac_est_configure(priv, priv, priv->plat->est,
                                     priv->plat->clk_ptp_rate);
                mutex_unlock(&priv->plat->est->lock);
        }