diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2009-02-01 17:53:26 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-02-01 17:53:26 +0000 |
commit | de8696203e64f19ea26f8e096ac8a796e78216b3 (patch) | |
tree | d932f2f04d6c81c75c5104ae86b1e5d47e6591e3 /drivers/net | |
parent | 807a96cd0e5f5311e7f7a1030b43aab624cd7d9f (diff) | |
parent | 0dc23d704874e892c3fb5f2c0e4dfbef3c9c6edf (diff) | |
download | op-kernel-dev-de8696203e64f19ea26f8e096ac8a796e78216b3.zip op-kernel-dev-de8696203e64f19ea26f8e096ac8a796e78216b3.tar.gz |
Merge branch 'omap-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/Kconfig | 2 | ||||
-rw-r--r-- | drivers/net/fec.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 9fe8cb7..6bdfd47 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -1829,7 +1829,7 @@ config 68360_ENET config FEC bool "FEC ethernet controller (of ColdFire CPUs)" - depends on M523x || M527x || M5272 || M528x || M520x + depends on M523x || M527x || M5272 || M528x || M520x || M532x help Say Y here if you want to use the built-in 10/100 Fast ethernet controller on some Motorola ColdFire processors. diff --git a/drivers/net/fec.c b/drivers/net/fec.c index 7e33c12..2769083 100644 --- a/drivers/net/fec.c +++ b/drivers/net/fec.c @@ -1698,7 +1698,7 @@ static void __inline__ fec_set_mii(struct net_device *dev, struct fec_enet_priva /* * Set MII speed to 2.5 MHz */ - fep->phy_speed = ((((MCF_CLK / 2) / (2500000 / 10)) + 5) / 10) * 2; + fep->phy_speed = (MCF_CLK / 3) / (2500000 * 2 ) * 2; fecp->fec_mii_speed = fep->phy_speed; fec_restart(dev, 0); |