From: Wolfgang Denk Date: Fri, 17 Jul 2009 02:27:07 +0000 (+0000) Subject: fs_enet/mii-fec.c: fix MII speed calculation X-Git-Tag: v2.6.32-rc1~703^2~621 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=652f6787c082a174f0bbfa7f895b65b03d8d46c9;p=pandora-kernel.git 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 Cc: Grant Likely Cc: Kumar Gala Cc: Acked-by: Grant Likely Signed-off-by: David S. Miller --- Reading git-diff-tree failed