m68knommu: correct the mii calculations for 532x ColdFire FEC

Signed-off-by: Matt Waddel <Matt.Waddel@freescale.com>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>

authored by Matt Waddel and committed by Greg Ungerer b9d57f94 d4732d3c

+1 -1
+1 -1
drivers/net/fec.c
··· 1698 1698 /* 1699 1699 * Set MII speed to 2.5 MHz 1700 1700 */ 1701 - fep->phy_speed = ((((MCF_CLK / 2) / (2500000 / 10)) + 5) / 10) * 2; 1701 + fep->phy_speed = (MCF_CLK / 3) / (2500000 * 2 ) * 2; 1702 1702 fecp->fec_mii_speed = fep->phy_speed; 1703 1703 1704 1704 fec_restart(dev, 0);