diff options
author | Wolfgang Denk <wd@denx.de> | 2009-07-17 04:27:07 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-07-17 18:47:29 +0200 |
commit | 652f6787c082a174f0bbfa7f895b65b03d8d46c9 (patch) | |
tree | d131b92e10357adad9322ec9a89246fca2ce12fb /drivers/char/nsc_gpio.c | |
parent | Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne... (diff) | |
download | linux-652f6787c082a174f0bbfa7f895b65b03d8d46c9.tar.xz linux-652f6787c082a174f0bbfa7f895b65b03d8d46c9.zip |
fs_enet/mii-fec.c: fix MII speed calculation
The MII speed calculation was based on the CPU clock (ppc_proc_freq),
but for MPC512x we must use the bus clock instead.
This patch makes it use the correct clock and makes sure we don't
clobber reserved bits in the MII_SPEED register.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Kumar Gala <galak@kernel.crashing.org>
Cc: <netdev@vger.kernel.org>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/char/nsc_gpio.c')
0 files changed, 0 insertions, 0 deletions