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

2009-07-17 Thread David Miller
From: Grant Likely Date: Fri, 17 Jul 2009 08:41:08 -0600 > On Fri, Jul 17, 2009 at 6:27 AM, Wolfgang Denk 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

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

2009-07-17 Thread David Miller
From: Grant Likely Date: Fri, 17 Jul 2009 08:41:08 -0600 > David, this isn't a critical bug fix or a regression, so I think it > should be merged for -next. Ok. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listin

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

2009-07-17 Thread Grant Likely
On Fri, Jul 17, 2009 at 6:27 AM, Wolfgang Denk 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.

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

2009-07-17 Thread Wolfgang Denk
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 Gal