From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH 1/2 v5] fs_enet/mii-fec.c: fix MII speed calculation Date: Fri, 17 Jul 2009 09:48:41 -0700 (PDT) Message-ID: <20090717.094841.175615379.davem@davemloft.net> References: <1247780546-4426-1-git-send-email-wd@denx.de> <1247833628-15952-1-git-send-email-wd@denx.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: linuxppc-dev@ozlabs.org, netdev@vger.kernel.org, wd@denx.de To: grant.likely@secretlab.ca Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linuxppc-dev-bounces+glppd-linuxppc64-dev=m.gmane.org@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+glppd-linuxppc64-dev=m.gmane.org@lists.ozlabs.org List-Id: netdev.vger.kernel.org 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 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 Applied to net-next-2.6