[PATCH 1/2 v5] fs_enet/mii-fec.c: fix MII speed calculation

David Miller davem at davemloft.net
Sat Jul 18 02:48:41 EST 2009


From: Grant Likely <grant.likely at secretlab.ca>
Date: Fri, 17 Jul 2009 08:41:08 -0600

> On Fri, Jul 17, 2009 at 6:27 AM, Wolfgang Denk<wd at denx.de> wrote:
>> 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 at denx.de>
>> Cc: Grant Likely <grant.likely at secretlab.ca>
>> Cc: Kumar Gala <galak at kernel.crashing.org>
>> Cc: <netdev at vger.kernel.org>
> 
> Acked-by: Grant Likely <grant.likely at secretlab.ca>

Applied to net-next-2.6


More information about the Linuxppc-dev mailing list