]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/net/fec_mpc52xx.c
Merge commit 'gcl/merge' into next
[mv-sheeva.git] / drivers / net / fec_mpc52xx.c
index 7d443405bbe271e6ea47220775e5d42d4955414c..cc786333d95c87cd84d34a1b189c43f9b60367c1 100644 (file)
@@ -948,7 +948,7 @@ mpc52xx_fec_probe(struct of_device *op, const struct of_device_id *match)
        /* Start with safe defaults for link connection */
        priv->speed = 100;
        priv->duplex = DUPLEX_HALF;
-       priv->mdio_speed = ((mpc52xx_find_ipb_freq(op->node) >> 20) / 5) << 1;
+       priv->mdio_speed = ((mpc5xxx_get_bus_frequency(op->node) >> 20) / 5) << 1;
 
        /* The current speed preconfigures the speed of the MII link */
        prop = of_get_property(op->node, "current-speed", &prop_size);